Signature validation fails if the payload contains an emoji

This is the code:
      var payload = JSON.stringify(req.body);
      var utf8safe = unescape(encodeURIComponent(payload));
      var hash = crypto.createHmac('sha1', secret).update(utf8safe).digest('hex');

Removing the utf8safe conversion fixes this, but are there any other concerns if that is done?
      var payload = JSON.stringify(req.body);
      var hash = crypto.createHmac('sha1', secret).update(payload).digest('hex');

There were UTF8 characters such as accents that failed to validate without that line...
Try validating the following message with and without that line:  "àn àccent is hàrd to pàrse".
Odd that emoji's don't work but accents do work...

@michaelkantor I did test out some accented characters and it works (without the utf8safe conversion). I think Layer must be calculating the hash correctly for special characters (including Emoji) for the signature header now.

Baffled.  Server engineer says nothing has changed, and he does remember the issue that required that line to be added.  So.  Lets work through a few possibilities.  To be clear, that line WAS added because certain UTF8 characters would cause validation to break.  Removing it should not be necessary, nor a valid option.

Put in logging when you change it to sanity check that its running with/without that line; sorry, but your result is unexpected and I want to insure sanity checking is done.
Is there anything in your system settings that may differ from others who have run this test?  Its a pain, but see if you can find any system settings for language, string types, etc... that may be non-standard.  Try setting en-us as your OS language, etc... and see if that changes anything.  Thats not a solution, but it would be good to know if somehow a difference in your environment contributes to changes in outcome.
Test with a range of UTF characters.  Do ALL emojis fail, or only the more recently added emojis?  Do lower value UTF-8 characters pass for you and higher value fail?

Sorry that this is a pain...

+1 We are having this issue too.

FYI we have some team members in Israel that had this issue and the solution was to make sure English is preferred language and to set Region to United States.

@nihalgonsalves Can you verify that this addresses your problem?  I don't like relying on this, but if this solves it, then we can work towards a long term solution with a better understanding of the problem.

@michaelkantor I'm using a Docker container (node:6) so I doubt that it would matter, but I will check the container's locale again as well as verify the points you asked about earlier.
Stripping away the unicode characters during an integrity/signature check seems like a terrible idea, especially if it additionally depends on the system locale.

This does not strip them away; this insures that they are converted to a state comparable to the state the server has when IT generates the key.  What may  be needed is a way in node to test the environment settings and conditionally run that one line.

Hey @michaelkantor I thought we had the fix (by changing region) but it is still an issue. Did something change on Layer Server's auth signature lately? We didn't have these problems until recently.
This is a rough issue because it causes messages to be dropped and for the webhook to stop sending messages.

+1 This issue is impacting us as well

+1 for us as well

Wow.  Message is heard.  Let me see what I can figure out here.  The big challenge on my end will be replicating this in my environment.  I'll see if I can get this prioritized for next week.

@michaelkantor Try sending messages from the server that include one of these characters
const NOTE_ICON           = '\u{1F4DD}';
const RACKET_ICON         = '\u{1F3D3}';
const CONSTRUCTION_ICON   = '\u{1F477}';
const BOOKS_ICON          = '\u{1F4DA}';
const PHONE_RECEIVER_ICON = '\u{1F4DE}';
const LMK_ICON = '\u{1F4E2}';
const MOVIE_ICON = '\u{1F3A5}';
const WINEGLASS_ICON = '\u{1F377}';
const CHERRY_ICON = '\u{1F352}';
const CHECKMARK_ICON = '\u2705';

Also try copy / pasting a single quote character from a Google Word Doc and send that in a string. They are a different character than the normal single quote.
Let me know if that helps.

@michaelkantor
Here is the single file I'm using (extracted from the app I'm building) to test out this stuff. Try running it in a Docker node container to have a consistent environment / locale.

import url from 'url';
import path from 'path';
import crypto from 'crypto';
import express from 'express';
import bodyParser from 'body-parser';

const app = express();

app.get('/webhook', (req, res, next) => {
  const challenge = req.query.verification_challenge;
  if (challenge) {
    console.log('Received verification_challenge from Layer server.');
    res.status(200).send(challenge);
  } else {
    next();
  }
});

const verify = (req, res, next) => {
  const payload = JSON.stringify(req.body);
  // const utf8safe = unescape(encodeURIComponent(payload));
  const hash = crypto.createHmac('sha1', secret).update(payload).digest('hex');
  const signature = req.get('layer-webhook-signature');
  if (hash === signature) {
    next();
  } else {
    console.error('Incoming webhook signature invalid.');
    res.sendStatus(403);
  }
};

const webhookParser = bodyParser.json({ type: 'application/vnd.layer.webhooks+json' });

app.post('/webhook', webhookParser, verify, (req, res) => {
  // ... do something ...
  res.sendStatus(204);
});

app.listen(8000, () => console.log('Running.'));

@michaelkantor Can you please let us know where this stands? We have reverted to code that we know previously worked and the problem persists. This is a production grade issue for us, and we think this indicates a change in the signing of the server.
When can we expect an estimation for a timeframe for this issue?

@michaelkantor @nihalgonsalves @sk-eran
I may have found something. What version of node are you guys running?
On node 4.1.2 I am not seeing this issue. On node 7.7.1 I am seeing this issue. Could the crypto package have changed? Or something else to do with encoding? Or (very unlikely) somehow the unescape or encodeURIComponent methods?
Can you guys confirm what I'm seeing with different node versions?

@sk-eran Verified report from @lisbakke that there is a clear change in behavior based on node version.  Going to see if I can address this.

@michaelkantor Thanks! Waiting eagerly for your update :)

@sk-eran @lisbakke @nihalgonsalves npm has been updated; marking this as closed... pending feedback telling me I've missed something.
Node versions up to version 5 required special handling for calculating the signature; versions 6 and up did not need this.

Nice one @michaelkantor!!! 1.0.7 Fixes it!

Thanks!!!!!


Disappearing slides

short description of the bug / issue, provide more detail below.
Please please please please please look at my site link, not just the jsfiddle.
I beg you.

When I create a slick animation on a page on my site, it does not throw any javascript errors, but it only shows the first image in the animation. 2 - n are invisible, and when it comes around to 1 again, I can see it. Also, for some reason, implementation of slick makes the containing div really really really long. Am I supposed to be constraining the height?
See, if you would please just look at it in situ:
https://www.star.nesdis.noaa.gov/G16Mobile/slickTest.php
and here's the more or less worthless jsfiddle:
https://jsfiddle.net/lorikay4/a7sw15c4/
Does slick not play well with Bootstrap? ElevateZoom? Fancybox?
I can't replicate the disappearing slides behavior in jsfiddle, but I really can't figure out what in my site code is making the slides disappear.
If you need to be paid for your time, I would do that. If I can't figure out how to get this to run, I'll have to chuck it, and it looks like a good carousel in demos. Please help me.
What is the expected behaviour?
seeing all the bloody slides.
====================================================================
Slides 2 through n are not visible, but seem to be animating.

Latest Chrome, Latest Firefox.

Which jQuery/Slick version are you using?
JQuery 2.1.4, Slick 1.9, Slick 1.8.1

Did this work before?
I have only gotten it to work in JSFiddle, not on my site.

Aha!
The culprit appears to be this .css file:
I'm going to try to figure out what the problem code is, but if it is at all obvious to you which directive in this css is screwing things up, I would be very grateful for any insight:
/* Main STAR Stylesheet updated to make simpler version for GOES-East site 5/26/2017 */
html {
margin: 0px;
padding: 0px;
color: #000;
}
body {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
color: #000;
}
#wrap {
background: #fff;
margin: -1em auto 2em auto !important;
width: 96%;
max-width: 1800px !important;
}
#main {
padding: 0px;
}
/* the class below exists to separate #main from the div carrying the padding. /
/ mainNoNav is the version for a page that has no navigation panel which is therefore full width */
#main div.mainInner {
padding: 3px 10px !important;
}
/* these next three styles are to prevent overly wide page elements from breaking the layout.
Other elements may be added, but the worst offenders are typically these three */
html>body div.mainInner img {
max-width: 100%;
height: auto;
}
html>body div.mainInner div {
max-width: 100%;
height: auto;
}
#footer {
clear: both;
}
#skipNav {
position: absolute !important;
top: 5.0em !important;
left: 55em !important;
margin: 0px;
padding: 0px;
width: 13em;
height: 2em;
font-weight: bold;
display: block !important;
}
/* trying to fix bad IE6 behavior */

html #navContainer, * html .leftCol, * html .rightCol {
margin-right: -3px;
}

html .leftCol, * html .rightCol {
overflow-x: hidden;
}

/* End of position.css ---- START of leftNav.css /
/ #leftNav styles were here /
/ end of removal of #leftNav styles /
/ end of leftNav.css --- start of main.css */
/* CSS Document Plain /
/  styles for unspecified tags *************************/
form {
margin: 0px;
padding: 0px;
}
a:link {
color: #536BA8;
}
a:visited {
color: #616161;
}
a:focus, a:hover, a:active {
text-decoration: underline;
color: #93052A;
text-decoration: none;
}
a img {
border: 0px;
}
td {
vertical-align: top;
}
/* 'unclassed' version of bullet style to ease implementation. */
/* marker for removal of unstyled ul li to protect bootstrap nav styling */
ol li {
margin-top: 8px;
line-height: 140%;
}
hr {
padding: 0px;
border: 0px;
color: #666;
background-color: #666;
height: 1px;
text-align: left;
}
ul.tighter li {
margin: 0px 0px 5px 0px;
}
ul.noMarker {
margin: 5px 0px 0px 6px;
padding: 0px;
}
ul.noMarker li {
margin-top: 6px;
margin-right: 10px;
list-style-type: none;
padding-left: 6px;
background-image: none;
}
/* presentation styles for footer content - removed for GOES16 - in local.css for this site /
/ end of presentation styles for the footer content */
p {
font-size: 1em;
line-height: 150%;
margin: 6px 0px 6px 0px;
}
h1 {
color: #536BA8;
margin-top: 2px;
padding: 0px;
font-size: 1.45em;
letter-spacing: -0.03em;
font-weight: bold;
text-align: left;
}
h2 {
font-size: 120%;
font-weight: bold;
color: #282888;
margin: 12px 0px 0px 0px;
}
h3 {
font-size: 110%;
font-weight: bold;
color: #000;
margin: 16px 0px 0px 0px;
}
h4 {
font-size: 100%;
font-weight: bold;
color: #666;
margin: 6px 0px 0px 0px;
text-align: left;
}
h5 {
font-size: 100%;
font-weight: bold;
color: #000;
margin: 8px 0px 0px 0px;
text-align: center;
}
div.clearing {
clear: both;
font-size: 0px;
padding: 0px;
margin: 0px;
height: 0px !important;
}
ul.breadcrumbs {
padding: 0px 2px 6px 2px;
margin: 0px 0px 10px 0px;
border-bottom: 1px solid #666;
}
ul.breadcrumbs li {
list-style-type: disc;
color: #536BA8;
margin: 0px;
font-weight: bold;
font-size: 0.9em;
display: inline;
padding: 1px;
background-image: none;
}
img.bordered {
border: 1px solid #666;
}
h3.noscriptWarning {
padding: 6px;
margin: 6px 2px 6px 2px;
border: 1px solid red;
color: red;
background-color: #fff;
font-size: 1em;
line-height: 130%;
text-align: center;
}
/* end of main.css */

These style directives were killing slick:
html>body div.mainInner img {
max-width: 100%;
height: auto;
}
html>body div.mainInner div {
max-width: 100%;
height: auto;
}
I think I can live without them, they are the sort of thing that was done for a problem that is (apparently) no longer a problem. I don't really understand why this blows things up, but trust me, it is definitely the culprit.

I'm having the same issues as you are but I can't figure out what's causing my slides to disappear. I've commented out all of the css I'm using apart from what Slick requires and I'm still getting the weird behavior.
I can't find the styles you're referring to in your last comment which are causing the Slick to fail, could you tell me what file it's in?

They were in a file from my site. You wouldn't be seeing them.
On Thu, Jun 28, 2018, 8:42 PM Linlin Huang<EMAIL_ADDRESS>wrote:

I'm having the same issues as you are but I can't figure out what's
causing my slides to disappear. I've commented out all of the css I'm using
apart from what Slick requires and I'm still getting the weird behavior.
I can't find the styles you're referring to in your last comment which are
causing the Slick to fail, could you tell me what file it's in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kenwheeler/slick/issues/3487#issuecomment-401214268,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AESCOy1yV_TSotr4xUDcRQ3CJE8RYrEFks5uBXgRgaJpZM4U6hzL
.


added IDs to make tests work more arbitrary and fixed tests to be E2E

Overview
This PR includes the following proposed change(s):

New IDs to some Activity Components
Fixed tests and added folders to ignore list
Fixed bug for testing where it would skip a whole section of the test because of Geolocation thing

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Screenshots
Please add any relevant UI screenshots if applicable.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

/rebase


KV260 and Vitis-AI 3.5 compatibility

Is it possible to run Vitis-AI 3.5 (and so, yolov7 and yolov8) on the KV260 target?
In board_setup folder, there is only v70 and vek280.
in 3.0, there was also a mpsoc folder (that was to be used for KV260).
Will KV260 be made compatible later on?
Or can I for now compile it by myself to be able to use Vitis-AI 3.5 on KV260? If so, how?
Or use the installation from 3.0? If so, will I be able to use yolov7 or yolov8?
Or is KV260 considered obsolete and will not be maintained anymore?
Thank you

I now saw on this documentation page:

Vitis AI 3.5 supports the VEK280 Evaluation Board and the V70 Development Card for AI Inference.
For the following evaluation boards, refer to Vitis AI 3.0:
AMD Zynq™ UltraScale+™ MPSoC ZCU102 Evaluation Board
AMD Zynq™ UltraScale+™ MPSoC ZCU104 Evaluation Board
AMD Versal™ VCK190 Evaluation Board
AMD Kria™ KV260 Vision AI Starter Kit
AMD Versal™ VCK5000 Development Card

Does it mean I should also only use code (and models) of 3.0 on KV260?
Or just that I have to install following the instructions of 3.0, but can run 3.5 models on it?

I think you can check this document for that question.
https://xilinx.github.io/Vitis-AI/3.5/html/docs/workflow.html
they said this :
**Vitis™ AI 3.5 supports Zynq™ Ultrascale+™ and Versal™ AI Core architectures, however the IP for these devices is now considered mature and will not be updated with each release. Users should understand that we will continue to support these targets into the future and Vitis AI will update the pre-built board images and reference designs for these architectures with each major release (ie, 4.0).
For minor releases (x.5), users wishing to leverage these architectures have two choices:
Leverage Vitis™ AI 3.0 for initial evaluation and development.**
Build a custom board Petalinux image for their target leveraging the Vitis AI 3.5 runtime and libraries.
I use vitis 3.5 for my ultrascale+ board and tools are working like quantizer or some make make models for dpu flow.
but you'd better use 3.0 branch if you want to use pre-built board setup files.

Yes, we fully anticipate that the Vitis AI 3.5 release is compatible with ZU+ targets, however, with the 3.5 release we did not do extensive testing, benchmarking nor do we provide pre-built images for those targets.  We will update ZU+ targets with the 4.0 release.  Keep in mind that there were no updates to the DPU IP with 3.5, so it should be very feasible to update the Petalinux image with the latest VART and VAIL versions.

Thank you for your answers.
I'll try to update the Petalinux image.

@iraadit Please note that the packagegroup-petalinux-vitisai has not yet been released.  However, the package group is simply a matter of convenience, and the availability of that package does not stop users from building their own image.  If you look closely at that package group, you will quickly see that the package group is simply invoking BitBake to build the various components of Vitis AI.  In fact, the Vitis AI repository provides the required BitBake recipes for the same components (albeit discretely) that are included in the package group.  For instance, here is the BitBake recipe for the vitis-ai-library:
Vitis-AI/src/vai_petalinux_recipes/recipes-vitis-ai/vitis-ai-library/vitis-ai-library_3.5.bb at master · Xilinx/Vitis-AI (github.com)
The instructions to integrate these packages are quite simple and are provided in the Github.IO documentation:
DPU IP Details and System Integration — Vitis™ AI 3.5 documentation (xilinx.github.io)
Note!  There is an error in the above documentation that we just noticed this week and I will work on fixing it next week.  Specifically, you can see that Step 5 tells the user to run petalinux-build, but the command that is listed is:
cp Vitis-AI/src/petalinux_recipes/recipes-vai-kernel /project-spec/meta-user/
Somehow this documentation became muddled in the more recent release.
This older link contains some information that is not found in the latest documentation.  I have some work to do to fix the latest docs and fix this...
https://github.com/Xilinx/Vitis-AI/tree/2.5/setup/petalinux
You will need to use PetaLinux 2023.1 to build an image for Vitis AI 3.5 as there have been updates to packages such as OpenCV in the base PetaLinux image that will not be pulled in if you try to use an older version of PetaLinux with these recipes.

Hi @iraadit ,
Sorry for the delayed answer, I worked on other subject and had long holidays.
Did you have the opportunity to update the documentation?
I think I successfully built  PetaLinux 2023.1 for Vitis AI 3.5, here are my notes:

Set Up PetaLinux Working Environment
See https://docs.xilinx.com/r/2021.1-English/ug1144-petalinux-tools-reference-guide/Steps-to-Set-Up-PetaLinux-Working-Environment
See https://xilinx.github.io/Vitis-AI/3.5/html/docs/workflow-system-integration.html#rebuilding-the-linux-image-with-petalinux
$ source petalinux-v2023.1-05012318/settings.sh
$ echo $PETALINUX

Download KV260 BSP
See https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html
$ petalinux-create -t project -s xilinx-kv260-starterkit-v2023.1-05080224.bsp
$ cp -r $PATH_TO_VITIS_AI/Vitis-AI/src/vai_petalinux_recipes/recipes-vitis-ai/ xilinx-kv260-starterkit-2023.1/project-spec/meta-user/
$ rm -rf xilinx-kv260-starterkit-2023.1/project-spec/meta-user/recipes-vitis-ai/vart/vart_3.5_vivado.bb

Edit /project-spec/meta-user/conf/user-rootfsconfig file, appending the following lines:
CONFIG_vitis-ai-library
CONFIG_vitis-ai-library-dev
CONFIG_vitis-ai-library-dbg

$ cd xilinx-kv260-starterkit-2023.1
$ petalinux-config -c rootfs

Select the following option (while leaving package packagegroup-petalinux-kria selected?):
Select user packages --->
Select [*] vitis-ai-library

petalinux-build

The full compilation log build.log is stored in the build sub-directory of your PetaLinux project. The final image, /images/linux/image.ub, is a FIT image. The kernel image (including RootFS) is Image for Zynq® UltraScale+™ MPSoC and Versal™ platform. (from https://docs.xilinx.com/r/2021.1-English/ug1144-petalinux-tools-reference-guide/Default-Image)
Generate Boot Image
See https://docs.xilinx.com/r/2021.1-English/ug1144-petalinux-tools-reference-guide/Generate-Boot-Image?tocId=3fqGlFncsr7XtKH0ay0cVA
petalinux-package --boot --u-boot --format BIN

See https://xilinx.github.io/kria-apps-docs/kv260/2021.1/build/html/docs/build_petalinux.html
petalinux-package --wic --bootfiles "ramdisk.cpio.gz.u-boot boot.scr Image system.dtb"

The generated image file will be located at images/linux/petalinux-sdimage.wic.
Tip: The generated wic file assumes a fixed partition size. The total file size is several GB but the actual usage on the ext4 partition is much lower. The file size can be significantly lower by compressing the file e.g. using gzip:
gzip images/linux/petalinux-sdimage.wic

This generates a new output file named images/linux/petalinux-sdimage.wic.gz with a file size of several MB.
Flash the image on an SD card using Balena Etcher. This image is functionally equivalent to the prebuilt wic image inside the bsp.
Write the image on the SD card trough network
We don't have access to the SD card through the Virtual Machine, so we will write on it from another host.
On the other host (user@NUC-608235):
Allow write for all on the SD card
sudo chmod a+w /dev/mmcblk1

On this machine:
cat cross_compilation_sdk/xilinx-kv260-starterkit-2023.1/images/linux/petalinux-sdimage.wic.gz | ssh user@NUC-608235 "gzip -d - | dd of=/dev/mmcblk1 status=progress"

Then, on the SD card, we have to change the fstab file, so that it mounts mmcblk1p1 (the SD card) instead of mmcblk0p1 as /boot
sudo nano /media/user/root/etc/fstab

How to connect from host to Kria

Plug the USB cable from the host to the Kria (and not the power cable, yet)

BEWARE ! Forward USB through Citrix as we are using a Virtual Desktop: open the Citrix tray on top of the screen, select "Peripheriques" and enable "Xilinx ML Carrier Card"

Check that /dev/ttyUSB0 to dev/ttyUSB3 are present (numbers could be different if another USB device was already plugged in)

Then, in different terminals, execute:

screen /dev/ttyUSB0 115200
screen /dev/ttyUSB1 115200
screen /dev/ttyUSB2 115200
screen /dev/ttyUSB3 115200

To exit: CTRL + A, D

Plug in the power in the Kria dev board

Check the different screen sessions, you should see a the Kria boot up ouptut in one of them. If nothing is displaying, try to press "Enter" in the different screen sessions

Login: petalinux
Password: root

Execute "ifconfig" in the working screen session, to get the IP address of the board. Beware, the IP address could change, you will maybe have to do this procedure again to get the IP address again.

Right now, IP address = <IP_ADDRESS>

ssh<EMAIL_ADDRESS>

Password = root

Build the SDK
See https://xilinx.github.io/kria-apps-docs/kv260/2021.1/build/html/docs/build_petalinux.html#build-the-sdk
petalinux-build -s

The resulting self-extracting shell script installer file is located at images/linux/sdk.sh.
The SDK installer script can be copied to the application developer’s host machine and installed by simply running the script. Follow the prompts on the screen.
$ images/linux/sdk.sh
PetaLinux SDK installer version 2021.1_SOM
============================================
Enter target directory for SDK (default: /opt/petalinux/2021.1_SOM): ./images/linux/sdk
You are about to install the SDK to "/opt/petalinux/xilinx-k26-starterkit-2021.1/images/linux/sdk". Proceed [Y/n]? Y

Once the SDK is installed, source the file images/linux/sdk/environment-setup-aarch64-xilinx-linux to set up the cross-development environment.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /mnt/ssd2/cross_compilation_sdk/petalinux/2023.1/environment-setup-cortexa72-cortexa53-xilinx-linux
Build a sample
On host, through SDK
$ . /mnt/ssd2/cross_compilation_sdk/petalinux/2023.1/environment-setup-cortexa72-cortexa53-xilinx-linux
# cd $PATH_TO/Vitis-AI/examples/vai_library/samples/classification
# ./build.sh

Then scp the executables on the KV260 target (using scp_executable_files.sh)
Installing the AI Library Package
See https://docs.xilinx.com/r/en-US/ug1354-xilinx-ai-sdk/Step-3-Installing-the-AI-Library-Package
$ tar -xzvf vitis-ai-runtime-3.5.0.tar.gz
$ scp -r vitis-ai-runtime-3.5.0/2023.1/aarch64/centos root@<IP_ADDRESS>:~/
$ ssh<EMAIL_ADDRESS># cd ~/dpu_sw_optimize/zynqmp/
# ./zynqmp_dpu_optimize.sh
# cd ~/centos
# sudo bash setup.sh

Running Vitis AI Library Examples on Edge
See https://docs.xilinx.com/r/en-US/ug1354-xilinx-ai-sdk/Running-Vitis-AI-Library-Examples
$ scp vitis_ai_library_r3.5.0_images.tar.gz root@<IP_ADDRESS>:~/
$ scp vitis_ai_library_r3.5.0_video.tar.gz root@<IP_ADDRESS>:~/
$ ssh<EMAIL_ADDRESS># tar -xzvf vitis_ai_library_r3.5*_images.tar.gz -C Vitis-AI/examples/vai_library
# tar -xzvf vitis_ai_library_r3.5*_video.tar.gz -C Vitis-AI/examples/vai_library

Test it
# cd ~/Vitis-AI/examples/vai_library/samples/classification
# ./test_jpeg_classification inception_v1_tf sample_classification.jpg

Installing the AI Model Package
See https://docs.xilinx.com/r/en-US/ug1354-xilinx-ai-sdk/Step-2-Installing-the-AI-Model-Package
For each model, there is a yaml file that describes all the details about the model. The yaml file contains download links for the various AMD target boards. Choose your model and the desired platform and download it.
Copy the downloaded file to the target using scp with the following command.
$ scp <model>.tar.gz root@IP_OF_BOARD:~/

If the target board is connected to the Internet, you can also use the wget command to download the model directly to the board.
Log in to the target board (using ssh or serial port) and install the model package.
If the /usr/share/vitis_ai_library/model folder does not exist on the target, create it first.
# sudo mkdir -p /usr/share/vitis_ai_library/models

Install the model on the target board.
# tar -xzvf <model>.tar.gz -C /usr/share/vitis_ai_library/models

By default, the models are located in the /usr/share/vitis_ai_library/models directory on the target.

I think I have a zorking Petalinux with Vitis AI 3.5 on KV260. At least, it is booting. :D
But my problem now is that I cannot test it. Indeed, let's take the classification example: I need to add a model to use (for example, tf_inceptionv1_3.5) on the KV260 target. However, in the `model.yaml' file, I see available models for GPU, vek280 and v70;, but no KV260. Does it mean I have also to create my own compatible model?
Can I use models from 3.0, or can I convert the GPU models to KV260?
How should I proceed from here?
Thank you for your help

I cross-compiled some example code and tried to execute it. It failed with the following error message, and I then tried to dig deeper:
$ ./test_jpeg_yolov7 yolov7_pt sample_yolov7.jpg
WARNING: Logging before InitGoogleLogging() is written to STDERR
F20230913 05:12:28.760835  1116 dpu_controller.cpp:52] Check failed: !get_factory_methods().empty()
Aborted

$ xbutil examine
System Configuration
  OS Name              : Linux
  Release              : 6.1.5-xilinx-v2023.1
  Version              : #1 SMP Fri Apr 21 07:47:58 UTC 2023
  Machine              : aarch64
  CPU Cores            : 4
  Memory               : 3931 MB
  Distribution         : PetaLinux 2023.1+release-S05010539 (langdale)
  GLIBC                : 2.36
  Model                : ZynqMP KV260 revB

XRT
  Version              : 2.15.0
  Branch               : 2023.1
  Hash                 : 64c933573e7e50a8aba939a74209590c2b739e8b
  Hash Date            : 2023-04-17 09:18:13
  ZOCL                 : 2.15.0, 64c933573e7e50a8aba939a74209590c2b739e8b

Devices present
  0 devices found
BDF  :  Shell  Platform UUID  Device ID  Device Ready*
--------------------------------------------------------

* Devices that are not ready will have reduced functionality when using XRT tools

$ dmesg | grep dpu

$ xdputil query
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20230913 05:39:56.710660  1171 xrt_bin_stream.cpp:49] Please check your /etc/vart.conf
Its format should be :
    firmware: xx
Example:
    firmware: /run/media/mmcblk0p1/dpu.xclbin
F20230913 05:39:56.710755  1171 xrt_bin_stream.cpp:53] [UNILOG][FATAL][VART_OPEN_DEVICE_FAIL][Cannot open device] open(/run/media/mmcblk0p1/dpu.xclbin) failed.
/usr/bin/xdputil: line 20:  1171 Aborted                 /usr/bin/python3 -m xdputil $*
xilinx-kv260-starterkit-20231:~/Vitis-AI/examples/vai_library/samples/yolov7$ cat /etc/vart.conf
firmware: /run/media/mmcblk0p1/dpu.xclbin

$ ls /boot
Image  boot.scr  ramdisk.cpio.gz.u-boot  system.dtb

It seems DPU is not installed / configured
First, it looks for it in /run/media/mmcblk0p1/dpu.xclbin.
However, my SD card is mmcblk1p1 (not mmcblk0p1), and has been mounted on /boot. (I also had to modify the 0 to 1 in fstab for the system to boot)
Second, there is no dpu.xclbin file in /boot.
Where should I find, or how should I create this dpu.xclbin file ?
Also, in https://github.com/Xilinx/Vitis-AI-Copyleft-Model-Zoo/tree/main/yolov7, pre-compiled models are available for VEK280 and V70, but not KV260. How should I produce/convert such model for KV260?
Thank you @quentonh

Hi @iraadit ,
Have you been able to successfully run the YOLOv7 model on the KV260 target? If so, I would greatly appreciate any guidance or instructions you can provide.
Thank you!

Hi
No, I've never been able to successfully fully install Vitis-AI 3.5 on the KV260, and sadly had to resort to Vitis-AI 3.0 (and old yolo).
My conclusion from this: better support and more easy to run new models on Nvidia Jetson.


Add Faker Library for Data Generation

Description: Integrate the Faker library into the project to generate random patient IDs and metadata for the simulated IoT devices.
Labels: Setup, Data Generation

#4


"Internal connlib error: Pending connection"

I was pinging <IP_ADDRESS> via staging on my flight, when it suddenly started timing out (maybe the internet was too slow or flapped?)
After this point, traffic to <IP_ADDRESS> continued to timeout indefinitely with Pending connection errors.

Just a clarifying question, after it reconnected how much time did you wait for this to stop?

But wait! There's more. It gets weirder. Somehow google.com started returning <IP_ADDRESS> as its IP (both for Unix CLI tools and dscacheutil). Also, dscacheutil -flushcache, quitting Firezone, and signing out didn't fix the issue (disconnecting from Wifi seemed to reset the DNS)

@conectado I waited over 10 minutes

But wait! There's more. It gets weirder. Somehow google.com started returning <IP_ADDRESS> as its IP (both for Unix CLI tools and dscacheutil). Also, dscacheutil -flushcache, quitting Firezone, and signing out didn't fix the issue (disconnecting from Wifi seemed to reset the DNS cache finally and fix the issue)

This is super weird! Will look into it

Ah, I think I know what it is, a race condition when waiting for responses on dns from gateway, I will fix it on monday


GEOMESA-996 Rename command line commands

Renamed and documented changes to command line tools commands. Commands now follow the 'verb-noun' structure and are (mostly) standardized.
Signed-off-by: Austin Heyne<EMAIL_ADDRESS>

Rest of the changes seems good to me.

Table now displays correctly and is linked as an appendix. Waiting on feedback from @jahhulbert-ccri before merge is ready.

I believe this is gtg, verified docs build properly.

@aheyne can you rebase/merge in the exportbin changes which just hit master?

Master is merged


Add TSV output

Hello,
Nextclade is a fantastic tool and has saved me tons of time.
One small request, the "Export to CSV" output seems to be using semicolons as the field separator instead of commas. This formatting does weird things if you try to import it into excel or parse it with cut.
seqName;clade;alignmentStart;alignmentEnd;mutations;totalMutations;deletions;totalGaps;insertions;totalInsertions;missing;totalMissing;totalNonACGTNs;QCStatus;QCFlags;errors
sample1;-;35;29685;C241T,C1059T,C8782T,C18060T,A23403G,A24694T,G28812T;7;23173;1;" 10163T";1;2264-2413,5953-6176,7232-7311,8336-8341,8454-8602,9649-9795,20186-20477,22341-22524,22904-23130,23519-23686,23819-23943;1741;0;Fail;missing data;
sample2;19A;36;29852;C241T,C1059T,A2480G,G11083T,G14350T,G18733T,G25991C,T28144C;8;;0;" 11084T";1;1643-2197,4299-4309,5952-6176,7112-7312,9057-9211,9579-9795,10764-11005,11944-12112,18366-18606,19609-19857,20562-20793,21163-21309,21796-21970,22343-22525,22898-23131,25364-25611,25993-26206,26587-26846,29044-29301;4197;0;Fail;missing data;
sample3;19A;36;29860;C225T,C884T,G1397A,C7979T,G8653T,C11074T,G11083T,A19073G,C21707T,A22486G,C25708T,C26895T,G27915T,T28688C,C28868T,C29077T,G29742T;17;;0;;0;20249-20252,28984-28991;10;1;Pass;;
sample4;20C;38;29859;C241T,C1059T,C3037T,C3773T,C7086T,G12662A,T14191C,C14408T,C16260T,A23403G,G23900C,A24253T,G25563T,C28821A;14;;0;;0;22405-22474;69;0;Pass;;

A "Export to TSV" option where the semicolons are replaced with tabs would be great and increase compatibility with many tools!

Hi @garfinjm , thanks for your feedback!
I added TSV export just now in #160
If I remember correctly, our primary justification for choosing ; as a delimiter was that some of the values we don't control (they come from the user) and may contain tabs. My version of Excel also gets confused by the mixture of ; and ,, so I am not against trying tab delimiter as well.
The serialization library we are using ,papaparse, should automatically quote fields in case any of them contain delimiter characters, so TSV should be safe even if, for example, sequence name contain a stray tab character. Hopefully, Excel and other tools should understand the quotation marks in this case.
Please try the new development version of the app deployed to:
https://nextclade-git-feat-tsv-export.neherlab.vercel.app/
and let us know if it works for you.
I will let @rneher to make the final judgement, double-check and merge if of okay. If approved, we can release this new version right away.

@garfinjm We released TSV exports in 0.3.7 just now.

Thanks @ivan-aksamentov and @rneher! :thumbsup:


Relax disallowing multiple words in code block / div first line?

Currently
```name
content
```

:::name
content
:::

goes to
  code_block text="content\n" lang="name"
  div class="name"
    para
      str text="content"

but
```name a
content
```

:::name a
content
:::

goes to
  para
    verbatim text="name a\ncontent\n"
  para
    str text=":::name a"
    soft_break
    str text="content"
    soft_break
    str text=":::"

This feels a little unintuitive to me. Is there a strong reason why this has to be the case?
Could the "additional" first-line content not be stored on the AST nodes?
It would then not be used in the standard HTML renderer,
but could be used by macros

Let's see what GFM does with it:
hi

I've revised my note above.

(thanks as always for the rabid replies!)

rabid :dog2:
Pandoc doesn't store these in the lang attribute; it adds them as classes. (This is the way it has always behaved, and changing it now is probably not a good idea.)

rabid 🐕

😆 🤦♂

Pandoc

https://pandoc.org/try/?params={"text"%3A"```a+b\ncontent\n```\n\n%3A%3A%3Aa+b\ncontent\n%3A%3A%3A"%2C"to"%3A"json"%2C"from"%3A"markdown"%2C"standalone"%3Afalse%2C"embed-resources"%3Afalse%2C"table-of-contents"%3Afalse%2C"number-sections"%3Afalse%2C"citeproc"%3Afalse%2C"html-math-method"%3A"plain"%2C"wrap"%3A"auto"%2C"highlight-style"%3Anull%2C"files"%3A{}%2C"template"%3Anull}

This is the way it has always behaved, and changing it now is probably not a good idea

Does djot have to do what pandoc does though?

It seems like Pandoc does not follow commonmark here 🤔 https://spec.commonmark.org/0.30/#info-string

Pandoc's commonmark and gfm parsers will ignore the additional content in the case of code blocks.  This could be modified to store the whole line in an info attribute, or perhaps to do so only if this content would differ from the class already stored.
Pandoc's markdown parser is different.  Part of the motivation here is to avoid confusing inline code that happens to start at the beginning of the line and uses three backticks with a code block.

``` ``Markdown code spans with ` inside them`` ``` can be quoted with ` ``` `.

Let's see how GH renders it:
``Markdown code spans with ` inside them`` can be quoted with ```.


Can't download Skill from Amazon

Hello,
I am following the tutorial and have gotten to the point to where I am supposed to download and install and enable the Skill from Amazon.
When I search for it nothing comes up what am I doing wrong or missing. This is the part I am at "Next step is enabling Kodi Video Skill on your Alexa See installation steps https://github.com/kodi-connect/kodi-alexa-video/blob/master/tutorial/readme.md"
Any help would be great. Thanks.

https://github.com/kodi-connect/kodi-alexa-video/blob/master/readme.md#beta-testing

I'm sorry my email is<EMAIL_ADDRESS>I thought when I did the part where it gave me the secret key that was enough. I apologize.

No problem. I've added you.
Here's the link to enable the skill.
You can also remove your email from the comment

Thanks


Attribute to keep properties in memory when they aren't stored in database

Title says it all, could there be an attribute that prevents the properties from being reset upon each retrieve? Thank you.
The only way right now is to get the collection and call FindAll() which is what I want to avoid because it loads the whole thing in memory (around 12k rows)

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Fix CodeBlock test

Without interpolating the parent directory, julia test/runtests.jl and the interactive version ] test behave differently due to file scoping issues.
See here.

Hmm, thanks for catching this. I hadn't realized that test failures were not breaking the build. Apparently, the way we were running the tests is incorrect and would never fail the build.
But I don't think this is the right way to fix the issue. This solution means we have to use Julia-specific notation in rel tests (@__DIR__). I actually think the test was wrong, we already lookup the file assuming some @__DIR__ was passed as an argument. I fixed it here, can you review? https://github.com/RelationalAI/rai-rel-test/pull/25

Closing in favor of #25


Repository not getting values of foreign fileds

I'm doing some task in
protected override void AfterSave()
{
base.AfterSave();
Here i'm trying to access the value of CustomerName where CustomerName is Foreign table filed linked with CustomerId
I'm able to get Request.Entity.CustomerId , where CustomerId is foreign field from table customer, but when trying to access Request.Entity.CustomerName i get following error
          **_Object reference not set to an instance of an object._**

}

@vinaykulkarni89
Select it in your aftersave method by using the id - I think the framework is lazy loading - I had to select the entity by id  from the foreign table  - I was working in the beforesave method.  I do not know if this is the right way in serenity but it did work for me.

You can also override PrepareQuery and select that field. But that won't work if customer ID change on update.

Thnakyou @stixoffire  and @volkanceylan  for your time, but rather i was thinking to get values from Dialog, and pass to function
e.g:
I was sending the email after saved, but thinking to provide send mail button in dialog and onclick event calls the sendmail(),
in Dialog:
buttons.push({
title: 'Send Mail',
cssClass: 'mail-button',
onClick: () => {
//How can i call the SendMail() here
}
});
Where can i define the following function so that it can be accessible in dialog
public void SendMail(String To, String Subject, String Body)
{
var message = new MailMessage();
var addr = new<EMAIL_ADDRESS>"Vinay Kulkarni");
        message.To.Add(To);
        message.Subject = Subject;
        message.Body = Body;
        message.IsBodyHtml = true;
        message.From = addr;
        message.Sender = addr;

        var mail = new SmtpClient();

        //Configuration
        NetworkCredential nc = new<EMAIL_ADDRESS>"password");
        mail.Credentials = nc;
        mail.EnableSsl = true;
        mail.Host = "smtp.live.com";
        mail.Port = 587;

        mail.Send(message);

}

add method in your ClassEmailEndPoint, example SendEmail(IDbConnection connection, EmailRequest request), and then invoke in javascript ClassEmailService.SendEmail({paremetersEmailRequest}).
check this
https://volkanceylan.gitbooks.io/serenity-guide/content/services/service_endpoints.html

@xareas thankyou for your valuable time

Is there any other way to get values of foreign fields in AfterSave() or @volkanceylan please elaborate how can i accomplish my task with PrepareQuery

Type PrepareQuery in VS search and see how...


Performance: Add support for Incremental loading

Fixes: #6540
This PR adds support for incremental loading:

Adds a new 'Performance' section to Global Settings that allows this feature to be enabled and configured

When enabled it changes the fetch behaviour for anything that uses ResourceList and for the Workloads views to first fetch an initial page of 100 results and then to fetch the results in 4 pages, incremental loading and making available the data to the user
Adds a loading indicator to show progress:

Changes the presentation of the loading indicator depending on whether we know how may results we are expecting (Workloads view is a case of where we do not)

Closed in favour of https://github.com/rancher/dashboard/pull/6543


not actual implementation

Hello,
I compared  a trainval.prototxt with original paper architecture. They are not the same...

Thanks

@drazara you can find caffe implementation in the  link
https://github.com/soeaver/caffe-model/tree/master/cls

@drazara you can find the caffe implementation in this link

@drazara caffe implenttation of xception


Fix no-utf encoding and add the real deflate implementation

Hi
We'd found a problem while using this library. Some requests failed to process on certain servers, but on our dev machines we couldn't reproduce it. The investigation of the problem showed that the issue in the default encoding of StringIO. Somehow it were set to "US-ASCII" and following json dump failed with a message:
Failure/Error: body = JSON.dump(
Encoding::InvalidByteSequenceError:

Another problem was in implementation of "deflate" encoding. The gem uses standard library Zlib which has Deflate/Inflate classes. But they(according to these webpages http://ruby-doc.org/stdlib-2.1.1/libdoc/zlib/rdoc/Zlib/Inflate.html & https://en.wikipedia.org/wiki/Zlib) expects a header and trailer at the begging of a content. As the result a server fails to process a deflate content. So I've made changes and now the gem supports three content encoding: gzip, zlib(previously deflate) and deflate. All implementation now have a test coverage.

Also it would be great if you add Travis CI

Awesome, thank you

Released in 0.0.4
Also added Travis


MLPAB-1535: Vary certificate provider contact number label by donor Channel

Purpose
Fixes MLPAB-1535

Closing in favour of #1167


the chrome extension can't log multiple screens activities accurately.

I use the Dev-Tool and found that websites are not getting logged accurately while the screen is not the main screen.

agreed this doesnt work when 2 screens are open


Display bug on version 2.0-beta2

I found this bug.
When opened the dropdown exits on page in horizontal and vertical.
See screen.

Found solution.
add attribute dropdown-menu-right in all div
Example:
Canghe from:

    Settings 1
    Settings 2

to

    Settings 1
    Settings 2

在 2020-10-29 05:20:59，"Adriano Giovannini"<EMAIL_ADDRESS>写道：
Found solution.
add attribute dropdown-menu-right in all div
Example:
Canghe from:

Settings1
Settings2

to

Settings1
Settings2

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Content-Length on HTTP/3 responses

The standart net/http library adds Content-Length header automatically. Are there any reason to set this manually?

See https://github.com/quic-go/quic-go/pull/3954.

To add some more context: If I understand correctly, this code in the standard library only works if the response is small. For larger responses, it still makes sense to manually set it (or really, if you know the size, set it).

Yes. If It's under the 2kB, adds auto. Its about chunk size. If under the chunk size adding auto.

Both HTTP/1 and HTTP/2 add this auto. I think good idea add this for HTTP/3 too.


Merge 1.10.x into master

Proposed changes:

...

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@erohmensing There is a failing test. Is that related to the changes?

merge seems to have fixed it 🤔


Fix meizu 16th NPE

Fix 16th NPE

Thank you.
I cleaned up the commit and reorder the calls for clarity: https://github.com/Genymobile/scrcpy/commit/d61c2ab3f959fc3acb2300c0eea67ce1576c3a77
Could you please test if it works? (I have no Meizu 16th)

scrcpy-server.jar (replace the one in scrcpy v1.10)
SHA256: b34c8ce7f8f60e6d6ef42c3b0975c6b7650755f2d50205a2e950f996e2091bbc

Merged in dev. It works: https://github.com/Genymobile/scrcpy/issues/365#issuecomment-554200237


[nrf noup] bluetooth: increase discaradable buffer size

Make discaradable buffer size fit extended adv reports that has only received legacy adv pdus.
This is needed since this PR is https://github.com/nrfconnect/sdk-nrf/pull/9072 will mark extneded adv reports with legacy data in them discardable.
Signed-off-by: Martin Tverdal<EMAIL_ADDRESS>

Are extended advertising reports even discardable in the first place?
In Zephyr they are not, because that would make it impossible to support reassembly of long advertising packets.

Sorry, should have written better description for this one. I intend to make extended adv reports that only contain legacy data inn them (they where received as ADV_IND pdus entirely) as discardable https://github.com/nrfconnect/sdk-nrf/pull/9072
First this is intended to go into NCS 2.1.x... might fix it in a different way on main

Are extended advertising reports even discardable in the first place?
In Zephyr they are not, because that would make it impossible to support reassembly of long advertising packets.

Sorry, should have written better description for this one. I intend to make extended adv reports that only contain legacy data inn them (they where received as ADV_IND pdus entirely) as discardable nrfconnect/sdk-nrf#9072
First this is intended to go into NCS 2.1.x... might fix it in a different way on main

That makes more sense :)

@gopiotr Is this the issue with quarantine and versioning we had with backporting?

@gopiotr Is CI/Jenkins/ZEPHYR failure the issue with quarantine and versioning we had with backporting?

Yes, exactly, that is why CI failed. I already introduced change into Jenkinsfile to solve this problem:
https://github.com/nrfconnect/sdk-zephyr/commit/56d8a4f56fb6de6cf2494af1b38aca168484b6cb
@martintv please rebase this PR to the newest commit in v3.1.99-ncs1-branch branch and that should solve problem with CI. Sorry for the inconvenience.

@martintv Can you please rebase the PR as suggested above?


Implement TCP keepalive support from RFC 1122

Fixes zephyrproject-rtos#34044
Signed-off-by:  Horse Ma<EMAIL_ADDRESS>

@maweicoltsmart Although the review process is intended to aid developers, I can imagine you are overwhelmed by the amount of review comments.
Some tips you can used to check by yourself:
Run the most prominent tests for TCP:
./scripts/twister -T tests/net/socket/tcp -p qemu_x86
./scripts/twister -T tests/net/tcp -p qemu_x86
Check your head commit before pushing against a lot of style rules
./scripts/checkpatch.pl -g HEAD
I hope this helps you with this and hopefully many more PRs


Make Lingua usable within Java 9 modules

I've added lingua to my build.gradle like so:
dependencies {
    implementation 'com.github.pemistahl:lingua:1.1.1'
}

My module-info.java requires it like so:
module com.linguatest {
    requires lingua;
}

Still, it doesn't compile:
C:\Users\Bucko\Projects\linguatest\src\main\java\module-info.java:2: error: module not found: lingua
    requires lingua;
             ^

What configuration do I need to do to get my project to recognize lingua as a module? (This was all done in a blank Hello World project with default IntelliJ gradle project settings. Other dependencies I add are recognized, but lingua is not.)

Hi @drinkitup777, thank you for trying out my library and for your question. I have no experience with Java 9 modules so far but it seems that I have to add a module-info.java file to the library to make it work. This is mentioned in the Gradle docs. I will add this in the near future.

@pemistahl I'll be looking forward to it. I'm planning to use it for short text, so lingua is a perfect fit. Thanks for the fast reply.

The ModiTect plugin might be useful when implementing this for Lingua. It allows adding a module descriptor to an existing JAR. Its jvmVersion setting is also quite useful; it allows placing the module descriptor in a Multi-Release JAR directory (e.g. META-INF/versions/9) which avoids issues with Java runtimes and tooling < Java 9 which can be tripped up by the module-info.class file in the main directory. This should allow you to still support Java versions < Java 9.
(I have not tried the Gradle plugin yet, but for Gson its Maven variant is used, in case that is helpful).

@Marcono1234 I've tried your Gradle plugin but it seems it's not compatible with the Kotlin plugin. I get the following error:
Circular dependency between the following tasks:
:addDependenciesModuleInfo
+--- :generateModuleInfo
|    \--- :jar
|         +--- :classes
|         |    \--- :compileJava
|         |         \--- :addDependenciesModuleInfo (*)
|         \--- :inspectClassesForKotlinIC
|              \--- :classes (*)
\--- :jar (*)

Instead, I will create the file module-java.info manually and put it in src/main/resources/META-INF/versions/9. As far as I understand, the following content should be enough:
module com.github.pemistahl.lingua {
    exports com.github.pemistahl.lingua.api;
}

@drinkitup777 Are you perhaps able to test it before I release version 1.2.0? Thank you.

I get the following error:
...

Ah you are right, I am seeing the same error as well. Have reported it as https://github.com/moditect/moditect-gradle-plugin/issues/14; but it appears there is a workaround.

Instead, I will create the file module-info.java manually and put it in src/main/resources/META-INF/versions/9. As far as I understand, the following content should be enough:

Should the api.io package be publicly exported as well? Since packages are not hierarchical the existing exports declaration is not enough.
It looks like the created JAR contains the module-info.java file in source form, instead of a module-info.class file. Additionally, for the file to be recognized from META-INF/versions/9 the MANIFEST.MF has to declare that the JAR is a Multi-Release JAR, otherwise the Java runtime does not consider any classes in these folders.
Have created #138 which tries to solve this using moditect-gradle-plugin.

This issue has been resolved by #138, so I close it now.
@drinkitup777 If you still have problems with the current solution, then please open a new issue. Thank you.


Spam tools

2 commands to help out on the server side.
1 to summarize a user's activity and 1 to nuke everything and lock them out.

I added the {comment,review,review comment}-only user summary.  it produces output like this:
========================================================================
user:                           AnotherUser
email<EMAIL_ADDRESS>num_comments:                   0
most_recent_comment_date:
comment_days_active:
num_reviews:                    0
most_recent_review_date:
review_days_active:
num_reviewcomments:             2
most_recent_reviewcomment_date: 2022-12-04 13:31:02
reviewcomment_days_active:      0
========================================================================
========================================================================
user:                           SomeUser
email<EMAIL_ADDRESS>num_comments:                   0
most_recent_comment_date:
comment_days_active:
num_reviews:                    1
most_recent_review_date:        2022-12-06 16:15:06
review_days_active:             0
num_reviewcomments:             1
most_recent_reviewcomment_date: 2022-12-06 16:14:20
reviewcomment_days_active:      0
========================================================================


Added pool puzzle hash option

anybody know how to get a puzzle hash? maybe try on testnet

No description provided.

Hello, will it invalidate all plots created before this?

no it wont, it's an alternate way to create plots for pools

anybody know how to get a puzzle hash? maybe try on testnet

I think you need to install Chia from pools.dev branch maybe, there are some pools.xxx branches around in the repo, not sure which one is correct.

branch pools.dev
chia plotnft create -u https://farm-testnet.pool.garden/
chia plotnft show
-z P2 singleton address

总用量 105G
-rw-r--r-- 1 root root 2.8G 6月  18 09:23 plot-k27-2021-06-18-09-00-123a9a902a0c9b912edd80177ccbb3fc6613aaa77fddfd2bca20f691b7d3f858.plot
-rw-r--r-- 1 root root 102G 6月  18 12:51 plot-k32-2021-06-18-09-47-b8a479e61c56233b2f43b6fa8fb8bce8a92d3bd86a433919a541b08bf0d38d9e.plot
(venv) root@Gateway:/home/chia-blockchain# chia farm summary
Farming status: Farming
Total chia farmed: 0.0
User transaction fees: 0.0
Block rewards: 0.0
Last height farmed: 0
Harvester <IP_ADDRESS>:45736:
   2 plots of size: 104.060 GiB
Plot count for all harvesters: 2
Total size of plots: 104.060 GiB
Estimated network space: 253.916 TiB
Expected time to win: 10 hours and 9 minutes

great news, thanks for testing it

Is -z here the same as -c/--pool_contract_address for chia plots create?  It seems like it based on my understanding but I'm no expert in this area, just trying to get plotman ready for pools (with multiple plotters).
  -c, --pool_contract_address TEXT
                                  Address of where the pool reward will be
                                  sent to. Only used if alt_fingerprint and
                                  pool public key are None

no it's not the same...

Seems like I need to convert the pool contract address to the puzzle has via: https://github.com/Chia-Network/chia-blockchain/blob/538227acc10a5c24cbc2d169a1076ef3cb5527f7/chia/util/bech32m.py#L113

https://github.com/dcdpr/libbech32

So it seems if you use your contract address (P2 Singleton), the hash it creates for the pool is incorrect, this is why partials never get submitted
2021-06-24T02:21:21.274 farmer chia.farmer.farmer         : INFO     Did not find pool info for 000c010000000000000d0a00000000002300f40000e000000002000000d00500
2021-06-24T04:55:46.169 farmer chia.farmer.farmer         : INFO     Did not find pool info for 000c010000000000000d0a00000000002300f40000e000000002000000d00500
2021-06-24T15:43:11.827 farmer chia.farmer.farmer         : INFO     Did not find pool info for 000c010000000000000d0a00000000002300f40000e000000002000000d00500

yes, you need to convert the address to the hex hash, but I will fix it, such that you can specify the address directly

yes, you need to convert the address to the hex hash, but I will fix it, such that you can specify the address directly

Fixed?

Does this chia_plot branch support pool plots already? Can I create pool plots and use them in pools on the testnet?

Does this chia_plot branch support pool plots already? Can I create pool plots and use them in pools on the testnet?

I am currently testing with the "Contract Address" converted using the following link:
https://www.chiaexplorer.com/tools/address-puzzlehash-converter
remember to remove the "0x" from the address when specifying it in the -z option
You also have to ensure you pull the pool-puzzle branch as it is not in the main release
Would be good if we could specify K25 plots in testnet9 with MadMax too :)

Does this chia_plot branch support pool plots already? Can I create pool plots and use them in pools on the testnet?

I am currently testing with the "Contract Address" converted using the following link:
https://www.chiaexplorer.com/tools/address-puzzlehash-converter
remember to remove the "0x" from the address when specifying it in the -z option
You also have to ensure you pull the pool-puzzle branch as it is not in the main release
Would be good if we could specify K25 plots in testnet9 with MadMax too :)

Verified, just got my first partial from MadMax created plot using the hash generated from the link in my previous reply

Verified, just got my first partial from MadMax created plot using the hash generated from the link in my previous reply
Very nice! This gives me hope that I can use this plotter to replot everything without SSDs.

Each pool has /pool_info endpoint
https://pool.xchpool.org/pool_info
you can get puzzle hash from here

awesome, I'll do the conversion now

ok try it now, with contract address given via -c xch1...

ok try it now, with contract address given via -c xch1...

Tried with as it is printed from 'chia plotnft show' as txch... also tried removing the 't':
(venv) testnet@chia-testnet:~/chia-plotter$ ./build/chia_plot -r 10 -t /home/testnet/farm/temp/ -2 /mnt/ram/ -d /home/testnet/farm/plots/ -n 1 -p aa632165643432794e42a2527f04c7384678cbab98f7be1ec9f539ac3b5a8b81e30133f67c6666ec25db973f38a9d9ad -f 86bffc8d55cf0d2f8635741669fc90a9e3a7ab78c2f23062838b23648097e08699a3b6e35afd9f8dcebf94374f8fd3c1 -c xch1vajshwzjnadl8xu73nqh2fxl3jhnvta5fmx2f4ygytgqx4w5w9mq2ds75k terminate called after throwing an instance of 'std::logic_error'   what():  invalid contract address (!xch): xch1vajshwzjnadl8xu73nqh2fxl3jhnvta5fmx2f4ygytgqx4w5w9mq2ds75k Aborted (core dumped) (venv) testnet@chia-testnet:~/chia-plotter$ ./build/chia_plot -r 10 -t /home/testnet/farm/temp/ -2 /mnt/ram/ -d /home/testnet/farm/plots/ -n 1 -p aa632165643432794e42a2527f04c7384678cbab98f7be1ec9f539ac3b5a8b81e30133f67c6666ec25db973f38a9d9ad -f 86bffc8d55cf0d2f8635741669fc90a9e3a7ab78c2f23062838b23648097e08699a3b6e35afd9f8dcebf94374f8fd3c1 -c xch1vajshwzjnadl8xu73nqh2fxl3jhnvta5fmx2f4ygytgqx4w5w9mq2ds75k terminate called after throwing an instance of 'std::logic_error'   what():  invalid contract address (!xch): xch1vajshwzjnadl8xu73nqh2fxl3jhnvta5fmx2f4ygytgqx4w5w9mq2ds75k Aborted (core dumped)

ok try again, didn't know it begins with txch

also pool public key is not needed when using contract address

ok try again, didn't know it begins with txch

I think that is just for the test network and not the mainnet. The main net should use xch, not txch

makes sense! it will accept both for now.

cool. i'll update when I get a moment. I manually removed the check so I could plot on the mainnet. BTW, thanks so much for your work and maintenance on this project!

also pool public key is not needed when using contract address

I'm not sure what the behavior is here presently but, FYI, the Chia Network plotter exits with an error message if you specify both.

pools docs: https://github.com/Chia-Network/pool-reference

Please take a look at:
https://github.com/madMAx43v3r/chia-plotter/issues/728

Also, txch and xch are both just for display purposes (and slightly different checksum), however, they both map to the same puzzle_hash, so they can be used interchangeably.

https://github.com/Chia-Network/chia-blockchain/commit/c11027fb2c74eb80de701ba30137976b0f138196
"During development, there were changes to the plot NFT so portable pool plots (those made with the previously unsupported -c option to chia plots create) using code prior to this release will be invalid on mainnet."
Will any further changes be needed?

I checked the changes, no, not to the plotter itself, you may need to create a new NFT though

Heads up. Looks like release of 1.2.0 will be today.
https://github.com/Chia-Network/chia-blockchain/commit/88b4dd9ac46a2e1ab847771817ba03e6796efaca

@madMAx43v3r  1.2.0 is out - https://github.com/Chia-Network/chia-blockchain/releases/tag/1.2.0
Time to merge into master maybe?

I checked the changes, no, not to the plotter itself, you may need to create a new NFT though

so do you mean madmax is ok as it is for this 1.2 version? Can I create a new NFT for new plots and still farm previous pool plots in same node?

Yes, you should be fine, they confirmed that there were no changes to the NFT so all plots are valid and you don't need to create a new NFT.
+1 to merge to master...


how to get the Projective transform matrix ,which will be used to tf.contrib.image.transform??

i wanna do Projective transform in tensorflow, but tf.contrib.image.transform needs some args as follows:
'''
images,
transforms,
interpolation='NEAREST',
name=None
''''
i dont know how to get the transforms matrix.
OPENCV has this function: getPerspectiveTransform(pts0,pts1),but i cant find Similar function in tensorflow.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

@EricWu123 You can use perspective_transform.py, refer to Perspective Transformer Nets for more details.


Documentation is broken/missing

The documentation linked to in the repo - https://plunkettscott.github.io/interact-sound/start/ - seems to be broken for me. The only page displayed is the "Getting Started" page and the first sentence is cut off with nothing else following;

Interact Sound is easy to install and use. To install it, simply fetch the latest release from

It appears the documentation linked in the original CitizenFX Forums - https://plunkettscott.gitbooks.io/scott-s-script-documentation/content/scripts/interactsound.html - is still working.

Yeah, sorry. The first link is actually the start of the documentation for the next version which is being worked on behind the scenes. The second link is the correct link for the current version which is listed on the CitizenFX forums.

I updated the site link to be the current version's documentation. I'll close this issue out for now.


insync-v3: <IP_ADDRESS>925 -> <IP_ADDRESS>307

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/insync/versions.
meta.description for insync-v3 is: "Google Drive sync and backup with multiple account support"
meta.homepage for insync-v3 is: "https://www.insynchq.com"
meta.changelog for insync-v3 is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307/bin/insync had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found <IP_ADDRESS>307 with grep in /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307
found <IP_ADDRESS>307 in filename of file in /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
insync-v3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A insync-v3 https://github.com/r-ryantm/nixpkgs/archive/c551a8ec8c93c5da6a6b82ac948ef87eea53c736.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307
ls -la /nix/store/lph7ih6j069layffb6p8c7xvcpi9m0fp-insync-<IP_ADDRESS>307/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

insync-v3

Maintainer pings
cc @benley for testing.

@ofborg eval

Unfortunately this still segfaults immediately upon running insync start --no-daemon.  It's been quite a while since I've seen insync actually work.


Remove/Hide collection - Copyright issues

This cover contains trademarked images from major brands. It violates copyright and makes the olatform and the artist liable for being sued. This collection shold be closed, or hidden from the platform immediately.  https://v2.blindboxes.io/collectiondetail/0/159

Removed


Roadmap for v1.0.0

[ ] Ipv4Addr

[ ] parser should break early and return null when: input length is less than 7 or greater than 15

[ ] Ipv6Addr

[ ] parse(): parse ipv6 addresses
[ ] next(): get next ipv6 address
[ ] previous(): get previous ipv6 address

[ ] SocketAddrV6

[ ] parse(): parse socket address v6 (originally named fromString())
[ ] toFullString(): print fully uncompressed version of ipv6 + port
[ ] toCompressedString(): print fully compressed version of ipv6 + port

[ ] Implement CIDR (classless inter-domain routing)

[ ] CidrBlock
[ ] CidrBlockV4
[ ] CidrBlockV6

[ ] integer handling:

[ ] behavior on either 1.) erroring, or 2.) truncating/clamping, should be more explicit and consistent, in method names and/or descriptions
[ ] handle NaN, Infinity, -Infinity, +0, -0

[ ] expand examples in README.md
[ ] improve top-level documentation for types

Ipv6 formats include stuff like

omitting leading zeros in a quartet
aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh (longest possible form, 39 characters long)
::ffff (compressed at very beginning)
aaaa::ffff (compressed zeroes in between)

IPv6Addr.next() and Ipv6Addr.previous() implemented in #8

Integer behavior is now consistent via #9


[stable/rabbitmq] Support configuration for the rabbitmq metrics exporter

What this PR does / why we need it:

generic configuration via environment variables: metrics.env
see https://github.com/kbudde/rabbitmq_exporter#configuration
better default capabilities (faster metrics collection with recent
rabbitmq servers): metrics.capabilities
see https://github.com/kbudde/rabbitmq_exporter#extended-rabbitmq-capabilities

Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #12907

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@thomas-riccardi Thanks for the PR!


[Event Request] page 5856 "Get Post.Doc - P.RcptLn Sbfrm" - OnBeforeIsShowRec - More Parameters

see #6489
Unfortunately we need a correction of the event raiser and publisher.
Please extend it by 3 new parameters which are needed in order to set the global variables.
Old Event-Raiser (Issue 6489):
OnBeforeIsShowRec(PurchRcptLine2, RevQtyFilter, ReturnValue, IsHandled);
New Event-Raiser:
OnBeforeIsShowRec(PurchRcptLine2, RevQtyFilter, ReturnValue, RemainingQty, RevUnitCostLCY, FillExactCostReverse, IsHandled);
Old Event-Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeIsShowRec(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var ReturnValue: Boolean; var IsHandled: Boolean);
begin
end;

New Event-Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeIsShowRec(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var ReturnValue: Boolean; var RemainingQty: Decimal; var RevUnitCostLCY: Decimal; ExactCostReverse: Boolean; var IsHandled: Boolean);
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[New Port Request] libcpuid

Library name: libcpuid
Library description: a small C library for x86 CPU detection and feature extraction
Source repository URL: https://github.com/anrieff/libcpuid
Project homepage (if different from the source repository): http://libcpuid.sourceforge.net/
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

i've just found another library with support for ARM, so i'll close this issues and make a new one


Low WAMV Speed/RTF

Describe the bug
While running our team's algorithm for one of the 2023 tasks, it was noted that despite no change in the specified minimum and maximum speed from last year, the WAMV does not move as quickly as in the prior version of Gazebo/ROS.
This reduced speed persists even when the VRX simulation is run headless and when the boat is controlled by publishing a thrust value of 1 to both the right and left thrusters (in the default configuration) to rule out the possibility that our solution is slowing it down.
Expected behavior
The expected result of publishing a thrust value of 1.0 to both thrusters would be the WAMV traveling at max speed and thus reducing the distance between the goal position and the starting position quickly. However, the change in pose error (as a stand-in for speed) reduces very slowly (~0.005 at each time step when run without the GUI) as compared to doing a similar test in the 2022 environment.
There is a very low (25%) real-time factor when running Gazebo with the GUI enabled, but I expected this to have less of an impact when running the simulation without the GUI. I am not sure if this issue is related to the low RTF mentioned in another issue earlier.
To Reproduce
List the steps to reproduce the problem:

Launch VRX environment (e.g. ros2 launch vrx_gz competition.launch.py world:=stationkeeping_task)
In the simplest test case, ros2 topic pub --once '/wamv/thrusters/right/thrust' std_msgs/msg/Float64 "data: 1.0" and ros2 topic pub --once '/wamv/thrusters/left/thrust' std_msgs/msg/Float64 "data: 1.0" (both thrusters actuate, as confirmed via the GUI, and the WAMV drives approximately toward the goal waypoint)

System Configuration:

OS: Ubuntu 22.4 (on a laptop)
ROS Version: ROS 2, Humble
Gazebo Version: Gazebo Sim 7.0.0
Graphics Card: UHD Graphics 620
Are you using VRX or VRX Classic? VRX

The maximum thrust value is no longer 1. Adding a scaling factor resolved this issue.


hello,I have some questions about the metrics

I would like to know how you can use the metrics in your paper (which include Perfect predictions, BLEU score and so on) to evaluate n-grams and t5. Do you have any code or functions for that? Thank you very much

i'm sorry and thank you very much


feature "pool" is disabled

Hello there, impressive work!
I have problem launching example with pool through bb8
with dependencies like this
[dependencies]
rustis = { version = "0.11.0", features = ["pool", "redis-bloom", "tokio-runtime"] }
tokio = { version = "1.27.0", features = ["full"] }

and code
use rustis::Result;
#[cfg(feature = "pool")]
use rustis::{client::PooledClientManager, commands::StringCommands};

#[tokio::main]
async fn main() -> Result<()> {
    #[cfg(feature = "pool")]
    {
        let manager = PooledClientManager::new("<IP_ADDRESS>:6379")?;
        let pool = rustis::bb8::Pool::builder()
            .max_size(10)
            .build(manager)
            .await?;

        let client1 = pool.get().await.unwrap();
        client1.set("key1", "value1").await?;
        let value: String = client1.get("key1").await?;
        println!("value: {value:?}");

        let client2 = pool.get().await.unwrap();
        client2.set("key2", "value2").await?;
        let value: String = client2.get("key2").await?;
        println!("value: {value:?}");
    }

    Ok(())
}

rust-analyzer wrote me that code is inactive since feature "pool" is disabled. Which is strange since i added it to the dependencies.

Hi @oiwn ,
I cannot test it personally right now but my first feeling is that you should not add #[cfg(feature = "pool")] to your code because it would mean the feature pool exists in YOUR code, not in rustis.
To fix the problem, I would just remove the line #[cfg(feature = "pool")].
Cheers,
Michaël

Yes! Exactly, thank you for explanation.
Removing #[cfg(feature = "pool")] make it work as expected.


Paratroopers cause crash

I have a report of paratroopers causing a crash. Reportedly the nudger also crashes with this conversion. Save and mod in this post: https://forum.paradoxplaza.com/forum/index.php?threads/vic2-to-hoi4-converter-release-thread.948992/page-37#post-24351436

Naval invasions as well. It fails in CTD as soon as I click the starting port.

Really?! That should have been fixed last release. And strangely, with the report above (I'll repost the save when I have some time) they reported naval invasions worked fine.

Maybe it's just my mashine, but it's weird. Save used: a standard 1918 OTL start.

Tested with my usual save, and it worked there. I'll retest with the provided save just in case.


Deserialize unix timestamps into chrono::NaiveDateTime

Hi, I'm stuck trying to deserialize the graphql response for one of my queries at work.
I have this query:
thing {
  ...
  approvalStatus {
    status
    date
  }
  ...
}

The query returns the following json:
"thing": {
  ...
  "approvalStatus": {
    "status": "",
    "date": 0
  }
  ...
}

When trying to deserialize date into a NaiveDateTime it errors with a "invalid type: integer 0, expected a formatted date and time string" message. Is there any way for me to specify that I want to deserialize date(time) fields using chrono's chrono::naive::serde::ts_milliseconds for example?

I solved this by creating a wrapper type which I then use with the query:
#[derive(Deserialize, Debug)]
pub struct DateTime(#[serde(with = "ts_milliseconds_option")] pub Option<NaiveDateTime>);


mAP increase but classification loss increase

mAP increase, but classification loss increase in object detection training. (by tensorflow object detection API)
Train data : 1500, Val data : 150
Class : 1 (drone)
I don't know what happen

It seems that you are using a two-stage detector such as faster r-cnn.It seems that the decline in RPN loss has a greater impact on detection performance.

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version and if possible provide us the code snippet to reproduce the issue at hand. If you are unclear what to include see the issue template displayed in the Github new issue template. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Keybinding for Docker: Toggle command

Please add keybinding for this command.
And, if you can, for Docker: Select Compose File command, please.

+1

+1

Just add to your keymap.json:
'atom-workspace':
  'ctrl-shift-d': 'docker:toggle'

in this example, I've attached ctrl + shift + d to Docker: Toggle command.
You can do the same to select compose file, just change the command to docker:select-compose-file

@alanzanattadev you may close this

Yes but I understand it's painful to add it manually


Add script for building rpm packages

Add RPM spec and script for building rpms with this spec
from latest tag in git tree.
Spec bulds follwing packages:
librealsense
librealsense-tools
librealsense-devel
librealsense-debugsource
librealsense-debuginfo
librealsense-tools-debuginfo
I've tested it only on the latest fedora (29). I think there is no
sense in building it on redhat for example, because it's too hard to
add camera support to the redhat's kernel.
Fedora's kernel doesn't support realsense cameras yet, but I've
managed to patch it and get it working. I'm not sure i've done
everything right in the kernel so can't send kernel patches right now.

Thanks @dmitry-guryanov
Looks good to me, but I am no RPM expert. Perhaps someone who is more familiar with this can comment?

.so (unlike .so.*) belongs to -devel.
I would create -examples for rs-*.
I would add BuildRequire for glfw3 to avoid building the embedded one.
What's gtk3 BuildRequire good for?


[WFS 2.0.0] getfeature argument to specify SRS/CRS?

As of version '0.29.2' there is no way to specify CRS/SRS when calling WebFeatureService_2_0_0.getfeature .
See:
https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs200.py#L220-L287)
However both in WebFeatureService_1_1_0 and WebFeatureService_1_0_0 have the following parameter to specify SRS:
srsname: string
             EPSG code to request the data in

https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs110.py#L216-L269
https://github.com/geopython/OWSLib/blob/f8e3ff65ad70d72a640e2b7883459b8aa8fcb4b6/owslib/feature/wfs100.py#L208-L255

ditto #905

I would also be interested in an answer to that question

Fixed with #945


TERES-PCB5-KEYBOARD: Use keyboard/mouse simultaneously

Users do not normally have to use the keyboard and mouse simultaneously during everyday computer use. However, this feature is extremely useful when performing tasks such as gaming. In a first-person shooter, for example, it is imperative that you are able to move and look around at the same time.
The TERES-PCB5-KEYBOARD keyboard and mouse devices function one at a time, as if the signals are mux'ed onto the same communication channel. I understand that the TERES-I isn't currently a gaming beast, but it would be highly useful in light gaming applications (such as Minetest, FreeDoom, etc) to use them together with OEM hardware.
An easy work-around is to simply use USB-connected peripherals, but again, it would be nice to use the OEM hardware when these peripherals are unavailable.

Good suggestions, a little more info about that: this is not a hardware or muxing limitation. This was done on purpose with usability considerations in mind - we found it hard to use the keyboard freely when the touchpad is enabled - the palms were triggering the touchpad accidentally.
This can be improved by software means in the firmware of the keyboard/touchpad board.

That's a very good point, and a good decision to do that for better general usability. It sounds like the capacitance cap is not active, where the trackpad goes dead when a threshold is exceeded. I'd have to do some research on the AVR processor to see if this is possible. Additionally, I did notice that there is a dedicated key on the keyboard to enable/disable the trackpad. Maybe this could be used to toggle simultaneous operability instead? However, this modification would then not provide the standard/expected functionality of that key and would be better suited as an optional patch as to not confuse people.


Device is Not Discoverable

Device Is not Discoverable RPI3 Model B... On Board Bluetooth.....
Used this Technique
bluetoothctl
power on
discovery on
it kind of worked...
But Not discoverable After Reboot...
All Updated/Upgrade...etc.....Tried On a Cleaning again the OS too....
Still Don't Know the Error

Can you try if this works with the newest version? Especially the changes in https://github.com/nicokaiser/rpi-audio-receiver/commit/44f34798e9d44ad12396c9aa3a204b1d1e76fd20 should make the device discoverable (And simple-pairable) on every reboot.


My Portfolio

Thanks for such a beautiful and flexible template

@Ankuraxz hello my friend!
I think you forgot to remove the GIT origin to point to your own repository. This PR will change the initial setup of the project.
I created a tutorial about how to setup the project, please take a look: https://www.youtube.com/watch?v=soaG3GNSxJY
Hence I will close it.


Added A04 Security Event Notification

Added security events
Added publishing of events related to (re)boot and firmware update.

Added fixes for TriggerMessage - FirmwareStatusNotification.


Undefined Variable Errors for Core Functions and Mismatched Test Expectations

Example That Shows the Bug
#lang 450lang
;; Test cases demonstrating the issue
(chk= (nan? 42) #f)                      ;; Should return #f since 42 is a number
(chk= (450= 1 1) #t)                     ;; Should return #t since 1 equals 1
(chk= (undefined-var-err? undefined) 'TRUE) ;; Check if undefined-var-err? correctly handles an undefined variable
Expected Result

(nan? 42) should return #f because 42 is a valid number.
(450= 1 1) should return #t because 1 equals 1.
(undefined-var-err? undefined) should return 'TRUE.

Actual (Incorrect) Result

(nan? 42) throws (undefined-var-err 'nan?) instead of returning #f.
(450= 1 1) throws (undefined-var-err '450=) instead of returning #t.
(undefined-var-err? undefined) throws (undefined-var-err 'undefined-var-err?) instead of returning 'TRUE.

Additional Information
This issue occurs because the functions nan?, 450=, and undefined-var-err? are not properly bound in the INIT-ENV environment, leading to undefined-var-err exceptions.

Hi thanks for the report, but this issue describes multiple potential issues, so please resubmit each one as a separate issue. Thank you


No documentation or examples of the usage of IntentDialog in C#

Documentation indicates LuisDialog is deprecated:
https://docs.botframework.com/en-us/node/builder/chat-reference/classes/_botbuilder_d_.luisdialog
https://docs.botframework.com/en-us/node/builder/chat/IntentDialog/
However, it doesn't appear that there are any examples of its use with C#, or anything indicating that it is a node only class.

C# is still using the LuisDiaolg, example here https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html#alarmBot. We're working on IntentDialog for C#, stay tuned. Feel free to reopen the issue if you still have questions. Thanks.


Updated Jackson to version 2.13.4 for fixing CVE-2022-42004

Updated the Jackson libraries for mitigating CVEs fixed under release 2.13.4 , ref: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.13.4

Should we also bump the jackson-databind to <IP_ADDRESS> for CVE-2022-42003?
ref: https://github.com/spring-projects/spring-boot/issues/32583

Should we also bump the jackson-databind to <IP_ADDRESS> for CVE-2022-42003?
ref: spring-projects/spring-boot#32583

The jackson-databind has been updated to <IP_ADDRESS> for https://github.com/advisories/GHSA-jjjh-jjxp-wpff?

Hi @showuon - any more action required from me? Or is this PR good to merge?


Finish and test the new jupyter-first getting started

We have moved a lot of the advanced stuff for use in a tools and editors PR.  We should be able to get the rest of it working.
In particular

[x] look for all of the TODOs and big bold text and remove them as you cross things off
[x] Finish off the the docker setup instructions.  Was that all there was for creating a local store?
[x] Test the docker running instructions on both OSX and Windows, and ensure all of the paths are correct
[x] For the Local installation of Jupyter/Anaconda, get someone to carefully go through it on windows and OSX witha  fresh machine, to see if we need to do anything to get the paths right for calling jupyter lab, etc.  We want it to be idiot-proof.

Think this is done, but the Jupinx output is really ugly. For example, you should be able to indent code-blocks to make them children of the preceding bullet (so you can continue the numbering), but it's a mess right now.
I think the best bet for testing would be to just send someone the RST for now.

I will close.  We can get remumbering fixed when Matt is back.


Remove/fix broken examples

Right now there are a lot of broken examples in the torque repository, usually because of silly faults like renamed dependencies and breaking api changes. This includes the home example, which shows a blank map with an editor ui.

After PR #201, the remaining broken examples are:

leaflet.html
leaflet_interaction.html
wim.html


[5.6] Remove namespace from factory filename when creating using model make command

I usually use namespaces for the domain classes when I'm working on large projects, and I've noticed that unlike the controllers generated with the -c flag in make:model, the factories generated using -f do not have the namespace of the model stripped from the filename. This modification intends to correct that behavior, using the controller part from the command class as reference.
I noticed it has been proposed at least three times (#23881, #23151 and #23521), and it has always been questioned about the same thing: whether people wouldn't want the namespace in the factory filename. Well, I'm the fourth to show that we don't (yes, maybe there's a whole other lot who wants to keep this behavior -- as Chuck Lorre wrote: "I don't know what my expectations are until they're not met"). Regardless of that, if it should have the namespace on it, why doesn't that behavior apply to controllers? At least we can agree there's some inconsistency.

Check the following PRs. These may have attempted similar functionality:
#23881
#23521
#23151

Whatever 😬


Link BlankApp project with TestFixtures.

@fealebenpae Any better way to do this?

How about we create a new macro, say LinkWithTestFixtures, that accepts a target, possibly created by CreateNativeScriptApp, and adds the necessary dependencies and link flags?

Shouldn't the include directories be set before the target is created.

target_include_directories?

That's just what I was looking for, thanks :)

@fealebenpae This PR is working on my machine. We should fix the PR build to reconfigure WebKit as needed.

run ci


Re-import CIRCL

Closes #113.
This updates the CIRCL code to pull in latest changes, including those in the kem/hybrid package.

@Lekensteyn the tests are failing, so maybe this isn't as simple as just running python3 cf-copy-from-circle.py?

Look at #115


Fixed issue with running imager on system with spaces in path

Was running into errors when using Craft with Imager and MAMP on Mac. Problem was spaces in the disk and directory names. fixed this with encapsulating file path in double quotes.
Before:
/usr/local/bin/jpegoptim -s /Volumes/Drive Name/Website Project/public_assets_html/imgcache/327a39dbf78c825648a75687f040efcf.jpg
After:
/usr/local/bin/jpegoptim -s "/Volumes/Drive Name/Website Project/public_assets_html/imgcache/327a39dbf78c825648a75687f040efcf.jpg"
Also added logging of the command for troubleshooting.

Thank you for contributing!


Can't get running asdf-python with tkinter

I am using asdf on an Ubuntu 18 desktop.
Python 3.7.2 is set up, and I am trying to get appJar running. It asks for tkinter-lib but I have no clue, how to put both ends together.

For tkinter to work, you need to have tkinter development files. Try installing package tk-dev:
sudo apt-get install tk-dev and reinstall python.

@oxitnik Thanks for the hint.
You will maybe also need to recompile python after installing these, I'm not sure.
Please comment here if it still does not work after installing development files.

Thanks for the support. I will give it a try at the office after vacation.

I'm having the same issue on macOS, latest version, did someone find a solution?

+1 for having this issue on macOS 10.15.5

https://stackoverflow.com/a/60469203/6847839
This solution worked for me on macOS

Building on @petern-sc's answer:

brew install tcl-tk
add env vars
asdf uninstall & install again

Fresh guide:

Uninstall python with asdf
brew install tcl-tk@8

PATH="$(brew --prefix tcl-tk@8)/bin:$PATH" \
LDFLAGS="-L$(brew --prefix tcl-tk@8)/lib" \
CPPFLAGS="-I$(brew --prefix tcl-tk@8)/include" \
PKG_CONFIG_PATH="$(brew --prefix tcl-tk@8)/lib/pkgconfig" \
CFLAGS="-I$(brew --prefix tcl-tk@8)/include" \
PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I$(brew --prefix tcl-tk@8)/include' --with-tcltk-libs='-L$(brew --prefix tcl-tk@8)/lib -ltcl8.6 -ltk8.6'" \
asdf install python 3.11.11


Update miniforge version and mamba version

A maintenance update of the miniforge version and mamba version. To avoid needing to make this kind of update too often, I've also added logic to specify the miniforge version by major.minor instead of doing it with major.minor.patch-build.

The miniforge version was pinned to 4.10.3-7 and is via this PR pinned to be 4.11 which currently resolves to 4.11.0-0.
The mamba version was pinned to 0.17 and is now pinned to 0.20 which currently resolves to 0.20.0.

Note that to specify the miniforge version by major.minor only, we needed logic to find the latest version matching that as the installation process is to download a specific URL including the exact version. This logic was implemented using a GitHub API and the CLI tool jq which was also added to parse out the latest matching version.
Related issue
This PR is a result of me trying to solve https://github.com/pangeo-data/jupyter-earth/issues/101 by updating the mamba version where we rely on the pangeo/pangeo-notebook image as a base image.

FYI - the miniforge version is currently specified in a couple places, because of how we generate a lockfile for every PR via github actions. https://github.com/pangeo-data/pangeo-docker-images/blob/9b282f51eb52000dfba40f8aad972532fba5e07f/.github/workflows/CondaLock.yml#L37-L44
I think a better strategy going forward might be to install conda-lock in the base image Dockerfile and then actually run conda-lock via that Docker image. That way, conda, mamba, and conda-lock versions will be consistent throughout this repository...
But happy to merge this first and follow up separately with changing the github actions!

@scottyhq hmmm about this reference that should be kept in sync...
https://github.com/pangeo-data/pangeo-docker-images/blob/9b282f51eb52000dfba40f8aad972532fba5e07f/.github/workflows/CondaLock.yml#L37-L44
Following the logic on how the github action's miniforge-version parameter is used to this, I conclude the option is to either pin the version fully or use latest.
I conclude that I can't make them match well, unless we go for latest systematically or full pinning systematically. I've grown quite fond of not pinning version when maintaining jupyter/docker-stacks over the last year. What do you think about removing the pinning and going with latest?

What do you think about removing the pinning and going with latest?

Sounds good to me.

I didn't understand this =/ I don't overview the various automation parts etc in this repo.

No worries, sorry if I confused you, I might ask for your review in a follow-up PR where I'd be able to explain in more detail.

@scottyhq okay ready for review again I think!

Thanks @scottyhq for your quick review/merge!


Fix formatting of amount in bitcoin: uri

Quoting from BIP 0021:
"All amounts MUST contain no commas and use a period (.) as the
separating character to separate whole numbers and decimal fractions."

Any feedback on this?

Hi, sorry for the late feedback. We will fix the problem in the 1.4.0 release of the application. We are operating some changes on the transaction UI and on the amount formatter.


dependabot: do not update k8s.io/* major/minor updates

Changes
This makes dependabot ignore major and minor updates to k8s.io/*
modules. It will still update patch release though (0.25.1 to 0.25.2).
The reason to ignore those (major/minor) is because they are usually
tied to knative/pkg and this means, we usually only want to update
those when knative/pkg dependencies are updated as well.
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>This will reduce the number of pull request for k8s.io dependencies
update that we usually close
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/lgtm
thanks!


Update Active-Directory-Replication-Concepts.md

Update the "Applies to".
Update the "Universal group membership caching" section that this applies to 2008 and newer, rather than to 2008 specifically.

#assign: @robinharwood, @Xelu86
@robinharwood @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


How to gracefully stop airflow scheduler? Database is locked due to key interrupt airflow scheduler.

For now, I am pressing ctrl+c crazily to interrupt the airflow scheduler process. But then I met with some database locking problem when I relaunched scheduler,  the error message is like:
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 10, in <module>
    args.func(args)
  File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 277, in scheduler
    job.run()
  File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 153, in run
    session.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 790, in commit
    self.transaction.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 396, in commit
    t[1].commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1574, in commit
    self._do_commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1605, in _do_commit
    self.connection._commit_impl()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 690, in _commit_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 688, in _commit_impl
    self.engine.dialect.do_commit(self.connection)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 423, in do_commit
    dbapi_connection.commit()
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked

Is it possible to make the scheduler finish all the database access before it terminates after receiving keyboard-interrupts?
Just curious about how everyone test dags with scheduler? Is there suggested workflow for us to test dags with scheduler running?

Don't use sqlite for production usage. It is only there for trying airflow.