Language detection does not work correctly

Hi everyone,
The code for getInitialLanguage() does not seem to be working correctly across platforms.
On macOS, it automatically sets Syncplay to English even though my system language is German. Python’s locale.getdefaultlocale() returns ('en_GB', 'UTF-8'). After a bit of searching it seems like unfortunately, there is no straightforward cross-platform way to get the system language in Python.
Is this working correctly for users on other platforms or other macOS users?

It's a shame it doesn't work, but not sure if there is a fix other than manually setting the language, e.g by following the guidance at https://syncplay.pl/guide/client/ and:

Clicking the "Show more settings" checkbox in the configuration window, then going to "Messages", then selecting Language -> Deutsch.
Running Syncplay with the --language de command line switch

@vaviary What result do you get from locale.getpreferredencoding() on macOS?

 Launching Python in Terminal.app without a shell it returns the following:
>>> locale.getpreferredencoding()
'UTF-8'
>>> locale.getdefaultlocale()
('de_DE', 'UTF-8')

Where does Syncplay get its locale from, then?

I don't know as I don't use macOS. Are you using the AppImage available from https://github.com/Syncplay/syncplay/releases/download/v1.6.4a/Syncplay_1.6.4a.dmg and/or the slightly more recent experimental one available from https://bintray.com/syncplay/Syncplay/download_file?file_path=Syncplay-1.6.5-x86_64.AppImage ? Is there a difference between the two?

I’m using the latest GitHub release as installed by Homebrew, so version 1.6.4a.
I went ahead and downloaded the 1.6.5 .dmg from Bintray (I think you accidentally linked to the AppImage). Unfortunately, it still detects English as the system language.

Interesting... Which version of macOS do you have? Can you make a screenshot of the Language & Region settings in System Preferences? I am interested in what languages are listed there and in which order. Thank you.

I’m using macOS Catalina 10.15.3 and here’s a screenshot of the language settings menu:

German is the primary language on the left (“Primär”).

Would just like to add that this appears as an issue in the "inverse" - the language will be set to German on a Mac with English set as the default language.

Hi, I would like to mention that even I am facing this issue but in my case, the language displayed to me is Russian. My default language is English but I have no clue how this is happening. In addition to this, I am unable to add a server password in the password field in the gui config panel.
I tried running Syncplay from the cli using the -g argument that forcefully brings up the gui.  This allows me to modify the password field (only in this session) but the on-screen language for the Mac OS folders is still Russian.
I installed Syncplay using brew cask install syncplay and am running it on MacOS Catalina.
Apart from this, I have been facing a few more issues and if possible, would like to create another discussion thread for them.
I would be glad to furnish any more information that would be required.
Thanks in advance.

@v-ji I just reproduced the issue in my local testing virtual machine. I will try to investigate it as soon as I can.
@JBeckwith @pratyushmanocha I think we are mixing different issues here. The original issue is that the GUI is displayed in English even though the System language is set to a different, supported one (e.g. German). If you are experiencing other bugs, please open new issues in the tracker. Please note that a language issue has been solved in the unreleased 1.6.5 version linked above (https://bintray.com/syncplay/Syncplay/download_file?file_path=Syncplay_1.6.5.dmg). I would encourage you to test it before opening a new issue.

Hello @v-ji, I just prepared a build with a fix for this issue in my fork. Could you download this version from https://bintray.com/alby128/Syncplay/download_file?file_path=Syncplay_1.6.5.dmg and test in on your system? Please, let me know if the correct language is shown when you use this build.

I just tested it and it works flawlessly!


Request Scrutinizer data security audit tracking

The Scrutiziner team released a data security tool a few days ago that allows auto-auditing of user data:
https://scrutinizer-ci.com/blog/performing-security-audit-of-request-data-for-php-applications
Toward the bottom they mention that they would be happy to add additional "request data abstraction" systems.  Someone in the Laravel community has already filed a request here: https://github.com/scrutinizer-ci/php-analyzer/issues/457
Could we open a request for Yii2 as well?  I'm not that familiar with the Yii2 Request system yet, so thought it might be better to have a Yii core developer open the issue instead ...

How do we look at this topic now after 2 years? Is it useful & implementable?

I've requested it from them. No need to track it via ticket.


[Bug] Polish translation in app - minor issues

Describe the bug
There are some missing or wrong Polish translations in the app.

Scenario

During the scenario download the text is wrong, it should be "Pobieranie pakietu..."
On the scenario selection screen there are some missing translations:
a) Average duration -> Średni czas trwania
b) Average win ratio -> Średnia ilość wygranych
c) xxx user reviews -> xxx ocen graczy

Screenshots

Valkyrie Version
2.5.1

Desktop

OS: Windows 10
Browser: Chrome

Some of this is addressed in PR https://github.com/NPBruce/valkyrie/pull/1427
Maybe we should consolidate the effort?

Some of this is addressed in PR https://github.com/NPBruce/valkyrie/pull/1427
Maybe we should consolidate the effort?

Sure, we can consolidate :)

Sure, we can consolidate :)


Mattermost Bot doesnt find givin team

Traceback (most recent call last):                                                                                │    },   File "run.py", line 4, in <module>                                                                                │    "WebrtcSettings": {     Bot().run()                                                                                │        "Enable": false,   File "/home/mk0307/.local/lib/python3.5/site-packages/mattermost_bot/bot.py", line 27, in __init__                                                                                │        "GatewayWebsocketUrl": "",     settings.SSL_VERIFY                                                                                │        "GatewayAdminUrl": "",   File "/home/mk0307/.local/lib/python3.5/site-packages/mattermost_bot/mattermost.py", line 154, in __init__                                                                         │        "GatewayAdminSecret": "",     self.login(team, email, password)                                                                                │        "StunURI": "",   File "/home/mk0307/.local/lib/python3.5/site-packages/mattermost_bot/mattermost.py", line 158, in login                                                                            │        "TurnURI": "",     self.user = self.api.login(team, email, password)                                                                                │        "TurnUsername": "",   File "/home/mk0307/.local/lib/python3.5/site-packages/mattermost_bot/mattermost.py", line 48, in login                                                                             │        "TurnSharedKey": ""     self.load_initial_data()                                                                                │    }   File "/home/mk0307/.local/lib/python3.5/site-packages/mattermost_bot/mattermost.py", line 55, in load_initial_data                                                                 │}root@git:~/mattermost/config#     self.team_id = self.initial['teams'][0]['id']                                                                                │root@git:~/mattermost/config#  KeyError: 'teams'
I know for a fact that the right name convention is used in settings.py

Hey Annihilator708, We are trying to get Mattermost_bot setup on our system. any pointers?

@eyebank Fortunately... sorry.
We upgraded to mattermost 4.3 and using the curl command now instead of a python script. I build my own wrapper around it. I'm so sorry but I keep this wrapper private for now. The curl command I use with the correct webhook goes like this:
os.popen('curl -i -X POST -d \'payload={"text": "Connection re-established!"}\' %s' % (bot_url)).read()

Where bot_url is the webhook link. os.popen may not be the best solution but it works for me


nrf-builder does not work with path patch dependencies

For some reason the gen-command-bd started failing because from the nrf-builder directory the relative path to a patch dependency is invalid. Not sure why it stopped working only now?
https://github.com/Nitrokey/nitrokey-3-firmware/blob/7b12be5cc393a52c810056087c9d6b0ee1262c94/utils/nrf-builder/Makefile#L29

Probably caused by the introduction of the nkpk runner (https://github.com/Nitrokey/nitrokey-3-firmware/commit/a2639f0449d2ecd7db97dfccf70c83fce5c7ae4) because we now parse the Cargo manifest of the runner to determine the version instead of just depending on the utils component.

I found the issue. Instead of using ../.., nrf-builder uses a soft link to ../.. in utils/nrf-builder/nk3-fw, this causes gen-command-bd to run with the root being nitrokey-3-firmware/utils/nrf-builder/nk3-fw, so it tries to look for the relative patch path from there instead of from nitrokey-3-firmware.


Allow setting className for checklist in theme

Right now there's no easy way to style the list element of a checklist specifically since it uses the same className as a ul and doesn't have something like a data attribute that could be used as a selector. This PR allows setting a className to a checklist specifically.

Oh no, not sure how this happened

@zurfyx Tests should be good now. The ones that have failed seem to be unrelated to the changes of this PR. Could you take a look?

@zurfyx Tests should be good now. The ones that have failed seem to be unrelated to the changes of this PR. Could you take a look?

You're right, main branch is failing :X


Fix generate map method when values contains $ symbol

Fixed #147

@melix Hi! This is th same proble as here #174, but for map methods

@melix Could youu tell when you planning release these fixes? Want to use yaml optimizer, but can't because of these bugs :-(

I can perform a release this week.

@altro3 would you mind fixing the failing test (expectation is wrong after merging your other PR)

@melix yeah, sure

@melix done


Change default hydrogen mass to 3.0 amu

Fixes #181
This will change defaujlt settings in downstream protocols, so pinging @ijpulidos and @dotsdl too.

An unreasonable amount of jobs failed in the initial alchemiscale hydration free energy run - it is very likely that this is the source of current problems.


Please add member to team

Hello! Could you please add https://github.com/strugee to the OSUOSL Cookbooks SeaGL team https://github.com/orgs/osuosl-cookbooks/teams/seagl

Done!

Thank you!


Use <IP_ADDRESS> instead of localhost

Usually mistral binds to <IP_ADDRESS> and localhost may not
re-direct to <IP_ADDRESS> therefore safer to use <IP_ADDRESS>.

+1


Things to do for 1.0

[x] Restructure stat to be a sub command of each Stat instead of the other way around
[ ] Autocomplete
[x] Display recorded time in user timezone
[x] Add at least "last" query to all stats

Won't do Autocomplete. Not worth it to me rn.


Update path-segregated-uri-generation.md

Fixed a couple of typos

[x] Is this related to documentation?

Thanks, @marcguyer! :octocat: Sent from GH.


Bug: issue installing blade-icons on staging

Terms

[X] I have read the guidelines for Contributing to Roots Projects
[X] This request is not a duplicate of an existing issue
[X] I have read the docs and followed them (if applicable)
[X] I have seached the Roots Discourse for answers and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse community

Description
What's wrong?
Installing balde-icons breaks staging env
What have you tried?
Reinstalling acorn, reprovision, redploying, reinstalling blade-icons
Steps To Reproduce

Follow steps to install blade-icons as per sage docs (I installed inside bedrock where Acorn (2.1.2) is installed) -> provision staging (local and staging are both on php 8.1 in case it's relevant)
Provision fails (log attached)
SSH into staging try manual composer install -> breaks env until blade-icons are removed

Expected Behavior
As on local with no issues
Actual Behavior
Staging gets broken with no possibility to redeploy or wp @staging acorn commands until blade-icons are removed.
Relevant Log Output
Fatal error: Uncaught Dotenv\Exception\InvalidPathException: Unable to read any of the environment file(s) at [/srv/www/the-test.com/releases/20220908144855/.env]. in /srv/www/the-test.com/releases/20220908144855/vendor/vlucas/phpdotenv/src/Store/FileStore.php:68
Stack trace:
#0 /srv/www/the-test.com/releases/20220908144855/vendor/vlucas/phpdotenv/src/Dotenv.php(222): Dotenv\Store\FileStore->read()
#1 /srv/www/the-test.com/releases/20220908144855/config/application.php(38): Dotenv\Dotenv->load()
#2 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1277) : eval()'d code(7): require_once('/srv/www/the-te...')
#3 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1277): eval()
#4 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress()
#5 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#6 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#8 phar:///usr/bin/wp/php/boot-phar.php(11): include('phar:///usr/bin...')
#9 /usr/bin/wp(4): include('phar:///usr/bin...')
#10 {main}
  thrown in /srv/www/the-test.com/releases/20220908144855/vendor/vlucas/phpdotenv/src/Store/FileStore.php on line 68

Versions
10.2.0

Howdy! This issue tracker is meant for bug reports and not support requests. Please head on over to https://discourse.roots.io/ and make a topic for support.
FWIW, we have no issues using the blade-icons package on any environment, including https://roots.io/


List Team Members on Scoreboard

The scoreboard should have the option to list the members of a team right on the scoreboard. Special care will need to be taken so that individuals are not listed twice.

What is the case where individuals are listed twice? When the team name is the same as one of the participants?

Yes, "individuals" are really teams consisting of one person with the team name the same as the display name.

What should we do if, for example, there is a team named "Bob" with Adam, Bob, and Charlie as Members? Should we display Bob as a member in this case?

That seems appropriate to me. The only time we should hide member(s) is if there's one person on the team, and the team name is the same as the only member.
Btw, are you planning on working on this? If so, go ahead and assign yourself so someone else doesn't start working on it too.

Sure, I will take a gander at it!

As Brandon said, yes.
Currently, we're making the assumption that if a user is the only user on their team and that team name has the same name as their display name, then it's an individual. The API is actually not even concerned with individual teams. Check out the output if you go to /api/competitions/11/teams. You will notice that all teams are listed and contain an array of their members. The client is actually what determines whether or not a team is an individual or a team. A true team is one that has multiple members, so we should display what those members are.
The reasoning for the fake "team" to accommodate an individual is due to the database design. We could open an issue to redesign the database; it would not be a bad one, as I think there are several areas where we could improve, but it would be a fairly lengthy task.

Right now, it appears as though the /api/competitions/<competition_id>/teams endpoint is never called, and that the teams are returned in the /api/competitions/<competition_id> endpoint. Is there a reason for this? If not, would it be a good idea to make the /api/competitions/<competition_id> no longer return a list of teams? Or, would it be better to integrate the data returned by the /teams endpoint into the generic competition endpoint?

The /api/competitions/<cid>/teams endpoint is called. Yes, it does seem like a duplication of work at first glance, but it's actually not. Calling /api/competitions/<cid> should return all necessary information about a competition to display it to the user in a scoreboard format. However, this information is not all needed for the team-editing page, but it's also not necessarily there when a user loads the team-editing page. For that, we need a way to get all of the teams for the competition, which is why /api/competitions/<cid>/teams exists. They both serve discrete purposes. I don't see a reason or need to modify them as they currently stand.

Ok. That makes sense. However, /api/competitions/<cid> currently does not include information about team member's display names. Would it be better to add this information to that api call, or to simply call api/competitions/<cid> and api/competitions/<cid>/teams in order for the scoreboard controller to get the display names?

It would be better to add the information in the /api/competitions/<cid> call. Since that call should contain the necessary information to set up a scoreboard, it needs to contain display names as well, so I'd change it so that instead of containing a list of usernames that are on each team, make it contain a list of objects that contain username and display name for each user on the team.


Big thanks for making this!

I want to understand what needs to go in the following items on the config? Are they supposed to be templates ids on brevo?
order: {
placed: process.env.BREVO_ORDER_PLACED || null,
canceled: process.env.BREVO_ORDER_CANCELED || null,
shipment_created: process.env.BREVO_ORDER_SHIPMENT_CREATED || null,
},
customer: {
created: process.env.BREVO_CUSTOMER_CREATED || null,
password_reset: process.env.BREVO_CUSTOMER_PASSWORD_RESET || null,
},
user: {
created: process.env.BREVO_USER_CREATED || null,
password_reset: process.env.BREVO_USER_PASSWORD_RESET || null,
},
auth: {
password_reset: process.env.BREVO_AUTH_PASSWORD_RESET || null,
verify_account: process.env.BREVO_AUTH_VERIFY_ACCOUNT || null,
},
activity: {
inactive_user: process.env.BREVO_ACTIVITY_INACTIVE_USER || null,
inactive_customer:
process.env.BREVO_ACTIVITY_INACTIVE_CUSTOMER || null,
},

Yes it should be Brevo Template ID. For example in your env
BREVO_ORDER_PLACED=123


Not seeing any polyfill functionality in Safari 11.0.3

I have included the following markup in <head>:
<script>
        // Picture element HTML5 shiv
      document.createElement( "picture" );
</script>
<script src="vendors/picturefill.min.js" async></script>

And I have the following syntax for images in <body>:
<picture>
    <source class="logo" srcset="#filepath-here.webp"  alt="Alt tag description filled out" />
    <source class="logo" srcset="#filepath-here.png"  alt="Alt tag description filled out" />
    <img class="logo" srcset="#filepath-here.png" alt="Alt tag description filled out" />
</picture>

With that markup, all of the images are still broken in Safari. No console errors. Script loads fine in the browser.  I've also alternatively tried using src="" instead of srcset="" for the fallback <img> but still experiencing broken images there.

I just added type="image/webp" to the first webp source and the polyfill works.


feat: add back pam-authramp

thanks again @34N0 for all your hard work on this

:-)!
fyi the countdown setting will cause a bad SDDM user experience. i suggest only setting it to true for GDM!

@34N0 good to know, thanks
So for SDDM, what is the expected experience like? Will SDDM prevent user input but with no message indicating when it will be unlocked?

also @34N0, everything in the commented example is the default value, right?

@34N0 good to know, thanks
So for SDDM, what is the expected experience like? Will SDDM prevent user input but with no message indicating when it will be unlocked?

i think it's simply failing the login. it's how SDDM handles PAM so it's actually the same with all PAM modules. so not an improvment over faillock but not worse.

also @34N0, everything in the commented example is the default value, right?

yes

@34N0 makes sense, this is going into staging after all so I'll check for myself :smile:

@34N0 how does this look now? please approve once it looks good

@34N0 how does this look now? please approve once it looks good

if you're open to different configurations for different display managers i would suggest setting countdown to true for GDM. I am looking forward to test this as well and maybe check different configurations.


Chameleon Shorthand in Swift

Is it possible to use the chameleon shorthand in Swift? It doesn't seem to be autocompleting in Xcode.
I installed the latest version using CocoaPods and added Chameleon/Chameleon.h to my bridging header.

Supp @imdevin567
Unfortunately, Objective-C macros don't really have a counterpart in Swift. Instead, Apple recommends using global constants in place of simple macros and functions and generics for more complicated stuff. In our case, the best thing would be to use a combination of global constants and functions.
I've been pretty busy these past few weeks to dwell too deeply into Swift (or for that matter convert Chameleon over to swift). However if you want, I could add an optional Constants.swift file to the project in the next week or so. What do you think? If you rather not wait, here's a quick way to get started.
You can create a Constants.swift file and convert all the macros that take in an input(s) to swift functions. Here's an example:
Objective-C:
#define rgb(r,g,b) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:1.0]

Swift:
func rgb(r:CGFloat, g:CGFloat, b:CGFloat) -> UIColor {
    return UIColor(red:r/255.0, green:g/255.0, blue:b/255.0, alpha: 1.0)
}

From the usage side of things, they both look pretty identical.
Objective-C:
self.view.backgroundColor = rgb(165, 198, 59);

Swift:
view.backgroundColor = rgb(165, 198, 59)

You can then convert the rest of the macros, such as FlatLime, to global constants:
Objective-C:
#define FlatLime rgb(165, 198, 59)

Swift:
let FlatLime = rgb(165, 198, 59)

Same as before, usage is pretty much the same.
Objective-C:
self.view.backgroundColor = FlatLime;

Swift:
view.backgroundColor = FlatLime

Let me know if this helps. :sunglasses:


Tab Plugin should have default behaviour if a target is not specified [enhancement]

The following code would allow tabs to function without selectors providing they are wrapped either within a [role=tabpanel] or a [role=tabcontainer]. The default behaviour would pair the index [role="tab"] to [role="tabpanel"].
This allows for deep nesting tabs without specifying #ids or .classes.
If a tab is required to perform something other than the default pairing then a selector can be specified.
If multiple matching targets are found then the selector is looked for within the context of the wrapper.
If at this point more that one matching targets are found then it selects the target which has the same  [role="tabpanel"] index as the [role="tab"] if it exists.
Otherwise the $target does not change and the script continues as normal.
The JavaScript is probably the best approach for best performance, I has many nested if, else's which may look untidy but makes sure no unnecessary methods are called.
I recommend looking/testing the demo
See the Pen Bootstrap tab.js (working nested tabs without using selectors) by Tarran Jones (@tarranjones) on CodePen.

// changes
if ($target.length != 1) {
	var container = '[role="tabpanel"],[role="tabcontainer"]'
	var $context = $this.closest(container);
	if ($context.length) {
		if ($target.length > 1) {
			$target_idx = $context.find(selector).filter(':eq(' + $this.parent().index() + ')')
		} else {
			$target_idx = $context.find(container).filter(function(i, el) {
				var $closest = $(el).parent().closest(container, $context);
				return !$closest.length || $context.is($closest);
			}).eq($this.parent().index());
		}
		if ($target_idx.length) $target = $target_idx
	}
}

Hi @dtjones!
You appear to have posted a live example (http://codepen.io/tarranjones/pen/avMKgM.html), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 8, column 1 thru column 43: Bad value tabcontainer for attribute role on element div.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

unfortunately tabcontainer and tabgroup do not validate as html5 role values so have changed it to group http://www.w3.org/wiki/PF/XTech/HTML5/RoleAttribute

The following code would allow tabs to function without selectors providing they are wrapped either within a [role=tabpanel] or a [role=group]. The default behaviour would pair the index [role="tab"] to [role="tabpanel"].
This allows for deep nesting tabs without specifying #ids or .classes.
If a tab is required to perform something other than the default pairing then a selector can be specified.
If multiple matching targets are found then the selector is looked for within the context of the wrapper.
If at this point more that one matching targets are found then it selects the target which has the same  [role="tabpanel"] index as the [role="tab"] if it exists.
Otherwise the $target does not change and the script continues as normal.
The JavaScript is probably the best approach for best performance, I has many nested if, else's which may look untidy but makes sure no unnecessary methods are called.
I recommend looking/testing the demo
See the Pen Bootstrap tab.js (working nested tabs without using selectors) by Tarran Jones (@tarranjones) on CodePen.

// changes
if ($target.length != 1) {
	var container = '[role="tabpanel"],[role="group"]'
	var $context = $this.closest(container);
	if ($context.length) {
		if ($target.length > 1) {
			$target_idx = $context.find(selector).filter(':eq(' + $this.parent().index() + ')')
		} else {
			$target_idx = $context.find(container).filter(function(i, el) {
				var $closest = $(el).parent().closest(container, $context);
				return !$closest.length || $context.is($closest);
			}).eq($this.parent().index());
		}
		if ($target_idx.length) $target = $target_idx
	}
}

Hi @dtjones!
You appear to have posted a live example (http://codepen.io/tarranjones/pen/avMKgM.html), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 1709, column 1: W013: Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

@twbs-lmvtfy, i know your a bot but it would be brilliant if you gave me all the errors at once

http://codepen.io/tarranjones/pen/avMKgM

See the Pen Bootstrap tab.js (working nested tabs without using selectors) by Tarran Jones (@tarranjones) on CodePen.

@twbs-lmvtfy, i know your a bot but it would be brilliant if you gave me all the errors at once

Suffice it to say that Bootlinting only known-valid HTML avoids false positives (which would be more annoying) and we lack funding for a fancier option which would require the bot to assess the severity of the HTML validity errors.

@patrickhlauke Would the lack of aria-controls attributes render the example inaccessible?

One issue created by not having aria-controls is that it breaks functionality in certain AT (e.g. JAWS) that let the user jump directly to whatever content/element the currently focused widget is controlling (e.g. in JAWS you can use JAWS KEY+ALT+M to jump directly to the relevant tab panel). I'd be more comfortable if - in case an proper id/aria-controls pairing is missing - one was generated dynamically via JS)

Punting on this and opting for explicit behavior instead.


chore: update API report on pre-commit

Closes #288
Checklist

[ ] This PR makes changes to the public API
[x] I have included links for closing relevant issue numbers

nice work


WAC AAD Integration failed with error

Hi,
everytime I try to integrate WAC to AAD it fail with error Couldn´t query user access information. As result I´m not able to acces WAC anymore because I don´t have acces. I´m admin on AAD, I granted consent in api so I don´t know where is problem. After this issue I reinstalled whole WAC and tried it again and again with few changes but nothing helps.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Remove six from dependencies.

anyone knows why CI isn't running for this PR?
I couldn't invoke the tests locally

LGTM in general, except the minor changes (indentation etc.) which are unrelated to the core changes and might hinder future reviews (e.g. git blame). I'd suggest separating those to an independent commit, to be pushed after the approval.

@elazarg Thank you for the great review!
@isavion please perform the changes as Elazar requested

And of course - @idosavion great work!

enum34 can probably also be removed.

LGTM in general, except the minor changes (indentation etc.) which are unrelated to the core changes and might hinder future reviews (e.g. git blame). I'd suggest separating those to an independent commit, to be pushed after the approval.
@elazarg Great point!
Fixed required changes.

@idosavion tests are not passing - please recheck pr

fixed

Some tests still use six. For example test_flask.py

@isavion please create a new PR replacing the rest of the six dependencies in:
anyway/parsers/cbs.py
anyway/flask_app.py


[Question] Change filter icon

Is there a way to change the filter icon from a search icon?

Yes, redefine css for .jsgrid-search-button class.

Thank you


Create dominic test new file .txt

desc of file
Description
Hier wäre Beschreibung.

Include a summary of the change.
Include relevant motivation and context.
List any dependencies that are required for this change.
Tag any issue that is related to this change, if applicable.

Type of Change
Please delete options that are not relevant.

[ ] Typo fix (Changes that fix spelling errors)
[x] Minor feature (Small changes to slides or other files)
[ ] Major feature (New files or assets, large changes to files)

Checklist:

[x] I have performed a self-review of my own changes
[ ] I have assigned at least one reviewer

WORKS?

does it make sense working here?

here dont work anymore


Make LBRY.fund Terms Of Use

lbry.fund currently has Terms of Use link on he footer but if i click this link it will going to the top page. would be nice if have this page..

@jsigwart Do we have a terms page for fund?

This is part of the same issue as on lbry.io: https://github.com/lbryio/lbry.io/issues/430 https://github.com/lbryio/lbry.io/issues/369

closed for issues on lbryio #430 and #369


Failed type inference from async closure

Here is the {unknown} detected:

It comes from one statement earlier after async closure call:

Ohh my fault. into() call was to unknown type... Not rust-analyser issue. Sorry


Fix/set jsx value at path dedupe key

Problem:
In ECMAScript 6 (even in strict mode!) the user is not forbidden from writing weird objects with duplicated properties, such as:
{
  paddingLeft: 5,
  padding: 10,
  paddingLeft: 15,
  paddingLeft: 100,
}

🙀
The way Chrome and Safari and Node.js resolves the value of this object is not immediately intuitive:
{
  paddingLeft: 100,
  padding: 10,
}

the value of the last property wins, but the property will be placed at the first position the browser encounters it in the object literal.
Without reading too much about the reasons, I think we can find an explanation in our jsxAttributesToProps code:
  let result: any = {}
  for (const entry of attributes) {
    result[entry.key] = jsxAttributeToValue(inScope, requireResult, entry.value)
  }
  return result

here you can see that as we iterate over the entries of an object, we create a property for key and then we assign a value to it. we then keep assigning newer values to it in case of duplicated property keys.
This entire edge case behavior is made very prominent by the fact that longhand and shorthand style properties shadow each other depending on property order: { paddingLeft: 100, padding: 10, } and { padding: 10,  paddingLeft: 100, } have different meanings....
Commit Details:

We accidentally nailed the correct JS behavior here, so I added a test to make sure we don't change it in the future.
Furthermore, updating a property using setJSXValueAtPath, we make sure that we only update the first time we encounter a property, and delete the duplicates.
I've also added tests for this

Well this is fantastic news for object spreads then :upside_down_face:


7.50 syntax check - dereferencing a reference in a method call on 7.50 not found

On ABAP Dev 2022 this works fine:
DATA foo TYPE REF TO data.
my_object->meth( foo->* ).

But it is not found when abaplint checks for 7.50 syntax:
https://github.com/abap2UI5/abap2UI5/issues/1168

do you know from which ABAP version this is allowed?

unfortunately not exactly, switched from ABAP Dev Edition 7.52 (there it does not work) to ABAP Cloud 2022 (there it works), so somewhere in between this two releases.
maybe we can make it more exact:
https://github.com/abap2UI5/abap2UI5/issues/1168

on 7.52 it doesnt work

https://github.com/abap2UI5/abap2UI5/pull/1246

https://github.com/abapGit/abapGit/pull/6984

I think this is it:
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abennews-756-dref.htm

merged, closing

Nice, thank you! Now is working with abap dev 2022 edition even more fun :)


🐛 [firebase-auth] Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

Bug report
I am developing a mobile app using flutter. However, when I run the app, I get an error saying "Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()" The condition of this error occurs only when the app is deployed as aab or when the app is deployed as testflight. If you build with Android Studio, it doesn't happen at all. And it only happens when I distribute it on my PC, but it doesn't happen when I distribute it on my colleague's PC. Of course, I'm doing Firebase.initializeApp().

I've already checked everything you said. I thought my local repository setting might be a problem, so I received the project file from a PC from a colleague who was working normally and distributed it, but the same error occurred.

@kimcumjee
Can you provide how are you configuring / initializing firebase app ? A minimal code sample would be helpful.
Also try by flutterfire update and thenflutterfire configure to reconfigure with your existing firebase app to see if it helps or not.

`WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
  FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);

  if (PlatformInfo.isAndroid) {
    await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true);
  }

  const String env = String.fromEnvironment('ENV');

  // 빌드 옵션으로 추가한 env 파일을 로드한다.
  await dotenv.load(fileName: 'assets/env/$env.env');

  FlutterError.onError = (errorDetails) {
    FirebaseCrashlytics.instance.recordFlutterError(errorDetails);
  };

  PlatformDispatcher.instance.onError = (error, stack) {
    // If you wish to record a "non-fatal" exception, please remove the "fatal" parameter
    FirebaseCrashlytics.instance.recordError(error, stack, fatal: true);
    return true;
  };

  // 유저 agent를 가져오는 library init
  await FkUserAgent.init();

  // Firebase Core Init
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);`

  After all of this, runApp is called. And I tried flutterfire update and flutterfire configure beforehand, but still get errors.

  After all of this, runApp is called. And I tried flutterfire update and flutterfire configure beforehand, but still get errors.

@kimcumjee
Check the firebase_auth plugin example and how it is using the initializeApp() method and check if it helps in your case.
https://github.com/firebase/flutterfire/blob/67b051fda24d4e7f50023a24001bdc6b0cc7f7bf/packages/firebase_auth/firebase_auth/example/lib/main.dart#L22

[GoogleAccountDataServiceImpl] GetToken() -> BAD_AUTHENTICATION. Is it related?

This happened to me using the flutterfire plugin, the solution was to delete the google-services.json and the GoogleService-Info.plist and re-run the flutterfire configure command, so that it would update the files to the corresponding project.

This method didn't help me 😢

error : E/flutter (  730): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(null-error, Host platform returned null value for non-null return value., null, null)

same happened for me with different flavors implementation

Try this
android>build.gradle
dependencies {
         classpath 'com.android.tools.build:gradle:7.3.1'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
         classpath 'com.google.gms:google-services:4.3.15'
         classpath 'io.fabric.tools:gradle:1.28.0'
     }

Move this line:
// Firebase Core Init
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);

to just after:
WidgetsFlutterBinding.ensureInitialized();

Ensure your google-services.json is located here: android/app/google-services.json. It is picked up by the firebase android sdk.

Hello there, I managed to fix this issue by moving down references to the FirebaseAuth object to my custom FirebaseService and also by removing the name parameter in the initializeApp() options. If it helps:
const String name = 'Blinst!';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  late final FirebaseApp app;
  late final FirebaseAuth auth;
  late final FirebaseFirestore store;

  app = await Firebase.initializeApp(
    name: name, // <- Get rid of this
    options: DefaultFirebaseOptions.currentPlatform,
  );
}


.thead-dark does not work with table-sm

The code below doesn't work.  thead-dark only works with table.
<table class="table-sm">
    <thead class="thead-dark">
        content....
    </thead>
</table>

you must also include the .table class. .table-sm is only a modifier class for .table

Sorry, but we cannot help with how-to or general troubleshooting issues here; only bug reports and feature requests. You'll want to ask around in the official Slack team or Stack Overflow. See our readme for more details.


[GHA] Replace token with CICD app

What changed?
The Github token cannot bypass required pull request, but the Temporal CICD app can, which I've added to the list of allowed users to bypass it.

Why?

How did you test it?

Potential risks

@cretz PR https://github.com/temporalio/api-go/pull/164 didn't work. Replacing with the Temporal CICD app token.


Document / automate build process for Trealla binary

Currently I'm just kind of shoving the modules from lib/ into Trealla and building it. Need to improve this by maybe: automating this process, or including json/toplevel in the main project, or work around this with better consulting.

For now, here's a diff you can apply to Trealla:
https://github.com/trealla-prolog/go/blob/master/lib/shim.diff
I symlink the .pl files in lib/ here to the Trealla library/ folder.


Support wiring in a custom (or non-default) ErrorHandler

See https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/542
Something lile @KafkaConsumerErrorHandler meta-annotated with @Bean.

@garyrussell is this covered by https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/commit/53d32c2332983679eca0699f77468a76461c20fd (sans the convenience of the annotation) ?

Yes; indeed it is.


Which key is the Super key on macOS in your configuration ?

Hello Purcell.
I have to use  ⌘ (Super (Command)) to use a function, but in your configuration. the ⌘ is bind to Alt. So How can I use the ⌘ ?
I am sorry to have brought you so much trouble.
Thank you.

My default config says the following in init-osx-keys.el:
  (setq mac-command-modifier 'meta)
  (setq mac-option-modifier 'none)

If you would like either Option or Command to work as Super, then you can change one of the above variables to 'super.

Thanks


Recommended Elastic Search container not available

Expected behavior
Install Elastic Search container
Actual behavior

Information about the Issue
Steps to reproduce the behavior

Click "+ New" button
Seach "elas"
Click "Create" on found Recommended container.

Looks like that repository does not have a :latest tag, so you will have to specify a specific tag to use; here's the steps to do so (steps below are for the elasticsearch image, but the steps are similar for the image you're using):

Click on the ... button to view the image's details

Click on the Selected tag: latest to open the "tag selection" window

Click the tag / version of the image you want to run

Click the (X) to close the tag selector window

Click on the Create button to pull the image and start the container


Does not swipe + length undefined?

I am getting an error located at ListView (at SwipeListView.js:255) stating cannot read property 'length' of undefined.
Also I cannot seem to get swipe working? It just won't swipe. The options show to the left of my cells
<View style={{ marginTop: 10, marginBottom: 100 }}>
          <SwipeListView
            useFlatList={true}
            data={this.state.metaData}
            // extraData={this.state.shouldRender}
            leftOpenValue={75}
            rightOpenValue={-75}
            renderHiddenItem={(data, rowMap) => (
              <View style={styles.rowBack}>
                <Text>Left</Text>
                <Text>Right</Text>
              </View>
            )}
            onRowOpen={(secId, rowId, rowMap) => {
              setTimeout(() => {
                rowMap[`${secId}${rowId}`].closeRow();
              }, 2000);
            }}
            previewFirstRow={true}
            renderItem={({ item, index }) => (
              <TouchableOpacity onPress={() => this.selectResult(index)}>
                {this.showCheckBox(index)}
                <Results result={item} />
              </TouchableOpacity>
            )}
          />
        </View>

This is being rendered inside of a drawer navigator , is that a problem?

Hey @mikeKane do you think you could set up a reproducible example? It'll be tough to figure out what's this without knowing the styles of your components, how you're using the drawer navigator, the data you're passing to the SwipeListView, etc. Thanks!

Closing as inactive

Confirming I have the same issue inside a DrawerNavigator


Update nix to 0.14

This is needed to fix breaking changes in libc on arm and s390x.
See: https://github.com/nix-rust/nix/pull/1055

thanks, I assume you need a new version?

0.2.3 is released

Thanks!


Dashboard: Show log of my company in report

As a user I want to show my company logo in report

Commit: https://github.com/adiralashiva8/robotframework-metrics/commit/436cee78933a39a55d3a9320d5e58921311453c6


[OODT-986]  Add Sample react OODT OPSUI Dashboard

This PR links with the JIRA Issue OODT-986
This PR contains:

Product Listing Component
Sample React based OPSUI Dashboard

@NGimhana Let's get #96 merged first. I assume this PR overlaps with that one. Once that is merged, you can modify (or send a new one) which contains only the Dashboard (React) implementation.

The content in this PR has been moved to separate PRs. (JAXRS implementation - #113  and ReactJS implementations - #112 ) Closing this.


EBNF broken ?

Previous:
Cypher = WS, QueryOptions, Statement, [WS, ';'], WS ;

QueryOptions = { AnyCypherOption, WS } ;

AnyCypherOption = CypherOption
                | Explain
                | Profile
                ;

CypherOption = (C,Y,P,H,E,R), [SP, VersionNumber], { SP, ConfigurationOption } ;

VersionNumber = DigitString, '.', DigitString ;

Explain = E,X,P,L,A,I,N ;

Profile = P,R,O,F,I,L,E ;

ConfigurationOption = SymbolicName, WS, '=', WS, SymbolicName ;

Statement = Command
          | Query
          ;

Query = RegularQuery
      | BulkImportQuery
      ;

...

Current:
Cypher = WS, Statement, [WS, ';'], WS ;

Statement = Query ;

Query = RegularQuery ;
...

Hello @walter-weinmann
This change is intentional. The reason for this is that Cypher as the query language of Neo4j the database has a number of features that we wouldn't like to standardise in openCypher, due to our goal of standardising a more general graph query language. In doing so, we need to remove these features altogether. In your above snippet, EXPLAIN, PROFILE, QueryOptions, etc are examples of Neo4j-specific features, which don't make sense in our view of what the language is supposed to handle.
We do realise that this is inconvenient for tool authors that want to support Cypher as it is used by Neo4j. To accommodate for this use case, you can include the legacy parsing rules in the generated EBNF by supplying a configuration flag to the generating tool. See here for more on that.
All the best
Mats

Hi Mats
I'm only interested in the EBNF file. I'd like to extent my parser to
support both versions of the grammar. Therefore it would be a great help if
you could offer on the README.adoc the optional generation of legacy and
non-legacy output. Otherwise it would mean a a big effort for me to
maintain the whole development environment locally.
Thanks and regards
Walter
On 7 July 2016 at 11:36, Mats Rydberg<EMAIL_ADDRESS>wrote:

Hello @walter-weinmann https://github.com/walter-weinmann
This change is intentional. The reason for this is that Cypher as the
query language of Neo4j the database has a number of features that we
wouldn't like to standardise in openCypher, due to our goal of
standardising a more general graph query language. In doing so, we need to
remove these features altogether. In your above snippet, EXPLAIN, PROFILE,
QueryOptions, etc are examples of Neo4j-specific features, which don't
make sense in our view of what the language is supposed to handle.
We do realise that this is inconvenient for tool authors that want to
support Cypher as it is used by Neo4j. To accommodate for this use case,
you can include the legacy parsing rules in the generated EBNF by supplying
a configuration flag to the generating tool. See here
https://github.com/opencypher/openCypher/tree/master/grammar#legacy-grammar
for more on that.
All the best
Mats
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencypher/openCypher/issues/106#issuecomment-231030678,
or mute the thread
https://github.com/notifications/unsubscribe/AB3ZNX2-HK6Aatwj48V9jrX0rwUe8at9ks5qTMifgaJpZM4JCGLU
.

--

Walter Weinmann

Obertorplatz 4
CH-4130 Rheinfelden
Tel +41 (0)61 841 06 10

Schulstrasse 1
CH-6037 Root
Tel +41 (0)41 530 39 70

Not quite - I'd like to generate the EBNF variations directly from Github -
so I had always the current state of the grammars easily available. In my
understanding, what you suggest requires some local installation on my side.
On 7 July 2016 at 15:38, Mats Rydberg<EMAIL_ADDRESS>wrote:

@walter-weinmann https://github.com/walter-weinmann Sounds good. In the
readme there are already instructions for how to generate both versions. By
default, you're getting the standardised version. If you're supplying the
legacy flag, you'll get the legacy version.
For the ISO EBNF file, that'd be (from the root of the repository, and
given the creation of the grammar/generated directory):
./tools/grammar/src/main/shell/launch.sh ISO14977 --INCLUDE_LEGACY=true cypher.xml > grammar/generated/cypher.ebnf
Isn't that exactly what you were after?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencypher/openCypher/issues/106#issuecomment-231079902,
or mute the thread
https://github.com/notifications/unsubscribe/AB3ZNeRLx6YviuLtdMJWp1z4ibkE9xqAks5qTQFlgaJpZM4JCGLU
.

--

Walter Weinmann

Obertorplatz 4
CH-4130 Rheinfelden
Tel +41 (0)61 841 06 10

Schulstrasse 1
CH-6037 Root
Tel +41 (0)41 530 39 70

But the EBNF file is not stored on GitHub. Are you referring to this file from AWS?

Yes - that's a very convenient way to get the relevant data.
On 7 July 2016 at 15:57, Mats Rydberg<EMAIL_ADDRESS>wrote:

But the EBNF file is not stored on GitHub. Are you referring to this file
https://s3.amazonaws.com/artifacts.opencypher.org/cypher.ebnf from AWS?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencypher/openCypher/issues/106#issuecomment-231085072,
or mute the thread
https://github.com/notifications/unsubscribe/AB3ZNUBQNaNq0-CdhVmPci0haNbKtyP7ks5qTQWwgaJpZM4JCGLU
.

--

Walter Weinmann

Obertorplatz 4
CH-4130 Rheinfelden
Tel +41 (0)61 841 06 10

Schulstrasse 1
CH-6037 Root
Tel +41 (0)41 530 39 70

I see. I'll make sure that we generate the legacy file and add it to the same location.

That's really great.
Last question: will legacy always be a superset of openCypher or will they
develop in future into different directions?
Thanks and regards
Walter
On 7 July 2016 at 16:31, Mats Rydberg<EMAIL_ADDRESS>wrote:

I see. I'll make sure that we generate the legacy file and add it to the
same location.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencypher/openCypher/issues/106#issuecomment-231095493,
or mute the thread
https://github.com/notifications/unsubscribe/AB3ZNREsRE6FoPVmzcjyk0eXItkt9Dqwks5qTQ3bgaJpZM4JCGLU
.

--

Walter Weinmann

Obertorplatz 4
CH-4130 Rheinfelden
Tel +41 (0)61 841 06 10

Schulstrasse 1
CH-6037 Root
Tel +41 (0)41 530 39 70

Legacy is not meant to develop in any direction, but will remain in its current form until we are confident enough that it is completely useless and remove it. Currently it is useful because the only Cypher implementation known (Neo4j) supports it. The next major version of Neo4j is likely to remove support for several of these features.
That said, we decided to make the grammar handle this so that the answer to your question is yes. There is a set of grammar rules that are marked as legacy, and the legacy grammars will use the latest version of the openCypher grammar and simply add the legacy set to it.

@walter-weinmann You'll find the legacy grammars in a subdirectory legacy in the same AWS bucket. For the ISO EBNF, use this link: https://s3.amazonaws.com/artifacts.opencypher.org/legacy/cypher.ebnf.
I'm closing this as resolved, please correct me if you have any remaining questions.


make dropdown menu accessible

Some more polish for v2: This replaces the simply Dropdown component with a Menu component which ensures that the UI is accessible. Currently the execute button doesn't at all work with keyboard navigation. This even allows us to kick out the custom on-key-down handler as all of this is built-in now.

@thomasheyenbrock this is awesome and this custom key event handler will open the floodgates for accessibility and keboard navigation in general!


Adding steps for deploying Helm chart on Azure Stack Hub

Description
This change includes updated documentation for deploying the Helm chart included as part of the samples to include an example for how to deploy and configure a FHIR server instance using the AKS Engine on Azure Stack Hub.
Related issues
N/A
Testing
Deployment steps were followed on an Azure Stack Hub AKS Engine instance to modify variables specified at the time of Helm chart deployment. Health checks and Patient endpoints were tested in Postman.

Not the right repo to host Azure Stack changes.


support _search/template ?

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
elastic.v5 (for Elasticsearch 5.x)
Please describe the expected behavior
index/type/_search/template
Please describe the actual behavior
search buildUrl not found template mode
Any steps to reproduce the behavior?
search().do()

That's still missing. Feel free to contribute.

Notice however that you can manage search templates already, i.e. GetTemplate, PutTemplate, and DeleteTemplate.

`
res,err:=es.Search().
Index(string(request.SearchIndex())).
Type(string(request.SearchType())).
Template(string(request.SearchTemplate())).
Source(string(request.SearchBody())).
Do(ctx)

`
I added a template method

As I said, the SearchTemplate API is not yet implemented. It's different from the Search API. You can find the REST API specification here.


Added check for symmetry of input adjacency matrix

Summary
Fixes #4493
Added a check for the adjacency matrix being symmetric in nature to hidden_linear_function.py in qiskit/circuit/library
Details and comments
Imported CircuitError to check for symmetry of the adjacency matrix.
Deleted tests added for hidden_linear_function.py in a previous commit, will be adding more comprehensive tests soon.

I have committed the suggested changes.
Style lint check fails saying:
qiskit/circuit/library/hidden_linear_function.py:76:4: W9006: "CircuitError" not documented as being raised (missing-raises-doc)

Any pointers on how I could go about fixing it?

Add
Raises:
    CircuitError: If A is not symmetric.

to the class docstring.

Thanks!

Could you add a test for this as well? Something like
with self.assertRaises(CircuitError):
   HLF(non-symmetric-matrix)

Should I send it in with the HLF unitary test?

As you prefer. If you'll send it with #4492, then we can only merge it once this is one merged, but that's fine, too.

Alright great, I'll send it in with #4492, thanks for all the help!


Porting over minor changes from big PR to de-risk

Scope
Pulling changes from #142 to reduce size.
Why?
Easier reviews.

Codecov Report

Merging #189 (b32baf8) into candidate (8112c4d) will decrease coverage by 0.00%.
The diff coverage is 72.72%.

@@              Coverage Diff              @@
##           candidate     #189      +/-   ##
=============================================
- Coverage      45.02%   45.02%   -0.01%
=============================================
  Files            220      220
  Lines          29131    29131
=============================================
- Hits           13116    13115       -1
+ Misses         14067    14064       -3
- Partials        1948     1952       +4

Impacted Files
Coverage Δ

badgerTrie/smt_tools.go
88.37% <ø> (ø)

badgerTrie/trie_cache.go
60.97% <ø> (ø)

badgerTrie/util.go
75.00% <ø> (ø)

consensus/lstate/engine.go
53.12% <ø> (ø)

consensus/lstate/fastsync.go
54.84% <ø> (ø)

consensus/objs/util.go
69.56% <ø> (ø)

consensus/request/client.go
92.55% <ø> (ø)

consensus/request/handlers.go
81.63% <ø> (ø)

crypto/bn256/bn256.go
100.00% <ø> (ø)

localrpc/client.go
29.05% <ø> (ø)

... and 17 more

Continue to review full report at Codecov.

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


feat: force re deploy

Description
Music year: 1998

List of changes

Issue(s)
Fixes #
How to test

Go to https://deploy-preview-2470--oak-web-application.netlify.thenational.academy
Click on ______
You should see ______

Screenshots
How it used to look (delete if n/a):
{screenshots}
How it should now look:
{screenshots}
Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

:tada: This PR is included in version 1.452.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Optimize sqrt

ilog is supported now, so we can calculate the square root more efficiently
https://github.com/CosmWasm/cosmwasm/blob/a34949b861dfa11ec8016b468922e48e6a6d785d/packages/std/src/math/decimal.rs#L360C12-L360C12

I ran some more gas benchmarks with different implementations.
All of those were run based on the changes in #2108 (it improves the numbers quite drastically)

sqrt is the old implementation
sqrt2 is [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].binary_search_by with an additional memoization array
sqrt3 is unrolled binary search (check 5, if it doesn't work check 2, etc., a few nested matches)
sqrt4 is the version where we directly calculate the max precision using the log (the one in #2029)

Decimal
sqrt
sqrt2
sqrt3
sqrt4
rel. diff sqrt2
rel. diff sqrt3
rel. diff sqrt4

1.0
5519700
9529650
8362650
5911650
73%
52%
7%

2*10^(-18)
4996200
5901600
5590500
5181600
18%
12%
4%

MAX
5830500
5270100
5224500
5013750
-10%
-10%
-14%

0.01
6042000
9698400
8491050
6463800
61%
41%
7%

Decimal256
sqrt
sqrt2
sqrt3
sqrt4
rel. diff sqrt2
rel. diff sqrt3
rel. diff sqrt4

1.0
7360800
17133150
14003850
11520450
133%
90%
57%

2*10^(-18)
6631650
12610950
10519650
10778250
90%
59%
63%

MAX
16030950
11466600
11555100
9880650
-28%
-28%
-38%

0.01
8113650
17565750
14318700
12258600
116%
76%
51%

None of these strike me as particularly worthwhile, so I think we can close this.

Great stuff, thank you!


Parsing issue

There is a parsing issue when trying to extract objects with dumppdf.py:
dumppdf.py -E /tmp/ sample.pdf

The trace:
Traceback (most recent call last):
  File "./build/scripts-2.7/dumppdf.py", line 275, in <module>
    if __name__ == '__main__': sys.exit(main(sys.argv))
  File "./build/scripts-2.7/dumppdf.py", line 272, in main
    dumpall=dumpall, codec=codec, extractdir=extractdir)
  File "./build/scripts-2.7/dumppdf.py", line 195, in extractembedded
    doc = PDFDocument(parser, password)
  File "/usr/local/lib/python2.7/dist-packages/pdfminer.six-20170720-py2.7.egg/pdfminer/pdfdocument.py", line 560, in __init__
    self.read_xref_from(parser, pos, self.xrefs)
  File "/usr/local/lib/python2.7/dist-packages/pdfminer.six-20170720-py2.7.egg/pdfminer/pdfdocument.py", line 800, in read_xref_from
    xref.load(parser)
  File "/usr/local/lib/python2.7/dist-packages/pdfminer.six-20170720-py2.7.egg/pdfminer/pdfdocument.py", line 237, in load
    (_, stream) = parser.nextobject()
  File "/usr/local/lib/python2.7/dist-packages/pdfminer.six-20170720-py2.7.egg/pdfminer/psparser.py", line 616, in nextobject
    self.do_keyword(pos, token)
  File "/usr/local/lib/python2.7/dist-packages/pdfminer.six-20170720-py2.7.egg/pdfminer/pdfparser.py", line 78, in do_keyword
    ((_, objid), (_, genno)) = self.pop(2)
ValueError: need more than 1 value to unpack

The pdf is attached:
8a100aaa2816037e195800580507cefa1d1873385ef9dc43598712f5173fe5eb.pdf

Opening the pdf in a text editor and saving it again solves the problem. I think this has something to do with newline characters. Your PDF uses carriages returns.
(I'm aware that this is not really an answer to your question, but I'm just trying to figure out what could be causing this issue).


Create evaluation.py

Coverage decreased (-1.6%) to 66.147% when pulling 349263bd4b2cdf85bd392f82ff18a3bbe2f57f31 on numairmansur:development into c8ec563d206b98128734161e3a9bf48845399b7f on automl:development.


Cmakelist bug

log目录下还没有CMakeLissts.txt

注释掉 add_executable 之后会出现以下问题

应该是我没装 glog

well, the reason why u have these issues would like to be u haven't clone the submodule repository.
How to Solve the Problem

install the glog, include the header file && link the glog library
git clone the glog, move it into src


How to pass back function reference into custom header?

How can i pass function that pops current route into my own header?
When i define navigator this context doesn't have props key
StackNavigator({
   Scene: {
      screen: MyComponent,
      navigationOptions: {
            header: <MyCustomHeader onBack={ dont_know_what_can_i_pass_here? } />
      }
   }
})

And MyCustomHeader doesn't have navigation property
I suppose this plugin should have static navigator instance to provide functionality to go to route without special component instance
Don't understand what to do

See https://github.com/react-community/react-navigation/issues/145#issuecomment-281418095 for details on passing a function into a header element.

This cannot be implemented in my situation. Passing props working only for native component Header, so i can't get parent context in it at all

In addition later i will need to pass extra props to get complex header with not only title and back button, but another data


Add properties in ADF ExecuteSSISPackage Activity

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-libraries-for-java

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

@AutorestCI rebuild azure-sdk-for-python

Hi @hvermis This pull request has not been merged to master branch yet, is there anything other I need to do? Could you please help merge this pull request?

@qianwens Azure team manages this repo, not ADF. @mcardosos, are there any blocking issues for the PR?

@mcardosos The back-end changes will be deployed to production before 4/8. We plan to release this feature in April.

Cool :D ping us when it is deployed :)

Hi Mariana,
Thanks for the update. We want to know if we can merge this PR before our backend is complete deployed so that we can catch up with the SDK release date 4/13. If we merge this PR after 4/8, I am afraid we will miss the SDK release date since we need to create PR for SDK after swagger is merged.
Thanks and best regards.
Qianwen
From: Mariana Cardoso<EMAIL_ADDRESS>Sent: Friday, March 30, 2018 1:45 AM
To: Azure/azure-rest-api-specs<EMAIL_ADDRESS>Cc: Qianwen Shi<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-rest-api-specs] [Ping on April 8] Add properties in ADF ExecuteSSISPackage Activity (#2716)
Cool :D ping us when it is deployed :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F2716%23issuecomment-377316115&data=02|01|qianwens%40microsoft.com|56492659b21046e3734008d5959cbca8|72f988bf86f141af91ab2d7cd011db47|1|0|636579422771455445&sdata=8HWNAvKvqXZVnHthkAzrrEq4Zi80nUEs3T8lL4Xmf6Q%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjkChzFmaA2mVzLnvleXpbtGJQqPrnyJks5tjR2BgaJpZM4SzC79&data=02|01|qianwens%40microsoft.com|56492659b21046e3734008d5959cbca8|72f988bf86f141af91ab2d7cd011db47|1|0|636579422771455445&sdata=cCF7C4JACNXV3itKphRbAgh%2FpfFHHx02RCaYX7WYsrk%3D&reserved=0.

@AutorestCI  regenerate azure-sdk-for-python


Package nix (the package manager)

The nix package manager is useful for installing lots of packages that aren't in the Fedora repositories and for having multiple versions of the same package installed on the same system. Currently, the multi-user installation using the official installation script cannot work because of selinux although you can still do a single-user installation using the script.
There is another way of doing a multi-user installation of nix and that is downloading and installing the community-maintained installer packages for Nix which are available here. I wish a package for Nix either based on that package but up-to-date (since that is providing an outdated version of nix) or created manually was packaged in terra so you can install it on Fedora and Ultramarine just like you can install nix from pacman on Arch.

I think it's a bit more appropriate to package this in Terra instead if we do it? I kinda doubt if anyone is willing to do it if it's unmaintained though.


Functions in socket programming

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
Enter topic suggestion here...
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published (subject to vary depending on volume and/or backlog of articles).
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
Functions in socket programming
Use keyword research to improve your article's SEO.
Proposed article introduction
In this article we are going to describe socket programming function and some of the programs dealing with the functions in socket programming.
Key takeaways
By the end of this tutorial the learner will be able to:

understand function in Socket programming.
will be write codes dealing with functions in socket programming

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
N/A.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Which programming language will you use?

Please fill in the article quality and writing sample sections.

Java language
On Thu, Dec 9, 2021, 13:53 Louise @.***> wrote:

Please fill in the article quality and writing sample sections.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/5406#issuecomment-989739248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWZEBUOR7BIXBJ7TPAUH5G3UQCDDTANCNFSM5JMUI2ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You still need to fill in the article quality and writing sample sections so we can review your article. Let me know when you are ready to do this and I will reopen your topic suggestion.


Feature request: build-in calculator

Check for existing issues

[X] Completed

Describe the feature
Would be great if ZED had build in calculator, which upon keyboard shortcut press or CMD+SHIFT+P -> Calculate would evaluate typed arithmetic and yield expected result. See below mockup for details.
If applicable, add mockups / screenshots to help present your vision of the feature
Sample code such as:
2+2

after pushing some keyboard shortcut or CMD+SHIFT+P would result in Calculate search.
The results should revaluate the above summation, yielding result, such as:
2+2=4

See screenshot

for details:

On MacOS you can already do that in Spotlight. Wasn't sure if you're aware of that, hope it helps.

@krstp This might be of interest to you.
https://numi.app/

Something line Sublime arithmetic would be great


fix mempool ut problem introduced by this patch

Proposed changes
Issue Number: close #xxx
Problem Summary:
The mempool ut is broken by padding with asan enabled, now the ut works only with asan enabled, I will submit a patch making it work with asan disabled later.
Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (No)
Has document been added or modified: (No)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

hi @dataroaring , 2 issues:

you need to rebase the trunk to resolve the conflict.
I plan to merge your PR to #8216 to fix all UT in on PR, do you agree?


[HxGrid] Context menu causes scrollbar

When there are few rows in the grid and a relatively large context menu, when showing context menu it doesn't fit the table area which forces a scrollbar to appear (part of context menu hidden).

@crdo, can you please take a look and asses this issue? Thanx.

@Apskaita5 @hakenr yes, I have came across this issue already. @Harvey1214 please create a reproducing page for this issue in our BlazorTestApp so I can try to come up with some solution.

@crdo the reproducing page is completed (https://dev.azure.com/havit/DEV/_git/002.HFW-HavitBlazor/commit/6ade98d68b9ffa9a1447636901ebc2d0f26fdf00).

Anyway, what causes your issue most likely is the presence of overflow: auto | hidden; on some of the parent elements.
In this case you have two options:

Get rid of the overflow
Tweak the Popper config so the Dropdown (that is used internally for the HxContextMenu) behaves as close as desired https://popper.js.org/docs/v2/modifiers/prevent-overflow/

@hakenr can we set our own Popper config to the relevant HxCompoments?

@Apskaita5 could you please confirm that the HxGrid instance that you refer to is responsive (IsResponsive=true)?

Yep. (CSS table-responsive)

Anyway, what causes your issue most likely is the presence of overflow: auto | hidden; on some of the parent elements.

Only if it is present on Havit components.

Related discussion in Bootstrap repo https://github.com/twbs/bootstrap/issues/33463#issuecomment-822253936

As far as I understand, new Bootstrap release should resolve this issue with https://github.com/twbs/bootstrap/pull/33684 and we don't need to do anything on our side. @crdo?

I think that this issue has been already merged into one of the previous versions.

Already reported to Bootstrap: https://github.com/twbs/bootstrap/issues/35774

Bootstrap 5.2.0 probably does not offer any suitable solution (setting boundary with data-attribute or something like that).
It is probably achievable with JavaScript options (setting boundary to body): https://github.com/twbs/bootstrap/issues/36358
...but it is something we definitely do not won't for PERF reasons as the HxContextMenu is heavily used in data-list scenarios (such as HxGrid).

@hakenr we can give a try the 5.2s new possibility to set component configuration via data attributes...

@hakenr adding data-bs-popper-config='{"strategy":"fixed"}' on the dropdown element would solve the issue. We need to decide if we want to do it with attribute splatting or some other technique.

Hi all, was just wondering if there was any plans to fix this soon? This is a surprisingly high-value issue and a fix would be incredibly welcome!

@bholbrook even though we have a performance concerns regarding this fix, I am submitting a PR to start a discussion on the right way to fix this.
Tested by applying a overflow-hidden class on a HxGridTableContainer and adding data-bs-popper-config='{"strategy":"fixed"}' to the HxContextMenu.


PyQt6 -> PySide6. No jpg, np array mostly works.

IBIS_Case3_V24_t1w_RAI.nrrd looks weird (multiple brains), but the other images look fine.
https://user-images.githubusercontent.com/69875698/225008254-f2e28d1c-9be0-4f5f-8c3c-7ff7e1f56e2c.mov
Needed to do PyQt6 -> PySide6 because QImage.FormatGrayscale8 for rendering from np array doesn't exist in PyQt6.
This broke window switching, which I'll fix.

Jesse, the weird-looking brain is from a wrap-around due to a mismatch in data type. Likely, you loaded an unsigned short (0..64k range) image and show it as a signed short (-32k..32k range) image. As negative integer/short images are encoded with a leading sign bit, the switch from unsigned to signed will map the 32k-64k range (in unsigned short) to -32k..0 range (in signed short), and thus you this weird pattern.


Add cookie consent at blog entry

Cookie Consent by FreePrivacyPolicy.com

Cookie Consent by FreePrivacyPolicy.com

Code is merged https://github.com/crystaluniverse/publishingtools/pull/204, requires a careful update on the publishingtools as it's now running wikis, websites, blog, and there're some technical issues with a recent upgrade in one of its dependencies


Fix typos

Hi!
Amazing README!
Made some edits for clarity, maintaining the original voice, separated into less controversial and possibly controversial changes.
Sources (only for those curious!):
https://grammarist.com/usage/ie-eg/
https://grammarist.com/grammar/virgule/
Happy to chat about it. Thanks!

@microsoft-github-policy-service agree

Thanks! I consider these all strict improvements and they are much appreciated :)


Flet for ruby developer

Hello 👋 .  I see that flet will offer the Go, C# etc version in the future but we  the ruby developer also want to have flet so we decided to create with osscameroon community (Developer passionate about open source ). Of course if you don't see the disadvantages We would like to continue or merge of course if you have dedicated people to create sdkRuby for flet .
Advice or guidance needed that will allow us to have flet for ruby developer are really appreciable.

It would be great to have Ruby in the list of supported languages! At the moment we are focused on the best support for Python. We welcome community to help the project with adding other languages.

Thank you so much. And we need some help,
What are the main components to implement to be able to launch flet under ruby . For example Control, Ref and Page  ?

Yep, as a starting point:

flet.py
reconnecting_websocket
connection.py
page.py
control.py

I'm going to close this issue and we are close to implementing other languages we could re-open it again.


changelog is missing entries for releases beyond version 1.0.1

The changelog stops at version 1.0.1 and the latest is version 1.1.1
View https://flask-wtf.readthedocs.io/en/1.0.x/changes/
The changelog should list and describe all available releases.
Environment:
N/A

https://flask-wtf.readthedocs.io/en/latest/changes/

@davidism the PyPI page https://pypi.org/project/Flask-WTF/ displays version 1.1.1 however the Links section on the PyPI page has
Changes: https://flask-wtf.readthedocs.io/changes/
which goes to https://flask-wtf.readthedocs.io/en/1.0.x/changes/
hence this is not done yet. One cannot expect a user to manually change the URL bar contents to achieve the correct page.


@JsonSchemaDefault does not allow float values

Hi
@JsonSchemaDefault does not allow float values. It seems it tries to parse string as long:
https://github.com/mbknor/mbknor-jackson-jsonSchema/blob/8c42ea75aaf6dd4826638c9231780061b00d95d7/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala#L485
Thanks.

Fixed in https://github.com/mbknor/mbknor-jackson-jsonSchema/commit/a0aa0530be8285a15b7115c8173d7e1c306776f6

Included in version 1.0.31 which is just released

1.0.37 is the last version to work


Sync (-s) flag is broken

The option to update aur-pkglist presently only appends the new package list to aur-pkglist without first copying it to aur-pkglist.old. Moreover, this now requires root to run properly. Perhaps this handling should be reverted to its old method.

Relatedly, sync functionality is also broken when running aur-update with no flags.

Resolved.


#78: Fixed that plugins with no versions were ignored in changelog

Closes #78

Please, review a security hotspot detected by sonar. Whether fix it of add a suppress warning and a comment why it's ignored


[Ruby] Segmentation fault

I've written a grpc client for etcd-v3 and i'll get a ruby seg fault after rspec finished all examples.
The issue was caused by using ruby Thread, after commenting the sample all seems fine.
-- C level backtrace information -------------------------------------------
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6b2cca5]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6b2cedc]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6a06944]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6ab8c3e]
/lib/x86_64-linux-gnu/libc.so.6 [0x7f6fa660e4b0]
/root/repos/etcd/vendor/ruby/2.3.0/gems/grpc-1.2.0-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so [0x7f6fa1f5985d]
/root/repos/etcd/vendor/ruby/2.3.0/gems/grpc-1.2.0-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so(grpc_exec_ctx_flush+0x57) [0x7f6fa1f4f407]
/root/repos/etcd/vendor/ruby/2.3.0/gems/grpc-1.2.0-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so(grpc_call_destroy+0xf6) [0x7f6fa1f591f6]
/root/repos/etcd/vendor/ruby/2.3.0/gems/grpc-1.2.0-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so [0x7f6fa1f43b5b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6a259d4]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f6fa6a26923]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(rb_gc_call_finalizer_at_exit+0x29d) [0x7f6fa6a28bad]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(ruby_cleanup+0x3e7) [0x7f6fa6a0d607]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(ruby_run_node+0x25) [0x7f6fa6a0d845]
ruby2.3 [0x40087b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6fa65f9830]
ruby2.3(_start+0x29) [0x4008a9]

is this with the latest 1.2.1-pre2 version. there was a fix in that for what looks like might be a related issue (https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1327)

Thanks


Add debug report for farmerbot

Is your feature request related to a problem? Please describe
some nodes are not turned on or off due to some reasons and it needs some debugging every time
Describe the solution you'd like
Add a report for nodes to include their state and more info

This was beautifully done. Thank you!


Error: Cask 'torbrowser' definition is invalid:

~❯ brew -v
Homebrew 0.9.5 (git revision 7ea6; last commit 2015-12-25)

~❯ brew install Caskroom/cask/torbrowser
==> brew cask install Caskroom/cask/torbrowser
Error: Cask 'torbrowser' definition is invalid: Bad header line: parse failed

This error is not a bug, it's caused by an update to how homebrew-cask works. Details can be found here.
To fix the issue, please run:
brew uninstall --force brew-cask; brew update

If you are still having problems, open an issue with the appropriate template


Not working

Microsoft PowerToys version
0.69.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I try to make the short cut like macos,
just like ctrl+c/ctrl+v，switch it to command+c/command+v,
but it usually not work, It only work with windows icon short cut, not what Im setting.
✔ Expected Behavior
when I press command + C，it automatic change to ctrl+c.
not windows short cut: Windows icon+c
❌ Actual Behavior
when I press command + C，it works as Windows short cut :windows icon+C
Other Software
No response

Yes c
On Thu, May 4, 2023 at 9:29 PM hacksnake0 @.***> wrote:

Microsoft PowerToys version
0.69.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I try to make the short cut like macos,
just like ctrl+c/ctrl+v，switch it to command+c/command+v,
but it usually not work, It only work with windows icon short cut, not
what Im setting.
✔ Expected Behavior
when I press command + C，it automatic change to ctrl+c.
not windows short cut: Windows icon+c
❌ Actual Behavior
when I press command + C，it works as Windows short cut :windows icon+C
Other Software
No response
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/25842, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6NWLSSMSPUKXHSEED6HJL3XER63XANCNFSM6AAAAAAXWTYWAQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Lios

Can you take a screenshot of your KBM settings?

its not working like this.but it works when I setting the key mapping.see the pic below.
------------------ 原始邮件 ------------------
发件人:                                                                                "microsoft/PowerToys"                                                                                @.>;
发送时间: 2023年5月5日(星期五) 下午2:19
@.>;
抄送: "Solid<EMAIL_ADDRESS>主题: Re: [microsoft/PowerToys] Not working (Issue #25842)
Can you take a screenshot of your KBM settings?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

No pic was included. Can you via the website. /needinfo


[BUG] Can I use the postgresql that I already have without installing postgresql docker?

Describe the bug
Can I use the postgresql that I already have without installing postgresql docker?
Expected behavior
i am using cloud sql from gcp. I think it's safer to store data than in pods.
Logs

Environment (please complete the following information):

Zep version: 0.24
Deployment k8s

Additional context
Add any other context about the problem here.

You can set ZEP_STORE_POSTGRES_DSN in your environment. More about Zep's config settings below:
https://docs.getzep.com/deployment/config/

You can set ZEP_STORE_POSTGRES_DSN in your environment. More about Zep's config settings below:
https://docs.getzep.com/deployment/config/

I have done it but there is an error like the log above


new mobile app(flutter or xamarin or mauimui...)

We urgently want to develop small new mobile app(flutter or xamarin or mauimui...) Xamarin is going away it seems with forms changes so is flutter better as of now?

Description

Configuration

Regression?

Other information

@davidortinau @jamesmontemagno can you help? I don't have permissions to transfer this to dotnet/maui it seems.

.NET MAUI is the evolution of Xamarin.Forms and expands to building cross-platform native iOS, Android, macOS, and Windows apps from a shared single code base.
Xamarin.iOS, Xamarin.Android, and Xamarin.Mac are being upgraded to .NET 6 and are being renamed to iOS for .NET, Android  for .NET, and Mac for .NET.
All project can be upgraded directly to .NET 6 or to .NET MAUI if you are already doing Xamarin.Forms.
Xamarin.Forms will also be supported until the end of 2022.
Read the following for more information:

I mean can we start right now(from today) and build production ready single version UI for android and iphone nicely(not 2 versions...)

Yes, that is exactly what you can do with Xamarin.Forms today :)
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/

You mean if we want to build 40 native mobile app forms we do not have to build 80 forms(40 for ios and 40 for android)? Please confirm nd I will start right away!

Nope, your UI is shared between iOS, Android, and Windows. With .NET MAUI it will also be shared with macOS as well.
so if you have 40 pages in your app it will be 40 total and they are shared.


Can't visit embassy via HTTP at IP address in browser

@MattDHill is this a product requirement? It's not clear that it should be, and if it is it will require some rethinking about how credentialling and nginx routing is dealt with here.

Main use cases are for LANs that don't support mDNS (rare) and being able to use Android on LAN. Can wait for 0.3.x


feat: add logo and favicon

center logo on all pages
favicon
logo in multiple dimensions (to be compressed)

review pls @Costinteo @Mathis-Dory @SecioreanuStefanita!!
things to look out for:

size
opacity
readability
anything else


Screen is whiter when press on start

https://github.com/Admiral-Billy/Pokerogue-App/assets/11380627/a8656ebf-c906-4f01-9523-22cf7b7abc0c
When I launch the app from Ayn Odin 2, then I press the start button which opens the menu, the app is whiter.
It looks like a focus or something else is set and change the contrast of the image.

Oh I have no idea why it'd be doing that here, but whatever it's doing seems like it'd be an issue with PokeRogue itself rather than the app. If I actually had one of those I could try it myself, but alas.

It could be an issue with PokeRogue itself, it also happened sometime on the web version in the browser (I saw it in Firefox but not Chrome)

For the time being I'll assume this is just a PokeRogue issue and close this here.

I have this issue as well on my Retroid Pocket 4 Pro, and the issue is not present when using the web version of the app with Chrome. The issue goes away when the built in controller is disconnected at app boot, but returns when the controller is reconnected. I'm not a huge android guy, but it looks to me like the entire app is being 'highlighted' when the controller is plugged in, almost like the entire app window is a UI button if that makes sense.

I was able to resolve this on my retroid by disabling the "dark theme"


Fix create_page

This PR fix create_page by adding:

default Content-Type to application/json for all requests
convert all post body to json

Hey, thanks for the contribution!


Option to not output links

As requested by BASE on the Obsidian Discord

I primarily download from a site which links to an internal database (I guess at least), so the links do not work in obsidian any longer. Would be very nice, if there was an option to disable that.

It shouldn't be hard to add another option for stripping links from the markdown.

There's a new link type of "stripped" which will strip out links and just render the text.


neptune-python-utils: BulkLoad failed: HTTP Error 400: Bad Request

Hi,
I'm trying to make neptune (iam auth enabled) load a csv file from a s3 bucket but bulkload.load_async returns
urllib.error.HTTPError: HTTP Error 400: Bad Request
Here is my code:
def neptuneLoad(csvFile, endpoint):
    fileUri = 's3://' + NEPTUNEBUCKET + '/' + os.path.basename(csvFile)
    bulkload = BulkLoad(source=fileUri,
                        update_single_cardinality_properties=False,
                        role=NEPTUNES3IAMROLEARN,
                        region=AWS_DEFAULT_REGION,
                        fail_on_error=True,
                        mode='NEW',
                        endpoints=endpoint,
                        parallelism='OVERSUBSCRIBE',
                        format='csv')
    load_status = bulkload.load_async()
    status, json = load_status.status(details=True, errors=True)
    logging.info(json)
    load_status.wait()

output:
curl -X POST \
    -H 'Content-Type: application/json' \
    https://<myneptuneurl>.eu-west-1.neptune.amazonaws.com:8182/loader -d '{
    "source": "s3://<mybucket>/objRef-2021-08-18T15:46:38.csv",
    "format": "csv",
    "iamRoleArn": "arn:aws:iam::<myaccountid>:role/arel-dev",
    "mode": "NEW",
    "region": "eu-west-1",
    "failOnError": "TRUE",
    "parallelism": "OVERSUBSCRIBE",
    "parserConfiguration": {
        "baseUri": "http://aws.amazon.com/neptune/default",
        "namedGraphUri": "http://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph"
    },
    "updateSingleCardinalityProperties": "FALSE"
}'
Traceback (most recent call last):
  File "ingest.py", line 376, in <module>
    objLoadId = neptuneLoad('objRef-2021-08-18T15:46:38.csv', endpoint)
  File "ingest.py", line 142, in neptuneLoad
    load_status = bulkload.load_async()
  File "/home/me/src/rrmt-backend-integration/src/ingest/neptune_python_utils/bulkload.py", line 106, in load_async
    load_id = self.__load(loader_endpoint, json_payload)
  File "/home/me/src/rrmt-backend-integration/src/ingest/neptune_python_utils/bulkload.py", line 97, in __load
    raise exc_info[0].with_traceback(exc_info[1], exc_info[2])
  File "/home/me/src/rrmt-backend-integration/src/ingest/neptune_python_utils/bulkload.py", line 89, in __load
    response = urllib.request.urlopen(req)
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

My previous code using requests to POST /loader was working.
Gremlin requests are working properly.

Hi @imercier
This may be an issue with the region name used to sign the request.
I've created a branch with some enhancements, including support for proxies (bastion hosts and load balancers) and improved documentation for connecting to IAM DB Auth-enabled clusters:
https://github.com/awslabs/amazon-neptune-tools/tree/neptune-python-utils-20082021
Please see the readme for details on IAM DB auth.
I'm going to be offline for a week – I'll check-in again at the beginning of September.
Kind regards
ian

Hi @iansrobinson,
with branch neptune-python-utils-20082021, 307939aaacafe6e960d6a23daceabb84420e9942
HTTP Error 400: Bad Request seems to be solved :-) thanks
But I'still have problems with credentials.
FYI, my neptune instance have the role to read the s3 bucket.
But I get:
Traceback (most recent call last):
  File "ingest.py", line 378, in <module>
    objLoadId = neptuneLoad('objRef-2021-08-18T15:46:38.csv', endpoint)
  File "ingest.py", line 144, in neptuneLoad
    load_status = bulkload.load_async()
  File "/home/imercier/src/ingest/neptune_python_utils/bulkload.py", line 112, in load_async
    load_id = self.__load(loader_endpoint, json_payload)
  File "/home/imercier/src/ingest/neptune_python_utils/bulkload.py", line 99, in __load
    raise Exception('{}: {}'.format(response.status_code, response.text))
Exception: 400: {"detailedMessage":"Failed to start new load from the source s3://<mybucket>/objRef-2021-08-18T15:46:38.csv. Couldn't find the aws credential for iam_role_arn: arn:aws:iam::<myaccountid>:role/arel-dev-neptune","code":"InvalidParameterException","requestId":"c70e77da-4262-41b8-84c8-7159ff739791"}
{'t':'2021-08-20 15:12:39,678','src':'/usr/lib/python3.8/asyncio/base_events.py:1707','lvl': 'ERROR','msg': 'Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f3bfb32c550>'}

Why is it looking for credentials?
It should have the permission when assuming the role arel-dev-neptune
thank you

That looks like a message returned by the loader endpoint itself. See:
https://docs.aws.amazon.com/neptune/latest/userguide/load-api-reference-load.html#load-api-reference-load-errors

Hi @imercier
This may be an issue with the region name used to sign the request.
I've created a branch with some enhancements, including support for proxies (bastion hosts and load balancers) and improved documentation for connecting to IAM DB Auth-enabled clusters:
https://github.com/awslabs/amazon-neptune-tools/tree/neptune-python-utils-20082021
Please see the readme for details on IAM DB auth.
I'm going to be offline for a week – I'll check-in again at the beginning of September.
Kind regards
ian

Pb solved.
Memo:
endpoint = Endpoints(neptune_endpoint=NEPTUNEHOST,
                     neptune_port=NEPTUNEPORT,
                     region_name=AWS_REGION)


Add option to OrderingStage to make it lenient

OrderingStage uses a PriorityQueue.  If the incoming messages are out of order to a great extent (let's say the next element is somehow dropped prior to reaching OrderingStage), it will cause a halt in the stream.  We should have options to let elements being passed down after certain numbers of elements reached or some time is passed.

Instead of having a timeout (involves complexity, scheduler), I'm thinking using buffer fill as the point to drop it and move forward. What do you think?

I agree.  I think that's good enough for the first cut.  If we see some scenarios that would require timeout, we can add it later on.

Let me take a stab at this one, and all OrderingStage issues together.


📚 noUndeclaredDependencies and useImportType report issues with output from TypeScript code actions

Documentation URL
https://biomejs.dev/linter/rules/use-import-restrictions/
Description
Using typescript code actions Add missing imports results in code that is reported by biome. I am using the default typescript language server settings.
// biome reports `noUndeclaredDependencies`
import MyModule from "src/main"; // <- this line is auto-generated by "add missing imports"

// biome does not report`noUndeclaredDependencies` when changed to this:
import MyModule from "../main";

// biome reports `useImportType`
import MyModule from "module"; // <- this line is auto-generated by "add missing imports"
// …
let mod: MyModule;

While I think the first can be resolved by changing the typescript configuration to importModuleSpecifierPreference = relative (see here), I am not aware of any typescript setting to deal with the latter.
Expectations
That a recommended rule (useImportType) reports output of typescript as an issue is at least somewhat irritating, and also quite confusing for less experienced users.
You could also argue that this is somewhat a bug of those rules, but technically, the rules work as expected. Thus, I am not reporting this as a bug, but as a documentation issue.
Possible solutions to this:
A) Change the documentation

Mention that these rules oppose the output of typescript code actions with default settings.
Explain which typescript settings need to be changed to make the output of the code actions comply with biome's rules.

However, 2. is complicated by the fact that there is (to my knowledge) no typescript setting to make typescript add type imports instead of imports.
Also, Changing typescript configs is not always straightforward, e.g. for nvim, a few settings can only be changed by using a typescript language server replacement like typescript tools.
B) Change rule behavior
Alternatively, the rule's behavior should be modified to be less strict. noUndeclaredDependencies could be modified to check if an import is simply project-relative, before reporting a violation.
Not sure how to deal with useImportType though.
Code of Conduct

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

I have to take some time to write a complete answer. However, as a preliminary answer for useImportType: there is an LSP option named typescript.preferences.preferTypeOnlyAutoImports. This should partially solve your issue.