Popover with callbacks as options like onUpdate not working as expected

ElementUI version
1.2.3
OS/Browers version
Google Chrome Version 56.0.2924.87 (64-bit) but it's not browser related.
Vue version
2.2.1
Reproduction Link
https://jsfiddle.net/knabavw0/
Steps to reproduce
Click on the Click to activate button.
What is Expected?
I was expecting to see on the browser console Updated whenever the popover was shown or hidden.
What is actually happening?
Nothing. The onUpdate callback is never being called, while it works perfectly fine on Popper.js vanilla.

Fixed in #3991. Please note that the options attribute has been renamed to popper-options.


Compatibility with Alfresco Community 5.2

I tried to integrate the contentstore add-on with Community 5.2. I received Spring errors as 5.2 uses Spring 3 and the latest version of the add-on is Spring 5. Did you have to do any massaging to get the module to work with 5.2? Or should I drop down to the 5.0 add-on version?
Thanks in advance.

This addon should not use any feature that requires Spring 5 - it is only linking to Spring 5 due to transitive dependencies imported from Alfresco. As stated in the global Readme, the addon should be compatible with 5.2 and above. Can you please provide the specific error(s) you are getting?

Axel, thanks so much for the quick response. I am developing on a separate network so I have to retype the error.
It's a NoClassDefFoundError for org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor Caused by CannotLoadBeanClassException: Error loading class [de.acosix.alfresco.utility.common.spring.PropertyAlteringBeanDefinitionRegistryPostProcessor] for bean with 'acosix-simple-content-stores-enablingBootstrap-subsystem' defined in URL [jar file: tomcat/shared/lib/de.acosix.alfresco.simplecontentstores.repo-1.2.0-SNAPSHOT-installable.jar! alfresco/module/acosix-simple-content-stores/module-context.xml]: problem with class file or dependent class: NoClassDefFoundError: org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor

Axel, I am no intimately familiar with Alfresco setup but inherited a project that I have been maintaining. I created a new environment with a blank database to test implement and test encryption using your add-on. The error above started with creating a bean path.updateAdminUserWhendefault because I commented out the admin user password property, uncommented it and then received an error from your InitializingBean GroupNodeLocator which is leading me to believe there is supposed to be pre-existing data.  Is that the case?

Closing issue as I read that alfresco-utility 1.3 works only with ACS 7.0+


Hibernation is disabled by default

Describe the bug
On a fresh nixos config derived from the core branch, `systemctl hibernate fails w/
Failed to hibernate system via logind: Sleep verb "hibernate" not supported

To Reproduce
Steps to reproduce the behavior:

switch to a configuration
check that security.protectKernelImage is true
reboot
attempt to hibernate
See error

Expected behavior
Hibernation should be possible just like in vanilla NixOS.
Additional context
It took me a bit of research to figure out what the cause was. I would argue that, while there's nothing fundamentally bugged with the option, not being able to hibernate and having no indication as to why isn't good UX. I suggest either

yeeting the setting from profile/core and possibly move it to a "hardened" profile, (NixOS has one already)
clearly documenting this fact.

good catch, I think this is a leftover from the very beginning of the project. Importing the official hardened profile is a better idea. Resolved by eb275d7d0e110beedcd2e52e104d57ccce8db0ec

as the profile also contains hideProcessInformation = true; and this one interferes with some display managers at the moment, it probably should be disabled, too.
(see https://github.com/NixOS/nixpkgs/issues/111629)


Feature/Vue3 Tailwind setup + login/signup page styling

What this does
Configure TailwindCSS for Vue3 projects created with the bootstrapper to be utilized from initial project creation.
Update the styling for the Login and SignUp` pages to be a bit more standardized to most of the project stylings we see.
Checklist

[x] Add tailwindcss npm package
[x] Add postcss npm package
[x] Add autoprefixer npm package
[x] Add tailwind.config.js file and update as needed w/ desired paths
[x] Add postcss.config.js file
[x] Add main.css file w/ Tailwind imports
[x] Import main.css into main.js
[x] Style Login view and associated components
[x] Style SignUp view and associate components

How to test
Step 1: Open the review app and navigate through the existing pages to view the updating styling created with TailwindCSS.
Step 2:  Create/run a bootstrapper app with this branch (feature/vue-tailwind-setup) and update the Tailwind stylings/classes as desired to see different results!

Finally had a look at this - looks great! Thanks for putting this together, and I can't wait to use it on a project.


Add the ability to query last watched ($date-time) for movies, seasons, and episodes via the JellyStat API.

Is your feature request related to a problem? Please describe.
I'm working on a Discord bot that will automatically purge media that is watched x days ago, but I can't seem to find a way to query when something was last watched.
Describe the solution you'd like
The ability to check when a movie, season, or episode was last watched via the JellyStat API.
Describe alternatives you've considered
Checking file last access time, but I'm not sure that will work via a network mount using rclone.
Additional context
n/a

Hey @neurekadev , i added the Last Activity Date field to one of the endpoints, this one is meant to query single items. Can you describe how you plan to use this field, IE query all items or querying specific items? That way i can accommodate for this, the current change i made just works per item/season/episode.

Hey @neurekadev , i added the Last Activity Date field to one of the endpoints, this one is meant to query single items. Can you describe how you plan to use this field, IE query all items or querying specific items? That way i can accommodate for this, the current change i made just works per item/season/episode.

Hey, thanks for adding that field to one of the endpoints! I plan to check it out soon and I'll let you know if I run into any issues.
I basically run a query to see when a movie or tv series was last watched.
If it wasn't watched, it is deleted from my media server based on when it was added to Radarr or Sonarr.
If it was watched, it'll delete based on that date instead.
In the future, I plan to do season based deletion as well. And probably episode based deletion just to allow my Discord bot to be fully customizable.
The ability to lookup movies, series as a whole, seasons, as well as episodes would be ideal.
If I can query the API using TMDb ID as well as TTVDb ID, that would be best as I match from Radarr and Sonarr directly.
I haven't touched my bot in a while, and it currently only supports Radarr, Sonarr, and Tautulli- but I'd like to add JellyStat support as well.
It's likely something I'd like to open source at some point to make managing your media server a bit easier for people that are limited with storage. I was pretty close to a quarter of a petabyte before I realized most of my media sat unwatched most of the time. The expense wasn't worth it for me in the long run. ;)
Thanks for all of your help!


Opening a new window everytime I switch to the app?

Hi! I just installed the Mac version of this project, and noticed that everytime I minimize the application and switch back to it, it opens a new window of my workspace on top of the one I'm already running. I can't find a way around this. I've tried relaunching the app several times.
Is anyone else having this issue?

try disabling the "close to tray" option or using the cmd+shift+a keyboard shortcut to focus the window instead of the dock - it's a known bug that will be fixed in v0.11.0


Export typings

Resolves #762
Resolves #764

@ponday-dev, @chetmurphy , @alan-agius4, @michaelgeorgeattard Can I get some feedback on this?

The pull request works for my case. LocalForage type is available and does not generate any type error.
Thanks.
From: Thodoris<EMAIL_ADDRESS>Sent: Saturday, December 9, 2017 1:32 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [localForage/localForage] Export typings (#767)
@ponday-devhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fponday-dev&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=nMtuwzIspVvVlI11ZbmXLTuCmL5UuttwqjrdyDyrBTk%3D&reserved=0, @chetmurphyhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchetmurphy&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=rVYhNAqQwFvlShHbdHpv7haYruUyJLtCVhv53E%2F%2F1cE%3D&reserved=0 , @alan-agius4https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falan-agius4&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=oI0CP18Htg%2B8UTGRlyL6ibu35%2Fo2eYCBZCs1P1b0O4E%3D&reserved=0, @michaelgeorgeattardhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelgeorgeattard&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=ZCoRp8JxP9w57m2%2BQWFDcG6H7jWTFPRy3FDfF4RbwM4%3D&reserved=0 Can I get some feedback on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FlocalForage%2FlocalForage%2Fpull%2F767%23issuecomment-350437969&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=5HBimZ9U9xWX09lgwQJcN%2FclxXfYPOTeNYQa7ssbxOU%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJrbVvAQ327ov2gGhwyI-dseAC9bfziNks5s-lOggaJpZM4Q8BWf&data=02|01||1abc5a25ff15449c819208d53ee7bcd5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636484087375171451&sdata=QmLmvGKk9wtb9psjL%2B86InNzQnC6rtEBOCbY%2FmGPv1Y%3D&reserved=0.

These changes seems to break the typings of the various localforage plugins (setItems etc).
Keeping this open and adding it to the v2.0 milestone.


Example of inpaint doesn't work for Stable Diffusion 2.1

I'm trying the same example for the 2.1 configuration, downloaded the appropriate CLIP, UNET and VAE and converted them correctly but it does not seems to work.
Command:
cargo run --example stable-diffusion-inpaint --features clap -- --sd-version="v2-1" --prompt "Face of a yellow cat, high resolution, sitting on a park bench." --input-image="temp/dog.png" --mask-image="temp/dog_mask.png" --width=512 --height=512

This is the output that i get with the dog/cat example that works perfectly with Stable Diffusion 1.5:

It seems that the inpainted area doensn't correctly populate.
Any possible reason for that? Should the example/code be adapted for some additional steps for the 2.1 version?

Ah it seems that actually one difference was that the scheduler for stable-diffusion 2.1 uses a prediction type of v_prediction in normal generation but uses a prediction type of epsilon for inpainting (whereas stable-diffusion 1.5 uses epsilon for both). I've just merged a PR #63 that should hopefully help with this - at least on a single generated image it looks better now.

There is still a scheduler inconsistency as we use DDIM rather than PNDM - also using a proper DPM solver would likely help here but hopefully this doesn't make much of a difference.
Please give a spin to the current github tip if you can and let us know how it gets.


Update README.md

Current maven repository link is throwing 404.
Should be: https://repo.xenondevs.xyz/#/releases

No it shouldn't. You linked the dashboard, not the actual repository. The actual artifacts (aka what maven accesses) don't throw 404:
https://repo.xenondevs.xyz/releases/xyz/xenondevs/invui/invui/1.15/invui-1.15.pom
https://repo.xenondevs.xyz/releases/xyz/xenondevs/invui/invui-core/1.15/invui-core-1.15.jar

No it shouldn't. You linked the dashboard, not the actual repository. The actual artifacts (aka what maven accesses) don't throw 404: https://repo.xenondevs.xyz/releases/xyz/xenondevs/invui/invui/1.15/invui-1.15.pom https://repo.xenondevs.xyz/releases/xyz/xenondevs/invui/invui-core/1.15/invui-core-1.15.jar

For some reason my maven was not able the artifacts.
But when i changed repository url to url above... It was able to do that.

Try adding an extra / at the end of the repo url, that can sometimes fix the issue.


CMD is not implemented

CMD is technically implemented, but has not been tested due to issues compiling the Autenticacao.gov sdk for the preprod env


Add asynchronous cache dependency interface

Summary

Checklist

[ ] I have run nox and all the pipelines have passed.
[ ] I have made unittests according to the code I have added/modified/deleted.

Related issues

[ ] replace ctx.get_type_special_case with a get_type_dependency method which falls back to special casing


Problem importing CAR Model from Blender to Carla UE4. Bone not found.

Hello,
I've been trying to import a vehicle into carla for a while now and kept running into problems. After a long time and countless Threads later I decided to just post my problem here, maybe one of you sees a quick fix.
My problem is that the Wheel_Front_Left is not showing up / working like the rest of the bones.
I have to following car Model, for which I added the bones according to Carla's Documentation:

With the Structure of the bones looking like this:

I can export the model to a fbx just fine. However, when I import the model in UE with the following settings, only 3 out of 4 bones show up in the phsysics asset, and are clickable in the Vehicle_Base file.
Settings of the import (Import does not generate warning etc.):

VehicleBase after import (Note: Wheel_Front_Left is NOT CLICKABLE, but all other bones are!) :

VehicleBase_Physics after import (Here the Wheel_Front_Left does not even show up):

I've been trying to resolve this issue for a long time now. I tried readding the bones and looked very closely, if there are any differences between the one Bone which is causing problems and the rest - but I have not found any...
Altough I've seen a lot of similar issues, I've never seen exactly this bug, which is why I decided so start this thread. I'm thankful for every advice.

Hello! Cold you upload the fbx of the vehicle rigged, so I can have a look.
I can see your bones are named in a different way than in the documentation. (some have a 1 at the end)
This won't work, since the bones need to be named exactly as we say in the documentation.
Also, when you're importing your model, you're assigning it a custom skeleton (named UMD_VehicleBase_skeleton).
This is not necessary, since the bones you rig in the first place are enough, this can give you problems.
Sorry for the long wait, but I'm here to help if I can.
Thanks in advance for your time.


Add function secret sharing to mpc.md

Type of change

[x] Add new papers (Please tell us why you think this paper is awesome!)
[ ] Fix the category of an existing paper/papers (Please tell us the reasons)
[ ] Add a new tool/primitive/application with a new markdown page (Thank you! Also, please tell us more about this awesome thing!)

Description

I have added a series of papers on Function Secret Sharing (FSS) to the MPC Series. FSS is a kind of MPC technique that allows parties to jointly compute a function on their private inputs without revealing any information about the inputs themselves. Compared to traditional secret-sharing techniques, FSS shares functions instead of values, which results in a faster online phase and reduces interactive communication.

[GI14] They proposed the distributed point function primitives, the earlier technique of function secret sharing.
[BGI15] This paper first described the FSS formally.
[BGI16, BGI19, BCGI+21] These papers further proposed the distributed comparison function and the optimization.
[BCGI+19, BCGI+20, DILO+21, BBGG+21] These papers combined FSS with other cryptographic techniques and proposed some applications.
[CP22] This paper considered FSS in the malicious secure model.

I have read the CLA Document and I hereby sign the CLA

recheck

recheck


Daedaus Flight fails to sent One Hundred of Quadrillion Cardano's Native Tokens

I've minted the 9,223,372,036,854,775,807 tokens I've called ATHOMs.
Nine Quintillions and some.
Although Daedaus Flight is able to diplay the amount correct, it's unable to sent A Hundred of Qadrillions ATHOM's, giving at amount of Assets to be sent an error "Please give a valid Amount". But don't see what is an issue to  send A Hundred of Quadrillions ATHOM's and more till the total CAP of Nine Quintillions. https://whiteman.ru/blockart/daedalus_bug.png.
FYI: While experementing with the minting of maximum possible amount of Assets I found bugs in every tool I've used: cardano-cli, Daedaus and Yoroi. I will report them separately, but generally I kindly advice respectable development team be aware of checking upper limits of everything.

I think this fixes it: https://github.com/input-output-hk/cardano-wallet/pull/2676

Not entirely... We also need this one: https://github.com/input-output-hk/daedalus/pull/2472

The fix for this one has been included in Daedalus Flight 4.2.0-FC1.
The issue still persists on hardware wallets but should not be there on software ones.
@WhitemanE0 can you please give it a go?

The fix for this one has been released in Daedalus Mainnet 4.2.0.
Thanks for the patience!


Add even more units

Pint has a lot of unit aliases defined here.
Perhaps we could extract the relevant parts of this .txt into your simple .yml format and add them to this package.

This is in principle possible (and the current list is already based on Pint's). The main reason I didn't do it right away is that it requires a mechanism to define units as a function of others (e.g. grad = π / 200 * radian since grad is not defined in Unitful).
Parsing strings from source is probably the way to go, like Pint does.

Wow, I just found this significantly longer list from GNU that may be of interest as well https://github.com/df7cb/postgresql-unit/blob/master/definitions.units

It's a good reference, but can't be used directly here without causing license friction, since most of julia ecosystem is not GPL compatible.

Oh, I didn't think of that - great point!


[Question] Some questions about multi-admins/fabrics

Can I add multiple admins to one node in the same fabric?
Help me differentiate between multi-admins and multi-fabrics, please.

Can I add multiple admins to one node in the same fabric?

Yes.  Just set up the ACLs on the node accordingly.

Help me differentiate between multi-admins and multi-fabrics, please.

A "fabric" is a collection of nodes that can talk to each other, because they have a shared root of trust and can use the CASE protocol to set up an encrypted connection.  A node can be in multiple fabrics by having multiple operational certificates.
An "admin" is a node that has been granted administrative privileges on some other node, via the ACLs set there.
You can have multiple admins all on the same fabric, if you set up your ACLs that way.  Or you could remove all the admin ACLs and have no admins at all, though that's generally a bad idea.

can i add other matter controller into the same fabric?

can i add other matter controller into the same fabric?

Yes, as long as all the controllers involved have operational certificates chaining up to the same root.

can i add other matter controller into the same fabric?

Yes, as long as all the controllers involved have operational certificates chaining up to the same root.

Can you give me some instructions on how to deploy it?


Move Auth implementation to a separated class

What kind of change does this PR introduce?
Feature and bug fix
What is the current behavior?
Currently, the user session is not recovered from storage when the app is initialized.
What is the new behavior?
Fetch the user session from storage when recovered
Fix for #11
Additional context
This pull request also separates the auth logic into a separate singleton (SupabaseAuth), in order to make things easier for future PRs (for #8)

@phamhieu can you review it, please?


Reading memory from userland (guest)

Description
Hello, I've been working on a small project trying to achieve something in the system out of curiosity and have been trying to read some guest memory from lsass.exe, but I am having problems figuring out how to translate the virtual memory into physical memory so that I can correctly read the memory from the process.
I have tried utilizing the cr3 register to help me achieve this but have had no luck.
Expected behavior
To be able to translate the virtual memory into physical memory and read the guest os's memory from lsass.exe
Thanks for reading.

Hi, if I understand you right, you should be able to read lsass.exe's process memory, by just switching the current CR3 to the lsass's one and using the virtual address (VA) you already have. You do not have to go through VA to physical address (PA) translation in your code; the processor does this.
Just as an answer to your original question, it is bit complicated depending on what type of VA you want to translated to PA. For example, VA can be backed by a paged-file, physical pages shared by multiple processes. This article gives your nice summary of how VA translation works on Windows. If you are in a hypervisor, you should not call kernel APIs, so you would have to implement logic similar to this by hand if you absolutely need it.
http://blog.rekall-forensic.com/2014/10/windows-virtual-address-translation-and.html


btcchina markets not enough

currently btcchina only return 3 markets: btccny/ltccny/ltcbtc
but there are other few markets to return:
https://www.btcchina.com/apidocs/plus-market-data-rest-api-zh.html
like ETH/BCC https://plus-api.btcchina.com/market/orderbook?symbol=ETHCNY&limit=5

Hi!
We will add ETH markets to BTCChina, but, we would like to have a full list of supported pairs, do you know where we can get it? Can't find it anywhere there, may be due to my bad language skills. If you can help us with listing all missing pairs with BTCChina, it will help us a lot. Thx!

https://plus-api.btcchina.com/market/orderbook?symbol=ETHCNY&limit=5
this is a example api in https://www.btcchina.com/apidocs/plus-market-data-rest-api-zh.html.
but it don't support ?symbol=all parameter.
but it support ETHCNY & BCCCNY.
https://plus.btcchina.com/ this is the list of markets.

Ok, we have added missing markets (available in 1.6.52+), but there are some caveats:

When we ask BTCChina for all tickers (symbol=all), they don't return BCH and ETH tickers, and there's no endpoint nor a page on their site to get full list of all possible markets, therefore we had to hardcode it for BTCChina, until they make a more advanced API...

We substitute BCC for BCH, because BCC is often confused with Bitcoin, as written in #83


Don't merge! Regression pull request perf test for no metavalidation

Docs Build status updates of commit 091237c:
:clock10: Full build: the average full build time is 22 min(s) 7 sec(s), this is based on the last 56 build(s) for this repository.

Docs Build status updates of commit 091237c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TestingPullRequest.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Js unlinting fixes

Made compatible with the newer select2 widgets used for autocomplete in Django 2.x

Coverage decreased (-0.4%) to 89.384% when pulling 7fabb0a492aab8eac6b13f019c308f045838b8dd on james-hollingsworth:js-unlinting-fixes into 1ceafd8ff63e5888d5c0bcb9ff6f5d4e03769fcf on digi604:js-unlinting-fixes.

:+1:


csi driver installation

Signed-off-by: Prajyot-Parab<EMAIL_ADDRESS>

@yussufsh Please take a look

/cc @sajauddin @cs-zhang


tx2-docker is not giving access of GPU to docker container

Hi,
I have created a docker image on Jetson TX2 which contains Nvidia drivers, CUDA and Cudnn libraries. I am trying to give access of GPU and CUDA drivers to this image through tx2-docker script but no success. I think tx2-docker is running successfully which you can see below:
wkh@tegra-ubuntu:~/Tegra-Docker/bin$ ./tx2-docker run openhorizon/aarch64-tx2-cudabase
Running an nvidia docker image
docker run -e LD_LIBRARY_PATH=:/usr/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu/tegra:/usr/local/cuda/lib64 --net=host  -v /usr/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu -v /usr/local/cuda/lib64:/usr/local/cuda/lib64  --device=/dev/nvhost-ctrl --device=/dev/nvhost-ctrl-gpu --device=/dev/nvhost-prof-gpu --device=/dev/nvmap --device=/dev/nvhost-gpu --device=/dev/nvhost-as-gpu openhorizon/aarch64-tx2-cudabase
But when I try to run devicequery inside my container, it give me the result:
root@bc1130fc6be4:/usr/local/cuda-8.0/samples/1_Utilities/deviceQuery# ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Result = FAIL
Any comment! Why this script is not giving access?

Can you build and run the deviceQuery container that is in the samples directory?
How are you running commands inside of the openhorizon/aarch64-tx2-cudabase container?   That container doesn't keep running for me or did you modify the base container?

@kgdad : if I am missing something as per my understanding, then plz guide.

@kgdad: One more thing: On Technica-Corporation/Tegra-Docker, it is being assumed that CUDA is installed on Jetson TX2 without Docker environment and then you create deviceQuery container to check the GPU access inside it. But my Cuda is installed within the docker container. I am thinking about building a docker image containing CUDA drivers and GPU relevant files over my  openhorizon/aarch64-tx2-cudabase image. Do you think I can give access through this exercise to my docker?

I'm not sure exactly why it isn't working for you.  You are correct, the script currently assumes you are using the cuda that is already on the system located in /usr/local/bin.  However, I was able to run deviceQuery successfully using the steps your outlined above.
Used the openhorizon/aarch64-tx2-cudabase image as a base and created a docker container.  Ran that container and then exec'ed a shell into the container.  Changed into the /usr/local/cuda/samples/1_Utilities/deviceQuery directory, built the executable, and ran it.  However, mine was using Cuda 9 but yours seemed to be cuda 8.
Can you give me more exact steps into what you are doing?  What dockerfile are you using?  What commands are you running specifically to run and exec into your container.  Something is different, but I'm not sure what exactly.

Hi!
I am using Jetpack 3.1 with CUDA 8.0 and Cudnn 6.0. I changed Dockerfile.cudabase (https://github.com/open-horizon/cogwerx-jetson-tx2/blob/jetpack3.1-L28-libs/Dockerfile.cudabase) a little bit to make it work for CUDA and Cudnn. Dockerfile is attached through which I built my container.
For docker, I am using following commands:
docker build -f mydockerfile -t openhorizon/aarch64-tx2-cudabase .
docker run -it openhorizon/aarch64-tx2-cudabase /bin/bash
docker exec -i -t containerID /bin/bash
dockerfilecudacudnndrivers.txt

Since you are using everything as deployed in the container instead of using the system files, need to make a small change to the tx2-docker script for this to work for you.
Comment out the two lines at the top of the file where NV_LIBS is set and then create a new statement that sets NV_LIBS to empty.  So the top would look like this:
#NV_LIBS="/usr/lib/aarch64-linux-gnu \
/usr/local/cuda/lib64"
NV_LIBS=""
Stop the current container if it is running and then start the container again using the tx2-docker command.
Let me know if that works better for you.

Not sure exactly how this will work.  I don't think docker build supports volumes or devices, which what you need to do do get a container to run with GPU support.  You can try building caffe natively on the TX2 and then packaging it and then installing that package as part of your docker build process.
I'll see if I have sometime today to take a look at this in more detail.


Comments in green are way too bright

Hello, after searching & trying out tons of themes, I really liked this theme.
Only small issue is comments are way too colorful in green. Can they be made less colorful, like a disabled grayish tint color please?

Sorry, was busy with other things but now it's fixed


Clean Arch Install, latest pull

Heya, @RoliSoft
I have a log of a brand new install off a new arch.SFS and you mislocated the libmockchroot in the preinstall script, probably forgot to change its location later on.
Also, lots of problems with sigchecks failing even after fixing that on my end.  It says it can't look up the keys remotely.
Edit: Oops, I pulled it like 4 hours ago =.=.
Edit2: Nope, I was right, you are overwriting it after all.  Find where you write "libfakechroot" and you'll see you're overwriting it.
Anyway, after fixing it, I think you need to add two lines to the postinstall script for arch:
pacman-key --init
pacman-key --populate archlinux
Edit: Maybe I'll just do a pull request
Anyway, afterwards, I'm still getting this acl error afterwards
Edit 3: I'm going to fix this properly then submit a proper pull request.  The last one was messed up.

Problem was just populating pacman-key, not any of the other stuff.

Hi,
Keep in mind the SquashFS version from the ISO requires you to go through the whole installation procedure, as described in the installation guide.
Since one of the steps is selecting the mirror for pacman, that is why you are unable to do anything with it.
I recommend using get-prebuilt.py with the newer 3rd-party pritunl/archlinux, or the older official base/archlinux. Both are fully supported, but the 3rd-party version will setup faster, since it requires less updating and tweaking.
You can, of course, use the SquashFS version, but then please follow the official installation guide to complete it.
I'm not sure if there is much benefit to using the SquashFS versions, but I'll check it out later tonight, and update the hook script if it does not require much tweaking.

Problem was just populating pacman-key, not any of the other stuff.

For the docker versions, pacman -S archlinux-keyring populates the database with the new keys, but in your case, I presume you haven't selected a mirror yet, and as such cannot install packages.

you mislocated the libmockchroot in the preinstall script,

I haven't, there's a pacman -S fakechroot which installs a better library for purpose and I switch the primitive chroot mocker to that library, but I presume you noticed this and that's why you closed the pull request.

Anyway, afterwards, I'm still getting this acl error afterwards

Are you talking about dlsym(acl_get_fd): ...: undefined symbol: acl_get_fd during makepkg/pacaur?
Those aren't errors, just warnings issued by fakeroot-tcp, since WSL doesn't have those functions defined, so it can't mock them.

Thanks!

Released new hook in 978ec74, which builds new fakeroot from ABS after patching, instead of the older fakeroot-tcp version from AUR, last updated around 2012.
This version isn't spamming the console with undefined symbol warnings.


Security analytics plugin - added more details for S3 connection setup

Description
Added more details to the S3 connection setup section of the Security Analytics plugin threat intel feature.
Issues Resolved
Closes #[insert issue number]
Version
2.15+
Frontend features
If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Running the text changes by our team. Will remove from draft state once approved.
Will need help from documentation team to confirm formatting is appropriate.

@Naarcha-AWS this PR is ready for review. Please feel free to adjust wording/formatting as needed.

@Naarcha-AWS this PR is ready for review. Please feel free to adjust wording/formatting as needed.

I don't think the CI failures are related to these changes, but let me know if there's a change I can make to fix them.

@Naarcha-AWS this PR is ready for review. Please feel free to adjust wording/formatting as needed.

I don't think the CI failures are related to these changes, but let me know if there's a change I can make to fix them.

Let me try rerunning the job to see if that fixes it.


Websocket Support

Automatic registration of route using path
Test case coverage
Closing checks

Looks good

Looks good to me!


I Have Proof that NoCode is an Unoriginal Idea

https://en.wikipedia.org/wiki/Null_device
It already exists, its name is /dev/null, and yes and it supports sharding.

But does it deploy everywhere? EVEN FORTRAN? Because NoCode says it supports Fortran...


superputty not launching

Hi all;
SuperPuTTY-<IP_ADDRESS> not launching. Nothing in taskbar, nothing in task manager. Nothing on screen after start (I mean, no error messages, no windows, dialog boxes, nothing).
I tried both installed and portable versions, nothing works.
I am using Windows 7, have Microsoft NET Framework 4.6.2. Tried few compatibility modes (properties of the app), tried to start with or without administrator mode.
I have basic Putty installed, working, no issues.
There are few similar problems mentioned in issues listing, with no exact answer, no solution at the end. What can be checked, what would be next step in order to make it running?
Thanks.

Can you look at the logfile and see if it contains any useful hints?
https://github.com/jimradford/superputty/wiki/Troubleshooting
Jim

Great to hear you were able to get it resolved. I've updated the Troubleshooting document to suggest renaming or deleting the SuperPutty.settings file.


fix for no content-length in header for download

When using a 3rd party S3 storage service (not AWS) there are instances when the server returns a header without ‘content-length’. This makes anything specifying content-length in doTheDownload function fail. After troubleshooting, some 3rd party S3 services specify transfer-encoding: chunked.
{ date: 'Fri, 06 Feb 2015 20:18:09 GMT',
  server: 'ViPR/1.0',
  'x-amz-request-id': '0a6c5fc3:14af4ae3238:f7f1:b',
  'x-amz-id-2': '97e9f1ba70052a7b85e9db09cd13f09454828f6f0a5b92e5f691c07656a7ec10',
  etag: '"e1f0060d53cbfab7f917642abaa7a1c6"',
  'last-modified': 'Fri, 06 Feb 2015 16:09:15 GMT',
  'x-emc-mtime': '1423238955945',
  'content-type': 'application/zip',
  'transfer-encoding': 'chunked' }

This workaround will repeat some of the code after verifying that the content-length == undefined. This will create a writeable stream to save a file, while still emitting progress. The downloader.progressTotal will be the chunk.length, while the downloader.progressAmount will be chunk.length -1. This keeps the total below completion(ie 99%). It's impossible to know the complete size because the content-length is not specified. When the transfer ends, +1 is added to downloader.progressAmount to be complete at 100%.

added cb() to finish it out when it ends

??? Just checking in on this. No movement.

Hello. I'm sorry for taking so long to get to this. I don't have the development efforts available currently to support anything other than Amazon S3.

Please add tests to prove this does not break normal S3 and works with your 3rd party system

@faceleg it does not break normal S3. i just ran the test
kcoleman-mbp:node-s3-client kcoleman$ mocha

  MultipartETag
    ✓ returns unmodified digest

  s3
    ✓ get public URL
    ✓ uploads (716ms)
    ✓ downloads (860ms)
    ✓ downloadBuffer (528ms)
    ✓ downloadStream (553ms)
    ✓ lists objects (314ms)
    ✓ copies an object (370ms)
    ✓ moves an object (1805ms)
    ✓ deletes an object (382ms)
    ✓ uploads a folder (723ms)
    ✓ downloads a folder (673ms)
    ✓ uploadDir with deleteRemoved (723ms)
    ✓ lists objects (316ms)
    ✓ downloadDir with deleteRemoved (315ms)
    ✓ upload folder with delete removed handles updates correctly (2278ms)
    ✓ multipart upload (18284ms)
    ✓ download file with multipart etag (27591ms)
    ✓ deletes a folder (1218ms)

  19 passing (58s)

Are there tests to show it works with your 3rd party system?
Thanks for letting me know it passes for normal s3

i have added an endpoint parameter to run all tests against a different endpoint. I've testing with both AWS S3 and EMC ECS Test drive
$ export<EMAIL_ADDRESS>$ export S3_SECRET=MYSECRETKEY
$ export S3_ENDPOINT=object.ecstestdrive.com
$ export S3_BUCKET=s3motion
$ mocha

  MultipartETag
    ✓ returns unmodified digest

  s3
    ✓ get public URL
    ✓ uploads (2888ms)
    ✓ downloads (664ms)
    ✓ downloadBuffer (621ms)
    ✓ downloadStream (898ms)
    ✓ lists objects (478ms)
    ✓ copies an object (1205ms)
    ✓ moves an object (2429ms)
    ✓ deletes an object (863ms)
    ✓ uploads a folder (978ms)
    ✓ downloads a folder (769ms)
    ✓ uploadDir with deleteRemoved (1050ms)
    ✓ lists objects (461ms)
    ✓ downloadDir with deleteRemoved (392ms)
    ✓ upload folder with delete removed handles updates correctly (2528ms)
    ✓ multipart upload (20499ms)
    ✓ download file with multipart etag (10568ms)
    ✓ deletes a folder (1205ms)

  19 passing (50s)

Thank you for bearing with me.
I'm keen to get some CI action for this repo.  Have you used http://s3ninja.net?

CI would be nice... no, i have not used s3ninja. glad to see this finally get merged

Thank @andrewrk for kindly agreeing to allow me to help him maintain the repo.


Can you please make Java 18 alpine images available?
$ docker pull eclipse-temurin:18-alpine
Trying to pull docker.io/library/eclipse-temurin:18-alpine...
Error: initializing source docker://eclipse-temurin:18-alpine: reading manifest 18-alpine in docker.io/library/eclipse-temurin: manifest unknown: manifest unknown

There is now :)


Back off between attempts to start the tests

This is a test PR for kicking the CI.
Looking through this test, I seriously don't understand how this doesn't work. I mean, I don't really get how it does work, but at this point in the tests, we've actually established that both Nihilist.exe and openconsole are running. From my read, there's no reason these should be failing at this point.
We previously added a "retry 5 times" bit to this test, in #8534. That did work back then. So uh, just do that... again?

As a note: Run 2 succeeded, with a couple of tests succeeding on try 2&3. It ultimately failed because it couldn't publish the results, because there was already a successful run, whatever.

Run
1 Retry
2 Retries
3 Retries
4 Retries

1
0
0
0
0

2
1
1
0
0

3
?
?
?
?

_note: if it succeeded on try 3, that counts as 2 retries. I'm summing up all the retries across all tests that had retries

Shh Dustin ignore all that. I'm basically just ctrl+f'ing the log for Attempt #<N> and then logging how many times a test took a retry to get initialized. So far, no test has taken till retry 4. We didn't have the logging before though, so I can't easily tell before this change how deep in the retries tests would usually take.

Hmm. After re-doing the tests 6 times, Run 7 actually straight up failed too. I always assumed that just adding a longer delay wouldn't really work. We need to figure out why it's not actually attaching.
that being said, it sure is weird that a retry does work sometimes... like, that's weird

well that's ironic

Run
1 Retry
2 Retries
3 Retries
>=4 Retries

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

?
0
0
0
0

0a39269 had 9/10 runs pass. That's annoying, but maybe better than what we're getting now.


Retire WordPress install

Once static, one-off page content is moved into the Astro project, those same items should be archived or deleted in WordPress so they don‘t cause confusion.
Otherwise, someone may edit a WordPress entry only to be surprised it has no effect on what’s published at ddev.com.

Closing this after we discussed and didn’t think it should be required for the static site to be finished. @rfay to circle back on this later.


Why does nvidia-cuda-runtime-cu12 not work and must have /usr/local/cuda version greater than 11.6

Fail to install this package with error message below:
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      fatal: not a git repository (or any of the parent directories): .git
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-316ekinv/flash-attn_8533b39ea95943b09a2457b1e0020eec/setup.py", line 115, in <module>
          raise RuntimeError(
      RuntimeError: FlashAttention is only supported on CUDA 11.6 and above.  Note: make sure nvcc has a supported version by running nvcc -V.

      torch.__version__  = 2.2.2+cu121

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

My /usr/local/cuda version is definitely less than 11.6,
but from my point of view, /usr/local/cuda is a cuda runtime, python package 'nvidia-cuda-runtime-cu12' form nvidia is also a cuda runtime, why does nvidia-cuda-runtime-cu12 not work and must have /usr/local/cuda version greater than 11.6
Similar problems
https://github.com/Dao-AILab/flash-attention/issues/842
https://github.com/Dao-AILab/flash-attention/issues/825
https://github.com/Dao-AILab/flash-attention/issues/557

make sure nvcc has a supported version by running nvcc -V

Thank you for your answer, but what I mean is:
Apart from the installation check for the CUDA version, is the nvcc utilized elsewhere as well?
Packages like torch don't check cuda runtime versions through nvcc.

I came across this too because of having an older full toolkit that included nvcc installed on my system while my conda environment had version 12.1 of the runtime. I ended up just removing both cuda installations and installing the full toolkit from here which includes nvcc https://developer.nvidia.com/cuda-12-1-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0 .
nvcc is used to compile when there isn't an available wheel or if the user chooses to build from source. I am not sure if there is another reason for it even when the wheel a matching wheel exists. If there isn't, then it would make sense to have that check moved to just prior to compiling. A lot of people install Cuda when they install Pytorch and I think when done that way, you just get the cuda runtime rather than the whole toolkit.


Ensure destination directory for output CR exsits

Without this patch a fresh deployment on hardware with >1 EDPM node fails on the libvirt_manager role task "Output CR for extra computes" with a message that the destination directory does not exist.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

I'll paste the full error that I saw which this fixes.
TASK [libvirt_manager : Output CR for extra computes dest={{ cifmw_libvirt_manager_basedir }}/artifacts/{{ cifmw_install_yamls_defaults['NAMESPACE'] }}/cr/99-cifmw-computes-{{ item }}.yaml, src=kustomize_compute.yml.j2, mode=0644] ***
Tuesday 17 October 2023  20:50:35 +0000 (0:00:00.765)       0:27:13.621 *******
failed: [localhost] (item=0) => {"ansible_loop_var": "item", "changed": false, "checksum": "d4782327a454767c6d0b6f155a00a3037fd20061", "item": "0", "msg": "Destination directory /home/fultonj/ci-framework-data/artifacts/openstack/cr does not exist"}
failed: [localhost] (item=1) => {"ansible_loop_var": "item", "changed": false, "checksum": "f795d976cf7a661cbe13231e6024670a64a96f91", "item": "1", "msg": "Destination directory /home/fultonj/ci-framework-data/artifacts/openstack/cr does not exist"}
failed: [localhost] (item=2) => {"ansible_loop_var": "item", "changed": false, "checksum": "c59e399fd7f290ebebaa17303022b37a80bbf8c3", "item": "2", "msg": "Destination directory /home/fultonj/ci-framework-data/artifacts/openstack/cr does not exist"}

/lgtm

/approve


Being able to set CORS with a .env variable would be nice

To support inter-institutional collaboration, sometimes setting non-default values for CORS is necessary. Currently to do this requires bindmounting a copy of https://github.com/Islandora-Devops/isle-buildkit/blob/main/drupal/rootfs/etc/confd/templates/drupal.fpm.conf.tmpl and inserting into that template.
I believe that this is enough of a "standard use case" that we should support it with a .env variable. I will issue a PR momentarily to address this.

What I've done is the VERY SIMPLE version that lets you set a single domain, or *. We could also look at a more complex situation where you pass in a regex that sets a list of allowed domains since you cannot just give it a list in string format. For example: https://github.com/kubernetes/ingress-nginx/issues/5496

See comment in https://github.com/Islandora-Devops/isle-buildkit/pull/334 for alternate solution inside of Drupal.


fail to run awq on qwen2-7b-instruct

config:
base:
    seed: &seed 42
model:
    type: Qwen2
    path: /models/Qwen2-7B-Instruct
    tokenizer_mode: slow
    torch_dtype: auto
calib:
    name: pileval
    download: False
    path: /app/src/llmc/tools/data/calib/pileval
    n_samples: 128
    bs: -1
    seq_len: 512
    preproc: general
    seed: *seed
eval:
    eval_pos: [pretrain, transformed, fake_quant]
    name: wikitext2
    download: False
    path: /app/src/llmc/tools/data/eval/wikitext2
    bs: 1
    inference_per_block: False
    # For 70B model eval, bs can be set to 20, and inference_per_block can be set to True.
    # For 7B / 13B model eval, bs can be set to 1, and inference_per_block can be set to False.
    seq_len: 2048
quant:
    method: Awq
    weight:
        bit: 4
        symmetric: False
        granularity: per_channel
        group_size: -1
        calib_algo: learnable
    act:
        bit: 16
        symmetric: False
        granularity: per_token
        calib_algo: minmax
    special:
        trans: True
        trans_version: v2
        weight_clip: True
        clip_version: v2
        save_scale: True
        scale_path: ./save/qwen2-7b-instruct-awq_w4a16-best/scale
        save_clip: True
        clip_path: ./save/qwen2-7b-instruct-awq_w4a16-best/clip
save:
    save_trans: False
    save_quant: False
    save_path: ./save/qwen2-7b-instruct-awq_w4a16-best/default

result:
2024-08-28 11:02:15.575 | INFO     | llmc.compression.quantization.base_blockwise_quantization:deploy:813 - -- deploy_origin_float_model done --
Traceback (most recent call last):
  File "/app/src/llmc/llmc/__main__.py", line 170, in <module>
    main(config)
  File "/app/src/llmc/llmc/__main__.py", line 77, in main
    ppl = ppl_eval.eval(model)
  File "/opt/conda/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/app/src/llmc/llmc/eval/eval_base.py", line 106, in eval
    eval_res = self.eval_func(model_fp, model)
  File "/opt/conda/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/app/src/llmc/llmc/eval/eval_ppl.py", line 14, in eval_func
    self.testenc = self.testenc.input_ids
AttributeError: 'Tensor' object has no attribute 'input_ids'
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 1141) of binary: /opt/conda/bin/python
Traceback (most recent call last):
  File "/opt/conda/bin/torchrun", line 33, in <module>
    sys.exit(load_entry_point('torch==2.0.0', 'console_scripts', 'torchrun')())
  File "/opt/conda/lib/python3.9/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 346, in wrapper
    return f(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/torch/distributed/run.py", line 794, in main
    run(args)
  File "/opt/conda/lib/python3.9/site-packages/torch/distributed/run.py", line 785, in run
    elastic_launch(
  File "/opt/conda/lib/python3.9/site-packages/torch/distributed/launcher/api.py", line 134, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/opt/conda/lib/python3.9/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
/app/src/llmc/llmc/__main__.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2024-08-28_11:02:22
  host      : 025ef762cd3f
  rank      : 0 (local_rank: 0)
  exitcode  : 1 (pid: 1141)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================

@LC-JiaZhaorong I'm running in ubuntu, looks like this file is for windows

looks like the issue has been fixed recently. After sync to the latest code, the problem does not exist.


AS0022 raises errors for obsolete objects/procedures

1. Describe the bug
AS0022 raises an error when the scope of an object or a procedure changes, even if the element as been marked as obsolete in the previous version.
The exact error is:
error AS0022: The external scope in '***' cannot be removed or changed to 'internal' because it will break dependent extensions. Note that adding an access modifier ('local', 'protected', or 'internal') overrides the argument in 'Scope'.
To bypass the error, you just have to change the name of the procedure or the name+id of the object.
It is not really consistant. This is a revival of a previous bug: https://github.com/microsoft/AL/issues/5870
2. To Reproduce
See: https://github.com/microsoft/AL/issues/5870
3. Expected behavior
We should be able to change the scope of something marked obsolete. Of course it can break extensions, but as we are allowed to remove the element, the point is not relevant.
4. Actual behavior
AS0022 seems to ignore obsolete attributes.
5. Versions:

AL Language: <IP_ADDRESS>431
Visual Studio Code: get this error by running alc.exe directly (no extension)

Related open issue, but for setting enums to internal: #7700.


Require orientation property on device object with proper binding

Requirements:
My requirement is that the screen below has a chart and details below it. When I rotate my phone, it should only show me the chart on full screen in landscape mode.
Screen:

Suggested Solution:

We can add orientation property in device object which has the value of the current orientation mode and that's either portrait or landscape.
The use of the property will be like this: device.orientation. and on the basis of orientation value, we can make some conditional rendering to achieve the required view.
Please make sure the bindings fire properly when orientation changes. The device info currently does not update after the initial load so we do need to enhance it.

I've pushed my code in device_orientation branch.
here's the link to the file in which I've added orientation property:
https://github.com/EnsembleUI/ensemble/blob/1e2279106f46770b872468e0f2eb3cf3086f61ea/modules/ensemble/lib/framework/device.dart
Please test it and you may need to enhance the functionality in order to have proper live binding.


Use req.Host for Host header

"Host" header cannot be set with req.Header.Set(), so set it to req.Host.

cf. https://github.com/golang/go/issues/7682

@yusukebe Could you please review it?

Hi @winebarrel !
I don't know it! This is good!
Thank you!

@winebarrel
I've released v0.1.3 including fixes on your PRs. Thank you!

Thank you!


Feature: Make the app sidebar collapsible

As a a user, I want a collapsible side bar so that I can have the most page real estate possible.

.take

@isabensusan, I think @zeucapua could work on this, to help with the polish for workspaces.


Change node with JSONata $parseInteger fails with "#" picture string

What are the steps to reproduce?
Create a flow with inject->change->debug, set the change node to set JSONata data using $parseInteger (see code pasted below). The JSONata in the sample code is:
{
    "result": $parseInteger("50", "#")
}

Deploy and click on the inject.
[{"id":"820000ea.4d1ca","type":"inject","z":"ac49425d.84b26","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":620,"wires":[["339793f0.0fc3ac"]]},{"id":"339793f0.0fc3ac","type":"change","z":"ac49425d.84b26","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\t    \"result\": $parseInteger(\"50\", \"#\")\t}\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":380,"y":620,"wires":[["212fd0ff.3adc7"]]},{"id":"212fd0ff.3adc7","type":"debug","z":"ac49425d.84b26","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":535,"y":620,"wires":[],"l":false}]
What happens?
An error from the change node:
Invalid JSONata expression: matchSpec.parse is not a function
What do you expect to happen?
In the case with the code above, payload.output to end up with the integer 50.
NOTE: I thought I'd see if $formatInteger(50, "#") had the same issue. This time I got a different error, which better explains the problem:
Invalid JSONata expression: Formatting an integer as a sequence starting with "#" is not supported by this implementation
Changing the two picture strings to be "0" instead makes the code work. So until "#" is supported, it would be better if $parseInteger produced a similar error message.
Please tell us about your environment:

[ ] Node-RED version: 1.0.2
[ ] Node.js version: 10.16.3
[ ] npm version: 6.11.3
[ ] Platform/OS: Ubuntu
[ ] Browser: Chrome

Hi - this is an upstream issue; the error messages in question are those generated by JSONata. Please raise an issue against JSONata itself - https://github.com/jsonata-js/jsonata/issues

Done


Use popup without the button

Hi,
Is there a way to use the popup without the build in button?
I want to use my own button
Thanks in advance!

Hello @kwiznix , you can see an example in our README:
<button id="button">open form</button>
<script src="//embed.typeform.com/next/embed.js"></script>
<link rel="stylesheet" href="//embed.typeform.com/next/css/popup.css" />
<script>
  const { open, close, toggle, refresh } = window.tf.createPopup('<form-id>')
  document.querySelector('#button').click = toggle
</script>

Hi, I am using the embed-react package

If you want to open the popup using a button I suggest you pass className or style props to the PopupButton to customize it. Is there anything you are not able to achieve this way?
If you dont want to use a button at all, you can use the vanilla embed lib directly. See an example from my article on Medium - here the popup opens on user interaction (without a button):
import { createPopup } from "@typeform/embed";
import<EMAIL_ADDRESS>
const MyComponent = () => {
  const openPopup = (event) => {
   createPopup("<form id>").open()
  }

  return <input type="text" onChange={openPopup} />
}

Hello @kwiznix , did this solution work for you? Can we close this or do you need any further assistance?

Yes, I used the @TypeForm/embed before and it worked perfectly and suddenly it stopped working (not showing popup, but only a small screen at the lower left side of the page), So I tried the @typeform/embed-react, since my application is in react as well. In this package it wasnt possible to use it the button I did use, so went back to the @TypeForm/embed package and found out there was a type in the css import which solved it haha, thanks for your help!

For anyone else coming across this issue who needs the popup functionality without the PopupButton, this is what we did with our custom Button.
<PopupButton id="eNVhaQYU" as="span">
   <Button variant="primary">Begin survey</Button>
</PopupButton>

The following doesn't work, but it would be helpful if as took a component instead of just HTML elements. Then you could do
<PopupButton as={Button} variant="primary">Begin survey</PopupButton>

The styling of the popup from createPopup and that from the react-embeded button is nowhere near similar :(

This is specifically what "createPopup" would generate, with the parent being the body (set explicitly and checked in the rendered HTML), in a react app
The button worked perfectly

Using the button with the as="div" option worked just fine though :) But a bit confusing that is the solution and it's buried, with the last one being a solution that doesn't work.

@George3d6 if you use createPopup you also need to load CSS manually. Either include it in your bundle or link from AWS (https://embed.typeform.com/next/css/popup.css). Then you can use any button and you will not net need to use the React wrapper @typeform/embed-react.
If you do use the wrapper you can use the as="div" and style the button as you like.


Debugger connection lost after executing "vscode.openFolder" command

VS Code version: 1.54.2
Platform: Windows 10
debugger_disconnects.zip
The project to reproduce is an extension generated using yo code
Steps to reproduce

Open the project
Run npm ci in a terminal window
Open extension.test.ts file
Place a breakpoint in line 15 (log statement)
Select Extension Test for debugging
Start debugging

Observed results
The breakpoint hits, then after a few seconds the debugger loses connection
Notice that if we remove the vscode.openFolder command everything works as expected.

This is an effect of the design of VS Code -- tests run in the extension host, and extensions hosts are per-workspace. Opening a different folder (i.e. a new workspace) will give you a new extension host and stop the run that was previously running tests.

Is there a workaround for this? i.e. attach the debugger to the new extension host?

I don't believe there's any workaround


Added talks for PyCascades 2022

Issue #1150

The talk descriptions scraped from YouTube prepend the speaker name in parentheses, but we already have speaker information in its own attribute, and the conference website renders names as a byline separate from the description text. I'm pushing a commit to this branch to remove the extra usage of names and will merge the updated PR.


[joltphysics] Update to 5.0.0

Update joltphysics port from 4.0.0 to 5.0.0 : https://github.com/jrouwe/JoltPhysics/releases/tag/v5.0.0

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


fix(daemon): fix fd leak when writing yields BrokenPipe

we would be waiting on read on an empty pipe for ever.
the leak is hit by running lorri internal stream-events --kind snapshot in a loop

[x] Amended the changelog in release.nix (see release.nix for instructions)

Nice find!


broken link

Need information on how the content passes a string to the app. The "more info" link goes to a 404 page.

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

ID: ab5e5f03-b5af-c5d5-aeb6-5048627754f7
Version Independent ID: bbef25a3-6e9d-f557-5185-76318c7703fb
Content: WebViewControl.ScriptNotify Event (Windows.Web.UI.Interop) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.web.ui.interop.webviewcontrol.yml&version=GBlive&_a=contents
Service: windows
GitHub Login: @wdg-dev-content
Microsoft Alias: wdg-dev-content

Also added more details and another "see also" link per @hunkydoryrepair's helpful suggestion.


SubmitSelfServiceLoginFlowWithHttpInfoAsync for Aal2 fails using .NET client in SPA (browser mode)

Preflight checklist

[x] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[ ] This issue affects my Ory Cloud project.
[ ] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
Trying to submit a login flow for Aal2 using .NET client in SPA (browser mode). This requires passing both csrf and ory_session cookies. No clear way in the SDK docs to do this. The only options seems to use Configuration.DefaultHeaders["cookie"] (tested and working for Aal1 that requires only csrf cookie). Setting both cookies (concat cookies using '; ') using this strategy does not work. Also tried to rewrite the method SubmitSelfServiceLoginFlowWithHttpInfoAsync (from source) to add both cookies using the lines below:
        if (sessionCookie != null)
            localVarRequestOptions.HeaderParameters.Add("cookie", sessionCookie.ToString());

        if (csrfCookie != null)
            localVarRequestOptions.HeaderParameters.Add("cookie", csrfCookie.ToString());

but again it does not work if settings both cookies (only works for one).
Please advise.
Reproducing the bug
Create a .NET SPA web application (e.g. Blazor server app). Add the Ory.Client Nuget. In the code, use the SDK to initialize a login flow for Aal2, fill the form data and call SubmitSelfServiceLoginFlowWithHttpInfoAsync.
Relevant log output
No response
Relevant configuration
No response
Version
Ory.Client 0.0.1-alpha.30
On which operating system are you observing this issue?
Windows
In which environment are you deploying?
Binary
Additional Context
No response

Thank you for the report! It’s very unfortunate that this SDK method is difficult to use. We will work towards improving the SDK use. At the moment most clients are autogenerated.
One option you have is to let the browser HTML form do the submission. Then you do not need to worry about the right tokens :) Could you maybe explain a bit where you use the SDK method? That could help me better understand what guidance to give you!

I looked at our swagger definitions and it looks like the submit login method is missing the cookie parameter. So it’s something we can address fairly quickly in Kratos, and merge then downstream in Cloud :)
Since it’s EoD here, you’ll probably have the fix by tomorrow, latest Tuesday!

Thank you for your reply.
Yes, the (session) cookie parameter is missing in the submit login method, but looking at the SDK source (for instance ToSessionWithHttpInfoAsync) you can see that the cookie is passed to the underlying request as:

localVarRequestOptions.HeaderParameters.Add("Cookie", Ory.Client.Client.ClientUtils.ParameterToString(cookie));

And a working workaround is to set the:

ClientApi.Configuration.DefaultHeaders.Add("Cookie",  cookie);
which is later added to the localVarRequestOptions.HeaderParameters as intended.

Currently the problem is when two cookies are needed for the SubmitSelfServiceLoginFlowWithHttpInfoAsync method to work (in this case the csfr and the session cookies).
Either changing the SDK source with:

localVarRequestOptions.HeaderParameters.Add("Cookie", csrfCookie);
localVarRequestOptions.HeaderParameters.Add("Cookie", sessionCookie);
Or merging both cookies in the DefaultHeaders:
ClientApi.Configuration.DefaultHeaders.Add("Cookie",  csrfCookie + "; " + sessionCookie);
Always throws a no active session exception.

Futher, if I only send the session cookie, a CSRF exception is thrown and if I only send the csrf cookie, a no active session exception is thrown, so it works when sending only one cookie...
Let me know if there is something else I can try.

Got it, thank you for the great explanation! One question I have is whether you need to submit the form using programmatic access or if it would be possible to submit the HTML form as is:
<form action="https://..." method="post">
  ...
</form>

I am asking because the browser should send all the cookies automatically, which is why the SDK submission methods do not have a cookie parameter at the moment.
Or are you proxying the requests to the API?

We're developing an SPA application, so using the programmatic accessor seems to be the right way to interact with Ory.
After some sniffing around, we figured out what the problem is. The Ory server application is only splitting multiple cookies sent in the Cookie HTTP header if they are terminated with ";", this is why it was not working. I don't think this is standard behavior (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie).
We already updated our client side code to cope with this, so it now seems to be working. If we find any other difficulty that we can figure out, we will let you know.

Got it, thanks! I'm not sure why it needs to be terminated but it appears to be the requirement of the Go Cookie package so I'm not sure if we can change it.
One question I have is, if the application is running in the browser (so SPA), shouldn't thw browser send the cookies automatically alongside the AJAX request even if you do programmatic access? Or does this setup work differently when using .NET?

The client browser send the async request to our custom UI page (our server) which in turn uses the Ory SDK to pass the information to the Ory Servers. From our understanding of the Ory SDK for .NET, the ClientApi relies on Restsharp to send requests to the Ory server endpoints. Each request is filled with cookies, headers, form data, etc. manually using the ClientApi.Configuration class and the provided method arguments. No information from the current HTTP Context is used (or present at that stage) so no cookies, headers, etc. are set automatically from the client (browser). This is why we are manually passing the required cookies via ClientApi.Configuration.DefaultHeaders.
Regarding using the session cookie returned after a successful call to submit login, this is also not automatically added to the client browser. We also did not find information on this in the docs, but it is our understanding that we will need to redirect the client to another page in order to pass the session cookie via HTTP Cookie Header (once this cookie should not be set using JS for security reasons - cross-site scripting XSS). If there is a better way of doing this, let me know.

I see! We are still working on improving the documentation around how these flows work (in particular, writing your own UI). The general idea is to not intercept any requests but instead let the browser deal with this stuff. That way, you don't have to work with any of the cookies and others. That is why the cookies are not part of the SDK.
You can find a JavaScript example of that here (SPA with ReactJS):
https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/37dbc630d4a495e2de64fcb807316150621a7938/pages/login.tsx#L80
There, we are making the AJAX request (and calling the SDK) directly in the browser, and to the Ory API - you can use the Ory Proxy or the custom domain (CNAME) feature (lmk if you do not have a free CNAME yet, I can set you up).
You can find a write up for javascript here:
https://www.ory.sh/nextjs-authentication-spa-custom-flows-open-source/
Hope this helps!


[UX] Prefix vertical-alignment when error message is shown

When the input is invalid, an error message ("Invalid phone number") will appear. Unfortunately, the textbox+message combo makes the right-side taller and, since the prefix is vertically aligned, the layout looks weird. The prefix vertical alignment should stay the same.
In addition to that, it would be great if there's a flag to hide the error message (can't set it to null, will default to "Invalid phone number"). When this widget is used alone e.g. in a "log in by phone" screen, some apps prefer to show error dialog instead (for consistency with other screens perhaps), and the red-colored textbox outline should already give a clue.

Please could shed more light because I still do not understand this, but I see what I can do.

Hi @wiradikusuma  I  just pushed a fix for the alignment issue, but as for a flag to hide the error message, flutter does not support that out of the box to achieve this you'll have to modify errorStyle from InputDecoration. Thanks for your contribution


MINOR: Add system test for optimization upgrades

This is a new system test testing for optimizing an existing topology.  This test takes the following steps

Start a Kafka Streams application that uses a selectKey then performs 3 groupByKey() operations and 1 join creating four repartition topics
Verify all instances start and process data
Stop all instances and verify stopped
For each stopped instance update the config for  TOPOLOGY_OPTIMIZATION to all then restart the instance and verify the instance has started successfully also verifying Kafka Streams reduced the number of repartition topics from 4 to 1
Verify that each instance is processing data from the aggregation, reduce, and join operation
Stop all instances and verify the shut down is complete.

For testing I ran two passes of the system test with 25 repeats for a total of 50 test runs.
All test runs passed
First 25 system test runs
Second 25 system test runs
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ping @guozhangwang, @mjsax, and @vvcephei for reviews

@bbejeck as a side note, we believe that when doing this upgrade there may be a minor amount of data loss as some repartition topics that gets merged may have data not processed yet. Could you add some logs to illustrate how much data in percentage may be incurred in lost (we do not make it as a verification phase, but just print it out like "produced XXX, consumed YYY, lost XXX - YYY".

@guozhangwang @mjsax updated per comments

@bbejeck as a side note, we believe that when doing this upgrade there may be a minor amount of data loss as some repartition topics that gets merged may have data not processed yet. Could you add some logs to illustrate how much data in percentage may be incurred in lost (we do not make it as a verification phase, but just print it out like "produced XXX, consumed YYY, lost XXX - YYY".

This could be a little tricky as I'm using the VerifiableProducer with no message limit.  So this PR does not drag on can I do a separate PR adding a separate test?

Kicked off another system test with 25 repeats all passed

This could be a little tricky as I'm using the VerifiableProducer with no message limit. So this PR does not drag on can I do a separate PR adding a separate test?

Sounds good.

LGTM. @mjsax feel free to merge after you made another pass.

One meta question is that why we can still observe imbalance that tasks of the same sub-topology are not distributed evenly, do you have any ideas?

@bbejeck any ideas?

One meta question is that why we can still observe imbalance that tasks of the same sub-topology are not distributed evenly, do you have any ideas?
@bbejeck any ideas?

https://github.com/apache/kafka/pull/5912#discussion_r234244608
Thinking about this some more, I also think setting  group.initial.rebalance.delay.ms to a higher value will help mitigate the issue.  Right now if one client gets tasks assignments before the other clients, it creates the potential for task imbalance.  But if all the groups are present at the same time, we should see an improvement in task assignment balance.  I'll experiment with this system test and see if it makes a difference.

Thinking about this some more, I also think setting  group.initial.rebalance.delay.ms to a higher value will help mitigate the issue. Right now if one client gets tasks assignments before the other clients, it creates the potential for task imbalance. But if all the groups are present at the same time, we should see an improvement in task assignment balance. I'll experiment with this system test and see if it makes a difference.

Thanks for the explanation, and it makes sense to me that if the imbalance only happens on the second phase, then it is indeed possible because maybe not all instances participated in the first rebalance. I agree that initial.rebalance.delay.ms would help but since it is a broker-side config as we discussed it before it is not a very well-designed configuration, and we may consider deprecating it as we improve the rebalance protocol in the future. So I think we do not need to spend more time experimenting it (again, just to clarify I agree with you that it will mitigate the issue, just think we do not need to spend more time validating that on system test :)

retest this please

retest this please

Hey @bbejeck ,
Sorry my review is late, but since the tests are still failing, maybe I can sneak in two comments (above, about named parameters in python)?
Regardless, it LGTM. Thanks!

@vvcephei updated per comments and kicked off new system test https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2104/

System test succeeded, merging to trunk now.


Can't compile into an exe using mingw

Hey there,
I am using Windows and mingw, however I cannot for the life of me get newflasher to compile. I keep getting issues with make. Does this need to be compiled on a Linux machine? Or am I missing something?
If possible, it would be nice if there were prebuilt binaries for newflasher.

I'm building on Linux trought i686-w64-mingw32-gcc package, don't care-know-havefreetime for anything else, hope this help

prebuilt binaries is here -> https://forum.xda-developers.com/t/tool-newflasher-xperia-command-line-flasher.3619426/


Error detected while processing function 62_on_window_changed

os: ubuntu 16.04(unity7 lts)

before install spf
apt install vim vim-gtk

install spf13
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh

execute vim 123, then report these:
Error detected while processing function <SNR>62_on_window_changed:
line    7:
E121: Undefined variable: ft
Press ENTER or type command to continue
Error detected while processing function <SNR>62_on_window_changed:
line    7:
E15: Invalid expression: get(g:, 'airline_last_window_changed', []) == l:key &&
&stl is# '%!airline#statusline('.winnr().')' && ft !~? 'gitcommit'
Press ENTER or type command to continue

The airline dev's have fixed this issues some minutes ago. Just update your plugins and the problem should be solved.

@offa thanks for your help, it's fixed


ivy-previous-history-element (M-p) selects the previous selection, instead of previous input

What did you expect to happen?
M-p (when ivy complete is active) selects the previous input, especially for counsel-rg.
This screenshot is what happened after hitting M-p in vanilla emacs with ivy:

What actually happened?
M-p selects the previous selection.
This screenshot is what actually happened after hitting M-p in doom:

As you can see, the previously selected result (init.example.el:147:       ;;qt                ; the 'cutest' gui framework ever) gets filled, not the query test.
Maybe this is intended, but I cannot which config in doom changes this behavior and how to get the original behavior back.
Steps to reproduce:

call counsel-rg or +default/search-project
type anything, and select a result
call counsel-rg again, hit M-p

System information:

emacs   version    27.0.91
        features   NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER GMP
        build      Apr 27, 2020
        buildopts  (--enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-mac/HEAD-86c4d40/share/info/emacs --prefix=/usr/local/Cellar/emacs-mac/HEAD-86c4d40 --with-mac --enable-mac-app=/usr/local/Cellar/emacs-mac/HEAD-86c4d40 --with-gnutls --with-json)
        windowsys  mac
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop ab0d37776 2020-05-08 06:23:28 -0400
        dir        ~/.doom.d/
system  type       darwin
        config     x86_64-apple-darwin19.4.0
        shell      /usr/local/bin/zsh
        uname      Darwin 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
        path       (~/.asdf/shims /usr/local/opt/asdf/bin /usr/local/opt/coreutils/libexec/gnubin ~/Projects/dotfiles/usr_local_bin /usr/local/bin /usr/local/sbin /usr/bin /bin /usr/sbin /sbin /usr/local/Cellar/emacs-mac/HEAD-86c4d40/libexec/emacs/27.0.91/x86_64-apple-darwin19.4.0/)
config  envfile    envvar-file
        elc-files  0
        modules    (:input chinese :completion company (ivy +prescient) :ui hl-todo (modeline +light) ophints (popup +defaults) pretty-code vc-gutter :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors snippets :emacs dired electric undo vc :term vterm :checkers syntax (spell +everywhere) :tools editorconfig (eval +overlay) gist (lookup +dictionary) lsp macos magit :lang data (elixir +lsp) emacs-lisp erlang fsharp json javascript ledger lua markdown plantuml (ruby +rails +rbenv) sh web yaml :email (mu4e +gmail) :private ui org :config (default +smartparens))
        packages   ((pyim :disable t) (evil-escape :disable t) (evil-find-char-pinyin) (dash-at-point) (nov))
        unpin      (n/a)
        elpa       (use-package smartparens quelpa-use-package quelpa org-plus-contrib dash bind-key)

Doom has never changed the M-p keybinding. It is bound to ivy-previous-history-element upstream, so I imagine this is an upstream bug.
In my tests, M-p alternates between restoring old inputs and old selections. This should probably be taken upstream.

Yes, you are right.
I find this bug was fixed in https://github.com/abo-abo/swiper/issues/2533
I've opened #3071 to bump the ivy version and fix this issue


Handle null vals correctly in StatsAggregator

Fixes https://github.com/apache/iceberg-python/issues/337

@Fokko @jonashaag could I ask for your review on this PR?


Suggetsion

in web editor , show commands instead of permissions , that selected group can access

Permissions typically relate to commands. Nor is it possible for LP to know which commands match to which permission.

That wouldn't really be a good thing, especially since it isn't always 100% clear which command and which permission are connected. It would require some additional "thinking" of LP that could cause performance issues and wouldn't be reliable.
I also can't see a reason why a web editor for a permission plugin would need  to display commands.

The permissions system as it is far superior to what you suggested. Also often a command may require multiple permissions, which then makes what you want either impossible or utterly impractical.
Additionally permissions can control more than just commands. So those would need to represented in the normal manner. That would just be a huge mess.
And as mentioned LuckPerms is a permissions plugin. Not a command control plugin. LuckPerms is not aware of what functionality any of the permissions have (except its own ones of course).
So while I understand where you are coming from, you should instead just learn to set up permissions.


How delete work item from ms project only?

I press "Get work items" button, then add existing work items from TFS.  Now I want to delete this work items from my project, but not delete them from TFS. How in 2019 adding something in table can't be undone?

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

ID: 4f6edd47-46d7-ab0d-db47-d73bc45d6b43
Version Independent ID: 6ac2ae49-0bd0-2c28-fc87-7f034dd96443
Content: Create your backlog and tasks using Microsoft Project - Azure Boards
Content Source: docs/boards/backlogs/office/create-your-backlog-tasks-using-project.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@bazis Please accept our apologies for the delay in getting to this issue.
It looks like you were working through an issue with the product, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


Meantime

Coverage decreased (-27.03%) to 67.598% when pulling 6caad57fce60178c230eaf933b937edd1d8cd477 on homeopatchy:meantime into 98f223804a338fb03c0b9e94f0ac84a264f58671 on bitpay:master.

Coverage decreased (-27.03%) to 67.598% when pulling 6caad57fce60178c230eaf933b937edd1d8cd477 on homeopatchy:meantime into 98f223804a338fb03c0b9e94f0ac84a264f58671 on bitpay:master.


Link to js-file broken

According to the Installation-part, the link to https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/master/body-miscale-card.js is broken.

Edit: I think the dist is missing.
https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/main/dist/body-miscale-card.js works fine

There was transition master > main clearly too.

Thanks for reporting it. It's correct.


Homework14: Pavel Mitrafanau

Good day, Sergei
My homework14 files are ready for review

Absolute file path has been replaced with relative path, now should be fine

I also updated the ruff linter launch command.


Fix the infinite loop issue when using with React 18

What has been done

Fixed infinite loop issue when passing empty string value to usePhoneInput on initial render
Removed unused RequiredType

:tada: This PR is included in version 2.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] [oe2309] server terminated abnormally when call plpython procedure

Cloudberry Database version
PostgreSQL 14.4 (Cloudberry Database 1.5.5+dev.77.g5024c64f build 79256 commit:5024c64f)
What happened
Testcase python3/plpython_transaction failed.
test python3/plpython_schema      ... ok           90 ms
test python3/plpython_populate    ... ok          106 ms
test python3/plpython_test        ... ok           82 ms
test python3/plpython_do          ... ok           26 ms
test python3/plpython_global      ... ok           56 ms
test python3/plpython_import      ... ok           86 ms
test python3/plpython_spi         ... ok          291 ms
test python3/plpython_newline     ... ok           48 ms
test python3/plpython_void        ... ok           48 ms
test python3/plpython_call        ... ok           77 ms
test python3/plpython_params      ... ok           67 ms
test python3/plpython_setof       ... ok          117 ms
test python3/plpython_record      ... ok          103 ms
test python3/plpython_trigger     ... ok          393 ms
test python3/plpython_types       ... ok          226 ms
test python3/plpython_error       ... ok          141 ms
test python3/plpython_ereport     ... ok           83 ms
test python3/plpython_unicode     ... ok           83 ms
test python3/plpython_quote       ... ok           50 ms
test python3/plpython_composite   ... ok          129 ms
test python3/plpython_subtransaction ... ok          219 ms
test python3/plpython_transaction ... FAILED (test process exited with exit code 2)      311 ms
test python3/plpython_gpdb        ... ok           95 ms
test python3/plpython_drop        ... ok           83 ms

-- also not allowed if procedure is called from a function
CREATE FUNCTION transaction_test3() RETURNS int
LANGUAGE plpython3u
AS $$
plpy.execute("CALL transaction_test1()")
return 1
$$;
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
connection to server was lost

What you think should happen instead
No response
How to reproduce
cd /code/cbdb_src/src/pl/plpython/
make installcheck
please note:
simply issuing the ddl can not recreate the problem. But running all the test cases mentioned above can reproduce the issue all the time.
CREATE FUNCTION transaction_test3() RETURNS int
LANGUAGE plpython3u
AS $$
plpy.execute("CALL transaction_test1()")
return 1
$$;

Operating System
oe2309:x86_64
Anything else
No response
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

The python version is 3.11.4


Fixed node binary location

The nodejs executable is not always in /usr/bin/

Thanks. Have you problems with https://github.com/cawa-93/vite-electron-builder/blob/2b9365b0808e4758621f951f749c6c09a42d7206/scripts/build.js#L1 ?

Thanks. Have you problems with
https://github.com/cawa-93/vite-electron-builder/blob/2b9365b0808e4758621f951f749c6c09a42d7206/scripts/build.js#L1
?

Ah yes, it's the same story actually. Can you make this changes?


Respect system preference for dark mode rather than toggling

When we made read-only Vivaria it came up that it would be nice to just respect system preference rather than needing to read/write from the DB

@tbroadley yeah ok, here's a PR that does that instead: #708


Change the default argument limit of Messageable.history to 50 instead of 100

Summary
The official client requests the channel's history with a limit of 50 messages.
What is the feature request for?
The core library
The Problem
When using Messageable.history, it will request a total of 100 messages.
The Ideal Solution
When using Messageable.history, it should request a total of 50 messages by default.
The Current Solution
Change limit's default value to 50 instead of 100.
Additional Context

Don't really feel like this breaking change is worth it, for something like this which anti-spam doesn't care about. If you want to adhere to client behavior you can pass the limit param to the function.


Commit new connections after NetworkPolicy check

Add conntrackCommit table(#105) between ingressDefault table(#100) and
L2ForwardingOut(#110) table, and packets in the new connections are committed
in this table. There is no table-miss flow in this table.
Fixes #219

/test-e2e

/test-e2e

@wenyingd It seems that this didn't fix the test issue. Is there anything else at play here?

Hi @antoninbas  it doesn't work as we expected when we change to commit the connection at the end of the pipeline. I think one more day is needed to find the root cause. We used to check OVS code, and find that the ct_state should be changed to "Established" only if the packet TCP_FLAGs has marked as "ACK" or the connection is already marked as Established before. By capturing the packets, the ACK packet is not received before the re-transmission packet, so it is wired that OVS changed its state to "est". I doubt there is a bug in OVS when decoding the packets. If so, I'm afraid the final solution should be provided by OVS.

@wenyingd I understand your comment. I'm fine with committing both connections (pre-DNAT and post-DNAT). I am not sure whether there is an alternative solution. Maybe we could accept all traffic if the source IP is in the service CIDR? I'm not sure it's better though...
I tested your changes locally and they work. The Kind test is failing for your Pod->Pod traffic test because runWgetCommandFromTestPod tries to do a DNS lookup on the Pod name which is not supported (only works for service name). If you hardcode the Pod IP it should work.
BTW, I thought of another potential fix to the original issue: we could use +rpl instead of +est in the conntrack rules for network policies. However, it just hides the problem instead of fixing it. What we have now (commit after applying NP rules) is better IMO.

@antoninbas Thanks for verifying the change. I don't think +rpl could work in the NP rules, for it only represents the reply packets(ACK), and not include the later packets sent from the original sender. According to OVS, once a connection is established, +est should work for all later packets. So I perfer using "+est" to mark the accepted connections.
I change the UT to leverage Pod is because origianlly it has failed when the test case is using Service address. And we doubt the reason is we have committed all connections destined at the Service to the ct, no matter it would be dropped by NP rule or not. And I think our design for committing the connection after NP rule check might not work for the Service case, at least not work for the Service if it is depending on iptables but not Openflow.
I don't understand "Maybe we could accept all traffic if the source IP is in the service CIDR?", for I don't think there is any traffic using the service CIDR as source IP.

See replies inline

@antoninbas Thanks for verifying the change. I don't think +rpl could work in the NP rules, for it only represents the reply packets(ACK), and not include the later packets sent from the original sender. According to OVS, once a connection is established, +est should work for all later packets. So I perfer using "+est" to mark the accepted connections.

We only need it to work for reply packets. subsequent packets from the sender can still go through the regular flows (with no performance penalty IMO). Actually that may be a good thing because right now if a network policy is updated while a long-lived connection has already been established, the new network policy will never be applied to the existing connection. We discussed this with @salv-orlando and we thought it could be better to have a way to enforce new network policies to existing connections.

I change the UT to leverage Pod is because origianlly it has failed when the test case is using Service address. And we doubt the reason is we have committed all connections destined at the Service to the ct, no matter it would be dropped by NP rule or not. And I think our design for committing the connection after NP rule check might not work for the Service case, at least not work for the Service if it is depending on iptables but not Openflow.

Confirmed that the test case passes when using Pods directly with the following change:
diff --git a/test/e2e/framework.go b/test/e2e/framework.go
index c22f9fb..669543b 100755
--- a/test/e2e/framework.go
+++ b/test/e2e/framework.go
@@ -780,7 +780,7 @@ func (data *TestData) runPingCommandFromTestPod(podName string, targetIP string,
 }

 func (data *TestData) runWgetCommandFromTestPod(podName string, svcName string) error {
-       cmd := []string{"nc", "-vz", "-w", "8", svcName + "." + testNamespace, "80"}
+       cmd := []string{"nc", "-vz", "-w", "8", svcName, "80"}
        _, _, err := data.runCommandFromPod(testNamespace, podName, busyboxContainerName, cmd)
        return err
 }
diff --git a/test/e2e/networkpolicy_test.go b/test/e2e/networkpolicy_test.go
index aa6bfc9..9852aad 100755
--- a/test/e2e/networkpolicy_test.go
+++ b/test/e2e/networkpolicy_test.go
@@ -102,12 +102,13 @@ func TestIPBlockWithExcept(t *testing.T) {
                }
        }()

+       nginxPodIP, _ := data.podWaitForIP(defaultTimeout, nginxPodName)
        // pod0 can wget to service.
-       if err = data.runWgetCommandFromTestPod(podName0, nginxPodName); err != nil {
+       if err = data.runWgetCommandFromTestPod(podName0, nginxPodIP); err != nil {
                t.Fatalf("Pod %s should be able to connect Pod %s, but was not able to connect", podName0, nginxPodName)
        }
        // pod1 cannot wget to service.
-       if err = data.runWgetCommandFromTestPod(podName1, nginxPodName); err == nil {
+       if err = data.runWgetCommandFromTestPod(podName1, nginxPodIP); err == nil {
                t.Fatalf("Pod %s should not be able to connect Pod %s, but was able to connect", podName1, nginxPodName)
        }
 }

I don't understand "Maybe we could accept all traffic if the source IP is in the service CIDR?", for I don't think there is any traffic using the service CIDR as source IP.

When reply traffic goes through kube-proxy, the source IP gets rewritten to the service IP, so that the 5-tuple is correct when the senders receives the reply traffic. For example, when you capture traffic on the gw interface you may see that:
04:01:21.282628 IP <IP_ADDRESS>.80 > <IP_ADDRESS>.57838: Flags [P.], seq 1:233, ack 77, win 502, options [nop,nop,TS val 704332598 ecr<PHONE_NUMBER>], length 232: HTTP: HTTP/1.1 200 OK
04:01:21.282639 IP <IP_ADDRESS>.80 > <IP_ADDRESS>.57838: Flags [P.], seq 1:233, ack 77, win 502, options [nop,nop,TS val 704332598 ecr<PHONE_NUMBER>], length 232: HTTP: HTTP/1.1 200 OK

At this stage it seems that this patch (commit connection to Pods after network policy enforcement) is a good workaround for the issue with the netdev implementation of conntrack, so unless I am misunderstanding something I believe we can merge it. The next step would be to reproduce the issue with a simple 2-table pipeline using only the OVS command-line tools, so we can report the issue to the OVS project.

/test-e2e


Research Travis CI for testing and deployment

Will keep using GitHub actions as it is better suited for our option


Dbeaver not updating to 4.1.3 on ubuntu

hi,
I have version 4.1.2 64bit installed on my ubuntu 16.04, when clicking install on the latest 4.1.3 the "ubuntu software" goes back to 4.1.2 and 4.1.3 isn't installing.
how do i solve this issue?

What type of installer do you use (rpm, zip)?
Do you download it directly from dbeaver web site?

it's not the debian pkg problem. it's the ubuntu software center.
dpkg -i /pathtopkg/dbeaver-ce_4.1.3_amd64.deb; apt install -f;
works like a charm.

Thanks for information


Unconsumed async exception in TCK?

From @Scottmitch:
"This feels like a problem in the TCK test harness
The root cause of the exception is "illegal argument to request n" which is generated during optional_spec309_requestNegativeNumberMaySignalIllegalArgumentExceptionWithSpecificMessage and that is expected. However the exception is detected asynchronously during running of a different test required_createPublisher1MustProduceAStreamOfExactly1Element which occurs during the subscribe operation (we haven't even requested data for this test). Seems like an async exception is not properly consumed in optional_spec309_requestNegativeNumberMaySignalIllegalArgumentExceptionWithSpecificMessage." - Source

@akarnokd I think you're right, seems like it is an issue in how the executor works.

given that their subscribeOn should fail and deliver on the background thread:

The test in question PublisherPublishOnOverrideTckTest only applies the publishOnOverride operator which delivers signals to Subscribers on another thread. It is expected that the Subscription thread is not modified from the calling thread.
I am also not able to reproduce locally with this reproducer on macOS or linux. Looks like the error handling in optional_spec309_requestNegativeNumberMaySignalIllegalArgumentExceptionWithSpecificMessage should block for a single exception before moving on which looks correct. We haven't seen the issue in a while but it is racy so I'll re-visit next time it occurs.

I can't build their library on Windows to check the latest unreleased code.

ServiceTalk now supports windows fwiw 🎉


Use relative paths where possible in client code

Client code won't work in deployment if we don't use relative paths (we have no idea who the host will be). This PR addresses that shortcoming

trivial; merging upon travis success


how to append info data next to the bar in chartist.js used in angular component ?

I want to add info data next to the selected line bar in the chartist.js library that is used inside an angular component in the highlighted yellow portion in the attached picture.

I want to add info data next to the selected line bar in the chartist.js library that is used inside an angular component in the highlighted yellow portion in the attached picture.

please, can you share your code implementation on angular?


[eslint] Automatic fix is not always working

When running eslint with the autofix flag enabled the automatically fixed files are not always being written.

There appears to be an issue where updated version of eslint (or the rules) no longer populate the fixableErrorCount and fixableWarningCount from the results and instead only populate the output.
Going to update so that whenever there is output or fixableErrorCount or fixableWarningCount it will attempt to call the eslint.outputFixes.


Recently Updated Files not showing

In the taskbar, SyncTrayzor doesn't show any of the recently updated files, even though I have edited files and moved folders around. In the image below, there is some transfer activity going on a few minutes before I screenshotted this, but nothing is listed.

That only shows downloads - I should change the wording

ah ok. Is it possible to add in recent activity like how OneDrive, Google Drive, DropBox, etc does?

You mean, uploads?
Syncthing itself has a "Recent Changes" button, but that is not what the tray item is showing. I can't show uploads, because Syncthing doesn't have a concept of "uploading a file"

I am seeing the same issue. The graphs are not showing any activity when Syncthing is obviously synchronizing.

Closing: text changed to "Downloads" in 1.1.26


Euler A redesign merge

getting EulerA scheduler more up to date with the main huggingface diffusers branch

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Seattle bias

The code I wrote really assumes we're in Seattle, although there's enough generic material to make this solvable. But now that I'm working on Dublin it's time to fix that problem. Related to #63.

This may actually just be the function names in scripts/film_calendar.py, heh.