Add support for PSR-3

Add optional logging (debug feature) for PSR-3

In all major lib parts logs could be written as follows
$this->log->debug(...);

As the lib is extremely tested I don't feel any specific logs are needed at the moment. For debugging purposes logs could be turn on by replacing Encoder::instance(...) with $this->createLoggedEncoder(...) which will save logs in root folder. Logs are based on monolog so they are highly configurable.
Logs tested and working. Don't see anything to add at the moment.


Uncaught Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #5

Steps to reproduce

I tried to execute "CssComb: Run" in the following file:

@charset "utf-8";

// Apply styles for the page approach.
@mixin apply-page-approach($ns) {
  html##{$ns} > body.approach {
  }
}

And I got the error below.
Atom Version: 0.177.0
System: Mac OS X 10.10.2
Thrown From: csscomb package, v0.1.2
Stack Trace
Uncaught Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #5
At /Users/alem0lars/.atom/packages/csscomb/node_modules/csscomb/lib/csscomb.js:205

Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #5
  at Object.Comb.processString (/Users/alem0lars/.atom/packages/csscomb/node_modules/csscomb/lib/csscomb.js:205:19)
  at /Users/alem0lars/.atom/packages/csscomb/lib/csscomb.coffee:44:19
  at Array.forEach (native)
  at csscomb (/Users/alem0lars/.atom/packages/csscomb/lib/csscomb.coffee:41:10)
  at atom-text-editor.<anonymous> (/Users/alem0lars/.atom/packages/csscomb/lib/csscomb.coffee:11:7)
  at atom-text-editor.handler (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
  at atom-workspace.jQuery.event.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/window-event-handler.js:170:20)

Commands
     -1:58.9 css-comb:comb (atom-text-editor.editor)
     -1:57.4 core:select-all (atom-text-editor.editor)
     -1:55.0 command-palette:toggle (atom-text-editor.editor)
     -1:52.9 core:confirm (atom-text-editor.editor.mini)
     -1:52.9 css-comb:comb (atom-text-editor.editor)
     -1:51.2 core:save (atom-text-editor.editor)
     -1:37.9 core:close (atom-text-editor.editor)
     -1:09.0 settings-view:open (atom-text-editor.editor)
     -0:51.8 editor:delete-to-beginning-of-word (atom-text-editor.editor.mini)
     -0:50.0 core:confirm (atom-text-editor.editor.mini)
     -0:39.5 core:copy (div.settings-view.pane-item)
     -0:14.7 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
     -0:11.7 csscomb:run (atom-text-editor.editor)
  4x -0:08.9 core:save (atom-text-editor.editor)
     -0:02.8 core:close (atom-text-editor.editor)
     -0:00.9 csscomb:run (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "followSymlinks": true,
    "themes": [
      "atom-dark-ui",
      "base16-tomorrow-dark-theme"
    ],
    "projectHome": "/Users/alem0lars/Develop"
  }
}

Installed Packages
# User
atom-beautify, v0.21.3
atom-color-highlight, v3.0.6
autocomplete-paths, v1.0.2
autocomplete-plus, v2.1.3
autocomplete-snippets, v1.0.1
csscomb, v0.1.2
editorconfig, v0.3.0
file-icons, v1.4.8
highlight-selected, v0.7.0
javascript-snippets, v1.0.0
language-gitignore, v0.1.1
language-haml, v0.15.0
language-lisp, v0.1.1
linter, v0.11.1
linter-coffeelint, v0.1.7
linter-csslint, v0.0.11
linter-erb, v0.0.3
linter-haml, v0.1.0
linter-jshint, v0.1.0
linter-lua, v0.1.3
linter-rubocop, v0.2.1
linter-ruby, v0.1.4
linter-scss-lint, v0.0.11
minimap, v4.1.3
minimap-color-highlight, v4.0.0
minimap-find-and-replace, v3.1.0
minimap-git-diff, v3.1.1
minimap-selection, v3.1.1
project-manager, v1.15.5

# Dev
No dev packages

/cc @atom/core

This seems to be an issue with how CSScomb is handling the parsing. If you don't mind creating an issue over there that would be great!


Improve the text at the top of the home page

Received the latest home page text from the product team.

 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: aruedadu sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Update sleeve.js

I think this fixes the sleeve issue, at least mine is running quietly.

Fixed this properly in my recent commit


The readme Running etcd section lacks pre-built install

The current Running etcd section of README seems only shows how to run etcd for installation
with master branch. If user has installed a pre-built release following the instructions on the release page, the ./bin/etcd won't work to bring up the etcd as such. The Getting etcd section covers both, pre-built and master branch, with recommendation of pre-built usage so the Running etcd section should consider both ways of installation.

I am working on the fix.  @xiang90 @gyuho Thanks!


Heading shown on Map is up to 12 degrees higher than MSFS2020 display?  Every other number is right on!

At least 18 ('cause I just looked lol). Magnetic bearing vs. true bearing?

yea, it's true and not magnetic https://github.com/lian/msfs2020-go/blob/master/vfrmap/main.go#L30
think we should switch to magnetic instead? or show both?

Both would be fine with me.
Get Outlook for Androidhttps://aka.ms/ghei36

From: lian<EMAIL_ADDRESS>Sent: Sunday, September 13, 2020 5:00:11 PM
To: lian/msfs2020-go<EMAIL_ADDRESS>Cc: BistroAir<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [lian/msfs2020-go] Heading shown on Map is up to 12 degrees higher than MSFS2020 display? Every other number is right on! (#42)
yea, it's true and not magnetic https://github.com/lian/msfs2020-go/blob/master/vfrmap/main.go#L30
think we should switch to magnetic instead? or show both?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lian/msfs2020-go/issues/42#issuecomment-691744810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ4JZAJSYAYJFXF7DSIAB7DSFVMIXANCNFSM4RK4IZGQ.

going into next release then :+1:

Thank you
Get Outlook for Androidhttps://aka.ms/ghei36

From: lian<EMAIL_ADDRESS>Sent: Monday, September 14, 2020 4:25:21 PM
To: lian/msfs2020-go<EMAIL_ADDRESS>Cc: BistroAir<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [lian/msfs2020-go] Heading shown on Map is up to 12 degrees higher than MSFS2020 display? Every other number is right on! (#42)
going into next release then 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lian/msfs2020-go/issues/42#issuecomment-692370318, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ4JZAKSWQSTR6JGSJ5XWTDSF2Q6DANCNFSM4RK4IZGQ.

Any updates on this as makes it a bit hard when the heading is off from what's expected.
Otherwise a very helpful app!

Any updates on this as makes it a bit hard when the heading is off from what's expected.
Otherwise a very helpful app!

Same as Issue #68 above.
Was this eventually corrected? I'm using the latest version and still see the same problem.


error when selecting task cell in simulation "Simulation Items" table

created a new row in the table, selected the Task cell, got the following error:
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Interrupt while evaluating Button PrivateButtonPushedFcn.
No public property 'UIFigure' for class 'MainView'.
Error in QSPViewerNew.Application.ViewPane/getSelectionNode (line 1300)
position = obj.ParentApp.OuterShell.UIFigure.Position;
Error in QSPViewerNew.Application.SimulationPane/onTableSelectionChange (line 426)
selectedTaskNode = obj.getSelectionNode("Task");
Error in QSPViewerNew.Application.SimulationPane>@(h,e)obj.onTableSelectionChange(e) (line 270)
obj.SimItemsTable.CellSelectionCallback = @(h,e) obj.onTableSelectionChange(e);

seems to be the case for any cell in that table

Fixed.
Pushing now.

Closing this. Feel free to reopen if you still see it.


[CS2103T-W10-4] Athena

Athena is a desktop app for managing contacts and schedule, optimized for use via Command Line Interface (CLI) It allows for seamless integration between the two functionalities, keeping track of events and the people involved in these events.

Codecov Report

Merging #54 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #54   +/-   ##
=========================================
  Coverage     72.31%   72.31%
  Complexity      400      400
=========================================
  Files            70       70
  Lines          1228     1228
  Branches        124      124
=========================================
  Hits            888      888
  Misses          308      308
  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 6389d85...c976a12. Read the comment docs.

Codecov Report

Merging #54 into master will increase coverage by 0.26%.
The diff coverage is 92.59%.

@@             Coverage Diff              @@
##             master      #54      +/-   ##
============================================
+ Coverage     72.31%   72.57%   +0.26%
- Complexity      400      405       +5
============================================
  Files            70       70
  Lines          1228     1247      +19
  Branches        124      127       +3
============================================
+ Hits            888      905      +17
- Misses          308      309       +1
- Partials         32       33       +1

Impacted Files
Coverage Δ
Complexity Δ

...java/seedu/address/logic/commands/EditCommand.java
95.06% <90.00%> (-1.96%)
15.00 <3.00> (+3.00)
:arrow_down:

...ain/java/seedu/address/logic/parser/CliSyntax.java
85.71% <100.00%> (+2.38%)
1.00 <0.00> (ø)

.../seedu/address/logic/parser/EditCommandParser.java
92.59% <100.00%> (+0.28%)
11.00 <0.00> (ø)

src/main/java/seedu/address/model/tag/Tag.java
84.61% <100.00%> (+4.61%)
7.00 <3.00> (+2.00)

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 6389d85...f9306e7. Read the comment docs.


pkg-bot tests are failing due to pub tar error

There are new test failures on [test] Fix isolate concurrency test to not pass in sound-null-safety flag.
The tests
pkg/dartdev/test/commands/create_integration_test RuntimeError (expected Pass)

are failing on configurations
unittest-asserts-debug-linux-x64
unittest-asserts-release-mac-x64
unittest-asserts-release-win-arm64

Log:
Failed to extract `/Volumes/Work/s/w/ir/x/t/pub_YcbOxK/devtools_shared-10.0.0.tar.gz`: Invalid tar entry: ..

https://dart-ci.appspot.com/log/pkg-linux-debug/unittest-asserts-debug-linux-x64/20704/pkg/dartdev/test/commands/create_integration_test
Caused by:

https://github.com/dart-lang/pub/issues/4305

This seems to be passing now (https://dart-current-results.web.app/#/filter=pkg/dartdev/test/commands/create_integration_test&showAll), closing in favor of https://github.com/dart-lang/pub/issues/4305 which was fixed.


[BUG] pip install tranaformers4rec has a mistake in the code

Bug description
When I use pip install tranaformer4rec[...] the library is outdated, and the function tr.TabularSequenceFeature.from_shcema shows an error  'Schema' object has no attribute 'copy'. You have already changed it in github, but not inside pip library. Could you fix it, as it's impossible to run anything?

Steps/Code to reproduce bug

pip install tranaformers4rec[pytorch, nvtabular, data loader]
Follow the example notebook and you will have problems with from_schema function.

Expected behavior
It should be no problems
Environment details
Doesn't matter, I tried on different systems and it's all the same.
Transformers4rec version is 0.1.16
Additional context
None

@AresDan can you tell us more about your env?

how did you install cudf and dask_cudf?  you need these two libs to be able to run Merlin libs.
are you cloning the TF4Rec repo from the main branch?

@AresDan can you tell us more about your env?

how did you install cudf and dask_cudf?  you need these two libs to be able to run Merlin libs.
did you also install  merlin-core? https://pypi.org/project/merlin-core/
are you cloning the TF4Rec repo from the main branch?

I am installing them using the command from official website "conda create -n transformer_tmp -c rapidsai -c conda-forge -c nvidia  cudf=23.02 python=3.10 cudatoolkit=11.8"
So the environment is clean, and then I am installing transformer using pip command, as using conda command gives me __glibc error.
I have tried to install tranaformers4rec on Nvidia course notebook, where cudf is already installed, and I face there exactly the same problem. Old versions have the same problem as well.
And it's not about the version even, just in the code there is "schema.copy()" in "transformers4rec/torch/tabular/base.py" inside "from_schema" function. Even if you try to run inside the main program "train.schema.copy()" it will show the same error, as schema doesn't have this function. Unfortunately, pip version still uses copy() and not deepcopy() function

@AresDan pip versions do not match with the latest main branches (dev branch), since pip versions are comply with the latest stable version. our latest stable version is 23.02. may be you can clone the 23.02 branch of transformers4rec lib and run the notebooks again?
besides, are you not able to use docker image? you can do docker pull nvcr.io/nvidia/merlin/merlin-pytorch:23.02 which comes with all the libs installed so you can just start executing the nbs.

If you're accesing the notebooks from a git clone of the repository. Make sure you checkout the tag that corresponds to the latest release. in this case v23.02.00 (e.g. git checkout v23.02.00)
This version of the getting started notebook was tested alongside the version of the code availablle in the PyPI package 23.2.0:
https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/v23.02.00/examples/getting-started-session-based/02-session-based-XLNet-with-PyT.ipynb
This uses a different type of Schema that was designed to work with the versions of Transformers4Rec released so far. We're working on adding support for the merlin.core Schema which is what is now being referenced in the development branch (main).

Could you fix these notebooks in the main branch?

The main branch is currently used as the development branch of the project where we make changes to code and notebooks to reflect enhancements to the API. In the upcoming release, the new version of Transformers4Rec will support the Merlin Core Schema in addition to the one from merlin_standard_lib. We are in the process of deprecating merlin_standard_lib and replacing the use of it with the Merlin Core Schema. We are maintining backwards compatibility in the next release, however, support for the merlin_standard_lib schema will eventually be dropped.
The notebooks on the main branch work alongside a development environment with the merlin packages checked out in development mode. Once this turns into a release, the notebook will work from an install of the released version of the Merlin packages. We are looking into changing the default branch of our repository from main to the branch corresponding to the last release to make this less likely to happen in future for those running the example notebooks.

@AresDan are you still having issue? thanks.

Same issue encountered when using the merlin pytorch docker image of version 23.02

Same issue encountered when using the merlin pytorch docker image of version 23.02

@SpaceLearner we recommend you to use the notebooks in the container not in the main dev branch. this will solve your issue. We do not recommend users to use main branch example notebooks that might deviate from the container version. So please use whatever comes with the container. thanks.

@AresDan are you still having issue? thanks.

No, when I switched the branch, everything worked fine


hack: build netgo osusergo in binary instead of using clibs

Fix Error version `GLIBC_2.32' not found (required by ocs-operator)
via building static binary.
The Error is seen when the dynamic binary is built on a OS where higher
clibs version is installed and ran on the OS where lower clibs version
is installed.
Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>

cc @raghavendra-talur

@obnoxxx @umangachapagain What are your thoughts on this?

I have a little different approach on this see if it works fine.

create new file go-build-static.sh add step 2 &3 in this file.
using sed commands change the two line in comman.sh
run make ocs-operator
add this as make ocs-operator-fedora in Makefile

with this approach I think we will not change the existing code and it will solve your problem also.

It is not just a fedora problem or my problem, It is a generic problem with golang dynamic build. You can read about it at [1].
[1]. https://oddcode.daveamit.com/2018/08/16/statically-compile-golang-binary/

that is fine if not fedora. you can change the name to make ocs-operator-static.

that is fine if not fedora. you can change the name to make ocs-operator-static.

I am still in favor of static binaries as static binaries have everything plugged together and no other dependencies are required. So whatever we will build that will be the only thing which will get used and there will be no surprises later.

Thanks, @jarrpa and @raghavendra-talur


Calderon Lab's First Halloween!!🎃👻

Paper Reviewers 1 (Diego), 2 (Kina), and 3 (Angela). So spooky👻
10/31/2024

Added this post with 8cc4b3a. Happy Halloween!!


Add clemens

Config changes proposed in this pull request

Add clemensgbasler to baloise-incubator members

For new organization members
I acknowledge that

[x] I have read and understood the Open Source Guidelines
[x] I agree to act accordingly (with due dilligence) to our guidelines
[x] I have no open questions regarding the topics covered (please delete the "open questions" section)

My basler mail is now publicly visible.


Knowledge Graph from Entity Extraction

Hey, I was thinking of creating a knowledge graph from the extracted entities of the documents. We could first extract the entities and then these entities could be the edges of the documents. This way we can map the documents as knowledge where the edge information is the common entities between documents. How does this sound?

Sounds amazing, let's start with an entity extraction pipeline that can sit after the ingestion pipeline in the default RAG system?

Sounds good!

@taahan0810 - I spent a few minutes and whipped up a very RD of the entity extraction pipeline here, thoughts?

This looks good! I was not sure if the Pipeline class import was present in r2r.pipelines so I left a comment.

this code won't run, it's more or less an early version - do you want to pull it in and polish it and commit some changes?

Yes, on it!


Review Keyboard Functionality in Guacamole VNC/RDP/SSH

Description
Evaluate keyboard use for Sunstone VM console access
Tasks

[ ] Change keymap input to a selector. it would be good if available keymap values for remote connections were displayed in a selector instead of having to write them as this could lead to errors. When users misspell the keymap value, the VMs are not getting instantiated.
[ ] Check non-US keyboard in Guacamole RDP
[x]  Check non-US keyboard in Guacamole SSH

Related to #5766

Progress Status

[x] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

PR to be approved:

https://github.com/OpenNebula/one-ee/pull/2234

Docs: https://github.com/OpenNebula/docs/pull/2362


Performance Bug: an increasing amount of interval checks against the dashboard and wallet

v3miner
I just found kind of silly bug
Everytime you click any other tab (away from "Wallets") and then go back to Wallets and click on a wallet, it causes a whole new set of interval checks against the dashboard and wallet (edited)
In other words, it's stacking the interval calls to check the balance and *_wallet_dashboard.js (edited)
So the more you switch back and forth, the slower the entire wallet becomes over time
It's making a request to [coin]_wallet_dashboard.js and [Coin]Balance.js 53 times in row :joy:
This is because in sidebar.js you are executing KMDWalletDashboard.init() and RunKMDInitFunctions() every time a wallet icon is clicked, and compounded by not using named intervals that you can clear later. (edited)
That being said, I don't see the point of executing the init again at all since you have these intervals firing regardless of what tab you are on anyway. Should run init scripts once when the coin is added.
Oh, I should also note this will happen if you have multiple coins running, every time you switch from one coin to the other it will have the same effect

new gui version will take into account this issue


SelectMenu onBlur selects first item when searchable is true

Environment

Operating System: Darwin
Node Version:     v21.5.0
Nuxt Version:     3.9.1
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, ssr, devtools, typescript, imports, colorMode, ui, sanctum
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.12.0
Reproduction

Add a SelectMenu with the searchable prop set to true
No value is yet selected in the SelectMenu
Open the menu
Click outside the menu to cancel the selection
The first item will be selected now

The issue can easily be reproduced with the example from the docs.
Description
When using the SelectMenu with searchable set to true, the first item is selected when clicking outside the menu.
If the selection is cancelled by pressing the esc key the issue does not occur.
Additional context
No response
Logs
No response

Indeed, I've never noticed that. Unfortunately, it has something to do with Headless UI Combobox internal behaviour, it does the same thing when playing with their example: https://headlessui.com/vue/combobox.
Maybe this https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-vue/src/components/combobox/combobox.ts#L1239?

Your right, the problem is upstream. I created an issue for Headless UI.

The next release will have this https://github.com/nuxt/ui/commit/d67c7482acb0041a9474b238734ef33c692a3ce9 that pins @headlessui/vue to the previous version so it doesn't break any combobox.

Should be fixed in https://github.com/nuxt/ui/releases/tag/v2.12.1.

Looks like the InputMenu still have this issue.

Yeh, i'm also running into this issue.....

The issue still exists


Prettify URLs to handle Ajax Request

The following link prohibits to run the Ajax Request on Sub Assignment Page: https://www.ranafaraz.com/CSS/frontend/web/sub-assignment/index
Every time I've to remove index manually.

Done.


Update Linter

Added Local Lint Command to CONTRIBUTING
Separated Environment Variables into super-linter.env

This may conflict with some of the pending changes in #217. @deboraelkin2 for visibility.

@mservidio Looks like the Owl Bot Post Processor is what caused the changes to your files (Wasn't expecting that on this PR) Could you pull the changes from this PR onto yours (or make the changes manually)


Remove inspect on mix version

Hi there!
This PR just removes an IO.inspect/1 that is output on every mix command, when using this library as a dependency.
Thanks!

Fixed in latest release. Thanks!


Increasing number of asyncio tasks causing memory leak

I have a Websockets client that is always running. Once in a while, the client is disconnected from the server. It’s either because of network issues between the client and the server or because it is connected for too long and the client just reconnects to balance the charge on the servers. The client automatically reconnects to the server. I am using the websockets.connect() context to build the connection.
After a few weeks, the number of asyncio tasks is very high. When I list the tasks with asyncio.Task.all_tasks(), I see hundreds of websocket finished tasks:

WebSocketCommonProtocol.close_connection()
WebSocketCommonProtocol.transfer_data()

I am running Python 3.6.9 and Websockets 8.1. Any idea what could be the cause and how to troubleshoot further?

Are the tasks still there after import gc; gc.collect()?
Is there a chance that something in your program (including asyncio's debug mode) keeps a reference to previous client connections, preventing them from being garbage collected?

Running gc.collect() doesn't help. It removes some of the old tasks but not all.
I removed some logs that were referring to the connections and I upgraded to 3.7.5. I will deploy that version and let you know in a few days if it's better or not.

@aaugustin It's not better with my last changes. Any advice on how to troubleshoot?

The issue is only present with version >= 8.0 and when the code is compiled with Nuitka (see Nuitka/#588). I don't have the issue with version 7.0 so I will downgrade to that version for now. Since it's always running fine with native python, it's probably a bug with Nuitka. However, @aaugustin, if you have any info on what changed from 7.0 to 8.0 that can help the Nuitka team pinpoint the issue, I am sure they would appreciate.
A full reproducer is available at https://github.com/levesquejf/nuitka-websockets-bug.

I reviewed the changelog but I'm not spotting anything suspicious, nor do I remember changes around task management (termination / cancellation), sorry.
websockets doesn't get a lot of activity (137 commits between 7.0 and 8.0) and master is kept stable, so it should be fairly easy to bisect the regression with your reproducer. Checkout the repository, pip install -e, and bisect.


Add a new CI job to fuzz the parser

Summary
This PR adds a new CI job that tests the parser by running the new scripts/fuzz-parser script. The job runs the parser over 1,000 randomly generated (but all syntactically valid) Python source files. For any files that the parser fails to parse, the script minimises the generated source code into a minimal reproducible example. On completion of the script, if any bugs were encountered, the script fails with exit code 1.
How many seeds should we pass to the script?
This PR currently passes 1,001 seeds to the script for it to test. In an ideal world, we'd obviously run it over a larger range of seeds, but I think 1,001 seeds is enough for it to serve as a useful regression test (I discovered the bug that was fixed in #11009 on seed 6 with an early version of the fuzz-parser script).
The new job takes around ten minutes to run in CI. That's quicker than the ecosystem job if the ecosystem job runs both the formatter and linter ecosystem checks, but it's slower than the ecosystem job if that job runs only the linter ecosystem checks. If we think 10 minutes is too long for this job, we could pass a smaller range of seeds to the script in CI.
One way we could get the "best of both worlds" might be to pass it a small range of seeds for CI on PRs (500?) but have a nightly job that passes a large range of seeds (5,000? 10,000?). We could have a bot that automatically opens an issue when the nightly job fails -- we do something like this at typeshed: https://github.com/python/typeshed/issues/11801

I've reduced the number of seeds in CI to 501. I'll land this now as a regression test to run on PRs, and I'll separately explore running a larger set of seeds as a nightly workflow

For now, I just run the fuzzer locally with random seed numbers for around 2-3k inputs. Do you know how this affects the CI minutes?

It seems like in CI (which uses a debug build and runs on machines with only a few cores, so seems to be a fair bit slower than local running), it reliably fuzzes around 100 seeds a minute. So passing 500 seeds means the script takes 5 minutes; passing 1,000 seeds means the script takes 10 minutes; etc.


TransformerLM lm1b model accept float and out-of vocabulary token as input

I was experimenting with the TransformerLM from the lm1b example (https://github.com/google/flax/blob/master/examples/lm1b/models.py).
I noticed that TransformerLM do not raise any error when:

The input is float (e.g. np.float32)
The input ids are outside the range [0, vocab_size]

Both of those seems confusing to me. Is it the expected behavior ?
Example:
from flax.examples.lm1b import models as lm1b_models

model_cls = lm1b_models.TransformerLM.partial(vocab_size=32)

y, params = model_cls.init_by_shape(
  jax.random.PRNGKey(0),
  [((1, 3), jnp.float32)],  # < Tracing with float don't raise error
)
model = flax.nn.Model(model_cls, params)

model(jnp.array([[0.3, 0.5, 2.9]]))  # < Float don't raise error
model(jnp.array([[100, 101, 102]]))  # < Out of vocabulary token ids don't raise error

As a side note, I noticed that the input pipeline is using the deprecated TFDS sub-split API: tfds.Split.TRAIN.subsplit which is incompatible with the last versions of TFDS (split='train[90%:]' should be used instead).
(minor cleanup) I also think
dataset_builder = tfds.builder(dataset_name, data_dir=data_dir)
...
train = tfds.load(dataset_name, data_dir=data_dir, split='train')
valid = tfds.load(dataset_name, data_dir=data_dir, split='test')

could be rewritten as:
builder = tfds.builder(dataset_name, data_dir=data_dir)
builder.download_and_prepare()  # No-op if data already exists
...
train = builder.as_dataset(split='train')
valid = builder.as_dataset(split='test')

This would avoid reloading three time the dataset, which may save a few seconds startup when loading from a remote file systems.

Yeah, currently the model forcibly casts vocab data as int32 type.  We could be more strict and issue a warning instead (there is a type check in the embedding layer).
Out of vocab is trickier - we can't raise exceptions easily (or at all) on accelerators, so out-of-bounds access silently clamps.  There is discussion in JAX to instead emit NaNs for out-of-bounds access which would error-out harder.
eg.
jnp.take(jnp.array([[1.0,0.0,0.0],[0.0,1.0,0.0],[0.0,0.0,1.0]]),
         jnp.array([0,1,2,3,4]),
         axis=0)
# DeviceArray([[1., 0., 0.],
#              [0., 1., 0.],
#              [0., 0., 1.],
#              [0., 0., 1.],
#              [0., 0., 1.]], dtype=float32)

Thanks for raising the issue vis-a-vis the updated TFDS API - this loader dates back to before the new api existed, I've filed a separate issue #138 to review and update this in all of our examples.
I'll investigate the final issue, but I somewhat doubt it makes much difference given that the tfds datasets are set up as a lazy streams, rather than actually loading much on construction.

Closing due to inactivity.


Tracking issue: VM performance improvements for v0.6

Goal(s)
Improve the performance of the Miden VM.
Details
We've collected a number of performance-related issues that we'd like to start addressing. For v0.4 in particular, it would be great to address improvements to the range checker, the chiplets bus, and the memory subsystem. It would also be nice to start on some more general trace generation improvements, such as multi-threading and decoder improvements.
### Must have
- [ ] https://github.com/0xPolygonMiden/miden-vm/issues/395
- [ ] https://github.com/0xPolygonMiden/miden-vm/issues/394
- [ ] https://github.com/0xPolygonMiden/miden-vm/issues/446

### Nice to have
- [ ] https://github.com/0xPolygonMiden/miden-vm/issues/299
- [ ] https://github.com/0xPolygonMiden/miden-vm/issues/606
- [ ] trace generation improvements (e.g. decoder, multi-threading, some performance-related TODOs in the code)

Working group:

Workflow

Discussion should happen here or in the related sub-issues.
PRs should only be merged by the coordinator, to ensure everyone is able to review.
Aim to complete reviews within 24 hours.
When a related sub-issue is opened:

add it to the list of sub-issues in this tracking issue

When opening a related PR:

request review from everyone in this working group

When a sub-issue is completed:

close the related issue with a comment that links to the PR where the work was completed

Coordinator:

Workflow
The working group coordinator ensures scope & progress tracking are transparent and accurate. They will:

Merge approved PRs after all working group members have completed their reviews.

add the PR # to the relevant section of the current tracking PR.
close any completed sub-issue(s) with a comment that links to the PR where the work was completed

Monitor workflow items and complete anything that slips through the cracks.
Monitor scope to see if anything is untracked or unclear. Create missing sub-issues or initiate discussion as required.
Monitor progress to see if there's anything which isn't moving forward. Initiate discussion as required.
Identify PRs with especially significant changes and add @grjte and @bobbinth for review.

Closing this tracking issue as we'll address individual issues separately.


Update atomic writer

Update the vendored atomic writer to match upstream.

Awesome, so this also moves the chown step to before the atomic update operation, in turn helping to avoid a race condition where the files may not have the current permission bits set immediately after they are made visible to the workload?
Can you update the title/release note to reflect this behavioural change so it can bubble up into release notes?


Reflect for Tonemapping and ClusterConfig

Objective

it would be useful to inspect these structs using reflection

Solution

derive and register reflect
Note that #[reflect(Component)] requires Default (or FromWorld) until #6060, so I implemented Default for Tonemapping with is_enabled: false

bors r+


Keypoint RCNN integration

Hi,
I'm trying to integrate the pose tracking algorithm example into keypoint RCNN detection model but I'm getting the an error when I pass the Detected objects into the tracker.
I'm converting the detected keypoints and it's scores into a norfair.Detection object using the following code:
detections = [norfair.Detection(points=keypoints_array,scores=scores_array)]
After doing that conversion I check that I've values stored in my detections and I got the following output:
       [1594.391  ,  650.7872 ],
       [1580.048  ,  440.47913],
       [1528.4133 ,  440.47913],
       [1528.4133 ,  440.47913],
       [1544.1904 ,  508.18106],
       [1491.1215 ,  515.38336],
       [1557.0992 ,  588.84717],
       [1482.5157 ,  640.7039 ],
       [1594.391  ,  624.8588 ],
       [1584.3508 ,  675.2751 ],
       [1506.8988 ,  727.1319 ],
       [1491.1215 ,  732.89374],
       [1663.2372 ,  725.69147],
       [1673.2773 ,  730.0129 ],
       [1571.4421 ,  715.6082 ],
       [1570.0079 ,  717.0486 ]], dtype=float32)] [array([-1.0204245 , -0.23408791, -2.384819  , -1.9272052 ,  0.8853889 ,
        3.2817383 ,  7.810372  ,  2.475178  , 11.387346  ,  4.371869  ,
       10.931066  ,  3.5870967 ,  3.786034  , -0.7125755 , -0.56321704,
       -2.1999962 , -0.9299965 ], dtype=float32)]

Where the first array contains the keypoints I want to track and the second array their scores However when I pass the detections to the tracker I get the following error:
ERROR: The detection list fed into `tracker.update()` should be composed of <class 'norfair.tracker.Detection'> objects not <class 'norfair.tracker.Detection'>.

Should I change the data type of my arrays?

Hi! Thanks for the feedback. The error message you received is actually incorrect, and is not really reflecting what is happening in your case. We'll have to fix our error message on our end, so thanks for the feedback!
Regarding your error, I think the array you sent to Detection is incorrectly shaped, but I can't really tell by looking at that text you copied, as it is not complete.
You can check the docs here which detail what format of array Detection expects.


Volume scroll wheel on keyboard opens pause menu

I have a Razer Ornata V2 keyboard, and on it has some media controls, including a volume scroll wheel. Whenever I do turn the (system) volume up or down using it, the pause menu in the game seems to open. Additionally, if I'm in the settings and scroll the volume wheel, it'll go back a few pages. I was unable to find a setting to change this.

And just to check, this only happens with this mod installed?


loss of network connectivity crashes the app

if the network is lost after apns is started, .eg. {error, nxdomain}, the app crashes. What happens is when the feedback timeout occurs, a reconnect message is sent, which fails, crashing the gen_server. The simple_one_for_one strategy with transient workers is quickly exhausted, crashing the supervisor and eventually the app.

Current apns4erl has an exponential backoff strategy in order to reconnect when connection is lost.


Log NSData as human readable string

Currently, I see messages being logged as:
registerToken failed:, Unable to find a push integration set up for application
iOSStaging on APNS_SANDBOX, got response 126 bytes

This change should make them appear as:
registerToken failed:, Unable to find a push integration set up for application
iOSStaging on APNS_SANDBOX, got response "{\"msg\":\"Unable to find a
push integration set up for application iOSStaging on
APNS_SANDBOX\",\"code\":\"BadParams\",\"params\":null}"

@chunkyguy Thanks. We will be merging this soon.


Upmerge 2022.09.27

Merge upstream up to commit b96453f653b674629c617bdbc810c3d9f7916ef4.

Rebased.

Rebased.

    Signed-off-by: Andrzej Głąbek<EMAIL_ADDRESS>

@nordicjm

Commit 0568872 (no-up) seems to be missing:

Indeed. Thanks for spotting this!
Fixed.

commit 5cefb574d19d68d87fca6cecfc56fb42c8dd6ef3 adds mixed tab then space then tab then space usage in subsys/fs/littlefs_fs.c

Fixed, thanks.

Fix for failing mcumgr test: https://github.com/nordicjm/zephyr/tree/sepupfix
Can either move it across or update the existing commit (ID: aa0aa32)

Updated the existing commit.

Rebased.


KOGITO-5712 - Remove integration tests from productized profile

As discussed with @jstastny-cz @mareknovotny IT modules should not be included in the final offline maven repository,

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

@mareknovotny @ricardozanini @jstastny-cz please take another look as I refactor it to have two profiles as suggested by @jstastny-cz . Combining productized and  excludeITModules profiles are the artefacts that will end up in the offline Maven repo.
If running just productized, it will now also include the IT modules related to the artefacts that need to be productized.

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

Jenkins rerun examples tests

The (build) Optaplanner check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.


There is no posibility to switch off wordwrap

It is no way how to use "wordWrap: false" and place new lines by the '\n' charecter.
If we use  -wordWrap: false, then we get "infinity" width of textContainer. It leads to disappearing texts at all.

Hi. Can you send me an example of this? I don't see the issue when I'm testing it.
From demo/index.html
            // Wrapping and Alignment
            const wrappingText = `Global word wrap and alignment properties are controlled by the "default" style, and can\'t be overridden by other styles.`;
            const wrappingStyle = {
              default: {
                fontFamily: "Arial",
                fontSize: "24px",
                fill: "#CC6600",
                wordWrap: true,
                wordWrapWidth: 150,
                align: "right",
              },
            };
            let wrapping = new TaggedText(wrappingText, wrappingStyle, {});

            const nonWrappingText = `This one doesn't have \`wordWrap\` so it just keeps going and going and going off the edge! \nHowever, you can use line breaks to manually wrap it.`;
            const nonWrappingStyle = {
              default: {
                fontFamily: "Arial",
                fontSize: "17px",
                fill: "#669900",
                wordWrap: false, // <<<<<<<<<<<<
                wordWrapWidth: 150,
                align: "left",
              },
            };
            let nonWrapping = new TaggedText(nonWrappingText, nonWrappingStyle);
            nonWrapping.x = 30;
            nonWrapping.y = 330;

            nonWrapping.textContainer.width; // 693

Result:

Thank you for an example. If we will use align: "center" for the nonWrappingText we get an infinite textbox. And I can`t choose a width of the textContainer.


Reversed dependencies and broken Mixins

Currently the ARVE class serves as an interface for the submodules star, planets etc. However, the constructors of each submodule is placed inside the arve module. Due to large methods the code is split into individual files. The dependencies (star, planets etc) are then created by "reverse-inheritance" in each submodule to add the methods before the constructor. This causes all submodules to be unusable by themselves and breaks type hints in each submodule.
This can be resolved in 2 ways while keeping the overall interface the same:
The first method is to properly use mixins. That is to create a base class in each submodule and then perform a series of imports between each file, inheriting the previous class into a class with the added method. The final class, at the end of the inheritance tree can then be exported to the module above, keeping the interface untouched.
The second approach involves importing the methods as functions into a file with the definition of the main class. The adding the functions to the class as methods using the setattr function.

Appreciate any feedback on the choice of approach and implementation details. If everything looks good I will go ahead and create a PR for the second approach sometime this weekend


Fix env vars

Hi folks 👋🏻
I've fixed a couple of bugs Matt flagged to me. I hope my commit messages are clear enough!

Thanks very much @jonodrew 👍🏻


Picographics doesn't support PNGs?

I want to use PNG files to display simple graphics, but it's looking like this is not possible on the Stellar Unicorn display pack. Is there a workaround to enable this? Surely a tiny 10x10px png file can be displayed somehow on these tiny pixel displays?

Fool that I am, I didn't update my pico to the latest build of micropython, which now supports PNG.


Create SECURITY.md

Critical Changes
Changes
Issues Closed

Thanks @Imanuelc112 for submitting a Pull Request.  Can you provide more context to the file you're adding?  I understand the context of the security file, but would like you to provide context to it and I don't see any comments on the commit or PR.

Closing based on lack of response


Simplifying and Streamlining Processes

#1 Providing a link to this site prominently on the Treasury, OMB, and GAO website to obtain a broader selection of comments would be extremely helpful. Even knowing that this site existed, it was still very difficult to find. Most people are not even aware that it exists so don't know to even look for it.
#2 There are a number of documents and attachments that recipients must provide when applying for a federal grant or contract. For those who may submit more than one application a year, it would seem easier for everyone involved if those standard documents could be upload to a single location, such as grants.gov and held in a repository to be used by any federal awarding agency rather than the applicant having to prepare them for each application submission. It would be the applicants responsibility to keep them up to date, but they would only need to submit them once at which point they are always available to any federal awarding agency that needs them.

This sounds like the reps and certs that we have to complete in SAM as a contractor.  Would you offer a couple of examples of the documents to which you're referring?

I'm going to close this for now since I think it's out of scope for the DATA Act, which is related to post-award spending information.


Fix ExternalLinkableTests.testVariantSummaries  for Linux CI

Bug/issue #, if applicable: N/A
Summary
Attempts to fix ExternalLinkableTests.testVariantSummaries which is not working on Linux CI since yesterday:
/home/build-user/swift-docc/Tests/SwiftDocCTests/LinkTargets/LinkDestinationSummaryTests.swift:457: error: ExternalLinkableTests.testVariantSummaries : XCTAssertEqual failed: ("Optional([SwiftDocC.LinkDestinationSummary.TaskGroup(title: Optional("Type Methods"), identifiers: ["doc://org.swift.MixedLanguageFramework/documentation/MixedLanguageFramework/Bar/myStringFunction(_:)"])])") is not equal to ("Optional([SwiftDocC.LinkDestinationSummary.TaskGroup(title: Optional("Type Methods"), identifiers: ["doc://org.swift.MixedLanguageFramework/documentation/MixedLanguageFramework/Bar/myStringFunction(_%3A)"])])") -

Looks like it's related to how the character : is being encoded in the URL:
myStringFunction(_:) vs myStringFunction(_%3A)
This is an attempt to fix the test by removing percent encoding from the test URL.
Dependencies
None.
Testing
Unit tests should pass in Linux CI.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests N/A
[x] Ran the ./bin/test script and it succeeded
[ ] Updated documentation if necessary N/A

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

Closing, we've disabled the tests for the time being instead: https://github.com/swiftlang/swift-docc/pull/996


Need a provision to hide the tags of selected filter under the dropdown component.

I am creating a filtering module with multiple multi-select dropdowns. The dropdowns mentioned add tags at the bottom for selected options. As per UX provided for the page required us to add another selection with all the selected options.
In shidoka the tags are always added and there is duplication of tags. Therefore need a provision to hide the tags of selected options under the dropdown component (multi-select variant )
A clear and concise description of what you expected to happen.

Since this is the intended design for the multi-select, we will have to raise this to the design team as an enhancement request.

@vaishnavi-dhakankar  can you give us the use case in more detail? It's not clear when or how this use case gets used.

@cunningham-kyndryl As per the design shared with us, we need to show all the selected options from multiple dropdowns in a separate section with a single clear action to clear the selection.
design  below:

however, with the current implementation of Shidoka dropdown, we see additional tags (blue tags) just below the dropdown
(see previous img) which causes duplication of tags. We want a flag based on which we could show/hide these blue tags.

@vaishnavi-dhakankar can you show the design that needs this? In the DD, the user can unselect all sections by clicking on the black tag within the DD. Does this not solve that problem?

I think they want to be able to reset all of the dropdowns/filters with on click, whereas the black tag in the dropdown only clears that one dropdown.

@brian-patrick-3 @cunningham-kyndryl  I have already discussed it Robert and Manoj, they will get back to you for further discussion.

:tada: This issue has been resolved in version 1.1.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add QR type captions. Move QR logic to a separate reusable component

[x] Create reusable component QRImage
[x] Add support for type address
[x] Add support for type privateKey
[x] Add support for type transaction
[ ] Add support for type mnemonic
[x] Add the secure view for privateKey
[x] Add the create password modal for privateKey
[x] Move replace the qr logic from all screens with new component
[ ] Add captions to the QR scanner

@OlegMakarenko could you add more details what should be tested in this task?

@OlegMakarenko could you add more details what should be tested in this task?

@cryptoBeliever QR images in the wallet's screens should be readable with another mobile and desktop wallets


Update examples/python/GetStarted.md

Added an alternative Path, where "Settings.ini" might be located
Fixes #[issue number].
Status
[ ] Under development
[ ] Waiting for code review
[ ] Waiting for merge

Information
[ ] Contains breaking changes
[ ] Contains new API(s)
[X] Contains documentation
[ ] Contains test
[ ] Contains examples

To-do list
[ ] [Fix this thing]
[ ] [Fix another thing]
[ ] ...

Hi, and thanks for contributing!
Before we can handle your pull request we need you to sign our contributor license agreement.
This is a one-time thing and enables you to contribute without hassle to any of the qlik-oss repositories in the future.
And it only takes a few minutes! Here are some useful links to get you started:

Sign the CLA
Rationale behind the CLA
Qlik R&D Open Source repository
Official Slack team

Having troubles? Feel free to reach out to us either here or on Slack!


Droping folder in terminal not working on Elementary OS.

Testing #27346
Elementary OS Freya

select a folder in the Elementary 'Files' explorer and try to drop it on the internal terminal.
VSCode reloads and opens on the new folder.

Dropping a file at the terminal cursor position seems to work

This is generally the case on any OS: when you drop a folder over VS Code, we assume that the user wants to open this folder in VS Code and as such open it. This may change a little bit once we have multi root enabled though.

Sorry about that, this is as designed for now. Removed folder from the test case.


cannot import name Class_szfast

Hi,
When I tried to import class_sz I met this issue attached below. How can I fix this issue?
Many Thanks,
Shiming
from classy_sz import Class
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [3], in <cell line: 1>()
----> 1 from classy_sz import Class

File ~/class_sz/python/classy.pyx:37, in init classy_sz()

ImportError: cannot import name Class_szfast

@ShimingGu  closing this issue for now, assuming this is solved. Please let me know if that is not the case.


Update loofah for CVE-2019-15587

Added additional disable for rubocop that seems to have started complaining about line length in saml.rb even though versions don't appear to have been changed within the project.

Hi @bradleybeddoes , apologies, but I'm to blame for the line length rubocop complaints - I introduced them in #203 - and I included a commit fixing the line length errors in (pending) #206 .


Cannot explicitly call default method in an interface on Android

I have a default method in an interface, and I tried to call it explicitly from the same method in the implementing class and it is generating an exception:
@Override
public void glDrawArrays(int primitive, int offset, int vertexCount)
{
    IGraphicsDevice.super.glDrawArrays(primitive, offset, vertexCount);
    GLES30.glDrawArrays(primitive, offset, vertexCount);
}

This is the code that I'm having and it works fine under standard Java 8. But when doing the same code (back ported to Java 1.6 on android) generates the following error:
Uncaught translation error: com.android.dx.cf.code.SimException: com.android.dx.rop.cst.CstInterfaceMethodRef cannot be cast to com.android.dx.rop.cst.CstMethodRef

I'm using this with latest gradle-retrolambda and retrolambda. I'm not even using Progaurd, so I'm not sure why this is being caused. All the original default method does is that it increments a static variable from a final inner class of the same interface.

@orfjackal Sorry for pinging directly, but do you need any more information regarding this issue?

It would help to have a SSCCE for reproducing it. I haven't yet had time to look into it, but that would help to make it faster to fix.

The error message about CstInterfaceMethodRef and CstMethodRef sounds like it can be something similar to #119


CPP/taskcpp/ReverseName.cpp

Complete the task and attach a screenshot of your code and output. You may take the input yourself according to the task.

Can you please assign this issue?

Please assign this issue to me !!

Check pull request
include
include
using namespace std;
int main()
{
char fname[30], lname [30];
cout << "\n\n Print the name in reverse where last name comes first:\n";
cout << "-----------------------------------------------------------\n";
cout << " Input First Name: ";
cin >> fname;
cout << " Input Last Name: ";
cin >> lname;
cout << " Name in reverse is: "<< lname << " "<< fname <<endl;
cout << endl;
return 0;
}
Output:


[NSKeyedArchiver] Implement init() and encodedData

Looks good! Can we get a simple test case too?

@parkera please can you take a look?

@swift-ci please test and merge

Great, thanks!

@parkera seems like something's wrong with the build.

Hm let's try again...

@swift-ci please test and merge

@swift-ci please test and merge


refactor: build a bull set no snapshots

Overview

Refactors build-a-bull from PARTITIONED_WEIGHTING to NO_SNAPSHOT

Issues:

Tracking: https://algorandfoundation.atlassian.net/browse/ENG-67

@ori-shem-tov if you have time, give this a spin. It's configured for NO_SNAPSHOT and it uses the same csv as xgov but ignores the weights.


onHover with overlapping plots

With the new API you seem to be forced to overlap plots if you want to render multiple data series on the same axes, for instance:

This works okay except the onHover of PlotCustomizations seems to only trigger on the top-most plot, which I'd think would not be a limitation of the DOM unless stopPropagation was being used, but seems to be what I'm experiencing.

It seems like this actually is just an issue with how mousemove behaves with overlapping divs, as seen here: https://jsfiddle.net/s9ha5b5b/
pointer-events: none can be used to pass events through to a lower element, but there does not seem to be a simple way to trigger the event on all overlapping elements.

Hi! Thanks for writing! You can add two series in one plot though. Here's an example. Is there some condition causing this not to work?
P.S. Sorry for the late answer!

I think that's going to work for me. I missed that I could just wrap my different series in a record to differentiate them in toDataPoints. ^ ^;
Thanks for your help! I'll close out this issue.


Polling for a async task and then waiting for either 1 success or all response rejected

PromiseKit version: 4.0
Xcode version: 8.3.2
Hey thanks for such an awesome job. I have recently started using PromiseKit but i have already started seeing great benefits of this.
Actually i am creating a polling HTTP request which in returns gives "completed" or "notCompleted"
I have to keep making HTTP calls after every 1 secs for a duration of 5 sec

What i need to achieve is if any 1 call gives me completed status i will return fulfilled("completed"). But if all of my request gives me a response of "notCompleted" I need to return reject("notCompleted")
return Promise<T> { fulfilled, reject
let timer1 =  Timer.scheduledTimer(withTimeInterval: TimeInterval(1), repeats: true) { timer in
    pArr.append(Promise<T> { f, r in

        doSomeAsyncTask { T in
            if success {
                f(T)
                fulfilled(T)
                timer.invalidate()
            } else {
                 r(ErrorNotCompleted)
            }
        }

        // timeout option
        _ = after(interval: TimeInterval(15)).then(execute: { () -> Void in
            reject(timeoutForConfirmation)
        })
    })
    }

Timer.scheduledTimer(withTimeInterval: TimeInterval(5), repeats: false) { timer in
    timer1.invalidate()
    timer.invalidate()
    when(resolved: pArr).then { results in
        let count = results.filter({ result -> Bool in
             return result.boolValue
        }).count

        if count == 0 {
            // TODO: then reject here
            reject(ErrorNotCompleted)
        }

        }.catch { error in
            print(error)
    }
}

}

timer1.fire()

How can i achieve this? Is there a better way to write the above code in PromiseKit.

Promise { fulfill, reject in
    var x = 0
    func attempt() {
        doSomeAsyncTask { success, error in
            if success {
                fulfill()
            } else if x < 5 {
                x += 1
                after(interval: 1).then {
                    attempt()
                }
            } else {
                reject(error)
            }
        }
    }
    attempt()
}

@mxcl - Just a query in you code the next call is made when the response of the previous calls come but actually i need to make the next call irrespective of previous response or not. And how can i make this thread safe as x can be called by multiple response thread?

And how can i make this thread safe as x can be called by multiple response thread?

Promises are implicitly thread-safe. See the FAQ.

Just a query in your code the next call is made when the response of the previous calls come but actually i need to make the next call irrespective of previous response or not.

I'm finding it very difficult to understand what you want. This is my best attempt, if this isn't correct maybe you could try to explain your needs again:
return Promise { fulfill, reject in

    success = false
    x = 0

    func go() {
        x += 1
        asyncTask {
            if $0 { success = true }
        }
        after(interval: 1) {

            if x < 5 {
                go()
            } else if success {
                fulfill()
            } else {
                reject()
            }
        }
    }

    go()
}

Hey @mxcl thanks for your comment and i am sorry if I am not able to explain this properly. Let me try explaining question again:-
The above code that you have posted do take care about calling async func after every 1sec irrespective of whether the previous request has been answered or not. This is 1st requirement.
The second point to take care is: If any of the existing request which has been made gives a response of success. I need to stop all the recursive callbacks and send back Fulfilled with the result.
The third point is: After making all the calls over a duration of 5 secs. If all the responses comes back as failure then i need to send back reject with an error in it.
In the above code success is checked immediately after x == 5. Due to this we are not waiting for all the responses to comeback and then check if all responses are failure. This will satisfy 3rd point.
Also on success of even a single asyncoperation I need to  stop all the recursive callbacks and send back Fulfilled. This will satisfy 2nd point.

return Promise { fulfill, reject in

    enum State {
        case polling(Int)
        case finished(PromiseKit.Result<T>)
    }
    var state = State.polling(0)

    func go() {
        switch state {
        case .polling(let attempts) where attempts < 5:
            asyncTask { success, error in
                if success {
                    state = .finished(.fulfilled(success))
                } else if attempts == 4 {
                    state = .finished(.rejected(error))
                } else {
                    state = .polling(attempts + 1)
                }
                go()
            }
        case .finished(.rejected(let error)):
            reject(error)
        case .finished(.fulfilled(let success)):
            fulfill(success)
        }
    }

    go()
}


long log on shifting test failure

No need to log the list of ~50 responses (in mc mode). The count is what we're checking here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
10c72ed7e4734a65969e591e5739775559302c4d
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Cannot read property 'createModel' of null

hi getting this error while using the package , i might be using it wrong, can you help me with
    storageType: 'file',
    modelPath: './gemma-2b-it-gpu-int4.bin',
  });

That filepath needs to point to a location on your device.
For android, see here
For iOS, you need to find a way to push the file to local application storage, or perhaps an icloud location, if you are familiar with how that works, or potentially using the iOS platform APIs for accessing files.
The easiest way, on both platforms, is simply to bundle the model as an asset.

That filepath needs to point to a location on your device.
For android, see here
For iOS, you need to find a way to push the file to local application storage, or perhaps an icloud location, if you are familiar with how that works, or potentially using the iOS platform APIs for accessing files.
The easiest way, on both platforms, is simply to bundle the model as an asset.

Thank you I will try that, okay I have two more questions

What is the type asset ?
The .bin model, is the right one , right ?

Yes and yes.
On Wed, Jun 26, 2024 at 7:58 AM Kumar Deepanshu @.***>
wrote:

That filepath needs to point to a location on your device.
For android, see here
https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/android#push_model_to_the_device
For iOS, you need to find a way to push the file to local application
storage, or perhaps an icloud location, if you are familiar with how that
works, or potentially using the iOS platform APIs for accessing files.
The easiest way, on both platforms, is simply to bundle the model as an
asset.
Thank you I will try that, okay I have two more questions

What is the type asset ?
The .bin model, is the right one , right ?

—
Reply to this email directly, view it on GitHub
https://github.com/cdiddy77/react-native-llm-mediapipe/issues/7#issuecomment-2191510203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDG2KJY7E57JBCI5VGRNRLZJKUGDAVCNFSM6AAAAABJ4XDTX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGUYTAMRQGM
.
You are receiving this because you commented.Message ID:
@.***>

getting this error
createModel [Error: internal: Failed to initialize session: %sCan not open OpenCL library on this device - undefined symbol: clSetPerfHintQCOM]
i have tried it on physical pixel 7 and emulator pixel 8 pro.

Ever figure this out - also having a difficult time figuring out how to bundle the model as an asset or access via a file path to the model on the device.
To bundle, have downloaded a model and included in an assets folder, tried putting it in android/app/src/main/assets, tried putting it in a models/converted folder as well as in the same folder as the file calling the function.
With storageType of file - have put the model on my device and tried accessing with /data/local/tmp/llm/gemma-2b-it-cpu-int4.bin as well as moving it to other locations trying different variations of the file path.
Most interested in getting it working as a bundled asset though.  Any help/pointes appreciated.  Thanks.

Hey guys, I just pushed a new PR attempting to fix the problem of OpenCL library and also commenting about where to put the model files to make it work. I hope this fixes your problems and clear up your doubts 😄

That filepath needs to point to a location on your device.
For android, see here
For iOS, you need to find a way to push the file to local application storage, or perhaps an icloud location, if you are familiar with how that works, or potentially using the iOS platform APIs for accessing files.
The easiest way, on both platforms, is simply to bundle the model as an asset.

I'm setting up my llmInference like this:
const llmInference = useLlmInference({
   storageType: 'file',
   modelPath: '/data/user/0/com.offlinellmpoc/files/gemma-2b-it-cpu-int4.bin',
 });

But my app is getting crashed. I'm not able to get what the issue is

That filepath needs to point to a location on your device.
For android, see here
For iOS, you need to find a way to push the file to local application storage, or perhaps an icloud location, if you are familiar with how that works, or potentially using the iOS platform APIs for accessing files.
The easiest way, on both platforms, is simply to bundle the model as an asset.

I am relatively new to react native and mobile app development. How does one bundle the model as an asset?
According to google docs:

Note: During development, you can use adb to push the model to your test device for a simpler workflow. For deployment, host the model on a server and download it at runtime. The model is too large to be bundled in an APK.

I agree that bundling it as an asset is the best but I do not know how to do it?

@luey-punch I was able to do that by creating a folder named 'assets' inside android/app/src/main and moving the model inside it although it worked, my android was lagging a lot.
 const {generateResponse} = useLlmInference({    storageType: 'asset',     modelName: 'gemma.bin',   });


Support UE5.4

@yuokamoto
Is there any plan to support UE5.4 soon? If not, I have modified the code to work in UE5.4(link) and it works well as shown in the video below. If you could create a UE5.4 branch, I would like to make PR.

I have tested under the following conditions:

Ubuntu 22.04
Unreal Engine 5.4.1
ROS 2 Humble
rclUE (branch: UE5_devel_humble)

Thank you!
I created UE5.4 branch
https://github.com/rapyuta-robotics/RapyutaSimulationPlugins/tree/UE5.4

Close issue #284


[Works Tab] Order works by updated_at

Works should be ordered by updated_at most recent to oldest.

@alloy or @mzikherman, it looks like metaphysics offers a partner_updated_at_desc sort. Is that the correct endpoint for the behavior @briansw described?

That does sound like the right one to me, because I think the motivation here is that works who’s metadata is most recently update by partners are the ones that the partners want to most eagerly promote and thus we want to surface those first.
/cc @briansw Is that correct?

Exactly

Yup!

danke!


Some UTF-8 characters take two placeholders in render buffer

Microsoft Windows [Version 10.0.18894.1000]
Reproduce. In both WSL and CMD consoles create files with UTF-8 in name or content. Try to display this content by using either MC or FAR. The character takes two placeholders in render buffer (unexpected), but it should take only one (expected). Here are some examples with RU language in UTF-8 (chcp 65001).
FAR:

MC:

@miniksa related to the other character sizing issues probably, yea?
#633 and maybe #455 seem similar

I don't think this is related to the issue I described in #455, I see random � being inserted between characters that are rendered fine on other lines, and can even appear and disappear when the zoom level is changed. So it's not the width for some specific characters that gets consistently assumed to be two columns.

I was trying to narrow down where the � are coming from prior to the Build conference and didn't finish. So I'll just hold onto these until I get a moment and try to track them all down (and any similarities/differences among them)

I have a similar issue where terminal applications become misaligned vertically and � characters are occasionally drawn in place of  a '─' character, (e.g.  ─────���────). I notice it particularly with the application slack-term (https://github.com/erroneousboat/slack-term). The potentially interesting part is that closing and reopening slack-term will usually remove the � characters and properly render them as a line. When repeatedly opening and closing slack-term the � characters appear only occasionally, but when they do they appear, they appear in exactly the same location.  I hope this information is useful.

Looking decent to me.


Where can I find the list of breaking changes between v9 and v10 of babel-preset-react-app?

Where is the CHANGELOG (if one exists) for babel-preset-react-app located? I saw there is a major version change to v10 available, but can't seem to find what breaking changes might exist going from v9 to v10. Thank you.

I don’t think there is a change log anywhere, but you can check out the commits for the package. There aren’t too many commits, so it shouldn’t be too difficult.
https://github.com/facebook/create-react-app/commits/master/packages/babel-preset-react-app
Here are what I see, but you may want to check yourself.
Ton of dependency upgrades.
New jsx runtime option, with opt out ability.


SIP will not Disable with provided value.

I've followed the instructions and when I go to OCLP it says I haven't disabled SIP when I have inputed the values correctly.

@bennydf123
Show me your config.plist or at least the block with csr-active-config.

Closing this for now. If you upload your config.plist or comment anything, I'll open it.


[MPWG Membership- Legal ] Atlanta JUG

Deadline by Oct 12th

Today we received countersigned agreements from The Eclipse Foundation so are happy to announce that Atlanta Java Users Group, Inc. is now a solutions member of the EF. This is awesome news for our community as we now have an opportunity via the MicroProfile Working Group to help the evolution of this superb project.
Vincent Mayers
Treasurer/Board Member Atlanta Java Users Group (AJUG)

Completed as of 10/5/20!~ yeayy :)


Remove Ptime dependency in master

Merging again without having to wait for timeout (the cause of the timeouts will be addressed in future commits)


Renovate/spotless

WHAT
Bump spotless and ktlint.
WHY
Attempt to land https://github.com/google/horologist/pull/1495
HOW
Checklist :clipboard:

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

I can get this working yet.  Will bump with just the config and worry about it later.


Migration

[Enter feedback here]
Apply migration section https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/complex-data-model?view=aspnetcore-3.1&tabs=visual-studio#apply-the-migration
explains how to migrate a database with existing data. But at the end of the section, it says to delete existing data before updating the database.

Because the DbInitializer.Initialize method is designed to work only with an empty database, use SSOX to delete all the rows in the Student and Course tables. (Cascade delete will take care of the Enrollment table.)

Run the app. Running the app runs the DbInitializer.Initialize method. The DbInitializer.Initialize populates the new database.

This defeated the purpose of the migration,  I deleted records as instructed but when you repopulate the database Student.ID  changed, for example, it changed the ID = 9 for Alexander, In a real situation, this is not acceptable. It makes no sense.

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

ID: 634dfb2c-2626-9ec5-35fe-2bd2f27c5e23
Version Independent ID: 7a77b058-f005-8d68-ae46-e487c597f18e
Content: Part 5, Razor Pages with EF Core in ASP.NET Core - Data Model
Content Source: aspnetcore/data/ef-rp/complex-data-model.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Yes, that part is not migration. Keep reading.


Azure Powershell - support AZ CLI without having to pass credentials for az login

Question, Bug, or Feature?
Type: Feature
Enter Task Name: Azure Powershell
Environment

Server - Azure Pipelines
Agent - Hosted

Issue Description
I am using the Powershell task to build out large server environments based on parameterized source files. I chose Powershell to do the heavy lifting of building out hashtables containing server and environmental names which follow our naming stnadards, but I was asked to use the Azure CLI to do the actual deployment. Because of this I need to provide service principal information as parameters to the PS task so I can call az login when I'm ready to deploy.
It would be nice to have the CLI connection pre-authenticated with the service connection credentials to make my task more secure, especially since the CLI task currently only supports batch files.
I could generate a batch file from within Powershell, but I have looping logic written in PS that looks for active deployments in a resource group to avoid deployment clashes, and that logic is written in Powershell.
Thanks for the consideration.

Or an alternative, allow the Azure CLI task to use Powershell instead of batch scripts.

Having the Azure CLI task support Powershell would be hugely beneficial. I prefer using the azure-cli over Powershell's Az Cmdlets, but I would love to use Powershell scripting semantics for parameterization and parsing/manipulation of azure-cli output results.

This feature would be awesome. Learning Batch/CMD scripting in 2019 is frustrating.

Absolutely, writing I'm using my father's bash manuals written in 1992, and its painful.

Az CLI @2 version task support PS and PS core scripts. Do try it out.


Fixed what-are-rids link

Hi @imranbaloch, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thank you @imranbaloch! Good catch.


Error in Surprise Command

Describe the bug
Surprise command sometimes throws error.
$ awesome-cli surprise
awesome-cli Version 0.7.1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x768c0d]

goroutine 1 [running]:
github.com/umutphp/awesome-cli/internal/package/node.(*Node).GetName(...)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/node/node.go:30
github.com/umutphp/awesome-cli/internal/package/prompter.ToFavouriteString(0x0, 0x0, 0x0)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/prompter/prompter.go:50 +0xbd
github.com/umutphp/awesome-cli/internal/package/prompter.Surprise(0xc000215dd0, 0xc0002065c0, 0x15, 0x0, 0x0, 0x1a, 0x20, 0xc0000e5da0, 0x47831c, 0xde8580)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/prompter/prompter.go:61 +0x13a
main.SurpriseRepo(0xc0000f6370, 0xc0000f6370, 0xe10928, 0x0, 0x0, 0xe10928, 0x0, 0x0)
        /home/runner/work/awesome-cli/awesome-cli/main.go:69 +0xee
main.Argumented(0xc0000be030, 0x1, 0x1, 0xc0000f6370, 0xc0000f6370, 0xe10928, 0x0, 0x0, 0xe10928, 0x0, ...)
        /home/runner/work/awesome-cli/awesome-cli/main.go:130 +0x29e
main.main()
        /home/runner/work/awesome-cli/awesome-cli/main.go:32 +0x1d4

A clear and concise description of what the bug is.
To Reproduce
Execute awesome-cli surprise to reproduce the error. You may have to execute many times to generate the error.

If you run the command with "surprise" before running any other parameter, this error occurs. I am closing it for now.


Theater (Title-Page Attribution) filter terms not correct

When you try to filter on "Theater (Title-Page Attribution)", the list of choices in the drop-down is not correct. Compare to the old site. The list in the drop-down should be ordered as follows.
Any
None
Indoor Professional
Outdoor Professional
before the Court
at University
Blackfriars
Curtain
Fortune
Globe
Paul's
Phoenix/Cockpit
Red Bull
Rutland House
Salisbury Court
St. Werburgh Street, Dublin
Swan
Whitefriars
Whitehall

The four terms in the second group beginning with "Indoor Professional" are determined by the table, Theater Type --
if it says "Both Indoor and Outdoor" then it should be hit by either "Indoor Professional" or "Outdoor Professional".
The terms in the "Theater Type" field, note, are not themselves shown in the list of filter terms

fixed, outdoor professional == outdoor && both outdoor and indoor. But broke later conditions, need to fix

Actually working fine in dev, check later that update is working as expected in prod.


⚠ ClamAV has degraded performance

In 271c950, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 58f5ab9.


Project name
CSPR.Studio
URL to be whitelisted
cspr.studio
testnet.cspr.studio (any subdomain should be whitelisted "*.cspr.studio")
Code audit/review URL if available
No response
Project description
CSPR.studio makes it easy for anyone to mint and trade NFTs on the Casper Network.
Website is live at cspr.studio
Project's phase
Production
Who is the project owner?
Company
Project owner's name
Adam
What kind of Web3 functionality will you be offering in your product?
Mint NFTs
Connect Wallet
Transfer NFTs
Contact details
<EMAIL_ADDRESS>Link to the code
N/A
Is this a project by an enterprise partner of Casper Association or CasperLabs?
No
Grant/proposal number if this is a project funded by the DEVxDAO
No response

@devendran-m there is some urgency behind this request, can you help us get this on the whitelist as soon as possible?

Hi @adammake , I've submitted the approval request.
Hi @piotr-dziubecki, per slack, could you check and if all OK provide your approval, please?

Association approves this request.


Edited summary

Edited summary description for this object.

Docs Build status updates of commit f525b61:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

Line 136: [Error] Restore nuget package W:\01al-s\.optemp\dependentPackages\Microsoft.OpenPublishing.CommonPlugins\packages.config in folder:W:\01al-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.0.224' of package 'Microsoft.OpenPublishing.CommonPlugins'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'Microsoft.OpenPublishing.CommonPlugins.1.0.224' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-build-v2-prod/nuget/v2: Package 'Microsoft.OpenPublishing.CommonPlugins.1.0.224' is not found on source 'https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-build-v2-prod/nuget/v2'.
Line 136: [Error] Restore nuget package W:\01al-s\.optemp\dependentPackages\Microsoft.DocAsCode.ECMA2Yaml\packages.config in folder:W:\01al-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.0.808' of package 'Microsoft.DocAsCode.ECMA2Yaml'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'Microsoft.DocAsCode.ECMA2Yaml.1.0.808' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-build-v2-prod/nuget/v2: Package 'Microsoft.DocAsCode.ECMA2Yaml.1.0.808' is not found on source 'https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-build-v2-prod/nuget/v2'.

.openpublishing.publish.config.json

Line 289: [Error] Restore of dependent packages failed. Please check your .openpublishing.publish.config.json?on the configuration of the dependent packages or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

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


Drive focus on hash link navigation

After hash link change, drive the focus to the element with the hash link ID. This may be best done in the useResetScroll element on hash link change.
Acceptance Criteria:

Upon clicking a hash link, document focus is driven to the element with the id attribute that matches the hash
Upon initial navigation to a hash link (either from a different page, or as the initial page), focus is driven to the element with the id attribute that matches the hash

Task completed in PR #139


NIMBUS-248: text wrapping issue for @Grid

Description
Fixes #544, @CardDetail in @GridRowBody text wrapping issue.
Overview of Changes

Updated the styling

Type of Change
- [ ] New feature
- [X] Bug fix
- [ ] Refactor/Technical Debt
- [ ] Documentation Update
- [ ] Test case change
- [ ] This change requires a documentation update
- [ ] Other

Test Details
Functional testing in Petclinic
Additional Notes
N/A

You did it @lopezton-anthem!
Thank you for signing the Anthem Opensource Software CLA.


[bug] Hotkeys not functional in latest 3 versions.

Hotkey rebinds have not been working since 3 updates or so ago. They are ignored and the game will use defaults regardless of what is set. I see the changelog references a potential "fix" to pikmin not getting thrown, this may be related to hotkeys not functioning. My hotkeys worked before the last three updates.
They are:
Throw Action = /z
Switch Forward = /rightArrow
Switch Backwards = /leftArrow

Looks like github removed the parts that used greater than or less than signs in the text, so I'll rewrite the binds using square brackets instead lmao.
Throw Action = [Keyboard]/z
Switch Forward = [Keyboard]/rightArrow
Switch Backwards = [Keyboard]/leftArrow
Btw, tested with a friend. Can confirm on both ends.

Do you have input utils installed? Because the latest versions have Input Utils support for key binds and if you have InputUtils installed then the config key binds won't do anything.

Disabling inputUtils resolves the issue. But then why did the hotkeys work several versions ago, and why doesn't it conflict with other mods that similarly have custom keybinds in a config like 3rdPerson by verity?

Like I said, when InputUtils is installed, you need to change the keybinds using InputUtils. The Config keybinds don't work.

I read your message wrong. Thank you very much for your help 👍


Only use latest released version by default.

Once we get https://github.com/ethereum/solc-bin/pull/4 merged, we could make this much simpler.

Indeed, I actually looked at it, but it was closed. We now have node at the deploy machine, so no problem in running javascript.


curl of toggle issue

curl of toggle is missing LinkedIn link showing as null

return UserResponse.from_orm(updated_user) instead of returning constructed return


Expand source and destination paths

Description
This PR adds capabilities to CytoTable for source and destination path expansion (using ~ and environment variable replacements) and resolution (using . and .. to navigate an absolute path). This work comes up as the result of collaborations with @shntnu .
Closes #88
What is the nature of your change?

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

Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.

[x] I have read the CONTRIBUTING.md guidelines.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] New and existing unit tests pass locally with my changes.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have deleted all non-relevant text in this pull request template.

Thank you @gwaybio and @falquaddoomi for your reviews! Merging after addressing your comments.


init.lua:389: module 'cv' not found:No LuaRocks module found for cv

The error showed that the “cv” module was missing, then I installed the lua-opencv module and put it in the corresponding path, but the same problem still exists.May I ask if my "cv" module is installed correctly?

@chenliu-wustl @shuuchenThank you very much!

@chenliu-wustl @shuuchen I hope you can help me answer it, thank you very much!


tests/e2e/libvirt: close test gap. wip

enables tests in common suite test:
TestLibvirtCreatePeerPodContainerWithExternalIPAccess TestLibvirtCreatePeerPodWithJob
TestLibvirtCreatePeerPodAndCheckUserLogs
TestLibvirtCreatePeerPodAndCheckWorkDirLogs
TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithImageOnly TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithDeploymentOnly TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithImageAndDeployment TestLibvirtCreatePeerPodWithLargeImage
Haven't gotten to enabling:
TestLibvirtCreatePeerPodWithPVCAndCSIWrapper
TestLibvirtCreateConfidentialPod - Not going to enable until #1019
Currently fails on:
--- FAIL: TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithDeploymentOnly (600.01s)
--- FAIL: TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithDeploymentOnly/EnvVariablePeerPodWithDeploymentOnly_test (600.01s)
Which appears to fail intermittently (still trying to debug the cause, but the fact it only fails sometimes is annoying)
--- FAIL: TestLibvirtCreatePeerPodWithLargeImage (600.01s)
--- FAIL: TestLibvirtCreatePeerPodWithLargeImage/LargeImagePeerPod_test (600.01s)
@sudharshanibm3 , do you have any insight to how I should approach this?
=== RUN   TestLibvirtCreatePeerPodWithLargeImage
=== RUN   TestLibvirtCreatePeerPodWithLargeImage/LargeImagePeerPod_test
    common_suite_test.go:147: timed out waiting for the condition
--- FAIL: TestLibvirtCreatePeerPodWithLargeImage (600.02s)
    --- FAIL: TestLibvirtCreatePeerPodWithLargeImage/LargeImagePeerPod_test (600.02s)
FAIL
FAIL	github.com/confidential-containers/cloud-api-adaptor/test/e2e	1166.813s
FAIL

CAA
2023/07/24 16:18:32 [adaptor/proxy] CreateContainer: calling PullImage for "quay.io/confidential-containers/test-images:largeimage" before CreateContainer (cid: "e61c0a7fb3e14d147784284997a7bd7787b0d2972b9816e79dc2960dc3d2a984")
2023/07/24 16:19:32 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = DeadlineExceeded desc = context deadline exceeded
2023/07/24 16:19:33 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:19:33 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:19:33 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:19:34 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:19:34 [adaptor/proxy] RemoveContainer: containerID:58b8e0e370969e910b5e7c3947144883caa432948d2e763f852208612840c908
2023/07/24 16:19:34 [adaptor/proxy] RemoveContainer fails: rpc error: code = Internal desc = destroy cgroups

Caused by:
    0: failed to stop unit cri-containerd-58b8e0e370969e910b5e7c3947144883caa432948d2e763f852208612840c908.scope
    1: org.freedesktop.systemd1.NoSuchUnit: Unit cri-containerd-58b8e0e370969e910b5e7c3947144883caa432948d2e763f852208612840c908.scope not loaded.
2023/07/24 16:19:34 [adaptor/proxy] DestroySandbox
2023/07/24 16:19:34 [adaptor/proxy] DestroySandbox fails: rpc error: code = Internal desc = No such file or directory (os error 2)
```

````2023/07/24 16:19:35 [adaptor/cloud] failed to release PeerPod pod to PeerPod mapping not found
2023/07/24 16:19:35 [tunneler/vxlan] Delete tc redirect filters on eth0 and ens3 in the network namespace /var/run/netns/cni-e7a22a7c-b828-1154-8bc7-3f8461569890
2023/07/24 16:19:35 [tunneler/vxlan] Delete vxlan interface vxlan1 in the network namespace /var/run/netns/cni-e7a22a7c-b828-1154-8bc7-3f8461569890
2023/07/24 16:19:36 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: ttrpc: closed
2023/07/24 16:19:39 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: ttrpc: closed
2023/07/24 16:19:46 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: ttrpc: closed
2023/07/24 16:19:58 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:20:24 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: context deadline exceeded
2023/07/24 16:20:24 [adaptor/proxy] PullImage fails: All attempts fail:
#1: rpc error: code = DeadlineExceeded desc = context deadline exceeded
#2: context deadline exceeded
#3: context deadline exceeded
#4: context deadline exceeded
#5: context deadline exceeded
#6: ttrpc: closed
#7: ttrpc: closed
#8: ttrpc: closed
#9: context deadline exceeded
#10: context deadline exceeded```

Fixes: #1166

Hi @bookinabox ,

It seems this is related to unstable failure cases in TestLibvirtCreatePeerPodAndCheckEnvVariableLogsWithDeploymentOnly  and TestLibvirtCreatePeerPodWithLargeImage
Resolved above mentioned issues in this PR #1230

Regarding TestLibvirtCreatePeerPodWithLargeImage ,

The logic behind the test case is to get the pod to Running State
Once it reaches running states, it gets all CAA logs and matches with latest CreateContainer  and StartContainer  and returns the time difference
The ideal/expected CAA in order to get the test case to be passed as follows:

2023/07/24 17:03:19 [adaptor/proxy] getImageName: got image from annotations: quay.io/confidential-containers/test-images:largeimage
2023/07/24 17:03:19 [adaptor/proxy] CreateContainer: calling PullImage for "quay.io/confidential-containers/test-images:largeimage" before CreateContainer (cid: "ceea7b045fc146d1bd4023383f09e0e717c090655b40e94b99b7067105fabd69")
2023/07/24 17:03:42 [adaptor/proxy] CreateContainer: successfully pulled image "quay.io/confidential-containers/test-images:largeimage"
2023/07/24 17:03:53 [adaptor/proxy] StartContainer: containerID:ceea7b045fc146d1bd4023383f09e0e717c090655b40e94b99b7067105fabd69
2023/07/24 17:04:03 [adaptor/proxy] RemoveContainer: containerID:ceea7b045fc146d1bd4023383f09e0e717c090655b40e94b99b7067105fabd69

Having trouble implementing the CSI wrapper test. My understanding is I need to create the storageclass and pvc yaml files (and maybe the pv? I don't think it is gets dynamically created locally, but I might be wrong). Then create the new Pod with the PVC using some CSI driver. I'm trying to understand what the details of each container in the ibmcloud implementation ( are, but I have not made too much progress on that end.

I thibk CSI wrapper supports ibmcloud and azure today and no libvirt support yet?

alright, then I'll ignore that test then. Thanks!

Going to defer TestLibvirtCreatePeerPodWithPVCAndCSIWrapper to #1272

I just re-ran the tests and the largeimage test is failing via timeout again. Will update when I understand why.


Xbox Game Pass support

Trying to use it on Core Keeper from xbox pc game pass, but it's limited to only steam.
Game Pass Version
Recently the game was launched on game pass, and been a new game on it, but that already exist on steam the major part of mods and other stuffs are steam oriented.
The problem
With game pass launching, the Core Launcher is limited to steam path, not been possible to use it for game pass version. (tried to bypass it putting the Core Keeper folder from game pass to steam folder but well, didn't work, of course haha)

I can give much suggestions because i could not make it work. I can help with anything with needed

Thank you for the suggestion. I will put it on my todo list, but since I don't have the Game Pass version of Core Keeper I'll need some extra information:

Where is the folder for manually installing mods on the game pass version
Where is the .exe for the game located on the game pass version

1. Where is the folder for manually installing mods on the game pass version?
..\Core Keeper\Content\CoreKeeper_Data\StreamingAssets\Mods
the folder isn't a default folder sometimes, so the person have to create the Mods folder in this location
Folder path

How it works inside the folder

2. Where is the .exe for the game located on the game pass version?
..\Core Keeper\Content
Core keeper .exe file

A lot of mods do not work on the Game Pass version, I suggest you also include a warning about mods at risk of not working if a Game Pass install path is used


Prefix bug name same color

Bug with the user name
Minecraft : 1.15.2
papermc-1.15.2-b193

That's not a bug. You add &r after the prefix to reset formatting, or it carries over

After [ADM] ?

After the prefix. I can't tell you if adm is your prefix but it sure looks like it. Try it before asking, maybe?


Network test

added all changes we've discussed last week
added unit tests for the new SHAInet::Data class
added an integration test for the new API
updated the Iris example in README.md to use the new API

All tests are passing.

@peterschols @ArtLinkov Overall this looks fine to me.
@ArtLinkov would you like to go over it just in case ?

Went over the code, looks great!


support zero++ for stable diffusion training

This PR adds the support for using zero++ to accelerate unet training in stable diffusion models.

Add an external padding rule for weight buffer's alignment requirement when qwz is on. #3864 and #4309
Fix ds_secondary_tensor partition logic
Add padding for grad tensor and a new method for compute right intra_group_size  for qgz.

I tested zero++ and stage2 in text-to-image training, ran with 4 V100 GPUs. Following figure shows training convergence about 1000 steps where blue represents stage2 and red represents zero++.

Hope for your suggestions.

cc @HeyangQin @jeffra @tjruwase

@microsoft-github-policy-service agree

This PR adds the support for using zero++ to accelerate unet training in stable diffusion models.

Add an external padding rule for weight buffer's alignment requirement when qwz is on. [BUG] why zero++ need number of weights be a multiple of 8. #3864 and [BUG] Can ZeRO++ be used for LLM pretraining? #4309
Fix ds_secondary_tensor partition logic
Add padding for grad tensor and a new method for compute right intra_group_size  for qgz.

I tested zero++ and stage2 in text-to-image training, ran with 4 V100 GPUs. Following figure shows training convergence about 1000 steps where blue represents stage2 and red represents zero++.
Hope for your suggestions.

hi  @MetaBlues , I used your code to train llama2-7b and llama2-70b, but also met a problem like following:
File "/opt/conda/lib/python3.10/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 92, in _dist_allgather_fn
    return instrument_w_nvtx(dist.allgather_fn)(output_tensor, input_tensor, group=group, async_op=True)
  File "/opt/conda/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 117, in log_wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/deepspeed/comm/comm.py", line 305, in all_gather_into_tensor
    return cdb.all_gather_into_tensor(output_tensor=output_tensor, input_tensor=tensor, group=group, async_op=async_op)
RuntimeError: output tensor size must be equal to world_size times input tensor size

How should this problem be solved? Thanks

@tjruwase @mrwyattii may I know is there any possibility that this PR can get some suggestion? since it's already pending for nearly 2 months without any feedback.