Select-all toggle in tree example has the wrong state

Bug, feature request, or proposal:
Checkbox tree don't work properly (official documentation example) => https://material.angular.io/components/tree/examples
What is the expected behavior?
Se attached images, after click on parent childs are not selected
What is the current behavior?

What are the steps to reproduce?
see my images and offical examples:
https://material.angular.io/components/tree/examples
or:
https://stackblitz.com/angular/gabkadkvybq?file=app%2Ftree-checklist-example.ts
Thanks and Regards

Actually the problem is not the children selection, but the root internal handling:

As you can see in the above image, the properties indetermined and checked are set as false both on the root left on the initial situation (Reminders) and on the root on which I followed the steps on the initial post (Groceries).
The first root is both not-indefined and not-checked, but is displayed as checked,

I ran into the same issue a couple of days ago, I managed to find a solution.
On the checkboxes I suggest  to bind the handler to the "click" event instead of the "change" .
First in the handler do event.preventDefault() so the internal state of the checkboxes won't change and it
won't affect the visual state of the checkbox.
The handlers:

For simple node, toggle it's state and then go over all his ancestors to the top and update the state by using the descendantsAllSelected and descendantsPartiallySelected for each ancestor.
For parent node which contains children, instead of simple toggle
"this.checklistSelection.toggle(node);"
get it's new status by the data of it's descendants, as mentioned in section 1

More over, consider adding the mappers of simpleNode and flatNode inside the dataSource. It will save time and space instead of declaring about those every time.

Found a solution:
in the component you have to define another method, say descendantsAllUnselected(node), similar to the existing descendantsAllSelected(node).
  descendantsAllUnselected(node: TodoItemFlatNode): boolean {     const descendants = this.treeControl.getDescendants(node);     return descendants.every(child => !this.checklistSelection.isSelected(child));   }
In the HTML, change the [checked] property of the root checkbox to
[checked]="descendantsAllSelected(node) || !descendantsAllUnselected(node)".
Why? I don't know. But it works.
Probably there's a bug in the isSelected method of the class SelectionModel.

@bellons91, with your solution if you:

expand "Groceries"
check "Almond Meal flour"
check "Groceries" => all "Groceries" childs become checked, but "Grocerie" becomes unchecked

@Nastia1409 This solved the issue for me. Thanks!

@ducalai damn, you are right! Thanks

I have found a solution, I will be creating a pull request shortly. It also solves your problem @ducalai

@fabioloreggian thanks for your solution! Almost done...

Expand Groceries
Check "Almond Meal flour"
Check "Organic eggs"
Check "Protein Powder"
Check "Fruits"
=> "Groceries" becomes checked
Uncheck "Groceries"

=> All children stay checked


Split Gem

For some projects, it might be helpful to only use the error recording & notification part and Skip the View entirely.
The standard errdo gem could become sth. like an umbrella component which links to both errdo-view, errdo-notifier and those could depend on errdo-common.
Similar to how kaminari handles it.

I don't really plan on doing this because I think it's useful mostly as a small, tight package without multiple gems.


Remove support of AEM PIN feature (never activated in OS)

Description
The goal of this PR is to remove support of AEM PIN feature (never activated in OS anyway)
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[*] Other (for changes that might not fit in any category)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.49%. Comparing base (e8f68a6) to head (324c975).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #834   +/-   ##
=======================================
  Coverage   35.49%   35.49%
=======================================
  Files          13       13
  Lines        1606     1606
=======================================
  Hits          570      570
  Misses       1036     1036

Flag
Coverage Δ

unittests
35.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


v0.25.0 deployment to official site failed

Introduction
It seems v0.25.0 deployment failed today
To Reproduce
N/A
Actual behavior
Github Action triggered the website deployment but dokku deployment log (Push to dokku, line 120) show v0.24.0 being started:
remote:        [2024-07-13T06:23:10.461Z INFO  sqlpage] SQLPage v0.24.0 started successfully.
https://sql.ophir.dev/documentation.sql shows v0.24.0 as version number
https://sql.ophir.dev/blog.sql shows error Invalid function call: sqlpage.link(COALESCE(external_url, ''), CASE WHEN external_url IS NULL THEN json_object('post', title) ELSE NULL END): Unknown function "link".
Expected behavior
v0.25.0 running on official site :)

It's fixed. Thanks for reporting!
The version update on the server is not yet automated.


Deprecate --watch

See https://github.com/dahlia/libsass-python/issues/155#issuecomment-235489107

Coverage decreased (-0.3%) to 94.204% when pulling 0851d3490cf6df52eca30dbdd6d9f14ceb12aff4 on asottile:deprecate_watch into d9159b9df7675cd666b834df626f8e7cc3e997dc on dahlia:master.

Looks good to me!

Sweet, thoughts on #157? It's why this build is failing


HoI4 further 1.5 update

-Added OCC flags from Vic2
-Added HPM jewish_cultures culture group
-Icons for culture-ideas
--Somebody to actually better draw the new ones is welcome, they currently look like '90's jpgs
-All generic cultural unions of Vic2 can now be created (Arabia, Scandinavia, UK, France, Yugoslavia, Romania, Hungary, Czechoslovakia, Russia, India, Poland-Lithuania, United Baltic Nations, Germany, Italy)
--Those tags are supposed to be ALWAYS coded. The decisions are blanked out for now.
--Country color won't change, sadly
-Missing radical and absolutist flags for union nations added
-Fixed the Ottomans<->Turkey name switching decisions
-Fixed Detroit and Buea (Cameroon) giving weird mappings, and Agades (Niger) giving split states
-Fixed Macedonian, Kosovar, and Montenegrin borders
-Fixed Slavgorod-in-Kokshetau enclave, fixed Peremyshl-missing-province (HoI3236)
-Fixed Uruguayan border
-Fixed locations of some cities (may cause enclaves, didn't see if)
-Added Barbarian and new flags from Vic2
-Added icons for cultural ideas
-Added new cultures (Gypsy, Brithenig, Gaul, Läßin)
-Removed some "generics" portraits
--The zz_ file contains the one that doesn't use historical figures
-Added missing absolutist and radical portraits in case of in-game random leader generation
-Fixed the "release button" going canine
-Added some names
-Added OP modifiers to the easter egg cultures (Cats, Horses, Bears, Undead, and Aliens)
-Added female surnames for ethnicities that would need them
-Added descriptions to the cultural ideas (better revision for translation would be welcome)
-Added HFM cultures

An all-inclusive pull request is too much to review. I need this to be split into smaller, more focused ones, such as one for flags, one fixing the graphics issue, one for the cultures, etc.
Also, you totally stomped on the updated spanish localisations we were given. You need to make sure to pull the latest from the main repository before doing your work in your repository.

Ah, sorry, I'll do fix this tomorrow. Also, I pulled it from the latest I could find.

Thanks!

For the other remaining parts, I could not manage to get a pull request somehow. Here I leave them as .zips:
GFX and name conversion update
(to put directly into /Data_Files)
Vic2HoI41.5D.zip
Added HPM culture groups and a historical figures' based conversion. Also added female surnames.
MAP conversion
(again, to put directly into /Data_Files)
Vic2HoI41.5E.zip
Fixed some minor border tweaks, notably:
-Cameroonian-Nigerian border
-Split Agades (Niger) state
-Serbian Southern borders
-Uruguayan border with Brazil
-Some cities' locations
Generic portraits fix
(to put into /Data_Files/blankMod/output)
Vic2HoI41.5F.zip
A little edit that gives continental default "Absolutist" and "Radical" portraits. This is to ensure that, in case of an ideological change, there won't just be a grey suit.
Here I ended splitting the 1.5 further update, with these above and the pulls #536, #537, #538, and #539.

Update has been split finally into #536, #537, #538, #539, #558, #559, and #560.

Thanks!


Android source code

Hi guys
it seems that this source code for the web application not for Android version,
So How to get the source code for Android application.
Thanks

There is no Android version of this specfic chat app. But there are dozens of open-source Android chat apps built on Firebase. For example look at AndroidChat or the sample app for our FirebaseUI library. An even better idea might be to take this codelab that teaches how to build a chat app for Android.

but there is Android App https://play.google.com/store/apps/details?id=com.opengarden.firechat
is it open source or not?

but there is Android App https://play.google.com/store/apps/details?id=com.opengarden.firechat
is it open source or not?

but there is Android App https://play.google.com/store/apps/details?id=com.opengarden.firechat
is it open source or not?

That is a completely different Firechat, which has nothing to do with
Firebase. I don't think the source for that is available, but you'd have to
check with Open Garden.
On Tue, Mar 15, 2016 at 10:26 AM hana9090<EMAIL_ADDRESS>wrote:

but there is Android App
https://play.google.com/store/apps/details?id=com.opengarden.firechat
is it open source or not?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/firebase/firechat/issues/53#issuecomment-196935744

The new location of the Firebase Android Chat codelab is this


Light client: further trait impls, improvements, and tests

Supersedes  #63: clean-up the commit history and rebased the changes of #63 on master.
From #63's description:

#59 should be merged first (hence a draft)
ref #36
Update: Since this PR was opened (mostly to show the impact of #59), it grew to contain several further PRs added in by @yihuang (big thanks). These added 2 missing impls, resolved a few encoding edge cases and simple (json-based) tests.
Particularly:

#67
#68
#66
#69
#70
#72
#79

Additionally this PR introduces a TrustLevel trait via bd26e74 and adds a verify method that is closer to the (current) spec / go-code in 017c1ba (with a few tests from JSON).

TODOs:

[ ] rebase on master
[ ] deduplicate by adding a verification method to the Commit trait (which takes a validator-set) instead of doing: https://github.com/interchainio/tendermint-rs/blob/7b264815946b540d2b49f0c47ed2a47c45c5387e/tendermint/src/lite/verifier.rs#L120-L133 and https://github.com/interchainio/tendermint-rs/blob/7b264815946b540d2b49f0c47ed2a47c45c5387e/tendermint/src/lite/verifier.rs#L163-L184
[ ] rename https://github.com/interchainio/tendermint-rs/pull/84#discussion_r356915744 (and other occurrences)?

I'd appreciate another pass of reviews here. I started working on putting this all together but it would be nice to merge this soon and continue with the remaining parts of the light client (on-top of these changes):

initial config for light client
requesting from multiple peers (networking)
storing state (memory, DB)
detecting misbehaviour, gossiping misbehaviour
bisection
creating command line tool (light client daemon)


[Issue - 3788] Extension - Fix min stake for TAO(Bittensor)

🚀 Deployed on https://pr-3804--sw-web-runner.netlify.app


Link to translate.getmonero.org is dead, how to fix translation?

At https://github.com/monero-project/monero-site?tab=readme-ov-file#translation is a link to https://translate.getmonero.org which fails to load (Bad gateway Cloudflare error).

thanks, back end admin is aware, It's an on-going issue for over a year now. It seemed to have been resolved recently but then back offline. Im currently on-boarding myself for actually pulling in changes from weblate and getting them live on site, spent the last several days setting up some automated workflows and such. ill soon be ready to actually work with an 'online weblate'. we can keep this issue open until that happens.

@xmrscott has stepped forward to undertake the role of translations coordinator. i have made progress with updating current translations https://github.com/plowsof/monero-site/pull/28 and will handle reviews/conflicts to add in the new stuff from weblate to give them a head start where possible. leaving the remaining issue: an online / stable weblate instance. Digilol has shown interest in this handling that for core.

@plowsof any update? If no one is willing to fix Weblate then why not pay Weblate to do it for you?


support links

Which problem is this PR solving?

Short description of the changes

Codecov Report

Merging #5 (4e7aca0) into coralogix-autoinstrumentation (8d6e135) will not change coverage.
Report is 1 commits behind head on coralogix-autoinstrumentation.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                      Coverage Diff                       @@
##           coralogix-autoinstrumentation       #5   +/-   ##
==============================================================
  Coverage                          96.06%   96.06%
==============================================================
  Files                                 14       14
  Lines                                914      914
  Branches                             199      199
==============================================================
  Hits                                 878      878
  Misses                                36       36


Remove default arguments from private functions

Since these are only ever called internally, these arguments should
always be passed so it doesn't accidentally fall back to this file for
expanding #file and friends.

@swift-ci Please test

Thanks!


Fetch promise never completes due to swallowed RangeError

I'm in a scenario where the following happens:

I make a request to a particular API using node-fetch, telling the server to do some processing and stream back results as JSON as they become ready.
The API responds successfully and begins streaming back data.
There is much more data coming back than I expected, so I tell the API (via another HTTP request) to stop the processing.
The server complies (stops processing), and closes the initial stream.
Because the stream has closed, the end event is emitted on body.
While handling the end event, node-fetch tries to create a new ArrayBuffer from the data that has streamed in so far, but the amount of data is too large, and a RangeError exception is thrown.
node-fetch does not reject with the error in the end event handler, so the error is effectively lost, and the Promise that I received from node-fetch when I made the initial request is never resolved or rejected. The result is that the initial request continues to wait for the Promise to complete in some way, and (as a result) my UI currently shows the request as continuously ongoing.

Issue #203 is somewhat similar to this, though not identical. What I'd like to happen here is for node-fetch to reject with the error, as it does for other streaming errors, so that the Promise completes and my UI can update as expected. Is there any reason for that not to happen? If it sounds reasonable, I can submit a simple PR for this.

While handling the end event, node-fetch tries to create a new ArrayBuffer from the data that has streamed in so far, but the amount of data is too large, and a RangeError exception is thrown.

This definitely sounds like we should handle. So Buffer.concat(accum) is throwing the RangeError right? If so, I think that's worth catching.
I think you need a bit ingenuity to write a test for buffer.constants.MAX_LENGTH (the cause of RangeError I suspect), perhaps you can set it before the test and restore it after.

This definitely sounds like something we should handle. So Buffer.concat(accum) is throwing the RangeError right?

Yep, that's right.

I think you need a bit ingenuity to write a test for buffer.constants.MAX_LENGTH (the cause of RangeError I suspect), perhaps you can set it before the test and restore it after.

Yes, I believe that is the cause of the RangeError. I'll play around with that a bit and see what comes up. Thanks!


Android build fails with UnityException: JDK not found on Windows

Hi, thanks for making this action public. It's very helpful.
After using the action kuler90/setup-unity@v1 with Android on a windows-latest (windows-2022) image on github actions I get the following in the Unity build log (and the build fails):
DisplayProgressbar: Checking prerequisites
Android PostProcess task "Checking prerequisites" took 4.386 ms
DisplayProgressbar: Detect Java Development Kit (JDK)
UnityException: JDK not found
Java Development Kit (JDK) directory is not set or invalid. Please, fix it in Edit / Unity -> Preferences -> External Tools
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, Int32, BuildOptions, String[], Boolean)
UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, Int32, BuildOptions, String[])
UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, Int32, BuildOptions, String[])
UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)

The setup-unity log looks normal:
94.[69](https://github.com/Fologram/xr.unity/actions/runs/5664664631/job/15348281824#step:4:70)% of Unity editor "2022.3.4f1" was downloaded
97.83% of Unity editor "2022.3.4f1" was downloaded
Unity Editor "2022.3.4f1" successfully downloaded.
Installing Unity Editor "2022.3.4f1"Installation done
"C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless editors --installed

2022.3.4f1 , installed at C:\Program Files\Unity\Hub\Editor\2022.3.4f1\Editor\Unity.exe

"C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless install-modules --version 2022.3.4f1 --module android --childModules

Adding module android-sdk-platform-tools as dependency of android-sdk-ndk-tools.

Adding module android-sdk-build-tools as dependency of android-sdk-ndk-tools.

Adding module android-sdk-platforms as dependency of android-sdk-ndk-tools.

Adding module android-ndk as dependency of android-sdk-ndk-tools.

Adding module android-sdk-platform-tools as dependency of android-sdk-ndk-tools.

Adding module android-sdk-build-tools as dependency of android-sdk-ndk-tools.

Adding module android-sdk-platforms as dependency of android-sdk-ndk-tools.

Adding module android-ndk as dependency of android-sdk-ndk-tools.

Modules installed successfully.

Some discussions here that mention this was an issue (on ubuntu however...) in an older hub version when installing headless: https://github.com/game-ci/unity-builder/issues/489

I've worked around this by using powershell based on the js code from this repo
      - name: Install Unity
        id: install_unity
        run: |
          $match = [regex]::match((Get-Content -Path ProjectSettings\ProjectVersion.txt | Out-String), 'm_EditorVersionWithRevision: (?<version>[^\s]+) \((?<changeset>[^\)]+)\)')
          $unityVersion = $match.groups["version"].Value
          $unityChangeset = $match.groups["changeset"].Value

          curl --output installer.exe "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe"
          Invoke-Expression "& '.\installer.exe' /S | Out-Default"
          Invoke-Expression "& 'C:/Program Files/Unity Hub/Unity Hub.exe' -- --headless install --version $unityVersion --changeset $unityChangeset | Out-Default"
          Invoke-Expression "& 'C:/Program Files/Unity Hub/Unity Hub.exe' -- --headless install-modules --version $unityVersion --module $env:UNITY_MODULES --childModules | Out-Default"

          echo "UNITY_PATH=$("C:\Program Files\Unity\Hub\Editor\$unityVersion\Editor\Unity.exe")" >> $env:GITHUB_ENV
          ```


only debug mode works

everything works when in debug mode but when debug mode is off the bot dosent get online

everything works when in debug mode but when debug mode is off the bot dosent get online

Are you trying to run it on a VM? Because pysilon has Anti-VM protection and won't work a VM unless the debug mode has been turned on.

yes i was so i tryed it on my pc no vm and still nothing

how do you get your bot alive ?? mine wont work do you mind explaining how it works??

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


Cannot provide siteDir to external commands

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Hi All,
All internal Docusaurus commands accept the siteDir parameter in addition to other options:
yar docusaurus serve [options] [siteDir]
yar docusaurus clear [options] [siteDir]
...

That provides the possibility to execute internal commands from another directory. For example, considering the following project organization:
my-app/
|-- package.json
|-- docs/
│  |-- docusaurus.config.js

Internal commands can be executed directly from my-app, for example: yarn docusaurus serve -p 8081 docs
Whats wrong?
I cannot execute external command docs:version directly from my-app
yarn docusaurus docs:version 1  --> ❌ Not working
yarn docusaurus docs:version 1 docs --> ❌ Not working
yarn docusaurus docs:version docs 1 --> ❌ Not working
yarn docusaurus docs:version 1 --config docs/docusaurus.config.js  --> ❌ Not working

Reproducible demo
No response
Steps to reproduce

yarn install
yarn docusaurus docs:version 1

Expected behavior
[SUCCESS] [docs]: version 1 created!
Actual behavior
[ERROR] No config file found.
[INFO] Expected one of:

docusaurus.config.js
docusaurus.config.cjs
You can provide a custom config path with the --config option.
/my-app/node_modules/@docusaurus/core/lib/server/config.js:25
throw new Error();
^

Your environment

Docusaurus version used: 2.3.1
Environment name and version: Node v18
Operating system and version: MacOS Montery 12.3

Self-service

[X] I'd be willing to fix this bug myself.

Duplicate of https://github.com/facebook/docusaurus/issues/8903


Automatically detect valet isolated and global versions?

Works great! Thank you for your work on this! ❤
Curious also... Is it possible for zsh-valet to automatically read php versions from valet (the global default version, as well as isolated versions), rather than having to set a matching .valetphprc files and default version in our zshrc?

Oh I see in https://github.com/laravel/valet/pull/1216 that you are proposing valet which-php 😮  ...If that gets merged, maybe zsh-valet can use valet which-php to automatically determine the correct php version without the neeed for .valetphprc? 🙏

Thanks for the kind words @jesseleite!
This idea sounds great. Love it. I'll dig and see if we can make it work! Though valet which-php would be a bit expensive to run on each zsh directory change hook. I think we need to find a more performant way to handle this.

@NasirNobin Was thinking about that too...
Maybe laravel/valet could cache a single flat file somewhere, with the global php version, as well as site paths that are on isolated versions. This way tools like zsh-valet would only have to read a single file that already has all the paths/versions resolved. Thoughts?

That sounds awesome! 💪
Also what about for detecting the global php version in valet? Would be nice to do away with this, so that users don't have to keep this exported var in sync...
export<EMAIL_ADDRESS>


ARM CognitiveServices accounts documentation is not clear enough to create a Speech Services Resouce (InvalidTemplateDeployment)

Bicep version
Bicep CLI version 0.4.1008 (223b8d227a)
Describe the bug
Running the following main.bicep template fails to create Speech Services Resource and documentation for bicep resource for latest version is not clear enough to satisfy the template.
resource intelligentSpeechService 'Microsoft.CognitiveServices/accounts@2021-04-30' = {
	name: 'TestSpeechModels'
	location: 'eastus'
	kind: 'Speech'
	sku: {
		name: 'S0'
	}
}

Error Message:
{"error":{"code":"InvalidTemplateDeployment","message":"The template deployment 'main' is not valid according to the validation procedure. The tracking id is '5d786a00-252f-4cfa-9f9e-1bbdedd9abc7'. See inner errors for details.","details":[{"code":"UpdateKindNotAllowed","message":"It's not allowed to update kind of API account."}]}}

Documentation: https://docs.microsoft.com/en-ca/azure/templates/microsoft.cognitiveservices/accounts?tabs=bicep
To Reproduce

Create the above main.bicep template file
az login
az set subscription 'your-sub'
az configure --defaults group='your-resource-group'
az deployment group create --template-file main.bicep

Additional context
From the error message is sounds like "kind" field is incorrect. 'Speech' value was taken from docs on 2016-preview version

@slaterb1 - glad you were able to sort it out! The place in the docs I was trying to link you to was the "Export template and convert" section - which allows you to leverage the az group export command that generates a template on the fly based on your currently deployed resources, and then the decompiler to generate a Bicep file:

Thanks for the detailed info - I've raised https://github.com/Azure/azure-rest-api-specs/issues/16504 for the lack of intellisense on the kind field.
@tfitzmac - w.r.t documenting example templates, is the best place for this still the quickstarts repo?


Is EqualTo to allow “containsAll” mode for array and object

Partially fixed by #29

Contains, rather than equals is available on array, but not object.
E.g.
{ "a": "someA", "b": "someB"}

// does contain

{ "a": "someA" }

maybe:
assertJson(actual)
   .where().at("/").objectContains()
   .isEqualTo(expected);


examples/engine_with_historic_candles.rs breaks

File path issue
Tried run examples with the following command
cd barter-rs # Same level as barter-rs/Cargo.toml
cargo run --example engine_with_historic_candles

rust complains the data file candles_1h.json can not be found

Running target/debug/examples/engine_with_historic_candles
thread 'main' panicked at 'failed to read file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', examples/engine_with_historic_candles.rs:116:71

I guess this is because the path of the data file lives in barter-rs/examples/data/candles_1h.json, while the current working directory is barter-rs. The line causing trouble is in engine_with_historic_candles.rs line 116: let candles = fs::read_to_string("barter-rs/examples/data/candles_1h.json").expect("failed to read file"); When I changed the path to fs::read_to_string("examples/data/candles_1h.json"), The error can be fixed.
I am not sure if this is a bug, or I am in the wrong directory? What is the expected working directory for a new user to run the example with cargo run --example engine_with_historic_candles?
Data out of sync
The example requires the example has a field close_time:
    candles
        .into_iter()
        .map(|candle| MarketEvent {
            exchange_time: candle.close_time,
            received_time: Utc::now(),
            exchange: Exchange::from("binance"),
            ......

But the example data in candles_1h.json only has start_time and end_time, but no close_time:
  {
    "start_time": "2022-04-05 20:00:00.000000000 UTC",
    "end_time": "2022-04-05 21:00:00.000000000 UTC",
    "open": 1000.0,
    "high": 1100.0,
    "low": 900.0,
    "close": 1050.0,
    "volume":<PHONE_NUMBER>.0,
    "trade_count": 100
  },

resulting in this error:

Running target/debug/examples/engine_with_historic_candles
thread 'main' panicked at 'failed to parse candles String: Error("missing field close_time", line: 11, column: 3)', examples/engine_with_historic_candles.rs:119:55

This can also be fixed by replacing all the end_time fields with close_time in candles_1h.json. But I am not sure whether the start_time and end_time fileds are still valid fields to keep.

Hey, thanks for raising this.
I re-factored end_time -> close_time in barter data without thinking about this static file example!
Regarding the relative file path. I've updated to your suggestion. I've been running as part of a workspace (barter + barter-data + etc) and it did not occur to me this was an issue.
Please update to barter-rs 0.8.12 for the updates - thanks again it's much appreciated!


New watch screen

Currently when the user clicks on "Watch" it takes them to YouTube. Instead, it should just open a screen with the Irving Finkel YouTube video embedded.

I think this would be even better as its own page. Then we could list multiple different videos, and give titles and descriptions for the videos as well.

This has now been added at https://royalur.net/watch!


Build ingress-nginx for WAF and arm64

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 69.23%. Comparing base (b093e30) to head (baf3210).

Files with missing lines
Patch %
Lines

src/security/ddwaf_obj.h
0.00%
8 Missing :warning:

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
- Coverage   69.31%   69.23%   -0.09%
==========================================
  Files          36       36
  Lines        4879     4885       +6
  Branches      676      676
==========================================
  Hits         3382     3382
- Misses       1143     1149       +6
  Partials      354      354

Files with missing lines
Coverage Δ

src/security/ddwaf_obj.h
69.08% <0.00%> (-2.07%)
:arrow_down:


Leg split on land when jump turn

hello i have found another bug. this appear when rotation follow or aiming
Leg Split (Video Preview)

I recently fixed this issue with landing, make sure you have the latest version of the plugin

I recently fixed this issue with landing, make sure you have the latest version of the plugin

ah nice, thank you for this awesome work

hello i want to confirm this issue still remain on https://github.com/Sixze/ALS-Refactored/commit/b50c0d5734bdac2fcea6475f4581e5c5651c41b3

Fixed in a8bdfc6c328cbd52ad489aea8f5d3d2827d5a6d9.


This problem is fixed on v1.8.3, with d6e34fc0. Thanks.

CVE-2019-19777 has been sassigned to this issue.
Hello, I have some problems about cve sassigning. I submit some issues on CVE website.but i still don't recieve any reply about the issues after i got the request ID. If you known some reasons，you can send email to me(gutiniao666@hotmail.com).
Thanks

CVE-2019-19777 has been sassigned to this issue.

Hello, I have some problems about cve sassigning. I submit some issues on CVE website.but i still don't recieve any reply about the issues after i got the request ID. If you known some reasons，you can send email to me(gutiniao666@hotmail.com).
Thanks


Fix/type in min and max function

Description
improves the typing of the min and max functions.
Checklist

[x] Changes are covered by tests if behavior has been changed or added
[x] Tests have 100% coverage
[x] If code changes were made, the version in package.json has been bumped (matching semver)
[x] If code changes were made, the yarn build command has been run and to update the cdn directory

Resolves
Resolves #191
Adicional context
I ended up having to force a type in the getter function because I was having problems at the get function.
before
  const get = getter ? getter: (v: any) => v
  return boil(array, (a, b) => (get(a) < get(b) ? a : b))

after
  const get = getter ? (getter as GetterFunc<T>) : (v: any) => v
  return boil(array, (a, b) => (get(a) < get(b) ? a : b))

@rayepps  accept your settings. Thank you very much for the review, I really made some mistakes. And now I've learned a few things

Closing this as it's been a while


Fix uncaught exception when sending email

If there is no profile picture, when sending an email pictureStream is
null and results in an uncaught null reference exception on await pictureStream.CopyToAsync(pictureMemoryStream). Just skip attaching
anything in that case.

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


Gradle configuration issue | Android studio

Hello Great Developer,
I am just trying to implement video player in Recycler view, but i am not able to configure the gradle of Toro.
Here is my code -

    // Choose the suitable one
// 1. Only use Toro
    compile "im.ene.lab:toro:2.0.0-SNAPSHOT"
// 2. Or use custom player widgets, backed by ExoPlayer
    compile "im.ene.lab:toro-player:2.0.0-SNAPSHOT"
// 3. Or even want to try some customized extensions for ease
    compile "im.ene.lab:toro-ext:2.0.0-SNAPSHOT"

    compile 'com.github.eneim:Toro:1.2.0'

With above Gradle, i am getting this error -

Error:Execution failed for task ':app:processDebugResources'.
> Error: more than one library with package name 'im.ene.lab.toro'

@AndroidTechvalens Thanks. Please use v2 or v1 only, don't mix them up. Try to remove compile 'com.github.eneim:Toro:1.2.0' first and see if it works.

Currently just use compile "im.ene.lab:toro-ext:2.0.0-SNAPSHOT" will include everything from Toro. You don't need the 1. and 2.


RedHat9.2 exec k8s-driver-manager error

I use gpu-operator:v23.9.0 to install nvidia gpu driver, but nvidia-driver-daemonset pod start after, the machine will kernel crash.
I use GPU car is Tesla P4.
os info: Red Hat9.2,  kernel version is 5.14.0-284.11.1.el9_2.x86_64.
machine is install nouveau driver, and i use dmesg command to look kernel log, found having many error about nouveau:

@cdesiniotis Have you seen this error?

@lengrongfu I am not familiar. It is recommended to blacklist nouveau as it can conflict with the nvidia driver.

I am using gpu-operator to install the driver. Do I need to manually add nouveau to the blacklist before installing gpu-operator?

I am using gpu-operator to install the driver. Do I need to manually add nouveau to the blacklist before installing gpu-operator?

This is not a required pre-requisite, but because you are seeing errors from nouveau I recommended that you try blacklisting it. Like you pointing out, we do take care of unloaded in the module.

Ok, thanks, i exec blacklist nouveau after, k8s-driver-manager can exec success,

@cdesiniotis Let's discuss whether it is possible to develop a new feature to add an option to k8s-driver-manager to perform the operation of blacklist nouveau

Since blacklisting would require updating the initramfs and rebooting the node, it is not something we would be open to adding to this component. This should be done during infrastructure provisioning.


Sms not sending

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Vonage\Client;
use Vonage\SMS\Message\SMS;
use Illuminate\Support\Facades\App;
use Vonage\Client\Credentials\Basic;
public function sendSms(){
    $client = App::make(Client::class);
    $response = $client->message()->send([
        'to' => 'xxxxxxxxxx',
        'from' => 'xxxxxxxxxx',
        'text' => 'method is working  number'
    ]);
    if ($response->getResponseData()['messages'][0]['status'] == 0) {
        return 'SMS sent';
    } else {
        return 'Failed to send SMS.';
    }
}

public function sendSmsSecondWay()
{
    $toNumber = 'xxxxxxxxxx';
    $fromNumber = 'xxxxxxxxx';
    $vonage = new Client(new Vonage\Client\Credentials\Basic('VONAGE_API_KEY', 'VONAGE_API_SECRET'));
    $text = new SMS($toNumber, $fromNumber, 'Test SMS using Laravel');
    Vonage::sms()->send($text);
    echo "send by second way";
}

public function sendSmsThirdWay()
{
    $toNumber = 'xxxxxxxxx';
    $fromNumber = 'xxxxxxxxx';
    $vonage = app('Vonage\Client');
    $text = new \Vonage\SMS\Message\SMS($toNumber, $fromNumber, 'Test SMS using Laravel');
    $vonage->sms()->send($text);
    echo "send by third way";
}

I am getting 'Error: Class "App\Http\Controllers\Vonage\Client\Credentials\Basic" not found in file /var/www/html/laravel/app/Http/Controllers/CostController.php on line 195' while using  sendSmsSecondWay() function and
RuntimeException: Please provide your Vonage API credentials. Possible combinations: api_key + api_secret, api_key + signature_secret, private_key + application_id, api_key + api_secret + private_key + application_id, api_key + signature_secret + private_key + application_id in file /var/www/html/laravel/vendor/laravel/vonage-notification-channel/src/Vonage.php on line 109
this error comes when i use sendSms() function.
We are using
"vonage/client": "^4.0",
"vonage/client-core": "^4.3" We also tried "vonage/client": "^2.0","vonage/client": "^3.0",
PHP version: 8.0

The last two methods are likely to fail because the code has the Laravel wrapper - and - the core library. One is a dependency of the other. The advantage of using this library is to take some of this headache away
So taking the first example: it's definitely not taking the API Key and Secret, so I'd assume it's not pulling the environment variables from the config. Have you:

Published the package after installing it with composer? (i.e. php artisan vendor:publish?)
have the environment keys in your env file named correctly?

Closing due to inactivity


Hide input search when data array is empty

Hi Worksout,
I got this error when I typing search input with data array empty.

That is reason for this PR.
Thanks for your reading.

I'll check this soon. Thank you for contributing :)

@totanvix  I found that new code will disable renderSearchView when data (data array) is not empty. I will make a new issue for this, if you have a idea, just tell me  :)

@totanvix I found that new code will disable renderSearchView when data (data array) is not empty. I will make a new issue for this, if you have any idea, just tell me :)

@owonie I just updated my code to fix what you say, you can check it.


Feat/async api docs

name: Feat/async api docs
about: Contribute your changes to the project
title: Feat/async api docs
labels: ''
assignees: ''
Description
Spring boot starter for auto-generation of async-api docs (kafka topics).
Reference
Issues #144
Checklist

[ ] Acceptance criteria are met
[x] Pipeline has been run successfully
[x] JUnit tests have been run successfully
[x] Changelog is adjusted
[x] Documentations are completed
[ ] Frontend is tested
[ ] Created sub-branches are deleted
[ ] Boards are updated ( Digitalisierung , Support , Zenhub )
[ ] feature process is created or extended
[ ] git-ops is customized
[ ] Openshift environments are prepared (Secrets, etc.)

Die Dokumentation Repositories fehlt noch.

In my point of view it only works with kafka right? There are a lot of kakfa related dependencies and classes and dependencies. Should this be more present in the README?


canSubmit is not set in state when provided to defaultState prop at form initialization

Describe the bug
I'm trying to create a read only version of a form in React. react-hook-form has the disabled prop in the UseForm prop which propagates to all fields and I hope a similar feature could be added to Tanstack form. I wanted to emulate a read only form by setting canSubmit to false in the defaultState option. Then, by checking if both canSubmit and isSubmitting are false, the form must be read only. I hope my understanding about how those two fields work is correct.
However, I found out that the value for canSubmit is ignored when provided to defaultState. A simple example is as follows:
const form = useForm({
  defaultValues: {
    firstName: '',
    lastName: '',
  },
  defaultState: {
    canSubmit: false,
  },
});
console.log(form.state.canSubmit); // Evaluates to true

Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-form-vzvauf?file=src%2Findex.tsx
Steps to reproduce

Create a form object using the useForm hook with defaultState: { canSubmit: false } in the props.
Evaluate the resulting value of form.state.canSubmit

Expected behavior
By submitting canSubmit: false in the defaultState, I expect the state after initialization to contain a false value for this property. The value is true however, which is not expected. If this is intentional, it is very counter-intuitive, but if this is unintentional then I think it needs fixing.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Chrome
Version: 128

TanStack Form adapter
react-form
TanStack Form version
0.32.0
TypeScript version
No response
Additional context
No response

To be fair, the docs you're pointing to are actually autogenerated and only really meant for deep dives and assistance in reading the codebase.
What guidance are you generally looking for here?

I'm not sure I understand your question. In my experience, the API exposed by a library is exposed specifically because it is made available to a user. The same goes for documentation for said API. When something is meant for development or testing, I see it is generally left out of the documentation, marked private, or is clearly indicated to be for internal use only (for example a field called internalState). That way it is made clear to a user not to touch those parts of the API. It is also why I found it interesting to hear that defaultState was for internal use only, even though it was mentioned in the API reference. Personally, I read API reference documentation quite a lot because it helps me get the most out of libraries, more than basic how-to guides.
Regardless, I totally understand that things like this are inevitable for libraries that haven't matured yet. When I installed this library, I expected there to be peculiarities that hadn't been fleshed out due to it being a pre-1.0 release. Still, I do think it can be helpful to mark those fields as internal one way or the other to prevent users like me making bug reports about parts of the API that are supposed to be internal and are thus not behaving as expected.
As for the specific reason this issue came up: I'm making a CRUD application and I hoped to populate the fields with the Form API in a read-only state. That way I could use the same layout for not only the C and U, but also the R. As I wrote in the original post, react-hook-form has a disabled prop that propagates it to all fields, which this library lacks. I had hoped to have found a work-around by setting canSubmit to false in defaultState, so that the state with both canSubmit and isSubmitting being false would resemble the state of a read-only form. But as defaultState turns out to be for internal use only and thus does not behave as one would expect, this work-around does not work.

While canSubmit should probably not be overwritten, I found the underlying issue causing this problem: https://github.com/TanStack/form/issues/1036
We're actively working on a fix right now as part of #1038. Closing in favor of 1036 so we can retain more technical internals discussions


Code Review

Small utility to cast an array from one data type to an array of a different data type. Effectively does a copy-by-value. Supports array-like objects, although best not to use to cast arguments to an array.
Relies on both compute-array-constructors and compute-array-dtypes being published before being publishable.

Looks good to me now. Publish?

Done.


fix: Edit page not accessible on hebrew

What
On languages with RTL layout the edit pages are not accessible, because we add something to the before as not growable declared list

Codecov Report

Merging #3453 (14c040a) into develop (c7034d7) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #3453   +/-   ##
========================================
  Coverage    11.26%   11.26%
========================================
  Files          260      260
  Lines        12583    12583
========================================
  Hits          1418     1418
  Misses       11165    11165

Impacted Files
Coverage Δ

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
87.60% <0.00%> (ø)

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


怎么使用lora模型

请问怎么基于oneflow使用lora模型，有相关使用文档吗？

https://github.com/Oneflow-Inc/onediff/blob/main/examples/text_to_image_sdxl_lora.py
Please update to the latest version: https://github.com/Oneflow-Inc/onediff?tab=readme-ov-file#install-from-source
This issue is too old to follow and will be closed. Feel free to reopen it and continue.


models.py is unused and redundant

The only model class in there (Proof) isn't used.  Instead the Proofs class in main.py is used.  The unused one includes a date in the model while the used one doesn't.  Dunno if we want to be storing the date as well that.

Resolved. B)


sdk/java: don't reuse fd in Java SDK

closes #2116

Codecov Report

Merging #2122 (83c11a8) into main (35918c3) will decrease coverage by 0.10%.
The diff coverage is 78.78%.

@@            Coverage Diff             @@
##             main    #2122      +/-   ##
==========================================
- Coverage   61.87%   61.76%   -0.11%
==========================================
  Files         138      138
  Lines       24839    24844       +5
==========================================
- Hits        15368    15346      -22
- Misses       7659     7682      +23
- Partials     1812     1816       +4

Impacted Files
Coverage Δ

cmd/rmr.go
58.73% <0.00%> (-1.93%)
:arrow_down:

pkg/fuse/fuse.go
78.10% <0.00%> (+0.50%)
:arrow_up:

pkg/meta/sql_lock.go
71.52% <ø> (ø)

pkg/meta/tkv_lock.go
82.51% <ø> (ø)

pkg/meta/sql.go
65.65% <78.94%> (-0.13%)
:arrow_down:

pkg/meta/base.go
69.89% <100.00%> (+0.18%)
:arrow_up:

pkg/meta/redis.go
71.40% <100.00%> (ø)

pkg/meta/tkv.go
76.71% <100.00%> (+0.03%)
:arrow_up:

pkg/vfs/reader.go
77.18% <0.00%> (-2.56%)
:arrow_down:

pkg/meta/tkv_mem.go
85.54% <0.00%> (-1.74%)
:arrow_down:

... and 4 more

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 973b08c...83c11a8. Read the comment docs.


Forms inside of a DropDown

In a dropdown if I click on a form element it fades away. I have tried this code
var menu = $('.dropdown').find('*');
menu.click(function(e) {
    e.stopPropagation();
});

This is my dropdown code:

    Login

       <form method="post" action="login.php" class="pull-right">
		   <input class="span3" type="text" name="username" placeholder="Username">
		   <input class="span3" type="password" name="password" placeholder="Password">
		   <button name="Login" class="btn small">Log in</button>
		   </form>

You should ask in the mailing list - however $('.dropdown').find('*') is definitely not what you want. You're going to want to only stop things on the level of the form.


Add attribution links to each example description

I used the Github API to pull the blame for each example with Github username data. I then mapped that data to links and added them to the descriptions for each example. Finally, I made some manual tweaks based on contributors that were missing from the blame, such as @Malayvasa who contributed examples via p5 editor links.

Thanks @calebfoss. I'm still waiting for some previous contributors' feedback on this issue, like how to properly credit the contributors who worked on p5.js examples prior to the STF project, especially based on the fact that lots of p5.js examples were directly ported from examples on Processing website.
Meanwhile, @SableRaf is looking into getting clarification on processing website repo license issue.
I will come back to this PR after get more response from other contributors.


Did NVM stop supporting Node altogether?

Fresh nvm install:
$ nvm ls-remote
    iojs-v1.0.0
    iojs-v1.0.1
    iojs-v1.0.2
    iojs-v1.0.3
    iojs-v1.0.4

not a trace of the node thingie…

lol, certainly not.
Did you perhaps set the $NVM_NODEJS_ORG_MIRROR environment variable? What does nvm ls-remote node output?

Jordan, many thanks for the quick response.
FWIW: this is happening for a bunch of us on clean environments
Regarding your questions:
$ nvm ls-remote node
N/A
$ echo $NVM_NODEJS_ORG_MIRROR
https://nodejs.org/dist

nvm was installed with:
curl https://raw.githubusercontent.com/creationix/nvm/v0.23.2/install.sh | bash

What shell and OS?
What does nvm_ls_remote output?

$ nvm_ls_remote
N/A
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)

OK, next one: nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ -o -?

nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ -o -? returns empty

oops, no question mark at the end.

Still empty

(My suspicion is that your OS has outdated SSL certificate authorities, and the curl to https://nodejs.org/dist is failing, but we'll work there one command at a time)
Next: same command but with a --verbose added :-)

If my suspicion is correct, this is a duplicate of #554.

Your guess was spot on, sir:
$ nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ --verbose -o -
* About to connect() to nodejs.org port 443
*   Trying <IP_ADDRESS>... connected
* Connected to nodejs.org (<IP_ADDRESS>) port 443
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS alert, Server hello (2):
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
* Closing connection #0

I will try on a brand-new server where SSL should be fine now and report back...

Thanks, SSLv3 is bad news bears :-)

Yeap, everything was fine on a server with latest Debian.
Apologies for a false alarm and many thanks for helping debug/explain. Appreciate it a lot.

But how to fix? I find out all the dups and still don't know how to update SSL certificate.
$ nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ --verbose -o -
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to nodejs.org (<IP_ADDRESS>) port 443 (#0)
* Server aborted the SSL handshake
* Closing connection 0

I tried curl -v https://nodejs.org and also got curl: (35) Server aborted the SSL handshake.
最终我发现又是China GFW在闹鬼！！！So you should use proxy like export https_proxy=http://proxy_server:proxy_port first, and try again and again, then it works.
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.nodejs.org
* Server certificate: COMODO RSA Domain Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
* Server certificate: AddTrust External CA Root
...


LEDs turn to white when there is no sound output

I am using the ES8266 connected to the LEDs, and have the python script set to run at startup so that all my computer sound is visualized, wether that be listening to music or playing a game or something. However, after there is no sound output for a few seconds, the led strip will start to glow blue and eventualy a white color. The visualizer shows the blue color "freaking out" per se. I am using Voicemeeter to collect the sound input, could this be causing it, or is it an issue with the visualization?

Also, as soon as I play a sound, the strip turns dark again until it eventually starts glowing blue and repeats the process.

I've found this happens when it isn't receiving any input, it'll slowly amplify the volume until it hits the threshold and stops but it usually freaks out like you were saying

I'm having the same problem. It works fine if I use a real audio device via mic input (as long as there is sound actively coming in), but if I try to use stereo mix I get all white.

It's been a long week so I didn't get a chance to dig into the code until now, but a quick hotfix (at least for me) was to just set "MIN_VOLUME_THRESHOLD" in the config file lower. I set it to 1e-4, but you may need to go lower. I also changed "vol = np.max(np.abs(y_data))" to "vol = np.max(y_data)" in visualization (~line 200), but I don't think it's necessary. The absolute might even be there for a reason. I just don't know what it is. Also, I've only tested this w/ mic in, so I'm not sure if it will work w/ other audio solutions. Probably worth a shot though.

I see this thread is a bit old, but just wanted to give an input from my experience.
All tho I'm running on Fe-Pi input on a Raspberry Pi, I think this would be valuable for users with the same setup.
I have set "MIN_VOLUME_THRESHOLD" to 0.06
When I stop all audio from my computer, the detected input is around 0.02, so 0.06 is working very good when using Line-Out from the computer to Line-In on the Fe-Pi.


Optimize GPU tensor support for Python backend

Currently, the CUDA IPC calls dominate the time for transferring GPU tensors between processes. Specifically, the functions cudaIpcOpenMemHandle and cudaIpcCloseMemHandle are heavily used. These functions are necessary because the allocated buffers are not in the same pool. So, we need to call these functions to open an interprocess memory handle exported from another process and get a device pointer that can be used in the local process.
This PR makes use of Triton's CUDA shared memory pool for GPU tensor transfers. The parent process will get the base address of the CUDA pool and share it with the stub. Here's how the data transfer process works:

Data transfer from parent to stub
When the parent process wants to send a tensor to the stub using the pool, it stores the data, calculates the offset, and shares this offset with the stub. The stub process then uses this offset to retrieve the data.
Data transfer from stub to parent
Because only the parent process can interact with the CUDA pool memory allocation, the stub first notifies the parent about the byte size of the data using an IPC message. Then, the parent pre-allocates a buffer from the memory pool and communicates the calculated offset details back to the stub. Afterward, the stub fills the buffer with the tensor data and notifies the parent once the task is done.

Testing: https://github.com/triton-inference-server/server/pull/6276

Discussed with @krishung5 offline. Looks like there is one additional data copy that is introduced as a part of this change that is affecting the single model latency and throughput. @krishung5 is working on removing that extra copy and gather profiling numbers again.

Updated the functionality of PbMemory - when creating a PbMemory object, it only sets the cuda_pool_offset if the data is allocated from the cuda pool; when loading PbMemory from memory, it'll return a pointer based on the offset. No extra data copy/logic happens inside PbMemory.
Summarize the logic for GPU tensor transfer below in case it could be helpful for reviewing.
Different cases for the GPU tensor transfer:
Inference

input

non-decoupled - Get the input buffer from input_collector. If the buffer is not using cuda pool, create a new BackendMemory from the pool and copy the input data from the original buffer to the new one.
decoupled - Allocate the GPU memory using BackendMemory, and call backend::ReadInputTensor to read input tensor to the buffer.

output

non-decoupled - In InferResponse::Send function, get the Triton-provided output buffer. If the buffer is not using cuda pool,  try to allocate a new buffer from the pool, and add the new buffer to gpu_buffer_helper. Will need to copy the output tensor back to the Triton-provided buffer once the stub fills in the buffer.
decoupled - Same as the non-decoupled case. The final copy happens here.

BLS

input - No differences between decoupled and non-decoupled cases. Allocate memory using BackendMemory and add the buffer to gpu_buffer_helper.
output - The request_executor now uses BackendMemory to allocate buffer for BLS output. Both non-decoupled and decoupled cases call ModelInstanceState::PrepareResponseHandle to prepare the response. It's possible that the cuda memory pool hasn't been shared with the stub process at the time the BLS output is allocated during the callback, and there is no way to share the cuda pool with the stub since we are not passing the StubLauncher object to the ResponseAlloc callback (thought it would be more complicated if we do so, but open to any ideas!). Hence, update the cuda pool offset here after the associated PbMemory is created.


Typo in the sample code on homepage

On https://datamol.io/, a sample code is:
mol = dm.standardized_mol(mol)

It should read:
mol = dm.standardize_mol(mol)

Thank you @rkakamilan
@Valence-JonnyHsu @mercuryseries is that something one of you can fix?

@hadim fixed in https://github.com/datamol-io/datamol.io/commit/cab75cd9b63dbea94101b2a12ff3087cdcfd52a3

Thanks boss!


Not getting onPaymentFailure() callback if wrong card details are entered

Is there any way to get callback to func onPaymentFailure(response: Any?) {} if wrong card details are entered?
Right now if I enter wrong card details I get the screen where error is shown as follows...

But I was expecting to get a callback to onPaymentFailure() to notify our server that payment has been failed without PayUCheckoutPro sdk to retry for the payment details as shown below...

Yes @tusharquantsapp, we do have that feature.
Please contact to our integration support team at<EMAIL_ADDRESS>for further assistance.

Okay. Will contact support.


test: [M3-8098] - Refactor StackScript create test to be resilient to Image deprecations

Description 📝
Update StackScript create test to be more resilient to the changes that Images may be deprecated on the backend by using real Image data retrieved directly from the API.
Changes  🔄

Remove hardcoded Image choices and use real Image data retrieved directly from the API.
Add new util function interceptGetAllImages

How to test 🧪
yarn cy:run -s "cypress/e2e/core/stackscripts/create-stackscripts.spec.ts"

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Another case of M3-8471? cc @jdamore-linode

It sounds like maybe yes and no... when I run the test locally I don't have any issue with Cypress finding the region by its ID, but I do still get failures pretty often but not consistently (seems kinda 50/50). But the fact that it's failing consistently for you makes it sound like you could be experiencing the ID issue -- were you running Cloud with yarn dev/yarn up, or via yarn start:manager:ci? Wondering if you get the same outcome?
In my case, the issue seems to be caused by these two factors:

Sometimes the (random) region Cypress tries to select is not visible in the drop-down because of overflow, so we just have to scroll it into view before trying to click on it
There seems to be some kind of Cloud issue where the selected region doesn't get honored if it's made really quickly after page load (e.g. as if it's waiting for some API request to resolve). If Cypress selects a region too quickly, the autocomplete drop-down gets dismissed but the region select remains with no value selected. It seems like waiting for the account availability request to resolve before interacting fixes the issue, but that could be incidental

Either way, I'll have a ticket and PR open later this afternoon, and will circle back and review @AzureLatte's improvements to this other test too! We can disregard this failure for the sake of PR review since we are seeing this happen in CI where Azure's changes aren't present.

Thank you all for the review!


Emoji icon not working

After using this library Emoji not showing in TextView.???

Hello there,
Are you reporting an issue? Can you provide a way to reproduce it?

still issue not resolved.

Hello there,
Are you reporting an issue? Can you provide a way to reproduce it?

Dear i mean when i use this library then these emoji like "😀 😁 😂 🤣 😃 😄" will not appear in TextView.


[#2942] docs(mysql-catalog): Fix incorrect document description

What changes were proposed in this pull request?
Fix incorrect document description
Why are the changes needed?
Fix: #2942
Does this PR introduce any user-facing change?
no
How was this patch tested?
no need

Relative logic:
https://github.com/datastrato/gravitino/blob/6d598bc2052b77f85abd3f54d2339e789a39bee3/catalogs/catalog-jdbc-mysql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlDatabaseOperations.java#L63-L86


Control trend's thickness

Hey, I've tried to pass the 'SVG Props' but it seems they have no effect on the trend.
Is there a way to control the thickness of the trend?
Thanks!

Found my problem:
I've used the prop strokeWidth instead of stroke-width.


EKF2 baro innovation variance jumps

@priseborough @CarlOlsson I noticed in a recent log that the baro innovation variance looks fishy.
It seems to jump between two regimes. I'm not aware of the latest changes that went into the estimator but it could also be a logging issue.
I'll look at this as soon as possible but maybe you already have an idea.

The log is here http://logs.uaventure.com/view/uTTPh2WZuRtDc4SJcZ5V5e#Power_PLOT

We are currently using version 16bdbebdc6c97bbd58bd9de1f12791ecc5421e3a of ecl without this issue.

However we will update to newest one in a couple of days and will report back then.

Yes we also have the issue now after the latest subtree update:
Before subtree update

**After subtree update

Green lines are forward transition, red lines backwards transition. We switch GPS module when transitioning but this should of course not influence the mag so the PzI looks really strange after subtree update

This needs to be checked using the replay facility to determine if it is a reporting bug or something more serious. Can someone please provide a replay log without dropouts.

I will upload one here tomorrow

@CarlOlsson Did you manage to record a log?

Not yesterday in flight because of several strange stuff going on, but I have been looking into it now. I just recorded three logs on the bench with standard logging and the issue is present every time, however I also did three logs with RPL logging and the issue is gone so it seems like a logging bug.

And it seems to be related to GPS.
Here is a plot from a standard logging with the airplane standing on the bench and gps turned off (gps stop in nutshell)

Here is a plot of the same thing but with fake gps activated

@CarlOlsson That's a good hint

@CarlOlsson Found the issue, I'm going to make a PR.

sweet(Y)

Addressed in https://github.com/PX4/ecl/pull/180


shfmt Github Action - add link to README

Hi there!
This PR adds a link for the reviewdog/action-shfmt to the list of available GitHub Actions in the README, under the Shell Script section. 🚀

[X] Updated Unreleased section in CHANGELOG or it's not notable changes.

@EPMatt Thanks 👍


Warning about unused scenarios appears when piping questions

My preference would be to get rid of this warning entirely. I often add metadata and don't want the warning to show up in the notebook (or show my file path).
https://chick.expectedparrot.com/content/c3835649-8d85-41b0-a218-41270a19d1ed

Fixed


feat: Add implementation and tests for the eratosthenes sieve algorithm.

Also @ArielXL can you add an issue stating that you are working on this new addition? Thanks in advance!

I think we need to improve it a little before merging. Look at the comments I left and let me know if you agree with them or if you have questions. Thanks!

Hi Alberto, do I have to make a new pull request with the changes?

Also @ArielXL can you add an issue stating that you are working on this new addition? Thanks in advance!

done 👍🏻

I think we need to improve it a little before merging. Look at the comments I left and let me know if you agree with them or if you have questions. Thanks!

Hi Alberto, do I have to make a new pull request with the changes?

No. Make the changes here and update the pull request.

@ArielXL any change you push to the dev branch on ArielXL/data-structures-for-teaching will be updated in this Pull Request.


Issue running playbook to install controller and nodes

While trying to run the deploy scripts (deploy_ne.sh), I am getting errors of version compatibility of python.  This is on a clean install of Centos on KVM.  Full connectivity between controller node and edge node (tested with ansible -m ping all command).
I am getting the following error:
STDOUT:
File: ‘/opt/edgecontroller’
Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: fd00h/64768d	Inode: 50761770    Links: 27
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:object_r:usr_t:s0
Access: 2020-08-24 09:17:56.527509889 -0700
Modify: 2020-08-24 09:17:57.863589833 -0700
Change: 2020-08-24 09:17:57.863589833 -0700
Birth: -
TASK [openness/onprem/master : remove all Docker containers] ******************************************************************************************************************************************************************************
task path: /root/openness/openness-experience-kits/roles/openness/onprem/master/tasks/subtasks/remove_docker_containers.yml:19
fatal: [controller]: FAILED! => {
"changed": true,
"cmd": [
"docker-compose",
"rm",
"--stop",
"-f"
],
"delta": "0:00:00.192591",
"end": "2020-08-24 09:18:23.738305",
"rc": 1,
"start": "2020-08-24 09:18:23.545714"
}
STDERR:
/usr/lib64/python2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
CryptographyDeprecationWarning,
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 7, in
from compose.cli.main import main
File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 17, in
import docker
File "/usr/lib/python2.7/site-packages/docker/init.py", line 2, in
from .api import APIClient
File "/usr/lib/python2.7/site-packages/docker/api/init.py", line 2, in
from .client import APIClient
File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 10, in
from .build import BuildApiMixin
File "/usr/lib/python2.7/site-packages/docker/api/build.py", line 6, in
from .. import auth
File "/usr/lib/python2.7/site-packages/docker/auth.py", line 9, in
from .utils import config
File "/usr/lib/python2.7/site-packages/docker/utils/init.py", line 3, in
from .decorators import check_resource, minimum_version, update_headers
File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 4, in
from . import utils
File "/usr/lib/python2.7/site-packages/docker/utils/utils.py", line 13, in
from .. import tls
File "/usr/lib/python2.7/site-packages/docker/tls.py", line 5, in
from .transport import SSLHTTPAdapter
File "/usr/lib/python2.7/site-packages/docker/transport/init.py", line 11, in
from .sshconn import SSHHTTPAdapter
File "/usr/lib/python2.7/site-packages/docker/transport/sshconn.py", line 1, in
import paramiko
File "/usr/lib/python2.7/site-packages/paramiko/init.py", line 22, in
from paramiko.transport import SecurityOptions, Transport
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 89, in
from paramiko.dsskey import DSSKey
File "/usr/lib/python2.7/site-packages/paramiko/dsskey.py", line 25, in
from cryptography.hazmat.primitives import hashes, serialization
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/serialization/init.py", line 22, in
from cryptography.hazmat.primitives.serialization.ssh import (
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/serialization/ssh.py", line 27, in
from bcrypt import kdf as _bcrypt_kdf
File "/usr/lib64/python2.7/site-packages/bcrypt/init.py", line 57
def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes:
^
SyntaxError: invalid syntax
MSG:
non-zero return code
PLAY RECAP ********************************************************************************************************************************************************************************************************************************
controller                 : ok=67   changed=23   unreachable=0    failed=1    skipped=37   rescued=0    ignored=0
------------------[ My version of CentOS ]--------------------------
controller  root ~/openness/openness-experience-kits:> hostnamectl
Static hostname: controller
Icon name: computer-vm
Chassis: vm
Machine ID: ........2860dd8b4c6d97a0a5ef4...........
Boot ID: .......4bf219a408699bf83b27.............
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.el7.x86_64
Architecture: x86-64
------------------[ My inventory file ]--------------------------
SPDX-License-Identifier: Apache-2.0
Copyright (c) 2019-2020 Intel Corporation
[all]
controller ansible_ssh_user=root ansible_host=<IP_ADDRESS>
edge ansible_ssh_user=root ansible_host=<IP_ADDRESS>
[controller_group]
controller
[edgenode_group]
edge
[edgenode_vca_group]
[ptp_master]
controller
[ptp_slave_group]
edge
------------------[ Additional effects ]--------------------------
Additionally, this renders my ansible installation unusable, even if I remove and install again (yum remove / install ).  I have tried updating python to later versions, but then get other syntax errors).
controller  root ~:> ansible
/usr/lib64/python2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
CryptographyDeprecationWarning,
ERROR! Unexpected Exception, this is probably a bug: invalid syntax (init.py, line 57)
the full traceback was:
Traceback (most recent call last):
File "/bin/ansible", line 92, in
mycli = getattr(import("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/usr/lib/python2.7/site-packages/ansible/cli/init.py", line 22, in
from ansible.inventory.manager import InventoryManager
File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 38, in
from ansible.plugins.loader import inventory_loader
File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 23, in
from ansible.parsing.utils.yaml import from_yaml
File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 17, in
from ansible.parsing.yaml.loader import AnsibleLoader
File "/usr/lib/python2.7/site-packages/ansible/parsing/yaml/loader.py", line 30, in
from ansible.parsing.yaml.constructor import AnsibleConstructor
File "/usr/lib/python2.7/site-packages/ansible/parsing/yaml/constructor.py", line 30, in
from ansible.parsing.vault import VaultLib
File "/usr/lib/python2.7/site-packages/ansible/parsing/vault/init.py", line 52, in
CRYPTOGRAPHY_BACKEND = default_backend()
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/init.py", line 15, in default_backend
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/init.py", line 7, in
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 16, in
from cryptography import utils, x509
File "/usr/lib64/python2.7/site-packages/cryptography/x509/init.py", line 8, in
from cryptography.x509.base import (
File "/usr/lib64/python2.7/site-packages/cryptography/x509/base.py", line 22, in
from cryptography.x509.extensions import Extension, ExtensionType
File "/usr/lib64/python2.7/site-packages/cryptography/x509/extensions.py", line 22, in
from cryptography.hazmat.primitives import constant_time, serialization
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/serialization/init.py", line 22, in
from cryptography.hazmat.primitives.serialization.ssh import (
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/serialization/ssh.py", line 27, in
from bcrypt import kdf as _bcrypt_kdf
File "/usr/lib64/python2.7/site-packages/bcrypt/init.py", line 57
def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes:
^
SyntaxError: invalid syntax
Any help would be greatly appreciated.
Thanks in advance!

Hi @distsystemsarchitect ,
The error seems to be because of some updated cryptography package here. I suggest you uninstall it using below command on both controller and node.
pip uninstall -y cryptography
Run the deploy script after removing it.
If you face this error again, please install watchdog on both node and controller and run the below command parallelly while running the deploy_ne.sh script.
watch pip uninstall -y cryptography
Basically this command will be executed every 2 seconds, so if by any chance cryptography get installed anytime during the installation process, using watchdog will keep on clearing it automatically without manual intervention. Please let us know if this works.
Regards,
Archit

Hi @distsystemsarchitect,
Are you able to install OpenNESS 20.06 successfully. If you are facing any issues please let us know.
Regards,
Archit

Hi @distsystemsarchitect ,
The permanent fix for this issue has been solved by the OpenNESS 20.06.01 patch release. Please clone the repository again and you won't face this issue.
@amr-mokhtar : Please close this ticket. Thanks!
Regards,
Archit

Hi @distsystemsarchitect ,
The permanent fix for this issue has been solved by the OpenNESS 20.06.01 patch release. Please clone the repository again and you won't face this issue.
@amr-mokhtar : Please close this ticket. Thanks!
Regards,
Archit

I am also facing the same issue and tried uninstalling cryptography as mentioned above but uninstall it on controller and node, it is showing that cryptography is not installed. Can you help?

Hi @sushantsj,
This issue has now been resolved by the new OpenNESS 20.06.01 patch release. Could you please try doing a fresh installation once and let us know if you face the same issue. Try doing a cleanup and clone the openness-experience-kits once again
Thanks,
Archit

@archie951
Facing this issue while ./deploy_ne.sh node01
Error: TASK [machine_setup/os_setup : Install IUS Repository]
Failure Downloading https://repo.ius.io/ius-release-e17.rpm, Request Failed:<url open error [Errno-2] Name or service not known>
Any help would be appreciated

Hi @sushantsj,
This issue has now been resolved by the new OpenNESS 20.06.01 patch release. Could you please try doing a fresh installation once and let us know if you face the same issue. Try doing a cleanup and clone the openness-experience-kits once again
Thanks,
Archit

It is the latest release and the issue is not in node but in controller

./deploy_ne.sh controller //failing related to python issue mentioned above.
./deplou_ne.sh node // failing while pulling IUS repository i.e Failure Downloading https://repo.ius.io/ius-release-e17.rpm, Request Failed:<url open error [Errno-2] Name or service not known>

Hi @archie951 ,
Cloned the latest release, still facing the same issue.
Can you help?

Hi @sushantsj,
Please note that there is no repository by the name of  https://repo.ius.io/ius-release-e17.rpm. It is rather present in roles/machine_setup/os_setup/tasks/install_base_os_packages.yml as  https://repo.ius.io/ius-release-el7.rpm .
Can you please check the value set in above yml. I hope you have not made any changes in the openness experience kits and only have changed hugepages according to your system requirement. Rest of the packages and dependencies will be installed by OpenNESS itself.
If you still face issues please share with us the log files for debugging.
Thanks and Regards,
Archit Agarwal

Hi Archit,
Error while running ./deploy_ne.sh controller
Error: fatal: [controller]: FAILED! => {
"changed": false
}
MSG:
Error building ovs-dpdk - code: None, message: Error processing tar
file(exit status 1): write /root/ovs-2.12.0-5/ovsdb/ovsdb-server: no space
left on device, logs: [u'Step 1/17 : FROM centos:7', u'\n', u' --->
7e6257c9f8d8\n', u'Step 2/17 : ENV PYTHONDONTWRITEBYTECODE yes', u'\n', u'
---> Using cache\n', u' ---> b7fa4bb40714\n', u'Step 3/17 : RUN yum install
-y          gcc gcc-c++ make autoconf automake libtool rpm-build
PyYAML bind-utils         openssl         numactl-libs numactl-devel
firewalld-filesystem         libpcap         hostname         iproute
strace socat nc         unbound unbound-devel         libpcap-devel
libmnl-devel         libibumad         libibverbs-devel         libibverbs
libmlx5         libibverbs-utils         dpdk-devel', u'\n', u'
---> Using cache\n', u' ---> 1fa7c29eca49\n', u'Step 4/17 : ENV
OVS_VERSION=2.12.0', u'\n', u' ---> Using cache\n', u' --->
7245182bf793\n', u'Step 5/17 : ENV OVS_SUBVERSION=5', u'\n', u' ---> Using
cache\n', u' ---> f76622f9f65c\n', u'Step 6/17 : ENV DPDK_VERSION=18.11.6',
u'\n', u' ---> Using cache\n', u' ---> dd42533850da\n', u'Step 7/17 : ENV
DPDK_DIR=/opt/dpdk-$DPDK_VERSION', u'\n', u' ---> Using cache\n', u' --->
977ce8e9240f\n', u'Step 8/17 : ENV DPDK_TARGET=x86_64-native-linuxapp-gcc',
u'\n', u' ---> Using cache\n', u' ---> 615fece946b8\n', u'Step 9/17 : ENV
DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET', u'\n', u' ---> Using cache\n', u' --->
6a6f9cd61213\n', u'Step 10/17 : COPY . $DPDK_DIR', u'\n', u' ---> Using
cache\n', u' ---> 59c3da31b0ee\n', u'Step 11/17 : RUN cd ~ &&     curl -OL
https://github.com/alauda/ovs/archive/$OVS_VERSION-$OVS_SUBVERSION.tar.gz
&&     tar xf $OVS_VERSION-$OVS_SUBVERSION.tar.gz &&     rm -f
$OVS_VERSION-$OVS_SUBVERSION.tar.gz &&     cd
ovs-$OVS_VERSION-$OVS_SUBVERSION &&     sed -e 's/<EMAIL_ADDRESS>rhel/
openvswitch-fedora.spec.in > /tmp/tmp_ovs.spec &&     yum-builddep -y
/tmp/tmp_ovs.spec &&     ./boot.sh &&     ./configure --prefix=/usr/
--localstatedir=/var --sysconfdir=/etc --with-dpdk=$DPDK_BUILD &&     make
-j$(nproc) && make rpm-fedora RPMBUILD_OPT="--with dpdk --without check" &&
make install &&    rpm -ivh --nodeps
https://github.com/alauda/ovs/releases/download/${OVS_VERSION}-${OVS_SUBVERSION}/ovn-${OVS_VERSION}-${OVS_SUBVERSION}.el7.x86_64.rpm
&&     rpm -ivh
https://github.com/alauda/ovs/releases/download/${OVS_VERSION}-${OVS_SUBVERSION}/ovn-vtep-${OVS_VERSION}-${OVS_SUBVERSION}.el7.x86_64.rpm
&&     rpm -ivh
https://github.com/alauda/ovs/releases/download/${OVS_VERSION}-${OVS_SUBVERSION}/ovn-central-${OVS_VERSION}-${OVS_SUBVERSION}.el7.x86_64.rpm
&&     rpm -ivh
https://github.com/alauda/ovs/releases/download/${OVS_VERSION}-${OVS_SUBVERSION}/ovn-host-${OVS_VERSION}-${OVS_SUBVERSION}.el7.x86_64.rpm',
u'\n', u' ---> Running in 7870a3df54e8\n', u'\x1b[91m  % Total    %
Received % Xferd  Average Speed   Time    Time     Time  Current\n
Thanks,
Sushant
On Mon, Sep 14, 2020 at 2:55 PM archie951<EMAIL_ADDRESS>wrote:

Hi @sushantsj https://github.com/sushantsj,
This issue has now been resolved by the new OpenNESS 20.06.01 patch
release. Could you please try doing a fresh installation once and let us
know if you face the same issue. Try doing a cleanup and clone the
openness-experience-kits once again
Thanks,
Archit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-ness/specs/issues/51#issuecomment-691935095, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOMNRNODVQ7XJRBAAPYFO3SFXOQ5ANCNFSM4QJXMHAA
.

Hi @sushantsj,
Can you please let us know your controller and node hardware specifics. How much HDD and hard-disk space have been allocated and how much is left by doing df -h and free -h?
Regards,
Archit

Hi Archit,
Controller:
OS: RedHat(64 bit) RAM: 4 GB, HDD: 8 GB, Processors: 4
Node:
OS: RedHat(64 bit), RAM: 3 GB, HDD: 8GB, Processors: 4
Could not run 1. df -h and free-f because after running ./deploy_ne.sh
controller and for Node the virtual machines are getting corrupt, so have
to restore it again.
Thank you,
Sushant Jha
On Tue, Sep 15, 2020 at 12:49 PM archie951<EMAIL_ADDRESS>wrote:

Hi @sushantsj https://github.com/sushantsj,
Can you please let us know your controller and node hardware specifics.
How much HDD and hard-disk space have been allocated and how much is left
by doing df -h and free -h?
Regards,
Archit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-ness/specs/issues/51#issuecomment-692518966, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOMNRJNBA67E22CULDIQSDSF4IPXANCNFSM4QJXMHAA
.

Hi @sushantsj ,
The controller and node created by you are too small for OpenNESS deployment. That is the reason it is getting corrupt. Atleast 30GB or more HDD is required. Also the RAM is too less. The huge pages will never be sufficient enough. I would suggest to use atleast 16GB RAM for controller and 32GB for node.
Please refer the documentation.
https://github.com/open-ness/specs/blob/master/doc/getting-started/network-edge/controller-edge-node-setup.md#qa
Regards,
Archit

Hey,
Thank you, will change the configuration and try again. Will let you
know how it goes.
Thank you,
Sushant
On Tue, Sep 15, 2020 at 1:31 PM archie951<EMAIL_ADDRESS>wrote:

Hi @sushantsj https://github.com/sushantsj ,
The controller and node created by you are too small for OpenNESS
deployment. That is the reason it is getting corrupt. Atleast 30GB or more
HDD is required. Also the RAM is too less. The huge pages will never be
sufficient enough. I would suggest to use atleast 16GB RAM for controller
and 32GB for node.
Please refer the documentation.
https://github.com/open-ness/specs/blob/master/doc/getting-started/network-edge/controller-edge-node-setup.md#qa
Regards,
Archit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-ness/specs/issues/51#issuecomment-692540802, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOMNRJ2IWZCXZSZSKXZGITSF4NM5ANCNFSM4QJXMHAA
.

Hi archie,
Setup is done but I am facing this issue now, Can you have a look on it?
TASK [telemetry/tas : build TAS]

task path:
/root/openness-experience-kits/roles/telemetry/tas/tasks/main.yml:154
fatal: [controller]: FAILED! => {
"changed": true,
"cmd": "source /etc/profile && make build",
"delta": "0:00:50.821848",
"end": "2020-09-18 13:11:16.200320",
"rc": 2,
"start": "2020-09-18 13:10:25.378472"
}
STDOUT:
CGO_ENABLED=0 GO111MODULE=on go build -ldflags="-s -w" -o ./bin/controller
./cmd/tas-policy-controller
STDERR:
go: finding k8s.io/client-go v0.0.0-20191016110837-54936ba21026
go: finding k8s.io/api v0.0.0-20191016110246-af539daaa43a
go: finding k8s.io/apiextensions-apiserver
v0.0.0-20190918201827-3de75813f604
go: finding k8s.io/apimachinery v0.0.0-20191004115701-31ade1b30762
go: finding k8s.io/metrics v0.0.0-20190918202012-3c1ca76f5bda
go: finding k8s.io/klog v0.3.1
go: finding golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc
go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding k8s.io/client-go v0.0.0-20190918200256-06eb1244587a
go: finding k8s.io/api v0.0.0-20190918195907-bd6ac527cfd2
go: finding k8s.io/apimachinery v0.0.0-20190817020851-f2f3a405f61d
go: finding k8s.io/code-generator v0.0.0-20190612205613-18da4a14b22b
go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: finding github.com/go-openapi/strfmt v0.17.0
go: finding github.com/go-openapi/spec v0.17.2
go: finding github.com/go-openapi/runtime v0.17.2
go: finding github.com/go-openapi/analysis v0.17.2
go: finding github.com/emicklei/go-restful
v0.0.0-20170410110728-ff4f55a20633
go: finding github.com/go-openapi/errors v0.17.2
go: finding github.com/prometheus/client_golang v0.9.2
go: finding k8s.io/apiserver v0.0.0-20190918200908-1e17798da8c1
go: finding github.com/go-openapi/validate v0.18.0
go: finding github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: finding github.com/go-openapi/errors v0.17.0
go: finding github.com/prometheus/common v0.0.0-20181126121408-4724e9255275
go: finding github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: finding github.com/asaskevich/govalidator
v0.0.0-20180720115003-f9ffefc3facf
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/go-openapi/swag v0.17.0
go: finding golang.org/x/net v0.0.0-20181005035420-146acd28ed58
go: finding github.com/go-openapi/jsonreference v0.17.0
go: finding github.com/coreos/bbolt v1.3.1-coreos.6
go: finding golang.org/x/tools v0.0.0-20190328211700-ab21143f2384
go: finding github.com/pborman/uuid v1.2.0
go: finding github.com/prometheus/client_model
v0.0.0-20180712105110-5c3871d89910
go: finding github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea
go: finding github.com/grpc-ecosystem/grpc-gateway v1.3.0
go: finding github.com/coreos/etcd v3.3.13+incompatible
go: finding github.com/go-openapi/jsonpointer v0.17.0
go: finding github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0
go: finding gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0
go: finding github.com/go-openapi/validate v0.17.0
go: finding github.com/NYTimes/gziphandler
v0.0.0-20170623195520-56545f4a5d46
go: finding github.com/go-openapi/swag v0.17.2
go: finding github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb
go: finding gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485
go: finding github.com/inconshreveable/mousetrap v1.0.0
go: finding go.uber.org/atomic v0.0.0-20181018215023-8dc6146f7569
go: finding github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: finding github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
go: finding github.com/jonboulle/clockwork
v0.0.0-20141017032234-72f9bd7c4e0c
go: finding github.com/go-openapi/jsonreference v0.19.0
go: finding github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18
go: finding github.com/grpc-ecosystem/go-grpc-prometheus
v0.0.0-20170330212424-2500245aa611
go: finding github.com/spf13/cobra v0.0.0-20180319062004-c439c4fa0937
go: finding k8s.io/gengo v0.0.0-20190116091435-f8a0810f38af
go: finding gopkg.in/natefinch/lumberjack.v2
v2.0.0-20150622162204-20b71e5b60d7
go: finding google.golang.org/genproto v0.0.0-20170731182057-09f6ed296fc6
go: finding github.com/coreos/go-semver v0.0.0-20180108230905-e
Can you help?
Thank you,
Sushant
On Tue, Sep 15, 2020 at 1:31 PM archie951<EMAIL_ADDRESS>wrote:

Hi @sushantsj https://github.com/sushantsj ,
The controller and node created by you are too small for OpenNESS
deployment. That is the reason it is getting corrupt. Atleast 30GB or more
HDD is required. Also the RAM is too less. The huge pages will never be
sufficient enough. I would suggest to use atleast 16GB RAM for controller
and 32GB for node.
Please refer the documentation.
https://github.com/open-ness/specs/blob/master/doc/getting-started/network-edge/controller-edge-node-setup.md#qa
Regards,
Archit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-ness/specs/issues/51#issuecomment-692540802, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOMNRJ2IWZCXZSZSKXZGITSF4NM5ANCNFSM4QJXMHAA
.

Hey archit,
Thanks a lot, it is working now and build successfully.
Thank you,
Sushant Jha
On Mon, Sep 21, 2020 at 2:00 PM archie951<EMAIL_ADDRESS>wrote:

Please update the git version on both node and controller. I am suspecting
that the current version will be 1.8.x. You need to update it to 2.1.x. For
doing so please run below commands on both VM's:
yum remove -y git*
yum install -y --enablerepo=ius-archive git2u-all
Regards,
Archit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-ness/specs/issues/51#issuecomment-695976647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOMNRPZCOUDUFHTE3SQ5N3SG4FKBANCNFSM4QJXMHAA
.

Oh that's great to hear Sushant. No problem at all.
@amr-mokhtar - Hi, Could you please close this ticket.
Thanks,
Archit


FIFO vs. Buffer

FIFO - first data in is the first out. Type of buffer.
Buffer - holds data before use
I think the difference is that the FIFO wraps back to the first position once that data has been read, though this sounds like a circular buffer. The difference being that the data will not be overwritten once FIFO is full? A normal buffer fills and stops receiving while data is being sent out.
FIFO is for async clocks, so data can be streamed continuously whereas a buffer fills, then has to empty and fill again. For this application it should be fine though a FIFO is preferable.

A circular buffer is one way by which you can implement a FIFO.  By itself it is not a FIFO, because you can use it for other stuff as well.
The reason I don't want to call your buffer a FIFO is because you're not using it as a FIFO (even thought it technically is one).  Your implementation doesn't really have the concept of "queue length".  You fill up the buffer, and then you read till the top, and then you start writing from the start again.  A FIFO (in my mind) is something where you can read and write completely independently, as long as the queue length is somewhere between 0 and full.
The async clock thing is only one use case (of many) of a FIFO.

Makes sense. Mine technically reads and writes at the same time as soon as theres one element in the buffer, though it does not consider queue length


Inherit chat color options in the dark theme + font color choice

Currently, the dark theme doesn't appear to inherit the chat colors while the mosiac theme does, would be nice to see support for this in the dark theme as well.
As a secondary, somewhat related request, i'd also like to see the abiity to choose my local font colors for chats, as white/black are not always readable with certain chat background colors.

I have to work on the themes for other reasons, I will do that at the same time.
Thanks for reporting!

it's merged to the develop branch


Merge Uat ke Master 6 Sept 2017

Coverage increased (+1.4%) to 71.633% when pulling fb67fc6d1ad7c82642e1c16bf55ec538359d1487 on uat into 8f66828ce0374cbdc32c1b9d00c6f85027459a9c on master.


Taking a photo saves to the phone's gallery

When you are wanting to send a photo with the Keybase chat Android app clicking 'Take Photo' will let you take a photo to send.  After the photo is taken it ends up stored on the phone in the gallery.  Other similar secure messaging apps like Wire and Signal have ways to bypass storing the image on the phone and only send the photo.  I know I was very surprised to see my photo saved on the phone and then automatically backed up to google photos by my phone.

I wasn't able to reproduce this on Android KeyBase app 5.2.0 on Android 10 (Build ID QQ1A.200105.002) on Pixil 2 hardware.


increased timeout for fdb

Thank you for submitting this pull request

How to retest a PR or trigger a specific build:

* a pull request please add comment: Jenkins retest this

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@caponetto FYI

ok to test
@mbiarnes you have some issues with your account or why you now are not whitelisted on CI ? please look at that.
Btw add a description why we are increasing the limit. Is there now 10 hours enough for FDB?

jenkins retest this

@mareknovotny
@tiagobento and @caponetto  during testing their javadk11 stuff experienced a time out. They request it to increase:
I believe we'll need to increase the FDB timeouts on Jenkins, since we noticed some FDBs are timing out. Me and @Guilherme Caponetto believe that 12h might be enough. Note that the FDBs we're running are not the standard use-case, since we're triggering them from droolsjbpm-build-bootstrap to compile and test the entire stack.

@mareknovotny this time out increase is only for the fdb(s) we have on Jenkins - not the build chain ones! This have toa be done one time they work.

ok


Phantom types

Had a look at your phantom types test. Here is a small fix for the generic casting, as well as an attempt to answer the "what happens if you have multiple phantom types" question.
# phantmom types in Nim
# inspired by Hayleigh's talk about Phantom types in Gleam
# the key ingredient for Nim is constraining the generic to a static type
# (thanks PMunch)
import std / options

type
  IconState = enum NoIcon, WithIcon
  BorderState = enum NoBorder, WithBorder

type Button[I: static IconState, B: static BorderState] = object
  label: string
  icon: Option[string]
  border: Option[string]

func initButton(label: string): Button[NoIcon, NoBorder] =
  result.label = label

func withIcon[B](button: Button[NoIcon, B], icon: string): Button[WithIcon, B] =
  result = button.Button[:WithIcon, B]
  result.icon = some(icon)

func withBorder[I](button: Button[I, NoBorder], color: string): Button[I, WithBorder] =
  result = button.Button[:I, WithBorder]
  result.border = some(color)

echo initButton("Hi").withIcon("👋")
echo initButton("Hi").withIcon("👋").withBorder("red")

assert not compiles(initButton("Hi").withIcon("👋").withIcon("❌"))
assert not compiles(initButton("Hi").withIcon("👋").withBorder("red").withBorder("blue"))

Ooh looks nice! It seems to be calling for meta programming :)

Definitely something which could be tidied up a bit by some nice metaprogramming, yes!
Played around with this concept a bit more, it's a bit less general, and a bit more hacky, but even more type-safe. With this you can't even unpack the value from those fields which don't have a value:
import std / options

type
  StaticOpt[C: static bool, T] = object
    when C:
      data: T
    else:
      _: array[sizeof(T), byte] # Add this so that the object is always the same size

proc `$`[C: static bool, T](s: StaticOpt[C, T]): string =
  when C: "some(" & $s.data & ")"
  else: "none(" & $typeof(T) & ")"

proc get[C: static bool, T](s: StaticOpt[C, T]): T =
  when C: s.data
  else: {.error: "Data not available".}

type Button[IconState, BorderState: static bool] = object
  label: string
  icon: StaticOpt[IconState, string]
  border: StaticOpt[BorderState, string]

func initButton(label: string): Button[false, false] =
  result.label = label

func withIcon[B](button: Button[false, B], icon: string): Button[true, B] =
  result = cast[Button[true, B]](button)
  result.icon.data = icon

func withBorder[I](button: Button[I, false], color: string): Button[I, true] =
  result = cast[Button[I, true]](button)
  result.border.data = color

echo initButton("Hi").withIcon("👋")
echo initButton("Hi").withBorder("blue").withIcon("👋")
echo initButton("Hi").withIcon("👋").withBorder("red")
echo initButton("Hi").withIcon("👋").icon
echo initButton("Hi").icon
echo initButton("Hi").withIcon("👋").icon.get

assert not compiles(initButton("Hi").icon.get)
assert not compiles(initButton("Hi").withIcon("👋").withIcon("❌"))
assert not compiles(initButton("Hi").withIcon("👋").withBorder("red").withBorder("blue"))


Update developer guide

Changes:

Update Target User Profile
Update Value Proposition
Update Non-Functional Requirements
Update Glossary

Codecov Report

Merging #21 (15e1253) into master (a1e5422) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #21   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 a1e5422...15e1253. Read the comment docs.


Ability to restrict unpublish action to certain users

My reason:
This is likely more of a question, however it's a functionality that may not be available.
I've looked in the config file examples and only seeing control over publish actions, but not unpublish.
I'm working on configuring the config.yaml
My Goals:

Any user can authenticate (create acct/login)
Any authenticated user can publish new packages or package versions
Only certain users can unpublish any package

Config file:
I already have
publish: $authenticated
but I'm looking for something similar to that but for deleting packages (unpublish)
Something like:
publish: $authenticated
unpublish: myuser1

Is this possible?

We are looking for similar feature +1

We are looking for similar feature +1

Be aware of #1223 PR that will provide this feature. Please leave your thoughts there if you have still some 🤓

Hello, this is awsome feature. Do you know when we can hope for this to be available ?
Regards

Documentation for unpublish settings
https://github.com/verdaccio/website/blob/master/docs/packages.md#unpublishing-packages

Thank you so much @juanpicado
I am looking for to using this awsome new feature. Can you tell me wich version of verdaccio will implement it ? And where I can find the information if into github project
regards,
Denis.

Hi @dlarr , next alpha, this week at any moment. We are waiting to finish a couple of things.

Testable here
docker pull verdaccio/verdaccio:4.x-next