Update triton commit to 97e35b6

According to the nightly test https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/6371109873/job/17292828441

@ESI-SYD , according to the latest nightly test , seems there are some new issues break the xpu backend functionality, please create a ticket for it.

https://jira.devtools.intel.com/browse/TRITONXPU-82


Quick fix for YAML document parsing bug regarding supported Swagger version numbers

The YAML parser reads the Swagger version attribute as a number and the verification test fails, i.e.
shows an incompatible version as it cannot find a numeric version in supportedSwaggerVersions array.
This sample document fails the version support check https://raw.githubusercontent.com/appirio-tech/lc1-challenge-service/85160966dbf2cc9a0023e185a8fb99f5c98b9e86/api/swagger/swagger.yaml.
Although the Swagger version attribute has a value of 2.0, the YAML parser converts it to a number -> 2.  Normally, this should be fixed on the parsing side of things, but I've played a bit with the parser myself and did not find any option that fixes this issue.

A new inspection was created.

The inspection completed: No new issues

Coverage remained the same at 97.99% when pulling c3ea8e632318d827073ef73e4344d0b1cf2a6001 on theChefArchitect:master into e4ad7b3dc020c50b9fbace445cc50b27b401416f on BigstickCarpet:master.

Hmmm... I'm iffy about adding this.  Technically, the YAML file you linked to is invalid, since the swagger property should be a string instead of a number.  The correct YAML syntax would be:
swagger: "2.0"

instead of
swagger: 2.0

That said, I think this is likely to be a very common mistake, so it's probably a good idea to handle it.  But rather than adding the number 2 to the supportedSwaggerVersions array, I think a better approach would be to detect if the api.swagger property is a number, and if so, convert it to a string.  Otherwise, the api object is invalid and will fail JSON schema validation.

Hi James,
sorry my bad mate - somewhere while I was debugging that part I thought that it didn't work even if I added the double quotes in the YAML file.  Now that I checked again it seems to be parsing it properly.
Yeah, regarding your suggestion I agree as it seems that most of the times strings are not being surrounded by quotes (at least in the example I shared).
So, forget about my patch - sorry for causing a headache!

@theChefArchitect - I just pushed a new version that specifically checks for numeric version numbers (for the Swagger version and the API version) and gives more informative error messages than before.
https://github.com/BigstickCarpet/swagger-parser/blob/master/tests/specs/parse-spec.js#L257

@BigstickCarpet Hey James, thanks very much for the effort mate!  Congrats on the great library.


Automate Go and GHC version upgrades

Currently, we rely on travis-ci/gimme to provide the most up-to-date list of Go releases to use. This requires manual intervention whenever there is a new release. (For example, Go 1.10.2 was released on May 1, 2018, 24 days ago, but we have users asking for it now https://github.com/travis-ci/travis-ci/issues/9652.)
This is cumbersome and unnecessary.
We automate this process by consulting https://go.googlesource.com/go/+refs?format=JSON and discovering all most recent releases 1.2.x and up.
Then, in exactly one job which runs the assets:precompile Rake task, we check if any of the files in public/version-aliases is updated, and if so, create a Pull Request to this repository to be reviewed and merged.

Specs need fixing.

Note that if Travis were to pull in gimme 1.5.0, you could just ask gimme to --resolve the identifier for you and the work would be done.

I think this is no longer necessary. @meatballhat Could you comment?

@BanzaiMan I think this can be safely closed :+1:


App icon default to android icon

After configuring twa application and adding IC Launch icons to the project. I run android emulator and install the app to my phone. Custom Icons do not appear after install only defaulting to android IC_launch icons.

@Vegas10128 How did you configure the application? The library doesn't generate or change any icons in the app, and defining icons and referencing them on AndroidManifest.xml should work as expected.

Hello andreban!
So sorry for the immediate bug report,
I did discover that the icon was not presented in the manifest xml file so i went ahead and added the code to it and resolved my issue.

Cool. Closing the issue then.


HAP-NodeJS IR

Hi!
I wonder if you possibly could control rgb bulbs like this one: http://www.ebay.com/itm/E27-Dimmable-RGB-LED-light-Color-Changing-Bulb-with-Remote-Control-85-265V-/182048657709?hash=item2a62f2112d:g:A3UAAOSwh-1W3-2T#rwid with the help of a ir reciver link: http://www.ebay.com.au/itm/1Pcs-1X-Transmitter-Remote-Infrared-Receiver-Control-Module-For-Arduino-Ic-O-/282283687429?hash=item41b96b3e05:g:-8sAAOSwo4pYHeS1 I would like to control them with HAP-NodeJS and a Raspberry Pi so I can change color with my phone. I wonder as well if some one of you have done it and please can send me the code for it. Because I don't know how to program in Java!
Pre thanks!!!!!

Maybe decode codes from remote control, buy transmiter and connect it to RPi? Thats the way i would do it

Thanks for the answer I have found a video on youtube https://youtu.be/u_bH7e-OgQo I wonder if it will work if you change up the code a bit. So you can use the slider to control the color. It should theoretically work but as I have said I don't know how to get the transmiter etc to work but I will probably find a solution some time in the future. If you have any experience please help me!
Pre Thanks

None of the links are working for me (strange github error). You need to check whether the remote sends Hue, Saturation, Brightness / RGB values or defined presets (just like colors of buttons). If the first one - it's easy to do, if the second - you will be in trouble (you can send only predefined values)

Ok thanks!
The links work if you copy them with CTRL+C or CMD+C.

I'm on phone and can't do it
Wysłane z iPhone'a
Dnia 11.12.2016 o godz. 12:55 Flawl3ssSWE<EMAIL_ADDRESS>napisał(a):

Ok thanks!
The links work if you copy them with CTRL+C or CMD+C.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

ohh try to hold the text down and see if copy comes up then go to your browser of choise and paste it

try use AnalysIR to decode the IR signal from the remote...
i've used this software to make a reverse engineering on the Air Conditioner IR remote and at the end i've put the code on a nodemcu (WemosD1 with an IR led connected) and via mqtt I control air conditioner from the thermostat accessory..

thanks

this is my test RGB led accessory... the rgb led's are connected to an NodeMCU and listen MQTT message...and convert brightness, hue and saturation in Red, Green and Blu value...
// MQTT Setup
var mqtt = require('mqtt');
console.log("Connecting to MQTT broker...");
var mqtt = require('mqtt');
var options = {
port: 1883,
host: '<IP_ADDRESS>',
clientId: 'RGB Wifi LED'
};
var client = mqtt.connect(options);
console.log("Wifi Light Connected to MQTT broker");
var Accessory = require('../').Accessory;
var Service = require('../').Service;
var Characteristic = require('../').Characteristic;
var uuid = require('../').uuid;
// here's a fake hardware device that we'll expose to HomeKit
var RGBLED = {
powerOn: false,
brightness: 100, // percentage
hue: 0,
saturation: 0,
setPowerOn: function(on) {
console.log("Turning Office Light %s!", on ? "on" : "off");
if (on) {
client.publish('RGBLedPower','1');
RGBLED.powerOn = on;
}
else {
client.publish('RGBLedPower','0');
RGBLED.powerOn = false;
}
},
setBrightness: function(brightness) {
console.log("Setting light brightness to %s", brightness);
client.publish('ledBrightness',String(brightness));
RGBLED.brightness = brightness;
},
setHue: function(hue){
console.log("Setting light Hue to %s", hue);
client.publish('ledHue',String(hue));
RGBLED.hue = hue;
},
setSaturation: function(saturation){
console.log("Setting light Saturation to %s", saturation);
client.publish('ledSaturation',String(saturation));
RGBLED.saturation = saturation;
},
identify: function() {
console.log("Identify the light!");
}
}
// Generate a consistent UUID for our light Accessory that will remain the same even when
// restarting our server. We use the uuid.generate helper function to create a deterministic
// UUID based on an arbitrary "namespace" and the word "RGBLED".
var lightUUID = uuid.generate('hap-nodejs:accessories:RGBLED');
// This is the Accessory that we'll return to HAP-NodeJS that represents our fake light.
var light = exports.accessory = new Accessory('RGB Led', lightUUID);
// Add properties for publishing (in case we're using Core.js and not BridgedCore.js)
light.username = "FF:FF:FF:FF:FF:1B";
light.pincode = "031-45-154";
// set some basic properties (these values are arbitrary and setting them is optional)
light
.getService(Service.AccessoryInformation)
.setCharacteristic(Characteristic.Manufacturer, "DIY RGB Lamp")
.setCharacteristic(Characteristic.Model, "RGB LED on NodeMcu")
.setCharacteristic(Characteristic.SerialNumber, "AA-1234");
// listen for the "identify" event for this Accessory
light.on('identify', function(paired, callback) {
RGBLED.identify();
callback(); // success
});
// Add the actual Lightbulb Service and listen for change events from iOS.
// We can see the complete list of Services and Characteristics in lib/gen/HomeKitTypes.js
light
.addService(Service.Lightbulb, "Rgb Led") 				// services exposed to the user should have "names" like "Fake Light" for us
.getCharacteristic(Characteristic.On)
.on('set', function(value, callback) {
RGBLED.setPowerOn(value);
callback(); // Our fake Light is synchronous - this value has been successfully set
});
// We want to intercept requests for our current power state so we can query the hardware itself instead of
// allowing HAP-NodeJS to return the cached Characteristic.value.
light
.getService(Service.Lightbulb)
.getCharacteristic(Characteristic.On)
.on('get', function(callback) {
// this event is emitted when you ask Siri directly whether your light is on or not. you might query
// the light hardware itself to find this out, then call the callback. But if you take longer than a
// few seconds to respond, Siri will give up.

var err = null; // in case there were any problems

if (RGBLED.powerOn) {
  console.log("Are we on? Yes.");

//      client.publish('RGBLedPower','1');
callback(err, true);
}
else {
console.log("Are we on? No.");
//   client.publish('RGBLedPower','0');
callback(err, false);
}
});
// also add an "optional" Characteristic for Brightness
light
.getService(Service.Lightbulb)
.addCharacteristic(Characteristic.Brightness)
.on('get', function(callback) {
callback(null, RGBLED.brightness);
})
.on('set', function(value, callback) {
RGBLED.setBrightness(value);
//client.publish('ledBrightness',String(brightness));
callback();
})
light
.getService(Service.Lightbulb)
.addCharacteristic(Characteristic.Hue)
.on('get',function(callback){
callback(null,RGBLED.hue);
})
.on('set',function(value,callback){
RGBLED.setHue(value);
// client.publish('ledHue',String(hue));
callback();
})
light
.getService(Service.Lightbulb)
.addCharacteristic(Characteristic.Saturation)
.on('get',function(callback){
callback(null,RGBLED.saturation);
})
.on('set',function(value,callback){
RGBLED.setSaturation(value);
//   client.publish('ledSaturation',String(saturation));
callback();
})

@TeraJaQ is this for RGB bulbs and if which??

@Flawl3ssSWE no the code is for an rgb led connected on  the NodeMCU


Add United24

United24 described on it's site as "...the main venue for collecting charitable donations in support of Ukraine. Funds will be transferred to the official accounts of the National Bank of Ukraine...".
Also, it is advertised on the site of the Ministry of Digital Transformation.
United24 supports low-friction payment methods, such as PayPal (for medical aid and rebuilding only) and with multiple cryptocurrencies.
To my knowledge, currently the list doesn't contain any option for crypto or PayPal donations to the Government. The NBU offers donations only via credit cards, bank transfers and Google Pay, the rest in the list are non-governmental initiatives.
Therefore, I believe United24 inclusion in the list will be beneficial.

Is there something wrong with this PR? Should I rephrase it?

Ref #139


Revert "chore: staging->prod (#722)"

This reverts commit 9b4210faa378f1184ec3d863d6e0d1fc506cb146.

This actually merged staging->main which was not intended.


chore(deps): update dependency centralized-templates to v34.10.0

This PR contains the following updates:

Package
Update
Change

centralized-templates
minor
v34.4.61 -> v34.10.0

Release Notes

pleo-io/centralized-templates (centralized-templates)
v34.10.0
Compare Source
🎁 Features

feat: migrated to custom Github action for wiz-cli #1311 (@mhuzkhan-pleo @r0binary<EMAIL_ADDRESS>@pleo-bot-renovate @PassFaid @pleo-file-distributor[bot])

Authors: 6

@pleo-file-distributor[bot]
Faidon Passias (@PassFaid)
Muhammad-Huzaifah Khan (@mhuzkhan-pleo)
pleo-bot-auto-versioning<EMAIL_ADDRESS>Renovate (Pleo) (@pleo-bot-renovate)
Robin Lungwitz (@r0binary)

v34.9.2
Compare Source
Release Notes
[DEVX-2446] Remove unnecessary overrideSchedule input from Renovate GH workflow (#1338)

Remove unnecessary overrideSchedule input from Renovate GH workflow

🐞 Fixes

[DEVX-2446] Remove unnecessary overrideSchedule input from Renovate GH workflow #1338 (@VictorPascualV)

Authors: 1

Victor Pascual (@VictorPascualV)

v34.9.1
Compare Source
Release Notes
[DEVX-2446] Update renovate_dependency_management.yaml to fix quotes (#1337)

Fix quotes syntax in renovate_dependency_management.yaml

🐞 Fixes

[DEVX-2446] Update renovate_dependency_management.yaml to fix quotes #1337 (@VictorPascualV)

Authors: 1

Victor Pascual (@VictorPascualV)

v34.9.0
Compare Source
Release Notes
[DEVX-2446] Add option to override Renovate schedule when running Renovate on-demand (#1335)

Add option to override Renovate schedule when running Renovate on-demand

🎁 Features

[DEVX-2446] Add option to override Renovate schedule when running Renovate on-demand #1335 (@VictorPascualV)

Authors: 1

Victor Pascual (@VictorPascualV)

v34.8.3
Compare Source
🐞 Fixes

chore(deps): update github/codeql-action digest to 9fdb3e4 #1306 (@pleo-bot-renovate)
chore(deps): update actions/checkout digest to a5ac7e5 #1332 (@pleo-bot-renovate)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.8.2 #1334 (@pleo-bot-renovate)

Authors: 1

Renovate (Pleo) (@pleo-bot-renovate)

v34.8.2
Compare Source
🐞 Fixes

chore(deps): update tj-actions/changed-files digest to 1754cd4 #1333 (@pleo-bot-renovate)

🏠 Internal

chore(ci-deps): Update files based on repository configuration #1331 (@pleo-file-distributor[bot])
chore(deps): update dependency centralized-templates to v34.8.1 #1330 (@pleo-bot-renovate)

Authors: 2

@pleo-file-distributor[bot]
Renovate (Pleo) (@pleo-bot-renovate)

v34.8.1
Compare Source
🐞 Fixes

chore(deps): update actions/checkout action to v4.1.6 #1329 (@pleo-bot-renovate)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.8.0 #1328 (@pleo-bot-renovate)

Authors: 1

Renovate (Pleo) (@pleo-bot-renovate)

v34.8.0
Compare Source
Release Notes
SRE-5265: remove old ECR's from CI (#1320)

Remove references to AWS ECRs' that are not being used anymore
Lighten CI

🎁 Features

SRE-5265: remove old ECR's from CI #1320 (@PassFaid @dpotyralski)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.7.2 #1327 (@pleo-bot-renovate)

Authors: 3

Damian Potyralski (@dpotyralski)
Faidon Passias (@PassFaid)
Renovate (Pleo) (@pleo-bot-renovate)

v34.7.2
Compare Source
Release Notes
chore: adjust renovate schedule (#1326)

🐞 Fixes

chore: adjust renovate schedule #1326 (@r0binary)

🏠 Internal

chore(ci-deps): Update files based on repository configuration #1325 (@pleo-file-distributor[bot])
chore(deps): update dependency centralized-templates to v34.7.1 #1324 (@pleo-bot-renovate)

Authors: 3

@pleo-file-distributor[bot]
Renovate (Pleo) (@pleo-bot-renovate)
Robin Lungwitz (@r0binary)

v34.7.1
Compare Source
Release Notes
Add pleo-bot (from new approach of running Renovate) to auto approve/merge tooling (#1322)

Add pleo-bot as a relevant actor to our auto approve/merge tooling.

This is related to the new approach for running Renovate as GH Action, where Renovate PR's will be created by the pleo-bot user.

Note: Once all repos have migrated to the new approach of running Renovate as GH Action, we should look again into the option of removing the pleo-bot-renovate user completely.

🐞 Fixes

Add pleo-bot (from new approach of running Renovate) to auto approve/merge tooling #1322 (@VictorPascualV)

Authors: 1

Victor Pascual (@VictorPascualV)

v34.7.0
Compare Source
Release Notes
Add centralized CICD workflow to run Renovate (#1323)

Add renovate_dependency_management.yaml CICD workflow to run Renovate from downstream repositories.

Notice that the schedule at which Renovate will run can be configured per repository (while providing a default schedule).

🎁 Features

Add centralized CICD workflow to run Renovate #1323 (@VictorPascualV)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.6.0 #1321 (@pleo-bot-renovate)

Authors: 2

Renovate (Pleo) (@pleo-bot-renovate)
Victor Pascual (@VictorPascualV)

v34.6.0
Compare Source
Release Notes
Remove deprecated template (#1314)
Remove a file it is not longer used.
This is a draft PR until all other PRs are being merged and this template is really not used anymore.

🎁 Features

Remove deprecated template #1314 (@DimitrisKaramanis @VictorPascualV)

🏠 Internal

chore(ci-deps): Update files based on repository configuration #1319 (@pleo-file-distributor[bot])
chore(deps): update dependency centralized-templates to v34.5.9 #1318 (@pleo-bot-renovate)

Authors: 4

@pleo-file-distributor[bot]
Dimitris Karamanis (@DimitrisKaramanis)
Renovate (Pleo) (@pleo-bot-renovate)
Victor Pascual (@VictorPascualV)

v34.5.9
Compare Source
Release Notes
fix: skip job "Detect OpenAPI changes" in merge queue (#1317)

🐞 Fixes

fix: skip job "Detect OpenAPI changes" in merge queue #1317 (@r0binary)

Authors: 1

Robin Lungwitz (@r0binary)

v34.5.8
Compare Source
🐞 Fixes

chore(deps): update tj-actions/changed-files digest to a29e8b5 #1315 (@pleo-bot-renovate)

Authors: 1

Renovate (Pleo) (@pleo-bot-renovate)

v34.5.7
Compare Source
🐞 Fixes

chore(deps): update mikefarah/yq action to v4.44.1 #1316 (@pleo-bot-renovate)

🏠 Internal

chore(ci-deps): Update files based on repository configuration #1313 (@pleo-file-distributor[bot])
chore(deps): update dependency centralized-templates to v34.5.6 #1312 (@pleo-bot-renovate)
chore(ci-deps): Update files based on repository configuration #1310 (@pleo-file-distributor[bot])

Authors: 2

@pleo-file-distributor[bot]
Renovate (Pleo) (@pleo-bot-renovate)

v34.5.6
Compare Source
🐞 Fixes

chore(deps): update actions/checkout action to v4.1.5 #1307 (@pleo-bot-renovate)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.5.5 #1308 (@pleo-bot-renovate)

Authors: 1

Renovate (Pleo) (@pleo-bot-renovate)

v34.5.5
Compare Source
Release Notes
fix: skip job "Detect OpenAPI changes" in merge queue (#1304)

🐞 Fixes

fix: skip job "Detect OpenAPI changes" in merge queue #1304 (@r0binary)

Authors: 1

Robin Lungwitz (@r0binary)

v34.5.4
Compare Source
Release Notes
Remove assign-random-codeowner (#1303)
A new feature for auto-assigning reviewers is introduced in GitHub. Thus, we remove our custom action for assigning codeowners, and we replace it with GitHub's feature.
After this PR is being merged, we are going to enable the feature in your team's settings.
What do you need to do I hear you ask?
Keep an eye out in case you create any PRs in between these two changes and there is no assigned person on it.
Other than that, enjoy a less bloated workflow. 😄
For more information, have a look here.

🐞 Fixes

Remove assign-random-codeowner #1303 (@DimitrisKaramanis)

Authors: 1

@DimitrisKaramanis

v34.5.3
Compare Source
Release Notes
fix yamllint in k8s_ci (#1301)
Fixes an issue in k8s_ci that prevented the necessary yamllint step from functioning correctly.
chore: remove kodiak (#1300)

chore: run required status checks in custom workflow in merge queue (#1299)

🐞 Fixes

fix yamllint in k8s_ci #1301 (@bpesics)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.5.2 #1302 (@pleo-bot-renovate)
chore: remove kodiak #1300 (@r0binary)
chore: run required status checks in custom workflow in merge queue #1299 (@r0binary)

Authors: 3

Bela Pesics (@bpesics)
Renovate (Pleo) (@pleo-bot-renovate)
Robin Lungwitz (@r0binary)

v34.5.2
Compare Source
Release Notes
Temporary disable Wiz scans (#1298)
Due to a faulty release of centralized-templates v34.5.0 and v34.5.1, a bug was introduced that prevented triggering the deployment. As a temporary solution, this PR has disabled Wiz scans.

🐞 Fixes

Temporary disable Wiz scans #1298 (@dpotyralski)

🏠 Internal

chore(ci-deps): Update files based on repository configuration #1295 (@pleo-file-distributor[bot])
chore(deps): update dependency centralized-templates to v34.5.1 #1294 (@pleo-bot-renovate)

Authors: 3

@pleo-file-distributor[bot]
Damian Potyralski (@dpotyralski)
Renovate (Pleo) (@pleo-bot-renovate)

v34.5.1
Compare Source
Release Notes
fix: adjust pr-help logic to restore behavior (#1293)

🐞 Fixes

fix: adjust pr-help logic to restore behavior #1293 (@r0binary)

Authors: 1

Robin Lungwitz (@r0binary)

v34.5.0
Compare Source
Release Notes
feat: implementing reusable workflows for wiz-cli and adding security.yaml workflow (#1281)

Updated Wiz CLI usage to reusable workflows to reduce code duplication.
Introducing a new security.yaml workflow that utilises reusable workflows for CodeQL and Wiz-CLI, for both Dependancy and IaC scanning, it's aim is to provide a central location for reusable workflows managed by the Security Team.
Default enabled scanners are the Dependency and Container/Image scanner, the IaC scanner is disabled by default since only a few repos contain IaC code.

🎁 Features

feat: implementing reusable workflows for wiz-cli and adding security.yaml workflow #1281 (@mhuzkhan-pleo)

Authors: 1

Muhammad-Huzaifah Khan (@mhuzkhan-pleo)

v34.4.64
Compare Source
Release Notes
feat: merge automerge workflow into pr-help (#1289)
This PR integrates the test workflow automerge into the already existing pr-help workflow. This will help us rolling the feature out using renovate.

🐞 Fixes

feat: merge automerge workflow into pr-help #1289 (@r0binary)

Authors: 1

Robin Lungwitz (@r0binary)

v34.4.63
Compare Source
Release Notes
chore: merge verify_release_merge_queue into verify-release (#1291)

🐞 Fixes

chore: merge verify_release_merge_queue into verify-release #1291 (@r0binary)

🏠 Internal

chore(deps): update dependency centralized-templates to v34.4.62 #1292 (@pleo-bot-renovate)

Authors: 2

Renovate (Pleo) (@pleo-bot-renovate)
Robin Lungwitz (@r0binary)

v34.4.62
Compare Source
Release Notes
fix: add merge strategy to automerge workflow (#1290)

🐞 Fixes

fix: add merge strategy to automerge workflow #1290 (@r0binary)

Authors: 1

Robin Lungwitz (@r0binary)

Configuration
📅 Schedule: Branch creation - "after 8am and before 4pm every weekday" in timezone CET, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR is going to be closed automatically, because it is created by a deprecated Renovate bot. A new PR will be created by the new renovate process, just sit back and relax. :)


Satisfy Golint: TEM-121

:construction_worker: Purpose
To actually make the code enterprise grade, golint needs to be satisfied
This will also enable use to trigger hard failures on travis whenever golint isn't satisfied.
:rocket: Changes
Made changes as pointed out by golint
enterprise_upload has been removed as it was a straggler from a very old theoretical implementation of Temporal.
:warning: Breaking Changes
Hopefully none (however any applications that use the packages within temporal might need to be double checked to ensure they are fine)

No problem, it had to be done :D


Update Scala versions

To prepare for the 1.0.3 release

Merging, failing check is mqtt which is known to fail on this branch of pekko


Add information about space workaround

Add documentation how spaces are handled in git-auth proxy.

This should now work thanks to: https://github.com/XenitAB/git-auth-proxy/pull/50


emacs: drop GConf dependency

Description of changes
Part of https://github.com/NixOS/nixpkgs/issues/39976 and https://github.com/NixOS/nixpkgs/pull/340612
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hum, please can I grab this into https://github.com/NixOS/nixpkgs/pull/341656?
I am planning to update Emacs expression.

Sure, let me know if I should close this PR

Though, this should be a 0 rebuild PR as it is so probably best to merge this and rebase the other PR if you are going to rebase/amend anyways.

Result of nixpkgs-review pr 342368 run on x86_64-linux 1

Well, with some luck it will rebase cleanly. Let's wait ofBorg and  merge this.

P.S.: should we drop GTK2 support too? Or is it too soon?

probably should be dropped too


fix(resolve): separate package cache per environment

Description
Alternative approach https://github.com/vitejs/vite/pull/18302#issuecomment-2404013913
This PR separates PackageCache per environment using environment.config proxy. I replaced config.packageCache with environment.config.packageCache through the code base (seems straight-forward except watchPackageDataPlugin).

Closing as stale


Splitting into 4 panels and right clicking no longer shows context menu

Version: 1.0.126
Platform: win32 10.0.19042
Plugins: clickable-links
It also doesn't split any further beyond 4, which I don't mind, but it shouldn't block context menu from showing.

Please see if there's anything in the debug console.

Please see if there's anything in the debug console.

Also I found out that it's not only when splitting into panels. I can only have 4 sessions running. If I create 4 tabs I am not able to create another one. My action to create more seems to be queued somehow, when I close 1 of the 4, a new one pops up.

Also I found out that it's not only when splitting into panels. I can only have 4 sessions running. If I create 4 tabs I am not able to create another one. My action to create more seems to be queued somehow, when I close 1 of the 4, a new one pops up.

Side request. Can the close tab hotkey close the active split and not the entire tab?

Side request. Can the close tab hotkey close the active split and not the entire tab?

@fitzg2 you can rebind your close-tab hotkey to close-pane and use that - closing the last pane closes the tab.

@fitzg2 you can rebind your close-tab hotkey to close-pane and use that - closing the last pane closes the tab.

Fixed in nightly.

FYI 132 seems to be working as expected. 133 doesn't open. Stuck on startup.
Platform: win32 10.0.19042
Plugins: clickable-links


[CCUBE-1059][SR] Amending styling issues highlighted in DC

Changes

Amended styles for the title, accordion arrow and collapsed state of accordion

Additional information

You may refer to this CCUBE-1059

need to change the labels to sentence case


Postgresql DB Engine Error: '>=' not supported between instances of 'datetime.timedelta' and 'int'

There seems to be a problem in retrieving and using any column that is of the format:  TIMESTAMP WITH TIME ZONE or just  TIMESTAMP
A relational table with a column of type  TIMESTAMP WITH TIME ZONE would error when run a SELECT * ... or SELECT <column_with_timestamp_type> FROM...
The SQL editor errors even with SELECT now()
The error is:
DB engine Error

postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'

This may be triggered by:
Issue 1002 - The database returned an unexpected error.

Expected results
Would expect the column to return properly and be usable in exploration
Actual results & Screenshots

How to reproduce the bug

Go to SQL Lab
run the query: SELECT now()

Environment
my requirements.txt:
aiohttp==3.7.4.post0
alembic==1.6.5
amqp==2.6.1
apache-superset==1.2.0
apispec==3.3.2
async-timeout==3.0.1
attrs==21.2.0
Babel==2.9.1
backoff==1.11.1
billiard==<IP_ADDRESS>
bleach==3.3.1
Brotli==1.0.9
cachelib==0.1.1
celery==4.4.7
cffi==1.14.6
chardet==4.0.0
click==7.1.2
colorama==0.4.4
contextlib2==21.6.0
convertdate==2.3.2
cron-descriptor==1.2.24
croniter==1.0.15
cryptography==3.4.7
decorator==5.0.9
defusedxml==0.7.1
dnspython==2.1.0
email-validator==1.1.3
Flask==1.1.4
Flask-AppBuilder==3.3.1
Flask-Babel==1.0.0
Flask-Caching==1.10.1
Flask-Compress==1.10.1
Flask-JWT-Extended==3.25.1
Flask-Login==0.4.1
Flask-Migrate==3.0.1
Flask-OpenID==1.2.5
Flask-SQLAlchemy==2.5.1
flask-talisman==0.8.1
Flask-WTF==0.14.3
geographiclib==1.52
geopy==2.2.0
graphlib-backport==1.0.3
gunicorn==20.0.4
holidays==0.10.3
humanize==3.10.0
idna==3.2
isodate==0.6.0
itsdangerous==1.1.0
Jinja2==2.11.3
jsonschema==3.2.0
kombu==4.6.11
korean-lunar-calendar==0.2.1
Mako==1.1.4
Markdown==3.3.4
MarkupSafe==2.0.1
marshmallow==3.12.2
marshmallow-enum==1.5.1
marshmallow-sqlalchemy==0.23.1
msgpack==1.0.2
multidict==5.1.0
numpy==1.21.0
packaging==21.0
pandas==1.2.5
parsedatetime==2.6
pathlib2==2.3.6
pgsanity==0.2.9
polyline==1.4.0
prison==0.1.3
psycopg2==2.9.1
py==1.10.0
pyarrow==3.0.0
pycparser==2.20
PyJWT==1.7.1
PyMeeus==0.5.11
pyparsing==2.4.7
pyrsistent==0.18.0
python-dateutil==2.8.2
python-dotenv==0.18.0
python-editor==1.0.4
python-geohash==0.8.5
python3-openid==3.2.0
pytz==2021.1
PyYAML==5.4.1
redis==3.5.3
retry==0.9.2
selenium==3.141.0
simplejson==3.17.3
six==1.16.0
slackclient==2.5.0
SQLAlchemy==1.3.24
SQLAlchemy-Utils==0.36.8
sqlparse==0.3.0
typing-extensions==<IP_ADDRESS>
urllib3==1.26.6
vine==1.3.0
webencodings==0.5.1
Werkzeug==1.0.1
WTForms==2.3.3
WTForms-JSON==0.3.3
yarl==1.6.3

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Hi @nglglhtr.
I can't reproduce this issue on the latest master branch.

Hi @nglglhtr do you mind listing some reproduction instructions here, ideally using the default examples datasets that are provided?

Hi @nglglhtr I'm not able to reproduce this issue:

Can you add some more details reproduction instructions / share a video ideally using the default examples datasets?

I have two instances, but only one have this issue

This will be hard to debug / fix if we can't reproduce :( Can you share more context?
Are you doing any >= comparison in the superset semantic layer anywhere? (e.g. metrics, calculated columns, etc).

i have 2 superset's connected in same database.

I have 2 superset's connected in same database.
Node 1:

Node 2:

Query error:
Query 56: <class 'TypeError'> 2021-07-19 17:06:23,715:ERROR:superset.sql_lab:Query 56: <class 'TypeError'> postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int' 2021-07-19 17:06:23,840:WARNING:superset.views.base:postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'
This error appears when there is a column of type date/timestamp, when I remove this column it works

Hi @wildsonc Do you mind share your config file?

superset_conifg.txt
The error occurs in this connected database

URI SQLALCHEMY: postgresql+psycopg2://explorernet:XXXXXXXXXX@<IP_ADDRESS>:5432/web_caixas
EXTRA: {
"metadata_params": {},
"engine_params": {},
"metadata_cache_timeout": {},
"schemas_allowed_for_csv_upload": []
}
No other options are checked in connection settings.

@srinify

Are you doing any >= comparison in the superset semantic layer anywhere? (e.g. metrics, calculated columns, etc).

Not really, I'm simply trying to query a database that consists of a column of type timestamp

Some more context:

the docker image doesn't have this error, which is what I used for local debugging and trying
the pip install superset is what i used for my heroku deployment - which is what gives this error

Same issue here. Docker instance had no issues with connecting to local postgres db but my local install of apache-superset installed via pip in venv yielded the following error despite successful connection w/ postgresql instance:
DB engine Error
postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'

See more

And here is the query (very simple w/o any relational operators):
SELECT *
FROM pulse_ox_moving_average;

Here are the only packages installed in the venv, apart from apache-superset, I installed psycopg2 and that is all.
requirements.txt
`
I do have one timestamped column, but this was a non-issue w/ the docker-compose install.

After further experimentation, the issue seems to be timezones. If I removed the timezone offset with to_char(), my query works.

I downgraded the version of psycopg2 and psycopg2-binary to 2.8.6 and the problem was fixed. I assume there is a problem with version 2.9.X.

That did the trick. Very much appreciated. :heavy_check_mark:

Dowgrading from 2.9.1 -> 2.8.6 was also the solution in my case.
Could quite possibly be related to this change listed in the 2.9 release notes?

Use datetime.timezone objects by default in datetime objects instead of FixedOffsetTimezone

Following on your suggestion, I fixed it by editing the date column expression in the dataset editor window:

After further experimentation, the issue seems to be timezones. If I removed the timezone offset with to_char(), my query works.
Update:
I was able to work around the issue with the following query:
SELECT (time at time zone 'CEST')::timestamp without time zone AS "time",
       ma_spo2,
       ma_bpm,
       ma_perf
FROM pulse_ox_moving_average

This hack would allow me to create time-series charts where as using to_char would not. Setting a timezone and then localizing by removing the timezone is not ideal for the long term.

I can replicate this issue using a fresh install of the latest docker image per the instructions here.
Screenshot below.

According to a pip freeze in the app container (superset_app), this version is using psycopg2 v. 2.9.1.
Manually replacing version 2.9.1 with 2.8.6 as suggested above resolves the issue.
@mail2lawi's solution above (time at time zone 'CEST')... also was an effective fix, leading me to support the hypothesis that this issue is specifically related to columns which contain timestamptz values.
Thank you for your help all!

I  am getting this error on the current master branch...

commit bc4b6f0a6cfb05f0d913a5e4d2dc09844960e04a (HEAD -> master, origin/master, origin/HEAD)
Author: John Bodley<EMAIL_ADDRESS>Date:   Mon Aug 23 10:20:52 2021 -0700

I am connecting to postgresql 11.10.
Here is what I see in my logs...

superset_app            | 2021-08-23 18:17:13,022:INFO:superset.views.core:Triggering query_id: 34
superset_app            | Query 34: Executing 1 statement(s)
superset_app            | 2021-08-23 18:17:13,052:INFO:superset.sql_lab:Query 34: Executing 1 statement(s)
superset_app            | Query 34: Set query to 'running'
superset_app            | 2021-08-23 18:17:13,052:INFO:superset.sql_lab:Query 34: Set query to 'running'
superset_app            | Query 34: Running statement 1 out of 1
superset_app            | 2021-08-23 18:17:13,177:INFO:superset.sql_lab:Query 34: Running statement 1 out of 1
superset_app            | Query 34: <class 'TypeError'>
superset_app            | Traceback (most recent call last):
superset_app            |   File "/app/superset/sql_lab.py", line 276, in execute_sql_statement
superset_app            |     data = db_engine_spec.fetch_data(cursor, increased_limit)
superset_app            |   File "/app/superset/db_engine_specs/postgres.py", line 174, in fetch_data
superset_app            |     return super().fetch_data(cursor, limit)
superset_app            |   File "/app/superset/db_engine_specs/base.py", line 510, in fetch_data
superset_app            |     raise cls.get_dbapi_mapped_exception(ex)
superset_app            |   File "/app/superset/db_engine_specs/base.py", line 508, in fetch_data
superset_app            |     return cursor.fetchall()
superset_app            |   File "/usr/local/lib/python3.7/site-packages/pytz/init.py", line 403, in init
superset_app            |     if abs(minutes) >= 1440:
superset_app            | TypeError: '>=' not supported between instances of 'datetime.timedelta' and 'int'
superset_app            | 2021-08-23 18:17:13,201:ERROR:superset.sql_lab:Query 34: <class 'TypeError'>
superset_app            | Traceback (most recent call last):
superset_app            |   File "/app/superset/sql_lab.py", line 276, in execute_sql_statement
superset_app            |     data = db_engine_spec.fetch_data(cursor, increased_limit)
superset_app            |   File "/app/superset/db_engine_specs/postgres.py", line 174, in fetch_data
superset_app            |     return super().fetch_data(cursor, limit)
superset_app            |   File "/app/superset/db_engine_specs/base.py", line 510, in fetch_data
superset_app            |     raise cls.get_dbapi_mapped_exception(ex)
superset_app            |   File "/app/superset/db_engine_specs/base.py", line 508, in fetch_data
superset_app            |     return cursor.fetchall()
superset_app            |   File "/usr/local/lib/python3.7/site-packages/pytz/init.py", line 403, in init
superset_app            |     if abs(minutes) >= 1440:
superset_app            | TypeError: '>=' not supported between instances of 'datetime.timedelta' and 'int'
superset_app            | [SupersetError(message="postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
superset_app            | Traceback (most recent call last):
superset_app            |   File "/app/superset/views/base.py", line 204, in wraps
superset_app            |     return f(self, *args, **kwargs)
superset_app            |   File "/app/superset/utils/log.py", line 242, in wrapper
superset_app            |     value = f(*args, **kwargs)
superset_app            |   File "/app/superset/views/core.py", line 2578, in sql_json
superset_app            |     return self.sql_json_exec(request.json, log_params)
superset_app            |   File "/app/superset/views/core.py", line 2767, in sql_json_exec
superset_app            |     session, rendered_query, query, expand_data, log_params
superset_app            |   File "/app/superset/views/core.py", line 2563, in _sql_json_sync
superset_app            |     [SupersetError(**params) for params in data["errors"]]
superset_app            | superset.exceptions.SupersetErrorsException: [SupersetError(message="postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
superset_app            | 2021-08-23 18:17:13,219:WARNING:superset.views.base:[SupersetError(message="postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
superset_app            | Traceback (most recent call last):
superset_app            |   File "/app/superset/views/base.py", line 204, in wraps
superset_app            |     return f(self, *args, **kwargs)
superset_app            |   File "/app/superset/utils/log.py", line 242, in wrapper
superset_app            |     value = f(*args, **kwargs)
superset_app            |   File "/app/superset/views/core.py", line 2578, in sql_json
superset_app            |     return self.sql_json_exec(request.json, log_params)
superset_app            |   File "/app/superset/views/core.py", line 2767, in sql_json_exec
superset_app            |     session, rendered_query, query, expand_data, log_params
superset_app            |   File "/app/superset/views/core.py", line 2563, in _sql_json_sync
superset_app            |     [SupersetError(**params) for params in data["errors"]]
superset_app            | superset.exceptions.SupersetErrorsException: [SupersetError(message="postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]

The error seems to be related the following code...

superset_app            |   File "/usr/local/lib/python3.7/site-packages/pytz/init.py", line 403, in init
superset_app            |     if abs(minutes) >= 1440:
superset_app            | TypeError: '>=' not supported between instances of 'datetime.timedelta' and 'int'
superset_app            | [SupersetError(message="postgresql error: '>=' not supported between instances of 'datetime.timedelta' and 'int'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'PostgreSQL', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]

The minutes variable is a datetime.timedelta object, which is not compatible with the '>=' operator against and int, in python.

with 2.8.6 as suggested ab

Hi @jonathanStrange0 , I'm new to superset.
How do you change the version, I cloned latest version and found ["psycopg2-binary==2.8.5" as a dependency.
This version appears to be older than 2.8.6 and I get the same error.
What are the steps to change the version with docker-compose.
Thank you very much.

As a work-around I convert the date to a string.
So instead of...
 select rfq._created_dt, ...
use...
 select to_char(rfq._created_dt, 'YYY-MM-DD') as _created_dt, ...
The actual error does not seem to come from the Postgres server as indicated by the error message.
I did some debugging, and it turns out that in the condition...
if abs(minutes) >= 1440:
... minutes is a datetime.timedelta object which can't be evaluated against and int using the '>=' operator.
But exception shows up as if it were coming from postgres.

String solution does not work well, it will cause other problems with some visualizations. The real issue is that dates can be missing the timezone in some way, and forcing a timezone into the output field fixes the date issue properly without making it a string. Making the main temporal date field into a string, will cause other problems.
Don't use...
select date_fld,  ...
Use...
select date_fld::timestamptz at time zone 'EST',

Same problem happens when using "Big Number with Trendline" and doing a COUNT(*) over a timestamp column. Using Docker image apache/superset:4dc859f89e5668ed3f94cd1ef0532a301a3ab85a

Work fine  after modify postgres db engine, and timezone offset problem in explore solved.
Steps with docker-compose instance(version=1.3.1).
docker exec -it superset_app /bin/bash
apt-get update
apt-get install vim
vim /app/superset/db_engine_specs/postgres.py
# delete line 171 (cursor.tzinfo_factory = FixedOffsetTimezone)
exit
# back to host machine
docker-compose -f docker-compose-non-dev.yml restart

psycopg 2.9 release note
psycopg2 updated to use datetime.timezone as tz property of datetime object, we do not need pytz._FixedOffset any more.

Is this an issue that will be fixed soon?
In its current state, Superset charts and datasets don't work with any Postgresql columns of type "timestamp with time zone".

Maybe label should be changed ?  Feel like this is being forgotten because of that.
Additionally @Isyarn may have even found a fix already.
Unfortunately, I don't feel competent enough to create PR.

Work fine after modify postgres db engine, and timezone offset problem in explore solved. Steps with docker-compose instance(version=1.3.1).
docker exec -it superset_app /bin/bash
apt-get update
apt-get install vim
vim /app/superset/db_engine_specs/postgres.py
# delete line 171 (cursor.tzinfo_factory = FixedOffsetTimezone)
exit
# back to host machine
docker-compose -f docker-compose-non-dev.yml restart

psycopg 2.9 release note psycopg2 updated to use datetime.timezone as tz property of datetime object, we do not need pytz._FixedOffset any more.

This fix did not work for me. But reverting psycopg2-binary to 2.8.5 solved my problem.

Work fine after modify postgres db engine, and timezone offset problem in explore solved. Steps with docker-compose instance(version=1.3.1).
docker exec -it superset_app /bin/bash
apt-get update
apt-get install vim
vim /app/superset/db_engine_specs/postgres.py
# delete line 171 (cursor.tzinfo_factory = FixedOffsetTimezone)
exit
# back to host machine
docker-compose -f docker-compose-non-dev.yml restart

psycopg 2.9 release note psycopg2 updated to use datetime.timezone as tz property of datetime object, we do not need pytz._FixedOffset any more.

This solution works for me.

I can replicate this issue using a fresh install of the latest docker image per the instructions here.
Screenshot below.

According to a pip freeze in the app container (superset_app), this version is using psycopg2 v. 2.9.1.
Manually replacing version 2.9.1 with 2.8.6 as suggested above resolves the issue.
@mail2lawi's solution above (time at time zone 'CEST')... also was an effective fix, leading me to support the hypothesis that this issue is specifically related to columns which contain timestamptz values.
Thank you for your help all!

Hi @jonathanStrange0 , I'm new to superset. How do you change the version, I cloned master and found ["psycopg2-binary==2.8.5" as a dependency. This version appears to be older than 2.8.6 and I get the same error.
What are the steps to change the version with docker-compose. Thank you very much.

Hi !
For docker-compose-non-dev, here is my "hack":
    docker-compose -f docker-compose-non-dev.yml up
    docker-compose -f docker-compose-non-dev.yml exec superset pip uninstall -y psycopg2-binary
    docker-compose -f docker-compose-non-dev.yml exec superset pip install psycopg2-binary==2.8.6
    docker-compose -f docker-compose-non-dev.yml restart superset

Before the hack

After the hack

@santicomp2014,
You should just be able to:
* Clone the repo:  $ git clone https://github.com/apache/superset.git

* $ cd superset/requirements/

* Change both **docker.txt** and **development.txt** to _psycopg2-binary==2.8.6_

* Run: $ docker-compose -f docker-compose-non-dev.yml up

For me, this didn't work. I found this "hack" : https://github.com/apache/superset/issues/15768#issuecomment-987887089
    docker-compose -f docker-compose-non-dev.yml up
    docker-compose -f docker-compose-non-dev.yml exec superset pip uninstall -y psycopg2-binary
    docker-compose -f docker-compose-non-dev.yml exec superset pip install psycopg2-binary==2.8.6
    docker-compose -f docker-compose-non-dev.yml restart superset

This library (psycopg2-binary) was not installed at all.

pip uninstall -y psycopg2-binary
pip install psycopg2-binary==2.8.6

Glad to see there are workarounds possible, however I'd prefer to use the official Docker image posted to Dockerhub. Any idea when this fix can be made available there?

I also had the same issue and downgrading psycopg2 from 2.9.1 to 2.8.6 did fix it.

This has been fixed on master branch here: #17713


Accumulo Data Provider Build Pyramid world scale or export problem

Confirm that the Accumulo Data Provider can correctly build pyramids at world scale.  This may be a problem with the export command when Accumulo is the source.  The command:
mrgeo export -z 3 -s -o /home/andrew/mask83 mask8
May be a problem for the Accumulo Data Provider.

Need to check the scan being done for a zoom level to see if more items are coming back incorrectly.

Looking at the individual tiles through a WMS, it looks like the images in the data pyramid are correct.  When looking at the output of export shows a problem.

Problem existed in AccumuloMrsTileReader.  The fetchColumnFamily was not being set on the scanner.  Problem solved.


Use of JustPy as a GUI framework for desktop applications made using Python

Since the client events are send to the server for processing, JustPy doesn't seem like a framework which can scale.
Building GUI applications in the browser is where JustPy shines. Unlike other frameworks like Qt which give you only a watered-down version of a web browser and painful APIs and ugly components, JustPy allows you to use the full power of CSS and JS.
Also, for desktop applications, since no request is being sent out of your system (server is on localhost), it is secure and fast!
If JustPy is remodeled/advertized as a GUI framework for Python applications instead of as a webserver, it can gain a lot of traction! :)

That is an interesting suggestion, thank you. I agree that it is a good idea to emphasize the GUI aspect of JustPy more.
(I think JustPy should scale quite well but that is another discussion)


Modified the home page components & Fixed the carousel issue (#18)

Modified the Home page components (ready to be used when added to routing)
Swapped the use of SwiperJS to keen-slider due to compatibility issues, and to avoid using larger libraries.
Modified neutral-900 hex value to help the landing section in the home page blend in with the image.

I don't think this PR uses the Home component that you made changes to. I added it to the default page layout in a pull request to your fork here.

Yep that's right!


Feature/adding testing library

@Pjaijai Is there anything specific you want to get help with?

Seems like this branch containing code that doesn't relate to code testing, how about to open another one for this matter?

Yes please

As mentioned in the previous comments, this branch is replaced by https://github.com/Pjaijai/Referalah/tree/test/setup


Updates components-contrib to 1.13.0-rc.4

Description

@JoshVanL think you need to run tidy

@yaron2 done

/test-version-skew


add resolution for reason

Greetings, @ulrikstrid.
I had to add resolutions for easy/ocaml and disable warning 16 for this run. Those changes are here  if you want them.
At this point, when you get to the test screen in the browser, both options get you an Unhandled server error message.

Maybe there is some additional step you might tell me about.
Thanks for sharing, sir.

Why don’t you use the officially released @opam/reason instead of a resolution?

Why don’t you use the officially released @opam/reason instead of a resolution?

Did not know it was good. I will try it an update. Thanks for the heads up.

The solution to that problem is to change from morph to Dream probably.

The solution to that problem is to change from morph to Dream probably.

Ok. In the mean time. I tried changing morph to opam/reason and morph works but then you get a conflict in some other file that I do not remember at this point. Doable, i think, just need to work it.


Correction for raw affiliation Dept. of Geography, University of Victoria and Hakai Institute, Victoria, BC

Correction needed for raw affiliation Dept. of Geography, University of Victoria and Hakai Institute, Victoria, BC
raw_affiliation_name: Dept. of Geography, University of Victoria and Hakai Institute, Victoria, BC
new_rors: 02pry0c91;04s5mat29
previous_rors: 01a583453;04s5mat29
works_examples: W3004901204
contact: dad729630f6242f218afe97170e52904:45bf4b23 @ ourresearch.org

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


Tests failing in master

In order to fix #76 I just pulled from master ( 18108d775a
bmabey authored 1 day ago ), bundle installed the gems etc and ran the specs.
Various specs are failing for me (See following Gist)  https://gist.github.com/1315804
Is there some setup step that I am missing?

Unfortunately I merged in some commits that broke the build and I have been waiting on the original commiter to fix it.  I will probably jsut roll back the changes since they haven't resolved it.  I'll let you know when that is done.

Tests are now passing.


Connect BugSnag to Github

As a developer, I'd like to connect our bugsnag instance to our github repositories so that we can make better use of all the integrations that it offers.
Criteria

[ ] our bugsnag instance is connected to the related github priorities
[ ] optional (but recommended): related investigation is done to identify the primary benefits and workflow improvements we can get by connecting to our github instance. For instance, it might be possible to integrate bugsnag bugs into github issues and have them automatically get closed in bugsnag once they're closed on github or vice-versa.

Implementation Details

Right now we have bugsnag but it's not connected to any of our github repositories
This should be a fairly simple task but it has stayed on the backlog since it is not urgent
Labeled this as "good first issue" because it doesn't require any Zcash domain knowledge. However, it can only be completed by someone with access to the ECC bugsnag account so it's a good issue for a new ECC employee but not a good issue for a 3rd party contributor.

This is not relevant for the SDK.


Add more controls for Deye Hybrid

Hello!
Coming over from StephanJoubert's integration. Adding some missing options I've been using via manual setup as described here.
Cheers!

I fixed that thing with the double quotation marks in the code so it now also works without them. 😉

@davidrapan Great! I reverted those changes

Also wanted to ask you do you have any docs which could be added into our wiki for this inverter profile?

Nothing new really. What I did to implement these changes is just poking around Solarman web app and reverse engineering it to figure out which registers are responsible for changing the charging currents and forcing the gen.

Ah I see.. I was hoping you could have something.. okay then.

@krasnoukhov, would also like to use this opportunity and ask you if you could validate if newly added custom sensors (PV Power, Power losses, Today's Losses and Total Losses) in the deye_hybrid profile are working correctly.
Thanks!

Nice, thanks!


No refresh

Hi
Thanks for your module, since last update if I active your module automatic refresh (for example on/off a module) dont work. I have to F5. I have try just with your module (no other module on).
Thanks for your help.

Seeing the same behavior here. When changing what modules are active hitting save module settings the page will not refresh without f5 or hitting refresh on the browser. Very rarely I've seen it refresh as it should but 8 or 9 times out of ten it won't refresh without manual action. Tested with only FTC active. De-activating FTC fixes the behavior. Seeing the following error in console when I click on save module settings:

v9.280, 5e 1.6.3, FTC 1.4.2. Hosted on the forge. Tested in chrome.
Thanks for your work on this.

Same v9.280, 5e 1.6.3, FTC 1.4.2, local hosting

Oh no. This update was my contribution. The fix I implemented is for v10 only. I'll see if I can sort this out shortly.

1.4.3 seems to be working great. Thank you!

This update seems to have broken V10. It now doesn't refresh anymore


Fix inconsistent references to request parameter for linked object id

This should close #82.
Also refs. https://github.com/unt-libraries/coda/pull/111
@ldko @somexpert

Quick question: how do you feel about removing the step from the slice in the changed code? Seems superfluous, but either way, LGTM :thumbsup:

@somexpert The step is there to force queryset evaluation, I believe (see the comment above it). Otherwise, yes, I'd be happy to drop it. :grimacing:

Ignore the guy who didn't read the comment above the code.

It's a pretty weird deal. :ok_man:


"export 'Metric' was not found in '@superset-ui/core' (ERROR in<EMAIL_ADDRESS>Angular/React

Describe the bug
I'm new to superset-ui. I want to use the packages in an Angular app. However, this issue is seen for React as well.
I just wanted to try out "@superset-ui/legacy-preset-chart-nvd3" components for now. To do that, I followed the usage given in https://github.com/apache-superset/superset-ui/tree/master/plugins/legacy-preset-chart-nvd3.
I tried this with a new generated angular app using the cli. But when I ran my Angular application, I get the following error:
ERROR in<EMAIL_ADDRESS>1:0-43
"export 'Metric' was not found in '@superset-ui/core'

The same error is also seen for a React app:
<EMAIL_ADDRESS>Attempted import error: 'Metric' is not exported from '@superset-ui/core'

I added the following lines to my .ts file:
app.component.ts.file
import { Component } from '@angular/core';
import { NVD3ChartPreset } from '@superset-ui/legacy-preset-chart-nvd3';

new NVD3ChartPreset().register();

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'my-first-project';
}

My package.json:
{
  "name": "my-first-project",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~10.1.1",
    "@angular/common": "~10.1.1",
    "@angular/compiler": "~10.1.1",
    "@angular/core": "~10.1.1",
    "@angular/forms": "~10.1.1",
    "@angular/platform-browser": "~10.1.1",
    "@angular/platform-browser-dynamic": "~10.1.1",
    "@angular/router": "~10.1.1",
    "@superset-ui/core": "^0.17.48",
    "@superset-ui/legacy-preset-chart-nvd3": "^0.17.48",
    "antd": "^4.15.6",
    "path": "^0.12.7",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-icons": "^4.2.0",
    "react-loadable": "^5.5.0",
    "rxjs": "~6.6.0",
    "tslib": "^2.0.0",
    "zone.js": "~0.10.2"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.1001.1",
    "@angular/cli": "~10.1.1",
    "@angular/compiler-cli": "~10.1.1",
    "@types/node": "^12.11.1",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "^6.0.0",
    "jasmine-core": "~3.6.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~5.0.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~4.0.2"
  }
}

tsconfig.json
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "module": "es2020",
    "lib": [
      "es2018",
      "dom"
    ]
  }
}

To Reproduce
Steps to reproduce the behavior:

Generate a new app:
For Angular: ng new my-first-project (Also install required react dependencies)
For React: npx create-react-app my-app
Add the following lines in app.component.ts (angular) or App.js (react):

import { NVD3ChartPreset } from '@superset-ui/legacy-preset-chart-nvd3';
new NVD3ChartPreset().register();

Run the application

@rusackas @ktmud @junlincc

Having the same issue in react app

any fix on this one, I still got this issue on the latest release ?

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant.


Fabric CLI cannot upgrade itself (error: required flag --global not provided)

➜  fabric upgrade
error: the following required arguments were not provided:
  --global

Note: Permission flags can only be used in a global setting

error: Uncaught (in promise) Error: Failed to upgrade fabric!
    at Nr.upgrade (https://fabricmc.net/cli:1083:479268)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async Kn.fn (https://fabricmc.net/cli:257:1402)
    at async Kn.execute (https://fabricmc.net/cli:29:8583)
    at async Kn.parseCommand (https://fabricmc.net/cli:29:6222)
    at async https://fabricmc.net/cli:1083:479885

I think this was added in Deno 2.0, I will look into upgrading to deno 2. For now just run the command on the website again to upgrade.

Now fixed, you may need to run deno install -A -g --reload --force -n fabric https://fabricmc.net/cli to fix an existing install.


Adapt build and instructions to datamapper

when https://github.com/KaotoIO/kaoto/pull/1700 will be merged in main branch

After merging: https://github.com/KaotoIO/kaoto/pull/1837, this PR won't be necessary

^^ closing - out of date


issue with web igv

Tinyurl is not generating correctly.
error message:
Just a moment...

Could you describe your issue in more detail?

This could be caused by intemittent failure of the tinyurl server.


Date and time field blocks in AbstractFormBuilder

As of #1898 there are helper methods for date and time fields but it's impossible to use them in block fassion:
<% form_for @model, '/path', :method => 'post' do |f| %>
  <%= f.datetime_field_block :created_at %>
<% end %>

To me it looks like it would be enough to add appropriate field types in this array and probably some test cases.
I'm interested in getting some more deep knowledge about Padrino, so yeah having fun copy-pasting some stuff could be a good point to start.
Please let me know what do you think.

Thank you.


Can't create app for v1 by using v2 ionic-cli

Got the following error message:

[=============================]  100%  0.0s
{ [Error: Command failed: /bin/sh -c ionic plugin add cordova-plugin-device && ionic plugin add cordova-plugin-console && ionic plugin add cordova-plugin-whitelist && ionic plugin add cordova-plugin-splashscreen && ionic plugin add cordova-plugin-statusbar && ionic plugin add cordova-plugin-statusbar && ionic plugin add ionic-plugin-keyboard
Couldn't find ionic.project file. Are you in an Ionic project? (CLI v2.0.0-beta.15)
]
killed: false,
code: 1,
signal: null,
cmd: '/bin/sh -c ionic plugin add cordova-plugin-device && ionic plugin add cordova-plugin-console && ionic plugin add cordova-plugin-whitelist && ionic plugin add cordova-plugin-splashscreen && ionic plugin add cordova-plugin-statusbar && ionic plugin add cordova-plugin-statusbar && ionic plugin add ionic-plugin-keyboard' } '\n\u001b[1m\u001b[31mCouldn't find ionic.project file. Are you in an Ionic project?\u001b[39m\u001b[22m\u001b[1m\u001b[31m (CLI v2.0.0-beta.15)\u001b[39m\u001b[22m\n\n'
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again: (CLI v2.0.0-beta.15)
Your system information:
Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.1
Ionic CLI Version: 2.0.0-beta.15
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: 1.8.2
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 7.2 Build version 7C68

+1

+1
I have Ionic 1 and Ionic 2 projects. Installing back Ionic 1 to create a sample project (to test/isolate an issue for example) and reinstalling Ionic 2 is not convenient (and veeery long from China :) )

Hello all! Are you all still having this issue with the latest version of the ionic-cli (beta.25)?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

Im always seeing tutorials about creating ionic1 project with command "ionic start projectName". I used this command and it dwonloads files for ionic 2. This is still a problem now!!!!!

Because they use the old CLI version. Read the docs and you will understand how to use the new CLI :)

oh I see. Im using the latest ionic cli right now then I saw that you have to add "--v1" in the command. So "ionic start projectName --v1" is how to create a new ionic 1 project


Updated xgboost to use all cpu cores with unified thread configuration

Issue #, if available:
Description of changes:

Updated n_jobs to use all cores by setting to -1
(https://github.com/dmlc/xgboost/pull/6186)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1289-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1289/1/index.html


Some Questions

Hello, I would appreciate it if you could respond to some of my questions below:

Could you clarify why SelfPatch loss is only evaluated when v == iq (student and teacher operate on the same view)?
Why is teacher output viewed locally as well? According to what I understand of the original DINO, only 2 global views pass through the teacher
Why is loc=False given to student_output?

student_output = [student(torch.cat(images[:2]), head_only=True, loc=False), student(torch.cat(images[2:]), head_only=True, loc=False)]
Thanks for your time and kindness!

I am not the author and I hope my answer can help you.
A1: because the neighbor of a patch is defined in the same view. The neighbor'' is not easy to define in a cross-view situation. (or you can try to define it with some spatial priori) A2: the local views are fed into the teacher network to contribute to the selfpatch loss, i.e., the loss from the same view mentioned before, which may not be a must and may accelerate the convergence. A3: loc=True'' means aggregating the neighbor's features, which is enabled in the teacher network. E.g., the i^th patch of the teacher network aggregates its neighbor's features. In the student model, we do not aggregate them. Then, we maximize the similarity between the student's i^th patch and the teacher's i^th patch (it includes the neighbor's features) to model the patch-level representations.
I hope the above opinion may help u.

Hi @yanjk3, Thank you very much for the answers, I really appreciate it. It makes more sense now that I know the authors made a slight modification to the original DINO

Hi @yanjk3, When I use eval_knn.py from original dino to evaluate selfpatch, it says:
size mismatch for pos_embed: copying a param with shape torch.Size([1, 196, 384]) from checkpoint, the shape in current model is torch.Size([1, 197, 384]).
Do you have any ideas on how can I fix it? Thank you

This is because the selfpatch checkpoint does not contain the CLS token. Therefore, the position embedding's size is mismatched. In selfpatch, the CLS token is in the SelfPatchHead https://github.com/alinlab/SelfPatch/blob/main/selfpatch_vision_transformer.py#L362, so the ViT backbone does not need the CLS token.
I think you can fix it by modifying the dino's ViT codes https://github.com/facebookresearch/dino/blob/main/vision_transformer.py#L147 from self.pos_embed = nn.Parameter(torch.zeros(1, num_patches + 1, embed_dim)) to self.pos_embed = nn.Parameter(torch.zeros(1, num_patches, embed_dim)).
And then you should exchange line 202 and line 205.
However, as the selfpatch checkpoint does not contain the CLS token, the ViT model will randomly initialize a CLS token and lead to a potential performance drop. I think you can use a global average pooling on the last transformer block to get the global feature representation of images instead of using the CLS token.

Hi @yanjk3, thank you for your answers. Could you demonstrate how I can use a global avg pooling on the last transformer blocks?

You should make sure you delete the CLS token in the ViT first. And then, you can insert
x = x.mean(dim=1)
after the
x = self.norm(x)
and then return the x

Hi @yanjk3, I already took your advice, but it appears that the accuracy is 3% less than it was for the original DINO under the same settings for eval knn.py. What solutions do you have for this? How can accuracy be checked more accurately? Is it better to check from eval linear.py or eval knn.py? Thanks

To overcome the performance drops, I recommend copying the SelfPatch ViT to the Dino ViT.
The main difference between them is:

SelfPatch uses the CA block after the ViT blocks to aggregate the global feature representations and output the CLS token.

If you use this CLS token, the performance may be improved.
But unfortunately, the released checkpoint only contains the ViT backbone. So if you want to get a precise answer, you should pre-train the entire model on your own.

Hi @yanjk3, sorry I don't really get it. What do you mean by copying SelfPatch VIT to DINO VIT?

I mean you should replace the dino vit model's code with selfpatch vit model's code.

Hi @yanjk3, do you mean adding everything you previously suggested to the code for the Dino Vit Model (vision transformer.py)?

Hi @bryanwong17. I'm having the same problem as yours. I cannot do the evaluation using eval_knn.py.
I was wondering could you find a solution for this problem?
Thanks in advance.


FASTBuildMonitor (either standalone or VSIX) does not show any activity

Hi there,
I just wanted to give FASTBuildMonitor a go, using FBuild 0.92, and I'm not able to see any activity in the GUI during FBuilds started with the "-monitor" switch. I do see however, that a proper monitoring log file is being written to %TEMP%\FastBuild\FastBuildLog.log which is permanently in use by the monitor process and can not be deleted, only after closing the monitor. This indicates that the monitor really tries to parse the log file, but it does not show any information in the GUI. Which, by the way, is very stubborn in immediately switching any tab to the first one, one second after clicking the settings tab or the filter tab.
I just followed the instructions in the README to install it, even built it with VS2015, the behaviour is the same. Anything I'm doing wrong?

Since I pushed a new parsing fix in v1.021. Could you please try and let me know if you still get the issue?

Hi Yassine,
sorry for stopping by so late, so I tried your newest release and the issues seem to be gone now, thank you.
Cheers ;)


Softer highlighing colors

It looks like a neon right now…
Take #15 into account.

Done in 1cfd2a4566f1c232584c8e036362bef4f5382c7d


Only show current thread in Run Panel

When Debugging a C++ program, I'll place a breakpoint and the debugger stops when it gets there.  Because I am debugging a large program, many threads are listed in the Call Stack Panel.  Most threads show "PAUSED" and one shows "PAUSED ON STEP".  The one that shows "PAUSED ON STEP" is the one that hit my breakpoint and is usually the only one that I care about (e.g., for the call stack, etc.).
My feature request is to be able to hide all the threads that are not "PAUSED ON STEP".  That is, hide all the other threads in the panel.  Note also that the PAUSED ON STEP thread does not always automatically appear (i.e., scrolled-to) in the panel when the debugger stops on it, and sometimes is not the only thread expanded in the tree, making it a little harder to find in the list.  So this feature would help this.  It may also speed up debugging by not needing to get the information for (or update the display for) all the other threads that are not displayed.
I expect there will still be times when I will need to see all the other threads, but for me, this has not been very often.  I would suggest a toggle button at the top of the pane to hide/show the other threads.  And it would be nice if it could either remember the state or default to start hiding the other threads.  But other options might work too, such as initially hiding all the other threads, but have an item in the list to click to list all the other threads (that would also serve as an indicator that not all threads are currently being displayed).  Etc.

I have also noticed that it can be tricky to locate the current thread because the threads that were current or manually expanded at the previous stop stay expanded. I am not sure if some users rely on the position of threads in the list or do take advantage of the expanded-once-expanded-always feature (like with variables), but perhaps the current thread could at least be bolded or otherwise highlighted in place without more substantial UI changes, so it is easy to spot?

/duplicate #116109


[spark]Fix spark write commit.force-compact parameter does not take effect

Purpose
[spark]Fix spark write commit.force-compact parameter does not take effect

Hi @waywtdcc .
We don't force full-compaction for every Spark write job.

You can re-open this if you have question.

Hi @waywtdcc . We don't force full-compaction for every Spark write job.

What is the significance of setting commit.force-compact in spark?

What is the significance of setting commit.force-compact in spark?
I have the same doubts  in flink, This options appears to only wait for the last compaction to complete. @JingsongLi


Fix for incorrect parameter ordering in functions

Ghidra's getParameters function doesn't necessarily return parameters in order, and in my example i saw that ecx register was being treated as arg0 instead of rdi register.
Before,
joern> cpg.method.name("my_copy").parameter.l.map { p => (p.order, p.code) }
res43: List[(Integer, String)] = List((1, "ECX"), (2, "RDI"), (3, "RSI"), (4, "EDX"))

After,
joern> cpg.method.name("my_copy").parameter.l.map { p => (p.order, p.code) }
res2: List[(Integer, String)] = List((4, "ECX"), (1, "RDI"), (2, "RSI"), (3, "EDX"))


V1 Release?

Hi, I was looking for a good Chinese/Japanese tokenizer in Go and stumbled across this one.
Based on the release history it seems like it looks like this library has been in use for quite a while, but it's still v0. Any reason not to issue an official v1 release?
It would also be nice to see quality metrics on the readme, if you have any. E.g. comparison to data like  https://universaldependencies.org/

Now, the API is stable, I will add more feature. And not need skip version to V1.


Add SARIF output format for report #4

Fixes #4
Hello :wave:
Resources
https://github.com/microsoft/sarif-tutorials/
For this PR I used the crate serde-sarif.
Documentation available here : https://docs.rs/serde-sarif/latest/serde_sarif/
And I took inspiration from this code.
Here is my PR. Feel free to tell me where I may have done something wrong! It is the first time that I try to contribute to another project. :smile:
I tested on several report and everything should work.
The sarif_format function in cmd_report.rs is quite long. Is it an issue? Should I dispatch in multiple functions or not?
Improvements

Add commits details :  If in the future commits details will be added to blob match, I will add them. Linked to #16
Specify only used regex rules : One of the features of sarif is to specify used rules. In my case I simply added all default rules of noseyparker in the file. We could add only used rules in order to save space. I know that rules names are available but I didn't find a way to efficiently found their associated regex, in the report code scope.

Tools
Here is a tool allowing to try to read SARIF files : https://microsoft.github.io/sarif-web-component/
And there is also the VSCode extension Sarif Viewer : https://marketplace.visualstudio.com/items?itemName=MS-SarifVSCode.sarif-viewer
Examples
I tried in several repositories, and everything seems ok.
Here is an example for CPython :

SARIF Template example for NoseyParker
{
  "version": "2.1.0",
  "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.4.json",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "noseyparker",
          "semanticVersion": "0.11.0",
          "rules": [
            {
              "id": "RULE_NAME",
              "name": "RULE_NAME",
              "shortDescription": {
                "text": "REGEX_RULE"
              }
            }
            ...
          ]
        }
      },
      "results": [
        {
          "message": {
            "text": "Rule {} has detected a secret with {} matches.\nFirst blob id matched : {}"
          },
          "ruleId": "RULE_NAME",
          "level": "warning",
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "PATH_TO_FILE"
                },
                "region": {
                  "startLine": "STARTLINE",
                  "startColumn": "STARTCOLUMN",
                  "endLine": "ENDLINE",
                  "endColumn": "ENDCOLUMN",
                  "snippet": {
                    "text": "THE_SECRET"
                  }
                }
              }
            }
            ...
          ]
        }
        ...
      ]
    }
  ]
}

https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#toolcomponent-object
It miss some property in order to be compatible with Github.
I will add them tomorrow

Added. The only thing missing is partialFingerprints which depends on #16.

Thank you @Coruscant11! I will be looking at this soon.

Specify only used regex rules : One of the features of sarif is to specify used rules. In my case I simply added all default rules of noseyparker in the file. We could add only used rules in order to save space. I know that rules names are available but I didn't find a way to efficiently found their associated regex, in the report code scope.

Yes, good observation. The current Nosey Parker implementation saves its findings in a sqlite database, but the schema it uses was chosen for expedience rather than completeness of information. It doesn't record anything but the rule name for findings at present. So the approach you've taken is very reasonable.

The CI / Tests failure is from the tests needing to be retrained. I'll take care of it.
More detail:
cargo test will reproduce the failure locally. I've been using cargo insta for some of the testing as well. Specifically, there are some tests there than check that the command-line help has not changed. (Not that it's bad if it does, but it's something I want to know about when it happens, hence the test case.)

I was just about to merge, but then noticed that VSCode's SARIF viewer extension was not working properly in some cases when Nosey Parker's SARIF output included byte-based ranges in addition to line+column-based ranges. I commented out that additional range information. Will revisit later.

@Coruscant11 thanks again—Nice work!

@bradlarsen Thank you too for your changes! Very interesting to see all things that I forgot. Will try to keep that in mind as much as possible in the future :smile:

You didn't really forget anything—all good!


Fine Tune

Seems on the fine tuning that several container types are not available. The script also fails on SP2013.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: aff8221d-8995-2bd1-9ab4-e0043afe1c5f
Version Independent ID: 2b157758-daa4-dad2-5edb-891e421d921f
Content: Manage the Distributed Cache service in SharePoint Server
Content Source: SharePoint/SharePointServer/administration/manage-the-distributed-cache-service.md
Service: unspecified
GitHub Login: @Techwriter40
Microsoft Alias: kirks

Thank you for finding this Koen. The topic is now fixed and republished.


Template missing

Issue Summary
After install Postleaf. I can use admin panel. But it said that:
Application Error
Template missing: blog.hbs

postleaf.test

I check and there is no range themes folder; nothing in /app/content/themes folder.
Steps to Reproduce
Install app as the README.
Additional info
I use Postleaf both HEAD ver and 1.0.0-beta6/ commit 4c4a656
node -v
v6.3.1

npm -v
3.10.3

php --version
PHP 5.6.24-0+deb8u1 (cli) (built: Jul 26 2016 08:17:07)

lsb_release -d
Description:	Debian GNU/Linux 8.5 (jessie)

You have to install the range theme when you build. This is included in the dist, and will be included as part of the build process after beta.

Done. Thank you.

I added a note about this to the readme to make this more clear.


MCP2515 wrong BRP value

Describe the bug
There is a wrong BRP register calculation for mcp2515 after  8b6c1bd4b7a0 commit (zephyr-v2.5.0).
In previous versions(like  zephyr-v2.4.0)  for this calculation was used the formula from datasheet: uint8_t brp = (dev_cfg->osc_freq / (bit_length * bitrate * 2)) - 1; It's equal to uint8_t brp = prescaler - 1;
But after  8b6c1bd4b7a0  we have:  uint8_t brp = timing->prescaler;. And it's a wrong value for MCP2515 BRP register.
When I use uint8_t brp = timing->prescaler;( line 336 can_mcp2515.c) I can't work with CAN.
And if I change it to uint8_t brp = timing->prescaler - 1;, everything works fine for me.
But in my case timing->prescaler is always bigger than 1.

@ustinov-dev perhaps you could send a PR with a fix?

I have done PR #34161


Function app settings screen does not take full width

There is unused space on the right side of the screen. The content should be extended to take it up and match the padding on the left.

I don't think we want to do this because otherwise the blue buttons will extend way too far on a large horizontal screen.  In this case, I think having a fixed width is actually better.

I don't believe this came up during the UX review either. I'll close this bug


api docs improvements and additions

added async and metering API docs
improved data subscriber and data ingestion API response formats

Merging temporarily. If further changes needed, please add to this branch merge it again to master.


BUG: PyAEDT API Maxwell 2D parametrics variable unit issue in 24R1

Before submitting the issue

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

Description of the bug
Hello engineers,
I am runing the example named 'Maxwell2D_DCConduction'.
In the 'parametric sweep' section, the sweeping variable 'materialindex' induced an error showing that the unit of this variable is different from the variable definition. However, this 'materialindex' is an integer which does not have any unit in the definition. I tried 'str()' to set the sweeping values, but it did not work. Other variables with units work fine for the 'parametrics' API.
I attached the code and error message.
Look forward to your reply.
Best regards,
Leo Liu

Error_code.txt
Steps To Reproduce
Run the attached error code in Maxwell 24R1 ->Tools ->Toolkit ->PersonalLib ->PyAEDT ->Run PyAEDT Script
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
anyio==4.2.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
Babel==2.14.0
beautifulsoup4==4.12.3
bleach==6.1.0
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
colorama==0.4.6
comm==0.2.1
debugpy==1.8.0
decorator==5.1.1
defusedxml==0.7.1
executing==2.0.1
fastjsonschema==2.19.1
fqdn==1.5.1
idna==3.6
ipykernel==6.29.0
ipython==8.20.0
ipywidgets==8.1.1
isoduration==20.11.0
jedi==0.19.1
Jinja2==3.1.3
json5==0.9.14
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.9.0
jupyter-lsp==2.2.2
jupyter_client==8.6.0
jupyter_core==5.7.1
jupyter_server==2.12.5
jupyter_server_terminals==0.5.2
jupyterlab==4.0.11
jupyterlab-widgets==3.0.9
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.2
MarkupSafe==2.1.4
matplotlib-inline==0.1.6
mistune==3.0.2
nbclient==0.9.0
nbconvert==7.14.2
nbformat==5.9.2
nest-asyncio==1.6.0
notebook==7.0.7
notebook_shim==0.2.3
overrides==7.6.0
packaging==23.2
pandocfilters==1.5.1
parso==0.8.3
platformdirs==4.1.0
prometheus-client==0.19.0
prompt-toolkit==3.0.43
psutil==5.9.8
pure-eval==0.2.2
pycparser==2.21
Pygments==2.17.2
python-dateutil==2.8.2
python-json-logger==2.0.7
pywin32==306
pywinpty==2.0.12
PyYAML==6.0.1
pyzmq==25.1.2
qtconsole==5.5.1
QtPy==2.4.1
referencing==0.32.1
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.17.1
Send2Trash==1.8.2
six==1.16.0
sniffio==1.3.0
soupsieve==2.5
stack-data==0.6.3
terminado==0.18.0
tinycss2==1.2.1
tornado==6.4
traitlets==5.14.1
types-python-dateutil==<IP_ADDRESS>40106
uri-template==1.3.0
urllib3==2.1.0
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
widgetsnbextension==4.0.9

Hi @leoleo999,
I tested the example with 2024.1 and couldn't reproduce your issue, it works as expected.
What I notice from your environment is that pyaedt is not listed, maybe you didn't use pip freeze command within your virtual environment.
Please check the pyaedt version you have in your venv.
Hope this helps,
Giulia

Hi Giulia,
Thank you so much for the help. Sorry I do not know the pip freeze because I know little about python. Could guide me how to insert this pip freeze with some tutorials ?
I just learned the pyaedt by running those Maxwell examples with APIs online in our website.
In addition, I was trying to reproduce the issue for you, but seems the pyAEDT GUI has been changed as shown below:
@.***
I remember there is one more option named ‘Run RpyAEDT Script’ between the ‘Jupter’ and ‘Run_PyAEDT_Script’. And it navigates me to the code file location. But now it disappeared after I install the PyAEDT.
Is there any tutorial for this updated difference ? How can I run the downloaded examples.

Look forward to your reply.
Best regards,
Leo Liu
From: gmalinve @.>
Sent: Tuesday, March 5, 2024 8:09 AM
To: ansys/pyaedt @.>
Cc: Leo Liu @.>; Mention @.>
Subject: Re: [ansys/pyaedt] BUG: PyAEDT API Maxwell 2D parametrics variable unit issue in 24R1 (Issue #4300)
[External Sender]
Hi @leoleo999https://github.com/leoleo999,
I tested the example with 2024.1 and couldn't reproduce your issue, it works as expected.
What I notice from your environment is that pyaedt is not listed, maybe you didn't use pip freeze command within your virtual environment.
Please check the pyaedt version you have in your venv.
Hope this helps,
Giulia
—
Reply to this email directly, view it on GitHubhttps://github.com/ansys/pyaedt/issues/4300#issuecomment-1979123792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGJ56Q3XELSM7BPIUX4ECLTYWXUYPAVCNFSM6AAAAABD6UB6JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGEZDGNZZGI.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Giulia,
I re-installed and updated the PyAEDT , and the issue was resolved! The API works too.
Amazing.
Thank you so much.
Leo Liu
From: gmalinve @.>
Sent: Tuesday, March 5, 2024 8:09 AM
To: ansys/pyaedt @.>
Cc: Leo Liu @.>; Mention @.>
Subject: Re: [ansys/pyaedt] BUG: PyAEDT API Maxwell 2D parametrics variable unit issue in 24R1 (Issue #4300)
[External Sender]
Hi @leoleo999https://github.com/leoleo999,
I tested the example with 2024.1 and couldn't reproduce your issue, it works as expected.
What I notice from your environment is that pyaedt is not listed, maybe you didn't use pip freeze command within your virtual environment.
Please check the pyaedt version you have in your venv.
Hope this helps,
Giulia
—
Reply to this email directly, view it on GitHubhttps://github.com/ansys/pyaedt/issues/4300#issuecomment-1979123792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGJ56Q3XELSM7BPIUX4ECLTYWXUYPAVCNFSM6AAAAABD6UB6JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGEZDGNZZGI.
You are receiving this because you were mentioned.Message ID: @.***>


Support imus in gui

Fixes issue #0
Brief summary of changes
IMUs on a model are now shown under the Other Components node in the navigator where they can be selected, shown/hidden. Also the Tools that use Analyses (e.g. Analyze, ...) now have a new option for IMUDataReporter where  by default IMU signals are reported for IMUs on the model, or can be reported for user specified Frames.
Testing I've completed
CHANGELOG.md (choose one)

no need to update because...
updated...

Will wait for core PR to get merged, have this PR build then have users test/try-out before merging.

@carmichaelong @nickbianco @jenhicks The artifact build of this PR has all the IMU related changes and is ready for testing

This has been approved by @carmichaelong in dev meeting, so merging. Thanks @carmichaelong


Makefile:43-45: Look for CLUSTER=true option in order to...

The puzzle 37-c1c0b2c2 from #37 has to be resolved:
https://github.com/h1alexbel/srdataset/blob/013737466507cb86559fb1544dd48fd6e9ba9295/Makefile#L43-L45
The puzzle was created by @h1alexbel on 21-Jun-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 37-c1c0b2c2 has disappeared from the source code, that's why I closed this issue.


False positive http-crawl-non_statics with Nextcloud Mail App

(similar to #669)
Using the Nextcloud Mail App bans me with http-crawl-non_statics.
Looks like sth. like mail/api should be added to the whitelist?
Here is the Output of cscli alerts inspect:
Loz: edit edt edit.

Thanks for your attention.
I checked them before and these are only public accessible addresses like UPS delivery, some info addresses of shops etc.
Nothing private leaked here.

I will find time today to push an update for you and other linked issue


New Design

I am planning on redesigning the UI interface in sketch, also @machester4 just wondering if we can change the tool name to some thing like ScreenTime etc because it's very hard to find this project in github and it's not very clear what the tool does just by the name.

Hi @Ashraf-Ali-aa , it's good to see you here.
I think it's a great idea to create Sketch or Figma, i don't have good design skills so if you could work on that that would be great, I agree to change the name but I would not know what would be the most correct name for the tool.


fix: cis checks validate (api-server, controller-manager, scheduler and etcd) args

Description
cis checks validate (api-server, controller-manager, scheduler and etcd) args
args might appear together with command or placed with the separate args field
this change check for args in both fields command and args

Related https://github.com/aquasecurity/trivy/issues/6127

@simar7 please review this PR

@simar7 could you please cut a new release so the updated checks could be consumed by trivy

@simar7 could you please cut a new release so the updated checks could be consumed by trivy

Yes https://github.com/aquasecurity/trivy-checks/pkgs/container/trivy-policies/204711166?tag=0 was published.


add support : learn.justdjango.com

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
India
Example URLs
https://learn.justdjango.com/courses/django-ecommerce/project-setup
Description
please add support for this site/url
it provides playlist video
video hosted on vimeo
Verbose log
[debug] Command-line config: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-Uv', 'https://learn.justdjango.com/courses/django-ecommerce/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.07.24 (exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg N-102564-g2261cc6d8a, ffprobe N-102564-g2261cc6d8a
[debug] Proxy map: {}
Current Build Hash 917f7ada880ca33728e445567e6ae96022cd2ffa22cd7befe1f80e0a7fb3bbf7
Updating to version 2021.12.27 ...
Updated yt-dlp to version 2021.12.27
ERROR: The program must exit for the update to complete

Try passing cookies

how to share cookies? can you please provide any email

Try passing cookies (and show its verbose)

I meant, pass cookies to yt-dlp, not to share with us
--cookies FILE                   Netscape formatted file to read cookies
                                 from and dump cookie jar in
--cookies-from-browser BROWSER[+KEYRING][:PROFILE]
                                 The name of the browser and (optionally)
                                 the name/path of the profile to load
                                 cookies from, separated by a ":". Currently
                                 supported browsers are: brave, chrome,
                                 chromium, edge, firefox, opera, safari,
                                 vivaldi. ...

[debug] Command-line config: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-Uv', '--cookies', "'justdjango_cookies.txt'", 'https://learn.justdjango.com/courses/django-crash-course/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg N-102564-g2261cc6d8a (setts), ffprobe N-102564-g2261cc6d8a
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [generic] Extracting URL: https://learn.justdjango.com/courses/django-crash-course/
[generic] django-crash-course: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] django-crash-course: Downloading webpage
[generic] django-crash-course: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://learn.justdjango.com/courses/django-crash-course/
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1353, in wrapper
File "yt_dlp\YoutubeDL.py", line 1423, in __extract_info
File "yt_dlp\extractor\common.py", line 599, in extract
File "yt_dlp\extractor\generic.py", line 3829, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://learn.justdjango.com/courses/django-crash-course/

Here is the output

@Ex-Communicad0 I can't guarantee that I will be able to add this but if u want me to take a look then fell free to email me the details.
<EMAIL_ADDRESS>


Change event location to dynamic text/url

Created GetLocation dynamic constant to insert either Typography or Link tag from Material UI.
Used GetLocation in EventDetailsPage and CalendarPage (Event Card)
Closes #178

lgtm too


Added kill to Windows

Fixes #3763

libc is in general not an abstraction layer attempting to provide POSIX APIs on non-POSIX platforms. While libc does attempt to abstract over minor differences between POSIX platforms so that callers don't have to deal with those differences, that doesn't extend to things like implementing a POSIX API layer atop Windows.
This level of abstraction would be the realm of a different crate.


⚠ Bofrost.lu has degraded performance

In f23948c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2582 ms

Resolved: Bofrost.lu performance has improved in ee0a390 after 7 minutes.


docs(application): update README

 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.


fix #721 - .proxy on / .proxy off commands in REPL have no effect

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 87.407%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
3064

Relevant Lines:
3545

💛  - Coveralls