test: update expected

TODO: Test
Because the test data of Redmine is increase by
https://www.redmine.org/issues/37718.

@kou
Thanks, would you re-review this?

Thanks!


Add "start" to teamweek toggl button link.

Maybe create a new button version with icon and text "start"/"stop"

The design of teamweek's  edit popup is quite minimalistic so this is a wontfix.


Repackaged Microsoft Defender 365 to latest version

Change(s):

Update solution to 3.0.1

Reason for Change(s):

In PR #9162, I was not aware of the need to run the Solution repackage, or add the file to SolutionMetadata.json. This commit fixes this issue to properly include the file and increment the solution. Solution has clearly not been updated in some time.

Version Updated:

Solution version updated from 3.0.0 -> 3.0.1

Testing Completed:

Need Help

Checked that the validations are passing and have addressed any issues that are present:

During repackaging of solution, multiple issues appeared:

Error occured in catch of createSolutionV3 file Error details are The file MicrosoftDefenderForIdentityWorkbook has metadata with source -> kind = Community | Standalone. Please remove it so that it can be packaged as a solution. -- This was fixed by modifying /Workbooks/WorkbooksMetadata.json (as shown in this PR)
Failed to download /home/kevin/Git/Azure-Sentinel/Solutions/Microsoft 365 Defender/Data Connectors/MicrosoftThreatProtection.json -- Please ensure that it exists in /home/kevin/Git/Azure-Sentinel/Solutions/ -- Unsure how to fix, help required
Several failures for apiVersions Should Be Recent -- Unsure how to fix, help required
Several failures for IDs Should Be Derived From ResourceIDs -- Unsure how to fix, help required

Hi @kfriede,
Currently, we are repackaging this solution for a few changes, so we are closing this request. Thanks


Add limited support for API 14 in BlurLayout

setBackgroundDrawable instead of setBackground. It's not going anywhere.

Add API version checks in startBlur and pauseBlur rendering these methods ineffective.

Manually calling invalidate() still works so any unlucky soul stuck with API 14 won't crash and have the ability to refresh manually (or via posting Runnables or something).

Will address this within a few weeks. It's admittedly lower priority. Anybody feel free to make a PR though and I'll put in a release asap.

@consp1racy
Do not understand about the second, why these methods should check for API version?
do you mean that Choreographer is only added in 16v?

Closing ticket. With 1.0.0 release, the current base API level is 21 which targets ~70% of all devices. If there is enough need for earlier API levels we will open a ticket and reconsider!


avr128da32 cannot be flashed the second time

I flashed a simpled pin-toggler successful. Then I want to overwrite this with another content.
pymcuprog states success, but the flash isn't overwritten, I have to explicitly erase and then write. Then the new content is flashed successfully.

See: https://github.com/microchip-pic-avr-tools/pymcuprog/issues/8
The --erase switch is not yet in production release, but available on https://test.pypi.org/project/pymcuprog/

Ok, thanks


Broken link for AzureAutomationTutorial.ps1 in README.md

Link is broken, url returns 404 for AzureAutomationTutorial.ps1 in README.md
Please use Url checker in github actions to avoid such issues in future.

route to CXP team

@santaji1986 Thanks for reaching out to us and sharing this feedback. We are looking into this. We will provide an update once we have more details.

PR has been filed to address this.

@santaji1986 The PR is under review. If you have any follow-up questions in the meantime, please feel free to ask.


Can not run QMServices 0.4.4

Please check the screenshot.

Hi @tranngoclinh88 , Could you please provide your podfile?

platform :ios, '8.0'
inhibit_all_warnings!
pod 'QuickBlox'
pod 'Quickblox-WebRTC', '~> 2.1'
pod 'QMChatViewController', '~> 0.3'
pod 'QMServices'

@tranngoclinh88  I have created the new project with podfile like yours and I haven't got this error. Could you please attach the test project here?

@tranngoclinh88
Any updates?


COMP: Add support for building against QT5 and VTK9

Update to build with QT5 and VTK9 and drop support for previous versions of QT and VTK.

This should work cross platform but I was only able to test on linux.
I visually compared between SlicerSALT 3.0 and this fix on a test dataset and found the results and functionality to be identical.
However, 4/20 tests failed with the message GLEW could not be initialized: Missing GL version.
This may be related to driver issues on my machine: https://discourse.vtk.org/t/vtkwin32openglrenderwindow-glew-could-not-be-initialized-missing-gl-version/7517

Nitpick: instead of merging master into the branch consider rebase.

However, 4/20 tests failed

All tests are now passing when the project is both built as standalone project or as a Slicer extension.
As fixed in 869b458d9 (BUG: Fix execution test instantiating vtkRenderWindow), tests should be using vtkRenderWindow.
Test project /home/jcfr/Projects/ShapePopulationViewer-build
      Start  1: TestShapePopulationBase_CreationSphereActor
 1/20 Test  #1: TestShapePopulationBase_CreationSphereActor ............   Passed    0.11 sec
      Start  2: TestShapePopulationBase_ChangeView
 2/20 Test  #2: TestShapePopulationBase_ChangeView .....................   Passed    0.29 sec
      Start  3: TestShapePopulationBase_setMeshOpacity
 3/20 Test  #3: TestShapePopulationBase_setMeshOpacity .................   Passed    0.16 sec
      Start  4: TestShapePopulationBase_setVectorScale
 4/20 Test  #4: TestShapePopulationBase_setVectorScale .................   Passed    0.16 sec
      Start  5: TestShapePopulationBase_computeCommonRange
 5/20 Test  #5: TestShapePopulationBase_computeCommonRange .............   Passed    0.14 sec
      Start  6: TestShapePopulationBase_UpdateColorMapByDirection
 6/20 Test  #6: TestShapePopulationBase_UpdateColorMapByDirection ......   Passed    0.20 sec
      Start  7: TestShapePopulationBase_setBackgroundSelectedColor
 7/20 Test  #7: TestShapePopulationBase_setBackgroundSelectedColor .....   Passed    0.28 sec
      Start  8: TestShapePopulationBase_setLabelColor
 8/20 Test  #8: TestShapePopulationBase_setLabelColor ..................   Passed    0.29 sec
      Start  9: TestShapePopulationBase_setBackgroundUnselectedColor
 9/20 Test  #9: TestShapePopulationBase_setBackgroundUnselectedColor ...   Passed    0.42 sec
      Start 10: TestShapePopulationBase_creationSphereWidget
10/20 Test #10: TestShapePopulationBase_creationSphereWidget ...........   Passed    0.17 sec
      Start 11: TestShapePopulationBase_displayColorbar
11/20 Test #11: TestShapePopulationBase_displayColorbar ................   Passed    0.16 sec
      Start 12: TestShapePopulationBase_displayAttribute
12/20 Test #12: TestShapePopulationBase_displayAttribute ...............   Passed    0.15 sec
      Start 13: TestShapePopulationBase_displayMeshName
13/20 Test #13: TestShapePopulationBase_displayMeshName ................   Passed    0.15 sec
      Start 14: TestShapePopulationBase_displayVectors
14/20 Test #14: TestShapePopulationBase_displayVectors .................   Passed    0.19 sec
      Start 15: TestShapePopulationBase_computeCommonAttributes
15/20 Test #15: TestShapePopulationBase_computeCommonAttributes ........   Passed    0.15 sec
      Start 16: TestShapePopulationBase_displayColorMap
16/20 Test #16: TestShapePopulationBase_displayColorMap ................   Passed    0.33 sec
      Start 17: TestShapePopulationBase_UpdateAttribute
17/20 Test #17: TestShapePopulationBase_UpdateAttribute ................   Passed    0.43 sec
      Start 18: TestShapePopulationBase_UpdateColorMapByMagnitude
18/20 Test #18: TestShapePopulationBase_UpdateColorMapByMagnitude ......   Passed    0.15 sec
      Start 19: TestShapePopulationBase_VectorsColorMode
19/20 Test #19: TestShapePopulationBase_VectorsColorMode ...............   Passed    0.61 sec
      Start 20: TestShapePopulationBase_getSelectedIndex
20/20 Test #20: TestShapePopulationBase_getSelectedIndex ...............   Passed    0.19 sec

Closing. This is pull request is superseded by https://github.com/NIRALUser/ShapePopulationViewer/pull/61
The pull request was based of the branch slicersalt-2022-01-11-22ca6bf associated with SlicerSALT which was originally based of a very old ShapePopulationViewer version (based of slicersalt/ShapePopulationViewer@master from December 2018)
The branch slicersalt-2022-01-11-22ca6bf will also be deleted


The panel group is difficult to distinguish from the menu

When tabs are opened, they kind of merge into the top menu bar giving the whole interface a confusing appearance. The effect is strongest when the settings tab is also opened.
I believe this is a matter of colors :)

Hi @user1713952
True. i will revise this when i implement the "new" theming system with CSS.
But i will until the first beta.
Cumps


TLS handshake timeout

Hi I'm getting this error in v2rayNG after trying the default configuration and also custom configurations.
bash <(curl -sL https://bit.ly/realityez) -d yahoo.com -t grpc --port 16514

Update: the generated config works with Nekoray (with singbox core) and WingX on iPhone. Tested other clients like shadowrocket, v2rayNG and Nekobox. None of them worked.

Can you test again with the new version of script?

Same Issue with the current master, I tried the script with the pull request #14 and it works without issue


Run autotop in "shadow"?

Autotop generates alot of files. If we use  shadow: minimal will remove them..
could make this default, and have an option to disable it --keep-autotop?

closing this, since this is moot now after removing matlab dependencies


Do not see the old volumes after performing storage vMotion of the vm

Steps:

Create a volume on sharedVmfs-0 datastore. VM is on shared-Vmfs-0 datastore.
Run a container with volume attached
While the container is running, migrate the vm to a different datastore -  storage vMotion

Logs have been attached at the end.

Steps and their output are as follows:

Created a volume named testVolXXX

root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere:latest --name testVolXXX
testVolXXX
root@sc-rdops-vm02-dhcp-52-237:~#
root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER              VOLUME NAME
vsphere:latest      testVolXXX@sharedVmfs-0
root@sc-rdops-vm02-dhcp-52-237:~#
root@sc-rdops-vm02-dhcp-52-237:~# docker volume inspect testVolXXX@sharedVmfs-0
[
    {
        "Driver": "vsphere:latest",
        "Labels": null,
        "Mountpoint": "/mnt/vmdk/testVolXXX@sharedVmfs-0",
        "Name": "testVolXXX@sharedVmfs-0",
        "Options": {},
        "Scope": "global",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "capacity": {
                "allocated": "13MB",
                "size": "100MB"
            },
            "clone-from": "None",
            "created": "Fri Jul 21 19:07:53 2017",
            "created by VM": "ubuntu-VM0.0",
            "datastore": "sharedVmfs-0",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "detached"
        }
    }
]
root@sc-rdops-vm02-dhcp-52-237:~#

Admin cli volume ls

[root@sc-rdops-vm04-dhcp-109-225:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume      Datastore     VMGroup   Capacity  Used  Filesystem  Policy  Disk Format  Attached-to   Access      Attach-as               Created By    Created Date
----------  ------------  --------  --------  ----  ----------  ------  -----------  ------------  ----------  ----------------------  ------------  ------------------------
testVolXXX  sharedVmfs-0  _DEFAULT  100MB     15MB  ext4        N/A     thin         ubuntu-VM0.0  read-write  independent_persistent  ubuntu-VM0.0  Fri Jul 21 19:07:53 2017

Ran a container with volume attached.

root@sc-rdops-vm02-dhcp-52-237:~#  docker run -it --volume-driver=vsphere -v testVolXXX@sharedVmfs-0:/vol1 --name ub_XXX ubuntu
root@40409f0829e8:/#

While container is running, migrated the vm to a sharedVmfs-1.

Docker volume ls and admin cli volume ls does not lists any volumes.

root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER              VOLUME NAME
root@sc-rdops-vm02-dhcp-52-237:~#

[root@sc-rdops-vm04-dhcp-109-225:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume  Datastore  VMGroup  Capacity  Used  Filesystem  Policy  Disk Format  Attached-to  Access  Attach-as  Created By  Created Date
------  ---------  -------  --------  ----  ----------  ------  -----------  -----------  ------  ---------  ----------  ------------

[root@sc-rdops-vm04-dhcp-109-225:~]

Logs:
docker-volume-vsphere.txt
vmdk_ops.txt

Checked vmdk_ops.txt.
After migration, we do receive another attach request from the same VM.
07/21/17 19:10:45 120912 [ubuntu-VM0.0-sharedVmfs-0._DEFAULT.testVolXXX] [INFO   ] *** disk_attach: VMDK /vmfs/volumes/sharedVmfs-0/dockvols/_DEFAULT/testVolXXX.vmdk to VM 'ubuntu-VM0.0' , bios uuid = 564d9ddb-5e8a-844b-4247-6a33944412b1, VC uuid=52693e9f-79d8-9b9a-0350-aa212f770b45)
07/21/17 19:10:45 120912 [ubuntu-VM0.0-sharedVmfs-0._DEFAULT.testVolXXX] [WARNING] Failed to find VM by VC UUID 52693e9f-79d8-9b9a-0350-aa212f770b45, trying BIOS UUID 564d9ddb-5e8a-844b-4247-6a33944412b1
07/21/17 19:10:45 120912 [ubuntu-VM0.0-sharedVmfs-0._DEFAULT.testVolXXX] [INFO   ] Attaching /vmfs/volumes/sharedVmfs-0/dockvols/_DEFAULT/testVolXXX.vmdk as independent_persistent
07/21/17 19:10:46 120912 [ubuntu-VM0.0-sharedVmfs-0._DEFAULT.testVolXXX] [INFO   ] Disk /vmfs/volumes/sharedVmfs-0/dockvols/_DEFAULT/testVolXXX.vmdk successfully attached. controller pci_slot_number=160, disk_slot=5
07/21/17 19:10:46 120912 [ubuntu-VM0.0-sharedVmfs-0._DEFAULT.testVolXXX] [INFO   ] executeRequest 'attach' completed with ret={'Unit': '5', 'ControllerPciSlotNumber': '160'}
07/21/17 19:10:53 236486 [MainThread] [INFO   ] Connecting to the local Service Instance as 'dcui'
07/21/17 19:10:54 236486 [MainThread] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access
07/21/17 19:11:00 120912 [MainThread] [INFO   ] Started new thread :<PHONE_NUMBER>64 with target <function execRequestThread at 0xb62c47a9d8> and args (11, 235223, b'{"cmd":"list","details":{"Name":""},"version":"2"}')
07/21/17 19:11:00 120912 [Thread-111] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access
07/21/17 19:11:01 120912 [ubuntu-VM0.0-nolock-list] [INFO   ] executeRequest 'list' completed with ret=[{'Name': 'testVolXXX@sharedVmfs-0', 'Attributes': {}}]   -----> here the list complete successfully.
07/21/17 19:13:15 120912 [VMChangeListener] [INFO   ] VMChangeListener: VM was powered down and then deleted right away. Fault msg: The object 'vim.VirtualMachine:14' has already been deleted or has not been completely created    ---->here seems the VM migrate not finished yet.
07/21/17 19:13:45 237208 [MainThread] [INFO   ] Connecting to the local Service Instance as 'dcui'
07/21/17 19:13:46 237208 [MainThread] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access
07/21/17 19:14:39 237357 [MainThread] [INFO   ] Connecting to the local Service Instance as 'dcui'
07/21/17 19:14:40 237357 [MainThread] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access
07/21/17 19:23:10 120912 [MainThread] [INFO   ] Started new thread :<PHONE_NUMBER>64 with target <function execRequestThread at 0xb62c47a9d8> and args (13, 236673, b'{"cmd":"list","details":{"Name":""},"version":"2"}')
07/21/17 19:23:10 120912 [Thread-112] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access
07/21/17 19:23:11 120912 [ubuntu-VM0.0-nolock-list] [INFO   ] executeRequest 'list' completed with ret=[]   -----> here list cmd return with empty

@ashahi1 Could you check in the datastore /vmfs/volumes/sharedVmfs-0, does the vmdk file for volume "testVolXXX" exist or not?

@lipingxue No, I do not see the VMDKs at /vmfs/volumes/sharedVmfs-0

I checked the Anup's setup (after migration).
In "/vmfs/volumes/sharedVmfs-0/dockervol", the directory to store volumes for _DEFAULT vmgroup is missing.
ls /vmfs/volumes/sharedVmfs-0/dockvols/ -al
total 1040
drwxr-xr-x    1 root     root           420 Jul 21 23:13 .
drwxr-xr-t    1 root     root          2800 Jul 21 23:24 ..
lrwxrwxrwx    1 root     root            72 Jul 21 22:26 _DEFAULT -> /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111

The symbol link "_DEFAULT" is there, but the actual directory /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 is missing.
We need to see why "/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111" and vmdk files under it is missing.

What's the behavior if the volume is attached and then svmotion is done?
And if they volume is created like volume@datastore it should be accessible always. Wwhat happens is volume is created this way, then attached to the VM and then svmotiob

The volume will be in the vm's folder

@govint I did the following test

ubuntu-VM0.1 is in sharedVmfs-0, and I create a volume from this VM

root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere:latest --name testVolXXX@sharedVmfs-1
testVolXXX@sharedVmfs-1
root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER              VOLUME NAME
vsphere:latest      testVolXXX@sharedVmfs-1

start a container to use this volume

root@sc-rdops-vm02-dhcp-52-237:~# docker run -it --volume-driver=vsphere -v testVolXXX@sharedVmfs-1:/vol1 --name ub_XXX ubuntu

run svmotion to migrate ubuntu-VM0.1 from sharedVmfs-0 to sharedVmfs-1.
After svmotion, the volume is still visible, but it also shows some volumes which stores VM info

root@sc-rdops-vm02-dhcp-52-237:~# docker volume ls
DRIVER              VOLUME NAME
vsphere:latest      testVolXXX@sharedVmfs-1
vsphere:latest      ubuntu-VM0.1_1@sharedVmfs-1
vsphere:latest      ubuntu-VM0.1_2@sharedVmfs-1
vsphere:latest      ubuntu-VM0.1_4@sharedVmfs-1

@govint Yes, you are right. I tried to repro based on the steps Anup metioned, the volume "testVolXXX" is migrated to datastore "shared-Vmfs-1" along with the vmdk file which represent the VM itself.  The volume is renamed and put into the VM directory on "shared-Vmfs-1". So no volume in  "/vmfs/volumes/shared-Vmfs-0/dockervols " and no volume in "/vmfs/volumes/shared-Vmfs-1/dockervols. That is why "vmdkops_admin volume ls" and "docker volume ls" shows no volume after svmotion.
@msterin @pdhamdhere I think it is the expected behavior of svmotion, and we should document this in the known issue. Any comments?

we know svmotion messes up the locations and the names of attached vmdks, so yes, this is an expected behavior and yes. we should document it.


Hackathon Section Button Hover

TASK:  Remove the text color change effect on hover (For both light and dark modes)
Make sure your changes do not disturb the responsiveness or the overall UI

I want to work on this issue under JWOC.

I want to work on this issue under JWOC.

Assigned for 1-3 days. An extension may be provided if required.


optimize: update the url in change log to apache/incubator-seata

[x] I have registered the PR changes.

Ⅰ. Describe what this PR did
optimize change log url
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2ed693b) 49.04% compared to head (3995364) 49.01%.

:exclamation: Current head 3995364 differs from pull request most recent head 866d73a. Consider uploading reports for the commit 866d73a to get more accurate results

Additional details and impacted files

@@             Coverage Diff              @@
##                2.x    #6195      +/-   ##
============================================
- Coverage     49.04%   49.01%   -0.03%
+ Complexity     4784     4783       -1
============================================
  Files           915      915
  Lines         31892    31892
  Branches       3853     3853
============================================
- Hits          15640    15633       -7
+ Misses        14697    14696       -1
- Partials       1555     1563       +8

see 6 files with indirect coverage changes


In Token-based DAO, create a governance proposal, if click 'custom action' tab, page will display error message

Description
In Token-based DAO, create a governance proposal, if click 'custom action' tab, page will display error message
Steps To Reproduce

Log in...
Enter a Token-based DAO https://test.tmrwdao.com/dao/high-council-test-dao
Create a governance proposal
Click 'custom action' tab

Current Behavior

Page will display error message

Expected Behavior

Page should display normally

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

fixed confirm


TypeError: Failed to parse URL from /api/logout

I'm getting a type error when running build on a nextjs app (not interrupting but still annoying):

TypeError: Failed to parse URL from /api/logout
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at async /Users/mendy/dev/@kangaroo/apps/school-web/.next/server/pages/auth/logout.js:1:3644 {
  [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
      at new NodeError (node:internal/errors:399:5)
      at new URL (node:internal/url:560:13)
      at new Request (node:internal/deps/undici/undici:7041:25)
      at fetch2 (node:internal/deps/undici/undici:10598:25)
      at Object.fetch (node:internal/deps/undici/undici:11455:18)
      at fetch (node:internal/process/pre_execution:230:25)
      at /Users/mendy/dev/@kangaroo/apps/school-web/.next/server/pages/auth/logout.js:1:3650 {
    input: '/api/logout',
    code: 'ERR_INVALID_URL'
  }
}

Is this expected behaviour or am I doing something wrong?
In the logout page I have this hook running:
import { useRouter } from "next/router";
import { signOut } from "@firebase/auth";

import { useFirebaseAuth } from "./use-firebase-auth";

export function useLogout() {
  const router = useRouter();
  const { getFirebaseAuth } = useFirebaseAuth();

  async function logout() {
    const auth = getFirebaseAuth();
    await signOut(auth);
    // Removes authenticated cookies
    await fetch("/api/logout", {
      method: "GET",
    });
    router.push("/");
  }

  return logout;
}

P.S. As per the example repo, I don't actually any routes on this paths, which I assume is why I get the error

hey @MendyLanda! Thanks for reporting the issue.
What are the contents of your /auth/logout page?

Hello again @MendyLanda!
I hope you have already sorted the issue on your side.
I will close this one. If you have any further questions, please feel free to re-open :-)


Make an Android version

Not really needed, but it can be fun to have a mobile version.
It can be really challenging, controls will have to be smooth.

Done in commit https://github.com/Srynetix/time-lab/commit/90a68312e4655fbab495126fbea5efcd0c3ff298


Add real main path to package.json

Node 20 will refuse to run bin commands if main does not reference a real file or directory.
For example:
node:internal/modules/esm/resolve:189
  const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified);
                         ^

Error: Cannot find package '/Users/james/foas/node_modules/openapi-merger/package.json' imported from /Users/james/foas/bin/bin.js
    at legacyMainResolve (node:internal/modules/esm/resolve:189:26)
    at packageResolve (node:internal/modules/esm/resolve:776:14)
    at moduleResolve (node:internal/modules/esm/resolve:838:20)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

@jamesvillarrubia Thank you for contribution!


Better documentation for table/column versioning

In QuestDB we version tables and columns. But when looking at the current docs for the root directory structure we don't mention it.
This should be more evident, as apparently some users find it confusing
https://www.reddit.com/r/questdb/comments/1e2j11x/comment/ld9o15u/?context=3

I have an idea how this work, but not sure how conflict resolution works here. I believe we do optimistic and if there is a different meta version we reject the payload, and then we just version table and column folders, but not 100% sure about all the implications


Directive doesn't work

I am attempting to add WebDeploy to an already existing script which builds and zips the project using Cake.
Upon adding the addin line cake starts giving me the following error message:
Error: Failed to install addin 'Cake.WebDeploy'.
Copy/pasting the code from the homepage (code below) doesn't work either and results in the same error message.
Please advise.
#addin "Cake.WebDeploy"

Task("Deploy")
    .Description("Deploy to a remote computer with web deployment agent installed")
    .Does(() =>
    {
        DeployWebsite(new DeploySettings()
        {
            SourcePath = "./src/Package.zip",
            SiteName = "TestSite",

            ComputerName = "remote-location",
            Username = "admin",
            Password = "pass1"
        });
    });
RunTarget("Deploy");

I can't see the full output but I would assume that your trying to run cross platform when this addin only supports net461 due to a dependency with Microsoft.Web.Deployment
Try and run the test script on a windows machine with MsDeploy installed.
Please close this issue if that is the cause.

A windows host won't work for me, your release notes mention dotnetcore so I assumed that would work cross-platform.
Closing the issue because I can't use/test it.

Sorry yes I can see where the confusion comes, you can actually use DotNetCoreBuild to compile projects that don't target .NET core. Fun fact 😄


Add simple Dice Rolling Game App in the Android App Section

Use Java to make an Android app to play the game with the dice rolling app.
Requirements for the App:

Minimal UI
Should throw out random numbers on click to the image button of Dice.

Requirements for Submission:- Make a proper readme for the app explaining all the concepts required to learn for the app, put appropriate links in the readme for all the documentation used for building the app.
The app folder should be placed in the folder of the Android project in the master branch.

Can I also start with this issue?

Can I also start with this issue?

Ok go ahead

Can I make this app in 2-d?

I have one doubt, Do you require Dice Roller App or Dice Roller in a Game app.


blurry qr-code / image when zooming

Hello,
i have a problem zooming into a file with a image / qr-code. In PDF.js it is not re-rendered on zooming. In Chrome native PDF viewer it works. See below.
example.pdf
Configuration:

Chrome 53 / Firefox 50
Ubuntu 16.04 LTS
PDF.js version: Demo Page ( 1.6.332 )

What is the expected behavior? (Zoom 200%, Chrome)

What went wrong? (Zoom 200%, PDF.js)

Duplicate of #4706


Uglify not working with Foundation for Sites 6

I receive this error:
events.js:154
throw er; // Unhandled 'error' event
^
Error
at new JS_Parse_Error (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :1526:18)
at js_error (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :1534:11)
at parse_error (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :1647:9)
at Object.next_token [as input] (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :1912:9)
at next (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2012:25)
at subscripts (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2695:13)
at subscripts (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2676:20)
at subscripts (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2676:20)
at expr_atom (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2552:20)
at maybe_unary (eval at  (/.../node_modules/uglify-js/tools/node.js:22:1), :2716:19)

That's the default Node.js error handler for when you didn't handle errors from streams. If you attach an error handler, you'll get a PluginError that will tell you more information about the actual Parse error is.
See, for a basic example, Combining streams to handle errors.


package.json points to https://github.com/ungap/is-array

I just noticed that npm home @ungap/from-entries sent me to the wrong page.  I'm in the middle of other work right now, don't have time right now to make a PR.

fixed


Vortice port in progress

What does the pull request do?
Replace deprecated SharpDX with Vortice, updated continuation of SharpDX project. The bindings are a bit closer to native, no "magic constructors", interface names are unchanged, migrated to SharpGen 2.0 branch.
What is the current behavior?
Avalonia has a dependency on an old version of SharpDX.
What is the updated/expected behavior with this PR?
Avalonia uses latest version of Vortice.
How was the solution implemented (if it's not obvious)?
Manually. :)
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes
SharpDX is no longer a dependency, Vortice is.
WORK IN PROGRESS (doesn't even compile at the moment)

I would like to know if Avalonia maintainers are interested in migrating from SharpDX to Vortice. This bit is the reason I'm submitting the PR this early.
Changes are required in Vortice. E.g. amerkoleci/Vortice.Windows#134, amerkoleci/Vortice.Windows#135 and some other parts related to DWrite interface callbacks.

Note, that Vortice is now strongly-named (as is SharpGen), as required by Avalonia policy.

Here for any questions or implementation necessary from vortice side.

I am kind out of loop, but isn't it possible now to generate DX bindings with https://github.com/microsoft/CsWin32 ?

I prefer using CsWin32 to reimplement the Direct2D1 backend. This shouldn't be too complicated and would allow us to gain access to more advanced APIs that are currently not available or buggy.

I prefer using CsWin32 to reimplement the Direct2D1 backend. This shouldn't be too complicated and would allow us to gain access to more advanced APIs that are currently not available or buggy.

Try to implement it then we'll see :) it's not that easy as it sounds anyway.

@maxkatz6 it likely is. Provided win32metadata has mapped the DX headers. A spaghetti of thoughts on this matter:

CsWin32 right now is immature. Pretty recently it didn't handle forced return buffers (return fixups in ClangSharp-speak), I don't know if it has been fixed. It is based on ClangSharp, which until recently got the D2D Vtbl method indices wrong (I've reported it and it was fixed), I don't know if the fix has flowed in (most likely it did). Windows 7 support also isn't mentioned in README, and it wasn't tested at all, at least a couple of months ago (I don't know if it has changed). Vortice is generated by SharpGen, the foundation of SharpDX, and was used in production for many years.
I honestly don't understand why CsWin32 exists, given the existence of CsWinRT. That may be just me. I hope these projects will merge eventually, since now they do almost the same thing in different ways and don't share the code. Microsoft at it, again (!). No other corporation creates duplicated things like MS does. Avalonia itself is the result of Microsoft failing to innovate WPF (and instead inventing like... 3? 4? new flavors of XAML, all less powerful than the original). Sorry, I just feel bloody frustrated when I think about it again.
It's easier to migrate to Vortice first (since SharpDX deviated from native code more, than Vortice does). Then Avalonia can migrate to ClangSharp-generated bindings, or CsWin32-generated bindings, or CsWinRT-generated bindings, or DllImportGenerator-(heard of this one? me neither, until recently)-generated bindings. Btw, notice the pattern? These are all from Microsoft (as is the .NET runtime, which also has its own COM interop), and they all do almost the same thing and are developed by mostly the same people. @jkoritzinsky participates (at least a bit) in the development of each (!) of the aforementioned technologies, and don't forget he is the current owner and maintainer of SharpGen. There is also CppSharp, which claims to support more C++ than all other binding generators do. It was developed by Mono folks, so now the project also belongs to Microsoft. .NET interop story is a mess, and there is no simple answer to the question "what should I use to bind to X". The change from SharpDX to Vortice is the simplest one, so that's the one I did.

I guess it is fine to move to a different binding because a binding that is maintained is better than SharpDX

@amerkoleci Try to implement the Unicode spec. then you will know what's complicated. A binding to some native library is trivial in comparison.

After fixing compilation errors, pushing changes to the upstream projects (SharpGen, SharpGen.Runtime.COM and Vortice, last one pending NuGet release), fixing reference counting of DWriteResourceFontFileStream not to cause Access Violation due to a non-conforming implementation of DWriteResourceFontLoader.CreateStreamFromKey, this is the result:

I believe if one is to fix the text rendering issue, it should work.
I can't continue working on this at the moment, if someone wants to pick this up - feel free. If not, this will be in a freezer for some months for sure.

Superseded by #6002.


plantuml version 1.2019.6

Hi,
PlantUML was updated to version 1.2019.6 and some preprocessor directives changed. This causes the online generation of diagrams to fail.
From the PlantUML page

You should not use !define and !definelong anymore.
Use !function and variable definition instead !include allows now multiple inclusions : you don't have to use !include_many anymore
!include now accept URL, so you don't need !includeurl
Some features (like %date%) have been replaced by builtin functions (for example %date())
When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. That is you have to use my_own_definelong() because my_own_definelong without parenthesis is not recognized by the new preprocessor.

I updated the repository to use !function instead of !define.
I updated the README files and regenerated some sample images that broke.

Do the original preprocessor directives still work on 1.2019.6? These are definitely breaking changes that if brought in would break C4-PlantUML for anyone still using older versions of PlantUML for whatever reason.

The original preprocessor directives still work. You can still use !define but when calling it you have to add LAYOUT_WITH_LEGEND(). They recommend not using them anymore

vscode-plantuml updated to v2.11.1 using the latest plantuml jar (https://github.com/qjebbs/vscode-plantuml/commit/ed9b9c582a9f1a58cd1a794ac3b3858f47095a6e).
The chocolatey package also got updated (https://chocolatey.org/packages/plantuml)
I guess it's safe to add this to a release/1-1 or something else branch.
If you guys want me to change anything let me know.

Sorry for spamming this PR, but apparently one line functions like
!function LAYOUT_TOP_DOWN() return top to bottom direction
or the classic
!define LAYOUT_TOP_DOWN() top to bottom direction
don't actually require () when calling. Only multi-line functions or defines need to be called like this.
I also had a legend bug in my PR. If an include uses a global variable with $ the include that includes it needs to reference the variable without it.


Config values don't match for local debug

The config values for appsettings.Development.json do not match what is expected in the app. View in run locally and debug.
Then see what the code is expecting on startup in the ChatServiceWebApi.  The result here is Cog Search will not connect because the config values are empty.

i tried updating appsettings.Development.json to this (see below) which I'm guessing is not what you intended.
{
"MSCosmosDBOpenAI": {
"CognitiveSearchMemorySource": {
"Endpoint": "",
"Key": ""
},
"CognitiveSearch": {
"Endpoint": "",
"Key": ""
},
"OpenAI": {
"Endpoint": "",
"Key": ""
},
"CosmosDB": {
"Endpoint": "",
"Key": ""
},
"BlobStorageMemorySource": {
"ConfigBlobStorageConnection": ""
},
"DurableSystemPrompt": {
"BlobStorageConnection": ""
}
}
}

@joelhulen @ciprianjichici I got debug working but I'm guessing this appsettings is not what you intended.

Same issue here on fresh clone - exceptions are thrown about Key being null at the start of the debugging session. I had to add the following section to appSettings.development.json:
	"CognitiveSearchMemorySource": {
		"Endpoint": "...",
		"Key": "..."
	}

I guess CognitiveSearch section with the same credentials isn't needed anymore. Will make a change in the instructions.

Hey alekseys I'll take care of it. Thanks though 🙂
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: alekseys @.>
Sent: Monday, October 2, 2023 7:29:52 AM
To: Azure/Vector-Search-AI-Assistant @.>
Cc: Author @.>; Comment @.>; Assign @.***>
Subject: Re: [Azure/Vector-Search-AI-Assistant] Config values don't match for local debug (Issue #7)
Same issue here on fresh clone - exceptions are thrown about Key being null at the start of the debugging session. I had to add the following section to appSettings.development.json:
    "CognitiveSearchMemorySource": {
            "Endpoint": "...",
            "Key": "..."
    }

I guess CognitiveSearch section with the same credentials isn't needed anymore. Will make a change in the instructions.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Vector-Search-AI-Assistant/issues/7#issuecomment-1743128166 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGDLJW36S7WGTHTZJQVAY3X5LFWBBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE3DQNBSGE4DKNBQQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHEYTIMZQGM3TENFHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


AutoComplete: IsPopover not showing dropdown when navigating with Tab

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Dropdown list in an AutoComplete field does not appear when navigating to the field using the Tab key even after typing, although it works correctly when the field is focused via a mouse click.
Expected Behavior
Dropdown list in an AutoComplete field appear when navigating to the field using the Tab key or when user starts typing in the field.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
8.0.300
Anything else?
Running latest BB stable version.

Minimalistic repro:
https://github.com/Ddd-Jw/MinRepro.git

@Ddd-Jw thank you for contacting us. could you give this project a star?

@ArgoZhang Auh, I thought I already did. Done, and thank you.


Fix warnings on sample app

Just downloaded the new version and going to the sample app showed a few yellow box warnings about shadow style props.

We could probably remove the photo style entirely actually :) Feel free to follow up with that if so.


Support source maps with a single source in multiple target files

It sounds like this is not a capability provided by babel, typescript, or coffeescript. Closing this for now and we can reopen if this surfaces as a legitimate issue.


[3.x] Document C# RPC attributes

This only applies to 3.x, in 4.0 these attributes were replaced with a new RPC attribute in #62805
Documents all the C# RPC attributes (I also moved them a bit to have the *Sync attributes follow their non-sync counterpart) and deprecates the Slave attribute (renamed to Puppet but kept for compatibility) and the Sync attribute (renamed to RemoteSync but kept for compatibility) that have been deprecated since 3.1 (see #22087).
I'd appreciate a review of the added documentation as I'm not very familiar with RPC and might have made a mistake.

Thanks!


The images generated by the row_flow_v3 have serious jagged edges.

The images generated by the row_flow_v3 have serious jagged edges. Here are my depth map and the output image

The images produced by using forward_fill do not exhibit a significant amount of jaggies.

It is an artifact problem that is difficult to avoid as long as row_flow_v3 (and high 3D Strength setting) is used.
If you are not using Edge Fix(--edge-diliation), I think Edge Fix can reduce that artifact.
If forward_fill is not too slow, it can be used.
My guess is that there are originally little jagged edges at the character and background borders due to anti-aliasing or encoding noise. These pixels do not exactly match the depth, so they are stretched by image warping in row_flow_v3.
A similar problem occurs in photo due to the hair depth mismatch.

I've seen similar and worse with high Strength and using 1.0 (or near 1.0) convergence plane
row_flow_v3 is still my go-to option though
Check your convergence plane setting and if it's 1.0 or near 1.0.. lower it a bit and this should help.. if that's the issue. Otherwise, still something to know about if you run into it later... or lowering Strength could be another potential improvement to these edges.


Fix leftover merge conflict so I can run godep

Thanks @TFenby, i have switched to https://github.com/rancher/trash to manage the vendored packages.


ENOENT: no such file or directory, mkdir '/Users/username/Library/Application Support/GHSnooze/extensions

@mcolyer experienced this with node 6.8.1 and npm 3.10.10 while running npm start:
[1]     at Error (native)
[1]     at Object.fs.mkdirSync (fs.js:922:18)
[1]     at getPath (/Users/username/external/gh-notifications-snoozer/node_modules/electron-devtools-installer/dist/utils.js:26:18)
[1]     at Object.<anonymous> (/Users/username/external/gh-notifications-snoozer/node_modules/electron-devtools-installer/dist/index.js:42:59)
[1]     at Module._compile (module.js:556:32)
[1]     at Object.require.extensions.(anonymous function) [as .js] (/Users/username/external/gh-notifications-snoozer/node_modules/electron-compile/lib/require-hook.js:36:14)
[1]     at Module.load (module.js:473:32)
[1]     at tryModuleLoad (module.js:432:12)
[1]     at Function.Module._load (module.js:424:3)
[1]     at Module.require (module.js:483:17)

Running mkdir /Users/username/Library/Application\ Support/GHSnooze fixed it, he reports. This may be a directory Redux uses for persisting state, but it seems like it should make the directory for us. He's in macOS Sierra.

I also ran into this.  I'm on OS X El Capitan


Update command build

Update command build
View Picture of build VoodooHDA

Build from macOS Ventura Xcode Version 14.2 (14C18)

Pull request closed


Botsing Generating Empty Tests

Characteristics

Issue Type: [bug]
Reproducibility: [always]
Severity: [major]
Tool/Service/Component: [commons-collections-3.2]
Execution Environment: [Ubuntu 18.04]
Reporter: [Hendrig Sellik, h[.]sellik[at]tudelft.nl]

Description
While reproducing ACC-377,
the generated test was empty, although the logs say that the target crash is covered.
Upon looking at logs, it seems that the Minimizing test suite feature makes the test empty.
Steps to reproduce

Download acc 3.2 (link below)
Copy stacktrace to a file
Download botsing jar and run the reproduction command (see logs for the exact command I ran)
The generated test will be empty
Copy the test from logs
Add junit, acc 3.2 and hamcrest as dependencies to the project
Run test and see that the original test would have recreated the crash, if it hadn't been minimized to nothing

Other files and URLs

ACC 3.2: https://archive.apache.org/dist/commons/collections/binaries/commons-collections-3.2.zip
junit (needed for running the test) - https://search.maven.org/search?q=g:junit AND a:junit
Hamcrest (needed for running the test) - https://code.google.com/archive/p/hamcrest/downloads
Logs:

(base) hendrig@usb-ubuntu:~/Desktop/Projects/commons-collections-3.2$ java -jar botsing-reproduction-1.0.4.jar -crash_log stacktrace.log -target_frame 2 -project_cp ./bin
14:32:39.915 [main] INFO  eu.stamp.botsing.StackTrace - Exception type is detected: java.lang.NullPointerException
14:32:39.918 [main] INFO  eu.stamp.botsing.StackTrace - Target frame is set to: org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator:229)
14:32:39.918 [main] INFO  eu.stamp.botsing.StackTrace - Target Class is set to: org.apache.commons.collections.iterators.CollatingIterator
14:32:40.396 [main] INFO  e.s.b.reproduction.CrashReproduction - Starting the dependency analysis. The number of detected jar files is 2.
14:32:41.755 [main] INFO  e.s.b.reproduction.CrashReproduction - Analysing dependencies done!
14:32:41.762 [main] INFO  e.s.b.t.s.BotsingIndividualStrategy - test generation strategy: Botsing individual
14:32:41.762 [main] INFO  e.s.b.t.s.BotsingIndividualStrategy - The single goal is crash coverage.
14:32:41.769 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Detecting the target method call(s) ...
14:32:41.769 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target method is public!
14:32:41.770 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target is a method!
14:32:41.770 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Botsing found 1 Target call(s):
14:32:41.770 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Target method #1 is next
14:32:41.773 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Initializing the first population with size of 100 individuals
14:32:46.770 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the initial population is: 4.0
14:32:46.770 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the final population is: 4.0. PT: 5 seconds
14:32:46.770 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Starting evolution
14:32:46.778 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Detecting the target method call(s) ...
14:32:46.778 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target method is public!
14:32:46.778 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target is a method!
14:32:46.778 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Botsing found 1 Target call(s):
14:32:46.779 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Target method #1 is next
14:32:46.783 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Detecting the target method call(s) ...
14:32:46.783 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target method is public!
14:32:46.783 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - The target is a method!
14:32:46.783 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Botsing found 1 Target call(s):
14:32:46.783 [main] INFO  e.s.b.g.s.o.GuidedSearchUtility - Target method #1 is next
14:32:49.830 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the current population: 4.0 | 200
...
14:38:32.325 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the current population: 3.0 | 50000
14:38:32.896 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the current population: 3.0 | 50100
14:38:33.542 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the current population: 0.0 | 50200
14:38:33.542 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the final population is: 0.0. PT: 351 seconds
14:38:33.543 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - ZeroFitness :                      0 / 0            Finished!
14:38:33.543 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - The search process is finished.
14:38:33.543 [main] INFO  e.s.b.g.s.GuidedGeneticAlgorithm - Best fitness in the final population is: 0.0. PT: 351 seconds
14:38:33.543 [main] INFO  e.s.b.t.s.BotsingIndividualStrategy - * The target crash is covered. The generated test is: CollatingIterator collatingIterator0 = new CollatingIterator();
CollatingIterator collatingIterator1 = new CollatingIterator();
CollatingIterator collatingIterator2 = new CollatingIterator();
CollatingIterator collatingIterator3 = new CollatingIterator();
CollatingIterator collatingIterator4 = new CollatingIterator();
CollatingIterator collatingIterator5 = new CollatingIterator();
CollatingIterator collatingIterator6 = new CollatingIterator();
CollatingIterator collatingIterator7 = new CollatingIterator();
CollatingIterator collatingIterator8 = new CollatingIterator();
CollatingIterator collatingIterator9 = new CollatingIterator();
CollatingIterator collatingIterator10 = new CollatingIterator();
LinkedList<String> linkedList0 = new LinkedList<String>();
int int0 = 0;
String string0 = "";
String string1 = "B7j,hA`J(\\g)B2$+";
linkedList0.add(string1);
ListIterator<String> listIterator0 = linkedList0.listIterator(int0);
ListIterator<String> listIterator1 = linkedList0.listIterator();
Comparator<Integer> comparator0 = null;
collatingIterator8.hasNext();
Iterator<String>[] iteratorArray0 = (Iterator<String>[]) Array.newInstance(Iterator.class, 5);
iteratorArray0[0] = (Iterator<String>) collatingIterator0;
iteratorArray0[1] = (Iterator<String>) listIterator0;
iteratorArray0[2] = (Iterator<String>) listIterator1;
iteratorArray0[3] = (Iterator<String>) collatingIterator10;
iteratorArray0[4] = (Iterator<String>) collatingIterator8;
CollatingIterator collatingIterator11 = new CollatingIterator(comparator0, iteratorArray0);
CollatingIterator collatingIterator12 = new CollatingIterator(comparator0, iteratorArray0);
collatingIterator12.next();
collatingIterator4.remove();
collatingIterator4.hasNext();

14:38:33.552 [main] INFO  e.s.b.reproduction.CrashReproduction - * Minimizing test suite
14:38:33.678 [main] INFO  e.s.b.reproduction.CrashReproduction - * Compiling and checking tests
14:38:34.398 [main] INFO  e.s.b.reproduction.CrashReproduction - * Writing JUnit test case 'CollatingIterator_ESTest' to crash-reproduction-tests
14:38:34.403 [main] INFO  e.s.b.reproduction.CrashReproduction - The solution test is saved!

Resulting test:

/*
 * This file was automatically generated by EvoSuite
 * Mon Apr 08 14:38:34 CEST 2019
 */

package org.apache.commons.collections.iterators;

import org.junit.Test;
import static org.junit.Assert.*;

public class CollatingIterator_ESTest {
  @Test
  public void notGeneratedAnyTest() {
    // EvoSuite did not generate any tests
  }
}

Hi @hsellik,
It is because of a property called no_runtime_dependency which is set to true by default. This property prevents the test generator from using the EvoSuite runtime dependencies.  However, this may lead to an empty generated test. So, you can fix this issue by passing this parameter to Botsing:
-Dno_runtime_dependency=false
Also, we will set this value to false by default in the next release.

@pderakhshanfar , thanks for the info.

@pderakhshanfar I was waiting the next relase to have  -Dno_runtime_dependency=false but maybe I can as a workaround provide the parameter to Botsing until the next release.

@MaelAudren Yes, since we will not have any new release for the next month, I think it is better to pass it manually.

@pderakhshanfar I tried the release 1.0.7 and I still have empty tests. Does this version include -Dno_runtime_dependency=false ?

I tested the version 1.0.7 by adding manually the parameter -Dno_runtime_dependency=false, it didn't solve the issue.


Issue with RSSI calculation

Hi,
I'm using standalone-mode with the precompiled binary ATCMD_UART from: https://github.com/newracom/nrc7292_sdk/tree/master/package/standalone/atcmd_binary
It seems that TX-Power switching does not work, at least at STAs.
I'm running the following AT-command sequence at STA:
AT+WTXPOWER=1
AT+WTXPOWER=11
AT+WTXPOWER=21
AT+WTXPOWER=30
Each answered with ok.
After each AT+WTXPOWER, I send an AT+WSTAINFO? at the AP. The response is as follwos:
+WSTAINFO:1,"00:c0:ca:ae:d5:9c",-38,32,6
OK
+WSTAINFO:1,"00:c0:ca:ae:d5:9c",-38,32,6
OK
+WSTAINFO:1,"00:c0:ca:ae:d5:9c",-38,32,6
OK
+WSTAINFO:1,"00:c0:ca:ae:d5:9c",-38,32,6
OK
I would have expected significant changes of the RSSI value from -38 to -9 dBm.
Sending a Ping from AP to STA however, changes the result of WSTAINFO (performad at AP):
+WEVENT:"PING",64,"<IP_ADDRESS>",1,255,9
+WEVENT:"PING",64,"<IP_ADDRESS>",2,255,5
+WEVENT:"PING",64,"<IP_ADDRESS>",3,255,8
+WEVENT:"PING",64,"<IP_ADDRESS>",4,255,22
+WEVENT:"PING",64,"<IP_ADDRESS>",5,255,5
OK
+WSTAINFO:1,"00:c0:ca:ae:d5:9c",-10,29,4
OK
Now, I doget -10, which is surprisingly close to the estimated  -10 dBm.
I think there is an issue with updating the RSSI value in the STA-frimware, or is that normal behaviour?
I would appreciate any information or clarification.

Dear @E2w4UmWh,
Thank you for your inquiry.
First of all, RSSI value is updated when the device receives any frame.
So, STA's RSSI can be continuously updated because of beacon frames from AP,
but AP's RSSI requires the help of uplink traffic like ping from STA.
We used the attached script files and ran them on AP and STA as below.
[AT-CMD SoftAP]
$ sudo ./raspi-atcmd-cli -U -s wifi-softap-open-dhcps
[AT-CMD STA]
$ sudo ./raspi-atcmd-cli -U -s wifi-connect-open-dhcp
And we found that RSSI values of AP followed the TX power of STA.
Please refer to the scripts and test logs.
Best regards,
Newracom

script and log files: nrc7292_sdk_issue3_support_files.zip

Thank you very much for the explanation, that helped to understand what happens on the MAC layer!
Comming from other radio technologies, I'm no t that much confident with WiFi on the RF protocol-side.
Transmitting a ping from STA to AP does indeed change the RSSI-value, when applying AT+STAINFO on the AP.
The results in dBm are not always correlatad with the TX-power-difference in dBm applied, on the STA, but sometimes I observed different values of the MCS_index as well, which might be part of RSSI calculation???
Some of my observations:
STA-TX-pwr dBm //  STAINFO (AP) // comment
3 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-34,32,5
6 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-36,30,5
12 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-11,30,5 //+ 6dB TX pwr resulting in +25 dB RSSI?
12 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-15,32,5 // some signal fading?
18 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-6,32,5
24 // +WSTAINFO:1,"00:c0:ca:ae:d5:9c",-3,28,4 // MCS_index has changed!
Thanks for your quick response and clarification!!!

Dear @E2w4UmWh,
Thank you for your information.
NRC7292 SW has rate adaptation mechanism inside,
so it adaptively changes its MCS index based on its quality of transmission.
The MCS index change could happen due to the poor RSSI of peer device and corresponding poor quality of transmission,
but there is no direct relationship between MCS index and RSSI value.
Best regards,
Newracom


Use more precise error message for comparison

Use more precise error message for comparison.
Longhorn 3939
Signed-off-by: Derek Su<EMAIL_ADDRESS>

@innobead Can we get this PR merged?


add id in JSONRPCResponse

https://www.jsonrpc.org/specification
id
This member is REQUIRED.
It MUST be the same as the value of the id member in the Request Object.
If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null.

oh wait they do sometimes have id for error


A property of type ConnectionStringSettings is defined on IConnectionFactory

I was looking to implement my own IConnectionFactory which exposed a leaky abstraction:
The interface defines a property of type ConnectionStringSettings directly associated to the single implementation of the factory, the ConfigurationConnectionFactory.
I decided to change the constructor hierarchy to let the responsibility stay inside the SqlPersistenceFactory, but I guess you could also more it to the IConnectionFactory, so it itself would resolve the desired ISqlDialect implementation. I guess my approach will cause the least breakage.
(Note: I'm a big fan of incremental commits, so if you review them one by one, every refactoring should be expressed in a readable manner; to still keep a note of the branch's intent, use --no-ff when merging.)

Could you please update this pull request to reflect the latest changes to the master branch? Let me know and then I can pull it in.


Unique IDs.

Support guidelines

[X] I've read the support guidelines

Description
Platform afvalwijzer does not generate unique IDs.
Expected behaviour
Generate unique IDs
Actual behaviour
Platform afvalwijzer does not generate unique IDs.
Version

HASS version: 2023.3.1
Component version: 2023.01.01
Useful system info:

HASS logs

logger -> logs -> custom_components.afvalwijzer: debug in you configuration.yaml

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:540
Integration: Sensor (documentation, issues)
First occurred: 14:39:29 (9 occurrences)
Last logged: 14:39:29
Platform afvalwijzer does not generate unique IDs. ID d61f5cf5bb025264309fa536e4008acc3a91f998 already exists - ignoring sensor.afvalwijzer_next_date
Platform afvalwijzer does not generate unique IDs. ID 8527134b8ef240249af1ddf87816b126deeb87ac already exists - ignoring sensor.afvalwijzer_next_in_days
Platform afvalwijzer does not generate unique IDs. ID 32f229ae9b9d2188f511fd58076185ef708fe350 already exists - ignoring sensor.afvalwijzer_next_type
Platform afvalwijzer does not generate unique IDs. ID 7ca0bac48134bb59723cb24bc89cbeda267de512 already exists - ignoring sensor.afvalwijzer_today
Platform afvalwijzer does not generate unique IDs. ID 32af8e45c299be12b7559928436b9dfe985ebf2f already exists - ignoring sensor.afvalwijzer_tomorrow

Hi, thanks for sharing. However, the component creates unique ID's actually.
https://github.com/xirixiz/homeassistant-afvalwijzer/blob/b53fbaeaf74987a037c145bb2b2002a8c6196b73/custom_components/afvalwijzer/sensor_custom.py#L41
and:
https://github.com/xirixiz/homeassistant-afvalwijzer/blob/b53fbaeaf74987a037c145bb2b2002a8c6196b73/custom_components/afvalwijzer/sensor_provider.py#L52
As it's about the "custom" defined sensors, it should be coming from the sensor_cusom.py file.
Did you stop and restart HASS to try again? If so, I`ll investigate it further.

hi,
Yes, i did. I moved from HA on vm on NAS to HA on Proxmox. After restore backup, the same error occured.

Can you validate again with the latest release?

hi,
Yes, i did. I moved from HA on vm on NAS to HA on Proxmox. After restore backup, the same error occured.

But this seems to be related to another error (backup restore procedure). If it already has a unique ID from a backup, it doesn't recreate an ID.

How can i delete the "old" unique numbers in the database?

Hi, the unique IDs are stored in a file in you HASS config directory (.storage folder I believe). What you could do is ask how to do this at the HASS community as I`m not updating config in HASS very often anymore (so I lack of knowledge here :))


Welch scaling last bin

I think there might be an issue in scaling the last frequency bin in scipy.signal.welch. Using the included code the last bin appear to be a off by a factor of 2.
Reproducing code example:
from scipy.signal import welch
import numpy as np
import matplotlib.pyplot as plt

x = np.random.random((100000,))
freqs, Pxx = welch(x)
Pxx2 = Pxx.copy()
Pxx2[-1] *=2

plt.plot(freqs,Pxx)
plt.plot(freqs,Pxx2)

Scipy/Numpy/Python version information:
1.0.0 1.14.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)

The documentation is correct.
https://www.programiz.com/article/python-self-why

Sorry, disregard the above comment --- was meant for different issue.

If memory serves, this apparent discrepancy arises because you can only evaluate the power in the real part of the FFT at the nyquist frequency.
So while intuitively we feel like the underlying continuous gaussian process that we imagine that x is sampled from has equal power at all frequencies, the discrete realization x does not have any power in the imaginary part at the nyquist frequency as the sampling cannot resolve it.


fix(isolated-declarations): declare modifier of PropertyDefinition should not be retained

related: #4937

#4941  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


Throw an error when if%hw is used outside of [%hw]

The if%hw construct is only valid within a [%hw] scope.

I guess the other way to look at it is if%hw is valid at any scope since it is already differentiated.

That was my original assessment but in the current state of affairs a if%hw outside of a [%hw] scope does not generate a mux2 command.

I think if%hw ... and [%hw if ... ] can be matched separately in the mapper.  The later recurses into a different mapper.  Both mappers, in this case, could potentially recognise the if%hw form.
I am not totally sure this logic is correct...

Unfortunately the AST forif%hw ... and [%hw if ...] are isomorphic. The solution I am implementing simply adds support for if%hw as top-level elements. I am also adding support for match%hw as a top-level element as well as the %hw.signed form at the top-level.

Unfortunately the AST forif%hw ... and [%hw if ...] are isomorphic

I don't think so actually.  In a mapper, I think you can pick out the keyword%ext syntax specifically.  I will have to double check that assertion though.

I checked with the dumpast tool. There may be some specificities of the mapper API I am not aware though :/

I pushed a working version in the toplevel_if_match branch. It's a bit more involved because of the availability of both %hw and %hw.signed extensions. In the proposed version, the %hw and %hw.signed used on if and match actually alter the signedness of the content.
For instance, the following:
let some_fn a b c d =
  if%hw a then a > b else
  if%hw.signed c then d else
  a > b

gives:
let some_fn a b c d =
  resize_op2 ~resize:uresize (mux2 a) (resize_op2 ~resize:uresize (>:) a b)
    (resize_op2 ~resize:sresize (mux2 c) d
       (resize_op2 ~resize:sresize (>+) a b))

Further:
let some_fn a b c d =
  if%hw a then a > b else
  if%hw.signed c then d else
  [%hw a > b]

gives:
let some_fn a b c d =
  resize_op2 ~resize:uresize (mux2 a) (resize_op2 ~resize:uresize (>:) a b)
    (resize_op2 ~resize:sresize (mux2 c) d
       (resize_op2 ~resize:uresize (>:) a b))

I am not quite sure that the sign swapping here makes a lot of sense. It would be fairly trivial to add a restriction to keep the user from doing it.

I pushed another version in branch top_level_if_no_sign_swap that forbids sign swapping in the middle of a [%hw ] block.

I'm going to merge the top_level_if_no_sign_swap branch for now as I need to pin that repo across multiple machines. We can always iterate over it later if needed.


Make it better

I'd love to make the RN release notes process painless. At the moment this script does a very basic and dummy classification (checks for some keywords, either related to the platform or to check if the commit is bug, feature or other).
All that is not clever and only helps with the initial draft of the markdown file, but it saves some time already.
The bad parts

uses Github API which returns max 250 commits (very often there are more commits in a release)
very basic classification, (checks only the title of the commit)
use of Github API, makes the whole thing slow

Possible solutions

instead of using Github API, just make the script to clone the RN repo and then just using git commands: get branches, get commits (this will solve 1. and 3.)

classification:

there are some commits which we can be very easily assigned based on the commit title.
the commits which the script is not confident with, could be investigate more (check the files which are being changed, how big is the change, check not only the title but also the message of the commit)

Thanks for the write up! I think the best solution in terms of grouping stuff to Android / iOS / general would be to specify a set of rules (ideally a regexp on a file path), e.g:
const settings = {
   ios: [],
   android: [],
   general: [],
   ignore: [], // specify paths to website and all .md files etc. here
};

so that we can specify to group all .android.js to ios, all ios.js and all .js to iOS (the latter as long as they belong to a e.g. PushNotificationsIOS).
We could also allow specifying a number of characters changed to discard from commit, e.g. remove all commits that were 1+ lines (typos).


Add draft for new schedule

This PR adds a draft for a new on-site schedule. Currently, coffee breaks are 20 minutes long and take place sometime during 10:00 to 10:30 before lunch and 14:20 to 14:40 in the afternoon. Lunch is between 12:00 and 13:00 every day. A daily wrap-up is at 15:45 every day, except the last day when it's at 15:30.
Since we are on-site and thus have more time some of the sessions have increased in length (according to the responses from last course round's evaluation form). The following table show the old and new lengths of each session, for comparison (weird numbers are due to rounding).

Session
Old time
New time

Git
2.5
2.5

Conda
1.5
1.75

Snakemake
4
4.08

Nextflow
4
4

R Markdown / Quarto
1.5
1.83

Jupyter
1.5
1.92

Containers
3.75
5.08

Putting it together
1.25
2.17

Major differences are for the container sections, which increased ~1.5 hours, so there should be plenty of time there. The last "putting it all together" session is also longer, so that the students can actually get started with incorporating the tools into their own projects for a little while longer while having access to teachers to ask questions.

Okay, new schedule with days ending at 17:00 (wrap-up at 16:45) looks like this:

Session
Old time
New time

Git
2.5
2.50

Conda
1.5
1.75

Snakemake
4
4.33

Nextflow
4
4.42

Quarto
1.5
2.00

Jupyter
1.5
2.17

Containers
3.75
5.17

Putting it together
1.25
4.92

Biggest change will be the last day, which is basically dedicated entirely to "Putting it all together". I thought about just portioning out the time to the other sessions more or less equally, but the more I thought about it I think that there's no reason to spend extra time when it's not needed, and that the students might actually benefit quite a lot from getting a whole day for just applying what they've learnt on their own project(s). Last day is a bit shorter as well (wrap-up at 15:45), since it's a Friday. Thoughts, @johnne ?


Health checks for pulumi-language-yaml

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
Implement https://github.com/pulumi/pulumi/pull/9735 for YAML.

Affected area/feature

Nope. We treat unimplemented responses as ok, just checking there was a grpc server to respond to us.


Determine what version of CVE database was used in a scan

I couldn't see this feature anywhere, I could be wrong, but if not I wanted to start a discussion of storing information about what the CVE database looked like at the time of a scan. This could be useful if you want to find out if a particular scan did or did not check for a CVE.

The engine scans the image once, which gathers all the data about the image - files, packages, metadata, etc. When the engine is asked to report on CVEs evaluate an image against a policy it users the latest vulnerability data available.
So there's really a scan and a report to consider the timing off.
If I add an image to the Anchore Engine now and immediately request a CVE report I'll get the CVEs in that image as of right now. If I request the CVE report tomorrow I'll get the latest list of matching CVEs.
The engine will update its list of CVEs every 6 hours (user configurable) and as new CVEs are added it will match them against images.
We have a subscription/notification system see: here which can be used to send out notifications based on key events. For example you can subscribe to receive a notification if new CVEs are added to a specific image.
Does that answer your question?

Right, so I guess i'm thinking of the scenario where the user configures the CVE update to be once a week say. A CVE is added to a feed on Wednesday, you scan and evaluate an image against the policy on Thursday but you didn't in-fact check against the latest CVE because your local database wasn't updated. So when you get the policy evaluation results you could attach with it the last time the database was updated to be able to determine if you evaluated against the most up to date CVE list or not. You could get around this issue by just forcing a database sync before every time you evaluate the policy, then you can use the current time as the database 'version'. Though people do like their metadata, it's fairly minor but could be useful for retrospective analysis.
Let me know if what I tried to explain isn't clear enough.

We want to make policy evaluation and CVE results as real-time as possible, I doubt folks would make the feed sync internal longer, usually they go shorter to pick things up ASAP. That said, even 6 hours is very good given the frequency of updates. One of the policy checks we have in our policy language actually checks for stale feed sync data to allow a user's policy checks to issue warnings or even fail based on stale data. We do have the ability to retrieve the last feed sync timestamp for a specific feed (debian:8, centos:7, etc) see https://anchore.freshdesk.com/support/solutions/articles/36000052809-feed-synchronization-  so perhaps you'd like to see that date in the output as extra metadata, would that work?
One thing we've discussed in the past, which I think aligns with your point, is if we can perform a policy check or CVE scan as per a certain date.
Right now we keep the image data indefinitely (you can prune it of course) so I could run a policy or CVE check on an image from 18 months ago, for example. This would create a report based on the new data we have (old image, new vuln data) which tells us how secure the image was based on what we know now. But we've discussed adding the option to use the old data. It's academically interesting, but we didn't see enough interest yet to do anything with that.

Yeah the last feed sync timestamp as extra metadata could work. It would be interesting to see if other users would find this feature useful as well. Your second point is definitely academically interesting, you could use it to find interesting info about image decay, average time to get popped if left unpatched and other things, would be neat!

CVE scans in Anchore are done when the image is finished analysis and added to the db and are updated in the same transaction as CVE updates moving forward to keep the db fully consistent for package-based CVEs.
It seems that what you really want to know is:

If I'm not seeing a CVE I expect to see in an image, is it present in the system and was it checked for image X.
When was CVE Y added/updated in the system.

Broadly, to address these issues I think we'll add:

API to query feed sync task state and history (when were feed syncs run, what was the result, and is one running now)
API to query the CVE/Feed db in the system to get CVEs by name, date, or by package/artifact

Those are already things I'm thinking about, but don't have a timeline for implementation yet. Would those things address your requirements?

生产环境没有网的情况下,怎么保证漏洞库是实时更新的???

生产环境没有网的情况下,怎么保证漏洞库是实时更新的???

Please modify your problem using English. Thank You:)

生产环境没有网的情况下,怎么保证漏洞库是实时更新的???

Using Google Translate: "How to ensure that the vulnerability library is updated in real time when there is no network in the production environment."
The way that I solved this problem is to have a separate instance of anchore running on a non prod environment which has internet access, trigger an update, snapshot the database and upload that to your production anchore. The downside is that this is not 'realtime' but it can be done as frequently as you like (once a day for example).
This can also solve the problem of having the database 'versioned as you can hash the database, and know that it won't change in production as there is no internet access.


Fix: Check for duplicated path during derivations import

Task linked: CU-8693877z7 DynamicDerivations. Import keys. Derivation path duplications


jol-core is GPL

Slice is ASLv2 licensed, but has jol-core as a hard dependency. jol-core is released under the GPL.
Do you have a plan to remove the dependence on jol-core? Is there some workaround to make airlift's zstd compressor work without the GPL code?

JOL is licensed under “GPL with classpath exception”, just like all the classes in the JDK. We only use the public APIs in JOL, which are covered by the exception.

That still leaves it Category X from Apache's point of view, which means that we can't depend on it in Apache projects. Feel free to close this issue if you don't consider it a problem for your users.

Ok, let me see how we can break the hard dependency. I’m still surprised it’s an issue for Apache, since that’s the license used by the JDK.

BTW, the only reason aircompressor depends on Slice is for the XXHash64 implementation that's used to compute checksums in ZSTD. One possibility is to split out the XXHash64 implementation into a separate project and make it work against byte arrays directly.

It was fairly easy to extract the parts of XxHash64 that are needed by ZSTD (it only uses the static methods and not the stateful hasher): https://github.com/airlift/aircompressor/pull/100

Any progress on this one? We hacked around it ORC 1.6, but it is absolutely a hack.

@omalley aircompressor no longer depends on Slice (and thus JOL) as of release 0.16. (I commented about this on ORC-363 but you probably didn't see it.)
I'm going close this issue since we have no current plans to remove the dependency on JOL in Slice, and I think the actual concern here was aircompressor. If that's not the case, please reopen.


@mustCallSuper confusing with mixins

In the example below, to ensure that all resources of the base class Base are freed up when it is disposed, I am annotating its method with @mustCallSuper.  Now while implementing dispose in the sub class Sub, the analyzer lint must_call_super helpfully tells me that I need to call super.dispose(), which I can easily do thinking that now the resources of Base will get disposed when Sub is disposed. However, that is not the case due to the FooMixin: super.dispose() will actually call FooMixin.dispose() and Base.dispose() is never called (even though I said it must be called).
This is of course the expected behavior for how Mixins work in Dart. However I find it confusing that there's no warning that the documented @mustCallSuper contract is not fulfilled since Base.dispose() is never invoked.
From the mustCallSuper doc:

Indicates that every invocation of a method that overrides m must also invoke m.

import 'package:meta/meta.dart';

void main() {
  Sub().dispose();
}

class Base {
  @mustCallSuper
  void dispose() {
    print('Base dispose');
  }
}

class Sub extends Base with FooMixin {
  @override
  void dispose() {
    print('Sub dispose');
    super.dispose();
  }
}

mixin FooMixin {
  void dispose() {
    print('mixin dispose');
  }
}

Before I try to grok your example, have you looked at existing issues regarding mustCallSuper? https://github.com/dart-lang/sdk/issues/36657 in particular deals with mixins.

Yes, that's a known problem. (I think there's an issue for it somewhere already, but I haven't looked to confirm.) The fix, of course, is to define mixin FooMixin on Base { ... } so that we can tell the author of FooMixin to include a super invocation, but I don't know how to flag the absence of the on at the declaration of FooMixin.
We might be able to detect it at the declaration of Sub and tell the user that because Base has a member marked with mustCallSuper that any mixins that implement that member need to be marked as being on Base, but that might be more than was originally intended for the annotation. We could potentially also require any classes being used as mixins to implement Base in one way or another.

Before I try to grok your example, have you looked at existing issues regarding mustCallSuper? #36657 in particular deals with mixins.

I looked at issues in the linter repository and didn't see anything similar. However, you're right: In the general dart SDK repository there's a duplicate issue for this: https://github.com/dart-lang/sdk/issues/36657
Closing this issue then.


is the file 'pretrainedmodels.py' missing?

File "Deep-Metric-Learning-Baselines/netlib.py", line 21, in <module>     import pretrainedmodels as ptm ModuleNotFoundError: No module named 'pretrainedmodels'
I run the code then get the problem, Thank you very much for your help.

Hey there! If you look at
Install.sh

you'll see that
pretrainedmodels

Is a pip-installable library for PyTorch network weights :).

@Confusezius Thank you very much.


Update plugins before adding new?

Hi,
Is there a way to update the default plugins in jenkins before adding additional ones using puppet? Specifying them again in puppet with a version does not work.
I ran into this issue [1].
Basicly the installed version of 'credentials' is incompatible with the 'git' plugin, and thus jenkins refuses to start. Manually removing the git plugins + jenkins restart + plugin update, solves the issue. But there has to be a better way to handle this.
Can this be done using a custom parameter on the jenkins class perhaps, or something else?
The Jenkins version I used is the latest LTS at time of writing (1.509.4), perhaps this doesn't occur with the latest (non-LTS) version, but the LTS version looks more geared towards bigger enterprises.
Best regards,
Steven
[1] https://answers.atlassian.com/questions/217427/git-plugin-error-for-stash

@stevenpost It's not idiomatic puppet to manage resources that are not declared as part of the manifest.  For example, there's no way (without writing a custom provider) to update all of the packages present on a system without a resource.   I'm also concerned that we'd run into problems with recursive dependencies.
That said, being able to handle recursive dependency resolution for the new plugins your installing would likely fix this problem.  Unfortunately, that is non-trivial task.

I'm going to close this feature request as it would be non-idiomatic puppet and extremely difficult to implement.   Lots of good discussion on this issue.


Find Replace extension throws error in CME when right clicking

When Find Replace extension is enabled, right clicking in the right hand side window of the CME (for instance trying to do New=>Component) fails on the item.getItemType() call because no item is selected.
// IncrementModification Prototype
Alchemy.FindReplace.Commands.ShowFindReplaceScreen.prototype = {
/**
* Whether or not the command is enabled.
*/
isEnabled: function (selection) {
var selectedItem = selection.getItems()[0],
item = $models.getItem(selectedItem),
itemType = item.getItemType();

Hello Alex, we are facing similar issues as well..My team findings:

It does not replace or find text. I created several components that contain the string “TestHarish” and attempted to do a Find/Replace on the folder they were contained in. The folder and components were scanned, but none of them came up as a match and no words were replaced.
a.	The same thing happened when I ran a search using Find/Replace. No matches, even though the components that were scanned definitely contained the string I was searching for (including several fields that were just the string, so even if it only looked for exact matches it should have had a hit).

When I tried to do a find/replace on the entire "040-C Pub.com" Content publication my browser crashed, and when I attempted to return to dev I was refused the connection. I waited a while, closed my browser, and then reopened it and I got access again. It appears running a Find/Replace puts a huge load on the environment and crashes it.


setup-minikube does not install crane

Bug Report

setup-minikube does not install crane
Current Behavior

The setup-minikube make step does not install crane which is required to run through the examples.
Expected Behavior

Install all tools necessary to complete the examples
Possible Solution

Steps to Reproduce

Context

Your Environment

(replace the example below with the script output)
Last commit:
  d6d7647 Alternate approach for internal minikube OCI registry  (HEAD -> github-templates, upstream/main, upstream/HEAD, main)
Kubernetes:
  Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:41:42Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/arm64"}
Tekton:
  Client version: 0.21.0

I can take care of this one @sudo-bmitch, you can assign it to me

I think this is being resolved by #364


vtab data preprocess with input range (-1, 1)

Hi,
Thanks for sharing the code. I wonder if there a reason why setting input range to (-1, 1) (https://github.com/google-research/head2toe/blob/main/head2toe/input_pipeline.py#L152) instead of (0, 1) in vtab(https://github.com/google-research/task_adaptation/blob/master/scripts/run_all_tasks.sh#L57)？

This is actually very nice catch. We wanted to be comparable to the Meta-dataset data-processing and thus used this scaling. This might explain few small differences we got with VTAB. I will take a note and try reruning (at-least some) of our results with 0-1 scaling.
https://github.com/google-research/meta-dataset/blob/main/meta_dataset/data/read_episodes.py#L245
Thanks for reaching out.


remove Newtonsoft

We had a dependency on Newtonsoft for NetStandard 1.3 scenarios.
Since we removed NetStandard1.3 it's safe to remove this now as this is no longer used.
Changes

Remove unused dependency on Newtonsoft.
Remove constants that are not in use.

NETSTANDARD is defined for all versions of NetStandard https://docs.microsoft.com/en-us/dotnet/core/tutorials/libraries#how-to-multitarget

Checklist

[ ] I ran Unit Tests locally.
[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[ ] Design discussion issue #
[ ] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

@cijothomas This was the only project I found it in. I'll double-check just to be sure.


fix: broken progress percentage post submission

This PR resolves []
Description
This PR fixes the broken progress percentage post submission

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Fix broken progress bar on complete your submission - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (Fix broken progress bar on complete your submission - mounir)

  Generated by :no_entry_sign: dangerJS against e0da094a921aceb45966fd40b0e78fed242817a1


Other elements dropdown instantly closes

Description
The other elements dropdown opens and closes himself
Steps To Reproduce

Right click a folder/file
Scroll down to other elements
Hover or click on other elements
See issue

Expected behavior
The other elements dropdown opens and let me select an option
Files Version
Versione <IP_ADDRESS>
Windows Version
Windows 11 Pro 10.0.22449.1000
Relevant Assets
debug_fulltrust.log
debug.log
GIF showing the issue:

Merging with #6052


Add sonar-project.properties and default HashiChorp Vault url to quickhits.txt

sonar-project.properties is used by SonarQube

Thank you!


[Feature Request]: Add lc-solution 503

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add a leetcode solution 503
Use Case
I want to add a leetcode solution 451
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@maradadivyasree020 Please complete your task otherwise I will close it. and if you have any queries then ask me on our live chat for support: https://codeharborhub.github.io/community/supports#-how-to-get-support


Correctly set the alert type depending of the CertificateException

Motivation:
Depending on the actual CertificateException we should set the correct alert type so it will be sent back to the remote peer and so make it easier for them to fix it.
Modification:
Correctly set the alert and not always just use a general alert.
Result:
It's easier for the remote peer to fix the problems.

@nmittler @Scottmitch PTAL... This depends on https://github.com/netty/netty-tcnative/pull/117

LGTM

LGTM

+1 for OpenSslCertificateException. lgtm after check style fixed.

Cherry-picked into 4.0 (b91c9be878f2112e0899f7533f9e85fbe5e2cd18) and 4.1 (6e9d2bf13c33757b5d1d44e1fbe20f4257239885)


Add Tracks to the project

Feature Request
Feature Description
Add Tracks to the project. The API supports it and hence it should be implemented in the app.

[x] List all the Tracks of an Event(#872)
[x] Creation of a Track(#871)
[ ] Updating a Track
[ ] Deletion of a Track
[ ] Write tests for each feature

Would you like to work on the issue?
Yes.

Since my focus is more towards getting familiar with the server codebase, this issue can be taken by someone else, otherwise i would finish this up after i am comfortable with the server.


Simplify resolvers for associated data models.

Currently, at least in the SQL-relation cases, the code generator creates a completely new function and adds that to the prototype of the data model that has an association with another data model.
Refactor that so that the don't repeat yourself (DRY) principle in coding is respected, please.
Consider the following two examples in simplified pseudo-code:
Dog.hasMany(Flea)

Dog.prototype.filterFleas(searchArg, paginationArg, sortArg) {
  let sequelizeOpts = generateSequelizeOpt(...)
  this.getFleas(sequelizeOpts)
}

Refactor the above to the usage of our default read-function in the basic CRUD interface:
Dog.prototype.filterFleas(searchArg, paginationArg, sortArg) {
   searchArg.field = "dog_id"
   searchArg.value = this.id
   searchArg.operator = "equals"
   return Flea.readAll(searchArg, ...)
}

The second example would be the reverse of the above:
Flea.prototype.getDog()  {
   return Dog.readOne( this.dog_id )
}

The big advantage of this is that the associated resolvers are storage technology agnostic. This should work with all types of associations, if I'm not mistaken.
Furthermore, GraphQL executes queries for associations in any case. Join queries will not be used due to how GraphQL works. Thus, no performance is lost by this approach.

Only simplify resolvers where no performance will be lost
In the case of SQL_hasManyThrough relations the Sequelize framework performs a single query using left inner joins, which are highly efficient. Unfortunately, we cannot do this with our CRUD-model based approach. Hence in the case of these hasManyThrough associations do not simplify the resolvers.

Thanks to @vsuaste it has been implemented with the exception of Sequelize's hasManyThrough (many-to-many with cross table).


Request - Chainable Min/Max Functions

It would be nice to instead of using separate Cmp()'s in conditions, followed by Copy()'s, to have a max and min function that alters the 'self' struct such that  a.Max(b).Max(c) would return and set a as the maximum of a,b,c

Would something like this work?
// Max sets z to the greater of the provided values.
func Max(z *decimal.Big, x ...*decimal.Big) *decimal.Big

Oh sorry, I didn't even see those functions in misc
Personally I was thinking of something that basically replicated the Cmp() function and instead of returning a int, it returned a pointer, or set the calling pointer's value to the Min/Max result. Rather than just calling Cmp(), checking the return, then setting accordingly with Copy().
My use case is for a high performance find of min/max on only a few decimal inputs.
Btw, massive performance gain using your library over the previous one i was using

Ah, yeah, then Min and Max in misc/ should work.
var z, a, b, c *Big // assume these are set
z.Copy(Max(a, b, c))

Btw, massive performance gain

Awesome! I'm glad to hear it. If you don't mind me asking, what're you using this library for? I ask this question whenever people create issues because it's cool to see all the unique ideas.

I'm actually using this for some sensitive financial trading code
So accuracy and speed is quite important ;)

@dhannyz that's cool to know, thanks! You're alright if I close this, right?


defer loading providers

hi,
sorry for my eng
how to defer my module service providers, I know service providers registered at runtime but i have about 30 modules!!! it's very expensive to load my pages on server
your advise???

Just set the defer property to true... https://laravel.com/docs/5.3/providers#deferred-providers

I know, but providers instantiate in runtime and $defer=true ignored

????????

This is an issue I've looked at before and didn't find a proper solution to make this work, as laravel (as far as I'm aware) doesn't have an API to register a deferred provider.


Regression Handling BigInt For Prepared Statements

Assuming I have a PG function called DoSomething with a single integer parameter, sendPreparedStatement("SELECT * FROM DoSomething(?)", BigInt(0)) worked just fine in 0.2.18 but no longer does when upgrading to 0.2.20. Now you get an error like:
[error] c.g.m.a.d.p.PostgreSQLConnection - Error with message -> ErrorMessage(fields=Map(Position -> 15, Line -> 523, Hint -> No function matches the given name and argument types. You might need to add explicit type casts., File -> parse_func.c, SQLSTATE -> 42883, Routine -> ParseFuncOrColumn, Message -> function dosomething(unknown) does not exist, Severity -> ERROR))
I assume this is because of #169.

We are also still on 0.2.18
There is another issue
https://github.com/mauricio/postgresql-async/issues/179


CAW-818: Remove Loki

Description
Loki, while a very powerful and useful tool, proved to be too big of a
snag for the average project. As such, we have determined to remove it
as a default and instead allow teams to opt-in if they find it useful.
🔗 Reference

Relevant links (e.g. issue, design, etc.)

#818
📋 Acceptance Criteria

Checked off by PR Assignees

[x] Remove Loki
[x] Remove Loki configuration
[x] Remove references to Loki from READMEs

👩🔬 Test Instructions

Provided by PR Assignees

npm run test:ci should run without a hitch (this is running in Actions, so if it's working here, it's working)

🔎 Reviewer Checklist

Checked off by PR Reviewers

[ ] Merge destination is correct
[ ] Code is correct as understood and conforms to quality standards
[ ] Tests have been added where appropriate (unit, visual, end-to-end)
[ ] Acceptance Criteria have been met

Roles & Responsibilities
👨💻 Assignee

Initiator of this PR (be sure to set in GitHub UI)
Addresses feedback and change requests
Merges PR once approved (usually deletes branch unless develop or release)

👩💻 Reviewer

Invited to review PR by Assignee (via GitHub UI)
Is expected to complete a review and address followup

💭 I found one stray Loki mention, dunno if this is necessary or not

💭 I found one stray Loki mention, dunno if this is necessary or not

😅 See, this is why we do code reviews! 🙌 Thanks @aaronb97!


"Reload" reloads all tabs, not just the current tab

This is true for both command-R and the pull-down menu.

This is an issue if you have active text fields or media playing in another tab.

Fixed in a50ffdd8fc55b2d812421b31d75eaa7d4739d906.


Automatically update plugin by default

Set vundle to automatically update plugin by default?

This is too unspecific, you have to explain more.

You can add PlugUpdate! command in your .vimrc.

Can't you just write a cron job to execute vim +PluginUpdate +q?

As for the "default" in your question: I do not think that such an update policy should be shipped with the default settings of Vundle. I think that updating and installing software is a process the user should initiate manually. But obviously everybody can just use a cron job to get such things done.

Sorry, this is out of Vundle's scope. It would not add any extra value since this can easily be done with well known tools from outside.


[mac] cannot select special characters with arrow keys

goal is to type föo
type f
long press o, the mac shows the selector
use arrow keys to select ö
:bug: a newline and a character is inserted

Interestingly, this doesn't reproduce the same bug for me (I get a double o situation):

I didn't get the same bug @jrieken ran into but @alexandrudima 's one is valid.


MSBuild fails to initialize when used as an API

OS: Windows x64
I'm working on integrating the latest MSBuild bits from MyGet (0.1.0-preview-00033-160829) into OmniSharp. However, it throws when OmniSharp attempts to instantiate a ProjectCollection.
System.TypeInitializationException: The type initializer for 'BuildEnvironmentHelperSingleton' threw an exception. ---> System.InvalidOperationException: Could not determine a valid location to MSBuild. Try running this process from the Developer Command Prompt for Visual Studio.
   at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args)
   at Microsoft.Build.Shared.BuildEnvironmentHelper.Initialize()
   at Microsoft.Build.Shared.BuildEnvironmentHelper.BuildEnvironmentHelperSingleton..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties()
   at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties()
   at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection()
   at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents)
   at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Create(String projectFilePath, String solutionDirectory, ILogger logger, MSBuildOptions options, ICollection`1 diagnostics) in C:\Projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectFile\ProjectFileInfo.cs:line 118
   at OmniSharp.MSBuild.MSBuildProjectSystem.CreateProjectFileInfo(String projectFilePath) in C:\Projects\omnisharp-roslyn\src\OmniSharp.MSBuild\MSBuildProjectSystem.cs:line 205

From the MSBuild code that's failing, it looks it's trying very hard to find the location that MSBuild is installed on the machine. However, this is a scenario where MSBuild is being hosted in a different app, so I'm not sure why this would be needed.

I should mention that this appears to be a regression from 0.1.0-preview-00028-160627, which seems to work fine.

Also, OmniSharp is a standalone .NET Core app which uses MSBuild to perform a DesignTimeBuild in order to drive the editing experience for VS Code (and other editors).

I've encountered the same issue. For now, my workaround has been to set the environment variable "MSBUILD_EXE_PATH" to the full path of msbuild.exe. Unfortunately, this requires knowing where to find it...which is another problem altogether

That unfortunately assumes that MSBuild is on the system. OmniSharp needs to operate even when MSBuild is not installed elsewhere.

@AndyGerlicher, @rainersigwald, @Craig-Campbell-MS: Has anyone looked at this issue yet? It's blocking further work on getting the latest MSBuild bits working for VS Code.

Also adding @Sarabeth-Jaffe-Microsoft

Thanks for starting a chat over email @AndyGerlicher. It turns out that the problem is that I needed to reference 1 additional package. :smile:. I was referencing the following packages:
"Microsoft.Build": "0.1.0-preview-00033-160829",
"Microsoft.Build.Framework": "0.1.0-preview-00033-160829",
"Microsoft.Build.Targets": "0.1.0-preview-00033-160829",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00033-160829",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00033-160829",

However, I also needed to reference:
"MSBuild": "0.1.0-preview-00033-160829",

That delivers msbuild.exe and gets past the type initializer issue.