Add events committee to main branch

Resolves #842
As part of issue #777
Check list

[ ] None of the deployed components to the events-committee.near account change.
[ ] Github Action that runs the CI for both devhub and events comitee repository.
[ ] Docs are updated

In the next phase of issue #777 we can unify proposal tests in 1 file. By editing the playwright config projects testMatch cases like this: /(proposal|events)\/.*.spec.js/,. I've skipped it in this PR to closer resamble @Megha-Dev-19 her changes in issue #843.
This PR

Adds the code from the events-committee branch into the main branch.
Edits proposals.spec for future merging of all proposal tests into a single file instead of 3 seperate once.

I found that the events-commitee is not up-to-date with the main portal so I removed those tests from the proposals. We should make those changes in another PR. (Once this one is merged to chop it in up in smaller bits)
Future PR

has to add the clean URL that @petersalomonsen added
relevant mentions that I've added
sync @Megha-Dev-19 her KYC updates

So as we discussed in the call, we will need:

A separate copy of the CI workflow targeting the events committee instance ( running the tests that are relevant )
A deployment action that does diff ( dry-run ) when not on the main branch

@race-of-sloths please, include my PR in the race!

@Tguntenaar Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
New Sloth joined the Race! Welcome!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

🔄 The PR has been merged.

[!IMPORTANT]
This pull request is a part of the Race of Sloths and has not been scored yet. Scoring will close in 24 hours! 🕰

✅ PR is finalized!
Your contribution is much appreciated with a final score of 0!
You have received 10 (0 base + 10 weekly bonus) Sloth points for this contribution
Another weekly streak completed, well done @Tguntenaar! To keep your weekly streak and get another bonus make pull request next week! Looking forward to see you in race-of-sloths


[242] Allow hiding profiles from entire trusts

 Update Hide from profile process with "Delete trust" text


Document Hardware Technology Decisions

Description
Write a technical report outlining chosen hardware technologies and justifications for their selection, including pros and cons.
Additional Context
No response
Expected Actions

[ ] Draft technology decision document
[ ] Review and finalize documentation

Definition Of Done

[ ] Code implemented
[ ] Tests implemented and passing
[ ] Documentation implemented
[ ] GitHub Actions are passing

https://app.warp.dev/team/qLpErn4Xx6ZpoDXMVTSJJ2

I'm currently thinking about our approach regarding documenting everything as good as we can. Currently, i'm doing some what of a duplicate documentation:

I document inside the docs folder for the MkDocs documentation
And I document everything inside the README.md files that are associated to each sub-directory to describe the purpose of a module or anything else and how it can be used (describe which commands to use or how to get it up and running)

Maybe, so that we don't just spend all our time on documentation, we should get rid of the MkDocs documentation approach and leave it all in our README.md files. That would safe a lot of time and we could focus on more feature implementation and planning/creating graphs etc, that can still be documented.


scientific linux 6.2 spyder ipython socket error

From<EMAIL_ADDRESS>on 2012-06-12T13:16:06Z
Spyder Version:  2.1.10
Python Version:  2.6.6
Qt Version:      4.8.0, PyQt4 (API v2) 4.9.1 on Linux
multicore cpu
What steps will reproduce the problem?

starting spyder with a ipython console What is the expected output? What do you see instead? After starting spyder,Iget the following error in the internal console.
I can't reproduce the error on a other maschine

After starting spyder I get the following error:
Start of MainWindow constructor
Initializing...
End of MainWindow constructor
*** Start of MainWindow setup ***
Loading object inspector...
Loading outline explorer...
Loading editor...
Loading file explorer...
Loading history plugin...
Loading online help...
Loading project explorer...
Loading external console...
Loading namespace browser...
Setting up main window...
Setting up window...
*** End of MainWindow setup ***
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/site-packages/spyderlib/widgets/externalshell/introspection.py", line 62, in run
conn, _addr = sock.accept()
File "/usr/lib64/python2.6/socket.py", line 197, in accept
sock, addr = self._sock.accept()
error: [Errno 4] Unterbrechung während des Betriebssystemaufrufs
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/site-packages/spyderlib/widgets/externalshell/introspection.py", line 62, in run
conn, _addr = sock.accept()
File "/usr/lib64/python2.6/socket.py", line 197, in accept
sock, addr = self._sock.accept()
error: [Errno 4] Unterbrechung während des Betriebssystemaufrufs
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1091

From ccordoba12 on 2012-07-04T07:47:18Z
Maybe this is a problem with SELinux. Could you deactivate it and try again?
Labels: OpSys-Linux

From<EMAIL_ADDRESS>on 2012-07-30T06:02:31Z
"Interruption during the operating system call" (thanks, google.)

From pierre.raybaut on 2012-07-28T06:23:53Z
Also translating the OS error message in english could help a little bit :)

From<EMAIL_ADDRESS>on 2012-08-27T02:30:06Z
I've got the exact same problem and I don't have SELinux enabled. Any idea how I can help debug that further ?

From contrebasse on 2012-12-02T04:24:32Z
Same problem here with:
Spyder Version:  2.2.0dev
Python Version:  2.7.3
Qt Version:      4.8.3, PyQt4 (API v2) 4.9.5 on Linux
I get at each start in the console:
Python 2.7.3 (default, Apr 24 2012, 00:00:54)
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
Inspect Spyder internals: spy.app, spy.window
>>> Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/spyderlib/widgets/externalshell/introspection.py", line 62, in run
conn, _addr = sock.accept()
File "/usr/lib/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 4] Appel systÃ¨me interrompu
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/spyderlib/widgets/externalshell/introspection.py", line 62, in run
conn, _addr = sock.accept()
File "/usr/lib/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 4] Appel systÃ¨me interrompu
"Appel systÃ¨me interrompu" means "System call interrupted" (with wrong encoding ;) )
Spyder works fine afterwards.

From ccordoba12 on 2012-12-06T21:44:43Z
I installed Scientific Linux 6.2 on a virtual machine but I can't reproduce this problem.
However, I see you have installed the latest Python, Qt and PyQt versions whereas mines are:
Python 2.6.6 (compiled with gcc 4.4.6)
Qt 4.6.2
PyQt 4.6.2
What repository should I add to get the versions you have?

From ccordoba12 on 2015-01-02T18:17:00Z
Closing because of lack of response.
Status: WontFix


Another potential improvement

Allowance to enter a level at which you would like to prestige. E.g. entering 76 allows you to prestige 10 times until you reach 99. Furthermore, There could be another symbol added in the skills tab that shows which prestige you are at. e.g. 94/16/3 (actual level/fake level/prestige). With the other potential idea written in the other issue  it could become 16/16/3.

I'm not sure if I'll get around to this one in part due to a recent change in https://github.com/runelite/plugin-hub/pull/4590. With this you should be able to configure your xp factor, so you can increase it from 2 to 4 and further.


Improve (really) large libraries handling

Museeks is fine with small and medium libraries. However, there is always a OMGUbuntu! guy to come and say "I have a 6TB library, how would Museeks perform with it?".

Check any slowdown/bottlenecks:

During the scan
UI responsiveness in general

Improve/fix what can be improved/fix

Things found so far:
UI/UX

[x] Better visual indicator when refreshing the library

On really large libraries (let's say 100K files), you will not see a lot of progress in the footer. Maybe we could add a spinner, an animated progress bar or the count of scanned files.

[ ] Libraries information/stats

In the settings view, Library tag, we could add more information about the library: the number of files, the total size of it...

Scan

[x] Check how we could boost up things even more

Other id3 libraries (#371), improve the "get duration" operation...

[x] Add tracks to the libraries during Library scan

Reports were made of some frustration with big libraries being scanned and no possibility to start playing music right away. Because it could be a costly render/thing, maybe add a bulk of 100/1000 tracks at a time.

UI navigation performances

[x] Improve scroll in TracksList https://github.com/KeitIG/museeks/blob/master/src/ui/components/Shared/TracksList.react.js#L162

Scroll in Trackslist is CPU consuming to keep some basic operations like track selection fast and in O(1). It forces us to split tracks into chunks and to render them. Maybe we could improve things a bit more here, by tracking what is being re-rendered and what is not.

[x] Library’s mapStateToProps https://github.com/KeitIG/museeks/blob/master/src/ui/components/Library/Library.react.js#L104

So we moved the search/sorting logic here because it is simpler to handle that way. There are inconsistencies with how other tracks list are used in the store (playlist are already sorted for example). At every Library.react re-render, these "costly" operations are made. Maybe by re-moving things to actions we can solve both perfs and KISS problems.

[ ] [OPEN QUESTION] Improve DB performances: ditch IndexedDB/LinvoDB3 and switch to something else, like Dexie, PouchDB or sqlite?

LinvoDB3 is not the fasted when it comes to full-database loading, I would be curious to see how other files-based DB compare.

I have ~180k files so i can test this out for you. would you like to follow a process or use certain commands to get information about the load?

What I would be really interested is how well/bad Museeks performs compared to your usual default player :)

for the scan performance
for the UI responsiveness in general

The first one should be ok I think, the second one is the one I’m the most afraid of.

Can do! I have a folder with 20k to test and I'll start with that. Do some timings, etc

I started with a test folder with 19,356 mp3 files over nfs.
no slow downs with the interface while adding tracks at all. In fact it was prefect during the whole import. (besides being empty)
Visually the progress bar is the only indication that anything is happening and i suspect that as the file count get larger it would be harder to identify that anything is actually happening.
no pause/reload seems like the library needs to finish completely before saving tracks? does it write to a temp file then merge after?
Scan took 19:41 to complete and initially said 'too bad there are no tracks' until i switched panes back and forth.
quodlibet is much slower to scan but adds files to the library faster. (3 mins file scanning but then adds single files at about 1000 per min so it's similar speed to museeks)
I added the test folder as a second library in rhythmbox (which has to scan and load my 184k DB as well.)
Files started appearing in 25 seconds and were added at about 500 a minute. Rhythmbox would be faster without my primary library but it was a good test to show that rhythmbox will import quickly while under load.
But unlike rhythmbox my library in museeks was near instantly loaded and i was able to move about the interface right away. That's very impressive for any music player!

no pause/reload seems like the library needs to finish completely before saving tracks? does it write to a temp file then merge after?

Every tracks is saved to the library when the id3 has finished being parsed, so if the app crashes and you start re-scanning again, all previously saved tracks won't be re-scanned.

Scan took 19:41 to complete and initially said 'too bad there are no tracks' until i switched panes back and forth.

I had the idea to display tracks once they are added in the database, but it could be REALLY CPU consuming if you stay on the library view. Maybe we could bulk them though, and add 100 tracks at a time, it should not be too hard to implement.

But unlike rhythmbox my library in museeks was near instantly loaded and i was able to move about the interface right away. That's very impressive for any music player!

Good to know! It will help us to know where we can improve things 👍

We can show added/total count near the progress bar, should be cheap enough to update 1 text node

Could the settings page show a library file total?
That would give a visual progress while keeping it out of the library pane.

Progress bar works too

I started to write some issues/potential fixes in the first comment

as a DB option, there is Dexie

Just one last update before I go to bed.
Startup with 20k tracks is near instant.
Startup with 71k takes 20-26 secs.
Sync for 70k was about 1hr20

Looks like there's an issue once you get large.
I have been scanning my main library for almost a day now after stopping at 71k last night and it still hasn't completed. Stuck at half way by the looks.
I'll keep it going to see what happens but it is suffering somewhere in the process

Ok, please do not laugh at this one.
We are experimenting with multiple front-end framework at work like Vue, React or Svelte. I am currently concerned by how the TracksList's render method, especially during scrolling for huge libraries.
The main reason we implemented it that way with tiles and all these tricky tricks was to improve the rendering speed: render more often, but in O(1) instead of O(n), n being the number of songs in a library.
With 6000 tracks, with the previous method, a render was done in 100-200ms, which is noticeable by the user and does not feel responsive.
I just tried this Vue component:
<template>

        {{item._id}}

</template>

With 10'000 items, a render is not perceptible: a track is instantly selected. Render starts to be noticeable at 20K/30K items.
I means in this scenario, with no real optimization, Vue is significantly faster for rendering long lists (I suspect it too be more RAM-hungry too, because you have observers everywhere.
This gives me two ideas:

Rewrite the whole UI with Vue (I'm joking, but only half-joking)
See how we could optimize TracksList more, I see multiple places we could improve perfs in this huge bloated component.

I know our TracksList is kinda home-grown, have you tried other virtualized lists components?

E.g. https://github.com/Flipkart/recyclerlistview

f0f2cfa519b72df0500505fc3686ee61e1f6af4e Improve library scan performances
38087714c9cb1d5ca523f8855b97a4442a36d187 Reduce the number of UI updates during scans
0e79cf6f807bd7d61fb00c5f3781db8d0672ad64 Add tracks to the library view during scan
9305dbdbfd7640f743791c76961a2d053040a37e Optimize tracks filtering
Museeks will now add tracks to the Library view every 100 file scans 🎉

I am closing the issue for now, I won't implement the "Library information/stats" now as it may bring database schemes update and the feature does not seems that needed.
Feel free to discuss it if you think the opposite, and I'll re-open it (or will open a separate issue)


Test the wp-specific ruleset

Instructions on how to pull in the new wordpress.xwl file: https://github.com/wimg/PHPCompatibility#using-a-frameworkcms-specific-ruleset
We'll want to pull in the new code and replace the standard with the file in the cli command.

@rheinardkorf In the PHPCS Server if the type of project is a theme or plugin replace the standard with the ruleset file for WordPress.

--standard=path/to/PHPCompatibility/framework-rulesets/framework-name.xml

@valendesigns onto it... just need to work out how to do this in the phpcs-server and not in pkg as the message only gets received in the process. Mind is ticking....


image into mesh get then throw an error?

I am upload an image and get the face mesh but i can got the error like this.
So, Help Me.
Uncaught (in promise) TypeError: Cannot read property 'buffer' of undefined
at Object.write (VM765 face_mesh_solution_wasm_bin.js:9)
at Object.write (VM765 face_mesh_solution_wasm_bin.js:9)
at Object.createDataFile (VM765 face_mesh_solution_wasm_bin.js:9)
at finish (VM765 face_mesh_solution_wasm_bin.js:9)
at processData (VM765 face_mesh_solution_wasm_bin.js:9)
at Object.createPreloadedFile [as FS_createPreloadedFile] (VM765 face_mesh_solution_wasm_bin.js:9)
at DataRequest.finish (VM764 face_mesh_solution_packed_assets_loader.js:127)
at DataRequest.onload (VM764 face_mesh_solution_packed_assets_loader.js:122)
at processPackageData (VM764 face_mesh_solution_packed_assets_loader.js:158)
at runWithFS (VM764 face_mesh_solution_packed_assets_loader.js:169)

Hi @dhavalgediya27, Could you please share your code to understand the issue much better. Thanks!

Hello,
You didn't give me proper solution fot this error and why you close this issue.
Give me proper solution for this issue.
Thanks,

Hi @dhavalgediya27, If you don't reply to the above request bot automatically closes the issue after 15 days. As mentioned in this comment, Could you please provide your code changes to understand the issue much better for further investigation.

Hi @dhavalgediya27, Could you please share your code to understand the issue much better. Thanks!

Also Provide you a code for reference that we have used.
https://codepen.io/mediapipe/pen/KKgVaPJ
Please Give me solution for this issue.

This type of error (something involving "preloading" or "FS_"-functions) indicates that loading the runtime assets is failing.  Perhaps your network connection failed during a load?  If this issue is repeatable, then please use the "Network" tab of the "Chrome Developer Tools", choose "disable cache", refresh the demo, and see what requests are made (and what their HTTP status codes are).  Please list those requests here (with their status codes).  In particular, we're interested most in "face_mesh_solution_packed_assets.data", so listing the final size and time elapsed for that one may help as well.  Also, any HTTP status codes which are not 200 likely indicate an error, so those would be especially good to list as well.

Hi @dhavalgediya27, Did you get a chance to go through this comment. Thanks!

This isssue was closed... but I've had a similar problem in my environment, so I'll note it here.
It happened on "Pose" solution,
and this error does not always occur.
When I had this error, all resources was completed download with 200, including "https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>I will post again if I know something.
pose_solution_simd_wasm_bin.js:9 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'buffer')
    at Object.write (VM696 pose_solution_simd_wasm_bin.js:9)
    at Object.write (VM696 pose_solution_simd_wasm_bin.js:9)
    at Object.createDataFile (VM696 pose_solution_simd_wasm_bin.js:9)
    at finish (VM696 pose_solution_simd_wasm_bin.js:9)
    at processData (VM696 pose_solution_simd_wasm_bin.js:9)
    at Object.createPreloadedFile [as FS_createPreloadedFile] (VM696 pose_solution_simd_wasm_bin.js:9)
    at DataRequest.finish (VM695 pose_solution_packed_assets_loader.js:140)
    at DataRequest.onload (VM695 pose_solution_packed_assets_loader.js:135)
    at processPackageData (VM695 pose_solution_packed_assets_loader.js:171)
    at runWithFS (VM695 pose_solution_packed_assets_loader.js:182)

I an getting this every time on Chrome 104 on Android 10. Will open a new issue https://github.com/google/mediapipe/issues/3647


Clustering - Thoughts on a predict method?

Instead of fit_predict, any thoughts on creating a predict method?
Could be interesting for new (test) data..

Persistence diagram does not appear from estimate_clusters function


Digital Twin Tool Fails to Import Maps from OpenStreetMap

Hi, everyone. I am interested in digital twin tool in Carla. I want to select a region from OpenStreetMap and paste the url to "UW_OnRoadMainWidget" and then click "Generate" button. However, no matter which size of selected map I choose, the UE4 editor crashed with error. When I relaunch the UE4 editor and opened the generated XXX.umap and then run simulation, nothing (no buildings, vegetation and roads) is shown on the interface. Can anyone help me? Thanks a lot. Problems are described in detail as follows.
CARLA version: 0.9.15 (build from source)
Platform/OS: Windows 10, UE 4.26
Steps to reproduce:
Note that osm_renderer is not available for Windows users. So I use the url to transform selected map according to Digital Twin Tool.

First, I launch the "UW_OnRoadMainWidget" and paste the OpenStreetMap url and click "Generate" button.

"UW_OnRoadMainWidget" starts generating maps for Carla. It seems normal at the beginning. But However, in the middle and later stages, the editor will become stick, and finally report an error and then crash.

("加载失败" means "fail to load"; "引用者" means "quoter" or "citer". The English version
of error is "fail to load /Game/Carla/Static/Pedestrian/Animations/GEN3/Nos_/AS_walkingG3.AS_walkingG3 quoter
Default_BP_Walker_AB001_G3_C")

Then I look at the files generated under 'carla-0.9.15\Unreal\CarlaUE4\Content\CustomMaps' path. The structure is shown in the figure.

Lastly, I relaunch the UE4 editor and open the test.umap. I click the 'Run' button but only to find
that no buildings, vegetation and roads are displayed, meaning that generation process fails.

I try to run manual_control.py to test the validity of customed map. And it raises

INFO: listening to server <IP_ADDRESS>:2000
ERROR: unable to parse the OpenDRIVE XML string
RuntimeError: failed to generate map
The server could not send the OpenDRIVE (.xodr) file:
Make sure it exists, has the same name of your town, and is correct.

If I run the default map (Town10), the whole process works normally. Thanks for your help.

Same problem, but I successfully generate the map. However, it doesn't work when use PythonAPI. #8448

@EvilQQQ Hi, I have used LibCarla and CarlaUE4 in ue4-dev to replace the counterparts in carla-0.9.15. However, After many attempts, I find that if selected region has buildings, it will crash. Do you know how to fix it.

Can you reproduce your error？I need more details such as Carsh log  Additionally, I have successfully generated the map and spawned vehicles on it.

Platfor: Windows10  0.9.15

@EvilQQQ Yeah, I can also generate maps like you. But you can notice that the buildings in the map is not that large. I try this region url 1 but failed (UE4 editor crashed without error. There seems no error in log file). However, when I try this region url 2 it works. My RAM is 32 GB and I also set the virtual memory.


Price for agents scal set agents?

I can't find in documentation any link to how scale-set-agents price will be caclulate.
Only  Microsoft agent and self-hosted agents are present in pricing page https://azure.microsoft.com/en-us/pricing/details/devops/azure-devops-services/
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 756d9c64-a802-61ad-ba6c-6061d2d747cf
Version Independent ID: 012518b7-0282-f5b0-5206-8a9d1902b8d3
Content: Azure virtual machine scale set agents - Azure Pipelines
Content Source: docs/pipelines/agents/scale-set-agents.md
Product: devops
Technology: devops-cicd-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

@anasoid I'll get that clarified, it is similar to self-hosted agents - you pay for the VM(s) that host the agents, and pricing is dependent on the VM pricing tier you choose for your scale set agents, and through Azure Pipelines, you pay for the number of parallel jobs you need to run. I'll confirm this and get the article update, most likely at the very start of the new year.

AB#1904459

Thanks @steved0x ,
For @selfhosted, the payment will be for the max used VM, or max configured VM ... ? and it's 15$/month ?

Thanks @steved0x Steve Danielson FTE , For @SelfHosted, the payment will be for the max used VM, or max configured VM ... ? and it's 15$/month ?

I'm sorry I didn't see this, it is the actual VMs used, not the potential max.
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops#how-much-do-scale-set-agents-cost


'vue' is not recognized as an internal or external command, operable program or batch file.

Node version : v8.11.4
npm version: 5.6.0
Commands fired
npm install -g vue-cli
npm install -g vue
vue install wepack test
Following error is thrown
'vue' is not recognized as an internal or external command,operable program or batch file.
When I type vue -v also, I am getting the above error
I also added to  windows the path of Vue.js

I also noticed that vue.cmd is not coming the following directory
C:\Users\HP\AppData\Roaming\npm
Can anybody please help me to sort the problem

The package name changed from vue-cli to @vue/cli. If you have the previous vue-cli (1.x or 2.x) package installed globally, you need to uninstall it first with npm uninstall vue-cli -g or yarn global remove vue-cli.

Sure sir, thanks for the same. I have downloaded and provided that path in windows and it worked for me

Hi allenshaji, I'm getting the same error. Can you tell me what you have downloaded and which path you provided in windows that helped you? Thank you!

Please make sure

C:\Users\Your_User_Name\AppData\Roaming\npm
is added to System Variable Paths

Try to search vue.cmd on your machine, then add this path to evn variables. This worked for me.

hi! i would like to ask on how to fix this issue  'vue-cli-service' is not recognized as an internal or external command,
operable program or batch file. I try to use npm install --global @vue/cli but it doesn't work

Node version : v8.11.4
npm version: 5.6.0
Commands fired
npm install -g vue-cli
npm install -g vue
vue install wepack test
Following error is thrown
'vue' is not recognized as an internal or external command,operable program or batch file.
When I type vue -v also, I am getting the above error
I also added to windows the path of Vue.js

I also noticed that vue.cmd is not coming the following directory
C:\Users\HP\AppData\Roaming\npm
Can anybody please help me to sort the problem

Please make sure
to add
C:\Users\Your_User_Name\AppData\Roaming\npm
to the Paths in Environment Variables.

thanks this helped 😄


Not Receiving Specific Messages in MQTT Subscription

Description:
I am trying to receive values such as zoom_factor and recording_state for a Matrice 300 RTK with an H20T camera using the latest DJI Cloud API. Despite subscribing to all possible topics, I am not receiving messages related to changes in zoom factor or camera mode.
Configuration:
I have configured my cloud-sdk to subscribe to all potential topics:
cloud-sdk:
  mqtt:
    # Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",".
    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/response,thing/product/+/events,thing/product/+/commands,thing/product/+/osd,thing/product/+/state,thing/product/+/services,thing/product/+/services_reply,thing/product/+/events_reply,thing/product/+/requests_reply,thing/product/+/property/set,thing/product/+/property/set_reply,thing/product/+/drc/up,thing/product/+/drc/down

Steps Taken:

Subscribed to the following topics:

sys/product/+/status
thing/product/+/requests
thing/product/+/response
thing/product/+/events
thing/product/+/commands
thing/product/+/osd
thing/product/+/state
thing/product/+/services
thing/product/+/services_reply
thing/product/+/events_reply
thing/product/+/requests_reply
thing/product/+/property/set
thing/product/+/property/set_reply
thing/product/+/drc/up
thing/product/+/drc/down

Built a custom frontend and monitored messages in the cloud_api_sample container.

Ensured the device configuration is supposed to push updates on relevant changes.

Problem:
No messages are received when changing the zoom factor or switching the camera mode. I expect to see messages for these events in the subscribed topics but the logs are empty for these specific changes.
Questions:

Do I need to set specific properties to pushMode=1 for these messages to be sent?
Is there any additional configuration required on the device or in the DJI Cloud API to receive these specific messages?
Could there be a delay or another reason for these messages not appearing in the MQTT logs?

Environment:

Device: Matrice 300 RTK / H20T
API Version: 1.10.0 DJI Cloud API
MQTT Broker: Configured with EMQX Broker

Hi there,
I am currently facing the EXACT same problem as you do...Do you managed to find a proper fix for it?
Luca


Upgrade to 0.60 the PowerRename context menu is disappeared

Microsoft PowerToys version
0.60
Running as admin

[X] Yes

Area(s) with issue?
PowerRename
Steps to reproduce
When I upgrade from 0.59.1 to 0.60,the PowerRename context menu is disappeared but the enable state is enabled in PowerRename Settings page as show in screenshot:

I was try to switch enable/disable PowerRename switch however the context menu still have not appear.
When I downgrade to 0.59.1 the PowerRename context menu is works normal.

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Do you have Windows 11?
/bugreport

I have restart computer but it still doesn't works!

According to the logs, the package has installed successfully, so it's not a package install error. Did you restart with PowerRename enabled? Not sure what might be causing this.
In PowerShell, does Get-AppXPackage -Name *PowerRename* give any results?

Yes,the package is installed but context menu is no longer available.

@jaimecbernardo OS Version 226* is 22H2. And the screenshots showing the extended context menu.

Yes, that's beta channel. I've tested there and it worked.

@ldqk , what file are you trying to select to rename? We saw some issues where some files are not being detected as rename-able, such as the "Recent" files.

@ldqk , what file are you trying to select to rename? We saw some issues where some files are not being detected as rename-able, such as the "Recent" files.

I want to try rename some regular folders, the path such as E:\Downloads\xxx ,but it works on version 0.59.1.

If you select in Settings to "only show on extended context menu" and shift right-click the file, does it still work?
I don't know if it's the fact that's inside Downloads that's causing this, can we please check a single file inside "E:\Downloads\xxx" to check if it behaves the same way?

I've try to switch "only show on extended context menu" option,and try to rename other folders but it still doesn't works.

You have to Shift+Right click to show the extended context menu. You're doing this, right?

Yes,Shift+Right click,I make sure I doing correctly.

Manually or if there was any way I can add power rename to the context menu,regedit? because I really need this function!

My right-click menu has been modified to look like windows10 by third tools

What you can do while we figure this out is perhaps remove the appxpackage for the context menu, so that a fallback kicks in.
In powershell in Admin mode:
Get-AppXPackage -Name *PowerRename* | Remove-AppXPackage

What you can do while we figure this out is perhaps remove the appxpackage for the context menu, so that a fallback kicks in. In powershell in Admin mode:
Get-AppXPackage -Name *PowerRename* | Remove-AppXPackage

I have been executed this command succeed

Ahhhhhh! Amazing! A miracle happened! When I have executed this command:
Get-AppXPackage -Name *PowerRename* | Remove-AppXPackage

the PowerRename context menu works normal!

My right-click menu has been modified to look like windows10 by third tools

Which tools are that? I think it might be some incompatibility there.

I guess we can try to always show the old controls alongside the new Windows 11 tier 1 ones 🤷

My right-click menu has been modified to look like windows10 by third tools

Which tools are that? I think it might be some incompatibility there.

I modified to classic context menu use by a tool named "StartAllBack"，but I don't think it caused by incompatibility, In a word,this issue has been solved by executed Remove-AppXPackage command,thank you very much!

I modified to classic context menu use by a tool named "StartAllBack"，but I don't think it caused by incompatibility, In a word,this issue has been solved by executed Remove-AppXPackage command,thank you very much!

That's because there's a fallback to call the older context menu when the package is not installed ;)
It might try to install again when PowerRename restarts, though.

I guess we can try to always show the old controls alongside the new Windows 11 tier 1 ones 🤷

Isn't that what most apps do?

On Windows 11 there's the known issue of having to restart the computer before it recognizes the tier 1 context menus. Have you tried restarting the computer yet? Restarting explorer.exe should work too. /needinfo

Restarting Windows makes it show up in the extended context menu - if you enable that option before the restart - but not in the regular one. Restarting explorer.exe doesn't seem to work.

Related so posting here, but let me know if I should file a new bug:
Just installed PowerTools. PowerRename shows up in the context menu when "Default and extended context menu" is selected in settings, but not when "Extended context menu only" is selected. Running version 0.60 on Windows 11 and restarted the computer as well as explorer.
![image]-images.githubusercontent.com/109254477/178861347-09458880-8c00-42af-adac-9efb2e8a3dbf.png)
(https://user
PowerToysReport_2022-07-13-17-45-56.zip

@anksingla The extended context menu is for pressing shift+right click

Thanks! I'll try the new version


Merge prTesting_201904161036 branch to master branch

Docs Build status updates of commit aa40866:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

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


feat(idp): display metadata details

Description
Implementation IdP Config displaying metadata
Why
Enable Company/IT Admins to see their identity provider config inside the "Config" overlay if any configuration does already exist
Issue
https://github.com/eclipse-tractusx/portal-frontend/issues/475
Checklist
Please delete options that are not relevant.

[X] I have followed the contributing guidelines
[X] I have performed a self-review of my own code
[X] I have successfully tested my changes locally

@Leon-Gr  please review the locales files (de & en)

@evegufy Can you please merge this PR ?


Investigate agent shutdown sequence

The Agent.stop() method stops the thread pools (used in the Agent and the AgentInstance class) asynchronously by invoking the shutdown(wait=False) method on it. This way the Agent.stop() stop can return while the thread pool is still executing work. This can causes test cases to fail, because the agent and the server are not stopped in the correct order.
Tasks:

[ ] Investigate why thread pools are stopped asynchronously.
[ ] Discuss the possible solutions for this issue with the team and agree on a solution.
[ ] Implement fix.

Observed in the following cases:

rocky9_master.tests.test_server.test_cleanup_old_agents
fedora-latest_iso6-stable.tests.test_agent_manager.test_dont_start_paused_agent
fedora-latest_master.tests.test_cli.test_pause_agent


Azure Queue Storage Source - Add Visibility timeout parameter

Closes #1382
This PR adds a new optional parameter to set the visibility timeout to Azure Queue Storage Source following the ISO8601, more info: https://en.wikipedia.org/wiki/ISO_8601

nit: k8s' duration format is documented as Go's time.Duration. Timeouts in our components (visibilityTimeout, timeout) are also based on Go's duration format. Some other common K8s components that I was able to check also use time.Duration format. It feels a bit weird to have the same attribute use different input formats inside the same project (even the same "visibilityTimeout" parameter). Why did you decide to switch to ISO format? Is it because of OpenAPI 3.0 spec? Maybe we could do something to make it consistent across the components?

nit: k8s' duration format is documented as Go's time.Duration. Timeouts in our components (visibilityTimeout, timeout) are also based on Go's duration format. Some other common K8s components that I was able to check also use time.Duration format. It feels a bit weird to have the same attribute use different input formats inside the same project (even the same "visibilityTimeout" parameter). Why did you decide to switch to ISO format? Is it because of OpenAPI 3.0 spec? Maybe we could do something to make it consistent across the components?

I agree on having something consistent across the components but go time is language specific, while ISO is a standard.
Knative uses ISO for durations too: https://knative.dev/docs/eventing/event-delivery/#configuring-subscription-event-delivery
Maybe we should move other components to ISO? We already have brokers using ISO.

Go time format is natively supported by k8s, so I don't see why we can't keep using it. Personally, I'm not a fan of the ISO format because it's not intuitive, but having the same attributes declared in different formats is even worse than that. Hence, if you think that switching to the ISO is essential and worth introducing breaking change, then go for it. Hopefully, we will not follow Knative's specification style in the future.

Ok, no problem, I'll revert it to go time and then we can discuss what standard we should use

That works for me, thank you. I noticed that the core k8s components use <param>Seconds attribute name to avoid any confusion in formats. Maybe we could use a similar approach. The only concern is backward compatibility for SQS source spec.

@FranBarrera any chance we can get some better documentation for the attribute to appear in the CRD?


CompileAvaloniaXamlTask Issue

Stop Visual Studio
Kill all MSBuild.exe processes
Run dotnet restore from command line
Start Visual Studio again


LROPoller llc helper + tests

We've discussed something like adding a classmethod to LROPoller for users to get an LROPoller using our LLC
Need to create a design of what this would look like and talk with @lmazuel  and @johanste about this

See https://github.com/Azure/autorest.python/issues/973


After the upgrade, why can't an instance be created with params.flags=IORING_SETUP_SINGLE_ISSUER? What's the issue?

	io_uring ring{};
	io_uring_params params {};
	params.flags |= IORING_SETUP_SINGLE_ISSUER;  // if use this flag, it's error;
	auto ret = io_uring_queue_init_params(256, &ring, &params);

error:   Invalid argument.
It was normal before the upgrade;

Please try and strace that, makes no sense. Unless you're on an old kernel that doesn't support IORING_SETUP_SINGLE_ISSUER, in which case it would indeed return -EINVAL.

@sxstd001 I can’t reproduce your problem with 6.9 linux kernel version and 2.6 liburing version.
#include <liburing.h>

#include <stdio.h>
#include <string.h>

int main (void)
{
	io_uring ring{};
	io_uring_params params{};
	params.flags |= IORING_SETUP_SINGLE_ISSUER;
	const auto ret = io_uring_queue_init_params (256, &ring, &params);
	if (ret != 0)
		printf ("error: %s", strerror (ret));

	io_uring_queue_exit (&ring);

	return ret != 0;
}

Could you please specify both versions you are using and within which conditions you are getting the error? On the other side, is there any more code than the one you provided in your program?

ArchLinux latest version;

Works fine here, please provide an strace output of running that as requested.


Misspel "keybaord"

"keyboard" is misspelt in "Default keybaord navigation and selection patterns".

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

ID: 26c5e193-3421-2e0a-c8d3-94f3aeb646eb
Version Independent ID: 1711eb0f-3b51-02c1-af4e-152ce7cda6be
Content: DataGrid XAML Control - Windows Community Toolkit
Content Source: docs/controls/DataGrid.md
Product: community-toolkit
GitHub Login: @harinikmsft
Microsoft Alias: nikolame

Thank you @meowjesty! Would you like to submit a PR to fix it?  You can even just do it from within GitHub by clicking the little pencil icon at the top-right of the docs/controls/DataGrid.md file.

@michael-hawker done #257
Thank you for the tip about the pencil icon 👍 .


Upgrade to React 19

Ref: https://github.com/astral-sh/ruff/pull/14856
Migration guide: https://react.dev/blog/2024/04/25/react-19-upgrade-guide
As mentioned, I think it'll be useful to first upgrade it to v18.3, fix the warnings and then upgrade to v19.

Hmm we now have a bit of a mess hehe. The typing stubs already use React 19, but the runtime still uses react 18.2

Depends on https://github.com/suren-atoyan/monaco-react/issues/656


Configuring JSON Serializer

Hello,
I'm using this adapter but I'm encountering a bit of an issue.
As it stands right now, it seems like there's no way to modify the default json serializer.
I have a custom Converter that I am unable to use with this library.
Thank you in advance!

A temporary workaround seems to be serializing to a JsonDocument and passing that to inertia, but obviously this is not preferred..


Add: WorldOfOpenSource

Description
Take a look, and let me know where to improve.

Issue Ticket Number
Fixes #506

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes needed to the documentation

@Debajyoti14 Hey, take a look here.

@Debajyoti14 kindly look at it again, I have tried making it more fluent and strict inside the right box. With MUI icons, it's easier but if I want to import any svg or `png``, it doesn't work as intended yet.

@sarkartanmay393 There is a bug  Also it should move by default from the start

I'm working on animating it, but the bug you mentioned isn't displayed on localhost. But still, I've changed some code, can you approve the Vercal deploy once again

@sarkartanmay393 It's still happening

@Debajyoti14 Now it's fixed, I hope.

@sarkartanmay393 Great Work
just make the logos a bit big and make the movement slower
It is very difficult to touch to drag it

@sarkartanmay393 Do one thing the movement is looking a bit absurd.
Just make sure the icons are more bigger and it should be stationary at any random pos within the box.

@Debajyoti14
I am seeing it fine
Can it be a browser issue?

@Debajyoti14 Have you checked the deployment link or checking it locally???

you checked the deplo

https://clueless-4s5of04u7-officialcluelesscommunity-gmailcom.vercel.app/ this one

@Debajyoti14

@sarkartanmay393 It's good to be merged
Make it responsive

@Debajyoti14 I hope it works.

@sarkartanmay393 Still not responsive

@Debajyoti14 kindly check out deployments with attention, deploy this link is working just fine for me.

@Debajyoti14 you can check it once again.

@sarkartanmay393 Great Work. It's not easy to make custom animation. Kudos to your HardWork.

@Debajyoti14 See you on other PRs 👋🏼


Does cq-prolyfill inlined my style?

I was wondering why my sourcemaps isn't working, since the style is being inlined in the head but i haven't done that.
Turn out the cq-prolyfill did that, is there any way to still use sourcemap while using cq-prolyfill.

Yes, cq-prolyfill has to convert the :container() parts of the CSS so that the browser can parse it. You can prevent that by using the PostCSS plugin or Sass mixin. And you should enable CORS if the stylesheet is loaded from a different domain.


StanfordNERTagger couldn't process words contain space in.

>>> from nltk.tag import StanfordNERTagger
>>> jar = [PATH]
>>> model = [PATH]
>>> st_ner = StanfordNERTagger(model, jar, encoding='utf8')
>>> print(st_ner.tag(["New York"]))
[('New', 'LOCATION')]
>>> print(st_ner.tag(["New York", "cat", "New", "work"]))
[('New', 'LOCATION'),
 ('York', 'LOCATION'),
 ('cat', 'O'),
 ('New', 'O')]

This class couldn't process words cotain space in themselves.
Words containing spaces are properly recognized but, during the output process, they are split based on spaces and output as multiple words. This causes the omission of the words that come after in the output.

I can work on this!


Problem with Tiny Tina grenades and class mods

I do have a slight issue that I am not sure what is causing it. There are a few items I have put in my backpack in Gibbed and when I bring the save back into my ps4 the items are no longer there.  Also as a disclaimer, I am using the recently posted method by BuFu_EVO for PS4 saves
https://www.se7ensins.com/forums/threads/gibbed-ps4-saves-no-ps3-needed.1769835/
This method involves converting your PS4 save to an XBOX360 save in order to use Gibbed and then converting back to PS4 save file.  Save Wizard is required.
magic missile (purple) : BL2(BwAAAADIsAkAFQegEBG93v+/AqIdgwsDBkMGQwdDCIMVw///AOI=)
chain lightning:
BL2(BwAAAAD8HQkAFQmgEBG93v+/AaIdQwsDBkMGw/9/CMMVw///AeI=)
true neural monk:
BL2(BwAAAAAyGwkfFAewEBG9ngjBAUEAwf///////////38DAQghAME=)
What is also strange is that I have a legit acquired level 44 purple magic missile and a level 80 chain lightning on my ps4 save that does not show up when I import into Gibbed.  I get a message give me the option to remove the items or leave them and they cannot be edited. The item name does not show up in my backpack list.  Nor do they show up listed as unknown in the backpack.
Here is the message from what I copied to the notepad:
System.InvalidOperationException: don't know how to remap sublibrary 21 for set 9!
at Gibbed.Borderlands2.FileFormats.AssetLibraryManagerHelpers.Lookup(AssetLibraryManager assetLibraryManager, PackedAssetReference packed, Platform platform, Int32 setId, AssetGroup group)
at Gibbed.Borderlands2.FileFormats.Items.BaseItem.Unpack(PackedItem packed, Platform platform)
at Gibbed.Borderlands2.FileFormats.Items.PackedDataHelper`2.Decode(Byte[] data, Platform platform)
at Gibbed.Borderlands2.SaveEdit.BackpackViewModel.ImportData(WillowTwoPlayerSaveGame saveGame, Platform platform)
System.InvalidOperationException: don't know how to remap sublibrary 21 for set 9!
at Gibbed.Borderlands2.FileFormats.AssetLibraryManagerHelpers.Lookup(AssetLibraryManager assetLibraryManager, PackedAssetReference packed, Platform platform, Int32 setId, AssetGroup group)
at Gibbed.Borderlands2.FileFormats.Items.BaseItem.Unpack(PackedItem packed, Platform platform)
at Gibbed.Borderlands2.FileFormats.Items.PackedDataHelper`2.Decode(Byte[] data, Platform platform)
at Gibbed.Borderlands2.SaveEdit.BackpackViewModel.ImportData(WillowTwoPlayerSaveGame saveGame, Platform platform)
When I select no( to not remove the items) and I complete my Gibbed session I save and convert back to my PS4 file as normal.  When I bring the save back to my PS4 the grenades now back up.
Is there an issue with some of the Tiny Tina stuff?  Everything else I have tried so far has worked without issue.  Any advise would be very much appreciated.

This is because you're erroneously treating PS4 data as 360 data. 360 saves have some different asset library IDs compared to other platforms.


Add files via upload

University Of Portsmouth

@Sel523 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


chore(docs): remove live demo link from README.md

As highlighted by issue #201 the demo site is not functioning at the moment. Rather than link to a dead page I'll remove this for now.

RIP


Changes in d.ts files are not detected by ng serve

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.4.1
node: 8.4.0
os: darwin x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.4.1
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
typescript: 2.3.4
Repro steps.

Clone repo https://github.com/devoto13/ng-dts-changes
ng serve
Open http://localhost:4200 in browser
Open app.component.ts and use Refactor -> Rename to rename myConst to myConst1.
Go back to browser

The log given by the failure.

Observe black screen saying Module '"*****/src/app/some"' has no exported member 'myConst1'. Although if you open some.d.ts file it actually has exported member myConst1.
Desired functionality.

Changes in d.ts files are detected and I don't have to restart ng serve after editing those.
Mention any other details that might be useful.

This is a known issue. We are in the process of rebuilding our build pipeline and will fix this. In the meantime I'll let this issue open as we might have contributors who want to tackle this for the current pipeline.

With Angular 5.0.1 and Angular CLI 1.5.0 changes in d.ts files inside src are detected correctly. However changes in d.ts files inside node_modules are still not detected.

@devoto13 I think to detect changes inside node_modules aren't something needed. If some package was added or updated, run ng serve again seems to be a better idea.
@hansl in my opinion, this issue can be closed.

@tiaguinho yes, this sounds right. @devoto13, @tiaguinho thanks for the comments.


Terminate Contract GraphQL

As NHS admin I want to be able to get Terminate Contract using new admin portal.
So, we need to implement mutation using graphql

[x] confluence / schema / features
[x] implement
[ ] test

[ ] test cases


Add Diona rooting

About the PR

This PR adds a new species-unique feature to the Diona that allows them to get a built-in toggleable "magboots", at the cost of absorbing liquids on the ground and a slowdown. This feature is called "Rooting", simulating the diona steadying themselves using their root-like leg appendages.
Why / Balance

The Diona have long been seen as a sub-optimal species due to their main downside: not being able to wear shoes. This downside is interesting but due to how many mechanics of the game are centered around shoes it has made the Diona adifficult species to justify for certain jobs and scenarios. Among these include Janitorial, Salvage and Nukies, as these are roles that rely on footwear-specific items.
Giving Diona built-in magboots have been suggested before in #24596, however this was an always-on feature and it was suggested the Diona would have a slower base speed as result.
Instead this PR implements this as a toggle in the form of the "Rooting" action and status effect. While rooted, Diona move at 80% speed (same as magboots) and have a similar effect of preventing slipping and floating in no-grav. The one exception is slipping caused by injuring items on the ground, such as glass shards and D4s. This is due to the rooting not being equivalent to wearing shoes, and to prevent a diona walking over a stack of multiple glass shards and immediately dying from burst damage.
While rooted, the affected entity will also attempt to transfer reagents from puddles to the entity's chemstream. This happens at a rate of 0.75u per second. In effect, this means that a diona can passively "drink" from puddles. This is largely meant as a downside; while some chemicals on the floor may be neutral or even helpful, being rooted over e.g. welding fuel would make the diona take damage over time.
Technical details

Most of the absorption code in RootableSystem is set up in a similar way to how SmokeSystem handles it, though centered from the rootable entity. The no-slip and no-grav code is fairly boilerplate event handling.
SlipAttemptEvent has been given an optional entity property that includes the entity causing the slip (used to determine if it has DamageUserOnTriggerComponent).
Media

https://github.com/user-attachments/assets/65a1ea7d-1e75-4a79-bc15-92c31cbda4c6
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Diona can now root, keeping them from slipping but absorbing fluids from the ground.

hoili moili

I feel like there should be a do-after bar for toggling this on or off to make it so you CAN be punished for rooting and then walking on harmfull liquids (or having a poison container thrown at you by an antag who sees you are rooted) Also there should be some indicator like a sprite change or smth if thats doable

I feel like there should be a do-after bar for toggling this on or off to make it so you CAN be punished for rooting and then walking on harmfull liquids (or having a poison container thrown at you by an antag who sees you are rooted) Also there should be some indicator like a sprite change or smth if thats doable

Could be an audio indicator, could change from the smack of shoeless feet to a sort of heavy thump.

On my way to make a space lube and poison mix to screw over Diona.

I'd really increase the slowdown (because how else is it "rooting" then?) and decrease the absorption rate to 0.5 a second for balance purposes.

I would love to see this because slipping as a diona constantly is hell tbh.


function to get the next column

Description
I want to get the next column..   X+1=Y.   Z+1=AA.   I wrote a function for this but PR guidelines say I need to submit an issue.
I threw the function in a gist for review.   I wrote some tests for it as well.
https://gist.github.com/so-jelly/00d287b1080489eaaa2a614ac0f1cb4a
I haven't had a need to decrement yet, but it would not be too much work to wiggle that in.

We can convert between column name and index with ColumnNameToNumber and ColumnNumberToName.

Nice, that looks a little cleaner than my approach.  Cheers!


Queries raised following Page Header evaluation

Queries originally raised via email (Alan Coffey/Ireland/IBM)
What package(s) are you using?

[x] Cloud & Cognitive
[ ] Legacy/CDAI
[ ] Legacy/Security

What version are you using
What did you want to know?
I am currently evaluating designs (Cameron mentioned you as a contact) planned for release in the 4th quarter, the design utilises the PageHeader component.
I fully understand this is currently tagged canary and some findings listed below may be working as designed, never planned or I may have made a mistake my side - I'd like to share and get your opinion nonetheless.
Breadcrumbs

CLX Return to Application not possible with Breadcrumb items prop.  (possible candidate for composition ?)

Long title prop collapses all breadcrumbs, even when space

**On Scroll **
3. Action buttons partially obscured regardless of pageHeaderOffset props value

Tabs
4. No overflow arrows rendered on page load

rendered after window resize

Displayed when no content to show

Tags

1 long tag name hides all tags
Count tag looks like more Tabs
No tooltip on tag count

Proposed design unsupported features

Not Possible to add content to the left of the title.

FYI @cameroncalder and Alan Coffey.
I have numbered the items above for clarity. Feel free to set up a meeting to discuss, here are my initial thoughts.

True. On narrow screens you will see a back arrow, to back out one level via a href. Also the content of a breadcrumb can be anything but this could break responsivity and care would be needed. The concept of the breadcrumb is also somewhat linked to the page title as part of the breadcrumb.
The breadcrumb area is restricted to 60% width of the row including space for the title which moves to the breadcrumb on scroll/collapse.
Some rework has taken place in this area, resulting in the removal of the offset prop. If you are still having this issue please try to replicate on codesandbox or provide a link to example source.
4/5/6. This looks like a potential issue with Carbon Tabs.
Works as expected, tags are limited to 25% of space in that row. Note Carbon guidance is one or two words for a tag. https://www.carbondesignsystem.com/components/tag/usage/#overview
I agree one for Cameron perhaps.
There is an interactive tooltip, which is presented on click. This is consistent with Carbon.
An icon can be placed to the left, which due to the Proptype checking in effect means you could place anything there. Not recommended. What did you have in mind?

NOTE: The implementation is an interpretation of the design. Any changes not consistent with the design need presenting to the design guild.


Arcyd: Increase the size of individual debug logs to 50 MB

Increase the value of maxBytes argument for the file handler to 50 MB which
is currently set to 10 MB.
The (maximum) total size of the logs would be ~100 MB (50 + (50 * 10) / 10)
assuming a gzip compression factor 10. On the other hand, current (maximum)
total size of the logs is 110 MB (10 + (10 * 10)). So we'll be able to store
5 times more logs without actually increasing the total size of the logs
stored.
Test plan:
$ ./precommit.sh
(Manual) Let Arcyd put huge amounts of stuff in debug logs and ensure that
logs are rotated when the filesize reaches 50 MB.

This should be merged only after #24 gets in. Also, I'm trying to do a manual test of this change, so please do not merge until I post the updates for that.

Tested it locally and it works fine. I've also a added a manual test plan in the commit message as well.

Landed at b99c925, thanks!


Implement genesis config caching.

When genesis config is loaded and genesis ledger reconstructed from JSON config, it is also cached on disk. When the same JSON loaded again, the node finds the cache on disk and loads it instead, which is significantly faster than building the ledgers from JSON.

@tizoc, I added another commit to cache just the genesis ledger, without epoch ledgers and everything else.

I added caching genesis epoch ledgers as well as the genesis ledger. Also added caching inner ledger hashes (as opposed to only the root hash).

@tizoc , very well, I added the log message.


MOE Export Parallelism Training Script

Hello OLMoE team,
I’m currently exploring training scripts for models using Mixture of Experts (MOE) and was wondering if there are any existing or planned scripts that handle expert parallelism during the export phase for MOE models? Specifically, I'm interested in techniques for parallelizing the export process for efficient training in distributed environments.
If not, could you provide any guidance on how to implement this or any references that would be useful for such a setup?
Thank you!
Best regards,
cheng luo

What is the export phase?

expert parallelism, sorry for the topo

I see; you can activate expert parallelism here https://github.com/allenai/OLMo/blob/cd0004be3f5a82fff8b4b990a00be1377e084eac/olmo/config.py#L1369 but I think it is not working at the moment as it does not show the params in the param count when I tried. I think you need to do something with device mesh like here https://github.com/mosaicml/llm-foundry/blob/e8eca4fa83f3fec69ad482465f839fb7dcfbfb0d/llmfoundry/models/utils/config_moe_args.py#L68
Anyways regular FSDP w/ fully sharded is enough for most models & is what we used for OLMoE-1B-7B.

I got it; many thanks!
Is the default Pretraining script using fsdp? Do you know where I can fine-tune fsdp setting?

Yes it uses fsdp & you can change its settings here https://github.com/allenai/OLMoE/blob/b032a4a4984c3ec3cee21f81f26b70fa5f788a09/configs/OLMoE-1B-7B-0824.yml#L93


Add zip_eq adapter to IndexedParallelIterator (ZipEq struct version)

This replaces #389, and is much the same. Re-implemented zip_eq using a ZipEq struct that is a wrapper around Zip to better align zip_eq with the adapters present in rayon, itertools, and the standard library.
Closes #386, as I believe it has been decided to not implement zip_longest.
@cuviper it was unclear from your comments where you wanted additional documentation. Please advise and I will update.

it was unclear from your comments where you wanted additional documentation.

On struct ZipEq, since this is public.  Doesn't need to be a lot, just something relating it back to the zip_eq method.

I've been attempting to diagnose CI failures on nightly, and it appears that compiletest_rs is broken on current nightly (rustc 1.20.0-nightly (3bfc18a96 2017-06-29)) on mac and linux. I will investigate more when I get the chance.
The nightly before today works fine.

It seems compiletest_rs 0.2.8 fixed that issue.  I restarted your nightly CI runs, and Linux passed, but macOS is still queued...

In the demo, there are dependencies on both cocoa-0.3.3 and cocoa-0.5.2, which both fail to build on current nightly. It seems that servo/cocoa-rs#166 fixed this for the current cocoa (0.9.2), but I'm not sure what we can do here.

Well that's awkward.  I wonder what caused the change in Sized behavior -- @nikomatsakis ?
Our dependency tree looks something like this:

rayon-demo

glium

glutin

cocoa 0.3
winit

cocoa 0.5

Perhaps we should just skip rayon-demo for CI on macOS.  We'll still have the basic rayon tests, but we don't need to get in the business of troubleshooting graphics stacks here...

I think that this is better than zip_eq in itertools, because this is checking up front and then iterating unhindered.
itertools' zip_eq is lazy (only can panic if it reaches an end) and consequently gets in the way of good loop optimizations since it's putting a panic check between each iterator element.
If itertools changes it might be to change zip_eq to apply in just the cases where we can check iterator length up front (a passing thought, it might then exclude exactly those cases, like when filtering, where the check is most crucial.. hmm).

Can you please rebase this to see how CI fares now?

Thanks!


Fix/payv1 issue resolve

related to https://github.com/ali-zahedi/az-iranian-bank-gateways/pull/117


No module named 'pytorch_quantization

when I try to use"sh samples/test_trt_ops.sh",I meet the error"No module named 'pytorch_quantization",did I missed some steps?
here is log
Running on the GPU: 0 Traceback (most recent call last):   File "tools/test_trt_ops.py", line 6, in <module>     import det2trt   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/__init__.py", line 1, in <module>     from .models import *   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/models/__init__.py", line 1, in <module>     from .backbones import *   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/models/backbones/__init__.py", line 1, in <module>     from .csp_darknet import CSPDarknetQ   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/models/backbones/csp_darknet.py", line 11, in <module>     from ..utils import CSPLayer   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/models/utils/__init__.py", line 1, in <module>     from .scp_layer import CSPLayer   File "/media/13data2/xzz/code/tensorRT/BEVFormer_tensorrt/./det2trt/models/utils/scp_layer.py", line 6, in <module>     from pytorch_quantization import nn as quant_nn ModuleNotFoundError: No module named 'pytorch_quantization'

Please install it following https://github.com/NVIDIA/TensorRT/tree/release/8.6/tools/pytorch-quantization


HTML4 parser - lexer reached a stuck state

Version
110.99.5 (Latest)
Operating System

[X] Any
[ ] Linux
[ ] macOS
[ ] Windows
[ ] Other Unix

OS Version
No response
Processor

[X] Any
[ ] Arm (using Rosetta)
[ ] PowerPC
[ ] Sparc
[ ] x86 (32-bit)
[ ] x86-64 (64-bit)
[ ] Other

System Component
SML/NJ Library
Severity
Minor
Description
The HTML4 lexer does not specify rules for all inputs
Transcript
- HTML4Parser.fromString "<";
uncaught exception Fail [Fail: lexer reached a stuck state]
  raised at: smlnj-lib/HTML4/html4.l.sml:94.46-94.80
             ml-lpt/lib/err-handler.sml:261.63

Expected Behavior
- HTML4Parser.fromString "<";
val it = NONE : html option

Note that this is what happens when you pass an incomplete tag such as "<x"
Steps to Reproduce
See transcript
Additional Information
The issue is in html4.l. There needs to be a case that handles "<" and "</" that are not followed by an alpha character or "!--".
Email address
skyler DOT soss AT gmail.com

As currently implemented, this library does not have the infrastructure to produce error messages.  I have modified the lexer so that it now raises a more informative exception (this change will be included in 110.99.6).
- HTML4Parser.fromString "<";

uncaught exception Fail [Fail: Unexpected character '<']
  raised at: html4.l.sml:230.16-230.67
             ml-lpt/lib/err-handler.sml:261.63

A complete fix (i.e., properly reporting an error message and returning NONE) will require a lot more work and possibly a change to the API, so I'm leaving the bug open for now.


In-Game HUD: Convert vanilla HUD elements

Portal 2's vanilla HUD elements should be converted to Panorama, instead of still being VGUI. Off the top of my head, this would consist of:

Crosshair (the middle section which appears regardless of your weapon)
Portal gun crosshair bars
Gesture/ping radial menus
Challenge mode HUD (if/when we have challenge mode)
Remote view
game_text/HUD messages
Instructor hints
Saving indicator

The visual designs should be kept the same as the base game, unless there's a specific reason to change/improve them.

I have some code written up for a dynamic radial type wheel for the paint gun menu. I can probably clean that up, get it fully working for the gesture and ping wheel.

Just added a few more things I realized I forgot about, would be nice if someone could go and check if there are any other Portal 2 HUD elements I forgot to list


[GLUTEN-6159][CH] Support array_sort

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Fixes: #6159
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
unit tests
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

LGTM


Print by fileid

implement printing by file id in preparation for the user portal integration

closed, will be merged once http status 412 issue is also resolved


ci(dh): API environment configuration

Description
Configuration

Move apiBase setting to assets/configuration/dh-api-environment.json

Runtime and end-to-end tests

Use dh-api-environment.json in Angular production mode (will be added by a deployment workflow)
Fall back to dh-api-environment.local.json in Angular development mode

Unit and integration tests

Use dh-api-environment.local.json

Workspace boundaries

Allow environments libraries to depend on assets libraries

References

Closes #136
Blocked by #103

praise: Looks really nice! I like how the implementation picks the local environment file in development mode.
question: About the blocking tasks. I approve the PR but should we wait until the dependent tasks are done before merging? Should we add a "Blocked" label in that case?

It's already marked as blocked by #103 in ZenHub. Install the ZenHub web extension and you should be able to see it in GitHub.


Add Zoom to Slate

Overview
---HandInteractionPanZoom.cs fixes problems in HandInteractionPan script as well as add:
*Two hand Zoom
*smoothed panning and zooming
*public Reset() function to set the pan and zoom back to the starting appearance.
Changes
--- added two hand zooming (and two handed pan)

Fixes: # 20286869

@keveleigh is there someone else on the UX side that would be better for taking a look at this?

Changes generally seem fine to me, a couple of things are:

If there's someone else on the design side that you usually work with on these changes it would be great to get them added as a reviewer here.
If you want reviewers to patch this change locally and try things out, if there's specific guidance on how to verify these changes (i.e. open hand interaction examples, open ABC scene, do XYZ), that would also be good to know.

yes

Small improvement: Exposed current scale value so that developers can display scale text if it is needed.

Updated Slate README file

/azp run mrtk

/azp run


Flags to mod in

See http://flags-for-hoi.blogspot.com/p/about.html for flags that may be modded in by exploiting the new trigger-based system

Consider also looking up the countries featured in the Putin mod (https://forum.paradoxplaza.com/forum/threads/mod-the-putin-mod-2015-2050.958548/page-49)

As well as the Kaiserreich universe flag sets


Could not deploy code to HoloLens

I have to implement something that's how to access the camera of HoloLens and send the video stream to PC side. According to the mentioned step, I do the same step. I just build the project and do not change anything in the DLL file. Because I just want to run the example project at first. So, for this at first, I build the plugin, at that time I also setup missing NuGet packages. Then I jump to "Running the example Unity Project". in Unity, there's no problem with building the SDK and other parameters.
Now, go for VS solution, setting the deploy (ARM to x86, Device) and when I start to debug and deploy the code to HoloLens, at that time there has an error generated in Visual Studio.

Severity	Code	Description	Project	File	Line	Suppression State
Error The command ""C:\unity\Hololens\App\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\unity\Hololens\App\Hololens\project.lock.json" -bits=32 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.16299.0 -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Debug" "C:\unity\Hololens\App\Hololens\Assembly-CSharp.dll" "C:\unity\Hololens\App\Hololens\Assembly-CSharp-firstpass.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.Analytics.dll" "C:\unity\Hololens\App\Hololens\nunit.framework.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.UI.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.HoloLens.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.Networking.dll" "C:\unity\Hololens\App\Hololens\UnityEngine.VR.dll"" exited with code 1.	Hololens	C:\unity\Hololens\App\Hololens\Hololens.csproj	282

Now, I'm stuck with this. Could you please help me to solve this? Please tell me what I could and how I could solve it. For your info, I also attached this image.
For your info, I want to mention that I use Unity Version: 5.6.0f3 and the Visual Studio 's version is: Visual studio community 2017 .

@istiaqMahbub : I get the same error message using Unity 2017 and Visual Studio 2017. Tried both branches of the HoloLensCameraStream, namely the original for Unity 5 and the (almost) fully upgraded one for Unity 2017. However, the error occurs on both versions for me.
Any updates on that particular issue?

@istiaqMahbub: okay I am pretty sure the problem was due to an older Unity Version. I tried with 2017.2 before and I got the same error. Once I upgraded to 2017.3 the assembly error did not show up anymore. However, an exception occured on InvokeOnAppThread() in VideoPanelApp.cs. So appearantly something is wrong with the threading. A quick fix is outcommenting the following codeline (~77) in VideoPanelApp.cs:
// UnityEngine.WSA.Application.InvokeOnAppThread(() => { _videoPanelUI.SetResolution(_resolution.width, _resolution.height); }, false);
and exchange it with:
_videoPanelUI.SetResolution(_resolution.width, _resolution.height);
The VulcanTechnology HoloLemsCameraStream Project works now for me (except for the projection sample).
Best,

We're using it with projects on Unity 5.6.5f1 and 2017.2.1f1 and with the latest version of visual studio. The I think the SerializationWeaver problem goes away if you delete your Build (App) folder and regenerate it.
@MaXvanHeLL Yes, InvokeOnAppThread doesn't work anymore on the newer versions of Unity. I made a branch that successfully upgrades HoloLensCameraStream to Unity v2017.3. Check it out here. You can see from the changelist that I ended up making my own version of InvokeOnAppThread that should be threadsafe (it's not really tested).

@motionsmith I downloaded your branch you suggested and even switched up the line of code, @MaXvanHeLL included. Still I get the same error as @istiaqMahbub
I'm using Unity 2017.3.1f1 and Visual Studio 15.3.2

Hah, wow that's good to know @eco3. Hopefully this will be helpful to others.


Async checkpointing race conditions

🐛 Bug
We've seen flakiness in the CI due to race conditions in the async checkpointing logic.
 A top-k deletion could happen any time. If the thread is trying to write the same file, there is a race condition.
Environment
lightning 1.8.0dev
pytorch 1.10
Additional context

cc @awaelchli @ananthsub @ninginthecloud @rohitgr7 @otaj @borda @akihironitta

should we use save_top_k=-1 then in the test?

Wouldn't the teardown in AsyncCheckpointIO take care of shutting down the executor when fit is about to finish?

Yes exactly. This is happening during fit, not after. The main process assumes the file has already been saved, and is so far ahead that a new best value is found, hence it is going to attempt to remove the oldest topk checkpoint.

should we use save_top_k=-1 then in the test?

so do you agree? I think there's no way to avoid this. We can add a note too about this.

Yes, for now we can add the top_k=-1 to avoid the problem.
The larger issue can probably be solved by implementing the remove_checkpoint and using a lock, so only one of these operations can be carried out at a given time.

Do you mean a lock that ensures that the queue is empty and all the requested files are saved before anyone of them could be removed?

I think using a lock on a particular file (such as empty file with a special name, i.e. f".{filename}.lock") is the best option here. Then all the operations (loading, deleting, etc.) could check for presence of such lock and wait until it's not there

I think using a lock on a particular file (such as empty file with a special name, i.e. f".{filename}.lock") is the best option here.

Definitely not. Such a file I/O would experience the exact same race condition issue. I was talking about a threading lock.
While it is clear that we would use a threading lock to prevent simultaneous access to the file from different threads, it remains unclear how we would use it to resolve the queue. Our removal operation currently has no connection to the queue of files being processed by the thread.  For example, removing a file that is in the queue could be interpreted as skipping to write that file.

for async checkpointing it's recommended to set save_top_k=-1

Yeah just think I hit another similar problem? Thought it would be saving the best 5 models, but instead I've just ended up with the first 5. Thanks for this warning, really needed.


Implement MultiSig account support

Implement all functionality related to MultiSig wallet accounts.

It'd be great to see all the scripting possible with docs and examples now or when it does become possible on the L1.


Preset "mp3" is not defined!

i dont know why is this happening

Can you show me the exact way you are using it? (paste the command with arguments)

var options = {
url: '',
preset: 'mp3'
};
// 'mp3' has been defined inside presets.json

My apologies, it looks like there is a set of changes I never committed. mp3 should not be in the presets. If you pulled from NPM and it has it, then I have not updated it there either.
Youtube videos don't have mp3 streams available, so for now use the audio preset. Currently it will download an mp4, but I need to do some tweaking with that as well to make it an audio mp4 (see #2 for details). I will try to get mp3 working as well, but that might take some more time.

ok! thanks, if you need help here i am :)

FYI this will soon be resolved after I implement the CLI feature of Pully 2.0!

Implemented in 4c0937a. Feel free to re-open if any problems arise!


AnySAMInputFormat ignores BAM read flags

Hi all,
I tried to read in a BAM file with HadoopBAM. it looks like AnySAMInputFormat ignores the read flags from my BAM file. (Works with SamReader)
AnySAMInputFormat:
HWI-ST301L:236	0	rCRS [...]
SamReader:
HWI-ST301L:236	76	rCRS [...]
Is this a known issue? Maybe I'm missing something?
thanks!

hi all,
I double checked everything on my side and identified an error in my BAM test case. sorry for that. I'm closing this now.


util: removing some exceptions

Risk Level: low
Testing: updated tests
Docs Changes: n/a
Release Notes: n/a
envoyproxy/envoy-mobile#176

/wait on CI

/retest


API for deleting a package or a package version.

This PR implements the API for :

Deleting the package as a whole.
Deleting the version of a package.

Thanks @arteevraina  , Looks Great.


Markdown: Sanitizier Configuration

Allowing the gitea administrator to configure sanitization policy allows
them to couple external renders and custom templates to support more
markup. In particular, the pandoc renderer allows generating KaTeX
annotations, wrapping them in <span> elements with class math and
either inline or display (depending on whether or not inline or
block mode was requested).
This iteration gives the administrator whitelisting powers; carefully
crafted regexes will thus let through only the desired attributes
necessary to support their custom markup.
Resolves: #9054

[x] I have read the contributing guidelines.
[x] I have used the DCO sign-off.
[x] I have attempted to run unit tests

This failed for me on === TestXSSUserFullName (integrations/xss_test.go:17), but master branch also failed for the same test case.

[x] I ran make golangci-lint (since make lint seemed to suggest make revive was deprecated):
bash      $ make golangci-lint      golangci-lint run --timeout 5m      WARN [runner] Can't run linter unused: buildssa: analysis skipped: errors in package: [-: code in directory /home/cipherboy/GitHub/cipherboy/gitea expects import "code.gitea.io/gitea"]       WARN [runner] Can't run linter goanalysis_metalinter: assign: failed prerequisites: inspect@_/home/cipherboy/GitHub/cipherboy/gitea       $

I'm currently running this on git.cipherboy.com and it works for my use case.
Would you want a test case for this? I'm not familiar with your test setup, so I'd appreciate an example for how I should test this if so.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@eb0359c). Click here to learn what that means.
The diff coverage is 2.66%.

@@            Coverage Diff            @@
##             master    #9075   +/-   ##
=========================================
  Coverage          ?   41.08%
=========================================
  Files             ?      548
  Lines             ?    71493
  Branches          ?        0
=========================================
  Hits              ?    29373
  Misses            ?    38407
  Partials          ?     3713

Impacted Files
Coverage Δ

modules/setting/markup.go
1.35% <0%> (ø)

modules/markup/sanitizer.go
77.5% <18.18%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb0359c...0f24b7d. Read the comment docs.

Note: make lint is deprecacted as you've said. I meant to suggest:
make golangci-lint
make revive

They don't go through the same checks: some things pass one and not the other. Anyway, your build is already passing our CI test, which runs those two plus several others.

Ah -- I had left one additional log.Fatal that I've removed in this last push.
This should be better now and address all of the above comments.

Maybe set different policy for different render tool is better?
[markup.asciidoc]
ENABLED = false
; List of file extensions that should be rendered by an external command

; policy rule and the set may be redefined multiple times to add multiple
; rules.
;ELEMENT = span
;ALLOW_ATTR = class
;REGEXP = ^\s*((math(\s+|$)|inline(\s+|$)|display(\s+|$)))+

Or render tool could override the global one.

Maybe set different policy for different render tool is better?

I disagree.
IMO, you'd want all policy in one place so that you can see exactly what it is you're allowing. Then you don't have to scroll to different places in the file and parse each set of configuration in your head and compare them; it is all right there.
If one markdown tool adds:
[markup.asciidoc]
ENABLED = true
ELEMENT = span
ALLOW_ATTR = class
REGEXP =

And another adds:
[markup.pandoc]
ENABLED = true
ELEMENT = span
ALLOW_ATTR = class
REGEXP = ^(info|warning|error)$

Which wins? Is it order dependent? What's the parse order of the separate markup.<UTIL> sections (I'm assuming top->bottom or in random order if the sections are stored in a map, but the ini library is a 3rd party dependency so it is best to treat it as an opaque blob since it isn't specified in the API docs AFAICT)? If the admin added these on separate dates and forgot, how would they be notified of the potentially ambiguous policy (is bluemonday sanitation is order-dependent, i.e., first-added rule wins or last-added rule wins?)? Would we have to parse each policy and ensure that, under bluemonday's interpretation, it'd be unambiguous? etc.
Best to have all policy in one section so that the admin can hopefully craft unambiguous rules, and so that it is easier to fix.
Comments are allowed in the INI file between keys, so if the admin wants to annotate them as applying to given markup, they can do so.

@cipherboy
I mean a render tool could override the default sanitizer configuration. That should be more flexible but it will increase the implementation complicat. I'm also OK with current change.
[markup.sanitizer]
; The following keys can be used multiple times to define sanitation policy rules.
;ELEMENT = span
;ALLOW_ATTR = class
;REGEXP = ^(info|warning|error)$

[markup.asciidoc]
ENABLED = false
; List of file extensions that should be rendered by an external command

; policy rule and the set may be redefined multiple times to add multiple
; rules.
;ELEMENT = span
;ALLOW_ATTR = class
;REGEXP = ^\s*((math(\s+|$)|inline(\s+|$)|display(\s+|$)))+

I mean a render tool could override the default sanitizer configuration. That should be more flexible but it will increase the implementation complicat. I'm also OK with current change.

Ah sorry I missed that reply. Yeah, that's better. I think my points still stand, but your way would let the admin find the right balance between "all global" and "all local".
I don't think it'd be much work to do, I'm just not personally that interested in doing it. :)
(You'd mostly just call newMarkupSanitizer on every markup.* item and add logic to deal with creating/extending ExternalSanitizerRules as necessary based on the number of the rules in this section versus the slice's actual length and capacity.)

Ah sorry, I tend to be from the crowd that does a habitual master branch update followed by a rebase and squash of any fixes. :) Pretty git histories

Please resolve the conflicts

ACK, rebased.

Make lgtm work

Thanks for the merge!


HIP-CPU for other CPU architectures?

Hello,
I have a few questions about HIP-CPU. First, is the intent for HIP-CPU to only support AMD CPUs, or will the project accept upstream efforts to run this on other architectures (ARM, RISC-V, etc)?
Also, what does it use to parallelize? From what I can see, it doesn't use OpenMP, so does it do it all itself with pthreads or something similar? According to this, ROCm can use OpenMP as the "backend" so perhaps this is how HIP-CPU operates?
https://docs.amd.com/en/docs-5.3.0/reference/openmp/openmp.html
Thank you!

@jdayal-ssi  I do not believe we have any issues acceptching patches that attempt to get HIP-CPU working on other CPU architectures. We like AMD CPUs, of course, but the general idea of this repo is to help make HIP usable for everyone.
The current implementation uses Parallel Algorithms component of the C++ STL to implement the parallelization. On GCC for Mac and Linux, this implementation uses TBB under the hood.

I do not believe we have any issues acceptching patches that attempt to get HIP-CPU working on other CPU architectures.

This is good to know! I ask a similar question on the HIP github, and they were firm that HIP would only accept patches or changes for AMD related hardware: https://github.com/ROCm-Developer-Tools/HIP/issues/3263
From perusing the documentation, it also states that ROCm can use OpenMP to parallelize on CPUs and accelerators (via target offload). Are there reasons why HIP-CPU takes a different approach than the ROCm + OpenMP route? Thanks in advance!


[AIRFLOW-729] Add Google Cloud Dataproc cluster creation operator

Add an operator to create a Google Cloud Dataproc cluster with a given name in a given google cloud project.
The operator checks if there is already a cluster running with the provided name in the provided project.
If so, the operator finishes successfully. Otherwise, the operator issues a rest API call to initiate
the cluster creation and waits until the creation is successful before exiting. Most of the possible cluster customisation parameters available in dataproc are made available when constructing the operator.
Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-729

Testing Done:

Unittests not possible due to private google cloud connections. Extensive production testing has been performed.

Current coverage is 67.00% (diff: 100%)

Merging #1971 into master will decrease coverage by 0.01%

@@             master      #1971   diff @@
==========================================
  Files           135        135
  Lines         10255      10255
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6873       6871     -2
- Misses         3382       3384     +2
  Partials          0          0

Powered by Codecov. Last update 9df4789...d113330

Hi @bolkedebruin
I changed the zone parameter to be required and adopted the logging.info method. However, I also feel that the INFO level is more appropriate to follow the task progress.
Another question: I see that that you adhere to the 90 characters limit for line lengths (original PEP-8 recommendation). However, I believe that sometimes this is bad for code readability... A lot of modern open source projects have already extended the limit to 120 characters (which is also the default in IDE's like pycharm). What do you think of this?
Thanks,
Bob

@bolkedebruin I think it's good, if we get +1 for @criccomini I'll merge it in before tonight. I want to build a new alpha to run on our environment and would like to have this one and the other included.


fix(package): remove unnecessary webpack dependency (dev/peerDependencies)

This PR contains a:

[x] bugfix

Motivation / Use-Case
I think peerDependencies are a good way to signal that a library depends on a package in a given range that the user of the package will depend on anyway when using the package.
This is not the case for this package. As far as I can tell it doesn't need webpack. One could write a validator using it that will work just fine and have no webpack used in the chain whatsoever.
Additional Info
I just noticed that the CI scripts install webpack versions for testing which I think this doesn't make sense since it isn't used in the tests. Let me know if I should remove this as well.

@fahrradflucht I needed to revert some commits made to this repository to be able to upstream your chnanges to webpack itself. I force pushed them to the master, please either rebase your PR (sry about that) or let me know if should fix it myself

@michael-ciniawsky Done ✅

We now hit the famous jest/jsdom issue that arose in the last weeks though I don't really know why those dependencies got updated by this change.

jest --env node I fix it..


No sound nor banner alerts in the iOS (and Android?) apps

Summary
iOS app has no sound nor banner alert for incoming messages.
Environment Information

Device Name: iPhone 5
OS Version: 10.3.3.
Mattermost App Version: 1.2.0 build 49
Mattermost Server Version: 4.2.0 Team edition

Steps to reproduce
Check one or more incoming messages.
Expected behavior
There should be some kind of a sound and banner alert when the message arrives even in the closed start screen if the app is still open on the device. The settings for the Mattermos app is allow sound and banner alerts on the device settings.
Observed behavior
No sound nor banner alerts show up.
This is a team edition server without push notification settings configured.
If I understand right, the push notification server is only needed for alerts to the clients which are not open on the device, but if the client is open on the device, it should able to show alerts without the push notification server support, right?
This works for example with SpreedME app + server very nicely without the push notification server configured.

Hi @kaksikanaa - when you say "when the client is open on the device", do you mean while the app is running? Or when it is in background?
We have two types of notifications in the app right now.

Push notifications, which require push notifications to be set up on the server. I believe these are currently used for all notifications except when you have the app open.

In-app / local notifications that show up while you are using the app.

It sounds like you are suggesting we send local notifications more often so a push notification server is not required? Or are you suggesting something else?

Hi,
I've meant both situation or status of the app, while using it and while in background (but still open).
At the moment at least in our configuration, the only notification for incoming messages is the red number on the left corner of app screen (if the user is in another channel than were the new message was arriving (btw the Unreads at the top of the channel list is very handy, thank for that). But even the app is open and in front of you, there is no sound alerts nor banner alert. At least (user configurable on or off) sound alert should be played when new message arrives.
And yes, I would think that it would be nice if it is possible to avoid the push server setup + the recompiling your own apps if possible. Majority of people seems not to be bothered to leave the app open in the background if they want to be available while actually enjoying the possibility to stop all work(?) related communication by shutting the app totally.

For anyone interested in notifications without a push server, please upvote the feature here: https://mattermost.uservoice.com/forums/306457-general/suggestions/16853752-support-mobile-web-push-notifications

I have this issue as well - still. Extremely irritating for an app called mattermost, since if it really matters, you shouldn't use it... I see the issue was closed, but with no fix?


Implement indentation for all to_string() methods

All to_string() methods now accept an indent keyword argument, which can be either a number or a string. indentation=4 will indent each level of the output with four spaces. indentation="  " will indent each level by that many spaces. Other whitespace is also valid, e.g. indent="\t" for tab indents.
No indentation is performed by default, it will only be added if an initial non-zero/non-empty-string indent argument is given to whatever to_string() method is being called.
The methods also take additional arguments, meant for internal use:

indent_level is used to determine the number of times to insert the indent string before each line. The default for Graph is 0, the default for Node and Edge is 1. (This is so that e.g. edge.to_string(indent=4) will output an edge indented by 4 spaces). Each method increases the indent_level by 1 when calling other to_string() methods.

Graph.to_string() takes an inline argument, default False, which is used by Edge.to_string() when calling Subgraph.to_string() to output endpoints. It suppresses the indent on the first line, and the newline after the graph.

Also fixed some possible double-spacing:

In Graph when outputting anonymous subgraphs (subgraph  {)
In Edge before attributes (A -- B  [...];)

TODO

[ ] Could really use some tests
[ ] Think of corner cases where it might break? (I've even tried it with pydot.Dot instances generated by dot_parser.parse_dot_data(), so it's successfully formatted edges with frozendict endpoints and the like.)

Example input/output:
>>> from pydot import dot_parser
>>> graph_src="""graph G {
...     A [style=dotted, shape=box, color=red]
...     B [style=dashed, shape=square]
...     subgraph SG {
...         C [shape=box]
...         D [shape=circle]
...     }
...     A -- C [color=blue]
...     B -- { C D }
... }"""
>>> g = dot_parser.parse_dot_data(graph_src)[0]
>>> print(g.to_string())
graph G {
A [color=red, shape=box, style=dotted];
B [shape=square, style=dashed];
subgraph SG {
C [shape=box];
D [shape=circle];
}

A -- C [color=blue];
B -- subgraph {
C;
D;
};
}

>>> print(g.to_string(indent=4))
graph G {
    A [color=red, shape=box, style=dotted];
    B [shape=square, style=dashed];
    subgraph SG {
        C [shape=box];
        D [shape=circle];
    }

    A -- C [color=blue];
    B -- subgraph {
        C;
        D;
    };
}

>>> print(g.to_string(indent=" "))
graph G {
 A [color=red, shape=box, style=dotted];
 B [shape=square, style=dashed];
 subgraph SG {
  C [shape=box];
  D [shape=circle];
 }

 A -- C [color=blue];
 B -- subgraph {
  C;
  D;
 };
}

>>>


Book updates for Plugins

Overall the docs looked good, but there were some things that struck me as confusing to a new user.
So, I improved the wording, clarified some things, and added some details that were left out.
Let me know what you think.

Also, please note that I am merging this to master  rather than plugins in the hopes of getting it published faster if you approve.

I'll render a new book version and upload it a bit later.


Animations based on Previous Route

Ok. I'm stumped.
I would like to change parameters of transitions based on the route that I'm transitioning from, and I can't figure out how I can do this with ReactRouter.
The specific use case is the following:
When I transition from my home page to my "browse" page, I have this fancy animation that does a build out and then build in of the browse page. It's a special one off case. When I transition from my browse page to any other page (or vice versa), it's just a simple fade animation. I need to be able to control the parameters of what animations happen when.
I need to some how pass information between two RouteHandlers during a transition (either by props or by some other mechanism). Is this at all possible, or am I going about this completely the wrong way?
I think I'm having a similar problem to the issue described in #681.
Any help would be very much appreciated.
Thanks!
-Adam

Router.run(routes, (Handler, state) => {
  React.render(<Handler {...state}/>, document.body);
});

You'll have this.props.routes that you can inspect, as well as this.props.params. Every route transition will also now cause componentWillReceiveProps to fire where you have access to nextProps and this.props to do whatever comparisons you need :)


Specify namespace with apig gen --all

WHY
When user executes apig gen --all at application repository, API namespace always rewrite as "" (empty string).
WHAT
Add --namespace option to apig gen command, like apig new command.

Thank you! But, actually namespace should be parsed by existing template.
I think this is not so difficult. Do you want to merge this?

Okay, I'll create another patch along with your idea. That looks smarter than mine.

I also think that --namespace option is still useful if user wants to change API namespace at once. So...

If --namespace option is passed, apig uses the passed value.
If not, apig tries to parse existing router.go and extract namespace from it.

@awakia How do you think about this?

I think, vcs and username is not supplied as gen command. If so, just giving namespace is confusing. Another staff is, changing namespace needs to change only one lines of code. That may be useless.

vcs and username is not supplied as gen command.

changing namespace needs to change only one lines of code

Thanks, you're right. We no longer need --namespace anymore.
I created #58 which implements extracting namespace from routes.go, so now I close this. Please take a look of #58.