Skip pipeline if config not found

Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2312

missing pipeline config for hook events is ignored
other events like restarts, manual run, etc. still throwing an error to the user

Don't know it that's the best way to achieve this, but it seems to be working.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4de8cbe). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2313   +/-   ##
=======================================
  Coverage        ?   40.75%
=======================================
  Files           ?      183
  Lines           ?    10973
  Branches        ?        0
=======================================
  Hits            ?     4472
  Misses          ?     6151
  Partials        ?      350

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

Could you add a note to the migration docs. Otherwise lgtm

@anbraten Sure, done.

maybe we can skip pipelines with missing config only for non-default branches?

Can we please just merge it for now. We agreed in the issue already that there are multiple options to improve it.

Argh... @6543 this needs an approval from you as you requested the change...


Embark on the Sign-In

Issue: #41

@Manasvi-1612 The FCFS-type issue has already been assigned to another contributor, so creating a pull request is unnecessary. Your contributions are appreciated, but we must adhere to established rules.


Grey out the Ultimate and Item Buttons if you have already done either of those Actions

closed by this commit


Resolve all compiler warnings

All compiler warnings need to be resolved prior to the next release.
Requested by Tam via email.

Imported from trac issue 265.  Created by jhageman on 2019-03-26T09:54:08, last modified: 2019-07-16T10:32:28

Trac comment by jphickey on 2019-07-01 14:56:18:
Just saw this ticket.
Can this be elaborated with a specific list of warnings that should be resolved?
Warnings are dependent on the specific CPU, compiler, compile flags, OSAL, and PSP in use.  I think I can definitely clean warnings prior to the next release if I had a specific list to address.  A full (verbose) build log is probably sufficient as it would have all the info.

Trac comment by jhageman on 2019-07-02 17:16:15:
Right now this is more of a placeholder for resolving any warnings when building for the various platforms as part of the release testing, should probably go into our release process if/when it gets documented.
The only warnings I'm getting right now are on linux for elf2cfetbl, which I'll write tickets for on GitHub.

Trac comment by jhageman on 2019-07-16 10:32:28:
Currently building with no errors under cc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 with default configuration.  Closing as worksforme since there is nothing to fix.

Trac comment by jhageman on 2019-07-03 13:16:47:
Moved all open tickets targeting 6.6.1 to 6.7.0 end of summer release


Remove 'Known Problems' section

effect-monad 0.7 no longer requires base < 4.9

Thanks, Vaibhav!

My pleasure :smile:


Applied Jordan’s patches to tests.

Somehow, when or after the batch mode error-suppression bug was fixed, Jordan's tests for that fix were lost. This PR restores them.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 45f503e83b269afd62c115adf67d8e238cab6850

Build failed
Swift Test OS X Platform
Git Sha - 45f503e83b269afd62c115adf67d8e238cab6850

@swift-ci please test and merge

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 45f503e83b269afd62c115adf67d8e238cab6850

Build failed
Swift Test OS X Platform
Git Sha - 45f503e83b269afd62c115adf67d8e238cab6850


[Snyk] Security upgrade victory from 34.3.12 to 35.0.0

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

chapters/chapter-10/code/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-D3COLOR-1076592
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Superceded


domNode.elm_event_node_ref is undefined in Internet Explorer 11, Edge (early versions)

Reproducing in IE11 and early versions of Edge. Chrome, Safari, Firefox, latest Edge not affected.

So i can only reproduce it as a part of large project.
App stops handling events from element, because eventNode is undefined, so click event does not propagates.
Here is my research in source code
http://take.ms/hjwox
http://take.ms/ckJmn
I have no idea how to build smaller example, maybe you can help me with suggestion
UPD: Found WA with using Html.Keyed.node, maybe it can be usefull for someone. I think this makes VDOM merges less complicated.

Found WA with using Html.Keyed.node, maybe it can be usefull for someone.

I am tracking all of the VirtualDom.map ideas in #105 so that it is clearer how to make coherent changes.
I'll close here, cleaning up the issue queue. The idea is that this content is all available for reference, but easier for me to find. Point is, thanks for the report!

Separately, is this a problem with development builds of IE? Or is it a problem with actually released browsers?

Reproducing bug in the latest version of IE11 11.413.15063.0
Latest edge behaves correctly.
I can easily reproduce issue in my project. I will try to create  SSCCE  later


Fixes #4350 - Clarify System.Uri constructor overload should have trailing slash

//cc @davidsh

@rmkerr PTAL

Thank you for the feedback, @rpetrusha, @rmkerr. I've added your clarifications to the branch. Let me know if there's anything else needed.

The build appears to be stuck. Closing and reopening this PR.

Thank you, @agxp, for making the additional changes; you've significantly improved the documentation for these two constructors. We'll merge your PR now. Your changes should appear live on docs.microsoft.com in the next day or two.


Properly update the scaffoldState when the scrollstate changes.

WHAT
Fix stalled scrollstate in screenscaffold state when updated.
WHY
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

TODO - Create a test to cover edge cases with Scaffold


PSEYE Multiple Cams free Driver !

Hello everybody. This is not a issue, is just a contribution:
Today i tested a free driver from a company called IPISoft ( motion capture system ) to use with PSEYE multiple cameras. The driver works very good !
This is a good alternative from CLEYE Driver or libusb installation setup ( sometimes difficult for many users ). You will not spent anymore +/- US$ 8,00 with CLEye Driver ( like me ! )
So you can try, the installation is very simple just run and all PSEYE cameras are recognized.
Download links:
Device drivers for PS Eye camera.
64-bit OS: http://files.ipisoft.com/drivers/PlayStation3_Eye_iPi-x64.msi
32-bit OS: http://files.ipisoft.com/drivers/PlayStation3_Eye_iPi-x86.msi
Source: http://docs.ipisoft.com/User_Guide_for_Multiple_PS_Eye_Cameras_Configuration
Result:
http://i.imgur.com/4Kdyp96.jpg
Hope this helps.

Are there advantages too using this driver over the libusb?

Really dont know more technical info, we need to get more info with applications like USBView.
But for me the best advantage is the easy installation for all users.
Performance for me is ok.

!(http://i.imgur.com/HoSjCpT.jpg)[http://i.imgur.com/HoSjCpT.jpg]

So with this driver does it just make the PS3 Eye camera appear like a regular web cam? PSMoveService doesn't currently support generic web cam based tracking. We used to a long time ago, but turned it off because we were having problems with people up other non ps3eye web cameras. Point being, install this at your own risk.

Hi Guido, no the camera not appears for Windows applications, i tried with skype, not sucess. But works with test_camera.exe and psmoveservice .

@magadan Really?! Huh... I would not have expected that to work. I will give that a try now.

I updated the Wiki section with this new driver, hope this helps the psmoveservice community.

I just finished testing it in win10 x64 myself. I had to uninstall my old libusb driver first and then install the iPisoft driver, but it looks like it works:

It seems to think it's a WinUSB based driver. The libusb client library that PSMoveService uses can open devices using the WinUSB based kernel drivers so that much be why this works?
Thanks for investigating that and updating the wiki!
That's cool that people don't have to use Zadig anymore and nice of iPiSoft to provide the WinUSB based camera driver.

For final, the license: ( included in the 'program filex(x86)/IPIsoft'
WinUSB Driver Registration for Sony PlayStation3 Eye Camera.
Copyright (C) iPi Soft LLC.
Portions Copyright (C) Microsoft Corporation. All Rights Reserved.
WinUSB Driver Registration for Sony PlayStation3 Eye Camera is free for use in any environment, including but not necessarily limited to: personal, academic, commercial, government, business, non-profit, and for-profit. "Free" in the preceding sentence means that there is no cost or charge associated with the installation and use of WinUSB Driver Registration for Sony PlayStation3 Eye Camera.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software (the "Software"), to use the Software without restriction, including the rights to use, copy, publish, and distribute the Software, and to permit persons to whom the Software is furnished to do so.
You may not modify, adapt, rent, lease, loan, sell, or create derivative works based upon the Software or any part thereof.
The above copyright notice and this permission notice shall be included in all copies of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The license permits to redistribute, so its possible to make a custom installer ( with Advanced Installer  http://www.advancedinstaller.com/ ) and put this drivers to automatic install pseye driver.
If sounds interesting i can do this installer. ( exe and .msi )

This seemed interesting so I thought I'd have a go. Performance wise it doesn't seem very different (which I suppose should have been obvious).
What concerns me is that the un-installation does not seem to work. Deleting the driver was fine but when I tried to uninstall it from Programs and Features it would only tell me that it is already installed. Luckily for me I created a restore point before installing it.
I suppose it shouldn't do any harm leaving it installed but I don't like not having the ability to remove it completely.
Am I just paranoid or is this potential problem (or was I just inept at un-installing it)?

My last conversation with  Software Engineer from IPISoft
I asked about use this driver for windows common apps...
Responde:
"Hello, Cristian,
PS3 Eye cameras is not supposed to be used on PC. So there are no official drivers for Windows.
We used WinUSB technology to allow iPi Recorder to communicate with camera. This is not noraml driver, so other apps cannot use PS3 as they do with usual web camera."

@zelmon64  no problems here to uninstall. (win10 x64)

For tracking purposes I'm going to close this issue (now that all the info is in the wiki). But feel free to continue discussion


Sticky when moving horizontally

Hello,
I was wondering if there is a way to make the element stick also when the user moves horizontally on the screen. I have a toolbar, and I want it to be allays on the screen, so sticky on horizontal scroll is important.

I don't this it support this right now, but you could always just do this manually with CSS to make it always sticky.
#my-element{
  position: fixed:
  left: 10px;
  top:10px;
}

or something similar.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update README.md

removes roadmap (b/c now in Projects) & linked in wiki
adds @DragaDoncila & @klai95 to team
adds some flair

@codemonkey800 I did it for you


Update About Us

Need this for product pitch last slide QR

Codecov Report

Merging #228 (67c719b) into master (6b07ddd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #228   +/-   ##
=========================================
  Coverage     56.94%   56.94%
  Complexity      791      791
=========================================
  Files           143      143
  Lines          3333     3333
  Branches        358      358
=========================================
  Hits           1898     1898
  Misses         1326     1326
  Partials        109      109

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


What is the coordinate of the pose_spherical func?

Thank you for your great work.
I'm wondering what is the coordinate of the intermediate poses generated by the pose_spherical here.
I can understand that the results of the pose_spherical is Blender coordinate, since:
        matrix = np.linalg.inv(np.array(poses))
        R = -np.transpose(matrix[:3,:3])
        R[:,0] = -R[:,0]
        T = -matrix[:3, 3]

but what is the coordinate of the c2w:
        c2w = trans_t(radius)
        c2w = rot_phi(phi/180.*np.pi) @ c2w
        c2w = rot_theta(theta/180.*np.pi) @ c2w

Since Blender camera coordinate is R(ight)U(p)B(ackward), and you do
c2w = torch.Tensor(np.array([[-1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]])) @ c2w, the intermediate coordinate is LBU??? (R -> L, y and z exchange) But what's that???

By the way, are the parameters theta and phi in the pose_spherical function reversed?

Hi, please refer to BlenderNeRF


State transformations: support deletions

Tested catalog deletions will YAML similar to following:

Thanks @nakomis - merging.


Upload photo

Subject: Upload photo
Description:
Uploading profile photo
Results:
Error
Backend version: develop-7c33e18d
Frontend version:
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Page: https://couchers.org/profile/edit/about
User: bmeniz7 (14213)

not enough info or can't reproduce


Unsupported fonts?

now:
use fonts: jetbrains mono

wish:

windows10

I am facing the same issue.

I am facing the same issue.

same issue

see https://github.com/shiraji/yet-another-emoji-support/issues/54#issuecomment-578231710


[BUG] RAG processor throws null pointer exception

What is the bug?
Run RAG processor on multi-node cluster without dedicated master node. Can see such error
Cannot invoke "java.lang.Integer.intValue()" because "this.interactionSize" is null

How can one reproduce the bug?
Steps to reproduce the behavior:

Set up multi-node cluster with 3 nodes, all nodes have master and data role
Run RAG processor

What is the expected behavior?

OS: Linux
Version 2.15

Do you have any screenshots?
No
Do you have any additional context?
Log
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "this.interactionSize" is null
    at org.opensearch.searchpipelines.questionanswering.generative.ext.GenerativeQAParameters.writeTo(GenerativeQAParameters.java:197)
    at org.opensearch.searchpipelines.questionanswering.generative.ext.GenerativeQAParamExtBuilder.writeTo(GenerativeQAParamExtBuilder.java:75)

Sure, assigned to you @pyek-bot


Small fixes to Using Bundlers with Workbox guide

What's changed, or what was fixed?
In the Using Bundlers (webpack/Rollup) with Workbox guide,

Added missing punctuation
Fixed some typos

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


codis在web界面上面手动切换 redis主从失败

在web界面上面，从redis 点击 promote 按钮  结果  主从切换失败
<IP_ADDRESS>  主   <IP_ADDRESS>  从
213667:S 18 Oct 23:38:21.430 # Connection with master lost.
213667:S 18 Oct 23:38:21.430 * Caching the disconnected master state.
213667:S 18 Oct 23:38:22.243 * Connecting to MASTER <IP_ADDRESS>:6383
213667:S 18 Oct 23:38:22.243 * MASTER <-> SLAVE sync started
213667:S 18 Oct 23:38:22.243 * Non blocking connect for SYNC fired the event.
213667:S 18 Oct 23:38:22.243 * Master replied to PING, replication can continue...
213667:S 18 Oct 23:38:22.243 * Trying a partial resynchronization (request f24e97d456ac31ff0ef95e53ff980595064fcb01:60813082903).
213667:S 18 Oct 23:38:22.244 * Master does not support PSYNC or is in error state (reply: -ERR Can't SYNC while not connected with my master)
213667:S 18 Oct 23:38:22.244 * Discarding previously cached master state.
213667:S 18 Oct 23:38:22.244 * Retrying with SYNC...
213667:S 18 Oct 23:38:22.244 # MASTER aborted replication with an error: ERR Can't SYNC while not connected with my master
213667:S 18 Oct 23:38:23.244 * Connecting to MASTER <IP_ADDRESS>:6383
213667:S 18 Oct 23:38:23.244 * MASTER <-> SLAVE sync started
213667:S 18 Oct 23:38:23.244 * Non blocking connect for SYNC fired the event.
213667:S 18 Oct 23:38:23.245 * Master replied to PING, replication can continue...
213667:S 18 Oct 23:38:23.245 * Partial resynchronization not possible (no cached master)
213667:S 18 Oct 23:38:23.245 * Master does not support PSYNC or is in error state (reply: -ERR Can't SYNC while not connected with my master)
213667:S 18 Oct 23:38:23.245 * Retrying with SYNC...
213667:S 18 Oct 23:38:23.245 # MASTER aborted replication with an error: ERR Can't SYNC while not connected with my master
213667:S 18 Oct 23:38:24.245 * Connecting to MASTER <IP_ADDRESS>:6383
213667:S 18 Oct 23:38:24.245 * MASTER <-> SLAVE sync started
213667:S 18 Oct 23:38:24.245 * Non blocking connect for SYNC fired the event.
213667:S 18 Oct 23:38:24.246 * Master replied to PING, replication can continue...
213667:S 18 Oct 23:38:24.246 * Partial resynchronization not possible (no cached master)
213667:S 18 Oct 23:38:24.246 * Master does not support PSYNC or is in error state (reply: -ERR Can't SYNC while not connected with my master)
213667:S 18 Oct 23:38:24.246 * Retrying with SYNC...
213667:S 18 Oct 23:38:24.246 # MASTER aborted replication with an error: ERR Can't SYNC while not connected with my master
213667:S 18 Oct 23:38:25.247 * Connecting to MASTER <IP_ADDRESS>:6383
请问下 什么原因？

补充一点：   在一个组内主从 两个 在web界面看到的都是 synced状态 ，其他组内的主从 只有从是 synced状态

@zyi1992   看你这样说的  应该是  我上面补充一点的内容    就是 一个组内的 主从为何都是 synced的状态


Removing instances of grid-body

Changes
Removing id=“grid-body” from templates, as it’s no longer used and it was causing a search indexing bug.
Testing
NA
Docs
Docs

Do a full search of the www codebase for the string grid-body, I still see plenty of references that are now broken (post.njk, src/js/index.js, etc)

🤦 guess the codespaces search doesn't work the same as Vscode

fixed the issue with index.js, changing the selector from #grid-body so that scrollspy behavior works again
the other refs are to the class grid-body rather than the ID, let me know if I should also remove those


Add navbar funtionality & fix multiple errors.

Added file navbar.js which contains the JS functionality
Fixed errors with GSAP library by:

Moving static library imports to the top of index.html.
Putting all GSAP funtionality inside the DOMContentLoaded event listener in script.js.

Fixed/changed navbar styles in navbar.css.
Moving the nav element inside index.html.

#156
@divyanshudhruv , could you do your magic?

Merged. Maggiicc!


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.37.2

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.37.0 -> v1.37.2

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.37.2
Compare Source
Bug Fixes

deps: update gomod (#855) (131e322)

v1.37.1
Compare Source
Bug Fixes

deps: update gomod (#854) (a79629e)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: tests/go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

10 additional dependencies were updated
The go directive was updated for compatibility reasons

Details:

Package
Change

go
1.21 -> 1.22

github.com/IBM/schematics-go-sdk
v0.2.3 -> v0.3.0

github.com/IBM-Cloud/bluemix-go
v0.0.0-20240423071914-9e96525baef4 -> v0.0.0-20240719075425-078fcb3a55be

github.com/IBM-Cloud/power-go-client
v1.6.0 -> v1.7.1

github.com/IBM/go-sdk-core/v5
v5.17.3 -> v5.17.4

github.com/IBM/platform-services-go-sdk
v0.63.1 -> v0.67.0

github.com/hashicorp/go-retryablehttp
v0.7.5 -> v0.7.7

golang.org/x/crypto
v0.24.0 -> v0.26.0

golang.org/x/sync
v0.7.0 -> v0.8.0

golang.org/x/sys
v0.21.0 -> v0.23.0

golang.org/x/text
v0.16.0 -> v0.17.0

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v5.31.1

Your semantic-release bot :package::rocket:


[ENG][Bug]: Insta crash after downloading an update

Checklist

[X] I have read FAQ page and Exception page in Snap Hutao document, and my issue is not answered
[X] I and tried search feature in Snap Hutao document site, and no associated article
[X] My issue is not a finished issue, and it's not a duplicated issue

Windows Version
22631.3810
Snap Hutao Version
<IP_ADDRESS>
Device ID
No response
Issue Category
Installation and Environment
What Happened?
Few days ago, I got an update notification and updated the app. After then, I noticed that the app keeps insta crashing when opened. It will start to open normally then after few seconds, it will crash. The time between app starting and the crash is barely enough for the app to launch the game if only i start snap hutao as admin otherwise, not enough time.
What is expected?
No response
Last Step

[X] I believe the description above is detail enough to allow developers to reproduce the issue

please provide your device id by using Diagnostic Tooling

78D074B76D7A8B8ACC142A5271FB4FCD

/log 78D074B76D7A8B8ACC142A5271FB4FCD

join our Discord server and contact admin


postgres: permission denied for schema public when using custom user

Fixes #1201

@giannoug I created a PR. Is it what you need?

If it's ok for you then I would like to merge it.

Anyway you are free to always add .sh or .sql scripts to the section customScripts:or use a configMap in extraScripts: to modify permissions, create users, databases etc.  during postgres startup.
So this PR is theoretically not necessary.  :-)

This values.yaml does exactly what you want:
## Database configuration
settings:
  ## The default postgres superuser (default when nothing is set: "postgres")
  superuser:

  ## The superuser password
  superuserPassword: "admin"

  # publicSchemaAccess: true

## Optional user database which is created during first startup with user and password
userDatabase:
  ## Name of the user database
  name: "mydb"

  ## Database user with full access rights
  user: "mydbuser"

  ## Password of the database user
  password: "mydbpasswd"

## Storage parameters
storage:
  ## Alternative set requestedSize to define a size for a dynmaically created PVC
  requestedSize: 128Mi

## Optional custom scripts that can be defined inline and will be mounted as files in /docker-entrypoint-initdb.d
customScripts:
  02-grant-public.sh: |
    psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
      GRANT ALL ON SCHEMA public TO mydbuser;
    EOSQL

Final question:
Do we need the PR or will the example of values.yaml from previous comment solve your problem (and maybe other requirements)?
I would prefer to not implement special cases and keep that to the consumer/user of the chart to customize things to their needs via additional scripts during deployment.

You're welcome.
I also checked that the permissions were created with psql.


Fix typo in %w

%w(sms, call) # => ["sms,", "call"]
%w(sms call) # => ["sms", "call"]

Thanks @ilyasgaraev


Add unit tests

It's necessary to maintain our integration with testing at all levels.

We should start with the library module and then move on to the following modules.

Hiya! Thanks for the suggestions.
I've been meaning to improve testing for the JS library for months already! But I can't find the time for it unfortunately.
The difficulty in this particular project is that we support both deno and node/bun (officially). Because of this we need to either:

Split the tests for deno and node/bun, which leaves us forced to maintain two sets of tests
Write a custom test suite which is much more work and what we currently do

I'm leaning to change it to the first option and hope to get to this soon, so we can properly test every function

Haha! Well, to be honest, I'm not sure what the benefit is of using mocks here is surrealdb is so easy to embed in any environment really :)
If you see a way to improve the tests I am definitely open to it!

Unit tests would be less about embedding SurrealDB and more about checking that the library does what it's supposed to. I believe ideal unit tests would be calling each method of the client classes and verifying that the mocked WS/HTTP server is receiving the correct message. We can also verify the behavior during message responses. This is white-box testing, where we don't rely on the behavior of SurrealDB to test SurrealDB.js.
A mock server in this instance would mean a fake HTTP server and a fake WS server and being in control of their behaviors during the tests. The HTTP server is easy to implement without libraries thanks to the builtin http module, but the fake WS server is more challenging, we would need to use a library for that. The ws module is already a dependency of the full app, but that's built using a script into the /npm directory, so inaccessible to the tests. If this is the direction for unit tests, the deno and node/bun suites might need separate package.json files.


Handle incoming notification

This PR should enable the lambda to listen to the incoming S3 events and send them off to (yet to be implemented) functions.

@Omicron7 do you think I should use import across the board and get rid of require?

Sorry, missed the comment yesterday. If you're going to use webpack/babel, then yes, use import, otherwise require.


Retrieve parents and childs.

Hey!  Thanks for this useful library. I'm able to retrieve a bunch of fields regarding work items (User Stories / Tasks / etc.)
I was wondering if you could post a sample demo on how to retrieve Parent and Child IDs within the work items as well in order to be able to do some correlations. (US id > Task/s id or US id < Task/s id) Thanks again for your help!

The most straight forward way to do this is probably to create a WIQL query, and use the WorkItemTrackingClient.query_by_wiql method.

@WhatDoesKmean , I am going to close this for now.  Let me know if you are still having issues.

@tedchamb I also am trying to get the child/parent relations and am using the mentioned method query_by_wiql.
I notice that I get correct valus returend in response = self._send(.. , but apparently the deserialization in
return self._deserialize('[WorkItemUpdate]', self._unwrap_collection(response)) does not work (because it is for workitems and not for relations ?)
Is there any way to get the parent/child relations by now?
Thanks


Scale down option should be greyed out if there is only 1 etcd node

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):

Rancher 2.5-head [2 etcd, 1 cp, 3 worker nodes] with drain before delete enabled for etcd.
Once the cluster is active, click on the scale down option until no etcd nodes are left
Cluster goes into error state.

Result:
Can we have the scale down option greyed out as the original "-" button, when we have only 1 etcd node.

Rancher | v2.5-a85f4d1f87feea0083ebf8ae517a140f39de7fbd-head
User Interface | v2.5-dev
Helm | v2.16.8-rancher1
Machine | v0.15.0-rancher51
https://github.com/rancher/rancher/issues/22871

With the action menu items are not disabled, they either appear or they don't. I suspect @sowmyav27 knows this but I wanted to make sure it was clear that the option won't be greyed out.

Rancher | v2.5-87006de30625c046523a329b03ea2580db35fb57-head
User Interface | v2.5-dev
Helm | v2.16.8-rancher1
Machine | v0.15.0-rancher52
Created a cluster with 3 etcd, 2 cp , 1 worker node.
Scaled down the cp, worker and etcd until only one node is present and verified the scale down option is not present for any of the nodes.

Verfied on the master-head
Rancher | master-465bb3b80cb9f2d8c002fa9d7c37be20d38ed411-head
User Interface | vmaster-dev
Helm | v2.16.8-rancher1
Machine | v0.15.0-rancher52
Followed same steps as above and see the scale down option disappear if only 1 etcd,cp or worker node present.


Implement all handlers in terms of ()

To make the examples simpler and to make it easier to write throw away code it should be possible to use Box::new(()) in all places where a *Handler is expected.
Currently we already do this in #184 with the SurfaceHandler trait because it's necessarily to ensure it's cleaned up correctly.

Actually I don't think you'll actually want to do this in practice, so lets not do this. There are a few cases where we need to do this for default implementations, but for the majority of cases the user should define some methods to do things.


docs : Add OWASP (Open Web Application Security Project)

Add one of the best resources for Ethical Hacking resources a.k.a. OWASP in a separate section.

Closing this PR as the resource is not a list, the name is misspelled as OWSAP and you have created a new table for the resource (which in my opinion is not required).

@Chan9390 Added it in a new table as the destination is not a github repo. Also, should I correct the spelling and push again?


Badge: Update colors and height according to the UI kit

What does it do?

Updates the height of the Badge to match the UI Kit

Before
After

Updates the colors
Updates the border-radius from 4px to 2px

Why is it needed?
Match the UI Kit
Related issue(s)/PR(s)

https://strapi-inc.atlassian.net/browse/CONTENT-220

@maevalienard What do you think about creating two variants for this component then? size=S and size=M?

@gu-stav Usually, I'm not fan to introduce too many possibilities but I don't see the issue here. That would work to me :)

@maevalienard Cool. I think in this case it could make sense. Would you like to go ahead and create both variants (S and M) in the UI Kit first?

@gu-stav Is it just a change of border-radius or also a change of padding? If also padding could you please let me know about the two variants to have?

@maevalienard Up to you. I imagine this might work:
S: height=16px, border-radius=2px
M: height=24px, border-radius=4px
Currently, the badge is height=24px and border-radius=4px.

Sounds good to me. I'm changing the UI Kit accordingly right now

@maevalienard I think it also might be useful to define:
S: padding-left/ padding-right: 1
M: padding-left/ padding-right: 2
Otherwise it looks a bit cramped. What do you think?
Preview: https://design-system-git-fix-badge-height-colors-strapijs.vercel.app/?path=/story/design-system-components-badge--size

Updated ✅

@maevalienard Just to avoid any misunderstanding: I'm looking at https://www.figma.com/file/zUx2bwEZId1RHZBM6zT14e/Strapi---Website-UI-Kit-🧩?node-id=1431%3A31181&t=1y1oYB7XXIppy3b6-1 and can only see one variant which has once a height of 20px and once of 19px. In both cases the Typography doesn't match the Badge we have here.

Oh thanks. My bad :)
The DS UI Kit looks much better:

:) However: the height of the medium badge is 25 which doesn't go well with our magic number of 4 doesn't it?

I'll take that compliment 😂
Indeed, I might have mistaken somewhere. I'll fix that right away, thanks :)


little fix for permission error API 29

Solution for this issue java.io.IOException: Could not create directory #86
the issue is due to the  changement of file permissions in API 29 of android


Convert to logs

Motivation
So that 1. we see time and file on the logs. 2. are able to tune the level of verbosity (defaulting to INFO).
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
on testnet
Related PRs
https://github.com/libra/partners/pull/395

/land

/cancel

/land


Ctrl-Alt-u dead because Black Box terminal is not installed.

Describe the package
The layered package was removed in #33 but never added back as flatpak in yafti.
The keyboard shortcut and BlackBox config to run distrobox are there in /etc/dconf/db/local.d/01-ublue, works well after installing the flatpak manually.
Image
Silverblue

Yea please


Opacity set to zero when no items binded

updated to latest ui-select (Version: 0.17.1 - 2016-06-09T20:41:58.363Z), with angular 1.4.8.
ui-select-dropdown div opacity set to 0 when no items binded.

http://plnkr.co/edit/p0F5s5?p=preview

Same error here.
Ps: On bower the bugged version is registered as 0.18.0 but uiSelect changelog has only two 0.17.1, I think lastest one should be 0.18.0

How in the world did this make it into production? I upgraded to 0.18.0 and literally every ui-select control in my application has regressed as a result of this problem.

Yeah, this is pretty serious, options never show up in any of my controls. Back to 0.17.1 I guess.

If you want to fix this in the mean (because it was quicker for me to do this than to revert to a known working version), you can add:
.ui-select-dropdown.select2-drop-active {
    opacity: 1 !important;
}

Could someone describe this problem here in more detail? If there are no items then there doesn't need to be a drop down? I assume I am missing something! :smiley:
@wescopeland whinging doesn't help solve issues, detailed bug reports and PRs do though! Consider helping out if via a PR if it's causing a big problem for you, will be happy to review :)

I'll try and make a short reproducible example tomorrow if I get the chance, but I also found this when I had only one result. The problem with the zero results case however is that the search is hidden, and I was serving the results up using API queries

We had the same problem due to an active class name filter on the $animateProvider:
function configureAnimateProvider($animateProvider) {
   $animateProvider.classNameFilter(/animate-/);
}

This caused the callback at https://github.com/angular-ui/ui-select/blob/master/dist/select.js#L1358 (which sets the opacity to 1) to not be executed (see https://github.com/angular-ui/ui-select/blob/master/dist/select.js#L1405). After adding the ui-select classes to the filter, the callback is executed and the items appear:
function configureAnimateProvider($animateProvider) {
   $animateProvider.classNameFilter(/animate-|ui-select-/);
}

Maybe this helps someone with a similar issue...

Closing this as the plunkr linked in the original post works against v0.19.6 there is an issue with the classNameFilter as logged in #1731

@user378230 Please, you should revert this change. I load choices remotely based on the search value. If the search value is empty no choices are loaded. If no choices are available the dropdown (including the search field) is not shwn.


Should internal transactions go on TransactionResult?

We need to store internalTransactions (as possibly a configuration option)
should this go on transaction results, be included in . the persisted block (locally not over network)?
how should we be storing/relaying internal transactions?  we really should have the feature, but at what cost to local storage and computation overhead?

Resolved by new API changes


[Event Request] codeunit 5522 "Order Planning Mgt." - OnSetFilterOnBeforeFindUnplannedDemandForInsertDemandLines

Describe the request
To affect the final ordering or output of the Order Planning page, it would be helpful to have a means to change the sorting or filters before the Requisition Line is created from the Unplanned Demand.
Code changes in codeunit 5522 "Order Planning Mgt."
    local procedure InsertDemandLines(var ReqLine: Record "Requisition Line")
    var
        UnplannedDemand: Record "Unplanned Demand";
        Item: Record Item;
        HeaderExists: Boolean;
    begin
        UnplannedDemand.Copy(TempUnplannedDemand);

        TempUnplannedDemand.Reset();
        TempUnplannedDemand.SetRecFilter();
        TempUnplannedDemand.SetRange("Demand Line No.");
        TempUnplannedDemand.SetRange("Demand Ref. No.");
        TempUnplannedDemand.SetRange(Level, 1);
+       OnSetFilterOnBeforeFindUnplannedDemandForInsertDemandLines(TempUnplannedDemand, ReqLine);
        TempUnplannedDemand.Find('-');
        HeaderExists := false;

        repeat
            if DemandType in [TempUnplannedDemand."Demand Type", DemandType::" "] then begin
                if not HeaderExists then
                    InsertDemandHeader(UnplannedDemand, ReqLine);
                HeaderExists := true;

                ReqLine.TransferFromUnplannedDemand(TempUnplannedDemand);
                ReqLine.SetSupplyQty(TempUnplannedDemand."Quantity (Base)", TempUnplannedDemand."Needed Qty. (Base)");
                ReqLine.SetSupplyDates(TempUnplannedDemand."Demand Date");
                InsertReqLineFromUnplannedDemand(ReqLine, Item);
            end;
            TempUnplannedDemand.Delete();
        until TempUnplannedDemand.Next() = 0;

        TempUnplannedDemand.Copy(UnplannedDemand);
    end;

Event publisher:
[IntegrationEvent(false, false)]
local procedure OnSetFilterOnBeforeFindUnplannedDemandForInsertDemandLines(var TempUnplannedDemand: Record "Unplanned Demand" tempory; var RequisitionLine: Record "Requisition Line")
begin
end;

Additional context
We have customers where they had hoped to be able to sort the "level 1" lines based on the demand dates for Projects, but it appears only the top level of the orders in the Order Planning is sorted by date. Once you expand a project in the planning view, the sorting is done by the order in which the job lines were created. This would help
Internal work item: AB#537648

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 20692.


Reflections

document on what we have implemented in our dashboard so far and explain what is not yet implemented

https://github.com/UBC-MDS/Cost_of_living_py/pull/28


after erroneous check (by check_cmd) the result file is not updated for next check

I'm not completely sure about this, but it seems like when confd updates a file (result file) and runs check_cmd, which fails, then it won't replace it any more with neither the old version nor a new version (e.g. corrected template or corrected value). This leads to endless failing checks afterwards (once each interval). One must replace the result file with a "clean" (non-failing) version, then confd picks up the changes from the template or backend on the next check.
Is check_cmd possibly called before a new result file was written, resulting in the error?

Is check_cmd possibly called before a new result file was written, resulting in the error?

Yes. check_cmd is called before the template is written out to its destination.

Seems wrong to me, IMHO the check should check the new version, not the old.

@nixn Normally the check command is used like this:
check_cmd = "/usr/sbin/nginx -t -c {{.src}}"

{{.src}} refers to the proposed file, which allows us to be sure the generated config is validated before over writing the target.

Thanks for the hint, will check this. Perhaps it should be noted more clearly in the documentation? I missed it.

Now, while that works as you described, I still have a problem. I use the sites-{available,enabled} pattern for nginx, so the main configuration file (nginx.conf) includes sites-enabled/* which in turn has symlinks to sites-available/.... One of these files in sites-available is the dynamically updated configuration (sites-available/http-proxy with the according symlink in sites-enabled). Now when I change the proxy configuration in etcd, the sites-available/http-proxy shall be updated, with a check (by check_cmd). But I have no idea how to check the new configuration with {{.src}} as "the new sites-available/http-proxy", because I (or confd) would have to rewrite the main configuration file to include {{.src}}.

{{.src}} not works in case of configs with templates. Result - dead loop.

@akaspin that's the intent. However, its more like "write dest template to temp file. run check_cmd. if it success: move temp to dest; else log.Error". I'm not quite sure I understand your issue. If you can post a reproducible test case as a separate issue then I could take a look at it.

Unfortunately we cannot change the behavior on this one. confd writes configs to a temp file to ensure we don't change configs unless they pass any checks. Backend up the target file, then running the check runs the possibility of leaving the system in a broken state. The goal rename the proposed config file after ensuring it's ready to go.
confd does not support the slightly more complex use cases required by sites enabled, where a top level configuration file needs to import other files to complete the configuration. This is where I would say confd is the wrong tool for the job and maybe a more general configuration management tool like Puppet or Chef would be a better fit.

If your dest is not /etc/nginx/nginx.conf, such as /etc/nginx/sites-available/some.conf, the value of {{.src}} will be /etc/nginx/sites-available/.some.conf899488104.
Then, nginx -t -c /etc/nginx/sites-available/some.conf899488104 will return error, because of it is not a complete conf file of nginx.
So create wrapper file first, and delete it after check.
check_cmd = "TMP=/etc/nginx/$(basename {{.src}}).tmp && echo 'events{}http{' > $TMP && cat {{.src}} >> $TMP && echo '}' >> $TMP && (nginx -t -c $TMP; R=$?; rm -f $TMP; exit $R)"

If check failed:

ERROR "nginx: [emerg] no servers in upstream "backends" in /etc/nginx/.backends.conf899488104.tmp:4\nnginx: configuration file /etc/nginx/.backends.conf899488104.tmp test failed\n"
ERROR Config check failed: exit status 1

If your dest is not /etc/nginx/nginx.conf, such as /etc/nginx/sites-available/some.conf, the value of {{.src}} will be /etc/nginx/sites-available/.some.conf899488104.
Then, nginx -t -c /etc/nginx/sites-available/some.conf899488104 will return error, because of it is not a complete conf file of nginx.
So create wrapper file first, and delete it after check.
check_cmd = "TMP=/etc/nginx/$(basename {{.src}}).tmp && echo 'events{}http{' > $TMP && cat {{.src}} >> $TMP && echo '}' >> $TMP && (nginx -t -c $TMP; R=$?; rm -f $TMP; exit $R)"

If check failed:

ERROR "nginx: [emerg] no servers in upstream "backends" in /etc/nginx/.backends.conf899488104.tmp:4\nnginx: configuration file /etc/nginx/.backends.conf899488104.tmp test failed\n"
ERROR Config check failed: exit status 1


Migration is failing intermittently due to SpaceAccessError

Expected Behavior

Contentful migrations execution should be consistently successful when migration function is correct and valid.
Actual Behavior

Contentful migration is failing intermittently even though the migration function is correct and valid. It always throws general error message
🚨  Migration unsuccessful
The provided space does not exist or you do not have access.

🚨  Migration unsuccessful
Error: The provided space does not exist or you do not have access.

🚨  Migration unsuccessful
    at run (/******<masked-file-path>/node_modules/contentful-migration/src/bin/cli.ts:141:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Should bubble up the exact error message instead of throwing general error message for any error scenarios.

Note:

This happens only on running migrations in CI pipeline (Azure DevOps). [linux x64]

It is successful after running CI Pipeline for multiple attempts (more than 4 or 5 times) without any changes.

This is working fine always in our local machine. [Windows Server 2019]
We are 100% sure about the correctness of SpaceID, EnvironmentID, Host URL, AccessToken being used in both CI pipeline and local machine.

Steps to Reproduce

Failing intermittently on executing runMigration method from contentful-migration library
We tried with multiple configuration options for runMigration method. Still this issue remains same.
Before executing runMigration method in code, we also tried to get some content entries using ManagementClient (content-management) approach with same configOptions and it is always successful and returns correct value in all cases.
Also, executed Contentful CLI space/env commands and it is always successful and returns correct value. We don't want contentful-migration CLI commands to run our migrations.
To conclude, problem lies only with runMigration method.

  import Migration, { runMigration, RunMigrationConfig } from "contentful-migration";

  export type MigrationExecutor = (migration: Migration) => void;

  // here migrations.Executors is of type 'MigrationExecutor[]'
  for (var executor of migrations.Executors) {

    await runMigration({
      ...this.configOptions,
      migrationFunction: (migration: Migration) => {
      	executor(migration); // Example: This will call dog.ts methods(up/down) based on reference in `executor`
      }
    })
    .then(() => {
    	sequenceNumber += 1;
    	console.log(`\nMigration done for (${sequenceNumber}).`);
    })
    .catch((e) => {
    	console.error(e);
    	isSuccess = false;
    	throw new Error(e);
    });
  }
  if (isSuccess) {
    await this.updateVersion(migrations.targetVersion);
  }

  const siteName: string = "xyz";
  const configOptions: Partial<RunMigrationConfig> = {
      host: env[`CONTENTFUL_API_URL`], // api.eu.contentful.com
      spaceId: env[`${siteName}_SPACE_ID`], // Getting values from environmental variables, verified correctness in CI
      accessToken: env[`${siteName}_ACCESS_TOKEN`], // Getting values from environmental variables, verified correctness in CI
      environmentId: env[`${siteName}_ENV_ID`], // Getting values from environmental variables, verified correctness in CI
      requestBatchSize: 15, // Also tried for different values 50, 30, [without this option]
      requestLimit: 7, // Also tried for different values 8, [without this option]
      retryLimit: 10, // Also tried for different values 5, [without this option]
      yes: true
    }

  // dog.ts // simple migration steps
  import Migration from 'contentful-migration';

  export type MigrationMethod = {
      up: MigrationExecutor;
      down: MigrationExecutor;
  };
  const dogContentTypeId = 'dog';

  function up(migration: Migration): void {
      const dog = migration.createContentType(dogContentTypeId, {
          name: 'Dog'
      });
      const name = dog.createField('name')
      name.name('Name').type('Symbol').required(true);
  }

  function down(migration: Migration): void {
      migration.deleteContentType(dogContentTypeId);
  }

  const migrationMethod: MigrationMethod = { up: up, down: down };
  export default migrationMethod;

Environment

Node Version: 14.21.3
Package Manager Version: 6.14.18
Operating System: linux x64
contentful: ^10.8.0
contentful-migration: ^4.20.1
ts-node: ^10.9.2
typescript: ^5.4.3

We couldn't reproduce in GitHub Actions workflows pipelines. Hence, closing this issue which due to our environment / network issue.


How can I modify the numbers of the node for Test

I want to use only one node to build the private chain for consensus and where I should modify for the code?
(我想用一台节点实现私链共识，请问我需要修改代码的什么地方?)

Hi @neotokens, does the link resolve your problems?

Closed because @neotokens has not answered since May 2018


Add a cluster discovery mechanism

We need to be able to connect to an Event Store cluster. In the Event Store Dotnet Client we currently use the gossip endpoint which is http based. We are working on a gRPC based implementation.

Done https://github.com/EventStore/EventStoreDB-Client-Java/commit/d375fdf8075f8baa854d7dcc78132a138982f27b


Create empty response when using ResponseType attribute with void

used same behavior as for default result types
on code generation permits to create resultType as Task instead of Task

What problem does this solve?

I have the impression that c# client Generation using the Attribute Response type isn't working. (Using [ResponseType(typeof(void))] in endpoints) isn't working. The property ResultType is generated as Task instead of Task. The fix could also be done in client generation code but it looked more appropriate here.

How does the generated swagger look like for a void action?

I think its more a generator problem because it correctly detects task... should be simple to fix in the CSharpTypeResolver..

No, in the generator itself in the method GetResultType:
https://github.com/NSwag/NSwag/blob/master/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorBase.cs

Ok, your solution is correct... you also need to set the Description property because it cannot be null:
https://github.com/NSwag/NSwag/commit/961c713f393e1607d04c8cd3dca3862d8b22e538

Thanks for the PR

Thanks


Change SUnit menu items in Method Pane popup (3.0.79)

The method pane has some menu items to run Sunit tests, and they are different from the other menu names that perform these operations, and are also very inconsistent between each other.  I'm often confused.
The method browser items are:
Debug Tests
Run All Tests
Run Selected
Equivalents used elsewhere are:
Run All
Run Selected
Debug

[x] Items should be in the same order
[x] if you want to have these includes the word "Test" (reasonable), then use it consistently.
[x] if you want to use the word "Selected", use for both Run and Debug
[x] Parenthesize the plural
[x] Also, there should be a line above the Debug, since "Remove" is not one of the Sunit options.

Either of these options:
Run All Tests
Run Selected Test(s)
Debug Selected Test(s)

Run All Tests
Run Test(s)
Debug Test(s)

Should look like this as of 3.0.82.


Add consistent_comment_rule option for CSS

consistent_comment_rule option is false by default.
This change is not only in javascript, but also in python codes and regressions.
This shall be an option to be used for brackets-beautify project as an extension for Brackets.
https://github.com/leoliu1313/brackets-beautify
https://github.com/drewhamlett/brackets-beautify
http://brackets.io/

Don't know how to get rid of git-status-clear.sh check. Revert all the changes and try again.


How To Use RDLC Reporting in Asp.Net Core 1.0

How can i create RDLC report in asp.net core 1.0 ??

Dup of https://github.com/aspnet/Home/issues/1528.

AspNetCore.Reporting

@amh1979
How do you implement after installing?


pyNastran 1.4.0 update

pyNastran released a new update this week which fixes several long-standing errors with processing dynamic loads

I've pinned this version as the new minimum in the setup.py

TODO: Python 3.8 is no longer supported in pyNastran

Combining into #289


Ability to highlight in feedlist using filter language

Related to #1104
The behaviour of highlight-article does not seem to apply to the feedlist, so for example I cannot highlight a whole feed based on tags using filter language.
Example:
highlight-article "tags # \"important\" and unread_count > 0" red default reverse bold
With that all feeds deemed important would receive a major highlight when any new articles exist.
This has other obvious uses like being able to change the look of all feeds tagged youtube etc...

Makes sense! Although I think it should be a separate setting, because filter expressions for feedlist might not make sense for the article list.

Agree, I was thinking something like highlight-feed


Improve existing error handling

Propagates existing errors from where they are created to the call that triggered them to allow for easy debugging.
Included Nick's test in this issue https://github.com/jacobkaufmann/utp/issues/44 as a test in stream.rs

a good step toward improving error handling! however, I want to make some high-level comments rather than leaving many smaller, more specific comments.
while utp probably leans too heavily on the std::io::Error, a lot of the errors introduced here are quite granular. for example, whether or not a send on some internal channel failed or succeeded should not go to the user. that is an internal implementation detail, and we do not want to have to change the error enum if we change the internals. the user should see that something failed, and a low-level log message could indicate the specific issue.
another such example is an invalid packet from the remote peer. the user does not need a granular/specific error about what aspect of the packet was invalid, but only an error that indicates that the remote peer misbehaved according to the protocol. a log message would indicate the specific aspect of the invalid packet.
we should represent what we can with std::io::Error and be conservative in the new errors that we define (that are exposed to the user), so that those errors are meaningful to the user (e.g. have too many connections) and do not reflect internal implementation details. if other relevant internal failures are not visible, then we can add logs.

I disagree with you, debugging this crate without knowing where in the code the error originates from is much more time consuming. As you can see, mostly the errors I added wrap the io error you chose. In a few places, I think you have chosen the wrong error based on what you wish the program to mean and not what it actually means, for example in the on_timeout function, actually what fails here is a counter that you have implemented and that important piece of information is abstracted away as you chose the io error TimedOut, which matches the function name well but doesn't assist in debugging.

Just leaving my 2 cents here...

the user should see that something failed, and a low-level log message could indicate the specific issue.

vs.

debugging this crate without knowing where in the code the error originates from is much more time consuming.

imo this library is not "production" / still in alpha. that being so, the focus should be in aiding developers not users. improving the debugging process > ux. once the library is production ready, these errors can be revisited to improve the ux. a tracking issue to revisit the errors could be helpful so that we can move forward with these improvements in the meanwhile, even at the temporary expense of ux.

I disagree with you, debugging this crate without knowing where in the code the error originates from is much more time consuming.

I'm not sure which point you disagree with. and I don't understand why you need to define all of these new errors to see where the error occurs in utp. you could achieve the same thing with additional logging/tracing. it would make sense to define new errors if the consumer of the library were to take different actions based on the error variant. for instance, if there are too many existing connections, then the consumer may decide to manually close some idle stream etc. in your example, would knowing that the connection timed out because a counter reached some limit change how you handle the error? if not, and you will only end up logging the error in your application, then the better approach is to emit that information from utp rather than define errors at the granularity of the implementation details.
like I said above, I see that std::io::Error is not expressive enough to represent all of the errors that would be relevant to an application, but we don't need to represent all possible errors at the level of specificity you have here. if the problem you want to solve is more visibility into what's going on, then it would be better to start with adding logging/tracing.

improving the debugging process > ux.

I would reiterate that I think we can achieve your desired improvements to debugging ability in a simpler way. if you are only going to end up logging whatever errors we define here anyway, then we can emit those within the library code. we can introduce new errors where those errors could conceivably influence application behavior.

I disagree with you, debugging this crate without knowing where in the code the error originates from is much more time consuming.

I'm not sure which point you disagree with. and I don't understand why you need to define all of these new errors to see where the error occurs in utp. you could achieve the same thing with additional logging/tracing. it would make sense to define new errors if the consumer of the library were to take different actions based on the error variant. for instance, if there are too many existing connections, then the consumer may decide to manually close some idle stream etc. in your example, would knowing that the connection timed out because a counter reached some limit change how you handle the error? if not, and you will only end up logging the error in your application, then the better approach is to emit that information from utp rather than define errors at the granularity of the implementation details.

Who is this "consumer" you're referencing to @jacobkaufmann? Please back your argument with some facts so I can better understand your firm standpoint, which is against mine and @njgheorghita's standpoint. uTP is a transport protocol, the user of a transport protocol will always be a developer. Additional to that fact, a non-developer user wouldn't be able to make more sense of some io error than any other error, in general only devs use command line tools anyway.

like I said above, I see that std::io::Error is not expressive enough to represent all of the errors that would be relevant to an application, but we don't need to represent all possible errors at the level of specificity you have here. if the problem you want to solve is more visibility into what's going on, then it would be better to start with adding logging/tracing.

Language agnostic practice is such that any place where execution of the program stops, an error should be thrown. Anywhere an error occurs but the code should continue executing, the error is written to a log owned by the program. What are you basing your standpoint on that "we don't need to represent all possible errors at the level of specificity you have here"?

improving the debugging process > ux.

I would reiterate that I think we can achieve your desired improvements to debugging ability in a simpler way. if you are only going to end up logging whatever errors we define here anyway, then we can emit those within the library code. we can introduce new errors where those errors could conceivably influence application behavior.

Why is it up to the application using uTP to handle uTPs errors in a way that is meaningful to the consumer=developer?
A reminder that it is very seldom you propagate io::Errors from the underlying libraries which in turn are propagating these errors from interactions with software outside of this program (io operations). Actually in most places you are choosing which io::Error to emit where yourself, also on operations a developer doesn't associate with io operations, which to me is malpractice which, naturally, is confusing. I understand it as you wanting to make the ux seamless with the os here like udp or tcp, but at the end of the day uTP is a user space transport protocol not a kernel space transport protocol, so there errors are expected to be user space errors.

when I say "user" or "consumer" I mean developer i.e. a user/consumer of the library. sorry for the confusion.
but I want to refocus the discussion here. I want to reiterate that I see that std::io::Error is not expressive enough, and I'm not opposed to defining a new error enum. now correct me if I'm wrong, but the goal of the changes are to improve visibility of internal failures for debugging purposes. assuming that is true, then it would be simpler to add logging/tracing to emit the specific errors within utp. if you want to be able to debug utp, then we can emit the specific logs at the source as opposed to leaking all internal implementation details only to be logged in the application layer. I want to reiterate again that this stance does not imply that we cannot (here or elsewhere) introduce a new error type.

When the program panics, what does it matter how verbose the error is that is thrown? The program execution stops, I think that is what bothers the developer most. I would even say that enabling log for level 'error' shouldn't show these errors that make the program panic, they should only show the errors that don't make the program panic.
I am debugging the program now, and I don't think theio::Errors you have manually chosen to emit are helpful.

I agree with jacob. The errors this library returns are meant for the user expecting the library to be bug free.
As demostrated by me finding the overflow bug in #60 in the expainer I show how you can get a Timeout or NotConnected error, but the underlying bug is the same. Error handlying won't help us fix a buggy library debug statements and breakpoints will.


Problem with 24-hours format in Timepicker

Hi. I have problem with JFXTimePicker. I wanted set in it 24-hour's format, but when I applied
timepicker.setIs24HourView(true);
was changed only clock, but value in textfield as before is in 12-hour's format. Effect I introduce below

Thank you in advance for help :-)

Hello,
you can change the format by changing the converter property of JFXTimePicker.
Regards,

Hi. I'm trying to do the same. But this property is not available in my Scene Builder.  Does it exist a tag-parameter in  that allows to use 24 hours date format?

Seems cumbersome to also having to set a new StringFormat after setIs24HourView is set. Not very intuitive solution. Why not just have JFXTimePicker to ommit the AM/PM in its StringFormat if the is24HourView is set true.


Is it possible in php?

Thank you for the project. I came across this project while researching, as Squad switched to the EOS protocol. I didn't have the opportunity to test it since it's in Python, but is there a possibility of you writing this project in PHP? Despite creating and adding my client ID, client secret, and deployment keys via Epic Dev, I couldn't get it to run; it seemed quite complex.

Thank you for being so interested, this is a good idea for the organization's future.

Check this: https://github.com/opengsq/opengsq-php


Should we implement the ability to change home location?

Edit: Check out the new change location branch.
We add a href to nav bar. On click it prompts the user if they want to change location and if yes, changes cookie and home marker. i already tried it out and it works. I was wondering if we should include it in our implementation.
we just need to add this to script section before our places api implementation:
window.onload = function(){
	document.getElementById("getLocation").onclick = function() {
		if (navigator.geolocation) {
			if (confirm("Do you want to change to current location?")) {
				navigator.geolocation.getCurrentPosition(showPosition);
			}
		}
		else {
			alert("Geolocation is not supported by this browser.");
		}
		return false;
	}
	function showPosition(position) {
		var currLocation = position.coords.latitude + ", " + position.coords.longitude;
		var d = new Date();
		d.setTime(d.getTime() + (7*24*60*60*1000));
		var expires = "expires="+ d.toUTCString();
		document.cookie = "latLongCookie=" + currLocation + ";" + expires + ";path=/";
		location.reload(true);
	}
}

and this href to our nav bar

Change Location

I created a separate branch from master just in case it doesn't work. what do y'all think?

It sounds like a good thing, won't we need to change the search bounds to be around their location or would we just leave it centered at PKI?

actually it is, since we set the center value from cookie value. It also works i just spoofed it to different locations mumbai, tokyo etc.

If it all works I don’t see any reason not to push it to main then. I can do some more testing too to make sure it works.

alright done, you should be able to change your location if device has gps, Click ok on prompt and allow your device to access location.
we should change the marker name though, it's still set to PKI.

Something broke, I tried changing my location and the map doesn’t load and it does not return any results for any category.

oh damn can you check the console?

It seems to be working okay on my computer, there is something about my phone that causes it to break.

huh alright, we can't check console on your phone  i suppose. wait i'll push something so that we can log the exception on html content itself.

try now


Need a binding redirect in MSBuild.exe.config for System.IO.Compression.dll to <IP_ADDRESS>

We're seeing inline tasks (compiled with Code Task Factory) that use System.IO.Compression crash with weird exceptions because both <IP_ADDRESS> and <IP_ADDRESS> versions of System.IO.Compression.dll are loaded into the same MSBuild process.
We added <IP_ADDRESS> for the binary logger, but for some reason the code task factories will pick up the <IP_ADDRESS> from the GAC. Example:
https://github.com/mono/monodevelop/blob/master/main/msbuild/DownloadFile.targets#L10

What's the exception? I wouldn't expect types to collide from our internal use vs task internals.

C:\monodevelop\main\msbuild\DownloadFile.targets(16,5): error MSB4018: The "MDDownloadFiles" task failed unexpectedly.
This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER.
System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
   at System.Collections.Generic.List`1.Add(T item)
   at System.IO.Compression.ZipArchive.AddEntry(ZipArchiveEntry entry)
   at System.IO.Compression.ZipArchive.ReadCentralDirectory()
   at System.IO.Compression.ZipArchive.get_Entries()
   at MDBuildTasks.MDDownloadFiles.UnpackIfChanged(String srcFile, String destDir) in c:\Users\kirillo\AppData\Local\Temp\1oqejkwk.0.cs:line 126
   at MDBuildTasks.MDDownloadFiles.DownloadFile(String cacheDir, String url, String sha1, String outputDir, String outputName, Boolean unpack) in c:\Users\kirillo\AppData\Local\Temp\1oqejkwk.0.cs:line 85
   at MDBuildTasks.MDDownloadFiles.Execute() in c:\Users\kirillo\AppData\Local\Temp\1oqejkwk.0.cs:line 51
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() in C:\MSBuild\src\Build\BackEnd\TaskExecutionHost\TaskExecutionHost.cs:line 631
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() in C:\MSBuild\src\Build\BackEnd\Components\RequestBuilder\TaskBuilder.cs:line 787 [C:\monodevelop\main\src\addins\MonoDevelop.AzureFunctions\MonoDevelop.AzureFunctions.csproj]

Fixed by #2235.


Fix a crash on engraving a double-stemmed beam with a chord and multiple notes

This PR fixes a crash which occurs with this score for Beethoven's Moonlight Sonata. The part which produces this crash can be reduced down to this example score (lomse_beaming_crash2.musicxml.txt):

In this score there is a beam which connects both chords and single notes and which is set up so that stem directions are different. The same beam with no chords does not produce a crash.
Stem directions for beams with chords are computed before engraving the beam by a special BeamedChordHelper, and the beam engraver does not compute stem directions by itself in this case. However when setting the m_fDoubleStemmed flag directions are taken from the beam while later notes with different stem directions are split by querying their orientation from note shape objects. Note engraver didn't set up orientation for such notes properly so stem orientation data from the notes and from the beam were getting out of sync. Therefore one of the lists got empty which later produced a crash.
This patch makes the note engraver take into account stem directions computed by the BeamedChordHelper to ensure that note shape orientation is in sync with the beam's stem directions data. This seems to be the safest approach as note shape orientation is used in multiple places in the beam engraver.
Also this patch fixes the issue with BeamedChordHelper adding duplicated items to the beam directions list, this is also needed to ensure that stem directions data are in sync.

Thank you by this PR! Regression test passed .


Weird behavior with nixos-22.05

Using  nixos-22.05.1043.5afb1b7dcf4 with the latest mach-nix 3.5.0, this kind of snippet (that worked before with 21.11):
  artifactory-du = mach-nix.buildPythonPackage {
    src = mach-nix.fetchPypiSdist "artifactory-du" "1.0.5";
    requirementsExtra = "setuptools-rust";
  };

is now asking for a pname, a version and wants me to replace requirementsExtra with requirements.
I am pretty sure (not 100%) it will work with  mach-nix 3.5.0 and nixos-21.11 so something in a more recent version of nixpkgs seems to interfere badly.
Any idea ?
Cheers

This looks like issue https://github.com/DavHau/mach-nix/issues/467. There's a fix here that hopefully lands soon: https://github.com/DavHau/mach-nix/pull/474.
(I think this can be closed as a duplicate.)

Using 51caf58 (with the fix) it doesn't seem to solve the issue

Can you make a self contained repro?

@bjornfor here is a self-contained repro:
shell.nix
let
  overlay = (
    self: super:
    let
      mach-nix = import (super.fetchFromGitHub {
          owner = "DavHau";
          repo = "mach-nix";
          rev = "51caf584f26acdfaa51bbf7ee1ffa365aea7bc64";
          sha256 = "sha256-qSjk1iOi14ijAOP6QuGfE3fvy08aVxsgus+ArwgiyuU=";
      }) { };
    in
    {
      artifactory-du = mach-nix.buildPythonPackage {
        src = mach-nix.fetchPypiSdist "artifactory-du" "1.0.5";
        requirementsExtra = "setuptools-rust";
    };
    }
  );
  pkgs = import
    (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/5afb1b7dcf4.tar.gz")
    { overlays = [ overlay ]; };
in
pkgs.mkShell {
  buildInputs = with pkgs;[
    artifactory-du
  ];
}

$ nix-shell shell.nix
error: Automatic extraction of 'pname' from python package source /nix/store/x173ipldnzpb5bpxpxv8s9g4jlhhfvsj-artifactory-du-1.0.5.tar.gz failed.
       Please manually specify 'pname'

If I specify the pname I will get an error about version and if I give it, I will have the error  Please manually specify 'requirements'


Updated deprecated mockVoidMethod & mockNonVoidMethod

#11

Ah ok sorry about that, thanks for sorting this, one of these days I'll setup CI on this repo. 👍


Microsoft.PowerPlatform.Dataverse.Client.ServiceClient Throttling

I was unable to find any information on throttling for the Microsoft.PowerPlatform.Dataverse.Client.ServiceClient if any is applicable. Any pointers would be appreciated.

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

ID: 0a6c11a1-c9f6-a904-f49a-0fedbe9f511f
Version Independent ID: 7db20846-7922-23d4-f261-4c54e61b6913
Content: Service protection API limits (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/api-limits.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @JimDaly
Microsoft Alias: jdaly

Microsoft.PowerPlatform.Dataverse.Client.ServiceClient is an alpha release.
See the Github project for support and information: https://github.com/microsoft/PowerPlatform-DataverseServiceClient

But I understand it will work just the same as the CrmServiceClient mentioned in this topic.


Avoid Tower in notifications for embedded ansible

ManageIQ should not indicate that anything "Tower" exists when dealing with Embedded Ansible.  This should change the logs and notifications to use a more "embedded ansibly" term when talking about embedded ansibly things.
Before:
"The operation Ansible Tower Credential creation (name=...) on Tower
               ^^^^^^^^^^^^^
(manager_id=...) completed successfully."

After:
"The operation Ansible Automation Inside Credential creation (name=...)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
on EMS(manager_id=1) completed successfully."

https://bugzilla.redhat.com/show_bug.cgi?id=1458593
see also:  https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/10

Fine backport details:
 $ git log -1
commit 864f8b325e2321f2f0fd9c29de189d5049c5c3f8
Author: Adam Grare<EMAIL_ADDRESS>Date:   Thu Jun 29 15:35:30 2017 -0400

    Merge pull request #15478 from blomquisg/tower_not_tower

    Avoid Tower in notifications for embedded ansible
    (cherry picked from commit 2b6dd956c78620a609247ddfe7cfb13ee1108e35)

    https://bugzilla.redhat.com/show_bug.cgi?id=1478429


error: ‘masternodeSync’ was not declared in this scope

Linux ubuntu 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
./configure --disable-wallet
make
CXX      rpc/libbitcoin_server_a-mining.o
rpc/mining.cpp: In function ‘UniValue getblocktemplate(const UniValue&, bool)’:
rpc/mining.cpp:501:10: error: ‘masternodeSync’ was not declared in this scope
if (!masternodeSync.IsSynced())
^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
Makefile:5993: recipe for target 'rpc/libbitcoin_server_a-mining.o' failed

same probmlem

same problem

Should be fixed by #1733.


[iOS] Fixed unexpected delay prior to display OS call-to-number confirmation

Hi @rohfosho, please review and consider this PR to solve https://github.com/rohfosho/CordovaCallNumberPlugin/issues/75. Many thanks.

Thanks for your approval. Hopefully, my contribution can help others to get hassle free while using the plugin.


[nasa-ghg] Set custom homepage for production and staging

After successfully testing custom homepage templates on staging (https://github.com/2i2c-org/infrastructure/pull/3065), we now want to do the same for production, please.
Ready for review/merging.

Thanks @j08lue!


Deployment of Legend leads to SDLC always saying "Unauthorized"

Juju deployment of Legend leads to SDLC always saying "Unauthorized"
I'm currently working on deploying Legend on K8s using Juju operators.
Our aim from the start was to provide as close to a 1:1 replica of the "official" deployment steps outlined here.
Symptom:
Upon deployment and logging into Studio for the first time for the initial setup, after being redirected to GitLab and then back to Studio, the Studio simply throws an alert which says "Unauthorized".
The error is from the SDLC and the following log line is present when the request comes in:
2021-09-29T20:31:02.843Z [sdlc] <IP_ADDRESS> - - [29/Sep/2021:20:31:02 +0000] "GET /api/currentUser HTTP/1.1" 401 90 "http://<IP_ADDRESS>:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0" 15
Please find the full logs attached as file
legend-juju-unauthorized-sdlc.log
Configuration:

we use the images from the 2021-08-17 image releases found here
all the three services (plus Mongo) are running in dedicated K8s pods with network access between each-other
the GitLab was deployed directly using the docker-compose templates here](https://github.com/finos/legend/tree/master/installers/docker-compose/legend).
I can assure you this is NOT a certificate/GitLab app issue (we properly set those up exactly like the docker-compose setup does)

SDLC:
applicationName: Legend SDLC
filterPriorities:
  CORS: 4
  GitLab: 1
  org.pac4j.j2e.filter.CallbackFilter: 2
  org.pac4j.j2e.filter.SecurityFilter: 3
gitLab:
  newProjectVisibility: public
  projectTag: legend
  uat:
    app:
      id: 9d1572c0ac20307c8b0ac3ce0a67c0f2c9df53bd3f33a9602d63c07114006e9a
      redirectURI: http://<IP_ADDRESS>:7070/api/auth/callback
      secret: f2f0dd435cbda90990c1cba48ab02d43a68dfeec5ff3801ad3309cbde8664543
    server:
      host: <IP_ADDRESS>:6443
      scheme: https
logging:
  appenders:
  - logFormat: '%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%thread] %c - %m%n'
    type: console
  level: INFO
pac4j:
  bypassPaths:
  - /api/info
  callbackPrefix: /api/pac4j/login
  clients:
  - org.finos.legend.server.pac4j.gitlab.GitlabClient:
      clientId: 9d1572c0ac20307c8b0ac3ce0a67c0f2c9df53bd3f33a9602d63c07114006e9a
      discoveryUri: https://<IP_ADDRESS>:6443/.well-known/openid-configuration
      name: gitlab
      scope: openid profile api
      secret: f2f0dd435cbda90990c1cba48ab02d43a68dfeec5ff3801ad3309cbde8664543
  mongoDb: db-1-0ccd9976-2709-448e-9c1e-75479be4faa7
  mongoSession:
    collection: userSessions
    enabled: true
  mongoUri: mongodb://user-1:fu38x40OleropK2L@mongodb-k8s-0.mongodb-k8s-endpoints:27017
projectStructure:
  extensionProvider:
    org.finos.legend.sdlc.server.gitlab.finos.FinosGitlabProjectStructureExtensionProvider: {}
  projectCreation:
    groupIdPattern: ^org\.finos\.legend\..+
server:
  adminConnectors:
  - port: 7076
    type: http
  applicationConnectors:
  - maxRequestHeaderSize: 128KiB
    port: 7070
    type: http
  gzip:
    includedMethods:
    - GET
    - POST
  requestLog:
    appenders:
    - logFormat: 'OFF'
      type: console
    level: 'OFF'
    type: classic
  rootPath: /api
swagger:
  resourcePackage: org.finos.legend.sdlc.server.resources
  schemes: []
  title: Legend SDLC
  version: local-snapshot

Engine:
{
    "deployment": {
        "mode": "TEST_IGNORE_FUNCTION_MATCH"
    },
    "logging": {
        "level": "INFO",
        "loggers": {
            "root": {
                "level": "INFO"
            },
            "org.pac4j": {
                "level": "DEBUG"
            }
        },
        "appenders": [
            {
                "type": "console",
                "logFormat": "%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%thread] %c - %m%n"
            }
        ]
    },
    "pac4j": {
        "callbackPrefix": "",
        "mongoUri": "mongodb://user-1:fu38x40OleropK2L@mongodb-k8s-0.mongodb-k8s-endpoints:27017",
        "mongoDb": "db-1-0ccd9976-2709-448e-9c1e-75479be4faa7",
        "bypassPaths": [
            "/api/server/v1/info"
        ],
        "clients": [
            {
                "org.finos.legend.server.pac4j.gitlab.GitlabClient": {
                    "name": "gitlab",
                    "clientId": "9d1572c0ac20307c8b0ac3ce0a67c0f2c9df53bd3f33a9602d63c07114006e9a",
                    "secret": "f2f0dd435cbda90990c1cba48ab02d43a68dfeec5ff3801ad3309cbde8664543",
                    "discoveryUri": "https://<IP_ADDRESS>:6443/.well-known/openid-configuration",
                    "scope": "openid profile api"
                }
            }
        ],
        "mongoSession": {
            "enabled": true,
            "collection": "userSessions"
        }
    },
    "opentracing": {
        "elastic": "",
        "zipkin": "",
        "uri": "",
        "authenticator": {
            "principal": "",
            "keytab": ""
        }
    },
    "swagger": {
        "title": "Legend Engine",
        "resourcePackage": "org.finos.legend",
        "uriPrefix": "/api"
    },
    "server": {
        "type": "simple",
        "applicationContextPath": "/",
        "adminContextPath": "/admin",
        "requestLog": {
            "appenders": []
        },
        "connector": {
            "maxRequestHeaderSize": "32KiB",
            "type": "http",
            "port": 6060
        }
    },
    "metadataserver": {
        "pure": {
            "host": "<IP_ADDRESS>",
            "port": 8090
        }
    },
    "vaults": []
}

Studio HTTP config:
{
    "uiPath": "/studio",
    "html5Router": true,
    "server": {
        "type": "simple",
        "applicationContextPath": "/",
        "adminContextPath": "/studio/admin",
        "connector": {
            "type": "http",
            "port": 8080
        }
    },
    "logging": {
        "level": "INFO",
        "loggers": {
            "root": {
                "level": "INFO"
            },
            "org.pac4j": {
                "level": "DEBUG"
            }
        },
        "appenders": [
            {
                "type": "console"
            }
        ]
    },
    "pac4j": {
        "callbackPrefix": "/studio/log.in",
        "bypassPaths": [
            "/studio/admin/healthcheck"
        ],
        "mongoUri": "mongodb://user-1:fu38x40OleropK2L@mongodb-k8s-0.mongodb-k8s-endpoints:27017",
        "mongoDb": "db-1-0ccd9976-2709-448e-9c1e-75479be4faa7",
        "clients": [
            {
                "org.finos.legend.server.pac4j.gitlab.GitlabClient": {
                    "name": "gitlab",
                    "clientId": "9d1572c0ac20307c8b0ac3ce0a67c0f2c9df53bd3f33a9602d63c07114006e9a",
                    "secret": "f2f0dd435cbda90990c1cba48ab02d43a68dfeec5ff3801ad3309cbde8664543",
                    "discoveryUri": "https://<IP_ADDRESS>:6443/.well-known/openid-configuration",
                    "scope": "openid profile api"
                }
            }
        ],
        "mongoSession": {
            "enabled": true,
            "collection": "userSessions"
        }
    },
    "routerExemptPaths": [
        "/editor.worker.js",
        "/json.worker.js",
        "/editor.worker.js.map",
        "/json.worker.js.map",
        "/version.json",
        "/config.json",
        "/favicon.ico",
        "/static"
    ],
    "localAssetPaths": {
        "/studio/config.json": "/ui-config.json"
    }
}

Studio UI config:
{
    "appName": "studio",
    "env": "test",
    "sdlc": {
        "url": "http://<IP_ADDRESS>:7070/api"
    },
    "metadata": {
        "url": "__LEGEND_DEPOT_URL__/api"
    },
    "engine": {
        "url": "http://<IP_ADDRESS>:6060/api"
    },
    "documentation": {
        "url": "https://legend.finos.org"
    },
    "options": {
        "core": {
            "TEMPORARY__disableServiceRegistration": true
        }
    }
}

After some more through internal testing, I can confirm that the issue is reproducible with the official docker-compose setup when using the 2021-08-17 release of the Legend components as described here.

@maoo @epsstan any insights would be much appreciated.

Hi @maoo & @aznashwan - checking in if this issue is still relevant or if you were able to look into this already?

Hello @beekemarie, I am not currently sure whether the issue has persisted to the current Legend container releases or not, but my colleague @claudiubelu should be able to confirm if they have soon.

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


How to add HTTP Headers with the url.

I have to play video from a URL, and i need to send some http request headers along with it. Could not find anything related to it.
How would we go about doing it?

Hello,
Maybe is too late to the answer but, you can try with:
let headers: [String: String] = [     "custome_header": "custome value"  ]  let asset = AVURLAsset(url: VIDEO_URL, options: ["AVURLAssetHTTPHeaderFieldsKey": headers])  YOUR_PLAYER.asset = asset


Add email to User class

We need to get email of a user so we can retrieve information
from our existing service, e.g. JIRA service ..., LDAP Service..
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements (place an x in each [ ])

[x ] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

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

This is taken care of by #173


[BUG] lock_xchg insn fail in the bpf_conformance test

Describe the bug
Test "./bpf_conformance/tests/lock_xchg.data" failed: Plugin returned incorrect return value<PHONE_NUMBER>247303441 expected 0
Test "./bpf_conformance/tests/lock_xchg32.data" failed: Plugin returned incorrect return value 286331153 expected 0

llvm-jit is able to pass these tests in previous version

That's interesting...maybe they change the testcases


LOG

PR for this : https://github.com/NethermindEth/nethermind/pull/7290

PR is merged. Is this done @SiddharthV1 @Demuirgos ?

PR is merged. Is this done @SiddharthV1 @Demuirgos ?

I merged it

PR is merged. Is this done @SiddharthV1 @Demuirgos ?

yes done


mypy error about incompatible definition of Config with multiple inheritance

             pydantic version: 1.8.1
            pydantic compiled: True
                 install path: /home/brian/repos/medigator/venv/lib/python3.6/site-packages/pydantic
               python version: 3.6.9 (default, Jan 26 2021, 15:33:00)  [GCC 8.4.0]
                     platform: Linux-4.15.0-140-generic-x86_64-with-Ubuntu-18.04-bionic
     optional deps. installed: ['email-validator', 'typing-extensions']

mypy 0.790

Given this file:
from pydantic import BaseModel

class Foo(BaseModel):
    foo: int

    class Config:
        extra = "forbid"

class Bar(BaseModel):
    bar: int

    class Config:
        extra = "forbid"

class Both(Foo, Bar):
    pass

Mypy gives an error:
Definition of "Config" in base class "Foo" is incompatible with definition in base class "Bar"
Found 1 error in 1 file (checked 1 source file)

Is there any way to suppress this error using the pydantic mypy plugin?

There is no way to suppress this error with the plugin; in v1 I would sadly recommend using # type: ignore to deal with this.
However, in V2, this issue has been resolved this by making the config into a dict, and is specified via model_config = ConfigDict(...), rather than by creating a class in the namespace of the BaseModel subclass.


Removed email signup

we aren't sure we want to do this yet, but it was discussed today so I wanted to queue it up.


Add ESP32-S3-Box-3 support

And fix another CVE in GitPython while at it.

Hmm something is not right. Don't merge yet!


skewed button

The button seems to be upside down.
and could you tell me how to get border without padding?
thank you.

@hungdev Thanks for this issue. Try the new 1.1.8 version.


Animation Retargeting Woes

What problem does this solve or what need does it fill?
Animation retargeting is useful for sharing animation clips among various models.  Otherwise each model may hold duplicate animations, e.g. a walk cycle for every character in a game is pretty redundant and takes up extra space if it could be shared among all of them.  In my case I am constructing the mesh and skeleton in code, so I cannot import the model with animations.  Retargeting is the only way to get them animated.
What solution would you like?
I'm having a couple problems trying to get animation retargeting working.    Please see pictures for reference.

The animation clips appear to have position tracks even after I removed them all in blender.  I believe this is the reason the baby model for example is stretched out to the same height  as all the others.  Or maybe it's just putting all the bones into the animation clip's rest pose rather than the scene model's rest pose before rotating them?  I don't know.  The joint gizmos look correct when not animated.  It would be nice to be able to have a clip which only has rotation tracks and it would just work with all of my humanoid models.  In Godot, there is also a property on their skeleton3d node for adjusting position tracks called motion_scale, which scales the position deltas to help with position track issues during retargeting.

Bone twist angles seem all wrong.  I don't know how godot handles this but I know it was not an issue there.  This may also be due to the difference in rest pose between the procedurally constructed skeleton and the animation file glb skeleton.

Since joints have to be assigned UUIDs to match up with the animation clip curves from the file, this limits your ability to share animations from multiple files unless all of them use the same skeleton with the same paths, and therefore the same UUIDs.  I think we need an intermediary abstract, generic humanoid skeleton to remap imported clips onto, which we can then map our other models onto also.  More control over the animation clip import process would be useful.

What alternative(s) have you considered?
None
Additional context
Unanimated:  https://i.imghippo.com/files/LsTT21727931519.png
Animatied: https://i.imghippo.com/files/VZ09i1727931405.png
Working on bringing makehuman character creator into bevy

#I personally have animation retargeting working great in Bevy.
Hmm.  I'm curious what your rig looks like and if it very simple.  Do you have any idea why I'm seeing these artifacts that I'm seeing?  Or how I can resolve them?
#I'm skeptical of this because it leads to Mecanim (Unity Humanoid) which is not well-loved. I don't see much of a point of having Bevy choose one set of bone names as the "blessed" one when each project can just as well choose one for themselves.
Mecanim is pretty terrible. I agree.  Godot and Unreal both have much better retargeting tools.  I used godot's humanoid default skeleton without any of the issues I had in Mecanim.  We need at least some way to map joints during animation clip import.  There doesn't have to be a "blessed" set of bones.  The user can define whatever they need.

I had problems until I made the rig exactly match the Mixamo one, including things like bone roll (which Mixamo rigs unfortunately use). I agree that it's easy to get wrong. I feel like it may be easiest to experiment out of tree with animation "fixup" crates -- I'm not sure what Godot and Unreal do here.

There need to be transformations done on the curves to align the rotation values with a new coordinate system.  Positions should store deltas, not absolute position.

I agree that it's easy to get wrong.

It's not "wrong" to have different rigs.  I am constructing them in code, so it's just not feasible to map everything exactly as mixamo does.  But being abe

I didn't mean to close the issue.  That's annoying.


Make use of Chrome DevTools Protocol to get cookie issues.

Feature Request
Description:
Currently, if a cookie is blocked or removed from being set by the browser we don't get the exact reason. Using CDP we will get the cookie blocked reason.
Motivation:
The user using this extension will know why a particular cookie was blocked by the browser.
Acceptance Criteria:

[x] Show blocked cookie reason in cookie details section.
[x] Collecting the cookies that were blocked by the browser with the help of CDP

Released as a part of v0.4.0, closing this issue.


Fix issue #84

Handle any gvfs mount as file system path.

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


Fix validation when templating is used on Tasks

This make the validation not fail when using templating when creating a Service. It populates the context with fake data and validate that the result is valid 🐯.
# before
λ ./bin/swarmctl service create --name test --hostname "{{.Service.Name}}-{{.Task.Slot}}" --image busybox --command top
Error: ContainerSpec: {{.Service.Name}}-{{.Task.Slot}} is not valid hostname
# after
λ ./bin/swarmctl service create --name test --hostname "{{.Service.Name}}-{{.Task.Slot}}" --image busybox --command top
hksc6qwxw82mgysel09wfq1w4

This is kinda required for docker/docker#28025 👼
/cc @stevvooe @aaronlehmann @aluzzardi
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

SGTM

Current coverage is 55.31% (diff: 100%)

Merging #1738 into master will increase coverage by 0.15%

@@             master      #1738   diff @@
==========================================
  Files            97         97
  Lines         15481      15498    +17
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           8539       8573    +34
+ Misses         5808       5791    -17
  Partials       1134       1134

Powered by Codecov. Last update 1a51ba2...486f113

LGTM

SGTM

LGTM

Can someone please give a hint where i can find a list of available keys available in templating?
First guess was service inspect, but wanna have confirmation.
Thanks in advance!

@yellowmegaman see https://github.com/docker/docker/pull/28486 for documentation

@thaJeztah Thank you!


Create a tool to indicate where two licenses does not match

The tool would use the matching guidelines and compare license text from 2 licenses.  It would return specifics on which parts of the license do not match (e.g. line, character)

This has been added to the license matching tools some time ago