az keyvault show doesn't work on Ubuntu: ModuleNotFoundError: No module named 'azure.keyvault.v7_0'

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az keyvault secret show
Errors:
No module named 'azure.keyvault.v7_0'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 299, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
...
<frozen importlib._bootstrap>, ln 1014, in _gcd_import
<frozen importlib._bootstrap>, ln 991, in _find_and_load
<frozen importlib._bootstrap>, ln 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'azure.keyvault.v7_0'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az keyvault secret show --name {} --vault-name {} --output {} --query {}

Expected Behavior
getting the requested secret instead of an error
Environment Summary
Linux-5.4.0-25-generic-x86_64-with-glibc2.29
Python 3.8.2
Shell: bash

azure-cli 2.0.81 *

Extensions:
azure-devops 0.17.0

Additional Context

I reinstalled azure cli from the script instead of apt, and now it works, probably some issue with the older version still in apt.
az version now gives:
{
"azure-cli": "2.4.0",
"azure-cli-command-modules-nspkg": "2.0.3",
"azure-cli-core": "2.4.0",
"azure-cli-nspkg": "3.0.4",
"azure-cli-telemetry": "1.0.4",
"extensions": {}
}

Ubuntu 20.04 - still have this issue with Azure Cli from apt-get - it does install old ones
{
"azure-cli": "2.0.81",
"azure-cli-core": "2.0.81",
"azure-cli-telemetry": "1.0.4",
"extensions": {
"azure-devops": "0.17.0"
}
}
Fix with  curl -L https://aka.ms/InstallAzureCli | bash ( from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest ) does help, after I got:
{
"azure-cli": "2.5.1",
"azure-cli-command-modules-nspkg": "2.0.3",
"azure-cli-core": "2.5.1",
"azure-cli-nspkg": "3.0.4",
"azure-cli-telemetry": "1.0.4",
"extensions": {}
}

Good point, maybe I should keep this issue open until the version in the apt repositories is updated, thanks for the heads-up.

@bim-msft  please take a look

@fengzhou-msft Hi, seems apt-get will install an old version (2.0.81) of CLI, and this version maybe contains some bugs. Do you know how to push them to upload our latest package? Thanks.

Waiting for apt repositories to be updated. Move this issue into the backlog.

hi @abokov there's issue in 2.0.81 which is in default repo of Ubuntu Focal release, detail pls see issue https://github.com/Azure/azure-cli/issues/14011. We have to wait for next main distro release to change CLI version in it. To resolve your issue, could  you pls uninstall 2.0.81 and install latest version of Azure CLI? thanks.

Please follow https://github.com/Azure/azure-cli/issues/14011#issue-640943121 for the fix.

This is bug in the unofficial Azure CLI delivered by Ubuntu's repo. Please see https://github.com/Azure/azure-cli/issues/19640 and install the official Azure CLI from Microsoft Linux Repo.


jvm builder

The Jvm type is kind of a placeholder. The docs describe how it should look eventually, e.g., with a builder that lets you set the classpath and other important options.

See also @fpoli's comments here https://github.com/duchess-rs/duchess/pull/45#discussion_r1180341027

(I rephrase here my comments.)
Reading the "Starting multiple JVMs" section of the current documentation I got the (wrong) impression that sequential Jvm::with(|jvm|..)  calls are meant in the long term to start and stop multiple JVMs. However, via JNI one can only start at most one JVM for the full the lifetime of a process (source). That is, trying to start a second JVM after destroing one will always fail.
Re-reading the documentation with a fresh mind, I now see that the "multiple JVMs" of the documentation actually refers to multiple instances of the Jvm struct. PR https://github.com/duchess-rs/duchess/pull/47 should avoid any further confusion.
My suggestion of std::sync::OnceLock is still valid; it's a concurrent OnceCell. That type makes it possible to initialize a global JVM with user-provided arguments.


Fixed typo

Added missing word "are"

Learn Build status updates of commit 82b3293:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

well-architected/resiliency/design-best-practices.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@MrCarney - thanks!


Adding NJIT so that students can request the free license

Please consider adding njit.edu to your list so that students can request licenses.

@johnrizzo1 I am sorry, the domain njit.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


The Code is not running

I try to run matlab code in vs code but terminal show this error code
                       > "D:\MATLAB\R2018b\bin\matlab.exe" -nosplash -nodesktop -r "run('C:\Users\M031n\Documents\temp\temp.m');"
At line:1 char:35
+ "D:\MATLAB\R2018b\bin\matlab.exe" -nosplash -nodesktop -r "run('C:\Us ...
+                                   ~~~~~~~~~
Unexpected token '-nosplash' in expression or statement.
At line:1 char:45
+ "D:\MATLAB\R2018b\bin\matlab.exe" -nosplash -nodesktop -r "run('C:\Us ...
+                                             ~~~~~~~~~~
Unexpected token '-nodesktop' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

what can i do to fix it?

You did not set up the paths for both either the temp file or the matlab executable correctly. Make sure the .exe and the .m is in the path.

You did not set up the paths for both either the temp file or the matlab executable correctly. Make sure the .exe and the .m is in the path.

i use from setup in readme.md and configure it for mac just like said in readme.

So i don't know where is the problem

Please double check the path and file name for the matlab temp file, it might be case sensitive. Otherwise, i dont know why. Best of luck tho

Same problem, running Matlab R2018b on macOS Mojave.
Both the paths I input are correct. How do I know this?

When I run the selection, Matlab starts up in the Terminal just fine. Writing MATLAB code to the terminal directly works.
When I manually add code to the temp file and run the same run command that the script runs, the temp file runs without a problem.

The issue appears to be in writing the selection in VS Code to the temp file. Whenever I select "Matlab: Run Selection", the temp file becomes blank, erasing any content that I input manually. (Clearly, since the extension can erase content, it's not a write permission problem. Not sure where the problem lies.)

I am wondering how do you fix it anyway. Because I have the same problem


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

fc12f6d: Added side-navigation token
Token Diff
Tokens added (1):

side-navigation-bottom-to-text

Run report for 2a1b61e1
Total time: 53.5s | Comparison time: 49.2s | Estimated loss: 4.3s (8.0% slower)

Action
Time
Status
Info

🟩
SetupNodeTool(18.13.0)
3.3s
Passed

🟩
InstallNodeDeps(18.13.0)
21.9s
Passed

🟩
SyncNodeProject(tokens)
1ms
Passed

🟩
RunTarget(tokens:build)
24.3s
Passed

🟩
SyncWorkspace
0ms
Passed

🟩
RunTarget(tokens:generateDiffResult)
4s
Passed

Touched files
.changeset/wet-dolls-move.md
packages/tokens/CHANGELOG.md
packages/tokens/package.json


feat: KCL Go AST definition and parser API

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

feat: KCL Go AST definition and parser API

Closes #405
Refs #404

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

546 of 1844 (29.61%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 36.303%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/parser/parser.go
7
11
63.64%

pkg/ast/type.go
0
12
0.0%

pkg/ast/stmt.go
0
72
0.0%

pkg/ast/expr.go
0
196
0.0%

pkg/ast/op.go
11
314
3.5%

pkg/ast/json.go
523
1234
42.38%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.9%

Covered Lines:
5448

Relevant Lines:
15007

💛  - Coveralls


Make studio update file in editor if file has been changed on disk

Currently, if an open file has been updated by a different IDE, the editor will give you no warning, gladly overwriting any changes you've made in the different IDE if you forget to re-open the file and save at any point.
Proposal: when studio detects a file update, show a prompt that lets the user choose between overwriting the file in editor with the version on the disk, or keeping the version that is currently in the editor.
Along with that, the prompt could also have a "Show difference" button, showing difference between disk and editor versions.

BTW, it is preferable to use simulation engine as an external tool with 3rd party editors. Any reasons to use TS?
(RUS) https://help.trikset.com/integrations/vscode/run-2d-from-vscode


git plus can't open commit pane

Started happening today, using latest ver of atom and git-plus, Ubuntu 15.10
error in console:
Uncaught (in promise) TypeError: message.includes is not a function(…)(anonymous function) @ git-commit.coffee:89

reinstalling plugin didn't solve the issue

ok, it was because of a missing commit.template file. Maybe it would be a good idea to handle this case?


[Enhancement] Add config options to exclude specific message types from chat channel

Checks

[X] I confirm that I have searched for existing issues / pull requests before requesting to avoid duplicate requesting.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Related Issues

N/A

Description

This adds the ability to control whether server starting/stopping messages, player joined/left messages, advancement messages, and death messages are sent to the discord chat channel. The keys announceServerStartStop, announcePlayerJoinLeave, announceAdvancements, and announceDeathMessages are added to the config to allow or exclude their respective messages. This doesn't affect the messages sent to the console log channel.

consoleLogChannelId channel:

channelId channel with all keys set to false:

Thank you for your contribution.


Handle existing DC inventions in programs to be compressed and rewritten.

Threads the DC inventions names through rewrite.rs and compress.rs.
Specifically, this:

Bundles up the tuple passed by InputFormat into a Input struct. This is a pretty minimal struct right now.
Adds instances of renaming the dc_invs back to their inlined form in: the creation of the CompressionStepResult in compress.rs to rename the dreamcoder invention bodies AND the rewritten dreamcoder programs; and also does this again in rewrite.rs.
I also had to change the naming scheme for previous DC inventions in general. This is because there's a discontinuity here between the OLD invention names (which can actually be in the bodies of the inventions that we read in for rewriting) and the NEW invention names. I hope this doesn't introduce some kind of drastic string ordering issue that requires globally re-ordering everything. I'm going to sanity check our domains to make sure they return the same results.

I also...realized that this runs Black over the rust code and that makes this PR quite annoying to look at. If you want I can try and understand how to undo that.

Thanks for writing this PR, Cathy! Matt and I were looking at this in our meeting just now, it seems like "Black" (is that an auto-formatter?) has made quite a few changes so it's a bit hard to tell right now when reviewing what is a semantic change and what is just syntactic. Would it be possible to submit this PR with only your manual changes included? If not, Matt and I will dig into this, but it would make the reviewing a bit easier :)

Also, we just merged #126, so this now has a bunch of conflicts. Don't worry about that - submit your changes and then I can help merge into main!

Replaced by cw/multiple_iterations.


Issue with waitForText method

What are you trying to achieve?
I am trying to wait until I see some text
What do you get instead?
It says that the element in which I search for the text either is not in the DOM or does not contain de specified text.

Provide console output if related. Use --verbose mode for more details.

 • I wait for visible "button.js-add-new", 5
   Emitted | step.passed (I wait for visible "button.js-add-new", 5)
   Step finished in 1.191 sec
   Emitted | step.start (I wait for text "+ Add new", 15, "button.js-add-new")
 • I wait for text "+ Add new", 15, "button.js-add-new"
   [1] Error | Error: element (button.js-add-new) is not in DOM or there is no element(button.js-add-new) with text "+ Add new" after 15 sec
   Emitted | step.failed (I wait for text "+ Add new", 15, "button.js-add-new")
   Step finished in 15.005 sec
   [1] Error | Error: element (button.js-add-new) is not in DOM or there is no element(button.js-add-new) with text "+ Add new" after 15 sec
   [1] Starting <teardown> session
   Emitted | test.failed ([object Object])
   [1] <teardown> Queued | hook Util._failed()
   [1] <teardown> Queued | hook WebDriverIO._failed()
   [1] <teardown> Queued | () => done(err)
   [1] <teardown> Stopping recording promises
   [1] <teardown> Starting <generator> session

Provide test source code if related

I.waitForVisible('button.js-add-new', 5);
I.waitForText('+ Add new', 15, 'button.js-add-new');

The element exists in the dom since the first step does not fail, but also the text is definitely in the element because I can see it with my own eyes.
Details

CodeceptJS version: CodeceptJS v1.0.1
NodeJS Version: v9.0.0
Operating System: macOS Sierra
WebDriverIO: 4.9.6
Configuration file:

config.helpers.WebDriverIO = {
        url: .....,
        browser: process.profile,
        restart: true,
        windowSize: "maximize",
        timeouts: {
            script: 60000,
            "page load": 6000,
            implicit: 300
        }
    }

As a side note, the app I am testing is NOT a single page app.

Just a hint, but I sometimes find that either scrolling the page or taking a screenshot in the test, but before one of these troublesome/weird quirks allows the test to work... :)

@leftty
Try to grab the value of text using codeceptjs and check with text that you pass to waitForText
I.waitForVisible('button.js-add-new', 5);
let text = yield I.grabTextFrom('button.js-add-new');
console.log(text)
I.waitForText('+ Add new', 15, 'button.js-add-new');

Thank you for suggestion, but why do I have to grab the text and store that value in a variable, if afterwards you say to use, when calling the jswaitForText() method, the hard-coded text instead of the value stored in the variable? Maybe I am understanding this wrong in some way.

It seems that the text returned by grabText() method is '+ ADD NEW' and not '+ Add New' like it shows when I am looking at the html via the chrome inspector. Do you know why grabText() return a different text than that showing in the html page source?

@leftty
My suggestion was to understand, what text is on element. Looks like selenium get text in uppercase in this case. I can't tell you why. It's related with your application and selenium.
Maybe there is CSS option text-transform: uppercase; on element and because of this text on page appears in uppercase, but in html code you see lowercase text.
So in this case i can only suggest to validate text with uppercase:
I.waitForVisible('button.js-add-new', 5);
I.waitForText('+ ADD NEW', 15, 'button.js-add-new');

Hope this helps


Importing XLSX file with AsDataSet() without parsing it into DateTime format.

I have some .xlsx files with a column that contains date in D/M/Y format. I am reading this file with
ExcelReaderFactory.CreateOpenXmlReader(stream);
Now I want to get my date column in string format in my data table. I have tried following:
DataSet result = excelReader.AsDataSet();
DataSet result = excelReader.AsDataSet(true);
By both ways it is returning me the data e.g. 7/11/2015 as 7/11/2015 12:00:00AM {System.DateTime}. How can I parse this date into {System.String} object?

Have you tried passing false as the constructor argument?

We are having the same problem here.  We are able to preserve the same date formatting that is in the XLS file columns but are not able to keep the same date formats that are in XLSX files.  Are we missing something here?

This is effectively a duplicate of #90 "Support ConvertOaDate parameter in ExcelOpenXmlReader"

Check the project has a installed the ExcelDataReader.DataSet package


How do I make a query "SELECT BETWEEN"

Could you write me an example to do a query "BETWEEN" with dates yyyy/mm/dd.
Thnks!

Hi @jmencoder
You can achieve that functionality very easy:
<?php

require_once './vendor/autoload.php';

use SleekDB\Store;

// create store
$databaseDirectory = __DIR__ . "/database";
$newsStore = new Store("news", $databaseDirectory);

// Convert the date-strings to timestamps
$date = new \DateTime("2020/12/01");
$startDate = $date->getTimestamp();

$date = new \DateTime("2021/01/04");
$endDate = $date->getTimestamp();

// Alternative conversion in one line:
$startDate = (new \DateTime("2020/12/01"))->getTimestamp();
$endDate = (new \DateTime("2021/01/04"))->getTimestamp();

// Get result
// WHERE releaseDate >= $startDate AND releaseDate <= $endDate
$news = $newsStore->findBy([ ["releaseDate", ">=", $startDate], ["releaseDate", "<=", $endDate] ]);

// print result
var_dump($news);

As you can see when using PHPs DateTime class it is very easy. https://www.php.net/manual/en/class.datetime.php
You should also save the date you want to check as a timestamp.
When you need to convert it back to an string just use the following:
$releaseDate = (new DateTime($timestamp))->format("'Y/m/d");

@jmencoder with the new version 2.5 we added support for DateTime objects and the two new conditions BETWEEN and NOT BETWEEN.
Visit our new "Working with Dates" documentation for more details on how to handle dates.
Feel free to reopen this issue if you have further questions.


Pump Configuration and Control Cluster - optional attributes in Pump Dynamic Information Attributes not implemented

Spec Snapshot :

In the above Pump Dynamic Information Attributes table , only the mandatory attributes seem to be implemented by the SDK , all the optional attributes need to be implemented as well

I'm not quite sure here, what is meant by "implemented by the SDK"? Is it because the attributes are available in the all-clusters-app .zap file or some other .zap file?

We should move this to 1.x since optional attributes are out of scope for 1.0


Replace request with superagent

This PR replaces the request library with superagent.
A few key differences:

Since superagent doesn't support options via dictionary, the only thing we can now override through the config are timeout and url.
We're now returning the same formatted error message for server and client errors (we used to rethrow server errors and format client errors)

Also, didn't bump version in this PR
https://github.com/guidesmiths/rascal/issues/54

Thanks @ksnll I'll merge this weekend.


Extra space in the toolbar of footer

Bug Report
Ionic version:

4.3.0
**Current behavior:**Extra space under the toolbar of the footer

Expected behavior: No such space irrespective of screen height

Steps to reproduce:

Related code:

insert short code snippets here

<ion-footer [hidden]="selectedData.Cts == 0">
    <ion-toolbar>
      <ion-row>
        <ion-col col-2 text-center>Pcs</ion-col>
       <ion-col col-2 text-center>Cts</ion-col>
       <ion-col col-2 text-center>Disc %</ion-col>
       <ion-col col-3 text-center>Price</ion-col>
       <ion-col col-3 text-center>Amt $</ion-col>
     </ion-row>
     <ion-row>
       <ion-col col-2 text-center>{{selectedData.Pcs}}</ion-col>
      <ion-col col-2 text-center>{{selectedData.Cts}}</ion-col>
      <ion-col col-2 text-center>{{selectedData.Disc}}</ion-col>
      <ion-col col-3 text-center>{{selectedData.Price}} $</ion-col>
      <ion-col col-3 text-center>{{selectedData.Amt}} $</ion-col>
     </ion-row>
 </ion-toolbar>
</ion-footer>

Other information:

This issue is on Iphone XS or may on mobile with safe-area
Also showing the screen shot of mobile on which application is running below:

You meant you expect something like this:

?
This extra space is what it needs to be in iPhone X according to the Apple's guidelines.

Oh! if you meant the second toolbar, the problem might be that

But it is too much, on google chrome it appears proper(in the device toolbar):

Just see the difference between the above picture and the one provided in the
issue

yep, @tjpatange I am sorry, my fault. I am looking into it!


[!] undefined method `downcase' for nil:NilClass (NoMethodError) on 2.105.0

See error below. Switching back to 2.104.0 fixed the issue.
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/fastlane_core/lib/fastlane_core/fastlane_folder.rb:24:in swift?': [!] undefined method downcase' for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:71:in run!' 	from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/deliver/lib/deliver/commands_generator.rb:182:in run' 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/deliver/lib/deliver/commands_generator.rb:17:in start'
from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/fastlane/lib/fastlane/cli_tools_distributor.rb:100:in take_off' 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.0/bin/fastlane:20:in <top (required)>'
from /usr/local/bin/fastlane:23:in load' 	from /usr/local/bin/fastlane:23:in '
Deploy failed, error: exit status 1

Is there a command to easily switch back?

i got the same error when trying fastlane init from a fresh install using brew, removing and installing 2.10 never made any difference.

@alexstrong29 used pretty much the exact same thing on bitrise. It's hidden under a "debug" dropdown.

@bradx954 hadn't heard of bitrise, just checked that out.
I'm always on the look out to make setting up CI a bit easier! 200 builds as month for free looks quite good!

This seems to be caused by this change: https://github.com/fastlane/fastlane/pull/13333/files#diff-afee814ded0e79042832f3de1d681a53R71 :(

Fixing now! Will have new release out shortly 💪

I can confirm dropping a Fastlane/fastfile into the working directory will workaround the issue in the short term, prior to the new release being available.

Fix is merged and working on a 2.105.1 release. I yanked 2.105.0 from Rubygems so that nobody else will have this issue.

2.105.1 is out now and has the fix for this issue 🚀

@joshdholtz good work looking in to it so quickly!


Problems styling the dragging source

It seams that the class .dndDragging gets applied to the element you are dragging but also to the original dragging source. Although the dragging source has the class .dndDraggingSource it makes it difficult to style the dragging source because inherits from both classes. It would be nice if the class .dndDragging gets only applied to the element that you are dragging and not the dragging source.

This is not possible because the element you are dragging is a copy of the dragging source element. It's created by the browser with all the same CSS classes applied. However, you can easily style the element being dragged with the not-selector: .dndDragging:not(.dndDraggingSource)

thank you @marceljuenemann! I'll use the not-selector!


Fix: SetupDatabase misc. styling fixes

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Various small styling improvements to the setup-database page.
Type of change

User interface (UI)

Checklist

[x My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[ ] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)

before
after

How did you do this? Like the DB selection thing where it is?


TS-4140 Fixes a coverity warning due to changes in TS-4106 (dead code)

This restores an older behavior, removing an unnecessary conditional (dead code).q can never be NUL..

Looks good to me.


Front Camera saves image in the right orientation instead of being mirrored

I need it to be in the right direction and not mirrored. How can i do that ?


Can't import icons using solidjs start

Hey! I'm having trouble importing the icons in my solidjs projects.
Steps to reproduce:
yarn create solid # then y to everything
yarn add @steeze-ui/heroicons
yarn add -D @steeze-ui/solid-icon

Then import the icons as such in index.tsx
import { Icon } from "@steeze-ui/solid-icon";
import { Eye } from "@steeze-ui/heroicons";

import { Title } from "solid-start";
import Counter from "~/components/Counter";

export default function Home() {
  return (

      <Title>Hello World</Title>

Hello world!

      <Counter />

        Visit{" "}

          start.solidjs.com
        {" "}
        to learn how to build SolidStart apps.

      <Icon src={Eye} theme="solid" class="color-gray-900" />

  );
}

And I receive this error when running yarn dev:
@steeze-ui/solid-icon doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
(node:2004606) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.

I'd appreciate some help getting it to work though, thank you!

Hey thanks for the report! It should be fixed with<EMAIL_ADDRESS>.

Great thanks! One thing that popped up now is:
Could not find a declaration file for module '@steeze-ui/solid-icon'.

Unfortunately I cant reproduce this issue :/ Maybe cleaning your node_modules folder helps ?

Oh interesting, I tried going through the set up process I described earlier again and I still have the error. What version of node are you using? I'm using 19, and tried using 16 with nvm but that didn't seem to do anything.


Error: maccy: macOS Mojave or newer is required.

Tried to update via brew and got: "Error: maccy: macOS Mojave or newer is required."
Why force Mojave?
Do you have any real reason?
Is your code using anything Mojave-specific?
I'm on High Sierra, which is greatly supported by Homebrew.
I will never update to Mojave due to my games on Steam and broken support of 32bit by Mojave.
I'd like to keep using Maccy and receive updates on HS, at least while it's supported by Homebrew.
Thanks.

That's blocked by #161

Now that Big Sur is coming, I think it's fair to support the most recent 3 versions of macOS: Mojave, Catalina and Big Sur. I'll still be happy to support High Sierra but not willing to invest any more time into it - PRs are always welcome.


Issue with telldus temperaturesensor

I'm very new to NodeJS, so i have a basic question about using temperature sensor from Telldus Stick. I allready have it working with wireless switches and lights, but I'm having trouble with the temperaturesensor.
`var Accessory = require('../').Accessory;
var Service = require('../').Service;
var Characteristic = require('../').Characteristic;
var uuid = require('../').uuid;
var temperatureNAME = 'Temperature Sensor'; //the temperature sensor's name
var uuidNAME = 'hap-nodejs:accessories:temperature-sensor'; //UUID name
var exec = require('child_process').exec;
var mytemp = exec('sudo python /root/HAP-NodeJS/python/temperatur1.py',
function (error, stdout, stderr) {
return stdout;
});
// here's the temperature sensor device that we'll expose to HomeKit
var TEMP_SENSOR = {
currentTemperature: mytemp,
getTemperature: function() {
console.log("Getting the current temperature!");
return TEMP_SENSOR.currentTemperature;
},
}
// Generate a consistent UUID for our Temperature Sensor Accessory that will remain the same
// even when restarting our server. We use the uuid.generate helper function to create
// a deterministic UUID based on an arbitrary "namespace" and the string "temperature-sensor".
var sensorUUID = uuid.generate(uuidNAME);
// This is the Accessory that we'll return to HAP-NodeJS that represents our fake lock.
var sensor = exports.accessory = new Accessory(temperatureNAME, sensorUUID);
// Add properties for publishing (in case we're using Core.js and not BridgedCore.js)
sensor.username = "AB:CD:EF:12:34:56";
sensor.pincode = "031-45-154";
// Add the actual TemperatureSensor Service.
// We can see the complete list of Services and Characteristics in lib/gen/HomeKitTypes.js
sensor
.addService(Service.TemperatureSensor)
.getCharacteristic(Characteristic.CurrentTemperature)
.on('get', function(callback) {
// return our current value
callback(null, TEMP_SENSOR.getTemperature());

});
// gets our temperature reading every 10 seconds
setInterval(function() {
var tempSEN = mytemp;
TEMP_SENSOR.currentTemperature = tempSEN;
// update the characteristic value so interested iOS devices can get notified
sensor
.getService(Service.TemperatureSensor)
.setCharacteristic(Characteristic.CurrentTemperature, TEMP_SENSOR.currentTemperature);
}, 10000);
`
Does anybody see something wrong here? The temperatur1.py script does return the temperature of the sensor. (ex. 20,0*).

Got it working, used slice to get the temperature from the sensor and used Math.round.


More strict dependency on google-protobuf gem

the grpc 1.24.0 gem had a dependency on google-protobuf ~> 3.8. This would in theory allow us to use google-protobuf 3.11.x, but as we learned with multiple issues ... that gives us a mismatch with the copy of google-protobuf tools within the grpc gem.
My suggestion is ... if those need to be kept in sync so tightly. the gem dependency should express that.

This should probably be reopened


Relation to JSON Text Sequences (RFC 7464)

https://tools.ietf.org/html/rfc7464

Parsing JSON Text Sequences is currently not supported.
Personally, I have no immediate use case for supporting this any time soon.
As such, personally, I'd recommend looking into NDJSON (#4) instead (for now at least).
I'll be happy to reopen this once we see a need for this.


Add support for NitroHSM hardware keys

Notes from @Dfinity-Bjoern and @dprats
Background context

Node providers were given bonus neurons with ICP from the Foundation (not NNS) few months ago
Node providers have been asking how to get access to unlock them, because they do not know how
Node providers for help asking has reached fever pitch where Josh asked Bjorn, Luis, Andrew K and me what is a good path forward to start to help them

Proposed solution we gave Josh:

Someone from RD make some updates to quill (which @Björn Tackmann can explain). We asked Sam and he said you would be best Candidate. Bjorn believes it’s a 1-2 day kind of simple changes.
Bjorn, Kendall, and me QA The quill improvements and write docs for the node providers
We demo this work this coming Thursday

Timeline

This is urgent at the level that we need help outside regular COM, but we would not give anything to node providers until we are satisfied with the docs and experience
Our goal is to demo something this Thursday to Josh. If it turns out it’s “good enough”, we’ll polish it and tell node providers that we have a plan for them. If it’s not good enough for Josh, we will try again.

Notes
NPs have NitroHSMs, just like the ones we use internally. agent-rs and dfx support those -- using PKCS#11 which is supported by the HSMs. NPs received a bonus neuron, locked up for 4 years, which they can control via the HSM. The problem is: doing this via dfx is somewhere between hard for some and impossible for others.

it requires users to write/change textual Candid
the PIN handling via environment variables is nice for pros but not for rookies
it does not run on Windows.

The core idea of the ask is that quill does what the NPs need (basic neuron handling) with better user experience. The obvious problem: quill does not support the HSMs. But that should not be too hard to add, since agent-rs does all the heavy lifting already. The code needed in (a fork of) quill is more or less:

get the path for the opensc-pkcs11.{so,dylib} -- that may be different on different platforms
get some other parameters: slot (almost always 0 if we ask people to remove Yubikeys), key id (we had them all set it to 01), and PIN,
initialize the Agent object using the PKCS#11 interface instead of loading the key from a file -- just like dfx or the now-defunct icx-nns do it.

Most NPs would probably not use the air-gapped mode, but I could also see a few of them appreciating it. So maybe it makes sense to just have a shorthand for send&sign.
That should be it -- for the first iteration.
Also, one reason I think forking quill instead of just extending it is that I see one possible extension we may want to add: a "backup option". That would be a slightly bigger effort, and it may not be something we want to build into the general quill, since being simple and easy to understand is a great feature for a tool like quill. That's why I feel we may want to fork rather than extend -- but that's just my personal opinion and both seem plausible options.
Regarding the parameters, my intuitive starting point would be having the path of the library, the slot, and the key id in a config file -- they are likely pretty predictable in all cases. (Just if someone installs opensc on a Mac via brew instead of via DMG, they may want to change the path, or different Linux distros may use different paths.) And we could use the typical read-but-do-not-show-on-screen for the PIN input.

I am not sure whether this should be merged in the main quill or live on as a fork – I'd leave that to the main quill authors to decide.
But I do like the functionality and how it's implemented, and I think it will make NPs lives a lot better going forward!

@ielashi has provided me with 100 ICP on the testnet, so I just have to stake a neuron and test that management operations work. It may require adding an option to target quill at different endpoints, will see after meetings.

To close the loop: everything seems to be working fine, and we have report of users who are able to use this support even on Windows.

@chmllr Given the difficulties I'm facing updating quill, my inclination now is to merge this support first, and then do the breakup and refactoring after, if that's OK with you.


Support for a Base BSONError protocol

It will be useful to have a base protocol for BSONErrors that can be handled/caught at a global level for some applications. Currently if we want to catch a BSON error we would have to type cast to all the known types of errors. It would turn code that looks like this:
func handle(error: Error) {
    if let error = error as? BSONValueNotFound {
    ...
    } else if let error = error as? DeserializationError {
    ...
    } else if let error = error as? UnsupportedDocumentDecoding {
    ...
    }
    etc..
}

To code that would look like this:
if let error = error as? BSONError {
...
}

@Obbut any thoughts on this? 👀

Hmm, currently all error types in BSON are private/internal, so it is impossible to catch them anyway.
We might implement a BSONError protocol, but another option could be to just convert the errors to an enum. The downside of using an enum is that people can switch over them which makes adding new cases a breaking change, but that can be solved like we did in MeowVapor.
The main upside of using an enum is that it allows writing catch BSONError.valueNotFound.

I suggested both solutions. The first one to @Andrewangeta and the second one to @Obbut . So far I prefer the second use case more since it allows us to cover more detail in the errors


Updated console test app to target .NET Framework 4.8

No need to go to .NET Framework 4.8 since it is already covered by .NET Standard 2.0.


ci: enable yarn package cache

Changes:

Enable built-in yarn package cache that comes with<EMAIL_ADDRESS>
Context:

<EMAIL_ADDRESS>comes with a new cache option, see setup-node v2.2.0 release notes.
Important note from their changelog:

Yarn caching handles both yarn versions: 1 or 2.

At the moment, only lock files in the project root are supported.

Documentation (please check one with an [x])

[ ] I have updated the documentation, or
[x] No documentation update is required

How I've tested my work (please tick one)
I have verified these changes via:

[x] Code inspection only, or
[ ] Newly added/modified unit tests, or
[ ] No unit tests but ran on a real repository, or
[ ] Both unit tests + ran on a real repository

@rarkins and @viceice I think maybe we can use the new cache feature of this action on our main renovate repository as well? I have a feeling it might simplify the github action setup we have over there. So that's why I'm pinging you here, so you can get a sneak preview. 😄

Like to have this in our other repos too


docs: minor typos

Description
Fixing minor typos.

[x] I have read the contributing documantation.
[x] I signed and signed-off the commits (git commit -S -s ...)
[x] I have correctly attributed the author(s) of the code.
[x] I have tested the changes locally.
[x] I have followed the project's style guidelines.
[x] I have updated the documentation, if necessary.
[ ] I have added tests, if applicable.

@microsoft-github-policy-service agree


I also encountered the same problem, how can I solve it？

I also encountered the same problem, how can I solve it？
Originally posted by @isangmeng in https://github.com/electron/electron/issues/20299#issuecomment-688119278

Can you please add some information how this is related to this repository, e.g. where does the bug appear.

Closing since this does not seem to be relevant for this repository.


Math not rendering in doom-emacs

Pretty much title, the equations are not rendering wth xenops-mode activated. Here is an image of what's happening.
xenops-doctor returns no errors (Xenops is healthy).

Hi @AugustoRiedinger, the exclamation mark character contains information about the error, via hover and right-click. The README describes how to access this information for debugging: https://github.com/dandavison/xenops#31-rendering-math-tables-and-tikz-content (section 5 "What if something went wrong?"). Could you try debugging following those techniques?

Hello. You are right, it was a problem with my LaTeX configuration. As LaTeX couldn't compile, xenops didn't render. Once I fixed it, xenops started working as expeted. Thanks for the insight and the awesome package. Regards.


Clear previous moisture reading

As-Is: We need to review this
To-be: Envision what it means for the UI
Separate meeting

The design @max-arbezcheung showed with the calendar of when the last measurements were, and the list of previous measurements is high priority.
How many recordings should we keep in the list? Time stamp for each reading.
Most recent readings - max 5 for now - rest is hidden for now -

We need to consolidate all these issues -

https://app.mural.co/invitation/mural/corporateservicecorps7106/1661457788349?sender=ilsebreedvelt&key=1127d1d2-a3df-456d-8b8b-850e6ddfc0d7


Add tekton pipelines to build flatcar images for CAPV

As a part of https://github.com/giantswarm/roadmap/issues/2757
Extend https://github.com/giantswarm/capi-image-builder for CAPV

I did some exploratory works and hit the first issue.
Basically, to be able to produce OVA images, we should either use a remote vSphere or a local VMware Workstation or VMware Player.
I tried to access our vSphere in  IONOS from our image builder cluster but there is no access. It requires VPN to access the endpoint. I am not sure if we can enable VPN in the image builder cluster.
The other option is to install VMware tools but it won't be easy to do it in a pod.
I want to get @vxav and @glitchcrab's opinions here.

I managed to install VMware Player as below:
# docker.io/erkanerol/devenv:v3

FROM quay.io/giantswarm/capi-image-builder:1.6.8

USER root

# Check https://customerconnect.vmware.com/en/downloads/details?downloadGroup=WKST-PLAYER-1702&productId=1377&rPId=104734
RUN wget -q https://download3.vmware.com/software/WKST-PLAYER-1702/VMware-Player-Full-17.0.2-21581411.x86_64.bundle -O /tmp/VMWareWorkstation.bundle \
  && chmod +x /tmp/VMWareWorkstation.bundle \
  && /tmp/VMWareWorkstation.bundle --console --required --eulas-agreed \
  && rm -rf  /tmp/*

USER imagebuilder

But the doc says it requires VMware Virtual Infrastructure eXtension (VIX) SDK too and it seems it is not open.

https://techpartnerhub.vmware.com/sdks

I hit some compatibility issue when I tried to install VIX by using the link above. I opened an issue in the upstream side https://github.com/kubernetes-sigs/image-builder/issues/1290

I think remote vsphere is by far the best route - it's better supported and involves less hackery

We're not going to be doing any changes to the old test-infra environment. We can include vpn access when we rebuild and migrate the pipelines to the new infrastructure as that already has the VPN proxy configured. But there are currently no immediate plans to do that. If this is a priority please discuss it with your product owner to bring it to the product sync so priorities can be adjusted accordingly.

@AverageMarcus I plan to deploy vpn-proxy as we do here https://github.com/giantswarm/cicd-gitops/tree/main/flux/vpn-proxy to gorilla/rfjh2 and use it via proxy environment variables in CAPV tasks. All traffic in CAPV tasks will go through the vpn-proxy pod, a VPN-enabled squid proxy pod.
Are you OK with it?

Fine with me. Just be aware that we'll be recreating and migrating these pipelines shortly-ish (it's currently in our up-next column on our board).

@AverageMarcus Will it have built-in support for VPN? Do you have an estimation of when the migration can finish?
I hit an issue while trying the method above because of SSH connections. Setting proxy variables is not enough. I  also need to configure SSH that supports connections through proxy.

We haven't even started work on it yet so I can't possibly say when it'll likely be complete. If VPN is required then it'll be included in the requirements and we'll re-use the existing proxy we have in the new cluster.

@AverageMarcus I don't know exactly what we have in the new cluster. Does VPN work at the node level there? I am asking since I hit some issues when I tried to use VPN as a proxy.
By the way, thanks a lot for helping me. There are many new things in this area to me. I learned mostly so I hope newer developments will be much easier.

The new cluster is the same as used by mc-bootstrap currently (and the WC E2E tests). It have VPN set up as a proxy so we'll need to work to get image-builder working with that.
Any issues you face or things you think we specifically need to take into consideration would be useful. The issue we have is still fairly sparse on details as we haven't started the investigation yet but if you have anything to add please use this one: https://github.com/giantswarm/giantswarm/issues/26154

I finally managed to run image-builder from our environment by using remote vSphere API which is accessible via proxy. There are many issues to fix. I will bring them under this comment.

[ ] Enable VPN in the environment
-> I deployed VPN as a proxy to our existing environment and added this into requirement of new environment. We can assume this is done for now.
[ ] Expose ssh_proxy variables for packer
-> https://github.com/kubernetes-sigs/image-builder/pull/1314
[ ] Fix relative script path in post-processors
-> https://github.com/kubernetes-sigs/image-builder/blob/main/images/capi/packer/ova/packer-node.json#L336
[ ] Adapt our tasks to inject vSphere.json to var.json
[ ] Add CAPV pipeline and add AWS S3 support for image uploading&check.

Marcus added CAPV pipeline and S3 upload. We are able to produce our image now.
I found a minor issue related OVF content that block image upload to vsphere. It is possible to edit OVF file manually and upload the image. I did it in that way and verified the image with https://github.com/giantswarm/cluster-vsphere/pull/98
I will fix the problem and close this issue. Details of the problem can be found here https://kubernetes.slack.com/archives/C01E0Q35A8J/p1698754064351559

I opened a PR in the upstream side https://github.com/kubernetes-sigs/image-builder/pull/1337/files

I just verified the latest fix. Also deleted old images for the S3 bucket. After documenting the status, I will close this issue.

Doc PR https://github.com/giantswarm/giantswarm/pull/28929

Doc is available here https://intranet.giantswarm.io/docs/product/providers/capv/image_building/


TensorFlow cannot allocate >4GB on RX-480 8GB

I have installed ROCm-TensorFlow 2.3 via pypi (pip) on Ubuntu 18.04 + kernel 5.4, rocm version 3.7
My GPU is Polaris 10, RX 480 8GB (Sapphire nitro+)
I can run basic TF sample (python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))") using ROCm, but when I try to load my model, it fails
[TerminalIPythonApp] WARNING | Subcommand `ipython qtconsole` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter qtconsole` in the future
2020-08-26 12:38:10.399423: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libamdhip64.so
2020-08-26 12:38:10.414464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1734] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: Ellesmere [Radeon RX 470/480/570/570X/580/580X]     ROCm AMD GPU ISA: gfx803
coreClock: 1.306GHz coreCount: 36 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 0B/s
2020-08-26 12:38:10.415639: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocblas.so
2020-08-26 12:38:10.416303: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libMIOpen.so
2020-08-26 12:38:10.419893: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocfft.so
2020-08-26 12:38:10.420034: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocrand.so
2020-08-26 12:38:10.420150: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-26 12:38:49.082800: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-26 12:38:49.087009: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency:<PHONE_NUMBER> Hz
2020-08-26 12:38:49.087371: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5ae8590 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-26 12:38:49.087380: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-26 12:38:49.088526: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5b3c170 initialized for platform ROCM (this does not guarantee that XLA will be used). Devices:
2020-08-26 12:38:49.088534: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Ellesmere [Radeon RX 470/480/570/570X/580/580X], AMDGPU ISA version: gfx803
2020-08-26 12:38:49.334271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1734] Found device 0 with properties:
pciBusID: 0000:09:00.0 name: Ellesmere [Radeon RX 470/480/570/570X/580/580X]     ROCm AMD GPU ISA: gfx803
coreClock: 1.306GHz coreCount: 36 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 0B/s
2020-08-26 12:38:49.334352: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocblas.so
2020-08-26 12:38:49.334374: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libMIOpen.so
2020-08-26 12:38:49.334394: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocfft.so
2020-08-26 12:38:49.334412: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocrand.so
2020-08-26 12:38:49.334617: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-26 12:38:49.334642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-26 12:38:49.334651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-08-26 12:38:49.334658: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-08-26 12:38:49.334904: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7700 MB memory) -> physical GPU (device: 0, name: Ellesmere [Radeon RX 470/480/570/570X/580/580X], pci bus id: 0000:09:00.0)
2020-08-26 12:39:27.932393: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:27.937286: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:29.109164: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:29.123620: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:29.125847: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:29.127728: I tensorflow/core/common_runtime/gpu_fusion_pass.cc:505] ROCm Fusion is enabled.
2020-08-26 12:39:29.264293: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libMIOpen.so
2020-08-26 12:39:29.386881: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library librocblas.so
2020-08-26 12:39:29.680115: F tensorflow/stream_executor/rocm/rocm_dnn.cc:3527] Failed to allocate scratch memory - Requested memory size<PHONE_NUMBER>) exceeds the max memory limit<PHONE_NUMBER>).
	You can set the env var TF_CUDNN_WORKSPACE_LIMIT_IN_MB to a larger number (e.g. 8192) to increase the max memory limit.
	Increasing the max memory limit might help resolve this error
[JupyterQtConsoleApp] WARNING | kernel died: 3.002070903778076

My GPU has 8GB, but output says "exceeds the max memory limit<PHONE_NUMBER>)."  The number also correlates with output of rocminfo:
$ /opt/rocm/bin/rocminfo
ROCk module is loaded
Able to open /dev/kfd read-write
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen 7 3700X 8-Core Processor
  Uuid:                    CPU-XX
  Marketing Name:          AMD Ryzen 7 3700X 8-Core Processor
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3600
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            16
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    65864460(0x3ed030c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    65864460(0x3ed030c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
    N/A
*******
Agent 2
*******
  Name:                    gfx803
  Uuid:                    GPU-XX
  Marketing Name:          Ellesmere [Radeon RX 470/480/570/570X/580/580X]
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          4096(0x1000)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
  Chip ID:                 26591(0x67df)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   1306
  BDFID:                   2304
  Internal Node ID:        1
  Compute Unit:            36
  SIMDs per CU:            4
  Shader Engines:          4
  Shader Arrs. per Eng.:   1
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      FALSE
  Wavefront Size:          64(0x40)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        40(0x28)
  Max Work-item Per CU:    2560(0xa00)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    8388608(0x800000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx803
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

The number tensorflow limit max memory limit<PHONE_NUMBER>)  correlates with  ˙Grid Max Size:<PHONE_NUMBER>(0xffffffff)             ˙
I have found similar output in this issue https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/629

I have tried another model, where I can set network size by size of input image.
I can run with size of 488 x 488 pixels it runs fine. By using radeontop I can see VRAM growth for ~4GB. I can even run 2 instances and it works fine. It takes almost all VRAM and even takes some GTT (system memory for gpu). Both instances works!
But if i try 512 x 512, the network loads. After output of Epoch 1/100 I get following error :
Memory access fault by GPU node-1 (Agent handle: 0x62c7e10) on address 0x10f5c74000. Reason: Page not present or supervisor privilege.

the DMESG output:
[  +0,000005] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 146 0x03a0480c for process python pid 572 thread python pid 572
[  +0,000003] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x010F5C74
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x1004800C
[  +0,000002] amdgpu 0000:09:00.0: amdgpu: VM fault (0x0c, vmid 8, pasid 32771) at page 17783924, read from 'TC4' (0x54433400) (72)
[  +0,000009] amdgpu: Evicting PASID 0x8003 queues
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x0bb84402 for process python pid 572 thread python pid 572
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00FF74FB
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x310C8002
[  +0,000002] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 16741627, write from 'TC2' (0x54433200) (200)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x02e84802 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x011E6854
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10084002
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 18770004, read from 'TC7' (0x54433700) (132)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x03784802 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00F7492C
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10008002
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 16206124, read from 'TC0' (0x54433000) (8)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x02104402 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x01288111
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10008002
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 19431697, read from 'TC0' (0x54433000) (8)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x04204402 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x01098F78
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10044002
[  +0,000002] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 17403768, read from 'TC5' (0x54433500) (68)
[  +0,000005] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x02c04402 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x01265438
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10008002
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 19289144, read from 'TC0' (0x54433000) (8)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x01788802 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00FA33F1
[  +0,000002] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10008002
[  +0,000001] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 16397297, read from 'TC0' (0x54433000) (8)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x0d3e0402 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00FBC473
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x100C8002
[  +0,000002] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 16499827, read from 'TC2' (0x54433200) (200)
[  +0,000006] amdgpu 0000:09:00.0: amdgpu: GPU fault detected: 147 0x08e04402 for process python pid 572 thread python pid 572
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x011F829A
[  +0,000001] amdgpu 0000:09:00.0: amdgpu:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x10004002
[  +0,000002] amdgpu 0000:09:00.0: amdgpu: VM fault (0x02, vmid 8, pasid 32771) at page 18842266, read from 'TC1' (0x54433100) (4)
[  +0,003547] amdgpu 0000:09:00.0: amdgpu: IH ring buffer overflow (0x000850C0, 0x00007380, 0x000050D0)
[  +0,105399] amdgpu: Started evicting pasid 0x8003
[  +0,000005] amdgpu: Finished evicting pasid 0x8003

The issue might be connected with MIOpen https://github.com/ROCmSoftwarePlatform/MIOpen and tensorflow-upsteream https://github.com/ROCmSoftwarePlatform/tensorflow-upstream
@sunway513 @parallelo maybe you have some idea?
The "GPU fault" and "VM falit" might also indicate bad GDDR5 memory chips (the gpu is quite old now), but I tried running 12 instances of "Unigine Heaven" benchmark, the VRAM was fully utilized, but NO artifact was visible

I am closing this issue (in ROCm), since there exists (tensorflow ) model, that can utilize full 8GB of vram. The issue in my model is probably in higher layers (tensorflow/miopen/hip) and not lower ROCm levels.


Use @overload to implement merge_cell function

Use overload decorator to implement merge_cell function. Make it more flexible

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

Project coverage is 87.73%. Comparing base (a7ffd3f) to head (7c29f46).

:exclamation:  There is a different number of reports uploaded between BASE (a7ffd3f) and HEAD (7c29f46). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (a7ffd3f)
HEAD (7c29f46)

6
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   96.37%   87.73%   -8.64%
==========================================
  Files          15        4      -11
  Lines        1711      473    -1238
==========================================
- Hits         1649      415    -1234
+ Misses         45       41       -4
  Partials       17       17

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


Staff interface to view requested visits

Shows the requested visits per Estate (estates with more than 1 prison use the same email for social visits).
This PR has 2 new views, one on /prison that lists links to all the estates dashboard and then the view for each estate /prison/pentonville. We need to decide final urls for these.
Not sure what's happened to the branch with the duplicate commits, we'll clean it up

Replaced by https://github.com/ministryofjustice/prison-visits-2/pull/338


Fix comments for #1890

Fixing some comments that were left on #1890

Rebased on master (the other PR got merged 10 minutes ago)
Ready for reviews.


mongo-docs-advanced-topic-docs-7-to-12 added

Related Issue
Fixed : #991
Description
i have added Advaced MongoDB Docs 7 to 12

Using

Complex diagram using mermaid

Table according to Topic

3 . Note wherever needed

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have followed the code style guidelines of this project.
[x] I have checked for any existing open issues that my pull request may address.
[x] I have ensured that my changes do not break any existing functionality.
[x] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[x] I have read the resources for guidance listed below.
[x] I have followed security best practices in my code changes.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Please read the following resources before submitting your contribution:

[ ] Code Harbor Hub Community Features
[ ] Docusaurus Documentation
[ ] React.js Documentation
[ ] Markdown Guide
[ ] MDX Documentation
[ ] Mermaid Documentation

Resources for DSA Features on Our Site:

[ ] Tabs: Switch Languages
[ ] Line Numbering
[ ] Math Equations

Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the level1 label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to level2. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Level1:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Level2:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Level3:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

hey @Ajay-Dhangar , please assign level accordingly.

hey @Ajay-Dhangar , please assign level accordingly it should be level 3 because i have added content using note , diagram , accordian , note etc...

hey @Ajay-Dhangar , please assign level accordingly it should be level 3 because i have added content using note , diagram , accordian , note etc...

hey @Ajay-Dhangar , please answer.


Add: Generic calibration dataloader + forward function

Adds: A generic calibratiion dataloader and a calibration forward function, for calibrating weights after training, (Post Training Quantization)
import torch
from sparseml.pytorch.models import resnet50
from sparseml.pytorch.optim import QuantizationModifier

def random_dataloader(n=5):
    """
    A random generator
    """
    for _ in range(n):
        print(f"Trying to yield batch {_}")
        yield [torch.rand(32, 3, 224, 224)], {}

# Pretrained Model
model = resnet50(pretrained=True)

# Modifier init
modifier = QuantizationModifier(start_epoch=0)

# Modifier Application
modifier.apply(
    module=model,
    calibration_dataloader=random_dataloader(),
)

# Book-Keeping, the model should have non infinity weights
print(model(torch.rand(1, 3, 224, 224)))
print(model)

Can also pass in a Calibration function along with dataloader
import torch
from sparseml.pytorch.models import resnet50
from sparseml.pytorch.optim import QuantizationModifier
from sparseml.pytorch.utils import  tensors_module_forward

def random_dataloader(n=5):
    """
    A random generator
    """
    for _ in range(n):
        print(f"Trying to yield batch {_}")
        yield [torch.rand(32, 3, 224, 224)], {}

# Pretrained Model
model = resnet50(pretrained=True)

# Modifier init
modifier = QuantizationModifier(start_epoch=0)

# Modifier Application
modifier.apply(
    module=model,
    calibration_dataloader=random_dataloader(),
    calibration_func=tensors_module_forward,
)

# Book-Keeping, the model should have non infinity weights
print(model(torch.rand(1, 3, 224, 224)))
print(model)

it looks like in your rebase you removed changes added in #548.
Additionally, what changes were added between this PR and #541

Great catch @bfineran Thanks.


[FAQ] new FAQ to address potential mixup of tools with similar names

There are often mixups between tools for which many different tools with similar names exist (sort, cut, etc), and this FAQ recommends using tutorial more or checking of full tool name matches.
fixes https://github.com/galaxyproject/training-material/issues/3636 as reported by @gallardoalba

hmm, in this case two different tools have the exact same tool name (on EU), so point 2 still doesn't help, but in general it should

Great :D thanks!


Add more specific information to action tooltips.

[ ] Unit Attacks Unit
[ ] Move + Capture
[ ] Capture Complete

And other similar information.

Fixed in e33960c4953d5b1ef05cb535273881d6f043ff0b.


[Solana] Expose unsigned tx as well

Is your feature request related to a problem? Please describe.
In some cases transaction without signature would be needed, for e.g. for the getfeeformessage RPC call. This is available internally, but not exposed.
Describe the solution you'd like
It could be exposed as additional field in SigningOutput.
Additional context
See discussion https://github.com/trustwallet/wallet-core/discussions/2619

Is your feature request related to a problem? Please describe. In some cases transaction without signature would be needed, for e.g. for the getfeeformessage RPC call. This is available internally, but not exposed.
Describe the solution you'd like It could be exposed as additional field in SigningOutput.
Additional context See discussion #2619

How about implementing similar way as: https://github.com/trustwallet/wallet-core/pull/2591 introducing new C API for unsigned tx, and make a clear separation? Will require a bit more effort but probably easier to maintain in the future.

How about implementing similar way as: #2591 introducing new C API for unsigned tx, and make a clear separation? Will require a bit more effort but probably easier to maintain in the future.

It's is 'free' to expose any intermediate output in the Signing process, as thery are computed anyways, this is present in several SingingOuputs. It is uniform if here is only the Sign method to take SigningInput. Only complication is that if you want to use in case the private key is not known, supporting requires adding some conditionals.
The separate API is also fine, it has it's own benefit (being independent), but maybe the Signing way is more uniform across chains.


Immutable X

where you can create a PR, or to add the StarkEx force witdh documents well, since several are wrong and I don't know in which file I modify that part of the erroneous link
https://docs.starkware.co/starkex/spot/spot-trading-full-withdrawals.html

@Nadai2010 I understood that you want to add/update links regarding StarkEx's forced exit.
The links for this section in the Immutable X page are broken:
Forced Operations - StarkEx documentation
Forced Withdrawal - StarkEx documentation
Full Withdrawal - StarkEx documentation
If I understood it correctly, you can update/add links regarding it by editing the file /workspace/packages/config/src/layer2s/common/exits.ts and submitting a PR.

Hi, I did not remember this, sorry, then I saw the change in local and did not perform the PR, it is already uploaded.

Closed by https://github.com/l2beat/l2beat/pull/1448


feat: allow different bot name to auto-merge

This Pull Request fulfills the following requirements:

[x] The commit message follows our guidelines.
[x] Tests for the changes have been added if needed.
[x] Does not affect documentation or it has been added or updated.

I am trying to contribute an improvement that allows a different bot to auto-merge.
I did try this github action and it works well, now I am trying to contribute back to this repo.
I did adapt the test accordingly and some doc.
Let me know what you think!

Thanks for the contribution, makes sense to me! @viestat Can you please review? In this case we might also consider renaming the both 🤔

@viestat @acazacu On a second thought, since people want to use different bots, maybe it would be wise to accept a RegExp here too, or at least some minimatch?

This makes sense to me. There is something that I like to point out;  this change does not tie the auto merge action to a bot name, rather to a github login. Meaning that if I set the BOT_NAME value to viestat for example, it will auto-merge every pull request I open 😄
This is not a bad thing at all but the focus of the action is different then. Therefore we should rename the action to express what it does and change the variable name used from BOT_NAME to GITHUB_LOGIN


[Feature Templates] Add unittest for serialize/deserialize

Closing as duplicated with https://github.com/cisco-open/cisco-catalyst-wan-sdk/issues/423


Misc Edits

Update normative and informative references
Update feedback
Clarify introduction, definition, and examples
Separate examples from definition
Remove superfluous examples/explanations

Signed-off-by: sappenin<EMAIL_ADDRESS>

The txt, html and xml files are all auto-genereated, so to review this PR, plz look at the .md files.


refactor: make charP_to_charZero an instance

This should be safe now that instance cycles are allowed in Lean4

I've seen those build errors before, when changing unrelated files.  Either increase the numbers or disable the instance which is causing all the problems (it's StrictOrderedSemiring.to_charZero, you can attribute [-instance] it)

!bench

Empirically typeclass cycles are still bad, at least in my experience. I recently tried to promote two theorems to instances and ran into non-trivial problems (to say nothing of performance hits). I mentioned this here:
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/type.20class.20inference.20looping/near/385635549
IMHO, the situation is better than Lean 3 but I think typeclass inference still has a lot of room for improvement in Lean 4 (which is actually pretty exciting, as I believe we'll see it happen).
So unfortunately I think we should not make this change.

I just came across this PR again (tidying my notifications) and it occurs to me that the right fix would be to change the definition of the CharP class to the mathematically more sensible:
class CharP [AddMonoidWithOne R] (p : ℕ) : Prop where
  cast_eq_iff' : ∀ x y : ℕ, (x : R) = (y : R) ↔ (x : ZMod p) = (y : ZMod p)

and then delete CharZero since it is then equivalent (even without additive inverses) to CharP R 0.
For bonus points one could even rename CharP to Char!


Make the Adonis encryption cipher support the full 0-255 character range

What part of Adonis is this related to?
Other
What are you suggesting?
Make the Adonis encryption cipher support the full 0-255 character range
If someone does this however you should keep note that datastores depends on the encryption algorithm and thus you would have to use something else for them and have backwards compatibility.

Remove remote encryption entirely. its a waste of time

Remove remote encryption entirely. its a waste of time

No :P

Also new one should use bit32.bxor because it works just better.


docs: add chinese translation

I added i18n to the configuration file,then add Chinese document translations. I've tested the build folder on my computer using nginx and it works fine.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.553%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
786

Relevant Lines:
794

💛  - Coveralls

non-dark mode

dark mode

The language dropdown item's color is bad for looking when you not using dark mode.

Thanks so much for adding these translations!❤❤❤

❤🧡💛💚💙💜🖤ʕ๑•ɷ•๑ʔ❀


feat(GUI): add spacing to drive-selector labels

We add a right margin to the drive-selector labels so they look nicer
when there are multiple.
Change-Type: patch
Changelog-Entry: Add spacing to the drive-selector warning/error labels.

@Shou there seem to be unstaged sass changes. Also, can you add a screenshot to the PR description?

Before:

After:

@jhermsmeier done now – just noticed and worked on another small issue related to this

@Shou, looks fine in general. The only small issue is the right margin on the 'large drive' label.

@Shou this will need rebasing & a run of make sass it seems – also, what @konmouz mentioned; the large drive label has a stray padding (trailing space?)

@konmouz @jhermsmeier yeah, there were some trailing whitespace characters. I was hoping removing the surrounding <b> tags in the other PR would've solved this, but it was the whitespace at fault here.
Updated screenshot


Classrooms: Allow enabling class lists in demo site

Who is this PR for?
developers
What problem does this PR fix?
Enables doing some simplistic load testing on the demo site, which isn't a perfect proxy for any production site but can help get some ballpark figures.
What does this PR do?
Adds an ENV variable for controlling the class lists feature, and allows it to be set in the demo environment.
Checklists

[x] Author included specs for new code

added env first, selfie


Enhance StandaloneServer so that we don't need to update the version number manually

Purpose of the pull request
Enhance StandaloneServer so that we don't need to update the version number manually
Brief change log
Set registry.plugin.binding when run in IDE locally using a relative path so that we don't need to modify the version number like 1.3.6-SNAPSHOT.

Codecov Report

Merging #6074 (49953a2) into dev (ca93b8a) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #6074      +/-   ##
============================================
- Coverage     46.32%   46.31%   -0.02%
- Complexity     3733     3735       +2
============================================
  Files           609      609
  Lines         25075    25075
  Branches       2867     2867
============================================
- Hits          11616    11613       -3
- Misses        12314    12321       +7
+ Partials       1145     1141       -4

Impacted Files
Coverage Δ

...eduler/server/worker/runner/TaskExecuteThread.java
56.71% <0.00%> (-4.48%)
:arrow_down:

...inscheduler/common/thread/ThreadPoolExecutors.java
21.15% <0.00%> (+1.92%)
:arrow_up:

...er/master/dispatch/host/assign/RandomSelector.java
83.33% <0.00%> (+5.55%)
:arrow_up:

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 ca93b8a...49953a2. Read the comment docs.


D365 for Sales integration stopped working

Hi,
Starting from an automatic update of the Business Central Production instance to version 15.2.39060.0 we have encountered the issues with the D365 for Sales integration. No synchronization for new records is performed and no log entries are created. The standard synchronization jobs for example for customer - account are not processed.
There is no customizations that can somehow affect standard sync process in any way and everything worked before the update.
Could you please advice how to solve this issue?
Thanks!
Update date :  10.01.20

This portal is primarily for extensibility and integration requests for extension development. Please do not use this portal for bug or hotfix requests. We cannot follow up on those, you need to create request for technical support instead and provide details and repro steps.


Various updates to EzNoSQL documentation

I made changes to the examples, parameter lists, function signatures, options structs, and some description changes.
<EMAIL_ADDRESS>

Corrections to sample API usage.


Snippets - adopt class based views

Description

Wagtail 2.12 added generic class based views for use across Wagtail's admin, which was a progression of existing work to move to class based views where possible
This provides the ability for common views to share common logic and behaviour
This also provides a way for even more customisation over specific URLs by overriding a specific URL path with your own custom class based view that extends the generic ones
This will replace the function views used in other parts of Wagtail currently, or ad-hoc class based views that either use Django's directly or do not
The Wagtail generic class based views extend the Django class based views

@kaedroho / @laymonage I know this is pretty much done but I've been getting my head around GitHub issue creation linked to a 'parent' and accidentally created this issue. So thought we may as well use it to track the snippet class based views adoption.
I'll add some details a bit later to the description.
It might serve has a helpful reference for future similar changes

https://github.com/wagtail/wagtail/pull/8361 - additional PR


Azure Log Analytics Workplace -  Logs (Preview)

Azure Log Analytics Workplace -  Logs (Preview) -> Unable to find the documentation on this new Preview Feature

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

ID: 15541087-a0cc-94a1-7e75-0d69ca1c7864
Version Independent ID: 430c0f69-1aba-1aa3-561e-0e774c0541e0
Content: Log searches in Azure Log Analytics
Content Source: articles/log-analytics/log-analytics-log-search.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

@balait01 Thanks for the feedback. We are actively investigating and will get back to you soon.

https://docs.microsoft.com/azure/log-analytics/log-analytics-log-search-portals
https://docs.microsoft.com/azure/log-analytics/query-language/get-started-analytics-portal

Thanks.. I got it now

@balait01 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[incubator/kafka] Allow configurationOverride of zookeeper.connect

This PR allows use of zookeeper.connect at configurationOverrides.  It is backwards compatible with the zookeeper url+port method of setting zookeeper.connect.  This override is believed necessary because the Zookeeper connect string is more complex than just url and port.

/assign @viglesiasce
cc @benjigoldberg

@josdotso looks great! LGTM

/ok-to-test

@benjigoldberg would you mind if I added you to the OWNERS file so that you can merge these PRs on your own moving forward?

@viglesiasce No problem! Would love to help out.

/lgtm


Adding a new chain

hey there, opening this issue to get clarity on how/if we add chains to the native support of cosmos/snap?
Noticing that in the packages/ui/src/apis.json, all rpc's & lcd are from numia.xyz

hello team, please Celestia network is not loading after following the steps on the mystic lab website. Could it be needing an upgrade? Thanks

Hello friends. Please add Celestia to your wallet.

Hello friends. Please add Celestia to your wallet.

Done already!


Objectify the web element and format codes

Updates to format codes so that it has more readable and make some changes to keep it working.

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

Could you provide more details about this PR?


Allow babel options

Babel has a lot of options. Options such as stage are critical for making learning examples. Configuration could be passed in a form of a comment at a beginning of the babel script:
// <namespace> <JSON configuration>

e.g.
// babel {"stage": 1}

I agree we need a way of getting options in. I'm not sure comments in the JavaScript is the right way to do this.
I feel like it needs to be part of the UI somehow...


Audio doesn't play on iPhone in silent mode

Describe the bug
If the silent mode switch is turned on on iPhone, the audio doesn't play. It seems to be playing as a device sound rather than music, etc.
To Reproduce
Use a PlayerController and AudioFileWaveforms to play an audio file on an iPhone. No audio is played. This bug does not show up on the simulator.
Expected behavior
Audio should be played even in silent mode, just like a music app or audio from the browser.
Smartphone (please complete the following information):
Have tested on iPhone 12 and iPhone 13 on latest iOS

For anyone else with this problem, the audio_session package allows you to designate how audio should be played and solve this problem. Other audio packages have parameters for this so an additional package is not necessary.

@coryswainston Thank you for raising this issue. Yes, we observed the same behaviour and found a solution same as you mentioned. Yet this package is more focused on waveforms than the managing audio focus, so we do not have a plan for adding this to the package. Also I think #112 can also be resolved by this.

I'm going to close this as unplanned but if you have more suggestions on this then we can discuss more on this.

Pinning this issue so that others can find this easily.

@venkatd you can fix this by using audio_session package. Check its docs to set correct session

@TNelen hey, did you just change the file extension or also changed the codec?


Minor typo fix in install-rpm page

Found and fixed a minor typo on the install-rpm page.

@PauliusGedrikas Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@PauliusGedrikas Thank you for signing the Contributor License Agreement!

Thank you!


[Improvement] Support to show more engine submission failure error for issue tracking

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
Current Kyuubi can recognize the exception information when starting the Engine and return the last Error. However, sometimes the last exception is not the root cause of the Engine start-up. Usually, we need multiple exceptions to determine the fundamental reason for the failure of the engine's launch. Is it possible to return the last several exceptions to better support issue tracking when the engine fails to start? This is an error log from a Spark engine start-up. Kyuubi recognized the exception but was unable to capture the fundamental cause of the engine's failure to start.
Caused by: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
 See more: /xxxxxxxxx/kyuubi-spark-sql-engine.log.52
	at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69)
	at org.apache.kyuubi.engine.ProcBuilder.$anonfun$start$1(ProcBuilder.scala:142)
	... 1 more

The root cause log of failure is as follows:
23/09/18 09:21:57 INFO SparkContext: Successfully stopped SparkContext
23/09/18 09:21:57 ERROR SparkSQLEngine: Failed to instantiate SparkSession: requirement failed: initial executor number 501 must between min executor number 0 and max executor number 500
java.lang.IllegalArgumentException: requirement failed: initial executor number 501 must between min executor number 0 and max executor number 500

How should we improve?
We could enhance our issue tracking process by defaulting to return multiple exceptions and including the appId in our log entries.
Are you willing to submit PR?

[X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

Specific to engine bootstrap, have you tried to use Kyuubi Beeline? It can retrieve all logs of the engine bootstrap.

Specific to engine bootstrap, have you tried to use Kyuubi Beeline? It can retrieve all logs during the engine bootstrap phase.

Is there any specific setting that needs to be added? Under default settings, the error reported is basically the same when I test the same failure reason using beeline.
Error opening session for xxx client ip xxxx, due to org.apache.kyuubi.KyuubiSQLException: Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
 See more: /xxxxxxx/kyuubi-spark-sql-engine.log.273 Retrying 0 of 1

Emm, seems we are talking different things, I know what you mean now, and I agree with you that there is room to improve the error message extraction. But maybe we can improve the extracting rule rather than roughly extracting more stacktrace

Maybe we can recognize and eliminate some helpless tailing stacktrace, the root cause could be exposed then.

Maybe we can recognize and eliminate some helpless tailing stacktrace, the root cause could be exposed then.

Eliminate helpless tailing stacktrace is a good idea, I will give it a try.


Fix: Distance Rate added offline seen grayed out going online then back offline

Explanation of Change

Fixed Issues

$ https://github.com/Expensify/App/issues/51426
PROPOSAL: https://github.com/Expensify/App/issues/51426#issuecomment-2480534335
Tests

Precondition: Create Woekspace with Enabled Distance rate feature

Open the ND app
Go to Settings >> Workspaces >> Workspace >> Distance rates
Create a new distance rate
Go offline
Add another new rate
Delete one of the distance rate which was added previously (the rate added online in precondition)
Go online (Note: New rate gets bolded (active state) & other rate gets deleted)
Go back offline
Verify the new rate (added offline) which is active/bolded after going back online should stay bolded after user go offline again

[x] Verify that no errors appear in the JS console

Offline tests

Same as test
QA Steps

Same as test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/0118b927-06db-4d7e-ae4f-ace20e2deac6

Android: mWeb Chrome
https://github.com/user-attachments/assets/2307dd13-0db5-48d0-9a76-9f8f85eba539

iOS: Native
https://github.com/user-attachments/assets/0ccb8525-cb49-4ce5-9ac7-31afa2429832

iOS: mWeb Safari
https://github.com/user-attachments/assets/c358d032-2115-4c86-a242-3a2f05344948

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/3bddf725-cf49-4f97-9669-c247355b02ce

MacOS: Desktop
https://github.com/user-attachments/assets/5dd36b34-4e2f-4d4e-9906-82e19c2f5636

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Add high security option which is required for accounts which have enabled that.

The plugin will not work on accounts which have enabled high security without this patch.

Hi @jorhett,
would you mind adding the attribute to the default.rb attributes file?
Any chance you could add in this option for the other agent recipes as well?
Thanks in advance!
Kind regards,
David

The change was written for default behavior with an undefined attribute. Adding it to attributes will guarantee it's written out in the config file, rather than leaving the value commented out -- which is how the configs ship.

Thanks for your contribution @jorhett!
Kind regards,
David