Different webhooks for different branches?

I'm working on one repository, but I want the build of certain branches of that repository to be triggered by different events. Eg, I want the master branch to only be triggered by a pull request, whereas I want certain feature branches to be triggered by commits.
Is it possible within Strider to specify different webhooks for different branches? Or can anyone else imagine a solution to obtain this functionality?

I'm working on a local branch that reworks how all of this works. Basically, instead of branches being the abstraction for jobs, it's now environments, which can be triggered by different events.

Sure I'd like to take a look

If anyone else runs into this issue, here is how I am solving it until the environment update referred to above:
Using the strider-metadata plugin I'm creating an environment variable called $STRIDER_TRIGGER_TYPE for which the value is the strider job's trigger.type, and then in the custom script I'm running an if / else based on whether $STRIDER_TRIGGER_TYPE is a commit or pull request

@knownasilya any progress on that? sounds like something very useful 😃

It's currently on the backburner, but I should be able to pick it back up next month.

Hey guys, out of curiosity. Are there any updates around this?


v0.0.1

v0.0.1 [2021-03-11]
What's new?

Initial release with tables for accounts, API tokens, DNS records, users, and zones.

Available in https://github.com/turbot/steampipe-plugin-cloudflare/releases/tag/v0.0.1


don't know why my fork does't work

I create a gist , then add it in workflow's file.
and add 3 secret tokens

Does the workflow works?

or you can post your repo address，I'll see what's wrong.

i dont know how to see whether workflow works or not.
this is my forked repo
https://github.com/HagridThick/steam-box

i dont know how to see whether workflow works or not.
this is my forked repo
https://github.com/HagridThick/steam-box

Try to delete the schedule.yml then add a new one. it should be a bug of github actions.


Create a directory

An endpoint that creates an empty directory.

Verb: POST
Path: /dir

Query parameters:

Name
Value
Default value
Description

path
string
required
A path to a directory which should be created.

Responses:

204 No Content - when the directory was successfully created.
409 Conflict - when the path is pointing to already existing directory or file.
400 Bad Request - when the path is invalid.

Extra info
This should create all required parent directories to bring the target directory to existence.
Example: Client requested creation of a directory /docs/private/hidden/top-secret, but only the /docs/private currently exists. The  hidden and then top-secret directories should be appropriately created.

@Xkonti Hello again,
I'm eager to continue with this one, in the logic order, if you can assign me on.
Thx!


Update go.mod

Changes
Why Are Changes Being Made

Codecov Report
Patch coverage has no change and project coverage change: -0.41% :warning:

Comparison is base (2b5d8e1) 58.51% compared to head (95df14d) 58.11%.
Report is 3 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
- Coverage   58.51%   58.11%   -0.41%
==========================================
  Files          15       15
  Lines         716      721       +5
==========================================
  Hits          419      419
- Misses        245      250       +5
  Partials       52       52

Files Changed
Coverage Δ

pkg/service/server.go
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I am not sure this actually does anything. The go.mod go version line does not start to matter until go 1.21.


Sharing docker containers with other team members

Probably isn't 100% related to cookiecutter-django specifically but i just followed: https://realpython.com/blog/python/development-and-deployment-of-cookiecutter-django-via-docker/
Which went real well and am thinking of using this as my base for future projects, just 1 question though. Say if i'm working on a development team, what is the ideal workflow for sharing dev & production containers with other members of the team?

What do you mean by "sharing containers"?
There's no need to do that. Every person in your development team builds his/her own containers based on the Dockerfiles in your repository.
Or do you mean the data from e.g. postgres?

Well at the moment we provision a DO droplet and everytime we want to update, we git push then run our update commands that do that. I was curious how that kind of workflow works when you have a container that is based on DO and everyone can update the same container. I apologise this is my 1st time looking at Docker :)

What you call container based on DO is just a droplet that runs the docker deamon. Docker Machine makes it easy to communicate with the deamon via the command line, but it's really just a ubuntu box running docker.
If you want to share that with your team, you just have to export the files in .docker/machine/name. When it comes to deployments I prefer to install the OS and docker myself and run the docker commands directly on the box.

A docker container is a running instance that is based from a docker image.  You can think of a docker image as a "read only" version of a docker instance.
A dockerfile builds a docker image that is pre-configured, then you run it (and it becomes an image), Since docker images are read-only, generally they are packed with only the core files that are required for that docker to run - they don't contain any runtime files (like say logs or temporary data), and in the case of application servers - like say Apache or nginx, it doesn't contain the HTML documents or content.
For us, we are providing docker containers that are pre-configured to run django (along with all the dependencies). The dockers are linked with your workstation so that when the image is running, it has access to your django project.
You would normally share just the dockerfile, which contains information on how to create the server, and how to link it with the source.
The dockerfile is configured so that when the image runs, it looks for content at a specific path, which is configured in the dockerfile to be mapped to the source code. This source code is often subject to version control.
Anyone with the dockerfile can run the exact same application on their laptops; if multiple people need to share access to one instance - then you can run the docker image on a third party server (like a droplet), then to update the code - just do git pull on the droplet.
You can also - and many people do this - build an image that includes all your data and source code; this way all the other person has to do is download the image and run it. This makes changes difficult as after each change, you have to rebuild the docker image to "save" them.
Hope this helps.

I think this can be closed now, excellent explanation @burhan.


Installer: Refactor to use @import rather than concatting files

Fixes #180
Partially Fixes #178
Partially Fixes #177
General
web has been renamed to adwaita
Installer
The adwaita folder is now copied to steamui/adwaita during install
Rather than concatting together a single file, the generated steamui/libraryroot.custom.css now contains multiple import statements pointing to adwaita through steamloopback.host ala:
@import url("https://steamloopback.host/adwaita/variants/base/_root.css");

Colorthemes
Colorthemes are now plain css and imported in libraryroot.custom.css
The old colortheme directory remains for compatability sake until I fix AdwSteamGtk to compensate.
Custom CSS
While we technically supported custom CSS before, it wasn't as discoverable. It is now an option in the installer.
Users can edit adwaita/custom/custom.css and provide the -cu flag to enable it.
Not the happiest with the placement of it residing inside the theme dir, any ideas?
Variants
There's really no need for base anymore.
While the underlying files will need a merge down the line, the -w flag is deprecated and now does nothing.
Remains for the sake of AdwSteamGtk compatability.

Merged to latest master.
adwaita/custom/custom.css is now under custom/custom.css instead.

Updated to address those issues.
I've also made the changes on AdwSteamGtk's side to support the css themes and new argument names, so we can just rip the bandaid on that when we merge this.


Fix compilation against Ogre 1.10.12

🦟 Bug fix
Fixes https://github.com/ignitionrobotics/ign-rendering/issues/374
Summary
Port the patch from https://github.com/conda-forge/libignition-rendering4-feedstock/pull/8/commits/a5a45379365b9769552e1349d89e2566c92f1cdb . To be honest I did not tested compilation against other 1.10.* releases, but for sure this fixes compilation against 1.10.12 .
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Not 100% sure, but I guess the CI failure is not related to this PR, as it appears also in https://github.com/ignitionrobotics/ign-rendering/pull/389 .

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1


Update versions of jsoniter-scala and AVSystem GenCodec

/cc @ghik @scala-steward

Thanks. Not sure if I fully understand, but gladly looking forward to a PR ...

@fthomas thank you for your help!
Here is a follow-up PR: https://github.com/hseeberger/akka-http-json/pull/232


Add an endpoint to report failed graph validations

As a wrangler, if the graph validation fails for an unknown reason, I would like to see this reported in the UI and be able to trigger graph validation again.
This should be done in the except block here

Review for priority next sprint


Configure escaping scalar

Hi @dehesa, thanks for publishing this library and keeping it super well documented. The code looks great.
I'm currently trying to parse a foreign TSV file that includes unescaped " characters in it's fields. I did see escapingScalar was exposed as an internal setting but wasn't publicly configurable. For my use case, disabling field escaping worked perfect. And it would be great to expose this ability on the reader configuration.
I added a new enum for "escaping strategy". My use case fits into the new .none case. And the default case is .doubleQuote. Though, I was wondering if we should definite the options narrowly and just provide the two, or allow for any character to be used as a escaping pair. Maybe there's a single quoted escaped CSV out there? Would love to hear your thoughts.
Thanks!
@josh

Hi @josh, thank you for your kind words and taking the time to send a PR.
Exposing the escaping scalar in the API is the right thing to do and your code looks great. I would agree with you about generalizing the case to allow other escaping scalars (like single quotes). In that light, I would like to ask you the following:

Strategy.Escaping: Remove the ExpressibleByBooleanLiteral adoption and add ExpressibleByUnicodeScalarLiteral instead.
CSVReader.Setting: Check that self.trimCharacters doesn't contain the escaping scalar and if so throw a new error. That is something I forgot to check last time and may produce unintended behavior.
Please send the PR to develop instead of master.

Also, if the escaping scalar configuration is exposed in the CSVReader, we should do the same in CSVWriter 😄 so it has parity. I am happy to do that if you don't want to do it. In any case thank you very much on your thoughtful PR and code.
Regards,
Marcos

Exposing the escaping scalar in the API is the right thing to do and your code looks great. I would agree with you about generalizing the case to allow other escaping scalars (like single quotes). In that light, I would like to ask you the following:

👍 All sound good. Let me get on that today. Thanks for the feedback!!

Also, if the escaping scalar configuration is exposed in the CSVReader, we should do the same in CSVWriter 😄 so it has parity. I am happy to do that if you don't want to do it. In any case thank you very much on your thoughtful PR and code.

I was thinking about that as well and I'm happy to attempt. How do you think we should handle the .none case on Writer when a delimiter is present in the field? Should we output an invalid field as is? Or maybe throw some kind of error like unescapedDelimiter.
let input = [
    ["title"],
    ["This will be \"ok\" since there's no comma" ],
    ["This field would be , invalid"]
]
try CSVWriter.serialize(rows: input) { $.escapingStrategy = .none }

How do you think we should handle the .none case on Writer when a delimiter is present in the field? Should we output an invalid field as is? Or maybe throw some kind of error like unescapedDelimiter.

Just throw a new CSVError<CSVWriter> similar to:
.init(.invalidInput, reason: "...", help: "...", userInfo: ["Invalid character": delimiter])

@dehesa pushed some changes. Please have a look. Thanks for all the suggestions so far.

Hey @josh
I have reviewed the PR and it is great, thank you! I merged your changes and add some details that I forgot to mention before:

CSVReader.Settings initializer also checks the delimiter scalars are not included in the trim set.
CSVWriter.lowlevelWrite(field:) has been modified a bit to:

separate "escaping-allowed" from "escaping-not-allowed" cases.
escape the escaping scalar 😅. When escaping is allowed, if an escaping scalar is in the middle of the field, it needs to be doubled.

I have created a new release with your code and some structural changes I was working on to support Linux.
Thank you again! 🎉 If you are secluded at home (due to current circumstances) and want to keep helping out in CodableCSV check out the repo projects (specifically the Features project) 😂
Regards,
Marcos

Thank you @dehesa! I'll checkout the projects page for more ideas.


Incorporate AHRS acc2q into zscilib as zsl_quat_from_accel

Currently, the zscilib's Madgwick orientation filter starts with an orientation of <1, 0, 0, 0> regardless of the physical IMU's orientation.
The filter then begins the slow/painful process of converging to the correct orientation which can take nearly a minute. For an IMU running at 120Hz, the worst-case Madgwick convergence time is about 47 seconds (β * Dt = 0.033 * 1/120Hz). This is far too long for a warm-up; a Madgwick filter that has not yet converged will output spurious and confusing orientations and result in a bad user experience.
A python implementation of Magwick, called AHRS, solves this bootstrapping problem with a non-iterative algorithm called acc2q (acceleration => quat)
AHRS Implementation:
https://github.com/Mayitzin/ahrs/blob/595ab9877c77f5960e39b352c0ef551d2d2efcb9/ahrs/common/orientation.py#L970
Reference:
([Trimpe et al] https://idsc.ethz.ch/content/dam/ethz/special-interest/mavt/dynamic-systems-n-control/idsc-dam/Research_DAndrea/Balancing Cube/ICRA10_1597_web.pdf
This algorithm that relies only on the current accelerometer sample. The integration of the acc2q algorithm is highlighted in the below flow diagram (dotted red block).

Computing q0 and feeding this into Madgwick results in a very reasonable q0 orientation and a much better overall experience.

As per the comment in #62, can you create a PR in Zephyr that references this commit so that it can go through the normal test suite before being merged? Thanks for the changes, though ... much appreciated.

Please also add some details in the commit messages and add a signed-off-by to make sure you get the proper credit for the work.

Thanks for the review. Please see my updates:

I've modified to a single commit which has all the details of the fixes made
I've added the signoff requested
I've fixed all of the comment / lint issues
I've raised a top-level commit which refers to this pull request in the submanifest optional.yaml :

https://github.com/zephyrproject-rtos/zephyr/pull/78596

Ping @microbuilder

Ping @microbuilder

As per some comments in the discord there are still quite a few issues with this preventing it from being it from being mergable.


Sibo updts

Hi, Sibo,
I have made some modifications/unifications that we were talking about. Thank you for your nice work!
Summary of main modification are:

introduction of flags for capping atoms which presence and correctness are checked in random_walk_tacticity. That allows capping atoms to have any tag (id)
modification of random_walk_tacticity to connect monomers 'tail of new monomer -> head of existing polymer ' (before it was the other way around, I believe)
cleanup of unused variables and Python coding standard corrections
remove output files from polystyrene_nosim folder

I have checked your examples they are all working just great.
If you agree with the changes, please approve this pull request, and then, I will merge all these changes to the original pysimm repository.
Thank you
Alex

Thanks for the code cleaning efforts! Hope your year is off to a great start.

Thanks for the code cleaning efforts! Hope your year is off to a great start.


Close App-bar on item click

Is your feature request related to a problem? Please describe.
Not a problem, when app-bar is minimized not fully shown, when you click on an item it doesn't closes automatically.
Describe the solution you'd like
It would be nice to have an option that app-bar (when minimized) when you click on an item it closes automatically.

You must handle this yourself using the close() method from the app-bar component API. Something like:
$(element).on("click", function(){
    var appBar = Metro.getPlugin('element_selector', 'appbar')
    appBar.close()
})


Title on Now Screening

Actually  in the Posterr settings I have understand the Now Screening Alternate Text can only be a fixed text.
Can it be possible to show the Movie or tv show title insteed of a fixed text??
Hope it can be possible.

It has to refect the type of slide, not the title of the slide. This distinguishes if it's coming soon, on-demand, now screening.
It would be confusing to make this the title of the show or movie. You may be able to do this with the custom.css option, but any changes you make are not supported by me.


semicolon or semi-colon?

Can we choose one and stick to it? There are both throughout the curriculum.

All the grammar sites seem to use semicolon. Besides, why type an extra character if you don't have to?

My vote is for semicolon as well.

Some investigation was made about the use of "semicolon" and "semi-colon".

Referencing dictionalies

Longman English dictionary : "semicolon" and "semi-colon" are both introduced, but in Examples from the Corpus, "semicolon" is solely used.
Cambridge Dictionary : "semicolon" is introduced with referencing the word and "semi-colon" is also described in the writing for punctuation.

In open source communities

Wikipedia largely uses "semicolon". (In Wiki, "semi-colon" is a quote from the world of broadcasting of journalism and literature, not the realm of technology)
mdn web docs uses "semicolon".

In programming language documentations

Python 3.12.4 documentation uses "semicolon".
ECMA-262 14th Edition uses "semicolon".
c++ reference documentation uses "semicolon".
In Java documentation, although "semi-colon" is used in some parts, it seems that "semicolon" is generally used.

Therefore, it seems that our campers will generally see the "semicolon" in the places they learn the programming.

I'm opening this for contribution. All instances of semi-colon should be replaced with semicolon.
This could probably be resolved with a search and replace command, so I remind: change only files in the English folder, not other language folders.

@ilenia-magoni created PR. Please review.

@gagan-bhullar-tech please do not ping maintainers to ask for review


pull request for e2e test at 11/12/2016 09:56:11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.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.


Crustashe vs Teeplate

@TechMagister I saw you decided to go with Teeplate.  I think it's cleaner but I don't know how we will be able to create the ecr's for views.
Any suggestions?

One option is to generate slang templates instead.  https://github.com/jeromegn/slang
What do you think?

It would be great to handle multiple templates engines, because slim is a good template language but the syntax is very different from the others ( liquid, ecr, mustache, ... )
Why not using slang (slim) by default, but in my opinion, it's necessary to, at least, be able to generate templates for each engine supported by kilt.

It would be great to handle multiple templates engines, because slim is a good template language but the syntax is very different from the others ( liquid, ecr, mustache, ... )
Why not using slang (slim) by default, but in my opinion, it's necessary to, at least, be able to generate templates for each engine supported by kilt.

👍 maybe we can convert slang to ecr in a post process.

👍 maybe we can convert slang to ecr in a post process.


Error retrieving secret

I run using docker
█░░ ▄▀█ ▀█ █▄█ █░█░█ ▄▀█ █▀█ █▀▄ █▀▀ █▄░█
█▄▄ █▀█ █▄ ░█░ ▀▄▀▄▀ █▀█ █▀▄ █▄▀ ██▄ █░▀█

Starting Bitwarden Vault Backup

Please wait while we securely back up your vault data... 🔄

 2024-09-23 17:06:11,641 - WARNING - Optional environment variable DISCORD_WEBHOOK_URL is not set. Some functionality may be disabled.
2024-09-23 17:06:11,641 - WARNING - Optional environment variable SLACK_WEBHOOK_URL is not set. Some functionality may be disabled.
2024-09-23 17:06:11,641 - WARNING - Optional environment variable GOOGLE_FOLDER_ID is not set. Some functionality may be disabled.
2024-09-23 17:06:11,642 - WARNING - Optional environment variable SMTP_USERNAME is not set. Some functionality may be disabled.
2024-09-23 17:06:11,642 - WARNING - Optional environment variable SMTP_PASSWORD is not set. Some functionality may be disabled.
2024-09-23 17:06:11,642 - WARNING - Optional environment variable EMAIL_RECIPIENT is not set. Some functionality may be disabled.
2024-09-23 17:06:11,642 - WARNING - Optional environment variable SENDER_EMAIL is not set. Some functionality may be disabled.
2024-09-23 17:06:11,642 - INFO - Environment variables loaded successfully
2024-09-23 17:06:11,642 - INFO - Logging configured successfully
2024-09-23 17:06:12,545 - INFO - Server configured successfully.
2024-09-23 17:06:12,546 - INFO - Server configured successfully
2024-09-23 17:06:12,546 - INFO - Bitwarden client setup successfully
2024-09-23 17:06:12,749 - INFO - Authenticated successfully using access token.
2024-09-23 17:06:12,749 - INFO - Bitwarden client authenticated successfully
2024-09-23 17:06:12,896 - ERROR - Error retrieving secret 00000000-0000-0000-0000-000000000000: Received error message from server: [404 Not Found] {"message":"Resource not found.","validationErrors":null,"exceptionMessage":null,"exceptionStackTrace":null,"innerExceptionMessage":null,"object":"error"}
2024-09-23 17:06:12,896 - ERROR - Error retrieving secrets: Received error message from server: [404 Not Found] {"message":"Resource not found.","validationErrors":null,"exceptionMessage":null,"exceptionStackTrace":null,"innerExceptionMessage":null,"object":"error"}

.env example
GOOGLE_SERVICE_ACCOUNT_FILE=/root/lazywarden/config/bitwarden-drive-backup-google.json
GOOGLE_FOLDER_ID=
BACKUP_DIR=/root/lazywarden/backup-drive/
TELEGRAM_TOKEN=<values>
TELEGRAM_CHAT_ID=<values>
DISCORD_WEBHOOK_URL=
SLACK_WEBHOOK_URL=
SMTP_SERVER=mail.smtp2go.com
SMTP_PORT=8025
SMTP_USERNAME=
SMTP_PASSWORD=
EMAIL_RECIPIENT=
SENDER_EMAIL=
API_URL=https://vault.bitwarden.com/api   # No Modify No Touch
IDENTITY_URL=https://vault.bitwarden.com/identity   # No Modify No Touch
ORGANIZATION_ID=<values>
ACCESS_TOKEN=<values>
CRON_SCHEDULE="0 0 23 * *" #Cron Every 24 hours for Docker
TIMEZONE=America/New_York
TIMESTAMP=2024_09_20__17_00_34 # To decrypt all zip files in your backup or import them, just use the timestamp that was generated in the backup. For example, use the files that are generated in the backup like this: bw-backup_2024_07_18_19_15_20.zip.

# Bitwarden credentials
BW_URL=https://vault.bitwarden.com
BW_USERNAME=<values>
BW_PASSWORD=<values>
BW_TOTP_SECRET=0x000jkjkjkj000f-04300-dfs3-0000-000dsfsfsd000

# Encryption passwords
ENCRYPTION_PASSWORD=<values>  # Contains the encryption password for the JSON file
ZIP_PASSWORD=<values>  # Contains the encryption password for the first ZIP file
ZIP_ATTACHMENT_PASSWORD=<values>  # Contains the encryption password for the attached ZIP file

# Cloud storage credentials

MEGA_EMAIL=<values>
MEGA_PASSWORD=<values>^H
DROPBOX_ACCESS_TOKEN=<values>
DROPBOX_REFRESH_TOKEN=<values>
DROPBOX_APP_KEY=<values>
DROPBOX_APP_SECRET=<values>

p.s. in README.MD described set at least 5 variables in bitwarden secret, I did that.
It's not clearly described does it required to fill in GUI all of it:

    "BW_URL": "00000000-0000-0000-0000-000000000000",
    "BW_USERNAME": "00000000-0000-0000-0000-000000000000",
    "BW_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "BW_TOTP_SECRET": "00000000-0000-0000-0000-000000000000",
    "ENCRYPTION_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "ZIP_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "ZIP_ATTACHMENT_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "PCLOUD_USERNAME": "00000000-0000-0000-0000-000000000000",
    "PCLOUD_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "MEGA_EMAIL": "00000000-0000-0000-0000-000000000000",
    "MEGA_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "DROPBOX_ACCESS_TOKEN": "00000000-0000-0000-0000-000000000000",
    "DROPBOX_REFRESH_TOKEN": "00000000-0000-0000-0000-000000000000",
    "DROPBOX_APP_KEY": "00000000-0000-0000-0000-000000000000",
    "DROPBOX_APP_SECRET": "00000000-0000-0000-0000-000000000000",
    "TODOIST_TOKEN": "00000000-0000-0000-0000-000000000000",
    "CALDAV_URL": "00000000-0000-0000-0000-000000000000",
    "CALDAV_USERNAME": "00000000-0000-0000-0000-000000000000",
    "CALDAV_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "NEXTCLOUD_URL": "00000000-0000-0000-0000-000000000000",
    "NEXTCLOUD_USERNAME": "00000000-0000-0000-0000-000000000000",
    "NEXTCLOUD_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "SEAFILE_SERVER_URL": "00000000-0000-0000-0000-000000000000",
    "SEAFILE_USERNAME": "00000000-0000-0000-0000-000000000000",
    "SEAFILE_PASSWORD": "00000000-0000-0000-0000-000000000000",
    "FILEBASE_ACCESS_KEY": "00000000-0000-0000-0000-000000000000",
    "FILEBASE_SECRET_KEY": "00000000-0000-0000-0000-000000000000",
    "KEEPASS_PASSWORD": "00000000-0000-0000-0000-000000000000"

    ```
    Looks like problem because of main.py
    ```
    # Retrieve secrets from Bitwarden Secret Manager
    try:
        secrets = retrieve_secrets(bw_client)
        logging.info("Secrets retrieved successfully")
    except Exception as e:
        logging.error(f"Error retrieving secrets: {e}")
        return

Hi, aisoftwaredevelopment
There seems to be a little confusion with the .env file. The file should look like this
GOOGLE_SERVICE_ACCOUNT_FILE=/root/lazywarden/config/bitwarden-drive-backup-google.json
GOOGLE_FOLDER_ID=
BACKUP_DIR=/root/lazywarden/backup-drive/
TELEGRAM_TOKEN=<values>
TELEGRAM_CHAT_ID=<values>
DISCORD_WEBHOOK_URL=
SLACK_WEBHOOK_URL=
SMTP_SERVER=mail.smtp2go.com
SMTP_PORT=8025
SMTP_USERNAME=
SMTP_PASSWORD=
EMAIL_RECIPIENT=
SENDER_EMAIL=
API_URL=https://vault.bitwarden.com/api
IDENTITY_URL=https://vault.bitwarden.com/identity
ORGANIZATION_ID=<values>
ACCESS_TOKEN=<values>
CRON_SCHEDULE=‘0 0 0 23 * *’
TIMEZONE=America/New_York
TIMESTAMP=2024_09_20__17_00_34

Also, these variables have to be filled in your Bitwarden Secret Manager
# Bitwarden credentials
BW_URL=https://vault.bitwarden.com
BW_USERNAME=<values>
BW_PASSWORD=<values>
BW_TOTP_SECRET=0x000jkjkjkj000f-04300-dfs3-0000-000dsfsfsd000

# Encryption passwords
ENCRYPTION_PASSWORD=<values> # Encryption password for JSON file
ZIP_PASSWORD=<values> # Encryption password for the first ZIP archive
ZIP_ATTACHMENT_PASSWORD=<values> # Encryption password for the attached ZIP archive

# Cloud storage credentials
MEGA_EMAIL=<values> # MEGA_EMAIL=<values> # MEGA_PASSWORD=<values>
MEGA_PASSWORD=<values> # MEGA_EMAIL=<values> # MEGA_PASSWORD=<values>
DROPBOX_ACCESS_TOKEN=<values>
DROPBOX_REFRESH_TOKEN=<values>
DROPBOX_APP_KEY=<values>
DROPBOX_APP_SECRET=<values>

It is important to complete these values to ensure the correct functioning of the system, even if you do not have accounts on some services such as pCloud or Another.

okay, I changed all as you told, but it unfortunately it doesn't work, help please
Here is the details:
.env:
GOOGLE_SERVICE_ACCOUNT_FILE=/root/lazywarden/config/bitwarden-drive-backup-google.json
GOOGLE_FOLDER_ID=
BACKUP_DIR=/root/lazywarden/backup-drive/
TELEGRAM_TOKEN=<values>
TELEGRAM_CHAT_ID=<values>
DISCORD_WEBHOOK_URL=
SLACK_WEBHOOK_URL=
SMTP_SERVER=mail.smtp2go.com
SMTP_PORT=8025
SMTP_USERNAME=
SMTP_PASSWORD=
EMAIL_RECIPIENT=
SENDER_EMAIL=
API_URL=https://vault.bitwarden.com/api
IDENTITY_URL=https://vault.bitwarden.com/identity
ORGANIZATION_ID=<values>
ACCESS_TOKEN=<values>
CRON_SCHEDULE=‘0 0 0 23 * *’
TIMEZONE=America/New_York
TIMESTAMP=2024_09_20__17_00_34

import_secrets.json
{
    "projects": [
      {
        "id": "00000000-0000-0000-0000-000000000999",
        "name": "lazywarden"
      }
    ],
    "secrets": [
        {
        "key": "BW_URL",
        "value": "https://vault.bitwarden.com",
        "note": "BW url",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "BW_USERNAME",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "BW username",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "BW_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "BW password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "BW_TOTP_SECRET",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "BW TOTP secret",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "ENCRYPTION_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Encryption password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "ZIP_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Zip attachment password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
        {
        "key": "ZIP_ATTACHMENT_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Zip attachment password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
        },
      {
        "key": "DROPBOX_ACCESS_TOKEN",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Dropbox access token",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },

      {
        "key": "DROPBOX_REFRESH_TOKEN",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Dropbox refresh token",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "DROPBOX_APP_KEY",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Dropbox app key",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "DROPBOX_APP_SECRET",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Dropbox app secret",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "TODOIST_TOKEN",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Todoist token",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "CALDAV_URL",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "CalDAV URL",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "CALDAV_USERNAME",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "CalDAV username",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "CALDAV_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "CalDAV password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "NEXTCLOUD_URL",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Nextcloud URL",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "NEXTCLOUD_USERNAME",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Nextcloud username",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "NEXTCLOUD_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Nextcloud password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "SEAFILE_SERVER_URL",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Seafile server URL",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "SEAFILE_USERNAME",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Seafile username",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "SEAFILE_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Seafile password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "FILEBASE_ACCESS_KEY",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Filebase access key",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "FILEBASE_SECRET_KEY",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Filebase secret key",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "KEEPASS_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "KeePass password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "MEGA_EMAIL",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Mega email",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      },
      {
        "key": "MEGA_PASSWORD",
        "value": "00000000-0000-0000-0000-000000000000",
        "note": "Mega password",
        "projectIds": ["00000000-0000-0000-0000-000000000999"]
      }
    ]
  }

After import in a Bitwarden admin panel https://vault.bitwarden.com/#/sm/7edc1d80-3792-4a4f-ad18-dgdfgdf444ce81/machine-accounts - [x] I check my machinery accounts

[x] I check that all 26 secrets has permission to project, people and this account
[x] I check access_token in .env also

So, all should be fine, but doesn't work. I think you should specify in documentation more clear and precise this moment, because for e.g. in my case it doesn't work
previously added import_secrets.json also should be useful for people to save time on manually adding all data..
So could you help, what's wrong ?

It can't possibly be this difficult to get this app working properly. I have followed the instructions to the letter and am still seeing the ERROR - Error loading environment variables: One or more required environment variables are not set: ORGANIZATION_ID, ACCESS_TOKEN. I give up.

Hi @aisoftwaredevelopment sorry for delay, do you have any bugs at the moment?

@querylab No worries. Thank you for getting back to me. All seems to be working as expected at the moment. Have a safe and wonderful evening.


Permission statement is a bit misleading

Under "Deploy template spec" section, the document mentions 'users with read access to the template spec can deploy it'. This may mislead user to think that if they have Reader role, they can successfully deploy the template.
But it's not. They need to have the resource write permission to be able to actually deploy the template.
I understand the document is trying to clarify that user don't need to have write permission on the template spec itself to deploy its template. For example the user has no access to modify the template spec templates but is able to deploy it with permission on actual resource scope.
It'll be much more clear if we add explanations like this.

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

ID: 37f85feb-ae78-c454-8c26-c21d474bbf7a
Version Independent ID: 769971a1-5891-dbde-dff8-9fee76780506
Content: Create & deploy template specs - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/template-specs.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@srrrrrrrrrr
Thanks for your feedback! We will investigate and update as appropriate.

@mumian Could you please review the feedback and take appropriate action?

@srrrrrrrrrr - thank you for your comments.  I have created a PR to address the issue.  The PR is https://github.com/MicrosoftDocs/azure-docs-pr/pull/217964
#please-close


Unable to install via webpack

The package is missing all the au-*.js files

I have a fix for this but I am unable to push my branch up to github to create a pull request. In the meantime you can add to the package.json file to force aurelia build to add in the required files.
"aurelia": {      "build": {        "resources": [          "aurelia-table/au-table",          "aurelia-table/au-table-pagination",          "aurelia-table/au-table-select",          "aurelia-table/au-table-sort"        ]      }    },

I have added this bit to my package.json , added
    .feature('resources');

Still i get the error
cannot find module 'aurelia-table' I am using the webpack skeleton starter project


Using Custom Template

Hi Team,
This is the first time I used AzureDevOpsDemoGenerator for creating and utilizing Custom Template. When the new Project is created, I see that not all work items are copied, the area path configuration not copied and as well as the iteration path not copied, board swimlanes styles are not copied. Is it a limitation of the tool or am I doing something wrong. Is there any way I can edit the JSON file to match the master project? Attached screenshot.
Issue Screenshot.docx
Any help is highly appreciated
AB#3515

Hi, thanks for the reply. Is it not possible that I manually edit the .JSON file and import it afterwards? If yes, can you share some technical details on it?

Area paths and sprints will not created as is in the source project. Demo Generator will create default sprints and assign the dates.
Work items should be imported if the select organization has the same process template.

Hi, The Organization has the same process template (custom) but work items are still not copied over except one work item. Is there any way that the downloaded .json files can be edited to make the fine tuning i.e area path, iteration path etc? If not is there an plan in the future release to include this feature? It is very important because if we do SAFe on Azure DevOps, the iterations and area path configured to support PI, Porfolio, Program structure.

Also, one more question. Is it possible to keep the template zip file in Azure Repo and get it from there during the project creation using the demo generator. I see 3 options, Local. GitHub and URL. DOes the URL supports Azure Repo URL?

Hi, The Organization has the same process template (custom) but work items are still not copied over except one work item. Is there any way that the downloaded .json files can be edited to make the fine tuning i.e area path, iteration path etc? If not is there an plan in the future release to include this feature? It is very important because if we do SAFe on Azure DevOps, the iterations and area path configured to support PI, Porfolio, Program structure.

We have very limited support for Custom Process Templates here, if the work items are not creating, try to modify the area path/iteration path to default area/sprint, and wrap it up as zip file, try to provision new project using Demo Generator.

Also, one more question. Is it possible to keep the template zip file in Azure Repo and get it from there during the project creation using the demo generator. I see 3 options, Local. GitHub and URL. DOes the URL supports Azure Repo URL?

You can keep the templates in GitHub repo and provide the zip file URL/raw URL in the required field.
If the repo is private, it requires credentials too.
Let me know if you need any other help.

Thanks for the reply. This topics can be closed now.


Using a collection ID in PGVectorStore without a where clause seems to throw an issue

https://github.com/langchain-ai/langchainjs/blob/c2bc44010380d39d96e55965854cd02c6fcec485/libs/langchain-community/src/vectorstores/pgvector.ts#L461
I ran into a problem where I tried to use a collection and I got an error:
Uncaught DatabaseError error: syntax error at or near "AND"

It seems if the whereClauses array is empty then you get an AND clause without an initial WHERE
 const whereClause = whereClauses.length
      ? `WHERE ${whereClauses.join(" AND ")}`
      : "";

    const queryString = `
      SELECT *, ${this.vectorColumnName} <=> $1 as "_distance"
      FROM ${this.tableName}
      ${whereClause}
      ${collectionId ? "AND collection_id = $3" : ""}
      ORDER BY "_distance" ASC
      LIMIT $2;
      `;

Quick and dirty solution might be to  just set WHERE to true
const whereClause = whereClauses.length
    ? `WHERE ${whereClauses.join(" AND ")}`
    : "WHERE true";

I think it should be fixed there https://github.com/langchain-ai/langchainjs/pull/4597

Yes, thank you!


[RESTEASY-2750] MicroProfile-Client classes and tests back ported fro…

…m master

resolved file merge issue in different branch


[Spike] Make Search Bar Work.... again

Search bar needs a little love.

find an asset
find an opportunity
LP
the rest of the owl

Everything we've integrated should show up when people search. So we might have to think about display, how many assets to show, and any other pieces.

to fix your trouble check this solution click
maybe this will solve your problem.


Class properties are not present when creating component using  syntax

Description:
When using "class based component" which are added to the page using <MyComponent/> syntax, it seems that properties added inside the class are not set.
Maybe is related to the fact that the constructor is not called.
These issues are not present when component is created using new  MyComponent().
Versions affected:

1.3.13
edge

Platforms affected:
All
Reproduction:

Open this fiddle
Check the console

Only 1 constructor log is present

Click on "Using HTML syntax" buttons

Error logs appears

Click on "Using new" buttons

Everything works as expected

When clicking
function sharedFunction() {
  console.info('inside sharedFunction');
}

class MyComponent extends Ractive {
  sharedFunction = sharedFunction;

  customProperty = [];

  constructor(opts) {
    super(opts);

    console.info('constructor');
  }
}

Ractive.extendWith(MyComponent, {
  template: `
  Testing
  <button on-click="property">property</button>
  <button on-click="function">function</button>
  `,

  on: {
    property() {
      this.customProperty.push('prova');
      console.info(this.customProperty);
    },
    function() {
      this.sharedFunction();
    }
  }
})

Ractive.components.MyComponent = MyComponent;

const r = window.r = new Ractive({
  el: '#main',
  template: `
  <MyComponent></MyComponent>
  `,
});

const usingNew = new MyComponent({ el: '#using-new' });

Ractive is a little weird on construction, but I think I have a solution for this. If Travis agrees, it should be fixed on edge shortly.

Ractive is a little weird on construction, but I think I have a solution for this. If Travis agrees, it should be fixed on edge shortly.

Hi Chris,
it seems that issue is not resolved 😭.
I updated the fiddle pointing to the last build (1.4.0-build-46):
Now there is a TypeError: Cannot call a class constructor without |new|.
You can also find a reproduction repo here.
See class props section.

Hi Chris,
it seems that issue is not resolved 😭.
I updated the fiddle pointing to the last build (1.4.0-build-46):
Now there is a TypeError: Cannot call a class constructor without |new|.
You can also find a reproduction repo here.
See class props section.

Ah, yeah, transpiler got me, as it turned the class into a plain old-school prototypal class. I think I have a slightly different tack that will work, and travis will be chewing on it shortly.

Ah, yeah, transpiler got me, as it turned the class into a plain old-school prototypal class. I think I have a slightly different tack that will work, and travis will be chewing on it shortly.

Now class instance is correctly populated with all attributes.
Thank you very much!

Now class instance is correctly populated with all attributes.
Thank you very much!


Proposal: set transaction confirmation timeout for 7 days

With the new Bitcoin Mempool reality, it is quite easy to stack in with the low-cost transaction for up to 7 days.  It may cause an issue like this: https://github.com/lightningnetwork/lnd/issues/4575
I would like just to prioritize the already discussed decision about the new timeout.

We'll wait for 2016 blocks as is: https://github.com/lightningnetwork/lnd/blob/master/fundingmanager.go#L54
Do you think we need to increase it beyond 2 weeks?

The question is what happen if it takes more than two weeks, lets say it take 2 months.

We'll wait for 2016 blocks as is: https://github.com/lightningnetwork/lnd/blob/master/fundingmanager.go#L54
Do you think we need to increase it beyond 2 weeks?

@Roasbeef This setting  is good!
Actually this question inspired by your comment: https://github.com/lightningnetwork/lnd/issues/4575#issuecomment-686844886

lnd will forget such channels after about 2 days or so, not sure how long eclair will hold on to them

Could you elaborate please what kind of timeout is?

The question is what happen if it takes more than two weeks, lets say it takes 2 months (or X> timeout value)

You only forget the channel is you're the responder. At that point, you don't even have any coins so it's safe to forget. If we don't forget after sometime, then it's possible for someone to fill up disk by just making channels that'll never even exist (since it's single funder).

Could you elaborate please what kind of timeout is?

I was wrong there, operating of an older model of the code. We changed to 2 weeks last year.


Add static and dynamic batching support?

I believe the performance of Godot can benefit from minimizing drawcalls via  static and dynamic batching support.
Here's what I found out from the 5000 sprites benchmark :

Testing 5000 sprites on screen without dynamic batching:

Unity 5: 50001 drawcalls, 173 fps
Godot: 50001 drawcalls, 175 fps

By turning off dynamic batching feature, Unity 5 and Godot has almost identical fps.

Testing 5000 sprites on screen with dynamic batching:

Unity 5: 2 drawcalls, 278 fps
Godot: n/a
Urho3D; ? drawcalls: 785 fps

WIth Dynamic batching, the drawcalls could be dramatically reduced hence the improvement of fps on Unity 5.
Reference:
Dynamic and Static Batching in Unity
OpenGL Batch Rendering
Sprite Batching in OpenGL ES 2.0
SpriteBatch in libgdx
CCSpriteBatchNode in cocos2d-x
Batch in Urho3D

The drawing code in Godot has been rewritten recently to allow
optimizations such as this. Dynamic batching could be added now, but I
think there are other, more interestig, optimizations that can be attempted
first. This is why having benchmarks is vital :P
On Thu, Mar 19, 2015 at 2:10 PM, marynate<EMAIL_ADDRESS>wrote:

I believe the performance of Godot can benefit from minimizing drawcalls
via static and dynamic batching support.
Here's what I found out from the 5000 sprites benchmark
https://github.com/marynate/godot.benchmark :

Testing 5000 sprites on screen without dynamic batching:

Unity 5: 50001 drawcalls, 173 fps
Godot: 50001 drawcalls, 175 fps
By turning off dynamic batching feature, Unity 5 and Godot has almost
identical fps.

Testing 5000 sprites on screen with dynamic batching:

Unity 5: 2 drawcalls, 278 fps
Godot: n/a
WIth Dynamic batching, the drawcalls could be dramatically reduced hence
the improvement of fps on Unity 5.
Reference:
Dynamic and Static Batching in Unity
http://docs.unity3d.com/Manual/DrawCallBatching.html
OpenGL Batch Rendering
http://www.gamedev.net/page/reference/index.html/_/technical/opengl/opengl-batch-rendering-r3900
Sprite Batching in OpenGL ES 2.0
http://antonholmquist.com/blog/sprite-batching-opengl-es-2-0/
SpriteBatch in libgdx
https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g2d/SpriteBatch.java
CCSpriteBatchNode in cocos2d-x
https://github.com/cocos2d/cocos2d-x/blob/8716164a5d95480b7d61d114c215b4c4cb762077/cocos/2d/CCSpriteBatchNode.cpp
Batch in Urho3D
https://github.com/urho3d/Urho3D/blob/90833996fa797d6ecbac27ed78123b85fb974b42/Source/Urho3D/Graphics/Batch.cpp
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1527.

@reduz have you started working on your optimization magic? :)

Nope, 1.1 comes first.. Are there enough benchmarks for doing optimization?
On Apr 6, 2015 1:28 PM, "marynate"<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz have you started working on your
optimization magic? :)
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1527#issuecomment-90133222.

any progress with this request?

The only thing that stops me from developing with Godot is this.
Looking for benchmarks (something most people do when looking for a new engine) I've found that Godot lacks of sprite batching (try the bunnymarks numbers for comparing engines: https://www.reddit.com/r/godot/comments/47j49k/gdscript_is_very_slow/).
I hope that sprite batching could be implemented within the 3.0 version

That benchmark only shows that GDScript is slow, it doesn't have much to do with rendering bottlenecks.

The lack of sprite batching is quite limiting if you are looking to create low end mobile games.
Even an alternative, such as the multi-mesh node, would be useful. Built in dynamic batching would be best though for new godot developers.

Maybe godot engine can add Sprite-Batch based drawing API for 2D, like what it can do in MonoGame or DirectX2D:
protected override void Draw(GameTime gameTime)
{
graphics.GraphicsDevice.Clear(Color.CornflowerBlue);

// TODO: Add your drawing code here
spriteBatch.Begin();
spriteBatch.Draw(textureBall, new Vector2(0, 0), Color.White);
spriteBatch.End();

base.Draw(gameTime);
}

Code example are from http://www.monogame.net/documentation/?page=adding_content
It's also easy to add custom blending factors.
When you have to dynamic draw tilemaps (e.g. create a game like LegendOfMir), it seems much easier to draw 2D the Sprite-Batch way than the node-based way.

For the above case, there's the Tilemap node.
But I would still like to know the status of dynamic batching?

Default tilemap node is not capable, since the map is not manually created in tilemap editor, it’s defined in custom map data, and so are the cell textures, the only to do is to create your own tilemap node with Godoy custom module.
The key point:
In node-based 2d drawing, blending or shader relys on canvas item nodes or canvas item created with VisualServer.
But in the LengendOfMir game, blending or shader must be able to changed on every texture draw-call, just the feature the common SpriteBatch API provided.
And with GodotEngine, there’s no full blend control.
So node-based drawing has great convenience on creating games in Game Editor, but it also lose convenience SpriteBatch-based provided.
It’s really hard to create a game like LegendOfMir with GodotEngone.

Such an old issue... I will be working on this for Godot 4.0 by the way for the GLES2 renderer. Vulkan will probably not need it given how it's going to be implemented.

@ryancheung if you change the shader, the blending function or the texture batching won't work because you need to modify the opengl state and you'll need to start a new batch per change.
Batching is used because it creates 1 draw-call which will draw as many objects as you give it with one set of parameters. If you start modifying those parameters for every object you lose any benefit batching will give you.

@mrcdk It's OK to end previous batch and start new batch, since we don't need put all draw calls in one batch.

So, when this will be implemented for both GLES 3 and GLES 2? Even the 3D platformer demo (which is really simple) runs bad. This is probably the only thing preventing me from using Godot full time.

@yusdacra For 3D it will never be implemented, if you have bad performance in the 3D platformer demo it's probably related to something else.
Godot 4.0 will come with more advanced tools to measure better where your performance is being taken.

For some background:
My opinion is that batching aka mesh merging should be done at content creation time or as a editor plugin, but not at runtime.
The merging operation takes multiple minutes for a large 3d scene and that's not feasible to do at runtime.

Probably covered by: #37349

@red1939 That pull request only implements batching in 2D and when using the GLES2 renderer.
reduz has plans to further implement automatic instancing in the Vulkan renderer in both 2D and 3D so larger amounts of instances can be drawn.

Good to know! Will it be considerably different than sort & group by state
(texture, model, material, blending) + uber_shader.draw()?
On Tue, 12 May 2020 at 09:31, Hugo Locurcio<EMAIL_ADDRESS>wrote:

@red1939 https://github.com/red1939 That pull request only implements
batching in 2D and when using the GLES2 renderer.
reduz has plans to further implement automatic instancing in the Vulkan
renderer in both 2D and 3D so larger amounts of instances can be drawn.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/1527#issuecomment-627166542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNME2BYTU4KYLKMXDI6EYTRRD3NHANCNFSM4A6F5BXA
.

Fixed by #37349. This will be ported to GLES3 too, and should be included in Godot 4.0 as well.


Big Error

@baimingze in the home page, in the pie plot when the user click MetabolomeWorkbench, the search do not show anything. This need to be fixed soon.

Done


remove pipeline stuff from main

This will stop the pipeline from trying to run every time something is pushed into main

Takes out pipeline temporarily while we get it configured


Google Drive example fails with missing state error

Using responseType = "token" works, but the original responseType = "code" fails with Missing state error. Need to use code type in order to get refresh token, base on the playground notes.

OS targeted (with version): 10.11
OAuth provider: Google Drive OAuth 2.0
OAuthSwift version: latest release

maybe this could work by setting allowMissingStateCheck to true (if state missing)
let me know

Yep, it works, but refresh_token in credentials provided as an empty string. Any ideas why would that be?

Did we pass in the code defined bellow in OAuthSwift2 (code which affect the refresh token
if let refreshToken = responseParameters["refresh_token"] as? String {
                self.client.credential.oauth_refresh_token = refreshToken.safeStringByRemovingPercentEncoding
            }

Yes, there is that check in the code. Apparently must provide additional parameters approval_prompt=force&access_type=offline – they are used in the playground and access_type is reported to be the one that enforces refresh_token being sent with the response.


Potential fix for invalid maxAllowedUtilization calculation

#274 Possible fix

@ericwestfall do you have any thoughts on this seeing as you're the better mathematician of us and wrote this part?


[SPARK-26127][ML] Remove deprecated setters from tree regression and classification models

What changes were proposed in this pull request?
The setter methods are deprecated since 2.1 for the models of regression and classification using trees. The deprecation was stating that the method would have been removed in 3.0. Hence the PR removes the deprecated method.
How was this patch tested?
NA

cc @srowen

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5175/
Test PASSed.

Test build #99047 has started for PR 23093 at commit 56d61f3.

Test build #99047 has finished for PR 23093 at commit 56d61f3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99047/
Test PASSed.

Test build #99059 has started for PR 23093 at commit 8e78883.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5182/
Test FAILed.

Merged build finished. Test PASSed.

Test build #99060 has started for PR 23093 at commit ce4a02e.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5183/
Test PASSed.

Test build #99059 has finished for PR 23093 at commit 8e78883.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99059/
Test FAILed.

Test build #99060 has finished for PR 23093 at commit ce4a02e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99060/
Test PASSed.

Test build #99108 has started for PR 23093 at commit 762e4de.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5220/
Test PASSed.

Test build #99108 has finished for PR 23093 at commit 762e4de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99108/
Test PASSed.

Merged to master


Add shake phone support

Is your feature request related to a problem? Please describe
Many applications have features that are accessible by shaking the phone. e.g. settings dialog when developing a React Native app.
Describe the solution you'd like
Add a shortcut that simulates shaking the phone.
Describe alternatives you've considered
No response
Please specify the version of Windows Subsystem for Android
2307.40000

@MrGolden1, thank you for taking the time to provide feedback.  We'll add simulated shake to our backlog, I do agree a lot of apps use shaking to provide app feedback or access specific features.

The feature should be accessible by right clicking the title bar and clicking shake, or shaking a Windows tablet


$PSVersionTable does not correctly implement ToString, causing issues with Set-Clipboard

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Since #18116 has been implemented, I have tried to use it when filling out issues on my remote setup, but I need to pipe it via Out-String for it to work properly. This seems to be caused by it not implementing ToString() correctly, instead relying on formatters to display its information.
Expected behavior
> $PSVersionTable | Set-Clipboard
> Get-Clipboard # Ctrl+Shift+V
Name                           Value
----                           -----
PSVersion                      7.4.0-preview.4
PSEdition                      Core
GitCommitId                    7.4.0-preview.4
OS                             Ubuntu 22.04.2 LTS
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Actual behavior
> $PSVersionTable | Set-Clipboard
> Get-Clipboard
System.Management.Automation.PSVersionHashTable

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0-preview.4
PSEdition                      Core
GitCommitId                    7.4.0-preview.4
OS                             Ubuntu 22.04.2 LTS
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

If this affects more objects, maybe something like Set-Clipboard should use Out-String instead of ToString() to make the behavior more intuitive?

The problem I see with changing the behavior is that it would be a breaking change since there are cases when the user wants the ToString() value rather than the formatted object.
The workaround you provided by using Out-String first should be adequate for users that want a formatted object. It might be good to add this scenario in the cmdlet examples.
# Set clipboard using default formatter
$PSVersionTable | Out-String | Set-Clipboard

# Set clipboard using non-default formatter
$PSVersionTable | Format-List | Set-Clipboard

Conceptually related:

#10726

Personally, I  have the following in my $PROFILE, which replaces the built-in scb alias with a scb wrapper function that implicitly applies oss (Out-String -Stream) to the pipeline input before passing it to Set-Clipboard, and also applies -PassThru so I can visually inspect what was actually copied:
Remove-Item -ErrorAction Ignore alias:scb # Note: Remove-Alias doesn't work in WinPS.
function scb {
  if ($MyInvocation.ExpectingInput) { $Input | oss | Set-ClipboardText -PassThru @args }
  else                              { Set-ClipboardText -PassThru @args }
}

TBH it would be better if the psversionHashTable class had a more intelligent ToString(). In older versions where it was a normal hashtable the result was the same - the text "hash table" not the hash-table run through a formatter.
Set-ClipBoard  takes an array of strings so the conversion is happening there rather than it receiving objects, and calling their tostring() method or sending them through out-string


The "Package and Publish" context menu is missing in WinUI project

Describe the bug
Missing the "Package and Publish" context menu in WinUI project

Steps to reproduce the bug
Environment:
Affected build: 17.5.0 Preview 2.0 [33115.268.main]

Create a new C# Blank App, Packaged (WinUI 3 in Desktop) Project
Right click on project node and observe

Expected behavior
Should have "Package and Publish" context menu in WinUI project

Screenshots
No response
NuGet package version
No response
Windows version
No response
Additional context

Works fine in 17.3.6 and 17.4.0.
The issue is also reproduced in 17.5 P1.

Do you have any ETA on this bug?

@gabbybilka

Fixed in VS 17.5.0 Preview 2


Use without Chrome

Add support to use Ledger wallet without Chrome.

Add Firefox support

FF57+ support WebExtensions
FF57+ support U2F natively
FF58 nightly is incredibly smooth, fast and pleasant to use. No doubt that FF is back !

The FF support is the last point that prevent me to take a nano s ;-)
Thanks

We won't make a chrome application for FF. We are currently working on new application which doesn't rely on a browser to work.

Thanks for your reply and it sounds good :-)
This application will run natively on Linux systems like Linux Mint/Ubuntu/Debian ?
Thanks :-)

Yes it will work on Linux for sure. The only downside is that we will drop Chrome OS support (chrome users will have to use the future Android application if their hardware is compatible)

Or install a real Linux system on their Chromebook ;-)
Ok, sounds very good. I can't wait ^^


SAM-1998 Reset Selection doesnt exist on Matrix of Choices questions

Thank you Matthew, I've just open a jira (SAM-2621) to solve this.

I created a pull request for SAM-2621, I hope it's ok.


Error: Can't find npm module 'react'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?

I am getting this error after a fresh install of Nova  on OSX.My meteor version is 1.3.1.
Error: Can't find npm module 'react'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?

Did you run npm install?

I just run meteor . Sorry. I didn't recognize my  npm install command has not finished successfully.it is ok now. thanks


Add rel="noopener noreferrer" to target blank links

Adds rel="noopener noreferrer" to target blank links.

Merged with 303ee0f
Thank you for your work on this! I took the moment to revert the changes to the .po files as these files are generated during our release cycle as we pull the updated files from Transifex.


Add missing scalar prim signatures

Summary
Adds missing scalar implementations for max, min, fmod, atan2 and pow to fix #2611.
Additionally, this adds a test that generates unit tests on the fly. These tests check that all supported stanc3 scalar signatures (excluding those that return complex numbers and _rng functions) compile in the stan::math namespace. Additionally, it also checks that nothing was placed on any var stack (no inputs get promoted to vars).
Example of a test that is generated:
TEST(PrimSigsTests, pow4786) {
  /*
  pow(real, int) => real
   */
  double real0 = 0.4;
  int int1 = 1;
  auto result2 = stan::math::eval(stan::math::pow(real0, int1));
  auto result3 = stan::math::eval(stan::math::pow(real0, int1));
  EXPECT_STAN_EQ(result2, result3);
  EXPECT_EQ(stan::math::ChainableStack::instance_->var_stack_.size(), 0);
  EXPECT_EQ(stan::math::ChainableStack::instance_->var_nochain_stack_.size(), 0);
  EXPECT_EQ(stan::math::ChainableStack::instance_->var_alloc_stack_.size(), 0);
}

The functions are called twice because I wanted to make sure I included the result in an EXPECT test so it does not get optimized out. This might not be needed, but I just wanted to be safe.
The entire test file that is generated is here: prim_sig_test.txt
This test would be run on Github Actions.
Tests
Adds a new signature test that can be run via ./runTests.py test/scalar_prim_sig. This generates a unit test file that checks that all primitive scalar functions compile and that none of them gets promoted to vars.
Side Effects
/
Release notes
Added implementations of max, min, fmod, atan2 and pow for scalar inputs to the stan::math namespace.
Checklist

[x] Math issue #2611

[x] Copyright holder: Rok Češnovar
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I can review this.
The current failure is a bit worrisome---it looks like it just failed outright in the LLVM judging from the plea to submit a bug report:
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0-1ubuntu2~16.04.1 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/exp_mod_normal_lpdf_test-2506fe.cpp
clang: note: diagnostic msg: /tmp/exp_mod_normal_lpdf_test-2506fe.sh
clang: note: diagnostic msg:

********************

Yeah, the tests were already passing but failed upstream because https://github.com/stan-dev/stan/pull/3080 was required. Restarted the tests, should be ready for review.

@rok-cesnovar JFYI. This breaks the R packages that depend on rstan with, for instance, pow() ambiguity. I'm using the experimental branch of rstan with the nightly version of stanc3.

Yeah, I know (it also fails upstream for the exact same reason - the fact that some std functions live in the global namespace).
This branch will be merged together accompanied by a change in stanc3 that will add explicit stan::math:: namespace to all generated Stan Math.
See https://github.com/stan-dev/stanc3/pull/1011 and https://github.com/stan-dev/stanc3/issues/997
Also thanks for checking it. I love that we have up-to-date rstan now!

For the benefit of anyone who is interested primarily in the Math development without following stanc3 super closely, this PR is motivated by an issue that can lead to programs that stanc3 compiles but the c++ compiler can't. For example,
parameters {
  real alpha;
  real beta;
}
transformed parameters {
  real beta_function = beta(alpha, beta)
}

We allow users to define a variable called beta, but without the explicit namespacing this PR allows the C++ compilers fail to compile the function call of beta.

This is now ready for re-review. Ignore the test failure as it fails upstream (we will need some coordination to merge this and https://github.com/stan-dev/stanc3/pull/1011 together).

Please ignore the review request.
Testing with the Stanc3 changes revealed that we also have to add Stan Math support for standard library functions that support std::complex inputs (arg, abs, norm, conj, proj, polar, exp, log, log10, pow, sqrt and trigonometric functions).
The implementations should be simple, just calling the std:: function.

Added stan::math namespaced functions for std::complex<T> inputs, where T is not var for the following: arg, conj, norm, pow, proj.
Also added tests for complex inputs for other complex functions: abs, exp, log, log10, sqrt and trigonometric.
All models now compile with https://github.com/stan-dev/stanc3/pull/1011 and this branch so this is ready for review.


allow agents to take multiple inputs

right now, agents only take in a single string. would be nice to let them take in multiple arguments.

maybe we make this a dict single arg to agent, where each entry in the dict is an input to the prompt?

since agent is chain, that interface should already exist. the issue is that the way that agents work is they add to the prompt over time. so either (1) there needs to always be a variable that is the final thing in templating the prompt, or we need to add to the prompt template over time... im leaning more towards the later but want to think about it a bit...

as soon as you've decided, let me know and I can review any initital code and try to help

very WIP, but this is what i was thinking https://github.com/hwchase17/langchain/pull/286
i dont think its working, but wanted to put something out quick to get feedback (and i think this should convey the idea)
thoughts? ill probably have time this weekend to get it actually functional, but if you want to take a stab before then that help would also be appreciated!

added a question on there. i'm prob just not following correctly. thanks!


alert-words:fix overlapping of alert words

the existing issue was when one or more alert words were substrings of a bigger word,
they overlapped the parent alert word, incase they were created before
the parent word, or the parent word was not highlighted , incase the
parent word was created after the substrings
Reason: 1.The substrings were converted into 'substring
' , thus preventing the regex to find the larger word , or
2.The parent word was highighted, but the substrings were
still being found by regex, and they were overlapping the
parent words' css.
Solution:
1.converted the opacity of class alert-word to 1.0
2.in the backend, whenever alert-words are returned, they
were sorted in descending order and returned
3.the path related to GET Request r'^users/me/alert_words$' was removed,
as it was obsolete.
Fixes:#9157

This PR solves the issue of overlapping alert words , caused when substrings are present.
Testing Plan:
It doesnt change any tests.
GIFs or Screenshots:

Hmm, this seems like a relatively hacky solution actually, though it does kind of work. Can you make the similar changes for night mode? This doesn't seem to work in night mode (the highlight is to bright).


Use NANODBC_CODECVT_TYPE with unsigned short for Visual C++ 1900.

In VS2013, char16_t was a typedef of unsigned int.
In VS2015, char16_t is a distinct type of it's own.
Switching char16_t to unsigned short should get the old
behavior from earlier versions and fix the missing export error.
See https://connect.microsoft.com/VisualStudio/Feedback/Details/1403302
Fixes #121

:+1:


AIX: Grinder target cmdLineTester_jvmtitests_5 fails because dependent shared libraries are not found

Describe the bug
This test fails to load - and grinder reports unstable as result.
The java executable (or .jar code) defeat the normal AIX rtld behavior.
JVMJ9TI001E Agent library jvmtitest could not be opened (Could not load module .
System error: No such file or directory)
JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed

Note: JAVA messages - with an AIX rtld message embedded - see below for a pure AIX example of rtld messaging
To Reproduce
Steps to reproduce the behavior (or Grinder rerun link):
The key command - from a Grinder job - with workspace saved:
"/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java"  -Xgcpolicy:metronome -Xcompressedrefs  -Xdump    -agentlib:jvmtitest=test:rnwr001 -cp "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/functional/cmdLineTests/jvmtitests/jvmtitest.jar" com.ibm.jvmti.tests.util.TestRunner
Expected behavior
That the test runs and finishes with status 0
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
To assist with understanding the error message above:

JVMJ9TI001E Agent library jvmtitest could not be opened: This bit is from java - what follows (#2 and 3) is the AIX rtld messages - note: jvmitest is a .jar file
(Could not load module .`: specifically - a module named '.' is not loading - this is probably the error - wrong argument in something.
System error: No such file or directory): the error at OS level
JVMJ9VM015W Initialization error for library j9jvmti29(-3): (java message)
JVMJ9VM009E J9VMDllMain failed` - multiple messages: JVM messages - related to the shared library j9jvmti29 (libj9jvmti29.so). I am guessing the java routine J9VMDIMain (in C main() ?) does not load - because it could not load the Agent (.jar)

To further help reading: an example using a simple application (/usr/bin/python)
PYTHON has the following library dependency:
/usr/bin/python needs:
         /opt/freeware/lib/libpython2.7.so
         /opt/freeware/lib/libexpat.a(libexpat.so.1)
         /opt/freeware/lib/libffi.a(libffi.so.6)
         /opt/freeware/lib/libncurses.so
         /opt/freeware/lib/libsqlite3.so
         /opt/freeware/lib/libstdc++.a(libstdc++.so.6)
         /opt/freeware/lib/libgcc_s.a(shr.o)
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /usr/lib/libdl.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)

The first library it needs is /opt/freeware/lib/libpython2.7.so. It's dependencies are:
/opt/freeware/lib/libpython2.7.so needs:
         /usr/lib/libdl.a(shr.o)
         /opt/freeware/lib/libexpat.a(libexpat.so.1)
         /opt/freeware/lib/libffi.a(libffi.so.6)
         /opt/freeware/lib/libncurses.so
         /opt/freeware/lib/libsqlite3.so
         /usr/lib/libpthreads.a(shr_comm.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /opt/freeware/lib/libgcc_s.a(shr.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)

To get a similar message as this test - rather than rename libpython2.7.so I rename one of it's dependencies - and then try to start python.
# mv          /opt/freeware/lib/libgcc_s.a          /opt/freeware/lib/libgcc_s.a.save
# python
Could not load program python:
        Dependent module libgcc_s.a(shr.o) could not be loaded.
Could not load module libgcc_s.a(shr.o).
System error: No such file or directory

Note: this message is known to IBM - but for a differnt case:
JVMJ9TI001E Agent library am_ibm_16 could not be opened (Could not load module .
System error: No such file or directory)
JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed

My first thoughts is that  it can be resolved by xml files - currently not available in the test directories:
3) The last place to check is the server.xml file itself.   Look at the genericJvmarguments line in the file and check the -Xbootclasspath/p:${ITCAMDCHOME}/toolkit/lib/bcm-bootstrap.jar line.
4) Lastly, check the variables.xml file.  In this file, specifically check the  AM_CONFIG_JVM_ARGS variable.  In the value section, check the -Xbootclasspath and the agentlib parms specified here.

Or, perhaps an additional argument - something like -Xbootclasspath/p:/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/jre/lib/ppc64/compressedrefs/ (I do not know java - so this may include a syntax error)

Thanks for the report @aixtools, I will look at how the cmdLineTester_jvmtitests_5 test is configured to see what our options are for changing test config.

Rerunning cmdLineTester_jvmtitests_5 in a Grinder to get a fresh set of results:
jdk8 in Grinder/7235
jdk11 in Grinder/7236

Interesting, based on Grinders above, this test passed in the jdk11 run on test-osuosl-aix72-ppc64-1, but failed in the jdk8 run on same machine.

Yes - very interesting. I'll try as well - with save workspace - and run my traces/trcrpt to see what OS behavioral changes I can find.

Placeholders: https://ci.adoptopenjdk.net/job/Grinder/7290/ (jdk8) and https://ci.adoptopenjdk.net/job/Grinder/7291/ (jdk11)

I looked at your console outputs - at the surface level the commands seem the same - so what does changing jdk version change in terms of what actually get executed? Helps to know what/where to look.

Okay it actually looks like there is no native testimage package for jdk8 being found and downloaded via API (and therefore the message, Agent library jvmtitest could not be opened (Could not load module .

We need to look and see why the native test image for jdk8 AIX is not found, is it being built?
From the build job (example: Build 980), looks like they are built.

Next thing to check, are they being moved correctly to the releases repo?

testimages for jdk8 j9 aix are on the website and so are being moved to releases repo presumably

Our test script will attempt to download the jdk binary, and the testimage and debug packages by default, next check, is this broken for this particular case?  Or does the API not serve up the testimage package for some reason?

Well, this seems to explain why the test fails. A giant step forward.

Looks like originally testimage is not available for jdk8 https://github.com/AdoptOpenJDK/openjdk-tests/blob/master/get.sh#L225 https://github.com/AdoptOpenJDK/openjdk-tests/pull/1661. Need to update to support testimage for jdk8.

https://github.com/AdoptOpenJDK/openjdk-tests/pull/2320 is now merged (and fixes the originally reported issue).  Verifying via this Grinder: https://ci.adoptopenjdk.net/job/Grinder/7422
It may be that there is a new different issue for this test target, but that should get raised separately.

We now have the the native test images, but we see that the test causes a crash based on output from Grinder/7422, not investigated why or if it has been seen at ci.eclipse.org/openj9 (@pshipton have you seen this before?):
----------- Stack Backtrace -----------
(0x09000000105B247C [libj9vm29.so+0x7d47c])
runCallInMethod+0x224 (0x09000000105A7608 [libj9vm29.so+0x72608])
gpProtectedRunCallInMethod__FPv+0x48 (0x0900000010596E4C [libj9vm29.so+0x61e4c])
signalProtectAndRunGlue+0x28 (0x090000001058E5AC [libj9vm29.so+0x595ac])
omrsig_protect+0x488 (0x090000000743DE4C [libj9prt29.so+0x59e4c])
gpProtectAndRun+0xf8 (0x090000001058E6FC [libj9vm29.so+0x596fc])
gpCheckCallin+0x114 (0x0900000010596DB8 [libj9vm29.so+0x61db8])
callStaticVoidMethod+0x48 (0x09000000105F708C [libj9vm29.so+0xc208c])
(0x0000010000003FD0 [java+0x3fd0])
_pthread_body+0xe8 (0x090000000059DFEC [libpthread.a+0x3fec])
---------------------------------------

I don't see any matches.

There is an internal workitem (RTC 145045: [aix_ppc-64_cmprssptrs] SE80_GIT J9vmTest_2 crash -Xlp16G Requested page size in GC logs matches with page size in -verbose:sizes output) , which is a regression being investigated but probably introduced a while ago just occurred more recently.
----------- Stack Backtrace -----------
(0x0900000079E2B07C [libj9vm29.so+0x6b07c])
runCallInMethod+0x238 (0x0900000079E21B3C [libj9vm29.so+0x61b3c])
gpProtectedRunCallInMethod__FPv+0x48 (0x0900000079E11F6C [libj9vm29.so+0x51f6c])
signalProtectAndRunGlue+0x28 (0x0900000079E0B9AC [libj9vm29.so+0x4b9ac])
(0x090000007A0A38A8 [libj9prt29.so+0x528a8])
gpProtectAndRun+0xf8 (0x0900000079E0BAFC [libj9vm29.so+0x4bafc])
gpCheckCallin+0x114 (0x0900000079E11ED8 [libj9vm29.so+0x51ed8])
callStaticObjectMethod+0x54 (0x0900000079E62FB8 [libj9vm29.so+0xa2fb8])
LoadMainClass+0x10c (0x0000010000005CB0 [java+0x5cb0])
JavaMain+0x454 (0x0000010000004718 [java+0x4718])
_pthread_body+0xf0 (0x0900000000515D34 [libpthreads.a+0x3d34])

Note: the internal test failure is at J9vmTest_2 while the failure in this issue is cmdLineTester_jvmtitests_5.

Actually I think they might be related
===============================================
Running test cmdLineTester_jvmtitests_5 ...
===============================================
cmdLineTester_jvmtitests_5 Start Time: Wed Mar  3 19:00:44 2021 Epoch Time (ms):<PHONE_NUMBER>119
variation: Mode351
JVM_OPTIONS:  -Xgcpolicy:metronome -Xcompressedrefs

This failure is -Xgcpolicy:metronome while the internal RTC 145045 investigation indicated that it only occurs in this GC policy (along with another corner condition) as well.

The problem Jason refers to (145045) was introduced Feb 17th. It would be interesting to see the result of java -verbose:sizes on the machine where it occurs, as we've only seen the problem on a machine where 16G pages are listed as an available size, like follows:
  -Xlp:objectheap:pagesize=64K   large page size
                  available large page sizes:
                  4K
                  64K
                  16M
                  16G

145045 also only occurs when -Xlp16G is used, but perhaps this is a different manifestation of the same problem.
@zl-wang  fyi


Implement build cancelling

This PR adds the ability to cancel a build from the built-in UI. It upgrades the database, api, and rendered content accordingly.
This PR solves #306 and #308 as a byproduct.
I can revert the flake.nix to the old version, but needed an environment that included alembic - the old one still returns a 404, and I could address the poetry2nix in another PR.
With some additional time, I could also include tests as a part of this PR.
cc: @dharhas @costrouc

Going to close now. We will be implementing build canceling soon just need to think it through a bit more.


Places for short and long descriptions for talents

Is your feature request related to a problem? Please describe.
When I enter talent description I like to have as much information possible. However it gets very cluttered when you add the long talent description to a tree.
Describe the solution you'd like
What I would suggest is that you make a place for the short description that shows up on the tree and a long description that can be read if the talent is opened.

Done, will be released in 1.904. Thanks for the suggestion :)


chore(frontend): make shuffle box full width

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[x] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change
Make shuffle box full width.

We do need xs to keep the right and left boxes in the same width.


setting up vsphere driver once and calling it from different recipes

Hi,
I am trying to deploy a server from chef-provisioning-vsphere using the example:
now I am trying to use the resource batch to build multiple vms at once and am having a hard time understanding how to set it up.
here is an example:
machine_batch do
action  :setup
machines 'a', 'b', 'c', 'd', 'e',
recipe['chef-client::service']
end
I am using a template which has the chef-client installed and the client.rb file and cert and validator.pem
I want my new vms to have a:   new IP, gateway, dns and join the domain.
After that is setup I want to run the chef-client cookbook to create the chef-client as a service to check in every so often and remove the validator.pem (that's part of the cookbook and should work as expected)
the recipes that I am struggling with are
example: Vcenter.rb
with_machine_options :bootstrap_options => {
use_linked_clone: true,
num_cpus: 2,
memory_mb: 4096,
network_name: ['vlan_20_172.21.20'],
datacenter: 'datacenter_name',
resource_pool: 'cluster',
template_name: 'path to template',
customization_spec: {
ipsettings: {
dnsServerList: ['<IP_ADDRESS>','<IP_ADDRESS>']
},
domain: 'blah.com',
domainAdmin<EMAIL_ADDRESS>domainAdminPassword: 'Passwordyoyoyo',
org_name: 'acme',
product_id: 'CDAA-SSSC-3455-FF77-2AAC',
win_time_zone: 4
}
ssh: {
user: 'administrator',
password: 'password',
paranoid: false,
}
}
and the recipe that I want to use to build the new vms
newVMs.rb
machine_batch do
action  :setup
machines 'a', 'b', 'c', 'd', 'e',
recipe['chef-client::service']
end
How can I use the newVMs.rb recipe without having all of the info that's on Vcenter.rb file. Instead reference to it somehow??? Tried include_recipe 'vms::VCenter'
i am getting this error:
Error executing action converge on resource 'machine[DS-TEST01]'
================================================================================
NoMethodError
-------------
undefined method `to_hash' for nil:NilClass

the recipe that I want to use to build new vms, I want it to be clean all the machine_options and customization_specs I'd like to keep on a different file.  this is for a windows environment by the way.
any help would be greatly appreciated.
thanks

I'd recommend adding your common config settings to a hash. Then for each machine merge the config settings specific to that machine with your common settings into a new variable. Then pass that variable to the machine resource's machine_options property.

speak English man

I am very sorry. Let me try to be more clear.
First I would create a variable to store your common options in a hash:
opts =  {
    bootstrap_options:  {
      use_linked_clone:  true,
      datacenter:  'DC2',
      ssh:  {
        user:  'administrator',
        password:  'pass',
        port:  5985
      },
      customization_spec:  {
        ipsettings:  {
          subnetMask:  '<IP_ADDRESS>',
          gateway:  ['<IP_ADDRESS>'],
          dnsServerList:  ['<IP_ADDRESS>', '<IP_ADDRESS>']
        },
        domain:  'local',
        org_name:  'org',
        product_id:  '',
        win_time_zone:  4
      }
    }
  }

Now inside your machine_batch resource yo can reuse these options:
machine_batch my_batch do
  1.upto(3) do |i|
    machine_opts = opts.dup
    machine_opts[:bootstrap_options][:customization_spec][:ip] = "1.1.1.#{i}"
    machine "web#{i}" do
      machine_options machine_opts
    end
  end
end

Hope that makes more sense

1.upto(3) do |i|     (so this will be used for up to 3 times?)
machine_opts = opts.dup     (opts.dup??? not sure what that is)
machine "web#{i}" do            (web#{i}   - will it assume web01, web02, web03, or do I have to change the hash to what I need it to be????)

here is what I got when I ran that above. all in the same file though? I am not sure if that is the way I am supposed to do it
ERROR: No resource, method, or local variable named my_batch' for Chef::Recipe

sorry. my_batch should be in quotes. To answer your other questions:

1.upto(3) is ruby for saying "1 to 3".
dup "clones" the hash. You want this because otherwise each machine will be operating on the same hash instance but you want each machine to be different.
machine "web#{i}" will create machines named web1, web2, and web3.

Hope that helps.

okay. cool thanks.
what about for the ip 1.1.1.# If i want it to start from 65 and use .66, .67, .68 is there a way to do that?

WARN  WinRM::WinRMWebService : WinRM::WinRMWebService#run_powershell_script is deprecated. Use WinRM::CommandExecutor#run_powershell_script instead

I am having issues with the IP address, it keeps selecting the same one for
both servers and then both fail,
theoretically machine_opts[:bootstrap_options][:customization_spec][:ip] =
"1.1.1.#{i}"   this should pick 1, 2, 3 but it's selecting 1 for both of
them
thanks
On Thu, Sep 22, 2016 at 12:11 PM, Matt Wrock<EMAIL_ADDRESS>wrote:

sorry. my_batch should be in quotes. To answer your other questions:

1.upto(3) is ruby for saying "1 to 3".
dup "clones" the hash. You want this because otherwise each machine
will be operating on the same hash instance but you want each machine to be
different.
machine "web#{i}" will create machines named web1, web2, and web3.

Hope that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CenturyLinkCloud/chef-provisioning-vsphere/issues/86#issuecomment-248966693,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASyNbZDwX7sVvE9hMunwFPIJP1EorRU9ks5qsratgaJpZM4Jw4qB
.

Try:
    opts[:bootstrap_options][:customization_spec][:ip] = "1.1.1.#{i}"
    machine "web#{i}" do
      machine_options opts.dup
    end

This clones the hash as it is sent to the machine instead of using the same variable in each iteration.

machine_batch "web" do
1.upto(2) do |i|
opts[:bootstrap_options][:customization_spec][:ip] = "10.x.x.7#{i}"
machine "VV-WEB9#{i}" do
machine_opts = opts.dup
end
end
end

it's assigning the same IP to both of them.

machine "VV-WEB9#{i}" do
machine_opts = opts.dup
end

should be
machine "VV-WEB9#{i}" do
  machine_options opts.dup
end

yeah that was from an earlier, I cought that mistake a while back but this is what I am using and still getting that error (minus the hash tag)
#machine_batch "web" do
1.upto(2) do |i|
opts[:bootstrap_options][:customization_spec][:ip] = "<IP_ADDRESS>#{i}"
machine "DP-WEB9#{i}" do
machine_options opts.dup
end
end
#end

is it possible to do this? to avoid that
machine "DP-WEB83" do
opts[:bootstrap_options][:customization_spec][:ip] = "<IP_ADDRESS>"
machine_options opts.dup
end
machine "DP-WEB84" do
opts[:bootstrap_options][:customization_spec][:ip] = "<IP_ADDRESS>"
machine_options opts.dup
end

I realize that it will go much slower but until I can figure out why its not working

sorry to keep bugging you, did you have a chance to look at that last email
I sent?
On Fri, Sep 23, 2016 at 10:47 AM, Matt Wrock<EMAIL_ADDRESS>wrote:

machine "VV-WEB9#{i}" do
machine_opts = opts.dup
end
should be
machine "VV-WEB9#{i}" do
machine_options opts.dup
end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CenturyLinkCloud/chef-provisioning-vsphere/issues/86#issuecomment-249228802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASyNbYEvRkj6wMRwWNbAou9tZPVIA4KKks5qs_SLgaJpZM4Jw4qB
.

sorry its been hectic on my end. I eventually actually want to test a machine_batch but yes. serializing the machines and not using a batch should get you past that.

I tried using
machine "DP-WEB83" do
opts[:bootstrap_options][:customization_spec][:ip] = "<IP_ADDRESS>"
machine_options opts.dup
end
machine "DP-WEB84" do
opts[:bootstrap_options][:customization_spec][:ip] = "<IP_ADDRESS>"
machine_options opts.dup
end
but it would only build one server, failed to customize the IP and then it
would fail, never get to the second server
On Fri, Sep 23, 2016 at 2:30 PM, Matt Wrock<EMAIL_ADDRESS>wrote:

sorry its been hectic on my end. I eventually actually want to test a
machine_batch but yes. serializing the machines and not using a batch
should get you past that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CenturyLinkCloud/chef-provisioning-vsphere/issues/86#issuecomment-249282220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASyNbf7pFWygdIm4JoR6MBWX95BJsRtkks5qtCjXgaJpZM4Jw4qB
.

.
On Tue, Sep 20, 2016 at 8:19 PM, Matt Wrock<EMAIL_ADDRESS>wrote:

I am very sorry. Let me try to be more clear.
First I would create a variable to store your common options in a hash:
opts =  {
bootstrap_options:  {
use_linked_clone:  true,
datacenter:  'DC2',
ssh:  {
user:  'administrator',
password:  'pass',
port:  5985
},
customization_spec:  {
ipsettings:  {
subnetMask:  '<IP_ADDRESS>',
gateway:  ['<IP_ADDRESS>'],
dnsServerList:  ['<IP_ADDRESS>', '<IP_ADDRESS>']
},
domain:  'local',
org_name:  'org',
product_id:  '',
win_time_zone:  4
}
}
}
Now inside your machine_batch resource yo can reuse these options:
machine_batch my_batch do
1.upto(3) do |i|
machine_opts = opts.dup
machine_opts[:bootstrap_options][:customization_spec][:ip] = "1.1.1.#{i}"
machine "web#{i}" do
machine_options machine_opts
end
end
end
Hope that makes more sense
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CenturyLinkCloud/chef-provisioning-vsphere/issues/86#issuecomment-248483696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASyNbeGXoAXBpwh3nDNQ_b6N9gIq6eA4ks5qsIYYgaJpZM4Jw4qB
.

HELLOOOO
anybody there?


Refresh bucket

Is your feature request related to a problem? Please describe.
With a connect cluster, a user should be able to refresh an existing bucket to get updated scopes, collections and documents.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Please delete paragraphs that you did not use before submitting.

@MikeGoldsmith
There is an option on bucket to refresh scopes which is doing the same job as this.
Can you please elaborate this issue?
Should we rename refresh scopes to refresh bucket because I can see it is refreshing the scopes and collection under this.


Generated Ballerina gRPC remote method names do not follow Ballerina naming conventions

Here is an example from the ad service:
remote function GetAds(AdRequest request) returns AdResponse|error {}

Corresponding proto file definition:
service AdService {
    rpc GetAds(AdRequest) returns (AdResponse) {}
}

The above service definition is written according to the protobuf style guide: https://developers.google.com/protocol-buffers/docs/style.
But when we generate these protobuf definitions for the target language, we should follow the naming conventions of that language. See: https://grpc.io/docs/languages/java/quickstart/
@daneshk, is this a limitation in our gRPC tool?

Yes, this is a limitation in our gRPC tooling. we generate the method name the same as it is defined in the protoc file. and also validate the names at service registration. We have an issue[1]. We will check

https://github.com/ballerina-platform/ballerina-standard-library/issues/2705

This is a breaking change on the client side. we also need to change the remote functions in the client stub file. Anyone who regenerates the client stubs has to change the function calls.

Closing this issue in demo repo as an issue for the grpc tool is already created.


add guide for Angular

Issue:
There is no guide for Angular.
What I did
Write angular-guide.

LGTM 👍
/ping @alterx

LGTM, my only concern is that is dones't touch on any of the specifics but as a quick guide I think it shouldn't

Thank you @Quramy !! 🙇


Deprecation warnings on python 3.8

@coroutine decorator is deprecated as of Python 3.8.
Looks like an old coroutine syntax is still used everywhere in the package so there's a lot of deprecation warnings:
DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead

Attempting to fix in https://github.com/madedotcom/atomicpuppy/pull/66


unncessary task_local_storage entries in kernel execution.

https://github.com/JuliaWGPU/WGPUCompute.jl/blob/176e3dd8a7750d0e3322526e7a01b2a40758a09d/src/compiler/execution.jl#L105-L110
These will also slowdown kernel execution.

related to #27


could you please explain

could you please explain how do you extract youtube's signature decrypt function?

https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L1177-L1202