_handle_error not checking for missing error['value'] key

I am trying to get started with this SDK and I ran into some trouble getting error feedback while learning how this all works.
My code (yes, something is wrong with it, but hear me out):
import contentful_management
import calendar
import time

client = contentful_management.Client('REDACTED-KEY')
mainSpace = client.spaces().find('REDACTED-SPACE')

entry_attributes = {
    'content_type_id': 'open-api-yaml',
    'fields': {
        'title': {
            'en-US': "My Llama Taco"
        },
        'body': {
            'en-US': "test-body:\n  - Thing 1\n  - Thing 2\n  - Thing 3\n"
        },
        'timestamp': {
            'en-US': 0
        },
        'version_identifier': {
            'en-US': "1.0.0"
        }
    }
}

new_entry = mainSpace.entries().create('partitions-svc-openapi', entry_attributes)

When I run this, I should be getting back a useful error message, as the API behind this SDK is returning a 422. Problem is, I only see this:
Traceback (most recent call last):
  File "./testingContentful.py", line 37, in <module>
    new_entry = mainSpace.entries().create('partitions-svc-openapi', entry_attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/space_resource_proxy.py", line 48, in create
    return self.proxy.create(resource_id=resource_id, attributes=attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/entries_proxy.py", line 72, in create
    return super(EntriesProxy, self).create(resource_id=resource_id, attributes=attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client_proxy.py", line 73, in create
    headers=self._resource_class.create_headers(attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client.py", line 715, in _put
    return self._request('put', url, attributes, **kwargs)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client.py", line 681, in _request
    error = get_error(response)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/errors.py", line 241, in get_error
    return error_class(response)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/errors.py", line 23, in __init__
    message = self._best_available_message(response)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/errors.py", line 57, in _best_available_message
    error_message.append("Details: {0}".format(self._handle_details(details)))
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/errors.py", line 160, in _handle_details
    errors.append(self._handle_error(error))
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/errors.py", line 153, in _handle_error
    error['value']
KeyError: 'value'

If I replace error['value'] with a constant string "TEMP", I receive this error as I would expect:
Traceback (most recent call last):
  File "./testingContentful.py", line 37, in <module>
    new_entry = mainSpace.entries().create('partitions-svc-openapi', entry_attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/space_resource_proxy.py", line 48, in create
    return self.proxy.create(resource_id=resource_id, attributes=attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/entries_proxy.py", line 72, in create
    return super(EntriesProxy, self).create(resource_id=resource_id, attributes=attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client_proxy.py", line 73, in create
    headers=self._resource_class.create_headers(attributes)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client.py", line 715, in _put
    return self._request('put', url, attributes, **kwargs)
  File "REDACTED/Python/3.6/lib/python/site-packages/contentful_management/client.py", line 683, in _request
    raise error
contentful_management.errors.UnprocessableEntityError: HTTP status code: 422
Message: No field with id "timestamp" found.
Details:
	* Name: unknown - Path: '['fields', 'timestamp']' - Value: 'TEMP'
Request ID: REDACTED-REQUEST-ID

I believe something isn't assigning error['value'] like it is supposed to, but maybe that error handler simply needs to perform a check.

Thanks Erik!
Something is definitely wrong there, it seems like the management SDK makes an assumption about keys that aren't always present.
We will take care of it in the next release hopefully.

Hey @erikgreif-acc,
Looks like I missed an edge case with error handling, I'll fix it and hopefully make a release today.
Cheers

Fix released in version 1.5.2
Cheers


Fixed #25565 -- Removed action="" from admin forms.

Empty value for action is not valid in HTML 5, but action can be omitted.
http://www.w3.org/TR/html5/forms.html#attributes-for-form-submission

merged in 6ff500127a21f5f2104dc77a09dfa73d5f7c94ce, thanks!


fix: Handle errors when pushing a BTreeMap

Also move the insert_string hack into std.map so std.json.de does not
need to be imported
Fixes #847

bors r+


Make Dream Journal with Searchable Tags

For when your dreams are more mysterious than the plot of Inception.
Track dreams, add keywords, and allow users to search or filter by theme or recurring symbols.

Hello, can I get assigned to this issue?

Assign this to me please @sumanth-0 .


fix: 3.0 fast follows

hide live view
only display stx price on mainnet

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


app specific alerts routing

route alerts first to the team responsible for the app and then move to HB. (discussed in SIG product monday dec 13th)

Done.
Announced in #news-ops https://gigantic.slack.com/archives/C52L7C6SC/p1641544225000900


[iOS] payment sheet not closing after Swish completion

Describe the bug
After a successful payment using Swish and user is returned to app, the payment sheet is not closed.
It works fine for other providers using redirects (like klarna), it works fine in the iOS simulator. It does not work in TestFlight/App Store version.
To Reproduce
Steps to reproduce the behavior:

Click Payment button from payment sheet
Open swish app, this opens bankid app (this can not be recorded, that's why there is two videos below).
Press Open in app button.
Sheet stays open and nothing happens

Expected behavior
The payment sheet should disappear.
I also expected the handleURLCallback function to return true. It does in simulator (when sheet is closed), but not in the TestFlight/prod version, there it returns false.
They return url of the app is:
myapp://stripe-redirect?payment_intent=pi_3POEQ8FVh2i3IPYO0pQbV9zw&payment_intent_client_secret=pi_3POEQ8FVh2i3IPYO0pQbV9zw_secret_MOouimBCcf3rD1raHkasnZUam&redirect_status=succeeded
Videos
If applicable, add videos to help explain your problem.
https://github.com/stripe/stripe-react-native/assets/67104/c0b61db1-0387-446a-b361-cd96054b6cc8
https://github.com/stripe/stripe-react-native/assets/67104/eff450f7-a858-4383-97ad-c25aa865cff1
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6] iphone13
OS: [e.g. iOS8.1] 17.5.1
Browser [e.g. stock browser, safari] safari
Version [e.g. 22]

Additional context
Add any other context about the problem here.
expo, using "@stripe/stripe-react-native": "0.37.2"

We started seeing the same thing recently. Can reproduce every time with live payments using Swish with both version 0.37.3 and now with the latest 0.38.1.

I checked now and already had the latest 23.27.6 iOS SDK. Stripe react native has '~> 23.27.0' as version constraint on so pod update will get you the latest 23.27.6

Thanks for checking. We are using expo so I cannot fiddle with pod update.
I hope they can find another solution then.

Hi @ottob we will release a new version that includes the new Stripe iOS SDK very soon.
Hello @simonbengtsson you mentioned that you still encountered some problems even with iOS SDK 23.27.6. Can you share with some PaymentIntent IDs so that I can investigate further?

Sure! Here is two that I made just now:

pi_3PeaIjC7zQsHkcnd1E9JgnJd
pi_3PeaGPC7zQsHkcnd0KSA2cfN


setting permissions to exclude network devices.

Im looking for a way to exclude devices thats not a part of a certain hostgroup in Icinga2.
My /etc/icinga2/conf.d/api-users.conf looks like this as of now.
/**

The APIUser objects are used for authentication against the API.
*/
object ApiUser "director" {
password = "Kodeord1"
// client_cn = ""

permissions = [ "*" ]
object ApiUser "dashing" {
password = "Kodeord1"
permissions = [
{
permission = "status/query"
},
{
permission = "objects/query/*"
filter = {{ "tekniker" in host.groups }}
}
]
}
This does not seem to work. Any suggestions as how to make the dashing user only show host and service notifications from the hostgroup "tekniker"?

Please continue on https://monitoring-portal.org, this is where the community may help.


AAD - FIDO intergration via GraphApi REST endpoints

We are following "FIDO2 security keys of Azure Active Directory" feature available on Azure for public preview feature, to provide passwordless sign-in experience to our customers.
Going by documentation & samples provided hope it possible via only azure portal, Is it possible to accomplish integration our existing AAD with FIDO2 authentication programatically via GraphApi REST endpoints or AAD service related rest endpoints?
Your urgent response would be helpful for our further evaluation process.
Raised the same query on stack overflow
https://stackoverflow.com/questions/60671426/aad-fido-implementation

@TestUser0811 please provide the link to the document which you are following.

https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-authentication-passwordless-security-key
https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-passwordless
Section: "What scenarios work with the preview?"
But my question is Graph/REST api available for  "FIDO2 security keys of Azure Active Directory" rather portal option?

Any update??

@TestUser0811 At this point this functionality is not exposed via Microsoft Graph API so this would need to be done from the portal itself since this is still preview and work in progress. I would suggest to vote for the similar feature request on the Azure Feedback site here.  We will now close this issue , In case you have any further queries , feel free to let us know.
Thank you .

So after integrating AAD with FIDO using the options available on Azure portal, will our existing customer facing web apps (which uses our in-house secure token service (STS) web api based application which in turn rely on Azure AD for authentication), can leverage on AAD-FIDO integration for providing passwordless sign-in experience for end users? (or) after AAD-FIDO integration, passwordless sign-in experience for end users is possible only if customer facing application uses Azure AD based authentication?

Hi, it actually IS possible to query FIDO keys through the Azure AD Graph API, although this feature is undocumented. I have created a PowerShell cmdlet that leverages this API:
PS C:\> Get-AzureADUserEx -All -Token $token |
            Where-Object Enabled -eq $true |
            Select-Object -ExpandProperty KeyCredentials |
            Where-Object Usage -eq FIDO |
            Format-Table -View FIDO

<# Sample Output:

DisplayName           AAGUID                               Alg   Counter Created    Owner
-----------           ------                               ---   ------- -------    -----
YubiKey 5             cb69481e-8ff7-4039-93ec-0a2729a154a8 ES256      25 2019-12-12<EMAIL_ADDRESS>Feitian All-In-Pass   12ded745-4bed-47d4-abaa-e713f51d6393 ES256    1398 2020-03-31<EMAIL_ADDRESS>eWMB Goldengate G320  87dbc5a1-4c94-4dc8-8a47-97d800fd1f3c ES256      37 2019-08-29<EMAIL_ADDRESS>eWBM Goldengate G310  95442b2e-f15e-4def-b270-efb106facb4e ES256      48 2019-08-29<EMAIL_ADDRESS>
#>

See the documentation for more examples.


Added theme support for HTML5 features; fixes #40

Thanks @danburzo — I didn't realize that function existed

It's actually pretty useful, as it makes WordPress output markup that is more semantic for built-in "templates" such as image galleries.


Fix missing windowAttachCount method after minification

Fixes #36 by adding keep rule and adds buildType to reproduce.

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

Thx! I had run into that myself.


refactor: Make smooth_app a module (also called step 1)

This PR implemented the "Step 1" of the migration:

Add the package attribute for all assets files
Create an app package (empty for now)
Add smooth_app as a dependency

New entry points are:

On Android 🤖: flutter run -t lib/entrypoints/android/main_google_play.dart
On iOS 🍎: flutter run -t lib/entrypoints/ios/main_ios.dart on iOS

Is there someone to review/merge this PR?
I would like to implement the other steps :)

Codecov Report

Merging #3101 (7cdf69a) into develop (7a3eb41) will increase coverage by 0.04%.
The diff coverage is 40.90%.

@@            Coverage Diff             @@
##           develop   #3101      +/-   ##
==========================================
+ Coverage     6.40%   6.44%   +0.04%
==========================================
  Files          247     248       +1
  Lines        12324   12337      +13
==========================================
+ Hits           789     795       +6
- Misses       11535   11542       +7

Impacted Files
Coverage Δ

...p/lib/cards/category_cards/raster_async_asset.dart
0.00% <0.00%> (ø)

..._app/lib/cards/category_cards/svg_async_asset.dart
0.00% <0.00%> (ø)

...cards/product_cards/smooth_product_card_error.dart
0.00% <ø> (ø)

...ards/product_cards/smooth_product_card_thanks.dart
8.33% <ø> (ø)

..._app/lib/data_models/abstract_onboarding_data.dart
0.00% <0.00%> (ø)

...h_app/lib/data_models/onboarding_data_product.dart
0.00% <0.00%> (ø)

...ges/smooth_app/lib/generic_lib/loading_dialog.dart
0.00% <ø> (ø)

...app/lib/generic_lib/widgets/picture_not_found.dart
33.33% <ø> (ø)

...app/lib/generic_lib/widgets/smooth_error_card.dart
100.00% <ø> (ø)

...ackages/smooth_app/lib/helpers/network_config.dart
0.00% <0.00%> (ø)

... and 21 more

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


Direct Mode Question

I clone the renderManager source code , find that the "EnableOSVRDirectMode" is submodule under NDA.
so,if I don't have nVidia's NDA  myself HMD device will not use Direct Mode?
and how to get nVidia's NDA?

Sensics releases binaries linked against the NDA code at https://osvr.github.io/using/ so that you can link against and use them.  If you are developing an HMD, you will also want to see https://github.com/OSVR/OSVR-Docs/blob/master/Extending-OSVR/AddingHMD.md


Zoom-in camera to First Person View results in Not all bits were consumed

Summary
Zooming in camera to First Person View results in Not all bits were consumed debug message.
SEGS version
segs v0.4.0 alpha (The Real Beginning)
System Info
Qt 5.9.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.2.1 20170915 (Red Hat 7.2.1-2)) on "xcb"
OS: Fedora 26 (Workstation Edition) [linux version 4.13.8-200.fc26.x86_64]

Should be resolved by a8b0b0d

Handled by #161. Can probably close this until we know what to do with EVENT_DECL(evSwitchViewPoint        ,264)


Drag to resize Drawer

Have the ability to enable a drawer to be resizable through mouse click and drag on edge of drawer.

Came here to suggest this enhancement.

Same request here...
My use case is a drawer with dynamically populated TreeView, a la Windows Explorer. The tree has a few levels of depth and some items may have considerable label lengths, not known beforehand. The long labels wrap and remain readable (good) but the user experience wound be better with the ability to make the drawer wider/shorter interactively.

Hi.
I'm not sure this is something that should be built-in in the drawer?
I mean, there is already Width property for Drawer that you can control dynamically. This means you can basically implement this feature yourself without modifying MudBlazor code by implementing so called "layout splitter" / "split container" / "splitter" component and add it as a child component to the Drawer, when you move it you change the Width of the Drawer. But the reason I wouldn't want to have this in core is the amount of the JS that comes with this.
But PRs are welcome anyway, other team members could like this idea and perhaps this could turn into a independent component addition.

This is already almost possible with CSS.  The issue I'm running into is the close doesn't work correctly once the drawer has been resized due to the style being set via width but the drawer component using a custom style of --mud-drawer-width: XXXpx.  If the close action could be modified to remove the width style added by the CSS resize event, I believe this will work as desired.


Feature/combine filter search

https://binnenland.atlassian.net/browse/CLBV-80?atlOrigin=eyJpIjoiMGQ5ZDFhZjM5MTNjNDBlZDhkNDhhMDljMTE3ZDRkOTMiLCJwIjoiaiJ9

@oscartison is it expected that this PR tries to merge to the master branch and not the development one ? Seems to bring a lot of changes with it, and some merge conflicts

@oscartison is it expected that this PR tries to merge to the master branch and not the development one ? Seems to bring a lot of changes with it, and some merge conflicts

My bad, should be fixed. @claire-lovisa


Site Settings being migrated

Even when "Migrate Site Settings" is set to false, Site Features are still being activeated.
Also, when just migrating a single library (with the same settings), Site Features are still being activated.

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

ID: 193d7cc4-4270-f69e-262b-6384a273f835
Version Independent ID: 6625a0f7-e4d0-2352-d78a-0a82273b1f07
Content: SharePoint Migration Tool for SharePoint and OneDrive - SharePoint Online - Migrate to SharePoint and OneDrive
Content Source: migration/introducing-the-sharepoint-migration-tool.md
Service: sharepoint-online
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@JeighBI thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Unexpected token error on startup

In a fresh install (right after cloned && npm install), an error is thrown:
hackathon-starter/models/User.js:57
userSchema.methods.gravatar = function (size = 200) {
                                             ^

SyntaxError: Unexpected token =

I've fixed it by leaving only function(size){...} and inside the function declaring size = 200. Not sure if its a proper solution though.

There are 3 duplicate issues. You are using Node.js 5 or lower. Node.js 6 and later has proper ES6 support.

I am going to add this code back for a few months until everyone is migrated to the new Node.js 6.9.1 LTS, especially if it's the only failing point of the app.
if (!size) {
    size = 200;
}


Adding --dry-run functionality

--dry-run flag should be applied to all commands that make HTTP requests. It should allow an admin to see what the HTTP request will look like as a curl command and exit before actually making the HTTP request.

Cool thing (not sure if we can use): https://github.com/moul/http2curl


Deleting a folder with code is not triggering any change

Repro:

Create a folder with .cs files outside an app
start dotnet watch on the app
drop the folder that was created earlier and you should see its content getting picked up
delete this dropped folder and you should see the content not picked up.

C:\temp\DotnetWatchTestApp\src\ConsoleApp [master]> dotnet --info
.NET Command Line Tools (1.0.0-rc2-002659)

Product Information:
 Version:     1.0.0-rc2-002659
 Commit Sha:  11a001706f

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

@victorhurdugaci Let's investigate. If it's not super simple fix, please move to 1.0.1

cc @muratg moved this to 1.0.1
I'll revert the fix for this and move it to the next milestone. It requires a redesign because now the watcher, when receiving a change, needs to know if it was caused directly by that file changing or by someone under it.
For example, given this file: /foo/bar/baz.cs, if /foo/*.cs is ignored and you delete baz.cs you'll get 3 change notifications:

/foo/bar/baz.cs
/foo/bar
/foo

The last one will cause the watcher to restart because the /foo is not ignored even though we deleted an ignored file.

Revert commit: https://github.com/aspnet/dotnet-watch/commit/c5abb2e2ebdc73d7814d09aae56490fdb32921b2

May be fixed by the new MSBuild work. Remarking for triage so we can verify if this is truly fixed.

@kichalla could you take another look to see if this is still an issue.


math/cmplx: unused test table vc26

cmath_test.go in math/cmplx has a table called vc26 that isn't used anywhere and never has been.
Does this data serve any purpose? Should tests be added that make use of it, should it be removed, or does it act as documentation? Also, what's the meaning of the variable name?
This came up in https://go-review.googlesource.com/#/c/20913
The table:
var vc26 = []complex128{
	(4.97901192488367350108546816 + 7.73887247457810456552351752i),
	(7.73887247457810456552351752 - 0.27688005719200159404635997i),
	(-0.27688005719200159404635997 - 5.01060361827107492160848778i),
	(-5.01060361827107492160848778 + 9.63629370719841737980004837i),
	(9.63629370719841737980004837 + 2.92637723924396464525443662i),
	(2.92637723924396464525443662 + 5.22908343145930665230025625i),
	(5.22908343145930665230025625 + 2.72793991043601025126008608i),
	(2.72793991043601025126008608 + 1.82530809168085506044576505i),
	(1.82530809168085506044576505 - 8.68592476857560136238589621i),
	(-8.68592476857560136238589621 + 4.97901192488367350108546816i),
}

/cc @griesemer @bradfitz

It can be deleted, but might be useful. I used it originally, when developing the tests, for a 26-significant-figure test vector when calculating expected answers. I didn't want rounding to degrade the accuracy. The comment starting on line 37 explains the procedure.
The test vector for math/all_test.go was called "vf[]", so I called the complex test vector "vc[]"; vc26[] is the version of that test vector fed into the high-precision calculator.

Let's leave it. They don't do any harm. I will add a respective comment and close the issue.


Follow redirects during webfinger lookup

Looks like the curl webfinger lookup here doesn't follow redirects:
https://github.com/mwt/apfollow/blob/0c806a9740b50ba613f5ab0fef4c5a72591b2f5d/index.php#L23-L28
...which means it doesn't support addresses like eg<EMAIL_ADDRESS>since https://snarfed.org/.well-known/webfinger redirects once before it returns the JSON response. Mind adding the CURL_OPT_... equivalent of -L to make your lookup follow redirects?

Oh, I meant that it would break if the user specifies the wrong handle which redirects to the right domain (because I blindly use the user-provided handle).
If the handle is correct and there is a redirect, then everything should be fine.

@snarfed it should be working now:
https://apfollow.mwt.me/?user=snarfed.org&instance=snarfed.org


Use environment variables inside nuxt.config.js

Hey!
Description
I'm currently trying to set several config parameters depending on whether nuxt.js is launched in dev or production mode. To accomplish this, I haven't changed any environment variables before starting nuxt.
Unfortunately, the following won't work (using the axios module) by default:
  /*
   * Axios
   */
  axios: {
    baseURL: process.env.NODE_ENV !== 'production' ? 'http://api.xyz.test' : 'https://api.xyz.com'
  },

If I use console.log(process.env.NODE_ENV) in the nuxt.config.js file, it's undefined (if not set before)
Current possible solution
I only came up with one solution for it:
Set env variables before starting
We could update the package.json scripts to include NODE_ENV or set it manually through the console.
The former blocks "overriding" ENV through the command line, the latter is quite tedious.
"scripts": {
    "dev": "NODE_ENV=development nuxt",
    "build": "NODE_ENV=production nuxt build",
    "start": "NODE_ENV=production nuxt start",
    "generate": "NODE_ENV=production nuxt generate",
  },

Use dotenv module
Also a way to deal with it, and highly customizable. Still, there should be an easier way to define the "default" configuration which would be enough in many use-cases.
Other solutions?
Are there better ways to accomplish similar behavior easier?
By default, NODE_ENV is set depending on the nuxt mode (nuxt dev = development, production otherwise), but I guess this happens after interpreting the config.
Could we use extend() for it? :thinking:
Related
https://github.com/nuxt/nuxt.js/blob/dev/lib/builder/webpack/server.config.js#L50
https://github.com/nuxt/nuxt.js/issues/1386

https://github.com/nuxt-community/dotenv-module

@javialon26 Thanks! I know about dotenv and that module, but it's a bit overkill for small applications IMO.

How do you define if it is dev or prod mode if you don't set NODE_ENV env variable?
I use cross-env library and define my scripts as below
    "dev": "nuxt -v&&nuxt",
    "prod-env": "cross-env NODE_ENV=production PORT=4000 HOST=xxx.yyy.com",
    "build-prod": "npm run prod-env npm run build",
    "build": "nuxt -v&&nuxt build",
    "start": "nuxt start",
    "start-prod": "npm run prod-env npm run start"

@husayt I thought about some "default" settings (nuxt => development, build & start => production)

@manniL Actually digging deeper I realised this can be a big issue. The way it works now NODE_ENV is defined after processing nuxt.config.js. That means NODE_ENV==production would give different values in nuxt.config.js and elsewhere.
This seems like a bug to me.

This seems to be resolved in next version.
https://github.com/nuxt/nuxt.js/commit/742ea42f9737d2e7d98c42544a79297d305b0252#diff-bad63423433e9626a156a1e1250d2281

Are there any updates on this issue? I'm getting an undefined process.env.NODE_ENV on nuxt.config.js on Nuxt 1.4.0, attempting the same as OP.


Develop

Force build on linux

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

There are 1 too many lines.  There should be one empty line at the end of the file.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@jerowe, please use PRs from a fork in the future. Builds on all branches are published to anaconda.org, which means the packages are published before the PR is even merged.

Will do. I was wondering if that was what killed it, so I opened a fork last night. Will that fix the circle ci builds?


Ts4231Calibration Operator

Jon mentioned that we should consider making a node for calibrating the Light House 3D tracking.

This is a good topic for a tutorial with a dedicated workflow to aide the process. An operator specifically for calibration is a bit unrealistic because this involves a lot of user action.


Ivez delete all his Dolby apk in Github and Pling

Ivez is scared now... Delete all his Dolby apk in Github and Pling .


Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.

Describe the bug
Warning in console:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
To Reproduce
svelte-kit init
Information about your SvelteKit Installation:

Diagnostics

The output of npx envinfo --system --npmPackages svelte,@sveltejs/kit,vite --binaries --browsers:
System:
OS: Windows 10 10.0.19042
Binaries:
Node: 14.17.0 - C:\Program Files\nodejs\node.EXE
npm: 7.13.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@sveltejs/kit: 1.0.0-next.108 => 1.0.0-next.108
svelte: 3.38.2 => 3.38.2
vite: 2.3.3 => 2.3.3

Your browser: Chrome 90

Your adapter (e.g. Node, static, Vercel, Begin, etc...): static

I am always of the opinion that a default browser warning is wrong.

Then you may wan't to complain to Google for introducing this "feature" to begin with. ;)
Google is an analytics company and not all of it's users deserve to have their privacy invaded with an "opt-out" feature. The browser is complaining because it's not letting the browser fingerprint you.
You can read more about it here and here

One way to address this is to edit your svelte.config.js to allow FLOC during development-only.
const config = {
  // etc...
  kit: {
    // etc...
    floc: process.env.NODE_ENV === "development",
  },
};

IMO, I would only allow this if using Brave browser, which has entirely disabled FLOC at the browser level 🤩.  Otherwise, development is essentially the same as Google Chrome.


GP classification with Linear kernel fits poorly depending on initialisation of hyperparameters

Bug / performance issue / build issue
I have followed the GPFlow notebook using the VGP model https://gpflow.readthedocs.io/en/develop/notebooks/basics/classification.html for the GP Classification method and apply different kernels in a 2-dimensional data. The VGP model works well with Squared Exponential kernel, however, it fails with Linear kernel.

To reproduce
To reproduce the bug, I have created a Notebook at:
https://github.com/avalonhse/BayesNotebook/blob/master/Issue_GPFlow_Linear_Classification.ipynb
In this notebook, I compare 2 models using library GPflow and library GPy for GP classification in a 2-dimensional dataset:

With the Squared Exponential kernel, both libraries produce almost the same result
With the Linear kernel, GPflow failed and GPy passed.
With the Squared Exponential + Linear kernel, GPflow failed and GPy passed.

Minimal, reproducible example

# This is the place for your code that reproduces the bug.
# Please make sure it does not depend on external libraries (beyond GPflow's own requirements), specific datasets, etc., and the smaller, the better :)
# For help on how to write a good bug report, see https://stackoverflow.com/help/minimal-reproducible-example

import numpy as np
X = np.array([[ 9.96578428, 60.],[ 9.96578428, 40.],[ 9.96578428, 20.],
       [10.96578428, 30.],[11.96578428, 40.],[12.96578428, 50.],
       [12.96578428, 70.],[8.96578428, 30. ],[ 7.96578428, 40.],
       [ 6.96578428, 50.],[ 6.96578428, 30.],[ 6.96578428, 10.],
       [11.4655664 , 71.],[ 8.56605404, 63.],[12.41574177, 69.],
       [10.61562964, 48.],[ 7.61470984, 51.],[ 9.31514956, 45.]])
Y = np.array([[1., 1., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 1., 1., 0., 0., 1., 0.]]).T

# plotting
import matplotlib.pyplot as plt
import matplotlib
%matplotlib inline
def plot(X,Y):
    mask = Y[:, 0] == 1

    plt.figure(figsize=(6, 6))
    plt.plot(X[mask, 0], X[mask, 1], "oC0", mew=0, alpha=0.5)

    plt.ylim(-10, 100)
    plt.xlim(5, 15)

    _ = plt.plot(X[np.logical_not(mask), 0], X[np.logical_not(mask), 1], "oC1", mew=0, alpha=0.5)

plot(X,Y)

# Evaluate real function and the predicted probability
res = 500
xx, yy = np.meshgrid(np.linspace(5, 15, res),
                     np.linspace(- 10, 120, res))
Xplot =  np.vstack((xx.flatten(), yy.flatten())).T

# Code followed the Notebook : https://gpflow.readthedocs.io/en/develop/notebooks/basics/classification.html

import tensorflow as tf
import tensorflow_probability as tfp
import gpflow
from gpflow.utilities import print_summary, set_trainable, to_default_float
gpflow.config.set_default_summary_fmt("notebook")

def testGPFlow(k):
    m = gpflow.models.VGP(
        (X, Y),
        kernel= k,
        likelihood=gpflow.likelihoods.Bernoulli()
    )
    print("\n ########### Model before optimzation ########### \n")
    print_summary(m)

    print("\n ########### Model after optimzation ########### \n")
    opt = gpflow.optimizers.Scipy()
    res = opt.minimize(
        m.training_loss, variables=m.trainable_variables, options=dict(maxiter=2500), method="L-BFGS-B"
    )

    print(' Message: ' + str(res.message) + '\n Status = ' + str(res.status) + '\n Number of iterations = ' + str(res.nit))
    print_summary(m)

    means, _ = m.predict_y(Xplot)  # here we only care about the mean
    y_prob = means.numpy().reshape(*xx.shape)

    print("Fitting model using GPFlow")
    plot(X,Y)

    _ = plt.contour(
        xx,
        yy,
        y_prob,
        [0.5],  # plot the p=0.5 contour line only
        colors="k",
        linewidths=1.8,
        zorder=100,
    )

k = gpflow.kernels.Linear(variance= 1)
testGPFlow(k)

Stack trace, or error message
// Paste the full stack trace/error message here

Expected behavior

import GPy

def testGPy(k):
    m = GPy.models.GPClassification(X,Y,k)
    print("\n ########### Model before optimzation ########### \n",m)
    for i in range(5):
        m.optimize('bfgs', max_iters=50) #first runs EP and then optimizes the kernel parameters
    print("\n ########### Model after optimzation ########### \n",m)

    p = m.predict(Xplot)[0].reshape((res, res))

    print("Fitting model using GPy")
    plot(X,Y)

    _ = plt.contour(
        xx,
        yy,
        p,
        [0.5],  # plot the p=0.5 contour line only
        colors="k",
        linewidths=1.8,
        zorder=100,
    )

k = GPy.kern.RBF(input_dim = 2, variance=7., lengthscale=0.2)
testGPy(k)

System information:

GPflow version: 2.0.0
GPflow installed from: pip install gpflow
TensorFlow version:  2.1.0
Python version 3.6.10
Operating system: Ubuntu 18.04

Additional context

Hi @avalonhse, thanks for your interest in GPflow and getting in touch with a thorough bug report! I've had a quick think about this, but will have to come back to this later. For now: Classification (or more generally, non-Gaussian likelihoods) using GPs cannot be evaluated exactly, and we need to approximate the posterior. GPy and GPflow use different approximations (Expectation Propagation in GPy's GPClassification, Variational Inference in GPflow's VGP model), so it's not surprising if they don't find exactly the same answer, but of course in your example the VGP model seems to not fit at all! I suspect this is due to ending up in a poor local optimum, due to the initialisation and/or the optimisation. For the linear example, note that the GPy model ended up with a fairly low variance (~0.07) whereas in your GPflow example the variance ended up being much higher (~1.7). What happens if you initialise the linear kernel in GPflow with a lower variance (try gpflow.kernels.Linear(variance=0.1))? To improve optimisation, it may be helpful to use natural gradients (see our GPflow notebook).

Hi @avalonhse, I've just tried out your notebook, changing the initial variance for the Linear kernel from 1.0 to 0.1 does indeed solve your problem - and the VGP fit in the very last example (RBF+Linear) looks even better to me than the GPy EP fit. So I don't think this is any bug inside GPflow, it's just about what you use it for and how you use it. Local optima in maximum likelihood inference are a well-known phenomenon. As such I'm closing this issue now - if you've got further questions on this, it might be more helpful if you start a question on stackoverflow.com (we've got a gpflow tag), though perhaps the CrossValidated StatsExchange on statistics might be more appropriate still. If you're unsure how to proceed, please feel free to join the discussion on gpflow.slack.com (invite link is in the GPflow README.md), and you can always re-open issues if need be :)

Great. Thank you very much.

Hi @st--
I post a follow-up question in stackoverflow.com: https://stackoverflow.com/questions/61333129/gpflow-gp-classification-with-1-dim-linear-kernel-fits-poorly-for-2-dimension .  This question I had before this issue. Much apprciated.


Netlify Dev Server Not Starting

Describe the bug
I was trying to determine why my functions were being loaded but not found. I opened a support thread on the Netlify forms, which lead me to here. Apparently my development server is not starting and I cannot reach localhost:8888
Here is a screenshot of my terminal once running the netlify dev command

The following box does not show up
   ┌──────────────────────────────────────────────────────────────┐
   │                                                              │
   │   [Netlify Dev] Server now ready on http://localhost:8888    │
   │                                                              │
   └──────────────────────────────────────────────────────────────┘

Steps to reproduce
Repository is private thus unable to share exact repo.
Configuration
[context.production]
  command = "make production"
[context.staging]
  command = "make staging"
[functions]
  node_bundler = "esbuild"
[build.processing]
  skip_processing = false
[build.processing.css]
  bundle = true
  minify = true
[build.processing.js]
  bundle = true
  minify = true
[build.processing.html]
  pretty_urls = true
[build.processing.images]
  compress = false

Environment
System:

OS: macOS 12.3.1
CPU: (8) arm64 Apple M1
Memory: 81.06 MB / 8.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 18.3.0 - /opt/homebrew/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.11.0 - /opt/homebrew/bin/npm

npmGlobalPackages:

netlify-cli: 10.5.0

Duplicate of: https://github.com/netlify/cli/issues/3617


Bump version to Elastic 6.7.0 and latest searchguard version

resolves #376
separate commits for cherrypicking

Thanks! 🙌


Support DB backed ST to session mappings for rails3

In rails 3, the data is a regular hash, not a HashWithIndifferentAccess

rails 3 is so far out of support at this point, I don't think it really matters anymore.


Update New-SPOSdnProvider.md

Added a code example based on this article from Hive Streaming support:
https://support.hivestreaming.com/hc/en-us/articles/115010504788-How-do-I-activate-Hive-for-Office-Video-

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/New-SPOSdnProvider.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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

thx Dennis, appreciated.


USSF-4 is still under ‘upcoming’ despite it already happening

As per title

This project is no longer being maintained. See here


Fix/release pipeline

Codecov Report

Merging #63 (b21be73) into master (710ea13) will not change coverage.
 Consider uploading reports for the commit 45c8d6e to get more accurate results

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   81.93%   81.93%
=======================================
  Files          25       25
  Lines        1046     1046
=======================================
  Hits          857      857
  Misses        189      189

Flag
Coverage Δ

unittests
81.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded.

Issue created with imdone.io

TODO: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69
plan/plan-imdone.md:25
@imdone Issue Creator. The developer's task board. imdone.io

BACKLOG: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone.md:25
@imdone commenter. The developer's task board. imdone.io

DOING: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone.md:25
@imdone commenter. The developer's task board. imdone.io

TODO: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone.md:25
@imdone commenter. The developer's task board. imdone.io

TODO: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone-2017-1-23.md:28
@imdone commenter. The developer's task board. imdone.io

TODO: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone-2017-1-30.md:29
@imdone commenter. The developer's task board. imdone.io

TODO: When a user signs in from imdone-atom give them a confirmation box that asks if they want to start tracking TODOs on GitHub for the project they have loaded. +enhancement id:69 gh:209
plan/plan-imdone-2017-1-30.md:26
@imdone Issue Closer. The developer's task board. imdone.io


Neighbourhood processing: handle domain edge effects

As an IMPROVER scientist, I want the neighbourhood processing to produce the same values around a point regardless of whether the point is near the edge of the domain or not, so that the scientific integrity of the processing is higher.
Acceptance criteria:

points near or on the edges and corners of the domain should not produce any different result values after neighbourhood processing.
may require linear extrapolation creation of a halo
unit tests that note this edge behaviour should be altered to reflect this

Work completed as part of other tickets.


Unhandled Exception when loading nuget package from jupyter c-sharp notebook

Describe the bug
When installing any nuget package using for example: #r "nuget:Microsoft.Data.Analysis" using VS 2019 16.7.0 preview2.0
Did this error occur while using dotnet try or online?

[x] dotnet-try
[ ] online

What kind of error was it?

[ ] User Interface (UI):  For example the output never displayed
[x] Service Error: For example "The service is temporarily unavailable. We are working on it"
[ ] Other:

Screenshots
Installing package Microsoft.Data.Analysis......done!
Unhandled Exception
No design time or full build available
at WorkspaceServer.Packaging.Package.CreateRoslynWorkspace()
at WorkspaceServer.Packaging.Package.ProcessFullBuildRequest(Budget budget)
at WorkspaceServer.Packaging.Package.b__54_0(Budget budget)
at WorkspaceServer.Packaging.PackageRestoreContext.CreatePackage(String name)
at WorkspaceServer.Packaging.PackageRestoreContext.AddPackage(String packageName, String packageVersion)
at WorkspaceServer.Kernel.CSharpKernelExtensions.<>c__DisplayClass2_1.<b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.DotNet.Interactive.Commands.KernelCommandBase.InvokeAsync(KernelInvocationContext context)
at Microsoft.DotNet.Interactive.KernelBase.HandleInternalAsync(IKernelCommand command, KernelInvocationContext context)
at Microsoft.DotNet.Interactive.KernelCommandPipeline.b__6_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _)
at Microsoft.DotNet.Interactive.KernelBase.b__8_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next)
at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(IKernelCommand command, KernelInvocationContext context)
Please complete the following:

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[x] Chrome
[ ] Edge
[ ] Safari

Jupyter support has moved from dotnet-try to dotnet-interactive. Please uninstall dotnet-try and follow the install instructions here, and let us know if this resolves the issue.

Works great after uninstalled dotnet-try and then installed dotnet-interactive:
jupyter kernelspec uninstall .net-fsharp
jupyter kernelspec uninstall .net-csharp
dotnet tool uninstall -g dotnet-try


Add navigation documentation

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
Documentation is always nice. Not much else to say.
Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

If applicable, can we add an accessibility section

If applicable, can we add an accessibility section

There's not really much to say on accessibility here, since most of the accessibility infrastructure lives in the navigation bar's subcomponents.


Drop Databricks 10.4 runtime from CI

Part of  https://github.com/NVIDIA/spark-rapids/issues/10429
Drop Databricks 10.4 runtime from CI pipelines, @razajafri  will help remove 10.4 related source code.

build

I'll drop Databricks 10.4 for all the nightly build and integration tests pipelines

Draft this PR first,
I'll update CI scripts to drop Databricks 10.4 nightly build and integration test pipelines!
Will merge this PR alone with our nightly build and integration test CI changes.

The build/shimplify.py will calculate shim versions from source code : __traverse_source_tree_of_all_shims
Then this PR failed as below, so we need to remove sql-plugin/src/main/spark321db/ dir and all the jason string {"spark": "321db"} in source code to PASS the build
@razajafri  can you help to include this PR into you source change? Thanks!
Error:  Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (shimplify-shim-sources) on project rapids-4-spark-sql_2.12: An Ant BuildException has occured: Traceback (most recent call last):
Error:    File "<script>", line 579, in <module>
Error:    File "<script>", line 354, in task_impl
Error:    File "<script>", line 368, in __generate_symlinks
Error:    File "<script>", line 397, in __traverse_source_tree_of_all_shims
Error:    File "<script>", line 375, in __map_version_array
Error:  AssertionError: all.buildvers in pom.xml does not contain 321db
Error:
Error:  around Ant part ...<shimplify if="shimplify" />... @ 7:33 in /home/runner/work/spark-rapids/spark-rapids/sql-plugin/target/spark312/antrun/build-main.xml
Error:  -> [Help 1]
Error:

Superceded by #10474


NMessengerViewController Memory Leak.

When subclassing NMessengerViewController, without any other code than the deinit function. When the View controller is pushed from root view controller in a navigation, on pop back deinit is never called. I've made the test by replacing the extend of NMessengerViewController by UIViewController, the deinit was called.
So I've check the code and found some problems with delegate attributes

open class NMessenger: UIView {
     // ...
     open weak  var delegate: NMessengerDelegate?
     // ...
}

open class CameraViewController {
      open weak var cameraDelegate: CameraViewDelegate!
}
public protocol CameraViewDelegate: class{

open class InputBarView: UIView, InputBarViewProtocol {
      open weak controller:NMessengerViewController!
}

I've found  these missing weak, but I'm still missing some of them or it is another stuff, because deinit is still not called. Usually in the cocoa framework we have to set delegate as weak, and not to keep a strong reference to them if they need to be deinit https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/Delegation.html
Edit
I think I've found one more in

open class GeneralMessengerCell: ASCellNode {
     // ...
     open weak  var currentViewController: UIViewController?
     // ...
}

But it still not deinit.

Hi, thanks for bringing this up. This messenger was the root view controller of the app we developed for this project, so it didn't really cross my mind to do this. I believe there are quite a few strong references in NMessenger, so it needs some refactoring. I'll try to work on it when I get time, but I'm not sure how long it will take since I am wrapped up with a few other things.


(PUP-4133) Fix interpolation for variables with leading underscore

(PUP-4133) Fix interpolation for variables with leading underscore
Prior to this commit, if string interpolation was done on a variable
that had a leading underscore in the name (i.e. ${bar::_foo}), puppet
would fail with an "illegal fully qualified name" error from
the lexer.
In order to ensure that such variable names can be interpolated
properly, update the lexer so that it will create WORD tokens for
variable names with leading underscores, rather than exiting with
an "illegal fully qualified name" error.

Looks good, will merge when stable is again open for merges.

CLA signed by all contributors.


Cherry pick new fpgad implementation

This change cherry-picks the new plugin-driven fpgad implementation.  While fpgad itself has been reviewed internally, the changes here also..

Split out bitstream.[ch] to a separate library, libbitstream.so, so that they can be shared amongst tools.
Add unit tests for fpgad and the MCP plugin fpgad-xfpga.

Hey @nakulkorde, could you have a look at the top-level CMakeLists.txt?  This merges your packaging changes from the internal repo.


Fix shader language preprocessor include marker handling

Fixes https://github.com/godotengine/godot/issues/81215

When the shader preprocessor handles include directives, it adds enter and exit markers to the shader code, like this:
@@>some_file.gdshaderinc
//Included shader code goes here.
@@<

The actual shader compiler tokenizer then handles these markers and pushes and pops line and file remapping (include_positions). These are used for better file and line number error reporting. However, in some specific circumstances the tokenizer can backtrack the current statement and process same code multiple times. In this case, it happens when an include is used inside a function code block immediately followed by an assignment. In that case, it also processes the include marker multiple times and makes the remapping stack unbalanced.
This PR makes each include marker unique by also adding the file name after the @@< marker and only manipulates the include_positions stack once per marker. This makes sure the stack stays balanced.

Oh, nice.  Thanks for the quick fix!  I wish I understood the shader parsing code well enough to know if this was a good approach, but my brain kind of 404'd while looking through it.

Thanks!


fix(version): update fabric8-stack-analysis-ui to 0.1.33

There were the following issues with your Pull Request

Commit: 8227bdbd8301f1e60365ad33dc26fdb340b6441b
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


EF Core 3 Preview 8 QueryFilter not working

I am having problems getting this to work. Here is my EF mapping:
modelBuilder.Entity<UserProject>(entity =>
 {
      entity.HasQueryFilter(p => !p.IsDeleted);
 });

I am using a repository pattern if that makes a difference. Here is my implementation:
var test = _rw.UserProject.FindAll().ToList();
_rw is Repository Wrapper which just exposes the DbSets of the DbContext. The FindAll() function only exposes the DbSet.
public virtual IQueryable<T> FindAll()
{
     return _db.Set<T>();
}

Other than that I can't think of any reason why this wouldn't work but perhaps I'm missing something.

Duplicate of #15264
It is available in nightly builds.


ARROW-11053: [Rust] [DataFusion] Optimize joins with dynamic capacity for output batches

This builds on https://github.com/apache/arrow/pull/9035.
I am investigating why join performance is so bad with smaller batch sizes (see https://issues.apache.org/jira/browse/ARROW-11030)  and this is one optimization that I have found so far that helps a bit.
Prior to this PR, we use the size of left or right batches to guess the capacity of output batches and this results in a lot of over allocation in some cases. For TPC-H q12 at SF=100, I see vectors created with capacity of ~3,000,000 (the size of the build-side of the join) and then we only populate it with ~700 entries.
This PR attempts to learn a good capacity based on previously processed batches.
Here are query times in seconds at different batch sizes:

Batch Size
Master
This PR

16384
189.6
158.0

32768
61.9
47.2

65536
28.2
21.4

131072
19.0
15.6

An important source of slowness seems to be in the (use and inefficiency of) creating the MutableArrayData structure. In profiling I see a lot in build_extend, freeze etc.
Changing the piece of code to generate a Vec<&ArrayData> directly gives a ~10% speedup locally on batches of size 1000 on your branch @andygrove :
        let (is_primary, arrays) = match primary[0].schema().index_of(field.name()) {
            Ok(i) => Ok((true, primary.iter().map(|batch| batch.column(i).data_ref().as_ref()).collect::<Vec<_>>())),
            Err(_) => {
                match secondary[0].schema().index_of(field.name()) {
                    Ok(i) => Ok((false, secondary.iter().map(|batch| batch.column(i).data_ref().as_ref()).collect::<Vec<_>>())),
                    _ => Err(DataFusionError::Internal(
                        format!("During execution, the column {} was not found in neither the left or right side of the join", field.name()).to_string()
                    ))
                }
            }
        }.map_err(DataFusionError::into_arrow_external_error)?;

Opened a PR with that change here: https://github.com/apache/arrow/pull/9042

I think part of a further speed up could be moving the building of the left / build-side Vec<&ArrayData> so that it is only created once instead of for each right batch. Currently when making the batch size smaller, the build-side Vec is built more times, but also contains more (smaller) batches itself, which could explain (part of the) big slowdown on smaller batches.

I think this is something we should merge. We can maybe tweak the extra 1024 items but this is one extra source of slowness for smaller batches. Also I think helps making the other sources more clear.

@andygrove thought more about this, I think we are able to use indices.len() for the exact required capacity rather than using previous sizes. I included the change among other changes in this PR https://github.com/apache/arrow/pull/9048

Closed in favor of https://github.com/apache/arrow/pull/9048


Adding release notes for new setting

Description
Since https://github.com/opensearch-project/OpenSearch/pull/15751 is pending merge to 2.17, will add a new item to release notes
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @harshavamsi , why it is not done in https://github.com/opensearch-project/OpenSearch/pull/15751 ?

Thanks @harshavamsi , why it is not done in #15751 ?

I guess I could have added a new commit but adding new commits means new gradle checks and it is taking forever at this point :/

https://github.com/opensearch-project/OpenSearch/pull/15751 has been merged. Merging this one.


WIP Multiple Fixes and Enhancements

Worked on what feels better from my perspective. If anything doesn't work out or there's a better way to show/do it, let me know and I'll fix it
App

Added max width to whole app (currently at 1200px, will need to create responsive designs)

MainContent

Change appearance of the entire section to a column-by-column flex alongside ControlsContent (2:3 ratio, MainContent:ControlsContent)
Condensed the rendering of sections by utilizing JS map function
Changed some styling of the characters so it appears bigger
Changed input text color to black in dark mode and removed text shadow
Changed background color of input to use base color plus some opacity (alpha) to make text show more Kedyn/fusliez-notes#24
Some colors (brown, blue, and purple) are using alternative background colors because the original color lacks contrast to the text color

ControlsContent

Changed display of switches to a row to minimize the space it was taking up
Restructured function to reset players, also renamed function and button to reset round instead for clearing purpose
Added function to reset everything to initial state (can discuss if needed to add a confirm modal or change the color of the button to make it stand out a bit more)
Changed notes background color to lightgray
Shrunk notes text area to height 350px

MapsContent

Moved the entire section to be a part of ControlsContent (Seems like most people have a hang of the maps and doesn't require much visual guidance from it)
Changed border color to be green to make the current selection stand out
Removed draggable characters for now (commented out the code). Really cool feature, but I don't see it being utilized much. There's normally a lot going on in the game and updating the map/characters is not the easiest thing during a round (I apologize in advance if this upsets anyone. again, very easy to revert that code change)

@chilblane @kevinydhan
hey all, made some UI changes to the app and would love to hear what you guys think of it. Kedyn thinks something feels off but can't pinpoint what it is
already talked to Kedyn about limiting 1 issue per PR. I apologize in advance if there's too much to follow. I tried to outline all the changes I have made in the above
Kedyn received feedback that the map almost feels like a cheat so we're thinking of removing them

Hey @francistse23, I'm going to take a look at your forked repository and get back to you.

i'm probably going to pass on reviewing this and any other code reviews until i have a chance to jump in and evaluate the project as a whole in the future.

i'm probably going to pass on reviewing this and any other code reviews until i have a chance to jump in and evaluate the project as a whole in the future.

that's fair. just want to finalize on a design going through it with as many UX/UI devs as possible. a few people did report that they want it to be mobile friendly. I want the majority of the team to agree on a design before I implement responsive design

Hey @francistse23, you made some good stylistic and refactoring changes to the application. Unfortunately, I'm confused as to the current status of this project, which is hindering my decision to accept/close this PR.
@Kedyn, here are the questions I have about the application:

Which desktop design are we going to implement?
Are we going to incorporate Redux?
Are we going to implement a mobile version? If so, can we finalize a design for mobile?

I think it would be best for you to make the executive decision on this before we continue.

To be honest I am a bit lost as well. There's no clear direction where we want to take this app as of right now, except implementing an executable (with Electron) and a mobile version.
Seems like chilblane and yourself have more UI/UX design experience.  Kedyn and I were waiting on your designs and decide which one to go with. Not sure if you have had a chance to check out chilblane's mock up.
and perhaps Kedyn himself can address the questions you have for him. From my understanding:

From my conversation with Kedyn, he likes both yours and chilblane's designs.
We probably won't implement Redux at this moment. It's something to consider but at the current state, maybe useReducer can handle it just fine (if we implement that)
I personally want to do a mobile version of this. See below for chilblane's wireframe as an example:

I'd be down to implement the mobile design, as well as whatever enhancements we'd like to make for the app in general

We probably won't implement Redux at this moment. It's something to consider but at the current state, maybe useReducer can handle it just fine (if we implement that)

That's fine. I can go ahead and proceed to refactor the useState lines into a custom useReducer hook.

I personally want to do a mobile version of this. See below for chilblane's wireframe as an example:

I'm a fan of that mobile wireframe. I think we can ask @chilblane to flesh out the design to match his desktop version.
As for this PR, it might be best to either cherry pick commits or:

Close this PR.
Work on the project's restructuring using useReducer and better segmented components.
Create new scoped tasks on the Issues page.
Assign a developer with a single task and have them submit a PR for that task.

I am a bit concern about the talk of how much of this is a cheat. I feel the score and noting who is who to you, is not much of a cheat since is just what you are thinking during the game. Therefore I think if we make an executable (mostly for those with one screen), it should only have the main content.

I would not mind if someone takes on the task of changing it from context/reducer to redux. I expend quite a bit of time on the redesign of the whole project and it took away from the tempo of the project. I think is fine for now, but open to it if someone takes on the task.

From the data collected today from the analytics, we got a few people, around 30%, using mobile... so I think we should create a mobile design.

I really like both of your designs, so on the feedback form I have added an image of both designs to see which one people like more. chilblane's is geared more towards general users, yours more towards leslie. I also feel that would not be so crazy to just allow the user to create their own theme.

As for the PR in question... my only concern is that the the layout is more spread... where I think me and both @chilblane and @kevinydhan kept in mind the stream position and size from the viewers prespective.

where'd you hear that this feels like a cheat? I know we had this discussion yesterday about the map. to me, the map itself feels more like a guide, and the notes and players are supplementary to the gameplay like you said
yeah if kevin is up for it, he can certainly change the useState to useReducer to reduce some of the clutter. if not, I can do it using the example he provided
I can do the mobile design unless someone wants to pick it up
I guess we'll wait for some votes on which option users prefer, then go ahead with the design changes?
I am ok with cherry picking commits or scrap my changes, but let's finalize on a design before we make any more changes?

youtube comments and Cheery also mentioned it

if that's the case and the team is ok with it, I can remove the map from the UI and have the feedback form in a modal.
that should take care of that problem as well as the layout spread you are concerned about

As previously mentioned, to me: if you have two monitors and you are using both the game and the app's map it has merit because you need a bit more attention to both... but to put it in the electron app should not even be considered. As seen in the feedback people do use the map so I would keep it as is... not adding extra functionality

I would rather see this PR merged in first. If we want to go my design direction, I'd like to get as much engineering work done first. UI can be a second priority.


Add apps:revision:update command

This sets the revision on an app (not touching any other deployment
parameters). In practice, this will be useful to update the branch for
our existing v1 deployments.
cc @fancyremarker

👍  — we might consider adding a flag to also change the repo URL in this command (for the use case of pointing an app at a branch on one's one fork). But I think this is the appropriate amount of functionality for now.

See #33


INPUT OUTPUT INTERFACE

hi, @ddehun, I am doing the end-of-the-year check up.
the results format is clear.
Yet, I find that it is confounding how I can put a sentence that I choose
and get the result.
if possible, please put the material in the README file,
such as "python main.py --input_sentence input_file.txt --ouput output_file.txt"
thanks, yours sincerely, Yang

Hi. Thank you for your good suggestion. I'll include the interface for plan text asap.


Output of pest has 10 line breaks between command and output, it makes the screen cumbersome

Here is the output of a passing test
Testing started at 10:03 p.m. ...
/usr/local/bin/php /Users/roni/code/php/laravel/7.x/bga/vendor/pestphp/pest/bin/pest --teamcity --configuration /Users/roni/code/php/laravel/7.x/bga/phpunit.xml /Users/roni/code/php/laravel/7.x/bga/tests/Feature/Product/ImportPriceList.php --filter=/flys$/
PHPUnit 9.2.6 by Sebastian Bergmann and contributors.

Time: 00:00.222, Memory: 24.00 MB

OK (1 test, 1 assertion)

Process finished with exit code 0

Here is an image

Huh, interesting bug, thanks for reporting 👍

This has been fixed in the latest version 👍


NOISSUE: run codecov-action only on pull requests

- What I did
Codecov run disabled on scheduled builds
Upgraded codecov version to avoid timeout issue
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

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

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   15.30%   15.30%
=======================================
  Files           7        7
  Lines        1006     1006
=======================================
  Hits          154      154
  Misses        844      844
  Partials        8        8

Continue to review full report at Codecov.

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


[Migrated] Zappa crashes when running "zappa"

Originally from: https://github.com/Miserlou/Zappa/issues/1395 by cameronk

Context
After two days and two different OS', I finally got Zappa working. For about 5 minutes, until I had to reset my virtual env (Zappa was packaging my entire virtual env, including /lib/, which resulted in ~100mb deploy zips.)
When I reinstalled, I now get this:
camer@DESKTOP-VRG88TF:/mnt/c/Users/camer/Desktop/Development/ryze/content-engine/api$ zappa
Oh no! An error occurred! :(

==============

Traceback (most recent call last):
  File "/home/camer/.local/share/virtualenvs/api-GJXpcMFr/lib/python3.6/site-packages/zappa/cli.py", line 2610, in handle
    sys.exit(cli.handle())
  File "/home/camer/.local/share/virtualenvs/api-GJXpcMFr/lib/python3.6/site-packages/zappa/cli.py", line 505, in handle
    self.dispatch_command(self.command, stage)
  File "/home/camer/.local/share/virtualenvs/api-GJXpcMFr/lib/python3.6/site-packages/zappa/cli.py", line 520, in dispatch_command
    if not self.vargs['json']:
KeyError: 'json'

==============

Need help? Found a bug? Let us know! :D
File bug reports on GitHub here: https://github.com/Miserlou/Zappa
And join our Slack channel here: https://slack.zappa.io
Love!,
 ~ Team Zappa!

Expected Behavior
Zappa should output the usual list of help commands
Actual Behavior
Zappa breaks
Steps to Reproduce

Create a virtual env with pipenv on python 3.6
Run zappa
It breaks

Your Environment

Zappa version used: 0.45.1
Operating System and Python version: Python 3.6.3, Ubuntu 16.04.3
Your zappa_settings.py:

{
    "dev": {
        "app_function": "app.app",
        "aws_region": null,
        "profile_name": "zappa",
        "project_name": "api",
        "runtime": "python3.6",
        "s3_bucket": "zappa-i38d9iob8"
    }
}

old migrated issue, assumed fixed.
closing.


State in option text is not working

Godot version 4.0 stable
I am trying to add state variable in one of the option's text, but it seems that EzDialogue is taking that up as responce.text
prompt

output

Expectation: states can be used in option text.

I think we can use .format of String
It also uses dictionary
and is some key isn't found in response text it can ignore that key.

Injecting variable as part of the choice text has not been considered during the development.
Thank you for pointing out this use case out.
there maybe need to correct the parsing logic to properly include injection as part of choice text.
Looking into this now.

the fix should be in main now. Feel free to re-open if still occurs.


Question about tls1.2 using rsa and dhe

Hi everyone. The website is really helpful for me to understand every single message of tls. Since the key exhance process on the website uses ECDHE. Is there any resource which uses rsa or dhe that I can refer to? Thanks you so much for providing this wonderful work.

Thanks for your explanation.


fix: css insert order

Description
fix #3924
relate #6301
close: #6044
IIUC, the test case provided by #6044 will not get the expected results originally. But this test case exposes another problem.
When using chunk CSS, the insertion order of CSS in dev and build modes is different. Currently, there is no clear specification for CSS insertion order. So I chose the CSS sequence of build mode with higher performance as the benchmark to correct the inconsistent CSS insertion sequence.
In prod mode, Vite will concurrent request dependency for async chunk. It good point to optimize loading. https://vitejs.dev/guide/features.html#async-chunk-loading-optimization
Entry ---> (A + C)

But in dev load chunk will one by one.
Entry ---> A ---> C

For js it ok. But for css it will break the css insert order and make element node got an unexpected style.
To kept this optimization, we should keep dev in the same CSS insertion order as prod.

ensure dynamic import chunk entry point.

when meet a dynamic import will call preload helper to load all the deps in prod. It will insert <link rel="stylesheet" src="css url"> by BFS order.
Browser load the module is also BFS, but the dev module had the diff resolveId / load / transform hook handle timing, it will make the css order confusion.
In this PR, collect the loading order by browser.

mark dynamic import as entry point on importAnalysis plugin.
ensure the entry point weight on browser. (rewrite the import method to record the dynamic import order in browser and inject the url query (http query params will break the browser cache) send the weight state by websocket to shared the entry point weight to vite dev serve module graph)

via 1 collect state, we can ensure the file importer by what entry point in entry point moduleGraph.updateModuleInfo time point.

In this PR, add entryPoint field on ModuleNode to record the entry point for each module node.

insert the style node as the same as the collect loading weight.

via entry point weight we can ensure the style node weight as same as build mode.
After this PR, kept the build load async module order and mock the serve mode style order as same as build mode.

Additional context

TODO

[ ] hmr test
[ ] conditional triggered dynamic import
[ ] performance report

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Oh when I write the PR context, I find miss some context.

I was able to reproduce the issue that I think I'm having, by importing a shared function into both blue and black.
https://github.com/IanVS/vite/commit/8c8bc4306083427a9946274ae1fb3cadf0d3cf3f
In the case of both blue and black, I would expect their colors to be correct, since each one imports the css module after the global hotpink styles.  But that doesn't happen, and one turns pink.

Is this PR still being worked on? It seems development has stopped on this.

修复：异步块中的 css 顺序问题 #9949

It seems that the problem has been fixed, please see https://github.com/vitejs/vite/pull/9949

@atzcl unfortunately not.  That was one piece of it, but there are still problems which the PR you referenced did not address.

As of today, more than 160 days have passed since the latest update. Is there any progress? Any plans to merge and release? We're looking forward to fixing this issue, to fix the issues we're having. thank you for your work!

@poyoho Why this pr closed? Has this bug fixed or no need to fix? We blocked by https://github.com/vitejs/vite/issues/3924

Because I feel like this pr can't solve the problem 🤦

@maicWorkGithub there are some new comments on https://github.com/vitejs/vite/issues/3924#issuecomment-1452186508 that are hinting at this issue not being solvable. I suggest you look for a workaround, like the proposal there of using CSS layers. I don't think this issue is going to be solved any time soon and we may need to close it as expected.

@poyoho Thanks for your work!
@patak-dev CSS layers too new, it's compatibility not suitable. postcss plugin of CSS layers seems a better way, I will suggest this in our dev group. Thanks.


Adding badge for status of readthedocs.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #144   +/-   ##
=======================================
  Coverage   89.27%   89.27%
=======================================
  Files          44       44
  Lines        2154     2154
=======================================
  Hits         1923     1923
  Misses        231      231

Continue to review full report at Codecov.

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


Add troubleshooting section for the article "Secure the Kubeflow authentication with HTTPS" on IBM Cloud

I've got several cases that the guide Secure the Kubeflow authentication with HTTPS is really hard to follow and caused trouble that's hard to debug.
@animeshsingh suggested adding a troubleshooting section and it sounds good idea.

Hi! Sharing my experience to secure Kubeflow 1.1 on IBM Cloud IKS using AppID.
I followed the documentation as available on Kubeflow page - https://www.kubeflow.org/docs/ibm/deploy/install-kubeflow/#multi-user-auth-enabled ...but after configuring every step as expected, I couldn't connect to Kubeflow using AppID. Whenever I tried hitting the Kubeflow URL as configured in the steps, the browser returned an error..."Could not connect".
I then ran a CURL on command line as: curl -v https:// and found the below message:
About to connect() to .us-south.containers.appdomain.cloud port 443 (#0)

Trying 169.xx.xx.xx...
Connection refused

This raised suspicion about the ingress gateway pod in istio-system namespace if its picking up the correct config. I ran the command: kubectl logs -f  -n istio-system and it retuned the below error:
[2020-11-11 15:21:55.364][20][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:81] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) <IP_ADDRESS>_443: Invalid path: /etc/istio/ingressgateway-certs/tls.crt
[2020-11-11 15:22:41.394][20][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:87] gRPC config stream closed: 13,
[2020-11-11 15:22:41.541][20][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:81] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) <IP_ADDRESS>_443: Invalid path: /etc/istio/ingressgateway-certs/tls.crt
Now, the issue was very clear from error above - the certificates were missing in the istio-ingressgateway pod. I tried to check if the secret was deployed using the command: kubectl describe secret/istio-ingressgateway-certs -n istio-system and the result was: Error from server (NotFound): secrets "istio-ingressgateway-certs" not found
Hence, it was very evident I missed a step to create the istio-ingressgateway-certs certificate from Step 6 of the documentation - https://www.kubeflow.org/docs/ibm/deploy/authentication/#exposing-the-kubeflow-dashboard-with-dns-and-tls-termination
After creating the certificate, rescheduled the istio-ingressgateway using the command kubectl delete pod/istio-ingressgateway-xxx -n istio-system --force --grace-period=0 and then tried to trigger a CURL to the Kubeflow URL. It connected and issue was fixed!
Lessons learnt: The steps are quite exhaustive and its highly likely to miss a point since they are not highlighted sufficiently (at least the important ones). So, once you deploy the entire config, review them step by step and ensure the components are in place and working as expected. It may take little while but its the only way for a perfect deployment.
Wishlist: It would be nice to add a "Logout" button in the Kubeflow UI. That would add flexibility to end user session.

Just for formality 😺
/assign @animeshsingh @shawnzhu @Tomcli


Issue/#34 35 createevent form

Fixes # (issue)
34,35
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

unsure why this is starting to occur on at least my pull requests.  I assumed the github build tests ran independent from our machines, in which case, this is a recent issue. screenshot of error below. seems to be related to chokidar2 dependency (which seems to be optional in research) incompatibility with node v14+.


feat: (optional) onload callback

I need to run a callback after contents has been loaded. (This is because of an issue with Goneovim I'm using…).
This PR makes it possible.
Does this feature match your views for the plugin?

Does this feature match your views for the plugin?

If you need a feature, implement it and let's get it merged in.
The plugin is feature-complete for my use-cases, but I'm not the only one using it (so I have blind-spots in my view :grin:)


UriParser should return false or throw a InvalidArgumentException like parse_url

Hey :),
i think that this is a feature. But it would be nice if the UriParser can throw false or InvalidArgumentException on a invalid url like parse_url do.

Well UriParser already throw an InvalidArgumentException if the submitted URI is not well formed. but do keep in mind that UriParser is only a parser you should validate your URI using your constructor. Here's a quote from the documentation:

The UriParser class only parse and extract from the URI string its components. You still need to validate them against its scheme specific rules.


added lint gha

This PR Contains

Added Lint GHA
this workflow is REQUIRED for a PR to be mergable

cc @nehagup

@Ayush7614 Seems like because of your last PR, the workflow is breaking. Can you please help fix that first?
I've created a bug for the same here - https://github.com/keploy/ui/issues/54

@Ayush7614 Seems like because of your last PR, the workflow is breaking. Can you please help fix that first?
I've created a bug for the same here - #54

This action works when any change is like ui updation, js code this will works then not in GHA this works

@Ayush7614 the build performance check is still failing.

@Ayush7614 can you please check why the build performance is failing?

@Ayush7614 are you still working on this?


doc: fix pdf export

Documentation export in pdf was not working. This PR fix this by:

removing the sphinx build option -W (a.k.a --fail-on-warning) in conf.py in order to continue the build even if the documentation contains warnings (see #11972) *;
using Xelatex engine in order to support the unicode characters included in the doc;
configuring the builder to use png images as fallback, since gif images are not supported by the LaTeX engine;
adding png fallback images for each gif images.

*: I also removed the unnecessary --keep-going, these two options are opposite.

Thanks @roipoussiere! Just to highlight that the build errors have been addressed in #12044 which is currently awaiting review, so if that gets approved we won't need to remove the -W flag.

Thanks for the review. I added the --fail-on-warning sphinx option in the commit.

Merged in 5a8c33f34a36a038ab8cdaedddf19fe4d5750cf5 (with Sphinx version bump to >=7.3 added).
@roipoussiere - I've added you to the contributors list as "Nathanaël" - let me know if you'd like this changed to a full name.

Thanks! If it's not too late you can add my last name as well (Nathanaël Jourdane) for consistency with other contributors in the list.

No problem! Updated in efc419a3a1 (main) and fe9a2c493f8479e82adc80797137b723f2ce95a3 (stable/6.2.x).


keycloak: 22.0.3 -> 22.0.4

Diff: https://github.com/keycloak/keycloak/compare/22.0.3...22.0.4
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks!


When giving scale=90, image is downloaded. However, when giving scale=30 for landsat, it shows the message attached in the uploaded image

Environment Information

geemap version:
Python version:
Operating System:

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

For large files, you need to use ee_export_image_to_drive(). GEE does not allow downloading large files directly to a local computer. It has to go through Google Drive. See https://geemap.org/notebooks/11_export_image/

Thank you professor for your instant reply. Love and appreciate you from Bangladesh.

Thank you for your response Professor.
On Mon, Apr 18, 2022 at 7:41 PM Qiusheng Wu @.***>
wrote:

Closed #1027 https://github.com/giswqs/geemap/issues/1027.
—
Reply to this email directly, view it on GitHub
https://github.com/giswqs/geemap/issues/1027#event-6448071313, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APBXTXKLUTZJ5ZANQHXJ263VFVRBVANCNFSM5TV4IU2Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Regards,
Md. Imam Sohel Hossain
Scientific Officer
Institute of Mining, Mineralogy and Metallurgy (IMMM),
Bangladesh Council of Scientific and Industrial Research
(BCSIR), Joypurhat
Ministry of Science and Technology
Cell: +8801737570134


Suggestion

I was wondering if you can create "another project", to create a tool that updates "Microsoft Office" in the style of Dism ++, obviously collaborate with the translation.
It's just a suggestion.

I'm sorry. There is no plan at the moment...

ok

For now you can use "Hard Links" compression (slow), which locates files with exactly the same contents (including all data streams), security attributes, but only found under distinct files names or in multiple folders). Note that this may also locate duplicate directories (that index the same files), but their use on Windows is rare compared to the many hardlinks created in the Component Store (in WinSxS) by component installers and then hardlinked to their final installation target (without duplicating the content, but under a different path and possibly a different filename).
Hard links may also created for virtualized directories, but there are most often implemented as reparse points (soft links living in memory from an empty directory mount point)
Windows uses lots of these technics to compact its storage needs without duplicating everything. But as the detection of new files with the same contents as other existing files on the same volume requires hashing the content, if the content is modified, this is not possible to do that in live mode.
Note also that two files with identical contents may have different attributes (different owner, different access rights, if if two distinct security contexts allow modifications, and they are not coordinated, this could cause unexpected damages if their content was shared; windows still allows this using virtualized file histories where each one will have their own versioned contents but may still share the same unmodified parts)
As a result, the traditional way of finding duplicating files by content generally fails, except for basic documents, but should not be used if files are executables or scripts: you could delete required files for an app, if you remove one copy, or replace them by hardlinks but not preserving their distinct attributes.
This is not specific to Windows: you have similar problems on Linux: deduplicating files requires user control and analysis of how files are used by apps. You'll want to dedup only media files (music, images, videos), office documents, but not source files (you may want to preserve backups without having to look at which files were modified since the archiving, but for this reason, backups should be done to a distinct storage volume
If backups they are on the same volume, NTFS provides a simpler and more efficient way, using versioned "snapshots" on volumes where you've enabled the detection of changes with "shadow" copies: shadow copies are also working like hardlinks but they are dynamic, no copy is actually done immediately, only modifications are made in separate sectors, preserving the former version completely intact kept in the snapshot which also keeps the unmodified clusters shared by the modifed versions).
Note the VSS (shodwo copies) are not available on FAT32/xFAT volumes, where only "file histories" are kept (they require copying the full content of the file, like classic backups)


"That One Privacy Guy's VPN Comparison Chart" moved to new location

OpSec -> Anonymous Browsing -> Anonymous VPNs -> That One Privacy Guy's VPN Comparison Chart URL should be changed to https://thatoneprivacysite.net/

Nice, this looks much better than the google doc.  I'm glad he updated it.  Thanks for the notice, added in tonight's release.


ARROW-2722: [Python] Sanitize dtype number to handle edge cases

Yes I was (on Windows 64).

Codecov Report

Merging #2234 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2234      +/-   ##
=========================================
+ Coverage   84.19%   84.2%   +<.01%
=========================================
  Files         288     288
  Lines       44073   44074       +1
=========================================
+ Hits        37109   37112       +3
+ Misses       6933    6931       -2
  Partials       31      31

Impacted Files
Coverage Δ

cpp/src/arrow/python/type_traits.h
83.33% <ø> (ø)
:arrow_up:

python/pyarrow/tests/test_convert_pandas.py
94.89% <100%> (+0.01%)
:arrow_up:

cpp/src/arrow/python/numpy_convert.cc
88.15% <100%> (-0.45%)
:arrow_down:

cpp/src/arrow/python/numpy_interop.h
100% <100%> (ø)
:arrow_up:

python/pyarrow/scalar.pxi
62.39% <0%> (+0.82%)
:arrow_up:

Continue to review full report at Codecov.

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


New Matcher: .toBeFinite()

Feature Request
.toBeFinite()
Use .toBeFinite when checking if a value is a Number, not NaN or Infinity.
test('passes when value is a finite number', () => {
  expect(1).toBeFinite();
  expect(Infinity).not.toBeFinite();
  expect(NaN).not.toBeFinite();
});

I'll have a PR up for this in a bit!

Nice one @tophernuts. Don't forget to star ✨ and share the project 😄


Display FPS (specified) stays at 60fps after switching refresh rate

As the title says: display FPS (specified) stays at 60fps after switching refresh rate. This messes a bit with playback when display FPS (estimated) deviates a bit from the target. This means that whenever I move the mouse, or display the OSD, the playbach becomes very choppy, probably because mpv somehow tries to resync between 60fps and 24fps (I'm using display-resample).
This isn't that big of a deal, because once I video-sync settles, playback is perfectly smooth. However it would be nice if there was a way to fix it.

I don't entirely follow what you are saying. Could you explain in a little more detail using screenshots as examples?

Here's how it looks before switching the refresh rate:

Here it is right after switching:

And here after playing the video for a few seconds:

As you can see, the video needs to play for a few seconds to until mpv correctly estimates the actual refresh rate. Unfortunately, during the these few seconds the playback stutters horribly.
After switching to fullscreen or back to windowed, or after switching from mpv to a different program, it again re-estimates the refresh rate, again causing stuttering.
If I switch the refresh rate manually before opening mpv, the "Display FPS (specified)" value gets correctly recognized as 23.976 and there's no longer any stuttering.

I don't have this problem, my 'Display FPS' field is automatically updating when the display updates. Maybe make sure you're not manually setting the display fps to 60. It's possible mpv.net is doing it.
Otherwise, I don't believe I can do anything about this. Maybe try setting video-sync to audio. If  suggest opening an issue in the main mpv repository


Disable Governance test with zkVM in CI

Related to https://github.com/risc0/risc0/issues/783, the governance example tests with zkVM execution take too long to run. This PR disables those tests for now.
Note that a basic build and functionality test for the zkVM guest is included in cargo test. Tests for the Solidity code is included in forge test with TEST_USE_ZKVM=false. So both these components are individually covered by tests in CI. With this PR their integration will not be covered until https://github.com/risc0/risc0/issues/783 is fixed.

Oops, forgot about https://github.com/risc0/risc0/pull/781


Remove .borrow from derive_nonce_rng

It breaks type inference and is unnecessary.

This fixes my type inference error, LGTM!


dart:io problem in Android VM.

using the dart:io package, reading a file
final content = await file.readAsString();

resolves to a Future instead of a String.
it works correctly on iOS, but not on Android.

We'll need to try and repro and then hand off to the VM team if we can.  @johnmccutchan @jason-simmons @DaveShuckerow can point you to an internal (larger) app which demonstrates this if necessary.  Odd that it only repos on android.
@DaveShuckerow were you using --debug, --release on either?  Were these on devices or simulators?

I've created an example using a modified version of @DaveShuckerow's code which does not repro for me on the iOS simulator or Genymotion emulator (Nexus 5X):
https://github.com/flutter/flutter/commit/2cea20512ccfc1843eb29f2ee47e27791da5ee35

I encountered this on a physical Nexus 5X.  I believe it was in --release mode.

@DaveShuckerow tried my above example on a physical Nexus 5 in both --debug and --release and it did not repro. :/

Neither @DaveShuckerow or I are able to repro, closing.


hardfault in ekf_att_pos_estimator

I come across this problem,can anybody help me.
Assertion failed at file:armv7-m/up_hardfault.c line: 184 task: ekf_att_pos_estimator
sp:     20002908
IRQ stack:
base: 2000294c
size: 000002e8
20002900: 2001ba40 0809c32d 080cffc4 000000b8 08097c49 00000010 20002654 00000003
20002920: 00000000 0809c5bd 0809c5a9 080a58d1 00000010 00000000 20019af7 006092da
20002940: 00000000 0809c52d 2001b8cc 00000000 10000010 00000001 00000000 00000000
sp:     2001b9a0
User stack:
base: 2001ba40
size: 000011f4
2001b9a0: 20019af7 20018750 00000001 0803e86b 20019a80 20019b0f 200197b8 ffffffff
2001b9c0: ffffffff 20019730 ffffffff 00000009 00000000 ffff0001 2001a31c 0000000c
2001b9e0: 00000000 00000101 2001a34c 00000000 00000000 00000000 00000000 00000000
2001ba00: 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000
2001ba20: 00000000 0803e33b 2001a20c 00000001 00000000 0809911f 00000000 00000000
R0: 006094e7 00000000 000094e7 00000010 00000000 20019af7 006092da 00000000
R8: 00000000 00000000 00000000 00000000 00000000 2001b9a0 080b2fd7 080b2fd8
xPSR: 01000000 BASEPRI: 00000010 CONTROL: 00000000
EXC_RETURN: ffffffe9
in my ubuntu ,i tried this:
#arm-none-eabi-gdb nuttx-px4fmu-v2-default.px4
#info line *0x080b2fd8
#No line number information available for address 0x080b2fd8

Which version of the firmware are you using? Did it correspond to anything, like shortly after getting a GPS fix for the first time (or connecting HIL)?
There was a hard fault in ekf_att_pos_estimator fixed about a month ago, but it hasn't made it to a stable release yet. It would occasionally be triggered the first time the ekf started publishing.
https://github.com/PX4/Firmware/commit/fe60a43bba6ebb976513f3db0b7a8aca749fc2a3#diff-691152f6db71750a66589c01dc9ef549

my version is v1.3.0rc3 .
commit ffb0d37c8a56c88e83e257b770053fe24946fc48
Date:   Mon May 9 23:01:06 2016 +0200

Okay so you definitely don't have that change, but that doesn't prove anything.
Can you try this?
arm-none-eabi-addr2line -C -e build_px4fmu-v2_default/src/firmware/nuttx/firmware_nuttx -a 080b2fd8

when i install my GPS module ,bug appeared.seems like the GPS cause the problem.
i try your command,
#arm-none-eabi-addr2line -C -e build_px4fmu-v2_default/src/firmware/nuttx/firmware_nuttx -a 080b2fd8
#Firmware/src/modules/uORB/uORBDevices_nuttx.cpp:311

Good, that lines up perfectly with the fix. The problem is/was the uninitialized mavlink orb descriptor, so when it tried to publish (uORB) you got the hard fault trying to access something bogus.
As a work around until the next stable can you cherry-pick this commit and rebuild? Otherwise we could potentially do a hotfix release.
https://github.com/PX4/Firmware/commit/fe60a43bba6ebb976513f3db0b7a8aca749fc2a3#diff-691152f6db71750a66589c01dc9ef549

thanks .the bug is fixed when i use your patch.

This is fixed on stable a long time and the hotfix release is already out. Thanks for reporting!