Cast to int smtp_port

In my Raspberry Pi with OSMC (python 2.7) it doesn't automatically casts the port and crash.

done manually at: e578bc7cc6133880c799188ce09e7c53e42c8863


Uninitialized pointer error incorrect reported.

Incorrectly generates an error, this statement, will typically never get to executing the second or condition, if the first
or condition is to true.
Node* item = findItem(&n16, items[i]);
        if (item == NULL || item->value != items[i]) {
            break;
        }

        Or

          if (item == NULL || item->value != 0) {
            break;
        }
        generates C4703

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

ID: 626d8085-2b49-d7a2-2aa4-0b31ab4d923d
Version Independent ID: be6239f8-2f1b-5cd5-2ff9-fd374646e446
Content: Compiler Warning (level 4) C4703
Content Source: docs/error-messages/compiler-warnings/compiler-warning-level-4-c4703.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @corob-msft
Microsoft Alias: corob

@wesleyolis
Thanks for the report. This doesn't sound like a documentation issue, so I'm closing it. Warning 4703 isn't guaranteed to be correct. The compiler doesn't do an in-depth analysis of called functions as part of this analysis, which might be in a separate translation unit. It just makes a conservative assumption about data flow in the current function. Without seeing more, I can't be certain, but my guess is the warning arises because the compiler doesn't assume that item is guaranteed to be initialized by the call to findItem.
If you know this code is fine, then you can disable the warning locally by using a warning pragma, or globally on the command line by using the /wd compiler option. (The link also includes directions for use in Visual Studio.) To disable it locally in your source code, use a #pragma warning( push ) followed by a #pragma warning( disable: 4703 ) before the function that causes the error. You can re-enable it after the function by using #pragma warning( pop ). You can disable the warning globally by adding /wd4703 to your compiler command line options, or the equivalent in the Visual Studio Property Pages dialog.
If you think the compiler is doing the wrong thing entirely, then you can use Help > Send Feedback > Report a Problem within Visual Studio to create a bug report. Maybe it really is misbehaving. The product engineers read that feedback, and can respond directly. Best of luck.

@wesleyolis
Thanks for the report. This doesn't sound like a documentation issue, so I'm closing it. Warning 4703 isn't guaranteed to be correct. The compiler doesn't do an in-depth analysis of called functions as part of this analysis, which might be in a separate translation unit. It just makes a conservative assumption about data flow in the current function. Without seeing more, I can't be certain, but my guess is the warning arises because the compiler doesn't assume that item is guaranteed to be initialized by the call to findItem.
If you know this code is fine, then you can disable the warning locally by using a warning pragma, or globally on the command line by using the /wd compiler option. (The link also includes directions for use in Visual Studio.) To disable it locally in your source code, use a #pragma warning( push ) followed by a #pragma warning( disable: 4703 ) before the function that causes the error. You can re-enable it after the function by using #pragma warning( pop ). You can disable the warning globally by adding /wd4703 to your compiler command line options, or the equivalent in the Visual Studio Property Pages dialog.
If you think the compiler is doing the wrong thing entirely, then you can use Help > Send Feedback > Report a Problem within Visual Studio to create a bug report. Maybe it really is misbehaving. The product engineers read that feedback, and can respond directly. Best of luck.


Add application pool process model identity

It would be great if while creating an application pool, we could define the process model identity (account + password) in the module.  Any chance of adding that?

Any updates on this?

manage_app_pool.pp:
$processmodelusername = 'user'
$processmodelpassword = 'password'
$processmodelidentityType = '3'
	exec { "processmodelusername-${app_pool_name}" :
            command   => "Import-Module WebAdministration; \$Pool = Get-Item IIS:\\AppPools\\${app_pool_name}; \$Pool.processModel.userName = \"${processmodelusername}\"; \$Pool | Set-Item",
            provider => powershell,

            require => Exec["processmodelidentityType-${app_pool_name}"],
            logoutput => true,
            notify => Exec ["processmodelpassword-${app_pool_name}"]
    }

    exec { "processmodelpassword-${app_pool_name}" :
            command => "Import-Module WebAdministration; Set-ItemProperty \"IIS:\\AppPools\\${app_pool_name}\" processmodel.password ${processmodelpassword}",
            provider => powershell,
            require => Exec["processmodelusername-${app_pool_name}"],
            refreshonly => true,
            logoutput => true,
    }

	exec { "processmodelidentityType-${app_pool_name}" :
            command => "Import-Module WebAdministration; Set-ItemProperty \"IIS:\\AppPools\\${app_pool_name}\" processmodel.identityType ${processmodelidentityType}",
            provider => powershell,
            require => Exec["Create-${app_pool_name}"],
            logoutput => true,
    }

Hi. I'm going to close this Issue. We deprecated the module and the new version is available here: https://forge.puppet.com/puppetlabs/iis


0.7.2 has syntax errors on ruby 1.9.1

I'm running Ubuntu 14.04, the current LTS version.
Running sqlint that uses pg_query fails:
/var/lib/gems/1.9.1/gems/pg_query-0.7.2/lib/pg_query/deparse.rb:2:in
 `require_relative': /var/lib/gems/1.9.1/gems/pg_query-0.7.2/lib/pg_query/deparse/alter_table.rb:31:
 syntax error, unexpected tLPAREN_ARG, expecting keyword_do_LAMBDA or tLAMBEG (SyntaxError)
... many more of this

See http://ruby-journal.com/becareful-with-space-in-lambda-hash-rocket-syntax-between-ruby-1-dot-9-and-2-dot-0/ for more info about this.
It'd be nice if you could make this lib compatible with ruby 1.9.

@cweiske Hmm, good point - let me see if I can make Ruby 1.9 work over the holidays.
If its purely based on the hash syntax it should be possible to revert this to 1.9 style without problems. I'll update this issue once I know more.

FWIW, I was able to get it to load by removing the space between the -> and (, like so:
        AT_AddColumn                 => ->(_node) { ['ADD COLUMN'] },
        AT_ColumnDefault             => ->(node) { ['ALTER COLUMN', node['def'] ? 'SET DEFAULT' : 'DROP DEFAULT'] },

etc.

@dkolbly @cweiske This has been fixed in 0.9.1 and will from now on be tested on Travis as well. Sorry about the inconvenience!


Error Building on Cloudflare

Got the following error trying to build and deploy on Cloudflare

17:51:25.688
[info] [nitro] Building Nuxt Nitro server (preset: cloudflare-pages)

17:51:29.265
[error] [nitro] RollupError: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)

17:51:29.265

17:51:29.265

17:51:29.265
1: �PNG

17:51:29.265
^

17:51:29.265
2:

17:51:29.266
3:  IHDR)�����IDATx�W�cY�څ����i�k�޶L��c�5��dm��x�����f���U�^���=�<'���2��v��nX�0E���h��v* ...

17:51:29.266
[error] Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)

17:51:29.266
at getRollupEror (node_modules/rollup/dist/es/shared/parseAst.js:375:41)

17:51:29.267
at ParseError.initialise (node_modules/rollup/dist/es/shared/node-entry.js:11155:28)

17:51:29.267
at convertNode (node_modules/rollup/dist/es/shared/node-entry.js:12895:10)

17:51:29.267
at convertProgram (node_modules/rollup/dist/es/shared/node-entry.js:12215:12)

17:51:29.267
at Module.setSource (node_modules/rollup/dist/es/shared/node-entry.js:14039:24)

17:51:29.268
at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:18697:13)

17:51:29.268

17:51:29.268
[error] Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)

17:51:29.323
Failed: Error while executing user command. Exited with error code: 1

17:51:29.334
Failed: build command exited with code: 1

17:51:30.443
Failed: error occurred while running build command

Hi !
It seems related to this issue : https://github.com/Gugustinette/Nuxt-Leaflet/issues/9#issuecomment-1936482979
Which was resolved by wrapping the <LMap> component in a <client-only> component.
<client-only>
  <LMap ...> </LMap>
</client-only>

Tried this but still getting the error on cloudflare build

How are you rendering your application ? There are different strategies available so make sure to understand how is your code manipulated by Nuxt : https://nuxt.com/docs/guide/concepts/rendering
If you're only getting this error on cloudflare environments, then I won't be able to help you further as the error really doesn't tell much.

Hi,
had the same issue.
Install @rollup/plugin-image
yarn add -D @rollup/plugin-image

and add this to your nuxt.config.js:
export default defineNuxtConfig({
  nitro: {
      preset: 'cloudflare-pages',
      rollupConfig: {
        plugins: [
            image()
        ]
      }
    },
    // ...
});

rollup does not know how to handle png files without this plugin.
Took me an hour or two to find out that I needed to lookup the nitro documentation...
https://nitro.unjs.io/config#rollupconfig

So this is required to make Nuxt Leaflet work on Cloudflare ?
I'll do some testing and document it, thanks !

As far as I understood, this is more of a nitro requirement. So this could also apply to netlify, vercel, amplify, github pages, ... deployments that use the nitro presets. But I have no experience with those providers, so I can't tell you, if their presets come with image handling out of the box - but I kind of doubt it.
I'm 100% positive though, that this (or an equivalent) plugin is necessary to tell nitro/rollup how to handle the png import statements in the next leaflet library.

Hello,
I'm getting same error.
[error] [nitro] RollupError: node_modules/leaflet/dist/images/marker-icon-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)

con-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
21:11:18.384	  at getRollupError (node_modules/rollup/dist/es/shared/parseAst.js:392:41)
21:11:18.384	  at ParseError.initialise (node_modules/rollup/dist/es/shared/node-entry.js:11170:28)
21:11:18.384	  at convertNode (node_modules/rollup/dist/es/shared/node-entry.js:12915:10)
21:11:18.384	  at convertProgram (node_modules/rollup/dist/es/shared/node-entry.js:12232:12)
21:11:18.384	  at Module.setSource (node_modules/rollup/dist/es/shared/node-entry.js:14076:24)
21:11:18.384	  at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:18729:13)
21:11:18.384
21:11:18.384	[error] node_modules/leaflet/dist/images/marker-icon-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
21:11:18.504	Failed: Error while executing user command. Exited with error code: 1
21:11:18.515	Failed: build command exited with code: 1
21:11:19.898	Failed: error occurred while running build command

Hello,
I'm getting same error.
[error] [nitro] RollupError: node_modules/leaflet/dist/images/marker-icon-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
con-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
21:11:18.384	  at getRollupError (node_modules/rollup/dist/es/shared/parseAst.js:392:41)
21:11:18.384	  at ParseError.initialise (node_modules/rollup/dist/es/shared/node-entry.js:11170:28)
21:11:18.384	  at convertNode (node_modules/rollup/dist/es/shared/node-entry.js:12915:10)
21:11:18.384	  at convertProgram (node_modules/rollup/dist/es/shared/node-entry.js:12232:12)
21:11:18.384	  at Module.setSource (node_modules/rollup/dist/es/shared/node-entry.js:14076:24)
21:11:18.384	  at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:18729:13)
21:11:18.384
21:11:18.384	[error] node_modules/leaflet/dist/images/marker-icon-2x.png (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
21:11:18.504	Failed: Error while executing user command. Exited with error code: 1
21:11:18.515	Failed: build command exited with code: 1
21:11:19.898	Failed: error occurred while running build command

So you tried the previous fix with @rollup/plugin-image and still getting the error ?

For now, we'll keep this as the correct answer :

Install @rollup/plugin-image

npm install @rollup/plugin-image

Configure the plugin in your nuxt.config.ts file

import { image } from '@rollup/plugin-image'

export default defineNuxtConfig({
  nitro: {
      preset: 'cloudflare-pages',
      rollupConfig: {
        plugins: [
            image()
        ]
      }
    }
});

Do not hesitate to re-open the issue if it keeps happening even with the fix.


Conditionaly adding services to router

Feature Request
Motivation
I have a server which will enjoy up to 5 different services, each of which should be able to be enable/disabled at boot time. Currently there seems to be no way to do this without 2^5 different branches.
Proposal
Diesel has a similar problem when conditionally constructing queries, their solution is to provide a into_boxed() method.
A similar method could be added to Router.
A subsequent problem is that there is no way to generate a router with no services from a Server - this would also be required to conditionally add services. This could be done via a into_router() method on the Server.
The potential drawbacks here are that doing this may have unintended overhead due to the required boxing?

So I unfortunately think this is not possible right now due to our https://docs.rs/tonic/0.1.1/tonic/transport/trait.NamedService.html#associatedconstant.NAME trait since it contains a const type. This makes it hard to implement Either for services. We also can't do the same for a trait object since the type system relies upon knowing the type to generate the correct path check.
So to implement this we would need to make a breaking change. So I'm curious if maybe using a macro could help here? If you end up running into many branches you may wan to use another type of router than the one tonic provides.

@LucioFranco I think a macro would be great substitute as long as n isn't too large.
Wondering about another possibility:
Instead of conditionally adding a service X you conditionally switch X out for an "empty service" with the same signature which always returns unavailable (or whatever is appropriate). Does that sound feasible?

I am not sure that will work but I'd be open to a PR for that!


Linux ARM package installer support

@fmcgarry commented on Fri Dec 06 2019
Are there any plans on supporting Linux ARM64 .NET Core installs through a package manager?
I'm running .NET Core on a Debian 9 ARM64 system and it would be nice to be able to install/update it through the package manager instead of having to do manual installs every time.

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

ID: 9c4fb70e-8d93-5890-a259-06ae5f37c994
Version Independent ID: 8846709d-4f43-30f8-3b09-b61dee716b90
Content: Install .NET Core on Debian 9 - package manager - .NET Core
Content Source: docs/core/install/linux-package-manager-debian9.md
Product: dotnet-core
GitHub Login: @Thraka
Microsoft Alias: adegeo

@mairaw commented on Fri Dec 06 2019
@leecow can you help with this question about Linux ARM package installer support?

@leecow commented on Fri Dec 06 2019
@fmcgarry - producing installers for ARM64 is definitely on our list. Can't commit to when but we're in planning exercises for 5.0 now so we'll see if it will fit.
/cc @dleeapho

@mairaw commented on Fri Dec 06 2019
Is there a better repo I should transfer this issue to @leecow?

@Thraka commented on Fri Dec 13 2019
Probably dotnet/core as other issues related to the linux installers are there.

We have some issues tracking this:

arm (armhf) packages are tracked at https://github.com/dotnet/core-setup/issues/4419
arm64 packages are tracked at https://github.com/dotnet/core-setup/issues/4560

Closing because the question's answered (it's on our list) and there are already issues.


How can i change my tag from social-token to utility-token and community token

how can i change my tags on my solana token from social-token to utility-token,community-token i tried changing the json file and than doing another pull request but it failed because i already am using my token address so it wont change it.

@Kameeno

@keone send help haha

please link the PR

please link the PR

https://github.com/solana-labs/token-list/pull/12935

https://github.com/solana-labs/token-list/pull/12935/commits/88e2235323fe0f970a1cfcf22fe4bc31dc0ae34c

https://github.com/solana-labs/token-list/pull/12936

please link the PR

how do i rebase to the main ive been stuck for hours trying to figure out how to merge my changes with the main branch still no luck @keone

would it be better to just delete my repository and start over fresh?

https://github.com/solana-labs/token-list/pull/13083
need to get this done but just stuck

I amn trying also to figure out how to do so:
#13131

#13083
need to get this done but just stuck @keone

added comment in PR


add edmfx buoyancy gradient

Purpose

Add buoyancy gradient calculation. Only BuoyGradMean is added as BuoyGradQuadratures is not used.
To-do

Content

[ ] I have read and checked the items on the review checklist.

If this was copied verbatim and we don't anticipate changing them / names, I would prefer deleting the old methods

I didn't change the old code mostly because I thought we would delete the entire folder after the new EDMF is working. But I am fine with deleting it. @trontrytel What do you think?

Actually, @charleskawczynski We anticipate changing the function to calculate the derivative to enthalpy instead of liquid ice potential temperature at some point. But that would be after the old EDMF is deleted I think.

@charleskawczynski I just talked with Tapio and Anna. We think we may change these functions in the future, and would like to keep the old EDMF for comparison. In that case, would it be ok to keep the old code?

Yes, that's fine

bors r+

bors r+


Replace show/hide list/form/view functionality with pivots

This will break older applications, so saving it for 2.0. All list/form or list/view showing and hiding should be controlled by the pivot.

Fixed with commit d2a6717a77c01d65345ad66d4e2c122496705587


replaceSingleQuotes undefined check

https://github.com/hiddentao/squel/blob/86019b242eb46fc752df473076ae7bfabdbf5a8f/dist/squel.js#L613
I have been having problems where activating the replaceSingleQuotes option throws an exception when passing undefined values as parameters. After checking the source code, I noticed there is no check for an undefined value at the line linked above. Is this intended behaviour? I have to manually put null instead of undefined when passing values to work around this issue.

Yes this is intended behaviour. What are you trying to accomplish?


Missing API for getting available clusters

@andersjohnsen - We are missing a frontend api for getting available clusters. We need this as when we create a new environment, the cluster needs to be specified initially.

This is now available in latest :)


Change cursor to pointer on sidebar icon hover. Closes #1112

Thanks @pmeijer for the suggestion :)


Feature/Add build pipeline

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


missing details on keyvault pre-req's w.r.t. access policy for installing user

i just tried an install based on the doc and it seems that there are undocumented pre-req's for keyvault acceess for the user that is used to do the install.
current paragraph :
An Azure Key Vault that has the Permission model set to Vault access policy. You can check this setting in the Access configuration section of an existing key vault.
BUT .. without creating an access policy for the user that is executing the az iot ops init command, the command fails with an error message, pointing to the ID of the user principal.
after creating an access policy for that user, the install proceeds successfully beyond that respective pre-check.
ASK :
the doc should contain the minimum set of key vault permissions for the access policy to successfully perform the install.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 29921128-fb46-1a38-c832-a49887df3eb0
Version Independent ID: aca6d9bf-b567-692b-ae75-efec339c973b
Content: Deploy extensions - Azure IoT Orchestrator - Azure IoT Operations Preview
Content Source: articles/iot-operations/deploy-iot-ops/howto-deploy-iot-operations.md
Service: iot-operations
GitHub Login: @kgremban
Microsoft Alias: kgremban

@phwecker
Thanks for your feedback! We will investigate and update as appropriate.

@phwecker
I've delegated this to @kgremban, a content author, to review and share their valuable insights.


Users list disapears in French

As per title. Users list works fine in other languages. Affects version 2.3.3.

The workaround for this issue is to remove the apostrophe from the following two properties' values inside ApplicationResources_fr.properties:
user.roles.manager
user.roles.publisher
This French properties file is located inside the deployed IPT war directory here: ../webapps/ipt/WEB-INF/classes After editing the file, restart Tomcat so the change takes effect.
A fix for this issue will be included in v2.4. Sorry for the inconvenience.


Translations fields in fieldNames are not being filtered

I am targeting this branch, because it's the branch where the error is located. It's ok in the equivalent file in 2.x branch.

Changelog

### Fixed
- Typo in variable reference
- Rendering the complete form row (label was being omitted)

## Subject

All fields were being rendered, not only those especified in fieldsNames.
There's an errata in the rendering (an extra 's' in translationsFields).
Also, labels where not being rendered nor row rendering could be customized.

Is there anything I can do to fix the failed checks?

Thanks!


Add dbNSFP option

The changes in this pull request add an optional dbNSFP.hdf5 file to be used for obtaining features. Adding this data source however, limits the number of variants that will pass, since only the ones in dbNSFP have data. For that reason, I made dbNSFP optional.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

76 of 86 (88.37%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 74.463%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

deeprank/operate/hdf5data.py
3
5
60.0%

deeprank/features/dbnsfp.py
44
52
84.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2773

Relevant Lines:
3724

💛  - Coveralls


Developer julian

One error was present
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.egg.sp.entities.Message column: users_id (should be mapped with insert="false" update="false")

To main :c


Fix FMS collate for >9999 files

Closes #309
Modified payu.models.fms.get_uncollated_files to support > 9999 files.
Added tests.

Hello @aidanheerdegen! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file payu/models/fms.py:

Line 67:80: E501 line too long (81 > 79 characters)
Line 71:80: E501 line too long (90 > 79 characters)

Coverage increased (+0.03%) to 42.231% when pulling abfab45eb80b334846a5aec11f791d7eb845d2b4 on issue-309 into 9348acdf92ca18aae229fc06b0b716d4cd85e1aa on master.

As this is currently stopping work I will merge shortly, so speak up if anyone (@marshallward @aekiss ?) spots any problems

looks fine to me @aidanheerdegen


Fix some Russian time translations

Initially selected prefixes (namely "в" and "около") requires objective
case for following time translations, though it is possible to
implement, but it looks like a bit overhead.  New variants should be
fine.

Also, I see further improvement.
lambdaCmsHumanTimeLocale[1] have inlined HumanTimeLocale value.  At least for Russian language I'd prefer to change some defaults, for example thisYearFmt = "%be %e" format will be rendered as Янв 1, which is very unnatural for Russian speaking person, more appropriate would be 1 Янв.  It is not possible to override this, isn't?
I would like to define defaultHumanTimeLocale value and export it (maybe not in Core.Foundation but rather in I18n module).  Then define, say lambdaCmsHTM (lambdaCmsHumanTimeLocale would be much better, but this is already used!) in I18n:
defaultHumanTimeLocale :: (CoreMessage -> Text) -> HumanTimeLocale
defaultHumanTimeLocale rm = …

lambdaCmsTimeLocale :: [Text] -> TimeLocale
…
lambdaCmsHTM :: (CoreMessage -> Text) -> [Text] -> HumanTimeLocale
lambdaCmsHTM rm ("ru":_) = russianHumanTimeLocale rm
lambdaCmsHTM rm _ = defaultHumanTimeLocale rm

Override default value in I18n.Russian (and any other language needed such overrides):
russianHumanTimeLocale rm = (defaultHumanTimeLocale rm)
  { thisYeasFmt = "%e %b"
  , prevYearFmt   = "%e %b %Y" }

And finally update lambdaCmsHumanTimeLocale itself:
-- | Wrapper for humanReadableTimeI18N'. It uses Yesod's own i18n functionality.
lambdaCmsHumanTimeLocale :: LambdaCmsAdmin master
                         => HandlerT master IO HumanTimeLocale
lambdaCmsHumanTimeLocale = do
    langs <- languages
    y <- getYesod
    let rm = unpack . renderMessage y langs
        htl = lambdaCmsHTL rm langs
    return htl

This does not look like breaking change?  If you agree I would be glad to send a pull request.

This does not look like breaking change? If you agree I would be glad to send a pull request.

Does not look breaking and seems useful for Russian. So I'll gladly accept the PR.


chore: add Flake8 linter for Python

Description
Introduces the Flake8 linter to lint the Python code.
Migrations required
YES | NO - If yes please describe the migration.
Verification
Please mention the examples you have verified.

Obsolete as we try Megalinter first. #580


automagically swap the vision mode to the "best" sense available

Right now, if you have darkvision and vision mode is darkvision, everything works fine. same for having darkvision and vision mode basic vision. (the latter one might not make sense though, since darkvision has different rendering than basic vision)
But if you have no darkvision but only one of truesight, devils sight and blindsight (and probably others I didn't check for) and the vision mode is set to the wrong one, you see the creatures but aside of that it's entirely dark. Vision mode needs to be set to the correct sense to work.
examples for blindsight:

ideally we could overlay all senses, but if that's not possible, easiest would be to have an order of "goodness" for the senses. Like if there's truesight for 20 feet, use that first. If there's blindsight for 40 feet, use that for 20-40 feet, if there's darkvision above that, use that outside of the 40 feet. And if there's no way to combine mutliple senses at once, use the best sense available for the range where your cursor is and just overlay the tokens onto that.
On top of that, what's the use of Vision mode Echolocation? There's no detection mode I could set for that.
and as a last one, actually rendering walls perceivable by the given senses, like echolocation, blindsight and so on would be very nice.

In 2.0.0+ the vision mode is set automatically initialized to the one with the largest range with the following priority:
Truesight over Blindsight over Devil's Sight over Darkvision.

In 2.0.0+ the vision mode is set automatically initialized to the one with the largest range with the following priority: Truesight over Blindsight over Devil's Sight over Darkvision.

So 60ft Truesight won't affect vision if I also have 120ft Darkvision? Sounds suboptimal. I'd love a hotkey that, when pressed, automatically swaps to the best sense for the range the cursor is at.

If you select Darkvision as the vision mode, Truesight still affects visibility even if not the selected vision mode. The detection modes detect things (tokens, door controls, notes) independently of the selected vision mode. You can switch between the vision modes via the HUD. The vision mode controls the FOV of the token and the visuals effects.


Update queries after migrating connections to lists

After merging https://github.com/mirumee/saleor/pull/3307, some storefront queries are broken and need to be updated, e.g. GET_PRODUCT_DETAILS query.

Resolved in #154


Fix newly reported clippy errors

As reported by clippy, variables can be used directly in the format! string.

Thanks, looks good to me! I saw you force pushing a new one a few times. Ready to merge now?

Thanks, looks good to me! I saw you force pushing a new one a few times. Ready to merge now?

Yes. I missed a few things repeatedly, because my tools are different version than the server test suite, but now it's finally green.

Great! Merging now.


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 76b1840:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

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


Add documentation for "NULL" cipher and digest algorithms.

Fixes #20340

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

At least in 1.1.1 there is an EVP_enc_null()

This refers to EVP_CIPHER_NULL.
Would 'The provider NULL cipher was ...' be sufficient here?

I dont think we should be leaving history sections out anywhere.

Would 'The provider NULL cipher was ...' be sufficient here?

This would be okay if the same is added for all other algorithms.  Having history for just these two when we don't everywhere else is wrong.

You can end up with 20 year old files with no history if you take the 'lets not add history approach'

As noted: add the history globally.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged to all three branches.


[Docs] botogram.Message does not have id property

The documentation of the class is outdated, the class has a property of message_id instead of id.

Hi, it's not outdated. Message.message_id is the one who is deprecated, not viceversa.


Leanpub Rendering -- Try to fix bullet points and other formatting things

Purpose/implementation Section
What changes are being implemented in this Pull Request?
This is the second PR of trying to incorporate the edits suggested by @carriewright11
Only problem is I will not 100% know if this fixes the Leanpub render until I get it there. In Markdown and Bookdown it looks just fine. ¯_(ツ)_/¯

Here goes nothin'


Upgrade to map SDK v4.0.0

This project should be upgraded to use map SDK v4.0.0. Upgrading will primarily entail rewriting occurrences of MGLStyleValue to NSExpression.
/cc @jmkiley

https://github.com/mapbox/mapbox-plugins-ios/pull/21


Write transaction isn't ended

How frequently does the bug occur?
Sometimes
Description
While using the method
func write<Result>(withoutNotifying tokens: [NotificationToken] = [], _ block: (() throws -> Result)) throws -> Result
it sometimes leaves the realm in active write transaction after execution.
Stacktrace & log output
No response
Can you reproduce the bug?
Yes, sometimes
Reproduction Steps
If error happens during the write transaction (may be when the memory allocation fails) the realm is left in active write transaction, so the next transaction begin crashes. I'm only using
func write<Result>(withoutNotifying tokens: [NotificationToken] = [], _ block: (() throws -> Result)) throws -> Result
method for write transactions, and the place that crashes looks like
serialQueue.async {
  do {
    let realm = try Realm(configuration: configuration)
    try realm.write {
      // perform some stuff here
    }
  } catch {
    print(error)
  }
}

so there's no way to already be in write transaction here.
Version
10.27.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS 14/15
Build environment
Xcode version: 13.3
Dependency manager and version: 1.11.3

Hi @PavelKandratsyeu ,
Could you please share any crash logs?
What is Realm configuration looks like?

Sorry, but this crash can't be found in xcode, and in crashlytics the realm part of stack trace isn't symbolicated. So I can't provide a useful stack trace for now. In logs we have mmap() failed: Cannot allocate memory size: 25165824 offset: 67108864 right before the issue occurs, so this might be the reason. The realm configuration looks like
static func realmConfiguration(_ userId: Int) -> Realm.Configuration {
    var config = Realm.Configuration()
    config.fileURL = config.fileURL!.deletingLastPathComponent().appendingPathComponent("\(userId)" + ".realm")
    config.migrationBlock = migrationBlock // it isn't called in the use case the crash occurs in
    config.schemaVersion = schemaVersion // 27
    config.objectTypes = objectTypes // an array of object types here
    return config
  }

Maybe this information will be useful
2022-06-10 13:32:53.932022+0300 MyNetDiary[3076:931480] *** Terminating app due to uncaught exception 'RLMException', reason: 'mmap() failed: Cannot allocate memory size: 19922944 offset: 67108864'
*** First throw call stack:
(0x1803e804c 0x198a5cf54 0x109d64a1c 0x108d75d30 0x10136f9ec 0x1011bece0 0x101036184 0x100c42b38 0x10924c6d4 0x10924e3b4 0x109256540 0x109257290 0x109263e20 0x1f06fa0f4 0x1f06f9e94)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/usr/lib/libMTLCapture.dylib
*** Terminating app due to uncaught exception 'RLMException', reason: 'mmap() failed: Cannot allocate memory size: 19922944 offset: 67108864'
terminating with uncaught exception of type NSException

If error happens during the write transaction (may be when the memory allocation fails) the realm is left in active write transaction, so the next transaction begin crashes.

There is a specific isInWriteTransaction error that would throw a detailed error message. So it's curious you're getting an mmap() failed. This looks partly similar to #7814 , except they're using asyncWrite. Some kind of realm file version must be pinned somehow, somewhere.
Not sure exactly sure how or where yet.

There is a specific isInWriteTransaction error that would throw a detailed error message.

3 in the stack trace looks like this, by the way -- Realm.swift:260. So the write transaction would have been left open previously(?)


Fix perfect-scrollbar to 1.5.5

What it does

Increase version to 1.56.2
See https://github.com/eclipse-theia/theia/issues/14586
How to test

Review checklist

[x] as an author, I have thoroughly tested my changes and carefully followed the review guidelines

Reminder for reviewers

as a reviewer, I agree to behave in accordance with the review guidelines

I had the same during the release a few days back: https://ci.eclipse.org/theia/job/Theia2/job/master/
Retriggering did the trick. Can we go ahead and try the master build?
If it goes wrong nothing gets published anyway.

Fine for me, but I think it's different now. It can't find Git, so it can't even check out this branch, whereas on master it just failed later during the build.


[REVIEW] Resume Review

Resume link:
Can you review my resume? thank you

Few grammatical changes and semantic changes which I think makes it sound more professional
I'm contributing to open-source on a daily basis.
During my internship, I worked on the dashboard ~side of the~ for Radiolize. I used Vue.js and Bootstrap in this project. ~On the other hand,~ I also ~was~ worked ~in~ upon the settings and setup of IoT devices.
Also you should explain what Radiolize is

Thank you for your contribution. I changed it :smiley:

Thank you for sharing, we will review on a live stream soon 👍 . Great to see you are already getting community feedback 💥

Try to use the space in Left
Can avoid using I in Who I am  so many times !!
You can try changing some font size so can be diffrentiated

As a UX designer, I think it looks better to add link color just to distinguish other text from the hyperlinks.

Reviewed on live stream https://www.youtube.com/watch?v=8SmgE7X9yHg
Looks good, some of our thoughts

Large ST looks great! Suggest maybe having a profile photo there
Maybe group the sills together (databases, frontend ...)
Really looks nice and clean

Thank you guys reviewed my old resume ❤
I am gonna update and share it again.


License question

I saw that you added a license, and wanted to make sure you were aware the Creative Commons organization itself explicitly recommends not using their licenses for software (https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software).
The Yohei's Baby Agi project that you mention in some of your PRs is MIT licensed. Using the same license as that project will increase the ease with which features can be ported between the projects, increasing the speed of adoption of your project. It's also one of the most popular open source licenses which means basically all organizations have policies in place for using MIT licensed code.
It's certainly 100% your choice what license to choose, including having the freedom to choose a non-standard license (like Creative Commons) or a more restrictive license like one of the GPL variants, but you should be aware that doing so will greatly reduce adoption of the project because of the number of organizations that have restrictions prohibiting their engineers from using code licensed other than with MIT, BSD-2, or Apache. My view is the project you've launched here is extremely important and should be licensed with MIT, like Yohei's Baby Agi, because that's by far the most common license choice for projects in the NodeJS/TypeScript ecosystems, guaranteeing that it's a license all developers and all organizations involved in the project will be comfortable using.
License choice mattera and Is hard to change once a project has a lot of contributors. The NodeJS/TypeScript ecosystem is almost entirely an MIT-licensed ecosystem. This project is new but it's too important to leave hampered with a non-standard license.

Appreciate your thoughts @yoDon -- went ahead and refactored some things and applied an Apache 2.0 license to the base code.
I feel Apache 2.0 is the most compatible with my personal views on software licensing. Free (as in free!) Software FTW!


couchdb does not stop growing and occupy my entire hard drive.

I'm using couchdb with lucene, I've noticed that my server has crashed many times because it takes up the entire disk space.
I have invented a "solution" and it is a programmed task that "compresses" the databases, however, it has happened to me again ... the server has been crashed. What else can I do to prevent this from happening?
My solution:
$alldbs = json_decode(file_get_contents("http://MyIP:5984/_all_dbs"), true);
$exceptdbs = ['_replicator', '_users'];
foreach ($alldbs as $db)
{
	if(in_array($db, $exceptdbs)) continue;
	$ch = curl_init();
	$header = array('Content-type: application/json','Accept: */*');
	curl_setopt($ch, CURLOPT_URL, 'http://MyIP:5984/'.$db.'/_compact');
	curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
	curl_setopt($ch, CURLOPT_USERPWD, 'admin'.':'.'MyPass');
	$response = curl_exec($ch);
	$response = json_decode($response, true);
	curl_close($ch);
}

UPDATE:
I updated version 2.2 to 2.3 and configured local.ini:
[compactions]
_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "08:00"}, {strict_window, true}]

How to can I check if this code work?

Is not a bug? https://github.com/apache/couchdb/issues/1579

@carlosibex You upgraded, so you are no longer running into that bug.


Refactor header component styles

Description
This PR performs a deep dive on the CSS for the header and its various components. These styles have accumulated over time, with many rules applied in multiple instances, needlessly set or unset, or not inheriting values where they could.
This PR also fixes the issue where overflowing navigation items don’t get rolled up into the dropdown menu on desktop (I will pull this into a separate, non-breaking PR).
There are following modifier classes are no longer needed:

.nhsuk-header__logo--only
.nhsuk-header__transactional--logo

There are a few stylistic changes too:

The ‘More’ button is no longer underlined (it’s not a link, it doesn’t go anywhere, so I think is makes sense)
The padding is now equal on all sides (nhsuk-spacing(3), 16px v 20px); this saves space and uses a defined value.
The bottom border on the drop-down menu is now darker, so that it’s not the same colour as the default page background
On desktop, items in the drop-down navigation are no longer centred
The font size for organisation names as been changed, with a larger minimum font size; changes in other spacing means this shouldn’t add much to the overall header height

There are 43 updated backstop images; reviewing these I think demonstrate how these changes should hopefully be for the better.
Checklist

[ ] Tested against our testing policy (Resolution, Browser & Accessibility)
[ ] Follows our coding standards and style guide
[ ] CHANGELOG entry

Tests failing due to fix for overflowing navigation items on desktop; will address in separate PR.


log svc addr

log the address for the health and metric service on start and stop
make logging consistent
update dependencies

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

0 of 18 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service_manager.go
0
18
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
365

💛  - Coveralls


Order of columns returned alphabetically, which does not match query SELECT order

Howdy, I was trying out Clickhouse before potentially adding it as a backend for a different package, and I noticed that the order of columns in the df does not match the select statement. Is this something specifc to clickhouse // is there a way around this? It returns the alphabetically..
Thank you
query = """
SELECT model, hp, mpg FROM mtcars2
"""
select_df(conn,query)

32×3 DataFrame
 Row │ hp     model               mpg
     │ Int32  String              Float64
─────┼────────────────────────────────────
   1 │   150  AMC Javelin            15.2
   2 │   205  Cadillac Fleetwood     10.4
   3 │   245  Camaro Z28             13.3
   4 │   230  Chrysler Imperial      14.7
   5 │    93  Datsun 710             22.8
  ⋮  │   ⋮            ⋮              ⋮
  28 │    91  Porsche 914-2          26.0
  29 │    65  Toyota Corolla         33.9
  30 │    97  Toyota Corona          21.5
  31 │   105  Valiant                18.1
  32 │   109  Volvo 142E             21.4

I figured out a way around this for TidierDB.jl, so I've added it as a backend and it's great thx.
I'll leave this open and it's up to you all if u want to close it or not. I'm fine either way.


Reconsider returning the configured undefined for else-less ifs

(I would have just commented on #710 but it's locked)
The current behavior of always returning stock Undefined, regardless of the configured undefined class, is highly surprising. I understand the wish to be able to write {{ 'foo' if false }}, but we use a lot of if clauses for setting variables or function parameters, and I would not have expected to find Undefined instances when having undefined set to another class.
I suggest to either return a different value depending on the context (this is probably difficult or at least annoying to implement), or always return a defined value like None.

@ThiefMaster can you comment/decide on this?

See #1079 for details. Initially I had configured it to be configurable, but then we decided to keep it simple and use standard Undefined for this particular case.
Can you come up with an actual example where this is a problem for you?
I think {{ 'foo' if false }} should never be a problem, because getting a different Undefined there would not give you any benefits.
Are you doing something like {% set foo = 'foo' if false %}? If yes, I'm not even sure if that should be allowed at all - the shortcut makes sense for display purposes bug in assignments (or function calls) it looks like something that's pretty much always not intended.

I do like the explanation in the changelog for that PR:

omitting the else clause is a valid shortcut and not actually an undefined variable that should cause an error

Hard to believe that was all the way back in 2019! I'm personally fine with the current behavior. Perhaps we need to add more explanation to the docs?


Reliable exporting and importing for backup and restore

Corner case 1:
The IPynb below is made in VSCode. But once imported into Codepod,

all source code is gone.
HTML is not properly rendered.

        English   \n",
       "3  News, Wikipedia, Law, Justice, History, Histor...        English   \n",
       "4  News, Wikipedia, Law, Justice, History, Histor...        English   \n",
       "\n",
       "  Output Language  \n",
       "0         English  \n",
       "1         English  \n",
       "2         English  \n",
       "3         English  \n",
       "4         English  "
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Translation                            394\n",
       "Question Answering                     207\n",
       "Program Execution                       90\n",
       "Question Generation                     83\n",
       "Sentiment Analysis                      75\n",
       "Text Categorization                     46\n",
       "Text Matching                           43\n",
       "Toxic Language Detection                40\n",
       "Misc.                                   37\n",
       "Cause Effect Classification             37\n",
       "Information Extraction                  34\n",
       "Textual Entailment                      27\n",
       "Wrong Candidate Generation              27\n",
       "Named Entity Recognition                25\n",
       "Commonsense Classification              24\n",
       "Fill in The Blank                       22\n",
       "Text Completion                         21\n",
       "Sentence Composition                    20\n",
       "Title Generation                        19\n",
       "Summarization                           16\n",
       "Question Understanding                  16\n",
       "Sentence Perturbation                   15\n",
       "Language Identification                 15\n",
       "Coreference Resolution                  14\n",
       "Answerability Classification            14\n",
       "Dialogue Generation                     13\n",
       "Paraphrasing                            12\n",
       "Text Quality Evaluation                 12\n",
       "Text to Code                            12\n",
       "Question Rewriting                      11\n",
       "Pos Tagging                             10\n",
       "Word Semantics                          10\n",
       "Linguistic Probing                       9\n",
       "Story Composition                        9\n",
       "Speaker Identification                   9\n",
       "Data to Text                             9\n",
       "Word Analogy                             8\n",
       "Negotiation Strategy Detection           7\n",
       "Gender Classification                    7\n",
       "Stereotype Detection                     7\n",
       "Answer Verification                      7\n",
       "Dialogue Act Recognition                 7\n",
       "Coherence Classification                 6\n",
       "Explanation                              6\n",
       "Ethics Classification                    6\n",
       "Intent Identification                    5\n",
       "Mathematics                              5\n",
       "Sentence Ordering                        5\n",
       "Keyword Tagging                          5\n",
       "Word Relation Classification             5\n",
       "Text Simplification                      4\n",
       "Code to Text                             4\n",
       "Dialogue State Tracking                  4\n",
       "Stance Detection                         3\n",
       "Section Classification                   3\n",
       "Grammar Error Detection                  3\n",
       "Fact Verification                        3\n",
       "Number Conversion                        2\n",
       "Style Transfer                           2\n",
       "Speaker Relation Classification          2\n",
       "Grammar Error Correction                 2\n",
       "Overlap Extraction                       2\n",
       "Irony Detection                          2\n",
       "Question Decomposition                   2\n",
       "Discourse Relation Classification        1\n",
       "Discourse Connective Identification      1\n",
       "Preposition Prediction                   1\n",
       "Entity Relation Classification           1\n",
       "Entity Generation                        1\n",
       "Sentence Expansion                       1\n",
       "Paper Review                             1\n",
       "Sentence Compression                     1\n",
       "Spam Classification                      1\n",
       "Spelling Error Detection                 1\n",
       "Punctuation Error Detection              1\n",
       "Poem Generation                          1\n",
       "Name: Category, dtype: int64"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.set_option(\"display.max_rows\", None)\n",
    "df['Category'].value_counts()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.6"
  },
  "orig_nbformat": 4
 },
 "nbformat": 4,
 "nbformat_minor": 2
}

Corner case 2:
The attached Ipynb (filename changed from ipynb to txt)
is exported from this Google CoLab notebook.
Once imported to Codepod,

The order of cells are wrong sometimes.
Some cells overlap with each other.
Some cells are imported more than once.


Add functionality to get model names

To execute search we need to provide target object where the search of either attributes or objects starts from.
To execute the search on the whole model we need to provide its name as the target object, e.g.: Models/MyModel.
There could be multiple models in the database. Currently it not possible to list them from Python SDK level.

Resolved by #363

This requires Mesh 2.10.


Set TCP_NODELAY

We have faced the same issue as described here: https://github.com/tpolecat/skunk/issues/450
I propose to set this option, it avoids a 40ms penalty in each round trip to the server.
btw, would you also take an identical PR for the 0.0.x branch ?
Thanks
fixes #450

Thanks. Are there any times that you would not want this option? i.e., should it be configurable?

And yes, assuming this works out I can take a PR for 0.0.x, but only if you know of someone who needs it. I think most users have upgraded to CE3.

I don't know whether some people could not want this. But in our case at least, it just seems to be  a much better default.
I quote the details from https://mysteries.wizardzines.com/50ms-request.html because I can't make a direct link to the answer:

This bug seems obscure if you haven't seen it before, but it's relatively common! It can happen any time a client is sending two small packets immediately followed by reading a response.Here are 5 blog posts talking about the same bug:
40 milliseconds of latency that just would not go away
Why you should understand (a little) about TCP
In search of performance - how we shaved 200ms off every POST request
40 millisecond bug
TCP Performance problems caused by interaction between Nagle’s Algorithm and Delayed ACK
A "magic number" for this bug is 40 milliseconds — that's the delayed ACK timeout. But like you can see in the "how we shaved 200ms off every POST request" blog post above, it can also manifest as a 200ms delay in some cases.
Because of this issue, a lot of programming languages (including Python, Ruby, and Go) set TCP_NODELAY on every TCP connection by default to disable Nagle's algorithm.
Also, the Linux kernel doesn't always enable delayed ACKs — to reproduce this I actually had to write a Python program that explicitly turns them on. I haven't been able to find a clear explanation of exactly when delayed ACKs are used.

AFAIU there is no pipelining in skunk yet, so this makes this issue much more visible.
 Thanks!


Congratulations on being accepted by CVPR！ I'm looking forward to your open source code.

Thanks very much. We are working on code refactor and  will release it at most end of March, including the SOTA performance of Waymo LiDAR Object Detection, NuScenes LiDAR Object Detection and BEV Map Segmentation.  :)

Code has been released.


Update change log headers based on guideline update

Updates based on https://github.com/Azure/azure-sdk/pull/3103

Renamed "Key Bugs Fixed" to "Bugs Fixed"
Renamed "Fixed" to "Other Changes"

Added a warning in validation if at lease one of the recommended
headers aren't used.
Fixes https://github.com/Azure/azure-sdk-tools/issues/1728

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Unclear how to iterate over all PRs

I'm not sure what this means in the readme:

To ensure that check can iterate over all PRs, you must explicitly define an out for the PR.

I can update the docs on that but the most important bit is:

It is important to specify version: every, otherwise you will only ever get the latest PR.

Yep, I read both those things, read the examples you had. I figured version: every is all I needed, but wasn't sure.

Great! Sounds like your issue is resolve. Going to close the issue.

@jtarchie did you update the docs? Or did you want me to submit a PR for that?


Fix for indefinitely converging privileges when granted all and/or on all databases

Fixes Issue #155.
When database_mysql_user resource grants privileges on all databases and/or grants all privileges on particular one, checking if current privileges are correct doesn't work. This causes resource to converge on every chef run. Proposed fix makes mentioned cases to be handled correctly.

:+1: Can this be merged?

@RobertNorthard this PR only partially fixes the issue of cookbook not being idempotent. The following PR completely fixes the issue: https://github.com/opscode-cookbooks/database/pull/161 See issue #159 and #160

+1 to this! I would like to be able to grant the repl_client privilege. Thanks!

merged #161 instead. Thanks everyone


Training time?

Interesting work!
Can you tell me about the training time? (and the corresponding GPU used for training)

Thank you for your interest in our work :)
Training PiCIE for the main benchmark takes about 11 hours on a single V100.

Thank you for your quick response :)


Fix platform specific test

While doing https://github.com/joel-costigliola/assertj-core/pull/759, this test was failing on my side (I am using Windows :)). This fixes the test (it makes sure that it uses %s instead of \n

:+1:


Start of docs branch. gulp task added (gulp docs) that:

DOES:
Do a gulp build
package everything under examples
push that to the gh-pages branch
BUT..
index.html refs ./examples/build/app.js (etc)
our folder structure is ./build/app.js (etc) < so needs to be manually edited
(err, and jshint means the build fails, so sort of need that fixed 1st!)

has been cherry picked


Scsb full dump is missing dump files

There are still samba share permission issues. In this case deploy doesn't have write permissions on /data/marc_liberation_files/scsb_update_files/


Add support for weighted resource records (route53)

I would like to see support for route53 weighted resource record sets.
We are in the process of moving from a single kubernetes cluster to multiple clusters and it would seem like it's necessary to support something beyond basic resource record sets to make this viable.
For example let's say we deploy our www service to both of our production kubernetes clusters and we end up with 2 ELB's serving our www site.   To be able to expose these two ELB's to a user by the friendly name www.coolcompanyname.com I would need to use something beyond the basic record set.    In AWS land via route53 I could define 2 different records both of which are the name www.coolcompanyname.com but each record points to a different ELB.
So my record sets would be like this

Name: www.coolcompanyname.com
Type: A/Alias
Target: xxx1.elb.amazonaws.com
Routing Policy: Weighted
Weight: 50
Evaluate Target Health: Yes

Name: www.coolcompanyname.com
Type: A/Alias
Target: xxx2.elb.amazonaws.com
Routing Policy: Weighted
Weight: 50
Evaluate Target Health: Yes

In the above scenario when an IP is looked up for www.coolcompanyname.com the results will be the IP associated with xxx1.elb.amazonaws.com or xxx2.elb.amazonaws.com.   In the scenario that the ELB xxx1.elb.amazonaws.com or xxx2.elb.amazonaws.com is unhealthy users will not be given IP's for the unhealthy ELB.
I assume users who are running multiple clusters will need something like this to get traffic flowing into all of the clusters.    While my example is AWS route53 specific I'm thinking this would apply to ppl using google cloud as well.

@someword Thanks for your input.
We have weighted records in mind but no timeline yet. Here are a couple of thoughts, feel free to chime in on any point.

I would like to add support for multiple targets per hostname first

allowing a single Endpoint to have multiple Targets, then we could add weight stuff in there.

Having this functionality in a single cluster makes sense, too, so this should be tackled first.
Having this functionality across clusters (i.e. multiple instances of ExternalDNS) adds some more difficulties due to ExternalDNS's ownership model

if you want to have two instances work on the same records, you'd have to give them the same ownerID, but then one instance would remove records from the other cluster.
you could come around this by using the upsert-only policy (I think), but then you'd miss the cleanup functionality.
maybe we need to introduce something else to make this possible.

We have weighted records in mind but no timeline yet. Here are a couple of thoughts, feel free to chime in on any point.

Understood.  I didn't see it called out in any issues so I just want to start the dialogue.    Depending on how complex it will be I was thinking of making a run at the work myself.

Having this functionality in a single cluster makes sense, too, so this should be tackled first.

That makes sense.

maybe we need to introduce something else to make this possible (possibility for multiple-owners maybe?)

From looking at the docs I thought I would be able to do the following to support multiple clusters.
--txt-owner-id=$KubernetesCluster
Where $KubernetesCluster is cluster-id of the cluster where a given instance of external-dns is running.  So if I had 2 clusters with the cluster-id's of us-east-1-int-services and us-west-2-int-services I would set the owner-id flags in the deployment manifests like so.
--txt-owner-id=us-east-1-int-services
and
--txt-owner-id=us-west-2-int-services
Am I misunderstanding how this would behave?
Thanks!

Am I misunderstanding how this would behave?

That is correct. But in this case you want both instances of ExternalDNS to mess around with records of e.g. "foo.example.org". Currently, one cluster, whoever comes first would grab it and the other cluster wouldn't be able to add its service.
That's why it could make sense to have a "cooperating" ownership. Given cluster A and B with corresponding owner-A and owner-B ExternalDNSs running in them, ExternalDNS A would append its services to records labelled with owner-A and owner-B, but not to records labelled with only owner-A or owner-C. However, I think cleaning up records won't work with that either.

That is correct. But in this case you want both instances of ExternalDNS to mess around with records of e.g. "foo.example.org". Currently, one cluster, whoever comes first would grab it and the other cluster wouldn't be able to add its services.

Ok - i had not thought about that.
Not sure if this is too simplistic but what about something like this.    For advanced records which support more than 1 entry for the same name.    Set the value of the Set ID to the value of the owner-id.     This way we could look at a the records and know that if the weighted record for "foo.example.com" exists but the "Set ID" is a different owner then I know I can create another record.
So given owner-A and owner-B and the domain "foo.example.com".   On the cluster where owner-B is running it creates the record first and sets the "Set ID" value to owner-B.   The owner-A instance checks to see if a record for "foo.example.com" with the "Set ID" of owner-A exists.  It does not so it creates the record and txt record.     As a side note txt records can be created as "weighted" records so we could have a one to one mapping of TXT/A records and it's the "Set ID" in both the TXT and A record that associate themselves with each other and an eternal-dns instance.
Does this seem like it would help with identifying record ownership?

The problem with "collaboration" of multi-cluster external-dns instances lies in the operational plain, as well as introduces difficulty in implementation. For example, if I am the owner of the cluster and I have a service using foo.example.org and then the owner of another cluster who I happen to share my DNS provider with wants to use the same DNS name foo.example.org should not be allowed to do so, unless it is explicitly indicated that the my record can be "weighted". This can be achieved with annotations on the record, e.g.:

no external-dns.alpha.kubernetes.io/weight-scope annotation - only create record if there is none, if create then create a record which cannot be weighted
external-dns.alpha.kubernetes.io/weight-scope=cluster - create weighted record by default and allow any other record within the same cluster reuse and add another record to the weighted set.
external-dns.alpha.kubernetes.io/weight-scope=global - maintains a TXT record with multiple owners (possibly from different clusters) - TXT only removed if there is only one RecordSet left.

The key in knowing if record can be added can be stored again in the TXT record which we are planning to use to store more metadata (more than just owner-id) and it can include the scope as set by external-dns instance who created the record last.
The operational problem exists to make sure that two external-dns are running with compatible versions and same --txt-prefix flag, and in general will require a lot of testing and may prove to be prone to user errors.  I agree with @linki that this feature should first be targeted to a "single cluster" scenario and then we can tackle multi-cluster setups.

Somewhat dependant on https://github.com/kubernetes-incubator/external-dns/issues/239

also requires r53 health checks to make sense, for now we manage these through a terraform module with the work around suggested here https://github.com/kubernetes-incubator/external-dns/issues/440

/remove-lifecycle stale

Would love to see this in upcoming releases soon :)


After I changed the SSID and password, SSID became invisible and blue light started blinking

The device came pre-installed. It worked correctly until I changed the SSID and password. The the SSID became invisible and blue light started blinking and I could not use it anymore.
I tried reflashing it using the procedure proposed here : https://github.com/exploitagency/ESPloitV2
I had no error message installing the loader, the ESP flashed correctly as well as the third code (no error message) but the device is still not working
.
I tried erasing the internal memory by flashing a 4MB blank file before flashing the ESP code. It does not work either. I tried installing a release binary (ie not compiling the ESP code myself) and it does not work either.
What did I do wrong ? Is there a bug in the code when you change the SSID name ?

Ok, I flashed it using NodeMcuFirmware Flasher and 57600 bauds speed, and it worked.
IMHA the only things that need to be fixed is
1 - mentioning the limited speed in the flashing manual, and maybe the need the clear the flahs when re-installing
2- fixing the bug that bricks the WHID when changing the settings. What I have done is changing the arduino code to choose a different default name.

I am facing same problem :(

same problem here

@vcchm thanks! it worked!

@vcchm @unbaiat can you explain how you solved this? I just got 2 devices ... changed the ssid and pass and both lost the SSID. I don't see any ssid for these anymore. You mention re-flashing ... if so what file do I re-flash and how exactly. Thanks

@aruso If you've locked yourself out with an invalid network configuration then first try a soft config reset over serial Software Unbrick & Reset to Default Configuration

Tried that but it didn't work ... And neither does flashing ... I have 2
devices like this... Both stopped working after a basic change and now are
useless. Very flaky.
On Mon., Apr. 8, 2019, 7:02 p.m. jfrmilner<EMAIL_ADDRESS>wrote:

@aruso https://github.com/aruso If you've locked yourself out with an
invalid network configuration then first try a soft config reset over
serial Software Unbrick & Reset to Default Configuration
https://github.com/whid-injector/WHID/wiki#software-unbrick--reset-to-default-configuration
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/whid-injector/WHID/issues/42#issuecomment-481038789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABr0qkwhDLQ5Ds6wul-dDEeK7x3L8Ckuks5ve8p5gaJpZM4bkyfd
.

the hard reset feature is clear. if you are not able to flash a fw... don't even buy an opensource hacking device.


small file upload: division by zero..

pre-release version of dash-uploader 0.7.0, trying to upload a small jpeg image:
File "dash_uploader/callbacks.py", line 39, in wrapper
status = UploadStatus(
File "dash_uploader/uploadstatus.py", line 67, in init
self.progress = uploaded_size_mb / total_size_mb

ZeroDivisionError: division by zero

Thanks for filing the issue @afkrause ! This should be a really easy fix.


Extract send deposit email (status) to send_email job

Currently, we have the send status email as part of the fetch_status process.
Due to performance issues, we want to have them separated, similar to send_emails process.
we want to have a process called send_status_process, that runs on new statuses, and figures out whether an email should be sent.
An email should be sent if:
It's the first status in the category
User is subscribed to that plan

@GalGend i have code in pr that changes this process, can we merge first?
we can turn off the feature if u want


Youtube allow fullscreen

Is it possible to enable the fullscreen button in youtube embedded video's? Since it does not seem to be possible according to the code, if I read it correctly.

@lineke Moin Moin. You can pass options  as arguments in .load() function, see example here. It supports anything that youtube supports.
https://codepen.io/shobhitsharma/pen/gOLOYWP

@lineke Moin Moin. You can pass options  as arguments in .load() function, see example here. It supports anything that youtube supports.
https://codepen.io/shobhitsharma/pen/gOLOYWP


Delete .gitlab-ci.yml

No longer needed since this is using github actions

All the checks in gitlab have been migrated over


Microsoft.Kernel Memory.Search.SearchClient[0] No memories a

Hi,
i clone the repository and I insert the my configuration ( azureOpenAI) and storage, vector and queue (Local Disk).
I load the document (docx) and i recived always the response warn: Microsoft.KernelMemory.Search.SearchClient[0]
No memories available , why ?
Thanks

What parameters are you using when invoking the ask endpoint?

Thanks :)


Issue #781 - Smart Money Concept (smc) indicator

Added

Added a new file smc.py in the pandas_ta/momentum folder for the Smart Money Indicator (SMI).
Included smc in the pandas_ta/__init__.py for module-level access.
Added def smc(self, fast=None, slow=None, signal=None, scalar=None, offset=None, **kwargs): to pandas_ta/core.py for core functionality of the SMI/ SMC

indicator.
Created tests for the SMI indicator in tests/test_ext_indicator_momentum.py.
Created tests for the SMI indicator in tests/test_indicator_momentum.py.

Fixed

Ensured all tests pass after adding the new indicator and its corresponding tests.

Hello @Adewale-1,
Thanks! If you get a chance, could you resubmit based off the  development branch? If not, no worries, I will do the migration when I get a chance. 😎
Kind Regards,
KJ

Sure , will do that

Closing since you made a development PR.


How to plot image in ipdb mode

How can I plot image in debug mode?
Here is my sample code:
[x,y] = np.meshgrid(np.linspace(-wDeg/2,wDeg/2,nPix),np.linspace(-wDeg/2,wDeg/2,nPix))
plt.imshow(x)
plt.show()
plt.pause(1)

The image show like this...
https://ppt.cc/fqNoox
Pycharm can show correctly but I like spyder more!

I can get the plot to work fine, but it doesn't update until you step past plt.pause(1).  You shouldn't need the plt.show.
Unfortunately, the plots are only interactive (zooming and panning) for the duration of the pause.
This is my special ipdb ploting line plt.figure();plt.imshow(x);plt.pause(1)

You need to precede your plot command with the %plot magic, like this
 ipdb> %plot plt.plot(range(10))

However, this only works when the Matplotlib Inline backend is active (it doesn't work with other backends). So be sure of activating it in
Tools > Preferences > IPython console > Graphics > Backend

@ccordoba12 Hello. When I try to use %plot magic function my console is throwing an error saying
"*** IPython.core.error.UsageError: Line magic function %plot not found"
I'm using Spyder verision 4 and Python 3.7. I definitely set the Matplotlib Inline backend active. Any tips please?


GCP Authentication Filter: Update the API proto for audience.

map is not necessary for the audience url (the key is currently a fixed string anyway).  The audience URL is going to be provided to the filer extension through cluster's typed_filter_metadata and it is unique to each cluster.  So its uniqueness is already guaranteed.
Signed-off-by: Tianyu Xia<EMAIL_ADDRESS>

/assign @yanavlasov. PTAL as well. Thanks!

/assign @yanavlasov
PTAL. Thanks!

@yanavlasov ping!


Refactor main components using Comp API part 2

@ChaituVR can you help me test this and specially the Topnav component with a custom domain

You can edit domains.json file in local and add "localhost": "yam.eth" to test custom domain

@ChaituVR thanks that worked! Please approve after testing it yourself


Update Ubuntu 2022-08-31

Update Ubuntu to latest published rootfs tarballs as of 2022-08-31.

/cc @woky


Move patch_save to finalize_class so it works on models with save() methods

Problem
This fixes a regression added by #350. There is currently a non-deterministic failure to apply FieldTracker.patch_save() to models that have their own save method. For example:
class Tracked(models.Model):
    tracker = FieldTracker()
    def save(self, *args, **kwargs):
        super(Tracked, self).save(*args, **kwargs)
print(Tracked.save)
# May print correctly:
# <function model_utils.tracker.FieldTracker.patch_save.<locals>.save(instance, *args, **kwargs)>
# Or may print incorrectly:
# <function Tracked.save(self, *args, **kwargs)>

If patch_save fails, then the field tracker doesn't properly reset after calling save.
The reason for this nondeterminism is that Django's ModelBase metaclass (prior to 2.2) copies attributes to the model in dictionary order, so the patch_save() call in FieldTracker. contribute_to_class only lasts if 'save' happens to come before 'tracker' in the attr dictionary's keys.
(Here's the Django code prior to 2.2, and the new Django 2.2 code that coincidentally happens to fix this bug by copying attributes in a different order.)
Solution
This PR moves the patch_save() call to finalize_class so it runs after all attributes are copied over. It also adds a save() method to one of the test models, which causes the current code to fail as expected.
Commandments

[x] Write PEP8 compliant code.
[x] Cover it with tests.
[ ] Update CHANGES.rst file to describe the changes, and quote according issue with GH-<issue_number> -- not applicable, just fixing a regression in master.
[x] Pay attention to backward compatibility, or if it breaks it, explain why.
[x] Update documentation (if relevant).

@auvipy Thanks for approving. Should this be merged?


How to Control Light Switches?

I am wondering if I am missing somewhere in the UI that you can control a light switch (turn it on/off)?  The README says "Control Panel UI: Directly control your nodes and their values from the UI".
In the default Z-Wave JS UI, each device in the list has a "Controls" toggle button you can turn the light on/off.   That is incredibly useful when testing switches.  So I assume the much more advanced zwavejs2mqtt UI must have something similar I am just missing.

It does - under each node you can visually see all "command classes" you can manipulate. For lights, you're looking for Binary Switch and Multilevel Switch (dimmers).

Note that there may be multiple "endpoints".

It does - under each node you can visually see all "command classes" you can manipulate. For lights, you're looking for Binary Switch and Multilevel Switch (dimmers).

Note that there may be multiple "endpoints".


Search across files not always working without explicit folder being included

VSCode Version: 1.40.2
OS Version: 10.0.17763

Steps to Reproduce:
I don't know how many of these steps are necessary, but this is how I can reproduce it.

With VS Code open at the root of a very large folder structure. No editors open.
Searching for: xboxconsole
files to include: *.build
Hit search, it will find a single instance.
In the same situation, now set files to include: ./level1/level2/**/*.build
Multiple instances of 'xboxconsole' are in .build files underneath /level1/level2/level3. It now finds them all.

Does this issue occur when all extensions are disabled?: Yes

Which OS, Windows? Wonder if it's hitting some windows path limit?  Can you give the absolute path to one of the files that's missing from the results?

Yes this is on Windows. Don't think its a path length issue, this is one of the full paths where the text resided but was not found:
D:\dev\na-test\TnT\Build\Icepick\plugins\Icepick.Unit\source\BenchmarkPlugin\BenchmarkPlugin.build
So in this case, I was searching from the root of the project, D:\dev\na-test\TnT, with the filtered search (looking for .build), but didn't find it until I specifically searched with .\Build\Icepick**.build.
The entire project (from D:\dev\na-test\TnT down) contains 275,000 files and 52,000 folders.

I wonder if you could experiment with searching for files in other places to see if there is some depth where it stops working or some other pattern?

Also check that it's not being excluded by a .gitignore file or setting, see https://github.com/microsoft/vscode/wiki/Search-Issues#missing-search-results. Searching with the path like that would override a gitignore file.

It was not being excluded by a .gitignore file or setting.
I've tried to reproduce it now with other searches but don't seem able to, sorry.

Let me know whether you see this issue again

Tried it this morning (I'm now on version 1.43.2).
My initial search now finds 55 matches, when I do the more specific search it finds 65 matches. So certainly better than it was when I posted this ticket, but still odd.
I assume it has something to do with the size of the file set that I'm searching? In the first search, it's looking through 540k files. When I narrow it down to a specific subfolder, it's now looking through 232k files.

Still seems likely that gitignore, exclude settings, etc are involved somehow. Searching in a specific folder can override those patterns.


Popup menu behind textfield hides item and menu has too many items

Typically the popup is limited to maybe 10 items and the menu is placed below the field unless there isn't enough space and then it is placed above the field, never behind or on top of.
Probably the menu/viewport should figure this out and the passing in of coordinates should be dropped.
Also probably make the number of menu items a parameter

new size limits fix this mostly..


GridSearchCV fails with less than 15 input rows

Here is code to reproduce
if samples change to 14 or less the code fails.
Is it normal?
python 2.7 and 3.6
PyKrige==1.4.0
import numpy as np
from pykrige.rk import Krige
from pykrige.compat import GridSearchCV

# 2D Kring param opt
param_dict = {"method": ["ordinary", "universal"],
"variogram_model": ["linear", "power", "gaussian", "spherical"],
#"nlags": [4, 6, 8],
#"weight": [True, False],

}
estimator = GridSearchCV(Krige(), param_dict, verbose=True)
# dummy data
samples=15
X = np.random.randint(0, 400, size=(samples, 2)).astype(float)

y = 5 * np.random.rand(len(X))
# run the gridsearch
estimator.fit(X=X, y=y)

Thanks for the report. I can reproduce the failure with scikit-learn 0.20.1, cf detailed traceback below,

  File "/tmp/test.py", line 19, in <module>
    estimator.fit(X=X, y=y)
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_search.py", line 686, in fit
    self._run_search(evaluate_candidates)
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_search.py", line 1130, in _run_search
    evaluate_candidates(ParameterGrid(self.param_grid))
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_search.py", line 675, in evaluate_candidates
    cv.split(X, y, groups)))
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/parallel.py", line 917, in __call__
    if self.dispatch_one_batch(iterator):
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/parallel.py", line 759, in dispatch_one_batch
    self._dispatch(tasks)
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/parallel.py", line 716, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/_parallel_backends.py", line 182, in apply_async
    result = ImmediateResult(func)
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/_parallel_backends.py", line 549, in __init__
    self.results = batch()
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/parallel.py", line 225, in __call__
    for func, args, kwargs in self.items]
  File "/home/rth/src/scikit-learn/sklearn/externals/joblib/parallel.py", line 225, in <listcomp>
    for func, args, kwargs in self.items]
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_validation.py", line 551, in _fit_and_score
    test_scores = _score(estimator, X_test, y_test, scorer, is_multimetric)
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_validation.py", line 595, in _score
    return _multimetric_score(estimator, X_test, y_test, scorer)
  File "/home/rth/src/scikit-learn/sklearn/model_selection/_validation.py", line 625, in _multimetric_score
    score = scorer(estimator, X_test, y_test)
  File "/home/rth/src/scikit-learn/sklearn/metrics/scorer.py", line 241, in _passthrough_scorer
    return estimator.score(*args, **kwargs)
  File "/home/rth/src/scikit-learn/sklearn/base.py", line 328, in score
    return r2_score(y, self.predict(X), sample_weight=sample_weight,
  File "/home/rth/src/PyKrige/pykrige/rk.py", line 116, in predict
    return self.execute(points, *args, **kwargs)[0]
  File "/home/rth/src/PyKrige/pykrige/rk.py", line 136, in execute
    **points)
  File "/home/rth/src/PyKrige/pykrige/ok.py", line 753, in execute
    self._exec_loop_moving_window(a, bd, mask, bd_idx)
  File "/home/rth/src/PyKrige/pykrige/ok.py", line 566, in _exec_loop_moving_window
    x = scipy.linalg.solve(a, b)
  File "/home/rth/.miniconda3/envs/sklearn-dev/lib/python3.7/site-packages/scipy/linalg/basic.py", line 140, in solve
    b1 = atleast_1d(_asarray_validated(b, check_finite=check_finite))
  File "/home/rth/.miniconda3/envs/sklearn-dev/lib/python3.7/site-packages/scipy/_lib/_util.py", line 238, in _asarray_validated
    a = toarray(a)
  File "/home/rth/.miniconda3/envs/sklearn-dev/lib/python3.7/site-packages/numpy/lib/function_base.py", line 461, in asarray_chkfinite
    "array must not contain infs or NaNs")
ValueError: array must not contain infs or NaNs

Note however that, in any case, using only 15 samples for cross-validation doesn't make much sense. GridSearchCV will slit your data in 3 folds by default, and trying to estimate hyperparameters from ~10 samples is really not enough.
The fact that we get NaNs when trying to solve the linear problem with scipy.linalg.solve is curious, but I'm not convinced it's worth investigating unless someone runs into this error with a larger number of samples.


What's the proper way to use @aws_auth with Amplify / the GraphQL transform library?

** Which Category is your question related to? **
api
** What AWS Services are you utilizing? **
AppSync
** Provide additional details e.g. code snippets **
With the new Lambda triggers feature referenced in #766 it will be easy to set up Lambda post-confirmation triggers to add users to Cognito Groups.
How can we then utilize the groups in our API using the local GraphQL schema and the @aws_auth directives referenced here?
# amplify/backend/api/<API_NAME>/schema.graphql

type Todo @model {
  id: ID!
  name: String!
  description: String
}

# This is the functionality in question:
type Query {
  listTodos: [Todo]
    @aws_auth(cognito_groups: ["STUDENTS"])
}

I think I may have found the answer: Use the @auth GraphQL Transform directive as documented here:
type Todo
    @model
    @auth(rules: [
        { allow: owner },

        # Admin users can access any operation.
        { allow: groups, groups: ["Admin"] }
    ]) {
    id: ID!
    name: String!
    description: String
}


feat: add validations for records search filters and sort

Description
This PR add some changes related with how we search for records:

Add a new SearchRecordsQueryValidator class that allow us to validate some details about a schema SearchRecordsQuery.
Integrate this validation class into handlers doing searching for records. Returning a 422 error if this validation is not successful.
Changed gte and lte attributes on RangeFilter to ge and le. The change is inspired on a previous use of ge and le for a Metadata schema so we don't want to add a new way to specify these kind of ranges.
Add a new RecordFilterScope to be used on the query sort attribute like this:

{
  "sort": [
    {"scope": {"entity": "record", "property": "inserted_at"}, "order": "desc"},
    {"scope": {"entity": "record", "property": "updated_at"}, "order": "desc"},
  ]
}

I didn't add any validation to avoid RecordFilterScope to be used on filters attribute too so it should be ignored on this section for the search engine /cc @frascuchon
Some more small changes, for example the addition of get_question_by_name_and_dataset_id_or_raise and get_metadata_property_by_name_and_dataset_id_or_raise to be used on SearchRecordsQueryValidator but that could be useful also once we fix current exception handling with FastAPI.

Refs #4227
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (change restructuring the codebase without changing functionality)
[ ] Improvement (change adding some improvement to an existing functionality)
[ ] Documentation update

How Has This Been Tested

[x] Running unit tests locally.

Checklist

[ ] I added relevant documentation
[x] follows the style guidelines of this project
[x] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@damianpumar you can use this PR to check that your request for searching records are well constructed. Note that with these changes you will still not get results with new filters and sort applied (we are still not executing search engine queries with these parameters).


Add event for when branch changes

FYI, the event stuff can be found here: https://github.com/IBM/vscode-ibmi-projectexplorer/blob/main/src/projectManager.ts#L21

I'll take care of that!


Make Cert data contract publicly available

This PR will expose the Cert data contract constructor
so objects can be build outside of the package. This is needed
to be able to implement a custom simulated client for BankID.
This PR fixes #210

Thanks for noticing. Must have missed this when I did the other ones.

Well., I reviewed the other one and approved it ;)


Cosmetic Issues in 1.0

Missing Label
One of the labels for an option is not showing

Two devices
I now have two devices (one has no entities)

Functionally seems fine

Hi jameson_uk,
The label will be fixed later today on the options flow, that was an
oversight on my part.
The double config is because 1.0.0 is a breaking change, you need to remove
your flows and re-add it fix it.
Some of the internals of the integration changed to align with the ‘home
assistant way’ and that means a new device is setup if you have an existing
configuration in place
Thanks,
Matt
On Wed, 18 Jan 2023 at 10:12, jameson_uk @.***> wrote:

One of the labels for an option is not showing
[image: image]
https://user-images.githubusercontent.com/1040621/213143689-b0c49ef3-698e-4af7-993f-744121abf3bc.png
I now have two devices (one has no entities)
[image: image]
https://user-images.githubusercontent.com/1040621/213144287-3ff4461d-7fa9-44cd-b69e-99f17cfa52f9.png
[image: image]
https://user-images.githubusercontent.com/1040621/213144454-886b0987-db1b-40e2-824b-ffe1c27a18ec.png
Functionally seems fine
—
Reply to this email directly, view it on GitHub
https://github.com/mattrayner/pod-point-home-assistant-component/issues/17,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2XGNQGKIF4GW3OY6LX3L3WS66YFANCNFSM6AAAAAAT64LKEA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Matt Rayner
http://www.mattrayner.co.uk/

I was sure I had actually read the release notes but obviously they didn't sink in... 😳
The label is issue is only cosmetic and everything is working great so thank you 😀

I've raised a new release (1.0.1) which has the fix included :)
Thanks again for raising @jamesonuk


fix: isMinNumber and isMaxNumber description (#78)

Fixing the issue #78 in the documentation.

Sorry it's not the documentation, my bad
https://github.com/ivan-dalmet/formiz/issues/78#issuecomment-882419081


Add aiohttp subscription support

Description

This PR adds subscription support to the aiohttp integration. Note that aiohttp does not support ASGI and thus can't reuse the existing subscription implementation. This PR also includes various tests (100% test coverage). Some of them could be reused (in a future PR) to possibly increase the ASGI implementations test coverage.
Both subscription implementations obviously share many similarities. I will do some experiments to explore how to abstract both implementations. (This will happen in a separate PR).
Types of Changes

[ ] Core
[ ] Bugfix
[x] New feature
[ ] Enhancement/optimization
[x] Documentation

Issues Fixed or Closed by This PR

None

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

GitHub actions are taking a long time today 🤔

Apparently there's an incident with github actions. https://www.githubstatus.com/


Process multipart-form data type message

Currently in ballerina $subject seems to be unachievable as there's no mechanism to process the data and convert it to a readable form. The attached screenshot shows how the data is handled through ballerina. (image 1). This is not usable as this data needs to be converted to a usable manner.

Hi Erandi,
Yeah, you are right and at the moment we cannot handle multipart. There is a separate task created for this requirement [1] and the discussion can be found it google dev group. Hence, I am closing this issue.
[1] https://github.com/ballerinalang/ballerina/issues/3752


Add export importers to the admin console

Fixes #1081 Release Note

Add export importers to the admin console

/assign @mikehelmick

/lgtm
/hold
You can decide if you want to address the one optional comment.


Training code

Your work is very compelling, and how to get the training code?

`
class MaskedDeconv(nn.Module):
def init(self,*args,**kwargs):
super().init()
kernel_size = kwargs.pop("kernel_size")
padding = kernel_size//2
self.kernel_size=kernel_size
self.deconv = nn.ConvTranspose2d(kernel_size=kernel_size, padding=padding, stride=1, *args, **kwargs)
# self.count = nn.Conv2d(kernel_size=kernel_size, padding=padding, in_channels=1, out_channels=1,stride=1)
def forward(self, input):
    input, mask = input[:,:-1], input[:,[-1]]
    deconved = self.deconv(input)
    assert deconved.shape[2:]==input.shape[2:]
    with torch.no_grad():
        count_mask = F.conv2d(mask, weight=torch.ones(1,1,self.kernel_size, self.kernel_size).to(input.device), padding=self.kernel_size//2)
    deconved = deconved/count_mask.clip(min=1)

    weight_1x1 = self.deconv.weight[:,:,self.kernel_size//2,self.kernel_size//2].unsqueeze(2).unsqueeze(3)
    bias = self.deconv.bias
    resid = F.conv_transpose2d(input, weight_1x1, bias, padding=0)
    deconved = deconved*(1-mask) + resid*mask

    return torch.cat([deconved, mask], dim=1)  `

The shape of the input here is 16 channels, and the initial ConvTranspose2d is 19 channels, error

Hi, sorry for replying late. I just fixed the bug in compressai/models/learned_raw_journal4.py.
You could see the latest commit just now.


ci: update remote browsers in saucelabs and browserstack

See individual commits.
TL;DR: Updates us to the latest available Safari for iOS and macOS. Adjusts tests as needed, and removed some test filter that disabled certain tests in Firefox that actually were hiding an underlying issue in cdk/testing.

It would be interesting seeing how many tests this breaks inside g3 (looking at the cdk/testing fix)


NIFI-4479 Added DeleteMongo processor.

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Just checked in the updates.

+1 LGTM, ran a build with unit/integration tests and contrib-check against a live MongoDB, everything works fine. Thanks much for this feature! Merging to master


[MacOS,Safari] while response is generated, content section  jumps up to the top of the page and back to the bottom each time a new line is printed.

Received several user reports regarding issue of content well jumping to the top of the conversation and to the bottom each time a new line is printed:
https://gitlab.deltixhub.com/Deltix/openai-apps/aiproducts1ls/-/issues/123
https://gitlab.deltixhub.com/Deltix/openai-apps/aiproducts1ls/-/issues/125
Steps to reproduce:
Generate content in any model while using desktop Safari browser in MacOS.
Video

Verified on staging om MacOS, Safari successfully


New Krumblor "Dragon Scale" upgrade breaks everything

As soon as I purchase the new upgrade "Dragon Scale", a random drop from petting Krumblor that's supposed to just increase cookie production 3%, almost all PP values go negative, as does reset bonus income.

Thanks for the heads up.  I really have not been working on the addon recently since my priorities changed.  I hope to change it back soon, but I have no ETA.  My life is a bit of a mess right now.

This is a duplicate of #302, just like #306 and #317.
@Aktanusa If you want you can pin #302 (and give it a better title) to prevent more duplicate issues.

We will now use #317 to discuss any missing upgrades or items as a result of CookieMonster not being updated for CookeClicker 2.031.


KCLVM codegen temp output enhancement

Enhancement

The temporary LLVM IR file *.ll and lock file *.lock generated by KCL are not deleted and need to be deleted.
The temporary LLVM IR file generated by the KCL main package is named main.ll. It may cause data races in concurrent compilation mode, so it needs to be named differently.

#74