Allow for Ignoring all Keybinds if Rules are Met

I wish a window rule be added which will make it ignore any keybinds. This can be useful for RDP software where the remote system uses same keybinds as the local system. So you could add a rule that says "If X app is Fullscreend, ignore keybinds".

passthru submaps with a script can achieve that

I did see submaps but it doesn’t seem to be possible to combine a sub map with window rules natively which I think would be a good feature to have instead of having to write a script for it which checks the current window, then sets keymap.


Rokit downloads incorrect architecture builds without warning

This isn't fully a problem if you're on Windows specifically, but on Linux distros it is problematic.
Here's what happens when I try to run Rojo with Rokit using Ubuntu on my ARM64 laptop:

This happens because Ubuntu (at least the WSL build) does not have an emulation layer for X86-64 software, so it completely breaks.
Ideally, it should check if there's any correct builds for your architecture, and if there isn't, it should ask if you want to download a potentially incompatible x86-64 build instead.

So it looks like Ubuntu is in more or less the same spot that macOS is, where Rosetta is not always installed. I guess in your case you'd need https://wiki.debian.org/QemuUserEmulation or something similar. For macOS we do have a nice warning & error message that lets the user know how to fix this error (basically a mini-guide on installing Rosetta here) and we can do the same for Linux.


User struct is missing additional identity provider details

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have upgraded to the latest version of this SDK and the issue still persists.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
Using the Management API explorer, I see that the GET /users/:id API returns the user profile with extra details from an identity provider that matches the "Raw JSON" in the user management UI.
However using the Go client, the User struct doesn't have a place to unmarshal these extra details.
https://github.com/auth0/go-auth0/issues/34 is possibly related, but in this API the extra details are on the top level response, not under user.identities.
Perhaps the User struct could have one more field with the complete API response in a map[string]interface{} ?
Expectation
When the User Raw JSON is like
{
    "active": true,
    "created_at": "2023-04-26T20:57:04.053Z",
    "email"<EMAIL_ADDRESS>    "email_verified": true,
    "family_name": "Example",
    "given_name": "User",
    "id": "https://login.salesforce.com/id/00D46000001EXAMPLE/0054o000002EXAMPLE",
    "identities": [
        {
            "provider": "salesforce",
            "user_id": "0054o000002EXAMPLE",
            "connection": "salesforce",
            "isSocial": true
        }
    ],
    "is_lightning_login_user": false,
    "language": "en_US",
    "last_modified_date": "2023-04-11T17:17:47Z",
    "locale": "en_US",
    "mobile_phone_verified": false,
    "name": "User Example",
    "nickname": "User",
    "organization_id": "00D46000001EXAMPLE",
    "picture": "https://example.file.force.com/profilephoto/005/F",
    "picture_thumbnail": "https://example.file.force.com/profilephoto/005/T",
    "status": {
        "created_date": null,
        "body": null
    },
    "timezone": "America/Phoenix",
    "updated_at": "2023-04-27T16:15:25.526Z",
    "urls": {
        "enterprise": "https://example.my.salesforce.com/services/Soap/c/{version}/00D46000EXAMPLE",
        "metadata": "https://example.my.salesforce.com/services/Soap/m/{version}/00D46000EXAMPLE",
        "partner": "https://example.my.salesforce.com/services/Soap/u/{version}/00D46000EXAMPLE",
        "rest": "https://example.my.salesforce.com/services/data/v{version}/",
        "sobjects": "https://example.my.salesforce.com/services/data/v{version}/sobjects/",
        "search": "https://example.my.salesforce.com/services/data/v{version}/search/",
        "query": "https://example.my.salesforce.com/services/data/v{version}/query/",
        "recent": "https://example.my.salesforce.com/services/data/v{version}/recent/",
        "tooling_soap": "https://example.my.salesforce.com/services/Soap/T/{version}/00D46000EXAMPLE",
        "tooling_rest": "https://example.my.salesforce.com/services/data/v{version}/tooling/",
        "profile": "https://example.my.salesforce.com/0054o000002EXAMPLE",
        "feeds": "https://example.my.salesforce.com/services/data/v{version}/chatter/feeds",
        "groups": "https://example.my.salesforce.com/services/data/v{version}/chatter/groups",
        "users": "https://example.my.salesforce.com/services/data/v{version}/chatter/users",
        "feed_items": "https://example.my.salesforce.com/services/data/v{version}/chatter/feed-items",
        "feed_elements": "https://example.my.salesforce.com/services/data/v{version}/chatter/feed-elements",
        "custom_domain": "https://example.my.salesforce.com"
    },
    "user_id": "salesforce|0054o000002EXAMPLE",
    "user_type": "STANDARD",
    "username"<EMAIL_ADDRESS>    "utcOffset": -25200000,
    "last_ip": "2600:1700:9da3:c850:d424:b148:1f01:46d8",
    "last_login": "2023-04-27T16:15:25.522Z",
    "logins_count": 33,
    "blocked_for": [],
    "guardian_authenticators": []
}

A call to auth0.User.Read(profile.ID) will allow a client to get additional identity provider details like organization_id 00D46000001EXAMPLE
Reproduction

Register or log in with a Salesforce connection
See Salesforce identity provider data like organization_id 00D46000001EXAMPLE in API response from GET /users/:id call
See no Salesforce identity provider data in the User struct from auth0.User.Read(profile.ID) call

Auth0 Go SDK version
main

Ok thank you! Missed that in the docs.


Frontend: deprecated packages

I get these warnings when deploying:
npm

WARN

deprecated
<EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

npm

WARN

deprecated
<EMAIL_ADDRESS>Please migrate to https://github.com/lgarron/clipboard-polyfill

npm

WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

npm

WARN
 deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

npm

WARN
deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

npm
 WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

Most of these are fixed now.


TypeError: Sandbox is not a constructor

I have installed the latest version of library, but running with an error saying "Sandbox is not a constructor".  P.S. I have already put '"type": "module"' in the package.json file.
abc@192 server:  npm i v8-sandbox
⠋ [0/1] Installing indent-string@^4.0.0[npminstall:runscript] v8-sandbox@latest found binding.gyp file, auto run "node-gyp rebuild", root: "/Users/xisizhe/Downloads/test/shida-main/server/node_modules/_v8-sandbox@3.2.8@v8-sandbox"
⠧ [0/1] Installing<EMAIL_ADDRESS>CXX(target) Release/obj.target/sandbox/src/addon.o
⠏ [0/1] Installing<EMAIL_ADDRESS>CXX(target) Release/obj.target/sandbox/src/baton.o
⠋ [0/1] Installing<EMAIL_ADDRESS>CXX(target) Release/obj.target/sandbox/src/sandbox.o
⠹ [0/1] Installing<EMAIL_ADDRESS>SOLINK_MODULE(target) Release/sandbox.node
✔ Installed 1 packages
✔ Linked 105 latest versions
✔ Run 0 scripts
deprecate<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>This functionality has been moved to @npmcli/fs
Recently updated (since 2023-03-07): 2 packages (detail see file /Users/xisizhe/Downloads/test/shida-main/server/node_modules/.recently_updates.txt)
✔ All packages installed (111 packages installed from npm registry, used 17s(network 17s), speed 99.48KB/s, json 32(325.26KB), tarball 1.38MB, manifests cache hit 73, etag hit 73 / miss 14)
abc@192 server  node test3
file:///Users/abc/Downloads/test/test3.js:4
const sandbox = new Sandbox();

TypeError: Sandbox is not a constructor
    at file:///Users/abc/Downloads/test/test3.js:4:17
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:526:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)
xisizhe@192 server % node test3

                ^

const v8 = require("v8-sandbox"); const box = new v8.Sandbox({});


Unexpected return value

Hello,
I have an issue, where an entry is unable to read it's own internal ID.
To me, this looks more like an internal issue with the SDK.
Background info
The entry has the class ProductEntry, which extends Contentful\Management\Resource\Entry. Upon requesting an entry with the SDK, it is autoatticly mapped to ProductEntry with a mapper, using the setDataMapperMatcher method on ResourceBuilder.
The normalize method in the last part of the stacktrace calls getId() on the Entry instance.
Maybe it's also worth mentioning that when we create entries using the SDK, we set the contentID to a numeric value, which in turn works fine.
Stacktrace
Here's the important part of the stacktrace:
Return value of Contentful\Management\Resource\Entry::getSystemProperties() must be an instance of Contentful\Management\SystemProperties\Entry, instance of Contentful\Core\Resource\ArraySystemProperties returned {"exception":"[object] (TypeError(code: 0): Return value of Contentful\\Management\\Resource\\Entry::getSystemProperties() must be an instance of Contentful\\Management\\SystemProperties\\Entry, instance of Contentful\\Core\\Resource\\ArraySystemProperties returned at /var/www/application/vendor/contentful/contentful-management/src/Resource/Entry.php:64)

[stacktrace]
#0 /var/www/application/vendor/contentful/contentful-management/src/Resource/BaseResource.php(39): Contentful\\Management\\Resource\\Entry->getSystemProperties()
#1 /var/www/application/src/app/Integrations/CMS/Contentful/Management/Entries/ProductEntry.php(50): Contentful\\Management\\Resource\\BaseResource->getId()
#2 /var/www/application/src/app/Integrations/CMS/ContentfulCMSProvider.php(112): App\\Integrations\\Contentful\\Management\\Entries\\ProductEntry->normalize()

Never mind - turned out to be an issue with hydrating the entry instance.


NDM should be able to detect if the disk is already being used

NDM 0.1 can filter out the disks used for OS. There are a some more cases that need to be handled like:

disks used by lvm
disks already formatted and mounted

@kmova Is this issue still active? I am interested to work on it.

@akhilerm Thank you for taking this up.

As discussed @akhilerm - let us put in a design note and see if we can refactor the path filter to a more generic filtering mechanism and use that feature to implement this.

@akhilerm -- can you check what information you get via the udevadm when a device is mounted. This can give some information how to detect if lvm mounts are there.

UDEV  [117411.188246] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2 (usb)
UDEV  [117411.190379] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0 (usb)
UDEV  [117411.191799] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4 (scsi)
UDEV  [117411.193111] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/scsi_host/host4 (scsi_host)
UDEV  [117412.192244] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0 (scsi)
UDEV  [117412.193621] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [117412.193921] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0 (scsi)
UDEV  [117412.197744] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk)
UDEV  [117412.197775] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device)
UDEV  [117412.197803] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg1 (scsi_generic)
UDEV  [117412.198371] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg)
UDEV  [117412.303497] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [117412.387791] add      /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block)

This is the info that I get when udevadm monitor | grep UDEV is run and device is mounted. It consists of the interface (scsi), type (block device), disk name and partition names.

used-by-probe is available in NDM to detect disks that are already used by openebs storage engines. NDM also detects disks that are in use by DM devices(lvm, crypt etc).


Add tracing to the binary port component

Added a lot of debug and some warn logging for various error scenarios that cannot easily be inferred from the response.
Also adjusted some code to return RootNotFound rather than an empty response when we fail to resolve a state root hash.

bors r+

bors r+

bors r+


expand ms_meta assayapp functionality

Add Inline linking:

[x] PROCESS: Protocol file > MiscFiles
[x] PROCESS: * method file > MiscFiles
[x] PROCESS: Log file > ResultsReports
[x] MATERIAL: Derived data file > ResultsReports
[x] Use SIMPLE_LINK_TEMPLATE for existing raw data file linking

Just a note, remember to add related issues when creating a pull request and refer to those issues in the PR.


Include the certificate management tool in docker distribution

Is your feature request related to a problem? Please describe.
Today, the OpenSearch docker distribution comes pre-installed with demo certificates. The intention is to replace the insecure demo certificates with self-signed certificates as discussed in opensearch-project/OpenSearch#1618 (point 2).
Describe the solution you'd like
Package the certificate management tool (provided in opensearch-project/OpenSearch#1633) in the docker distribution. While instantiating the container, check if the certificates are present in the respective mounted volume that holds the config. If missing, it should run the certificate management tool to create self-signed certificates with default arguments before bootstrapping OpenSearch. If present, skips the certificate generation and rely on user provided certificates and yml configurations.
Implementation task details

[x] Provide openSSL inside docker image
[x] replace install_demo_configurations.sh with cert-management-tool from opensearch-project/OpenSearch#1633.
[x] Add one time certificate installation logic that installs certs when a new container starts. Subsequent starts/stops should not modify installed certs.
[x] Provide a way to control self-signed certs generation based on user input.
[x] Make changes to docker-compose.yml based on new dockerfile

Related to https://github.com/opensearch-project/OpenSearch/issues/1618

Added a new volume opensearch-config to docker-compose that holds the certificates and config. This ensures the certificates are only setup once - with first time docker-compose up - and re-used for later runs.
Logs that show how subsequent docker-compose up runs check for certificates and bypass certs generation if they exist.
➜  Downloads docker-compose up
Docker Compose is now in the Docker CLI, try `docker compose up`

Creating opensearch-dashboardsX ... done
Creating opensearch-node10      ... done
Creating opensearch-node20      ... done
Attaching to opensearch-node20, opensearch-dashboardsX, opensearch-node10
opensearch-node10         |
opensearch-node10         | Checking if certificates exist.
opensearch-node10         | Enabling OpenSearch Security Plugin
opensearch-node20         |
opensearch-node20         | Checking if certificates exist.
opensearch-node20         | Enabling OpenSearch Security Plugin
opensearch-node20         | [2022-02-02T10:35:52,446][INFO ][o.o.n.Node               ] [opensearch-node20] version[1.2.0], pid[13], build[tar/c459282fd67ddb17dcc545ec9bcdc805880bcbec/2021-11-22T16:57:18.360386Z], OS[Linux/5.10.25-linuxkit/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/15.0.1/15.0.1+9]
opensearch-node20         | [2022-02-02T10:35:52,450][INFO ][o.o.n.Node               ] [opensearch-node20] JVM home [/usr/share/opensearch/jdk], using bundled JDK [true]
opensearch-node20         | [2022-02-02T10:35:52,454][INFO ][o.o.n.Node               ] [opensearch-node20] JVM arguments [-Xshare:auto, -Dopensearch.networkaddress.cache.ttl=60, -Dopensearch.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -Xms1g, -Xmx1g, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=/tmp/opensearch-674237451682325214, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Dopensearch.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -XX:MaxDirectMemorySize=268435456, -Dopensearch.path.home=/usr/share/opensearch, -Dopensearch.path.conf=/usr/share/opensearch/config, -Dopensearch.distribution.type=tar, -Dopensearch.bundled_jdk=true]

@setiah Is this issue still valid? Can we close it for now?

@setiah @davidlago @peternied  Is this issue still valid? Can we close it for now?

Lets not modify the docker distribution in a way that is different from other distributions, Lets close out this issue as not planned.


forEach

"forEach" function`s first argument is current item

Hello, I reviewed this PR, but you modified the code in the wrong place. Could you close this PR, and change the code in /src/base.js, and run npm test to build the project. After, submit your new PR 😊.

OK，i will~


Marker not working as expected in iOS devices

Hello All,
I am facing a unique scenario while I try to load angular maps in iOS devices. I have multiple angular maps, each containing a single/multiple markers in a page.
When I navigate to it for the first time in iOS devices, Everything seems fine. but when I navigate to some other page and switch back, only the maps are getting loaded and not the markers.
I tried debugging the same using iOS Simulator. As far as I understood, there seems to be some canvas limit (224MB) in iOS devices. Not sure, whether that's causing the issue. Can someone help, please?
        <agm-marker
          [latitude]="lat"
          [longitude]="long"
          [markerClickable]="true"
          (markerClick)="navigateToFullMap()">
        </agm-marker>

I'm using the below versions of AGM
@agm/core: 1.0.0-beta.3-polyline-icon-7
@agm/js-marker-clusterer: 1.0.0-beta.2-clusterclick-1
agm/snazzy-info-window: 1.0.0-beta.2-clusterclick-1

what are these versions?

@doom777
Nope, still the same.

I am closing this because there is not enough information to debug.


Example: Connection not closed if channel exception is not connection exception

The Example uses NotifyClose() on the channel to detect when a connection/channel exception occurs, then reconnects to RabbitMQ & recreates the channel. By doing this it depends on the broadcasting of connection exceptions to all channel exception listeners.
Now, I might be missing something here, but if an actual channel exception occurs:

We are creating a new connection even though the connection might be fine
We are not closing the old connection and are creating a new one

Why is the example using Channel.NotifyClose() this way, and is this best practice?

Channel exceptions generally do not trigger connection recovery. Simply opening a new channel in that case is enough. So this sounds like a mistake that should be corrected. Please submit a PR?

Closed by #392


Update datasources.txt

There are quite some outdated/deprecated example mappings in the datasources.txt file.
Several issues have been filled on that matter: #9 , #10 , #11, #15, #16, #33, #39, #60, #104 .
So, time to clean up that mess (perhaps make a "deprecateddatasources.txt file, to keep track?).
@egonw suggested to test the linkouts automatically to see if they resolve.

A semi-related issue: datasources.txt vs. datasources.tsv.


⚠ SceneTime has degraded performance

In f8be25e, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1168 ms

Resolved: SceneTime performance has improved in efb760b after 6 minutes.


A Dispatch subscribed to a datarule does not seem to work, sets subscribe to null

$ exo spec CIK spec.yaml --create
Running spec on: CIK
dispatch_timeout_push_event not found.
Creating dispatch with name: Cloud - Timeout Push Dispatch, alias: dispatch_timeout_push_event, method: http_post, recipient: https://something.exosite.com/
$ exo spec CIK spec.yaml
Running spec on: CIK
spec expects subscribe for dispatch_timeout_push_event to be 19a78ddbbb9bc1ae22e370b583a7048263ed4f24, but they are not.
$ exo info CIK dispatch_timeout_push_event --pretty
{
"basic": {
"modified":<PHONE_NUMBER>,
"status": "normal",
"subscribers": 0,
"type": "dispatch"
},
"comments": [],
"description": {
"format": "string",
"locked": false,
"message": "message",
"meta": "",
"method": "http_post",
"name": "Cloud - Timeout Push Dispatch",
"preprocess": [],
"public": false,
"recipient": "https://something.exosite.com/",
"retention": {
"count": 10,
"duration": "infinity"
},
"subject": "",
"subscribe": null
},
"shares": [],
"storage": {
"count": 0,
"first": 0,
"last": 0,
"size": 0
},
"subscribers": [],
"tags": []
}

Could you share your spec file, Mike?


Refactored fallback logic to only patch status when the fallback is e…

…nabled

This change ensures that the update health status of the scaledObjects is only updated when the fallback configuration is enabled on the scaledobject. Further optimizations to avoid redundant updates when the status doesn't change can be done later. Tests will be added, if the change is ratified by the maintainers.
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Tests have been added
[x] Changelog has been updated and is aligned with our changelog requirements

Fixes #5624

/run-e2e

@bharathguvvala , could you check the failing CI checks? I think that unit tests probably need to be updated as they expect the call to patch

@bharathguvvala hi, what is the status of this PR please?

@zroubalik Apologies about the delay. I'll close this within a week before Jun 14.

@bharathguvvala hi, what is the status of this PR please?

@zroubalik Apologies about the delay. I'll close this within a week before Jun 14.

no worries, thanks for the update!

/run-e2e

@zroubalik there are some queued check. How do I get them to execute?

How does this relate to #5871 ?

/run-e2e

/run-e2e

@zroubalik can we please merge these changes since the E2E have passed?

/run-e2e

The e2e failure isn't related with this changes

/run-e2e internal


AWS org compatible when Org ID is after AWSLogs prefix

Making slight change to make it AWS orgs compatible.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Logging Error

I built the package using the steps listed in the documentation but facing this error in spite of changing the log4j properties file. Here is the error description :
log4j:WARN No appenders could be found for logger (org.apache.kafka.connect.mongo.tools.ImportJob). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1         at java.util.Collections$SingletonList.get(Collections.java:4815)         at org.apache.kafka.connect.mongo.tools.ImportDB.<init>(ImportData.kt:119)         at org.apache.kafka.connect.mongo.tools.ImportJob.start(ImportData.kt:56)         at org.apache.kafka.connect.mongo.tools.ImportDataKt.main(ImportData.kt:260)
Could you help me out with this?

@harshsp31 What does your log file look like?


Spaghetti Cleanup

The main thing to do here is move methods from main/Controller.ts to their appropriate plugins. Stuff like folderMerge() or canBeGLesmos().
Along with this, there could be improved ergonomics for accessing a plugin. DesModder.controller.exposedPlugins["text-mode"] is such a mouthful. Support something like DesModder.plugin("text-mode").

Support something like DesModder.plugin("text-mode").

Would also love shorthands for plugin enabled and plugin option, to replace stuff like window.DesModder?.controller?.isPluginEnabled?.("better-evaluation-view") and window.DesModder?.controller?.pluginSettings.get("better-evaluation-view").lists

Also I don't know if this is the place for this as part of cleanup, but adding the missing translation strings would be nice. I tried to do it for the missing tips but am still too dum at typescript.

Ranny, I've marked that separately as #605


Update Composer dependencies (2024-10-07-00-18)

Visual regression test passed!
View the visual regression test report


SG tag may have an extra element on the front and back of the array

Right now, the SG tag appears to be annotating an extra region of the state sequence on the front and back of the array.  For example, for this read,
m64020_201213_022403/23/ccs/23_807/10x_Adapter-3p_Adapter ... SG:Z:10x_Adapter:0-22,random:23-777,Poly_A:778-807,3p_Adapter:808-832

the state sequence says the first 22 bases should be the 10x_Adapter and the last 24 bases should be the 3p_Adapter.  But the read actually contains this:

To compensate for now, I've written the inspect tool to ignore the first and last array elements of the SG tag (https://github.com/broadinstitute/annmas/blob/3ddb711b1bf5fb926c59cdc9f264e89075976e25/src/annmas/inspect/command.py#L180).  But it does technically mean that the base ranges specified by the SG tag don't actually match up to the read sequence.  We should fix this so that they do indeed match, and then change inspect so that it no longer has to do any trimming on the SG array.

Yeah - this is a purposeful decision based on our last conversation - to keep the sequence information but remove the unnecessary pieces (the leading and trailing adapters - the 10x and 3p segments).
I left in the whole array so I could account for the elements in later processing.
I can change it back to keep all elements of the split relatively easily.

Sorry, I don't think I was clear in what I was thinking.  What I mean is that it'd be useful to

Have the SG annotations specify exactly how the read query sequence should be classified, and have that work for both the results of annmas annotate and annmas segment.  This would allow us to use annmas inspect for both output types and verify that reads are segmented properly without having to rerun the annotation model, since the annotation model output is already stored in the SG tag.
Trim off the extraneous adapters in a way that is compatible with the isoseq3 tag command (https://github.com/PacificBiosciences/IsoSeq/blob/master/isoseq-deduplication.md).  I think that means removing the 10x_Adapter, MAS-seq adapters, and 3p_Adapter, but not the poly-A tail (which would be removed by the isoseq3 refine command).

The image below depicts what I we should be doing on an example read (I've drawn just the first two segments).  Here, the output of segment would only be the transcriptomic portions of the read (and the CBC+UMI, which would be tagged and stripped off by the isoseq3 tools).

This would also remove some useful information, like the MAS-seq delimiters we see on either side of the read.  Those could be stored in separate tags, say, "SL" and "SR" or something like that.
What do you think?

That sounds fine to me - currently the code is producing the output for [1] already, so that's good to go.
For the current pipeline, updating the segmentation like this will require a modification of the 10x tool.  This shouldn't be a problem, but it'll take some time to make sure it's still the right thing.
I like the tags for the other adapters.


Code simplifaction example

This is equivalent to dot(ϕ::AbstractMPS, ψ::AbstractMPS)
https://github.com/iitis/SpinGlassPEPS.jl/blob/7b26cb74d266f1722ef05ee6b44d6bdc5d1e7f6b/src/peps_no_types.jl#L102-L123

Or, one can simply write ϕ * ψ (mps_down * mps_up).

This is equivalent to prod(Ms)
https://github.com/iitis/SpinGlassPEPS.jl/blob/7b26cb74d266f1722ef05ee6b44d6bdc5d1e7f6b/src/peps_no_types.jl#L144-L150

size(mps_down, 1) > 1, will dot(...) work. I asked about it before

It is supposed to return a matrix, and dot(...) does not

1x1 matrix, which is artificial unless needed for some reasons...
On Thu, 26 Nov 2020 at 17:05, kdomino<EMAIL_ADDRESS>wrote:

It is supposed to return a matrix, and dot(...) does not
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iitis/SpinGlassPEPS.jl/issues/15#issuecomment-734380080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTC3VMSVCKLDBGILUHSUQDSRZ4ETANCNFSM4UD3OYJA
.

--
Sent from Gmail Mobile

n x n matrix I need there

Either it is a scalar product as the name suggests or it returns n x n matrix.

@kdomino what do you mean by size(mps_down, 1) > 1. What is size(mps_down, 1)?
Consider the following
julia> ψ = randn(MPS{Float64}, 4,4,4)
[ Info: Matrix product state on 4 sites:
(1, 4, 4) x (4, 4, 4) x (4, 4, 4) x (4, 4, 1)

julia> ϕ = randn(MPS{Float64}, 4,4,4)
[ Info: Matrix product state on 4 sites:
(1, 4, 4) x (4, 4, 4) x (4, 4, 4) x (4, 4, 1)

julia> dot(ψ, ϕ)
139.1113483864521

julia> compute_scalar_prod(ψ, ϕ)
1×1 Array{Float64,2}:
<PHONE_NUMBER>864521

How do you intend to get a larger matrix from this?

ψ [2:end] * ϕ[2:end] = M  size(M) = (4,4)
the function will be renamed and arguments will be changed to Vector{Array{3}}

@kdomino then use either left_env or right_env

thanks

@kdomino you should not have functions which take Vector{Array{T, 3}} or Vector{Array{T, 4}} as their arguments. These are AbstractMPS and AbstractMPO respectively.

no method matching one(::Type{Array{Float64,2}})
Closest candidates are:
one(!Matched::Type{Missing}) at missing.jl:103
one(!Matched::BitArray{2}) at bitarray.jl:422
one(!Matched::Missing) at missing.jl:100
...
Stacktrace:
[1] reduce_empty(::typeof(*), ::Type{T} where T) at ./reduce.jl:308
[2] reduce_empty(::typeof(Base.mul_prod), ::Type{T} where T) at ./reduce.jl:316
[3] mapreduce_empty(::typeof(identity), ::Function, ::Type{T} where T) at ./reduce.jl:335
[4] _mapreduce(::typeof(identity), ::typeof(Base.mul_prod), ::IndexLinear, ::Array{Array{Float64,2},1}) at ./reduce.jl:392
[5] _mapreduce_dim at ./reducedim.jl:312 [inlined]
[6] #mapreduce#580 at ./reducedim.jl:307 [inlined]
[7] mapreduce at ./reducedim.jl:307 [inlined]
[8] _prod at ./reducedim.jl:657 [inlined]
[9] _prod at ./reducedim.jl:656 [inlined]
[10] #prod#585 at ./reducedim.jl:652 [inlined]
[11] prod at ./reducedim.jl:652 [inlined]

will be corrected


On load, set cwd to package root.

This allows both examples to work even if running from a different
directory.
Also improve error messages when assets are not successfully found on
disk, to make them more friendly.
Fixes #50.

LGTM. The duplication is a little unfortunate but I think having the examples stand on their own is the greater good.


fsnotify dependency broken

The import used for fsnotify (gopkg.in/fsnotify.v1) no longer points to the correct repository. Someone created go-fsnotify/fsnotify which broke an old redirect to the real fsnotify. Anyone using gopkg.in/fsnotify.v1 or github.com/go-fsnotify/fsnotify will get the squatted (incorrect) package.
This isn't an issue if you're using tail directly, since fsnotify is vendored. However, when using tail with a dependency manager (we use dep), things break.
I recommend changing the import used in watch/inotify_tracker.go from gopkg.in/fsnotify.v1 to github.com/fsnotify/fsnotify as recommended by the fsnotify docs.
I'm happy to create a PR for this, if you'd like.

Closed with #138.


Request not issue

Can you please Ad grupi style to Axon tweak please and dark mode also , thank you .

https://repo.packix.com/package/com.peterdev.grupi


Automatic NuGet package update 13235570 AB#5722639

update of NuGet packages

Taking a look at the CodeQL issue now.
Looks like an incompatibility between the task and .NET version.


When Dynamiclist uses the datepicker component, clicking OK will blank the screen

It should be the problem of format conversion. First, use the input+placeholder prompt as an alternative.
I'll let you know when this problem is fixed.


PoolVector3Array causes memory leaks in C++

Godot version:

3.1.2
OS/device including version:

Arch Linux, Intel UHD 420, Mesa, GLES3
Issue description:

PoolVector3Array is not cleaning up the memory on destruction, causing a memory leak. When enough memory is leaked, the program crashes with the error message
ERROR: resize: All memory pool allocations are in use.
   At: ./core/pool_vector.h:524.

Steps to reproduce:
Array Library::function(Ref<Mesh> mesh) {
	Array mesh_array = mesh->surface_get_arrays(0);

	PoolVector3Array vertices = mesh_array[ArrayMesh::ARRAY_VERTEX];
	PoolVector3Array normals = mesh_array[ArrayMesh::ARRAY_NORMAL];
	PoolIntArray indices = mesh_array[ArrayMesh::ARRAY_INDEX];
        return Array();
}

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

Can you try with Godot 3.2.3? And ideally provide a project we can use to reproduce the issue.

I can't update to Godot 3.2 for other reasons but I tried compiling the library with godot-cpp 3.2 and it apparently the leak is gone. Do still need to provide a project or can I close this issue?

I gues this can be closed then, I don't have plans for a 3.1.3 release for now (might change in the future if there's strong demand).


Arkade Install Kafka fails

Expected Behaviour
arkade install kafka
Current Behaviour
VALUES values.yaml

Command: /home/remi/.arkade/bin/helm [upgrade --install cp-helm-charts confluentinc/cp-helm-charts --namespace  --values /tmp/charts/cp-helm-charts/values.yaml --set cp-zookeeper.servers=1 --set cp-kafka.enabled=true --set cp-schema-registry.enabled=false --set cp-kafka-rest.enabled=false --set cp-kafka-connect.enabled=false --set cp-ksql-server.enabled=false --set cp-control-center.enabled=false --set cp-zookeeper.enabled=true --set cp-kafka.brokers=1]

Release "cp-helm-charts" does not exist. Installing it now.

Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "cp-helm-charts-cp-zookeeper-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

Error: exit code 1, stderr: Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "cp-helm-charts-cp-zookeeper-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[X] No

Possible Solution
Steps to Reproduce (for bugs)

arkade get k3sup
export PATH=$PATH:$HOME/.arkade/bin/ in .zshrc, then source
k3sup install --local --k3s-extra-args "--write-kubeconfig-mode=644"
(wait)
arkade install kafka
(above results in an error)

Context
I'm using arkade because it's the only tool I understand yet, I'm not versed in helm yet.
So basically my only shot to install kafka on k3s
This being said, not really affecting me I'm using it for a toy project
I'm opening this issue fyi because every install I did with arkade worked out of the box, it's the first time it doesn't. Beautiful tool.
Your Environment

What Kubernetes distribution are you using?

K3S on ubuntu 22 single node
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.5+k3s2", GitCommit:"de654222cb2c0c21776c32c26505fb684b246a1b", GitTreeState:"clean", BuildDate:"2023-01-11T21:23:33Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.5+k3s2", GitCommit:"de654222cb2c0c21776c32c26505fb684b246a1b", GitTreeState:"clean", BuildDate:"2023-01-11T21:23:33Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}

Operating System and version (e.g. Linux, Windows, MacOS):

➜  ~ uname -a
Linux <redacted> 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
➜  ~ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

What arkade version is this?

Version: 0.8.59
Git Commit: bdb3869d5cf87ccc0d1d2ec0c9ecffe113e31ce6```

Thanks for the feedback.
@Jasstkn is this something you could try out and look into?

Thanks for the feedback.
@Jasstkn is this something you could try out and look into?

I'll take a look later today.

@remiconnesson @alexellis the reason is the following: kafka's charts aren't well maintained. there is a lot of issues that are currently opened. One of them addresses issue with PDB that you faced: https://github.com/confluentinc/cp-helm-charts/pull/629. It means that arkade install kafka won't work on the Kubernetes v1.21+

Thank you very much for answering that fast
In the meantime, For anyone reading this wanting to install kafka on k3s I'm currently looking into this solution:

https://github.com/IBM/kraft-mode-kafka-on-kubernetes (to create the docker image)
https://learnk8s.io/kafka-ha-kubernetes (to show how to use it)

@remiconnesson Confluent provide free Kafka for development. Have you looked into that? We use it for testing the OpenFaaS Pro Kafka Connector

Any other suggestions for charts @Jasstkn ?

https://github.com/bitnami/charts/tree/main/bitnami/kafka?

looks like it is using "policy/v1beta1", it is deprecated in v1.21 and completely removed in v1.25 in favor of "policy/v1", mostly helm chart should use this in PodSecurityPolicy or PodDisruptionBudget

From https://github.com/confluentinc/cp-helm-charts:
Confluent Platform Helm Charts [Deprecated]
Deprecated: The cp-helm-charts is deprecated in favor of Confluent For Kubernetes .

What about the one Bitnami maintains? https://github.com/bitnami/charts/tree/main/bitnami/kafka
This is more similar in approach than moving to using an operator


Role is typed as string

I'm unsure how I am supposed to pass a the return of UserInterface::getRoles() to setRole() when getRoles returns an array. The docs for Mezzio\Navigation referenced a single helper to use for rendering. This one. So I am unsure how to proceed. Any feedback on how to proceed would be greatly appreciated
https://github.com/mimmi20/mezzio-navigation-laminasviewrenderer/blob/8c301418ca7910660abedb4297ed01d5e07f0c87/src/View/Helper/Navigation/AbstractHelper.php#L82

I found a temp solution. Since I was overriding the NavigationMiddleware already. This is how I solved it until you decide how you are going to patch it, or let me know what I'm doing wrong :)
I pulled an instance of the navigation helper and injected it into the navigation middleware via its factory. Then used the following code after the call to $this->navigationConfig->setRouter($this->router);
        $this->navigation->setAuthorization($this->authorization);
        $this->navigation->setRole(
            $request->getAttribute(UserInterface::class)->getRoles()[0]
        );

The role you have to set here, is the role of the page, not of the user. This allows to limit the access to the page to users with a specific role.

It appears that role from AbstractHelper is being passed directly to build for the AcceptHelper here
https://github.com/mimmi20/mezzio-navigation-laminasviewrenderer/blob/8c301418ca7910660abedb4297ed01d5e07f0c87/src/View/Helper/Navigation/AbstractHelper.php#L325
And being passed to isAllowed / isGranted here:
https://github.com/mimmi20/navigation-helper-acceptpage/blob/1b76e26cd2e4ffcf4dfe7b68fbc8c71efc3d4400/src/AcceptHelper.php#L72

The role you have to set here, is the role of the page, not of the user. This allows to limit the access to the page to users with a specific role.

Pages do not have roles, they do not support roles. Never have. They get a resource and a privilege. The role always has to come from the user. Yes, it determines if the page is shown to the user based on role, which is the role that is passed in. That role and the resource and privilege attached to the page is what determines if the page is accepted or not.

@tyrsson Could you review the PR?

Sure thing.


Rollup config's useStrict param is not working in 1.2.1.

1.2.1 version
used to have
useStrict: false

param in rollupConfig var object (in custom rollup.config.js).
After update from 1.4.0 to 1.2.1 its doing nothing (keeping the default useStrict:true). This setting is essential to get Firebase working.

fixed in 1.2.2


Properly run Groovydoc tests, disable some

Groovydoc 3 & 4 don't check the script flags, so they can't actually be disabled any more.
https://issues.apache.org/jira/browse/GROOVY-10578

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.


RIDER-15832: put custom operations at the top of completion list

Fixes https://youtrack.jetbrains.com/issue/RIDER-15832/Put-custom-operations-at-the-top-of-completion-list-if-its-invoked-on-top-level-inside-computation-expression
This PR puts custom operation on top of completion list in positions where custom operation is possible.
Cleaned up version from https://amplifying-fsharp.github.io/sessions/2023/09/08/
In session, test was of List type, but it looks like unrelated changes can break it easily - I changed it to Selection type. It seems to work nicely here, although I didn't find it's use anywhere else.

Thanks for review, @auduchinok.
I fixed all except "before argument", that seems more complicated, maybe custom oper.  is not in the list. I'll take closer look later.

Great work @jindraivanek, I'm very happy we did this 🤘

Happy how both Amplifying F# session and this PR turns out! 😄


Fix some flaws in docs

Signed-off-by: Jian Zhang<EMAIL_ADDRESS>

I've l left my opinion. Wait for @thaJeztah or @moxiegirl to leave a review.

@zhangjianfnst can you address https://github.com/docker/docker/pull/20386#discussion_r53333443? otherwise LGTM (for this PR)

@thaJeztah I have addressed the comment for -p.

Thanks @zhangjianfnst, LGTM
ping @MHBauer ptal

LGTM 🐸


HDDS-3119. When ratis is enabled in OM, double Buffer metrics not get…

…ting updated.
What changes were proposed in this pull request?
Ozone Manager creates 2 instances of OzoneManagerDoubleMetrics, and the way Hadoop metrics2 works, the second one overwrites the first. In our case, it is the first instance that is on the Ratis write path. Fixed this issue by making sure there is only instance of OzoneManagerDoubleMetrics.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3119
How was this patch tested?
Manually tested.

Can we avoid double instantiation of doublebuffer which is not required in OM, that will resolve this issue.

There is already a Jira I have opened for the same test.

There is already a Jira I have opened for the same test.

Me too. :)


fix(install): ng install should work with local npm package archives

In order to test packages locally, it'd be nice to run: ng install some-local-package.tar.gz. Though npm install succeeds with this method, the install process is treating "some-local-package.tar.gz" as the package name, which causes later steps of ng install to fail. Instead, ng install should parse the name from package.json after the package is installed.

We're going to use npm directly in ng install. Closing this as this will be addressed. Once ng install is done we can revisit this.


Swagger UI 3.x

Are their plans to upgrade to Swagger UI 3.x?

👍

Do you care if we update the UI version?

@moserke @douglasrlee - as awesome as swagger-ui 3.x is, there's still known issues and feature gaps in comparison to 2.x.
Therefore, updating SB to use it may result in an overall regression of rswag functionality. Ideally, with any upgrade of the swagger-ui, I'd like to maintain feature parity and then some. So, I don't it's the right time to make this change right now.
However, the swagger-ui is essentially just set of static files (HTML, CSS, JS etc.) that you can easily expose with any web server (apache, nginx, even S3). So, it would be fairly trivial to host this yourself and just leverage rswag for the Swagger generation and corresponding Swagger JSON endpoint.

@domaindrivendev First of all: Thanks for your work.

as awesome as swagger-ui 3.x is, there's still known issues and feature gaps in comparison to 2.x

Can you elaborate on that point a little bit?
There seem to be at least also known issues with displaying the response examples in 2.x which got resolved in 3.x and I dont see anyone working on a downstream fix for 2.x.

Can this update happen now?

I'm also having issues with 2.x which seem to be resolved in 3.x, specifically when using objects as parameters the requests miss the parameter name and just posts the object. (this is inlining, references work though).
If the loss of functionality is too much maybe we can have a branch.

Swagger UI 3.x was added by #121 (available in version 2.0.0 and above). Please give it a go and let me know if it works


Status: Meta bug

Found this alternative Archiveror. Development is now frozen until new need arises on which case I might contribute upstream instead.

Seems like it does not support automatic archiving. Continuing development.

It does It fulfills my need and more.


Provisioning no longer works with stock Windows 2012r2 AMI

It seems Amazon has changed something in the default Windows 2012r2 AMI that has broken the magic we do with user_data to enable winrm.
Steps to reproduce:
Use the machine resource to try and spin up a default, windows 2012r2 VM from Amazon's AMI.

Here's my recipe
#
# Cookbook Name:: .
# Recipe:: aws-deploy
#
# Copyright (c) 2015 The Authors, All Rights Reserved.
require 'chef/provisioning/aws_driver'

with_chef_server  Chef::Config[:chef_server_url],
	:client_name => Chef::Config[:node_name],
	:signing_key_filename => Chef::Config[:client_key]

name = node["aws_deploy"]["key_name"]
region = node["aws_deploy"]["region"]

with_driver "aws::#{region}" do

  aws_security_group "#{name}-ssh-sg" do
  	inbound_rules '<IP_ADDRESS>/0' =>  22
  end

  aws_security_group "#{name}-http-linux-sg" do
  	inbound_rules '<IP_ADDRESS>/0' =>  80
  end

  machine_batch do
  	1.upto(3) do |i|
  		machine "#{name}-prodweb#{i}" do
  			driver 'aws'
  			machine_options :region => node["aws_deploy"]["region"],
  				:location => node["aws_deploy"]["location"],
  				:ssh_username => node["aws_deploy"]["ssh_username"],
  				:aws_tags => {"belongs_to" => name},
  				:convergence_options => {
  					:ssl_verify_mode => :verify_none,
  					:chef_version => node["aws_deploy"]["chef_version"]
  				},
  				:bootstrap_options =>{
  					:instance_type => node["aws_deploy"]["instance_type"],
  					:security_group_ids => [ "#{name}-ssh-sg", "#{name}-http-linux-sg" ],
  					:image_id => node["aws_deploy"]["linux"]["image_id"],
  					:key_name => node["aws_deploy"]["key_name"]
  				}
  			run_list ["role[ubuntu_base]", "recipe[simple-web]"]
  		end
  	end
  end

end

load_balancer "prodweb-elb" do
	driver 'aws'
	load_balancer_options :availability_zones => node["aws_deploy"]["availability_zones"],
		:listeners => [{
			:port => 80,
			:protocol => :http,
			:instance_port => 80,
			:instance_protocol => :http
		}]
	machines ["#{name}-prodweb1", "#{name}-prodweb2", "#{name}-prodweb3"]
end

and this is where it dies, even with repeated runs:
[2015-10-28T17:56:09-05:00] INFO: [Aws::EC2::Client 200 0.17129 0 retries] describe_instances(instance_ids:["i-270706fc"])

[2015-10-28T17:56:09-05:00] INFO: [Aws::EC2::Client 200 0.171591 0 retries] describe_instances(instance_ids:["i-ef090834"])

[2015-10-28T17:56:09-05:00] INFO: [Aws::EC2::Client 200 0.179956 0 retries] describe_instances(instance_ids:["i-270706fc"])

[2015-10-28T17:56:09-05:00] INFO: Reading key scarolan_sa from file /Users/seancarolan/.ssh/scarolan_sa.pem
[2015-10-28T17:56:09-05:00] INFO: waiting for scarolan_sa-nop1's admin password to be available...
[2015-10-28T17:56:09-05:00] INFO: [Aws::EC2::Client 200 0.14597 0 retries] describe_instances(instance_ids:["i-ef090834"])

[2015-10-28T17:56:09-05:00] INFO: [AWS EC2 200 0.255556 0 retries] get_password_data(:instance_id=>"i-270706fc")

[2015-10-28T17:56:09-05:00] INFO: scarolan_sa-nop1's admin password is available!
[2015-10-28T17:56:09-05:00] INFO: [Aws::EC2::Client 200 0.497936 0 retries] describe_instances(instance_ids:["i-ef090834"])

[2015-10-28T17:56:09-05:00] INFO: Reading key scarolan_sa from file /Users/seancarolan/.ssh/scarolan_sa.pem
[2015-10-28T17:56:09-05:00] INFO: waiting for scarolan_sa-nop2's admin password to be available...
[2015-10-28T17:56:10-05:00] INFO: [AWS EC2 200 0.11272 0 retries] get_password_data(:instance_id=>"i-ef090834")

[2015-10-28T17:56:10-05:00] INFO: scarolan_sa-nop2's admin password is available!

    - [scarolan_sa-nop1] waiting for scarolan_sa-nop1 (i-270706fc on aws) to be connectable (transport up and running) ...
    - [scarolan_sa-nop2] waiting for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable (transport up and running) ...
    - [scarolan_sa-nop1] been waiting 0/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 0/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 10/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 10/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 20/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 20/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 30/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 30/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 40/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 40/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 50/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 50/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 60/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 60/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 70/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 70/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 80/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 80/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 90/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 90/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 100/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 100/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] been waiting 110/120 -- sleeping 10 seconds for scarolan_sa-nop1 (i-270706fc on aws) to be connectable ...
    - [scarolan_sa-nop2] been waiting 110/120 -- sleeping 10 seconds for scarolan_sa-nop2 (i-ef090834 on aws) to be connectable ...
    - [scarolan_sa-nop1] scarolan_sa-nop1 is now connectable[2015-10-28T18:00:19-05:00] INFO: Reading key scarolan_sa from file /Users/seancarolan/.ssh/scarolan_sa.pem
[2015-10-28T18:00:19-05:00] INFO: waiting for scarolan_sa-nop1's admin password to be available...
[2015-10-28T18:00:20-05:00] INFO: [AWS EC2 200 0.348259 0 retries] get_password_data(:instance_id=>"i-270706fc")

[2015-10-28T18:00:20-05:00] INFO: scarolan_sa-nop1's admin password is available!
[2015-10-28T18:00:20-05:00] INFO: Processing chef_node[scarolan_sa-nop1] action create (basic_chef_client::block line 57)

    - [scarolan_sa-nop2] scarolan_sa-nop2 is now connectable[2015-10-28T18:00:20-05:00] INFO: Reading key scarolan_sa from file /Users/seancarolan/.ssh/scarolan_sa.pem
[2015-10-28T18:00:20-05:00] INFO: waiting for scarolan_sa-nop2's admin password to be available...
[2015-10-28T18:00:20-05:00] INFO: [AWS EC2 200 0.142549 0 retries] get_password_data(:instance_id=>"i-ef090834")

[2015-10-28T18:00:20-05:00] INFO: scarolan_sa-nop2's admin password is available!
[2015-10-28T18:00:20-05:00] INFO: Processing chef_node[scarolan_sa-nop2] action create (basic_chef_client::block line 57)

    ================================================================================
    Error executing action `converge` on resource 'machine_batch[default]'
    ================================================================================

    HTTPClient::ConnectTimeoutError
    -------------------------------
    execution expired

    Resource Declaration:
    ---------------------
    # In /Users/seancarolan/.chef/cache/cookbooks/aws_deploy/recipes/aws-deploy-win.rb

     32:   machine_batch do
     33:     1.upto(2) do |i|
     34:       machine "#{name}-nop#{i}" do
     35:         driver 'aws'
     36:         machine_options :region => node["aws_deploy"]["region"],
     37:           :location => node["aws_deploy"]["location"],
     38:           :is_windows => true,
     39:           :convergence_options => {
     40:             :ssl_verify_mode => :verify_none,
     41:             :chef_version => node["aws_deploy"]["chef_version"]
     42:           },
     43:           :bootstrap_options =>{
     44:             :instance_type => node["aws_deploy"]["instance_type"],
     45:             :security_group_ids => [ "#{name}-winrm-sg", "#{name}-http-win-sg", "#{name}-rdp-sg" ],
     46:             :image_id => node["aws_deploy"]["windows"]["image_id"],
     47:             :key_name => node["aws_deploy"]["key_name"]
     48:           }
     49:         run_list ["role[windows_base]", "recipe[nopcommerce::demo]"]
     50:       end
     51:     end
     52:   end
     53:

    Compiled Resource:
    ------------------
    # Declared in /Users/seancarolan/.chef/cache/cookbooks/aws_deploy/recipes/aws-deploy-win.rb:32:in `block in from_file'

    machine_batch("default") do
      action [:converge]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      driver "aws::us-west-2"
      chef_server {:chef_server_url=>"https://api.opscode.com/organizations/scarolan-opscode", :options=>{:client_name=>"scarolan", :signing_key_filename=>"/Users/seancarolan/git_repos/chef/cloud_framework/.chef/scarolan.pem", :api_version=>"0"}}
      declared_type :machine_batch
      cookbook_name "aws_deploy"
      recipe_name "aws-deploy-win"
      machines ["scarolan_sa-nop1", "scarolan_sa-nop2"]
    end

[2015-10-28T18:01:20-05:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2015-10-28T18:01:20-05:00] ERROR: Running exception handlers
Running handlers complete
[2015-10-28T18:01:20-05:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 05 minutes 33 seconds
[2015-10-28T18:01:20-05:00] INFO: Sending resource update report (run-id: 5366da2b-1597-4f26-9268-2619c2bcfbd3)
[2015-10-28T18:01:21-05:00] INFO: Unable to access cache at /var/chef. Switching cache to /Users/seancarolan/.chef
[2015-10-28T18:01:21-05:00] INFO: Unable to access cache at /var/chef. Switching cache to /Users/seancarolan/.chef
[2015-10-28T18:01:21-05:00] FATAL: Stacktrace dumped to /Users/seancarolan/.chef/cache/chef-stacktrace.out
[2015-10-28T18:01:21-05:00] ERROR: machine_batch[default] (aws_deploy::aws-deploy-win line 32) had an error: HTTPClient::ConnectTimeoutError: execution expired
[2015-10-28T18:01:21-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

This looks like it was PEBCAK, aka bad config file (pointed at the right region, wrong AZ.  Unfortunately the error message is not specific at all about what went wrong.)


Automatically recompile integration tests when files are added

Christian recently introduced a trick to recompile "mj-tests" when files change. The same technique can be used for integration tests.

Did I? :D
If so, this is relevant in light of 86aec988cbc6a6d7c49bd2b617d01a6e9b1a31e7


Day-of-week effect

Goal
We want to have a single source of truth for the mathematical formulation of the day of week effect on the hospital admissions (and/or ED visits). We want to be able to use this to immediately code up the math decided upon here.
Context
This was discussed in the 2024-02-27 meeting (see minutes) and agreed upon in the ADR record under model_features.md. This specific feature should be the same as what's implemented in the existing wastewater model. Completion of this task will allow us to implement the feature more quickly and should facilitate creation of a model design document.
Required features

[ ] mathematical description of the day of week effect applied to the hospital admissions and/or ED visit signals
[ ] add to the feature to the model design document
[ ] Include an independent test that checks TBD.
[ ] Include documentation in the code using docstring

Out of scope

This does not include code, just specification of the feature in math/writing

Related documents

Model feature prioritization
Existing wastewater model definition

Ref: https://github.com/cdcent/cfa-multisignal-renewal/issues/75
author: @kaitejohnson

@dylanhmorris has some idea about implementing this with glmprediction, which he will comment today.

On reflection, I do not think this is the way to go for now. I think the most numerically stable and readable reimplementation of the existing model will frame this explicitly as sampling from the 7-simplex with the appropriate prior.

As @dylanhmorris suggests, I think the prior solves it. We can sample from a Dirichlet and use an affine transform to get there:


serverReadyAction.killOnServerStop does not work

I'm trying to use the configuration from NextJs website, but I'm facing a problem with the third option.
I would like to use runtimeArgs like these: --start-maximized and --auto-open-devtools-for-tabs.
But I can't find a way to achieve this with debugWithChrome:
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Next.js: debug client-side",
      "type": "chrome",
      "request": "launch",
      "url": "http://localhost:3000",
      "runtimeArgs": ["--start-maximized", "--auto-open-devtools-for-tabs"]
    },
    {
      "name": "Next.js: debug full stack",
      "type": "node-terminal",
      "request": "launch",
      "command": "npm run dev",
      "serverReadyAction": {
        "pattern": "- Local:.+(https?://.+)",
        "uriFormat": "%s",
        "action": "debugWithChrome",
        "killOnServerStop": true
      }
    }
  ]
}

Is it something possible?
Thanks a lot 🙏

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

/verified


Install mopac-bz only if BUILD_WINMOPAC is set

Building on Windows without BUILD_WINMOPAC enabled results in a missing install target mopac-bz.
CMake Error at CMakeLists.txt:283 (install):
  install TARGETS given target "mopac-bz" which does not exist.

-- Configuring incomplete, errors occurred!

Status

[x] Ready for merge

Codecov Report

Merging #63 (d9782b3) into main (5edb088) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #63   +/-   ##
=======================================
  Coverage   68.24%   68.24%
=======================================
  Files         330      330
  Lines       71703    71703
=======================================
  Hits        48932    48932
  Misses      22771    22771

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5edb088...d9782b3. Read the comment docs.


Research the defi functionality RFC

In order to finish the ISI design we need to think of Defi instruction design. Main focus is the most popular use cases for defi which can be implemented inside ISI.
https://wiki.hyperledger.org/display/iroha/Set+of+OOB+ISIs
We should make an RFC that has atomic structures needed for DeFi, such as token locking, token swaps, etc.

Consider implementing it via WASM instead.

I wouldn't do this via wasm. Rather, I would put this in the core and add other functions too, similar to unreal engine Blueprint, which has many built-in functions that people can combine.


chore: track the Mozilla PR further

See recent commits on https://github.com/mozilla/nixpkgs-mozilla/pull/309.

https://github.com/dfinity/motoko/pull/4155 did this automatically.


Kata search broken

The kata search is currently broken. "There are no items to display":

Searching for a specific tag like algorithms leads to a 500 error.
(Originally filed on gitter by @DivyanshBatham)

Seems like the issue resolved itself. Was there something broken in the ES, or a random, not reproducible server hickup?

Yup looks same here ^_^!

Closing this because "the issue resolved itself" and I think it's hard to answer the question asked in the comment now.


Getting issue while packaging the maven build in ubuntu server

I am able to compile without any issues. But while packaging am getting issue.
Need help to fix the issue.

Try to run mvn package as a user who has sudo permissions


Change StringHelper from abstract to final.

Description

I believe that the abstract modifier aimed at preventing instantiation. Can you add a private constructor then?

Can you add a private constructor then?

There already is a private constructor in it (line 66).

I moved the private constructor to the beginning place.

I am not sure if this change is needed at all. There are multiple patterns to make static only classes. The most important one is to add a private ctor. The final or not doesn't really matter.

Thanks @uschindler — Do you think it is necessary that just remove the abstract modifier?

If you really want to change it, make it final. But it's not necessary.

it's not necessary.

I will close it.


continuation with bad Executor leads to un-predictable result and the Exception is hidden

I'm using bolts heavily with Executor to synchronizes the continuation blocks.
When i made a mistake in the Executor implementation, causes a NullPointerException to be raised, i found that this would crash the app due to the exception was raised to the previous Task.
The snippets kind of like below
Task.callInBackground(T1).onSuccess(new Continuation() {
    public Object then(Task task) { }
}, BadExecutors).continueWith(new Continuation() {
    public Object then(Task task) {
        if (task.isFaulted()) task.getError().printStackTrace()
    }
});

Since the BadExecutors throws NPE, rather then having the NPE being sent to to next continuation block, it crashes the app with IllegalStateException("Cannot set the error on a completed task.")
This is caused by the the Executor.execute is not wrapped by try-catch, causing the exception being sent  back to finishing block of the previous task in the chain where the Task result being set as completed, continuations blocks is being executed

I'm not sure we'd want to pass a runtime exception from the executor to the next task in the list and a failure of that magnitude should cause the application to crash as you've seen.
Is there any reason you'd want to be able to recover from a exception such as this where there was an error in your executor implementation?

I agree that in most cases, failure on this scale should crash the app. The main problem was that Bolts hides the exception cause and on bigger project, it would takes a lot of effort to found the origin of the problem.
Current implementation will only crashed the app with IllegalStateException("Cannot set the error on a completed task.") with stacktrace pointing to Bolts source, rather than the app source.
And since most of my Bolts continuation ended with checking and logging for any fault found, that is the reason i put the exception into continuation.
Anyway, I would propose that the exception hiding bug should be handle in different way, while decision for sending the exception to Task continuation or should be crashing the app, can be decided by your team.
As my own preference, and usage pattern, i do want to recover from executor fault. In my project, I'm using android Handler for Executor implementation and i would like to have Task to fail gracefully without crashing when i shutdown the Handler looper :)

Hrm actually I stand corrected, a bad TaskScheduler will actually propagate the exception to the next continuation: https://dotnetfiddle.net/BlwLqU
Mind squashing your commits so I can merge?
Thanks and sorry about that!

Actually, we'd probably want this safety on Task.call(callable, executor) as well.

I made fixes to Task.call(callable, executor) as well

Could you also add tests for these as well? I can see we'd need ones for the following:

Task.call
continueWith
continueWithTask

Hi Grant
I added test for the requested three items. And i decided to remove ExecutorException, so developer can see the exception caused by their Bad Executor

Thanks for adding tests!
I actually think think that we should keep ExecutorException so the developer can distinguish problems in the executor vs failed tasks. In addition, the developer can still get the original exception via Exception#getCause() as well as see it in the stack trace.

I removed ExecutorException because when I'm  using Bolts task chaining, I would throw in middle and catch it as i know what Exception being thrown back then.
With ExecutorException, when someone purposely throw a specific exception subclass in Executor execute function, they would be perplexed when they found they get ExecutorException instead for the first time, and probably will contemplate why Bolts need to wrap the know exception in the first place.

That works in the case where you own both the Executor and the continuations, but I don't think it does if you don't.
For example, if you were using a prebuilt Executor that threw a generic exception such as NullPointerException, there will be no way to determine whether or not the NPE was from your previous Task or from the Executor.
What do you think of this case?

Let me test more cases

I think you are right, it would be much better to emphasize that this error originating from Executor.
I will revise the pull request.

Thanks for you're awesome contribution!  If you're interested, send me your mailing address and t-shirt size to my email address on my profile page.

Nice to work with you as well Grant :+1:
I'll send my mailing address to your mail soon


Add GHPR accessibility help dialog, default keybindings

cc @jooyoungseo, @alexr00
Now that we have fixed some accessibility issues with the GHPR extension, JooYoung mentioned it would be good to give an overview of the GHPR view and helpful commands.
Additionally, he suggested that we add some default keybindings so users don't have to configure them. @jooyoungseo, if you could share these, that would be great.

@meganrogge I have customized the following keybindings and found them very instrumental.
keybindings.json:
[
  {
    "key": "ctrl+shift+g ctrl+0",
    "command": "workbench.scm.focus",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g cmd+0",
    "command": "workbench.scm.focus",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g i",
    "command": "issues:github.focus",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g i",
    "command": "issues:github.focus",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g p",
    "command": "pr:github.focus",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g p",
    "command": "pr:github.focus",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g shift+p",
    "command": "pr.create",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g shift+p",
    "command": "pr.create",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g shift+i",
    "command": "issue.createIssue",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g shift+i",
    "command": "issue.createIssue",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g l",
    "command": "issue.copyGithubPermalink",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g l",
    "command": "issue.copyGithubPermalink",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g r",
    "command": "pr.startReview",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g r",
    "command": "pr.startReview",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g a",
    "command": "review.approve",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g a",
    "command": "review.approve",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g v",
    "command": "pr.markFileAsViewed",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g v",
    "command": "pr.markFileAsViewed",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g shift+v",
    "command": "pr.unmarkFileAsViewed",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g shift+v",
    "command": "pr.unmarkFileAsViewed",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g d",
    "command": "pr.createPrMenuDraft",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g d",
    "command": "pr.createPrMenuDraft",
    "when": "isMac"
  },
  {
    "key": "ctrl+shift+g shift+d",
    "command": "pr.readyForReview",
    "when": "!isMac"
  },
  {
    "key": "cmd+shift+g shift+d",
    "command": "pr.readyForReview",
    "when": "isMac"
  },
  {
    "command": "runCommands",
    "key": "ctrl+shift+g f5",
    "args": {
      "commands": ["pr.refreshList", "issue.refresh"]
    },
    "when": "!isMac"
  },
  {
    "command": "runCommands",
    "key": "cmd+shift+g f5",
    "args": {
      "commands": ["pr.refreshList", "issue.refresh"]
    },
    "when": "isMac"
  }
]

@meganrogge is this something that can be contributed from an extension?

Not yet, but I can work on adding API for this in March


remove duplicate utils imported in sql_lab.py

Found that superset.utils is imported twice in sql_lab.py.
This PR is to remove one import.

Codecov Report

Merging #5851 into master will increase coverage by 13.95%.
The diff coverage is 71.42%.

@@             Coverage Diff             @@
##           master    #5851       +/-   ##
===========================================
+ Coverage   63.75%   77.71%   +13.95%
===========================================
  Files         374       46      -328
  Lines       23320     9301    -14019
  Branches     2608        0     -2608
===========================================
- Hits        14867     7228     -7639
+ Misses       8440     2073     -6367
+ Partials       13        0       -13

Impacted Files
Coverage Δ

superset/sql_lab.py
71.77% <71.42%> (ø)
:arrow_up:

superset/db_engine_specs.py
53.14% <0%> (-2.05%)
:arrow_down:

superset/utils.py
88.12% <0%> (-0.9%)
:arrow_down:

superset/connectors/sqla/models.py
80.37% <0%> (-0.76%)
:arrow_down:

superset/models/core.py
84.6% <0%> (-0.5%)
:arrow_down:

superset/views/core.py
74.03% <0%> (-0.3%)
:arrow_down:

...sets/src/explore/components/ExploreChartHeader.jsx

superset/assets/src/components/Checkbox.jsx

...perset/assets/src/dashboard/util/getEmptyLayout.js

...ts/src/dashboard/util/getComponentWidthFromDrop.js

... and 324 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73db918...6074009. Read the comment docs.

@timifasubaa test passed. should be ready to go.


Investigate ttnn resnet performance on-device regressions from end of October 2024

There was a regression recently on on-device performance for ttnn resnet 50.

@pavlejosipovic
Hey, I think your changes may have caused regressions in other on-device perf models:
1 commit before yours: https://github.com/tenstorrent/tt-metal/actions/runs/11594806696
your commit: https://github.com/tenstorrent/tt-metal/actions/runs/11595503614
I am re-running a 3rd time to be sure, but this is what I'm seeing. It's regressions in diff models.

This isn't definitive, but the failure is new.
I will re-run a couple of times.

which models my change https://github.com/tenstorrent/tt-metal/commit/1a271b317f3e17106bb40b823c320a45673ebcd4 is just improving perf on reset on gs?

Yes , so it is confusing... just running some stress tests to be sure


Update documentation

🛠 Fixes Issue
Closes #54
👨💻 Changes proposed
Update the steps to run the project locally. Also make the it look cleaner.
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Looks like there are merge conflicts now. @subhoghoshX, mind taking a look?

@subhoghoshX this says it was merged but it's not showing up in the commit history - any idea why?


Responsive Search

I made the filter form more responsive on larger screens. Now we can display both the form and the results side-by-side by combining them in one route. Each screen size can be tested on a foldable by closing it (compact), opening it in portrait (medium), and landscape (expanded).
I tested the release build in advance and (as expected) ran into a Proguard issue that was thankfully easy to resolve.
The instrumented tests seemed simple at first, but I ran into a lot of weird issues while testing on large screens. First, I had trouble clicking on the navigation drawer when the text was in a clickable row (despite checkboxes designed the way, but work just fine). Then I had issues closing the dropdown menus to prevent them from overlapping each other. But I was eventually able to come up with small fixes for all of them. So now I can collect screenshots on any device.
This completes https://github.com/Abhiek187/ez-recipes-web/issues/205 and https://github.com/Abhiek187/ez-recipes-web/issues/8 for Android. The last thing I need to do is collect new screenshots and create a new version on the Play Store if all goes well.

Alright folks, let's compare iOS and Android again!
Starting with the source code:
Android
$ find . -name '*.kt' | xargs wc -l
5632 total

iOS
$ find . -path './vendor' -prune -o -name '*.swift' -print | tr '\n' '\0' | xargs -0 wc -l
3431 total

More files have hundreds of lines on Android than on iOS. This resulted in a 64% larger code base.
Then the pipelines (for UI/instrumented tests):
Android: 5-8 min on average
iOS: 5-10 min on average
They take roughly the same amount of time, but the recent performance boost on Android helped it come out just barely on top of iOS. Good job!


Ignore tsserver results when both results have identical request IDs and command names

While the tsc reporter will compare errors and hide when there's a diff, the tsserver reporter instead always reports if the current PR fails, including both traces.
It seems like all of our current spurious outputs (https://github.com/microsoft/TypeScript/pull/52809#issuecomment-1433779483) are cases where the errors have identical IDs and command names.
This PR makes it so that if they are identical, we ignore the problem.

I think we're trying to drive the "known" number down to 0 - so until then, we should continue reporting.

This seems like the right behavior for PRs, though.
Implementation-wise, I don’t know this codebase at all, but it’s not clear to me why command name and request id would be enough to say that two outputs are the same?

Oh, this object only exists if it’s a failure, so the assumption is that if each failed, they’re equal-ish.

I think we're trying to drive the "known" number down to 0 - so until then, we should continue reporting.

Sure, but right now, it's spamming PRs with huge amounts of comments and text that have nothing to do with the PRs, and we don't do this at all for tsc, regardless of if it's a PR. I think we need to do something.

Implementation-wise, I don’t know this codebase at all, but it’s not clear to me why command name and request id would be enough to say that two outputs are the same?

It's not, really; I'm struggling to come up with a good mechanism because I can't just stringly-compare the messages. I would need to sanitize them for file/line, at least, but we'd still be sensitive to function name changes too.
I'll see if there's a specific option that's set on PRs, though.

This seems like the right behavior for PRs, though.

I agree with that - the only exception being cases where your PR is supposed to fix these issues.

I agree with that - the only exception being cases where your PR is supposed to fix these issues.

If we get rid of the errors, then the existing code here doesn't report anything either! I noticed that too. I can try and fix that here.
        switch (newSpawnResult.code) {
            case 0:
            case null:
                if (newSpawnResult.signal !== null) {
                    console.log(`Exited with signal ${newSpawnResult.signal}`);
                    return { status: "Unknown failure" };
                }

                console.log("No issues found");
                return { status: "Detected no interesting changes" };

Okay, I've changed it such that now:

If both succeed, we report nothing.
If the new fails, but the old succeeds, we report the new failure.
If the old fails, but the new succeeds, we report the old failure (collapsed) but say that the new server no longer fails.
If the both fail:

If in a PR and the sequence number and command match, we report nothing.
Otherwise, we report both errors.


WorkShop items broken?

whenever I try to boot up my servers it gives me this (http://prntscr.com/7bchej) but when i take my workshop item out of the content folder it boots up normally? kind of confused lol thanks for the help
-mryan29

Is that with all workshop items? - What specific item is it? - Does this also happen with Vanilla?

I think it happens with vanilla and so far its been all workshop items for me which are mostly gun mods and 3 or 4 maps.


Installation with pip fails

Describe the bug
pip install robotframework-excel --upgrade stops with the following error:
C:\Projektit\vagrant>pip install robotframework-excel==1.0.0b4
Collecting robotframework-excel==1.0.0b4
  Using cached https://files.pythonhosted.org/packages/94/a5/0ad71fa8aa83b79bfa6d5c0a004e0eef496f311642023d962a4639b94927/robotframework-excel-1.0.0b4.tar.gz
    Complete output from command python setup.py egg_info:
    1.0.0b4
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\jaakko\appdata\local\temp\pip-install-i2cmdl\robotframework-excel\setup.py", line 56, in <module>
        _REQUIRES, _LINKS, = __gather_dependencies('requirements.txt')
      File "c:\users\jaakko\appdata\local\temp\pip-install-i2cmdl\robotframework-excel\setup.py", line 42, in __gather_dependencies
        for item in requirements:
      File "c:\python27\lib\site-packages\pip\_internal\req\req_file.py", line 82, in parse_requirements
        filename, comes_from=comes_from, session=session
      File "c:\python27\lib\site-packages\pip\_internal\download.py", line 440, in get_file_content
        'Could not open requirements file: %s' % str(exc)
    pip._internal.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Environment

Library Version: 1.0.0b4
Python Version: 2.7.15
OS: Windows 10 & Ubuntu 16.x

To Reproduce
Steps to reproduce the behavior:

Execute command: pip install robotframework-excel --upgrade

Exception Log
See description
Expected behavior
Installation succeeds.

It seems that @zero-88 didn't pack requirements.txt into robotframework-excel-1.0.0b4.tar.gz .Please fix it.
By the way, please fix the version of xlwt!
Becasuse xlutils==2.0.0 didn't help to fix the version of xlwt, older version of xlwt can lead writing error in get_sheet( not so accurate memory)

Thank @Tony36051 @jaasal
I will find a time in this weekend to have a look the dependencies.
For workaround, you can install lib directly via github:
pip install https://github.com/zero-88/robotframework-excel/archive/master.zip

robotframework-excel 1.0.0 has requirement natsort==5.2.0, but you'll have natsort 6.0.0 which is incompatible.
robotframework-excel 1.0.0 has requirement openpyxl==2.5.1, but you'll have openpyxl 2.6.1 which is incompatible.
It is really necessary these 2 dependencies with these exact versions?


Zoom controls don't listen to touchend

On touch devices, the zoom buttons don't loose focus after being tapped.
Looking into the code, I figured it would be an easy fix, because the buttons only listen to mouseout and focusedout, but adding touchend still didn't result in a loss of focus.
Currently, the code in ol.control.Zoom is:
 goog.events.listen(inElement, [
   goog.events.EventType.MOUSEOUT,
    goog.events.EventType.FOCUSOUT
  ], function() {
    this.blur();
  }, false);

I verified: this.blur() gets called when goog.events.EventType.TOUCHEND has been added, but to no avail. You actually need to tap somewhere else for the focusout to kick in, after which the this.blur() does work. I'm not sure where to continue.

Looks like the c7a3fcd426d32aca06c67bbef2be5f0511ae7659 as something to do with this.

On mobile devices, the default behavior is to keep the focus after a touch.
Example: See http://getbootstrap.com/css/#buttons-options

Or http://openlayers.org/en/master/examples/animation.html (the buttons below the map)

You're right, I figured that out too. But that's a bit annoying and I wished we could prevent this default behavior.

reminder: it was added to workaround an issue with chrome 33. See #1761

Leaflet handles it by focusing the map after a click on the button


The XHR requests should be displayed by default

STR:
0. Ensure to start with a fresh profile

Go to https://github.com/firebug/firebug.next/tree/master/chrome
Open the Console panel
Click on "locale/en-US"

The XHR requests are not displayed by default (to display them, you have to enable the "log" level for the "Net" filter). They should be to be compliant with the Firebug 2.0 behavior.
Note: this is a follow-up of #180.
Florent

We can set devtools.webconsole.filter.networkinfo pref to true by default.
Should it happen every time on:

install
enable

Should we remember the old value and revert when:

uninstall
disable

?
Honza

Well, doing so would also display the other requests (css, js), whereas we would like to only log the XHRs.
So I would introduce another option for that in the Net filter (probably worth to discuss with the DevTools team).
What do you think?
Florent

I see, true.
Honza

I think we should just close this issue, it's not a big deal for the user to flip the Net filter in the Console and also I don't think that Firebug theme should behave differently than the other themes in this case.
@fflorent I am closing this, but please shout out, if you don't agree.
Honza

Agree. I think it has already been reported in some bugzilla issue.
Florent


LAGJH-967 Some ebook URLs not appearing

Codecov Report

Merging #247 (e67cbdf) into main (bade47b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #247   +/-   ##
=======================================
  Coverage   75.27%   75.27%
=======================================
  Files          86       86
  Lines        2953     2953
=======================================
  Hits         2223     2223
  Misses        730      730

Impacted Files
Coverage Δ

app/helpers/local_catalog_helper.rb
71.67% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bade47b...e67cbdf. Read the comment docs.


ClockSpout

A spout that emits "ticks" at specified intervals would be useful for various time-oriented computations (e.g., rolling windows). This would make it easier to code bolts that do these time-oriented algorithms, since they won't have to worry about multi-threading and concurrency.
It might be better to put ClockSpout in storm-contrib.

Available in storm-contrib


redis-ha: fix busybox-ash-ism in redis_liveness.sh

What this PR does / why we need it:
The ${response:0:7} syntax is non-POSIX and not understood by Debian's dash shell, so if a Debian-based Redis image is used the liveness check breaks on slaves. A case statement makes this check more legible anyway, in my opinion, and works in all the POSIX-compatible shells (busybox ash, dash, and bash).
Which issue this PR fixes
No issue created (yet).
Checklist

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

@bootc Waiting on a separate PR to merge and I'll edit the chart patch to get the latest pushed out. Thank you!


Nextjs 14.2.5 (and older): notfound() / not-found client components don't have access to the environment variables.

Issue
When a page defaults to the not-found page client components fail to load the environment variables (all NEXT_PUBLIC) are undefined while on the server they have the correct values.
This is happening in all 3.X versions I tried and with Nextjs app router v14

Even if the not-found component is server-side, after the redirect to the page, the entire window.__ENV becomes undefined, and env("ENV_KEY") also becomes undefined.

@agustingabiola Hi! Since my PR #150 hasn't received a response, I've published my fork on npm.
You can switch to awesome-next-runtime-env and be sure to configure the strategy prop for the assignment in your Root Layout:
<head>
   <PublicEnvScript strategy="afterInteractive" />
 </head>

For more information about the issue, check out: https://github.com/vercel/next.js/issues/69567#issuecomment-2334542530
Forked version: https://github.com/expatfile/next-runtime-env/pull/150


Add Vega.xyz protocol support

Vega.xyz is a decentralized trading platform that is currently still in development and is only running a testnet.

Are you still pursuing this?


[Runtime] Mega-issue to track all issues related to bash Interactive terminal

This is a mega-issue tracker for the Interactive terminal issue peoples run into.

[ ] https://github.com/OpenDevin/OpenDevin/issues/2754
[ ] https://github.com/OpenDevin/OpenDevin/issues/3008
[ ] https://github.com/OpenDevin/OpenDevin/issues/2799
[ ] https://github.com/OpenDevin/OpenDevin/issues/892
[ ] https://github.com/OpenDevin/OpenDevin/issues/3030

Feel free to expand this list if i missed any relevant issue!

Cause
These are typically caused by the same reason: OpenDevin uses pexcept to interact with Bash shells, however, the current parsing logic only looks for the next PS1 prompt (e.g., something like root@hostname:/folderABC $).
This will keep looking for such a pattern until it timeout, causing the following things to break, as listed in the PR above:

Open a new interactive program (e.g., python3), where the new prompt changes to >>
Open a new text editor (e.g., nano, vim), where the display could be completely broken? (I'm not familiar with the protocol here, though)
Enter a new conda virtual environment: conda will prepend the env name (e.g., (base)) before the PS1 prompt, causing the current pexpect parsing to break
When the agent is asked for password (e.g., with patterns like Password:)
Prompt like (yes/no/[fingerprint]) requesting user confirmation.

Fixes
We plan to resolve them as much as I can once arch refactor https://github.com/OpenDevin/OpenDevin/issues/2404 is completed. But these are a non-exhaustive list of patterns we are trying to pexcept and we cannot list everything here:

[ ] Try to cover common use cases of these prompts (e.g., [yes/no] pattern, conda environment pattern)
[ ] Figure out a more general way (rather than writing rules) for agents to interact with these (e.g., we don't write every rules explicitly, but for example, if we've been waiting for more than 5s and there's no new output from the terminal, it probably means it is waiting for user input and we should and it over to the agent - subsequently, we may need to allow agent to issue special keyboard actions like ctrl+D ctrl+C, etc).
[ ] Add something in the prompt that forbids agent goes into interactive programs (e.g., interactive Python, vim, nano, etc)
[ ] We need a way to detect if the agent accidentally goes into such an interactive program, and we need a way to force it out (we currently send ctrl+C, which might not work for a large variety of programs like vim).

If you want to help!
Try to take a look at our existing bash parsing logic for the new architecture (under development!):
https://github.com/OpenDevin/OpenDevin/blob/8bfa61f3e4beceb690562b4d105aa01dc50d58d7/opendevin/runtime/client/client.py#L62-L111
You can help to:

Write test cases into https://github.com/OpenDevin/OpenDevin/blob/main/tests/unit/test_runtime.py to expose these interactive bash issues
Try to fix them inside the client/client.py (and/or the ssh_box.py - but we plan to deprecate them soon, so only supporting these on EventStreamRuntime should be sufficient!)

First, great collection of issues to look into!

Fixes
...if we've been waiting for more than 5s...

As to that 2nd point: if the model runs any installations (like with pip), these 5 seconds could become too short?

Add something in the prompt...

We may have to track down the "usual suspects" IF these have parameters especially to suppress interactive mode:
Several package installers have parameters to suppress interactive mode. Here are the options for some of the most common ones (thx to Sonnet):

pip:

Use the -q or --quiet flag to suppress output.
Use the -y or --yes flag to automatically answer yes to prompts (though pip itself doesn't typically prompt for yes/no).

pip install -q package_name

Poetry:

Poetry does not have interactive prompts during installation, so no specific flag is needed to suppress them.

npm:

Use the --yes or -y flag to automatically answer yes to prompts.

npm install package_name --yes

yarn:

Yarn does not typically have interactive prompts during installation, so no specific flag is needed to suppress them.

conda:

Use the -y or --yes flag to automatically answer yes to prompts.

conda install package_name -y

apt-get (for system packages on Debian-based systems):

Use the -y or --yes flag to automatically answer yes to prompts.

sudo apt-get install package_name -y

if the model runs any installations (like with pip), these 5 seconds could become too short?

Yeah.. that's a good point and that's primarily why we did implement the timeout but not this.
I guess the T second timeout should be enforced for the stream of output: e.g., if the terminal is keep printing outputs in the last T second duration, then it is probably working fine without interactions. But if it hangs for T second (no output is printing), then it probably needs someone to take a look to see if we need to enter/do anything.
I mean, we humans do the same thing! If a command hangs unreasonably long, we might just issue ctrl+C to kill it 😅
Maybe we could (1) switch everything to streaming outputs, (2) just wait for T=10 seconds, (3) if no additional outputs are added during that last T seconds, we are probably stuck - we can let the LLM decide whether it wants to (a) interrupt the process, (b) enter something if this is actually a legit interactive prompt, (c) keep waiting. IMO this might be the next level of agents that is execution time aware 😆

The streaming back works in my async PR, but still the prompt regex would then be the issue.

@xingyaoww I think this is the right PR to discuss this.
Will we move to Paramiko for windows support? https://github.com/OpenDevin/OpenDevin/pull/2059#discussion_r1632184135
Why are we using pxssh over Paramiko?

Source

We will no longer use SSH protocol in the new architecture, though - otherwise we need to maintain two separate connections which could be overly complicated. Instead, we will just interact with a local bash shell (for ease of dependency management), so ssh-related libraries might not be relevant anymore.

#3176 sorry for creating a new issue but I dont see here about long running commands like npm run dev

for anyone who want to create a nextjs app here is the noninteractive way:
npx create-next-app my-app-name --ts --app --eslint --import-alias "@/*" --use-npm --tailwind --no-src-dir
you basicly pass all the options you want BUT you must pass all of them with --no- if you dont want them or --flag if you want them. I would just create-next-app in my wsl if you are using wsl and call it a day

I think thats the number one priority, cause in react land you have a npm run dev running constantly while you dev the project
also running tasks that need interaction is the defacto even if everybody hates it
its just simpler for packages and core components that are so complicated to ask for user options and prefernces and on the fly choices
Yeah, totally agree! Unfortunately it's not super-trivial to fix (otherwise we would have fixed it already), but I agree that this is high priority
you could use two llms
one llm for coordination in a loop of checking things and the other for coding
gonna post that on github
gpt-pilot kind of does that with agents, like there are different agents that cooperate in level, there is the top agent that gives commands to lower agents and coordinates what the next step and next agent is gonna be
they use different LLMs for each agent
like gpt-4 for top agent with temp 0.8 and gpt-4o for coding with 0 temp

https://github.com/OpenDevin/OpenDevin/pull/3040#issuecomment-2260018219

Now one can obtain terminal input/output statistics in Cybergod like down below:

With terminal stats, one can build a more efficient event-driven terminal agent, for example, listen for event TerminalIdle just like NetworkIdle in Playwright, and interval-driven terminal agent can be more intelligent by adding statistics to the prompt, and conditional prompts based on different stats.
More can be learned at here.

We've made a lot of good progress on this but I don't think this is 100% resolved yet.

most of these should be fixed by #4881 🤔