com.qonversion.io error 2. isUserCancelled: false

Hello everyone, set up my project, cloned this the repository, modified the project id.
The product list is listing correctly, but the permissions are not listen. When I try to buy an item, I get this error:
The operation couldn’t be completed. (com.qonversion.io error 2.), isUserCancelled: false
I am developing on iOS debug mode, virtual device. Where can I search for a solution to this error 2?

Hi @fabianogadenz
Can you please use a real device? And let me know if the problem still occurs

Hi @fabianogadenz
Can you please use a real device? And let me know if the problem still occurs

yes, the problem persists in real device.
XCode: 12.3
https://imgur.com/a/ozMthAP
https://imgur.com/a/rmar2Bm
The test application only recognize the product, I cannot make the purchase. I have already reviewed all the settings according to the documentation and I cannot understand this error.
The operation couldn’t be completed. (com.qonversion.io error 2.), isUserCancelled: false
my flutter -doctor
`[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H15, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Android Studio (version 4.0)
[✓] Connected device (1 available)
• No issues found!`

yes, the problem persists in real device.
XCode: 12.3
https://imgur.com/a/ozMthAP
https://imgur.com/a/rmar2Bm
The test application only recognize the product, I cannot make the purchase. I have already reviewed all the settings according to the documentation and I cannot understand this error.
The operation couldn’t be completed. (com.qonversion.io error 2.), isUserCancelled: false
my flutter -doctor
`[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H15, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Android Studio (version 4.0)
[✓] Connected device (1 available)
• No issues found!`

I set up the apple product on the panel. I cloned the project from this repository, registered the project key and it doesn't work. Did I forget something?

I set up the apple product on the panel. I cloned the project from this repository, registered the project key and it doesn't work. Did I forget something?

a detail that I forgot to comment. I'm using a test that is in production and prohibiting the product for testing. Is there any problem?

a detail that I forgot to comment. I'm using a test that is in production and prohibiting the product for testing. Is there any problem?

my product status in Apple Store is Approved. at the moment, we are selling in production

my product status in Apple Store is Approved. at the moment, we are selling in production

Hi, @fabianogadenz
Let me check your configuration so I can try to give more useful information to you
I'll come back soon

Hi, @fabianogadenz
Let me check your configuration so I can try to give more useful information to you
I'll come back soon

Thanks for your response @suriksarkisyan,
I will attach some more information about the code, I believe it can help you.

Thanks for your response @suriksarkisyan,
I will attach some more information about the code, I believe it can help you.

Hi @fabianogadenz
I see on your screen that the SKProduct is null.
Look's like you forgot to replace the project bundle id. It's impossible to download SKProducts for your identifiers with our bundle id. Just set your bundle id and try again. 🤞

Hi @fabianogadenz
I see on your screen that the SKProduct is null.
Look's like you forgot to replace the project bundle id. It's impossible to download SKProducts for your identifiers with our bundle id. Just set your bundle id and try again. 🤞


docker and singularity images for aydin (gpu)

Hi,
Initial version if you wish to use it, more a proof of concept than production ready!

miniconda3 based recipe
caveat: miniconda:master for debian11, may need to switch to miniconda:latest when upstream switch
cudatoolkit version 11.3 from miniconda requires Nvidia driver recent enough (11.3 required driver >=465.19.01)
docker image does not have ENTRYPOINT (I don't use docker, bbut ymmv)
works for me but a test case should be provided

Cheers
Tru

hello @truatpasteurdotfr !
Pardon my late reply, I was out for some days.
I will give this a try and review it this week but looks good at first sight!
Thank you for the PR.

I have splitted the CI for docker and singularity containers as I am hitting disk size limit on the CI runner.

Hi @truatpasteurdotfr ,
We are close to finish our migration to pytorch from tensorflow/keras. I know this been a long waiting PR but after completion of that migration, we can update this branch again and merge it.


Reduce number of spans in Starlette

Overview
This removes the following middleware from being instrumented in an effort to reduce the number of spans created when instrumenting starlette:

ServerErrorMiddleware.__call__

Related Github Issue
Spike DT Improvements

Codecov Report

Merging #780 (d339ae1) into main (572b24b) will decrease coverage by 0.25%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #780      +/-   ##
==========================================
- Coverage   63.96%   63.71%   -0.25%
==========================================
  Files         264      264
  Lines       26121    26121
  Branches     4460     4461       +1
==========================================
- Hits        16707    16642      -65
- Misses       8265     8306      +41
- Partials     1149     1173      +24

Impacted Files
Coverage Δ

newrelic/hooks/framework_starlette.py
90.19% <66.66%> (-4.58%)
:arrow_down:

... and 14 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Both of the middleware we were planning on no longer wrapping are used to create the transaction name so I'm closing this PR for now.


Corrected a slight spelling mistake in the README.md

@googlebot rescan

Apologies for taking so long to get to this! It seems like this spelling error has already been fixed in the base branch.


chore(sdk): Define helper trait MaybeCompact

Ref https://github.com/paradigmxyz/reth/issues/12454

re-request review @mattsse

ping @mattsse


add selector for semester part

This addresses #308.
I've added a selector for semester part.  It works much like the color-by selector.  All courses with intersecting terms are displayed. So if you pick "First Half", you will see Full, First Half, A, and B courses since all of those meet during the first half of the semester.
This my need revisiting if/when we implement custom terms.  But that is disabled for now.

I deleted the search bar from the UI since it is disabled and restyled a bit given the new selector.


Issue warning when attempting to define a native DOM property on the prototype

Due to the magical ways that native DOM properties are handled by the browser, we should try to warn users if they attempt to define properties like "id" or "title" themselves.
In particular if we can emit a warning on things like
<polymer-element name="x-foo" attributes="id title">

We can save users on some real headaches.
This will fix issues like #332.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Remove properties from File attribute

Fixes #195
Draft while testing that this actually fixes

I'm happy that this can be merged, but should not form part of our v23.05.1 release as I would like to have it in staging first.


MPBGP remove AVD default of no neighbor for peers/peer groups in AF

Issue Type

Template enhancement

Is your feature request related to a problem? Please describe.
Checking the EOS CLI standard behaviour and AVD there is redundant knobs for MPBGP where we explicitly disable peers/peer groups that are not meant to be part of the particular address-family.
By default with MPBGP we will not negotiate capability for any address-family that the peer is not defined, thus there is no need for us to explicitly do this so.
AVD
   address-family evpn
      neighbor EVPN-OVERLAY-PEERS activate
      no neighbor IPv4-UNDERLAY-PEERS activate
      no neighbor MLAG-IPv4-UNDERLAY-PEER activate
   !
   address-family ipv4
      no neighbor EVPN-OVERLAY-PEERS activate
      neighbor IPv4-UNDERLAY-PEERS activate
      neighbor MLAG-IPv4-UNDERLAY-PEER activate

Describe the solution you'd like
A clear and concise description of what you want to happen.
The following  provides the exact same result
PE1(config)#show run sec bgp
router bgp 1
   no bgp default ipv4-unicast
   neighbor EVPN peer group
   neighbor EVPN remote-as 2
   neighbor EVPN send-community
   neighbor EVPN maximum-routes 12000
   neighbor IP peer group
   neighbor IP remote-as 2
   neighbor IP update-source Loopback0
   neighbor IP ebgp-multihop 2
   neighbor IP maximum-routes 12000
   neighbor <IP_ADDRESS> peer group IP
   neighbor <IP_ADDRESS> peer group EVPN
   !
   address-family evpn
      bgp next-hop-unchanged
      neighbor EVPN activate
   !
   address-family ipv4
      bgp next-hop-unchanged
      neighbor IP activate

PE1(config)#show ip bgp summ
BGP summary information for VRF default
Router identifier <IP_ADDRESS>, local AS number 1
Neighbor Status Codes: m - Under maintenance
  Neighbor         V  AS           MsgRcvd   MsgSent  InQ OutQ  Up/Down State   PfxRcd PfxAcc
  <IP_ADDRESS>          4  2                  7         7    0    0 00:02:43 Estab   0      0

PE1(config)#show bgp evpn summ
BGP summary information for VRF default
Router identifier <IP_ADDRESS>, local AS number 1
Neighbor Status Codes: m - Under maintenance
  Neighbor         V  AS           MsgRcvd   MsgSent  InQ OutQ  Up/Down State   PfxRcd PfxAcc
  <IP_ADDRESS>         4  2                 24        23    0    0 00:05:52 Estab   0      0

IPv4Neighbor Capabilities:
    Multiprotocol IPv4 Unicast: advertised and received and negotiated
    Four Octet ASN: advertised and received and negotiated
    Route Refresh: advertised and received and negotiated
    Enhanced route refresh: advertised and received and negotiated
    Send End-of-RIB messages: advertised and received and negotiated
    Additional-paths recv capability:
      IPv4 Unicast: advertised
    Additional-paths send capability:
      IPv4 Unicast: received

EVPNNeighbor Capabilities:
    Multiprotocol IPv4 Unicast: advertised and received and negotiated
    Four Octet ASN: advertised and received and negotiated
    Route Refresh: advertised and received and negotiated
    Enhanced route refresh: advertised and received and negotiated
    Send End-of-RIB messages: advertised and received and negotiated
    Additional-paths recv capability:
      IPv4 Unicast: advertised
    Additional-paths send capability:
      IPv4 Unicast: received

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
It's liveable but the more address-families we have the more no neighbours we will have which in the end the result is simpler with the above.
Additional context
Add any other context or screenshots about the feature request here.

no bgp default ipv4-unicast is not hardcoded into the templates today, but is in the <type>_bgp_defaults. If we remove the explicit enable/disable, the configuration may fail if <type>_bgp_defaults was overridden without no bgp default ipv4-unicast.


[BACKLOG-32808] Internal variables are not used when selecting a file…

… or folder in the same directory when using updated VFS browser

:white_check_mark: Build finished in 11m 29s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:ok_hand: All tests passed!
Tests run: 1131, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Pre-pull docker images used for testing

This is needed to prevent timeouts in e2e tests which now need to fetch images
Example flaky test, probably caused by the additional time on fetching the image: https://github.com/kubernetes-sigs/kueue/issues/1021. Another already closed issue: https://github.com/kubernetes-sigs/kueue/pull/1025.

+1
We can use kind load

fixed by: https://github.com/kubernetes-sigs/kueue/pull/1126
/close


Ability to Toggle Control Strip Using Keybind similar to fn key for Function Keys

Ability to key bind (hopefully one key) to show partial and full control strip layout similar to how the fn key works for function keys. May also include toggles, key bind or shortcut for persistent items etc. (other hidden items). Sometimes you just need to access these items quickly without going through the pock menu but want to display your beautiful well organised dock unobstructed by default.

Just want to expound that if you set the fn key to show the full control strip while it is "hidden" in Pock, you can't expand the control strip because Pock takes priority. Plus I also want to keep the fn key to show the function keys and bind another key to show and the hide the control strip and or the persistent items.

I was able to hack this behavior using the following code segment in the app delegate
    /// Finish launching
    func applicationDidFinishLaunching(_ aNotification: Notification) {
        // Insert code here to initialize your application
        NSApp.isAutomaticCustomizeTouchBarMenuItemEnabled = true

        var isHoldingFunction = false;
        NSEvent.addGlobalMonitorForEvents(matching: .flagsChanged) {
            switch $0.modifierFlags.intersection(.deviceIndependentFlagsMask) {
            case [.function]:
                if (defaults[.hideControlStrip]) {
                    isHoldingFunction = true;
                    defaults[.hideControlStrip] = false
                    NSWorkspace.shared.notificationCenter.post(name: .shouldReloadPock, object: nil)
                }
            default:
                if (isHoldingFunction) {
                    isHoldingFunction = false;
                    defaults[.hideControlStrip] = true
                    NSWorkspace.shared.notificationCenter.post(name: .shouldReloadPock, object: nil)
                }
            }
        }

Introduced in the latest release! https://pock.dev

@pigigaldi any idea why it might not work? I'm on the latest version, but double press of control button have no effect (I'm pretty sure nothing is binded to the same keypress)

Worth mentioning that double press requires application restart (at least that was the case for me)


Add brunsbucks's file

This pull request adds brunsbucks's file to the _posts folder

updated name


msal-angular 2.x The request body must contain the following parameter: 'client_assertion' or 'client_secret'

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.14.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.0.0
Description
Hi,
we are trying to upgrade from msal-angular v1 to v2.
With v1 we used Implicit Flow and got the token directly from the /authorize endpoint.
v2 uses authorization code with PKCE which we have adjusted our app to.
The /authorize endpoint yields a code as expected but the /token endpoint fails with a 401 Unauthorized with message The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Platform was previously set to Web which we removed and exchanged for an SPA platform. We tried activating the Allow public clients flows option but still got the same error.
Our manifest looks like this:
{
	"id": "<id>",
	"acceptMappedClaims": null,
	"accessTokenAcceptedVersion": null,
	"addIns": [],
	"allowPublicClient": true,
	"appId": "<appId>",
	"appRoles": [],
	"oauth2AllowUrlPathMatching": false,
	"createdDateTime": "2021-02-26T13:41:27Z",
	"disabledByMicrosoftStatus": null,
	"groupMembershipClaims": null,
	"identifierUris": [],
	"informationalUrls": {
		"termsOfService": null,
		"support": null,
		"privacy": null,
		"marketing": null
	},
	"keyCredentials": [],
	"knownClientApplications": [],
	"logoUrl": null,
	"logoutUrl": null,
	"name": "<appName>",
	"oauth2AllowIdTokenImplicitFlow": false,
	"oauth2AllowImplicitFlow": false,
	"oauth2Permissions": [],
	"oauth2RequirePostResponse": false,
	"optionalClaims": null,
	"orgRestrictions": [],
	"parentalControlSettings": {
		"countriesBlockedForMinors": [],
		"legalAgeGroupRule": "Allow"
	},
	"passwordCredentials": [],
	"preAuthorizedApplications": [],
	"publisherDomain": "<ourDomain>",
	"replyUrlsWithType": [
		{
			"url": "https://<devSystemUrl>/aad-callback/",
			"type": "Spa"
		},
		{
			"url": "https://<devSystemUrl>/",
			"type": "Spa"
		},
		{
			"url": "http://localhost:4200/aad-callback/",
			"type": "Spa"
		},
		{
			"url": "http://localhost:4200/",
			"type": "Spa"
		}
	],
	"requiredResourceAccess": [
		{
			"resourceAppId": "00000003-0000-0000-c000-000000000000",
			"resourceAccess": [
				{
					"id": "e1fe6dd8-ba31-4d61-89e7-88639da4683d",
					"type": "Scope"
				}
			]
		}
	],
	"samlMetadataUrl": null,
	"signInUrl": null,
	"signInAudience": "AzureADMyOrg",
	"tags": [],
	"tokenEncryptionKeyId": null
}

What else do we have to do in order for the authorization code flow to work?
Kind regards, Jan
MSAL Configuration
function MsalInstanceFactory(): IPublicClientApplication {
  return new PublicClientApplication({
    auth: {
      clientId: environment.auth.clientId,
      authority: 'https://login.microsoftonline.com/<tenantId>',
      redirectUri: `${window.location.origin}/aad-callback/`,
      postLogoutRedirectUri: undefined,
      navigateToLoginRequestUrl: true
    },
    cache: {
      cacheLocation: BrowserCacheLocation.LocalStorage,
      storeAuthStateInCookie: false
    },
    system: {
      loggerOptions: {
        loggerCallback: (level, message) => console.log(message),
        logLevel: LogLevel.Verbose,
        piiLoggingEnabled: true
      }
    }
  });
}

function MsalInterceptorConfigFactory(): MsalInterceptorConfiguration {
  const protectedResourceMap = new Map<string, string[]>();
  protectedResourceMap.set('https://graph.microsoft.com/v1.0/me', ['user.read']);
  // protectedResourceMap.set('/assets/**', undefined);

  return {
    interactionType: InteractionType.Redirect,
    protectedResourceMap
  };
}

function MsalGuardConfigFactory(): MsalGuardConfiguration {
  return {
    interactionType: InteractionType.Redirect,
    authRequest: {
      scopes: ['user.read', 'openid', 'profile'],
      extraQueryParameters: {}
    }
  };
}

Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

Forget it, I'm stupid... accidentally used the wrong clientId thus my changes in the app registration were obviously not taken into account.


404 error on https://operationcode.org/founder page

Bug Report

What is the expected behavior?
I expect to see the text with David Molina's Bio information.
What steps did you take to get this behavior?
I type in: https://operationcode.org/founder
Additional Info (same issue with /board page as well
Operating System osx (10.10)
Browser Chrome
Screenshots

We don't currently have a founder page.  We are working to add content as listed in the issues.


Where are spacings defined, if at all?

💬 Question
I see spacings in the mappings but no "global" spacings. Does this mean that there is no grid/sizing defined with eva?
By spacing I mean things such as paddings, border radius, sizes and margins, it looks like these are defined per component instead of globally.
Is this part of the system? If so, what benefit does it have? It looks like the base system is based on 8px, but then icons in the menu for example are 20px, whereas the ones in the ListItem are 24.
I'm really trying to figure out this eva system so do excuse me for the (probably) dumb noob questions.

There is. But not strictly defined in mappings (in current version). We use Sketch from our design team + some internal generation tools.
You can find sketch file on the eva.design

So the mappings are generated? Is there a way for others (me) to use those spacings to also generate consistently spaced mappings? I really love the system so far. The spacings part is me nitpicking, but I do think it's important.

Sometimes there are exceptions. As you mentioned about ListItem. That’s true, and we suppose it can’t be just perfect.

Is there a way for others (me) to use those spacings to also generate consistently spaced mappings?

Not yet :)

@artyorsh It's getting there though 😄 I got the figma file yesterday and we're very happy with it. As to the spacings, I guess I can make a constants file myself and use that in my mappings.
Maybe a global variables feature would be something cool to add here? Mainly for spacings of course. If you agree I wouldn't mind helping out with that. For now I'll close this issue though, as this would be offtopic.
Thanks for the very fast and informative replies thus far, you're killing it 😄

If you're going to become familiar with mapping system, I would suggest using strict set of variables for that purposes. In current version it is extendable and may be used for declaring variables for your components. Some time we will unify it too 👍
You may post your final solution here, I'm interested :)

That's what I was planning on doing actually! Just like the colours I'll have my spacing defined like in the eva mappings.

Are there any updates on it in 2021? I really like this framework, looks fresh and stylish, and much easier to use. Just curious if I should use my consts to manage spacings, as suggested in https://github.com/akveo/react-native-ui-kitten/issues/954#issuecomment-602017703, or some solution is already done?


Investigate fuzzer out-of-memory problems

At the moment (i.e. as of 076f7acf06e15b72c17822418c3f7d61365fbe8e), I'm getting out-of-memory errors when running tests with certain seeds. For instance,
elm-test --seed 875733316

... consistently fails eventually by running out of memory, whereas ...
elm-test --seed 875733317

... is fine.
This probably means that something in the fuzzing or shrinking is hitting an infinite recursion, for some reason.

git-bisect reveals that ee9c345292924cf3c1a2d26aa35a80a54ecf226e is the first commit at which that particular seed is a problem ... that is, it's the first commit that fails with --seed 875733316

And, I cannot seem to get the previous commit to fail with any seed, having tried a fair number. So, it looks like ee9c345 introduced the problem.

So, the failing test that kicks off the out-of-memory problem is an integer overflow problem in the product test ... I suspect what's happening is that the fuzzing process is getting inconsistent results, and thus basically getting confused ... I'll fix the underlying test and this should go away.

This should be fixed in cf155cc53cd8bb64c8dea6b0ea6f9f3cfda885f6 -- though it's not the most rigorous fix.


Storage::download not working with S3

Laravel Version: 6.16.0
PHP Version: 7.3.8
Database Driver & Version: N/A

Description:
The Storage::download method seems broken. Might be an issue with flysystem-aws-s3-v3, but thought I'd start here.
Steps To Reproduce:

Fresh Laravel install.
composer require league/flysystem-aws-s3-v3 ~1.0
Enter S3 credentials into .env
Route for downloading an existing, public file. eg:

return \Storage::disk('s3')->download( '/_testing/sample-image.jpg' );

Observe failed download.

Wondering if it's related to https://github.com/laravel/framework/pull/31163
Does downgrading to v6.11.0 fix the problem? And if so: does upgrading to v6.12.0 break it again?

Please give Laravel error logs file content.

@driesvints - Thanks for the suggestion! Can confirm. Going down to 6.11.0 resolves the issue, going back up to 6.12 breaks it again. @voyula - logs are empty/non-existent.

I think output buffering problem for downloading data.

We've reverted the pr that caused this.


shopt command not foud

Description
`shopt' command not foud error occurred.
Steps to Reproduce

open CLI of no-bash
npm install -g @renault-digital/bash-base
source bash-base

Expected behavior:
no error messaged showed
Actual behavior:
error message shopt command not foud showed
Reproduces how often:
always
Versions
1.4.2
Additional Information
None.

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

npm package (@latest dist-tag)
GitHub release
v1.4.3

Your semantic-release bot :package::rocket:


Typings not showing up for VSCode

The type information isn't showing up for inherited functions and properties.

It looks like Babel is moving the JSDoc strings around:

That's weird. I wonder if it has something to do with combining those functions during the transpilation? Either way, seems wrong. I'll do some googling this week to see if anyone else has run into that, unless you've got time to dig into it first.


Any chances to include epoll_pwait2()?

It would be nice to have better timeout granularity.

it seems you can call it via syscall but it there is not (yet) a wrapper like epoll_pwait has.


Conditional gather?

If I would like to gather the result of parallel computations that have finished (not those that have thrown an error, or are still in computation), I would write cod that does this:
scores = dict()
for assay, score_future in scores_futures.items():
    if score_future.status == 'finished':
        scores[assay] = client.gather(score_future)

Would it be of interest, and would it also make sense or not (I'm open to this not being a sensible thing), to have this wrapped in a client.gather_finished(futures) class method? Some of my parallel computations take a long time, while others finish up pretty quickly, so being able to gather just the finished jobs and continue prototyping, while allowing myself to come back later and gather everything later, might be of use, I think.

Is as_completed useful for you? https://distributed.readthedocs.io/en/latest/api.html#distributed.as_completed

Thanks for pinging back, @martindurant!
I took a careful look at the docs, but I think I need to clarify one point:

Calling next on the iterator will block until the next future completes, irrespective of order.

If I understand the above statement correctly, I think this might be a blocker to using as_completed in the way I'm hoping to, but I might be wrong here. I'm basically looking for non-blocking behaviour - that is, if the future is still running, skip over it, and let me just continue using the results of the futures that already have finished. From that line in the doc, it looks like using as_completed may still block if I'm iterating over the futures.
Can I check, is my mental model wrong here?

Yes, I suppose you are right. Your loop is simple enough, and seems it works well - I don't suppose it's designed to be run too often.
There may be interest in supplying this convenience method. I would recommend proposing a PR with clear docstring and tests (some futures don't finish for a long time, some error).

The as_completed object is able to be used in a non-blocking fashion.  For example:
my_tasks = as_completed([x, y, z])

# option 1, the batch will be empty if none are ready.  Doesn't block
batch = my_tasks.next_batch(block=False)

# option 2, check if any are ready
if not my_tasks.queue.empty():
    batch = my_tasks.next_batch()
    # or you could just grab one result if that fits better in your loop

Hope this helps.  The docs could maybe be improved.  Check out the source code:
http://distributed.dask.org/en/latest/_modules/distributed/client.html#as_completed

@ericmjl what are your thoughts here ?  The block described by @eriknw seems to satisfy what you are after but the docs should probably be amended.

I added the as_completed method docstrings to the docs in https://github.com/dask/distributed/pull/2642, and also added a public method has_ready for checking if there are any ready futures. Erik's example using more public interfaces would then look like:
my_tasks = as_completed([x, y, z])

# option 1, the batch will be empty if none are ready.  Doesn't block
batch = my_tasks.next_batch(block=False)

# option 2, check if any are ready
if my_tasks.has_ready():
    batch = my_tasks.next_batch()

Thanks @quasiben and @eriknw for getting back.
I briefly tried as_completed, but it didn't work out for what I was thinking of doing. That's not an issue though, as the code block I had was small enough that I could just make it a function and leave the patch as just that - "a patch".
I'll have another opportunity to try out as_completed later in the week, when I get back to the project I was working on, after I finish tutorials @ PyCon.


Undefined environment: hangingpar

When compiling example.tex using pdflatex, the following error is thrown:
! LaTeX Error: Environment hangingpar undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.79   \begin{hangingpar}

Is there a particular package corresponding to the hangingpar environment? If not, adding \usepackage{hanging} in the preamble and replacing hangingpar with hangparas resolves the problem.

the hang package in dnd.sty provides the hangingpar environment. Have you made any modifications to the dnd package? Are there any errors in the preamble that are causing the inclusion of the hang package to fail?

My mistake--I cloned a fork of this repository, which seems to be missing the \usepackage{hang} in dnd.sty:  https://github.com/BrianCriswell/DND-5e-LaTeX-Template/blob/master/dnd.sty


New map model

could you drop the evm.smt2 file? i moved it to the verified-smart-contract repo.

done. Do you have idea why jenkins failed?


Fix openpulse.rst typos

Summary
Add a missing ; for a variable declaration and remove an extra ) in the qubit spectroscopy example for OpenPulse.
Details and comments

 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.

Thanks @kshyatt-aws!

Thank you for the quick review on this!


[corechecks/snmp] Add Profile Version to metadata

What does this PR do?
[corechecks/snmp] Add Profile Version to metadata

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

replaced by https://github.com/DataDog/datadog-agent/pull/20466


fix comment inserted by c api docs generator script

Fixed typo:
Script generate_docs.py inserted a wrong comment in the markdown files: "This section is generated by scripts/generate_config_docs.py"

Hi @c-herrewijn, thanks for the PR! Can you please run the linter on it to fix the formatting? This can be achieved via
scripts/lint.sh -f

Thanks!


.includes? misbehaves with non-ascii

Code:
require "random"

"#{String.new(Random.new.random_bytes)}PNG#{String.new(Random.new.random_bytes)}".includes?("PNG")

I would expect the above to always be true, but in most runs this comes back as false.
P.S
Same code with .match(/PNG/) works each time.

One more reason why we should've kept String UTF-8 only...

:cry:

Duplicate of https://github.com/crystal-lang/crystal/issues/8785


KeyboardAvoidingView: update bottom height when frame height is changed

Summary:

Fix this issue: https://github.com/facebook/react-native/issues/29499

We should change the bottom height if the frame height of KeyboardAvoidingView is changed

In some scenarios, the height of KeyboardAvoidingView would be changed because its container is re-layouted. So onLayout of KeyboardAvoidingView may be triggered more than once.
https://github.com/facebook/react-native/blob/bbc3657ff4efd0218e02ad9a3c73725a7f8a366c/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js#L114-L125
But at line 122 above, _updateBottomIfNecessary  would be called only for the first trigger of onLayout. That means, if the height of KeyboardAvoidingView is changed, the bottom height can't be updated.
See the videos below:
before
In this video, KeyboardAvoidingView  is rendered twice, and the height is changed from 844 to 753, bottomHeight  is not updated when the height changed, so there is a white gap below the continue button. Once I re-open the keyboard, _updateBottomIfNecessary is called again, then the white gap disappeared.
https://user-images.githubusercontent.com/25719782/232962924-c69adc11-deb9-4426-9b5c-4e990a0470db.mp4
after
https://user-images.githubusercontent.com/25719782/232962956-a163020f-5f40-4d82-9f6c-5ee67416c489.mp4
Changelog:
[GENERAL] [CHANGED] - change _onLayout to update bottom height when frame height is changed
Test Plan:

Reading around this I saw that the same function is called in the event of keyboardWillChangeFrame. Do we not see the event in this case?

This change seems good to me, but for someone not very familiar with this logic, could you explain the sequence of events/the math here a bit?

This change seems good to me, but for someone not very familiar with this logic, could you explain the sequence of events/the math here a bit?

Hi @NickGerleman , I have updated the Summary, you can take a look :).


[nodemon] app crashed - waiting for file changes before starting...

Thank you @dsod for setting up this amazing template, which combines two of my favorites.
when I try to run the dev server, I got this error message, see below attached screenshot.

Hey, thanks! glad you like it.
Looks like you activated strict: true in your tsconfig.json. I'll have a look at this in a day or two. Meanwhile you can run without strict mode or excluding the apps/server/index.ts from type checking.

Fixed in 118264963a30ce2d73a483622e50a5b0f7e254a8


Update reference-data-schema.md

Added Papers.DocSubTypes

Docs Build status updates of commit dad05ed:
:warning: Validation status: warnings

File
Status
Preview URL
Details

academic-services/project-academic-knowledge/concepts-queries.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/how-to-deploy-new-indexes-to-makes.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/concepts-queries.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-post-evaluate.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-get-evaluate.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-post-histogram.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-get-histogram.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-post-interpret.md
:warning:Warning

Details

academic-services/knowledge-exploration-service/reference-get-interpret.md
:warning:Warning

Details

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

academic-services/project-academic-knowledge/concepts-queries.md

Line 2, Column 8: [Warning-duplicate-titles] Title 'Natural Language Queries - Microsoft Academic Services' is duplicated in: 'knowledge-exploration-service/concepts-queries.md(2,8), project-academic-knowledge/concepts-queries.md(2,8)'. Titles must be unique within a docset.
Line 5, Column 10: [Warning-ms-date-invalid] Invalid date format for 'ms.date': '2020-03-19'. Must be a date in format M/D/YYYY, no more than 30 days from today.

academic-services/knowledge-exploration-service/how-to-deploy-new-indexes-to-makes.md

Line 5, Column 10: [Warning-ms-date-invalid] Invalid date format for 'ms.date': '2020-02-10'. Must be a date in format M/D/YYYY, no more than 30 days from today.
Line 94, Column 1: [Warning-duplicate-h2s] Duplicate heading: 'H2 'Verify your service is working as expected''. Each second level heading (H2) in an article must be unique.
Line 164, Column 1: [Warning-duplicate-h2s] Duplicate heading: 'H2 'Verify your service is working as expected''. Each second level heading (H2) in an article must be unique.

academic-services/knowledge-exploration-service/concepts-queries.md

Line 2, Column 8: [Warning-duplicate-titles] Title 'Natural Language Queries - Microsoft Academic Services' is duplicated in: 'knowledge-exploration-service/concepts-queries.md(2,8), project-academic-knowledge/concepts-queries.md(2,8)'. Titles must be unique within a docset.
Line 5, Column 10: [Warning-ms-date-invalid] Invalid date format for 'ms.date': '2020-02-10'. Must be a date in format M/D/YYYY, no more than 30 days from today.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

academic-services/knowledge-exploration-service/reference-post-evaluate.md

Line 5, Column 10: [Warning-ms-date-invalid] Invalid date format for 'ms.date': '2020-02-10'. Must be a date in format M/D/YYYY, no more than 30 days from today.
Line 8, Column 1: [Warning-duplicate-h1s] H1 'Evaluate REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-evaluate.md(8,1), knowledge-exploration-service/reference-post-evaluate.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Returns entities that match constraints specified in a structured query expression' is duplicated in 'knowledge-exploration-service/reference-get-evaluate.md(3,14)', 'knowledge-exploration-service/reference-post-evaluate.md(3,14)'.
Line 36, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

academic-services/knowledge-exploration-service/reference-get-evaluate.md

Line 5, Column 10: [Warning-ms-date-invalid] Invalid date format for 'ms.date': '2020-02-10'. Must be a date in format M/D/YYYY, no more than 30 days from today.
Line 8, Column 1: [Warning-duplicate-h1s] H1 'Evaluate REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-evaluate.md(8,1), knowledge-exploration-service/reference-post-evaluate.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Returns entities that match constraints specified in a structured query expression' is duplicated in 'knowledge-exploration-service/reference-get-evaluate.md(3,14)', 'knowledge-exploration-service/reference-post-evaluate.md(3,14)'.
Line 42, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

academic-services/knowledge-exploration-service/reference-post-histogram.md

Line 8, Column 1: [Warning-duplicate-h1s] H1 'Histogram REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-histogram.md(8,1), knowledge-exploration-service/reference-post-histogram.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Computes attribute value distribution for a structured query expression' is duplicated in 'knowledge-exploration-service/reference-get-histogram.md(3,14)', 'knowledge-exploration-service/reference-post-histogram.md(3,14)'.
Line 38, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

academic-services/knowledge-exploration-service/reference-get-histogram.md

Line 8, Column 1: [Warning-duplicate-h1s] H1 'Histogram REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-histogram.md(8,1), knowledge-exploration-service/reference-post-histogram.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Computes attribute value distribution for a structured query expression' is duplicated in 'knowledge-exploration-service/reference-get-histogram.md(3,14)', 'knowledge-exploration-service/reference-post-histogram.md(3,14)'.

academic-services/knowledge-exploration-service/reference-post-interpret.md

Line 8, Column 1: [Warning-duplicate-h1s] H1 'Interpret REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-interpret.md(8,1), knowledge-exploration-service/reference-post-interpret.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Generates semantic interpretations of a natural language query' is duplicated in 'knowledge-exploration-service/reference-get-interpret.md(3,14)', 'knowledge-exploration-service/reference-post-interpret.md(3,14)'.
Line 41, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

academic-services/knowledge-exploration-service/reference-get-interpret.md

Line 8, Column 1: [Warning-duplicate-h1s] H1 'Interpret REST API' is duplicated with other articles: 'knowledge-exploration-service/reference-get-interpret.md(8,1), knowledge-exploration-service/reference-post-interpret.md(8,1)'. First level headings must be unique within a docset.
Line 3, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Generates semantic interpretations of a natural language query' is duplicated in 'knowledge-exploration-service/reference-get-interpret.md(3,14)', 'knowledge-exploration-service/reference-post-interpret.md(3,14)'.
Line 47, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Unable to send resource UUID in API request using Python

Hi,
I have setup a simple Producer-Consumer setup using IDS Connector and I am trying to exchange data using the Connector’s API in PYTHON. Using the API, I was able to create a resource at the Provider but I am facing an error while adding data to this resource.
Method 1:
Code:

Error:

Method 2:
So I converted the resourceUUID which is of datatype String to UUID object and pass it as UUID object but I get another error.
resourceUUID as an UUID object:

Code:

Error:

I have tried the solution from StackOverflow but this gives same error as Method 1:
I also had a look at the current and closed issues on Github but I could not find anything related. Is there any solution or short-term workaround for this?
It would be great if you could help me, thanks!

Hi,
in your first method, it looks like you're setting both the resource ID and the data string as request parameters, meaning they're appended to the URL. The resource ID is a path variable in the URL, so it has to be substituted instead of appended. The URL when calling this endpoint should look like /admin/api/resources/a4212311-86e4-40b3-ace3-ef29cd687cf9/data?data=someDataString. I hope this solves the issue.

Hi ronjaquensel ,
Thank you very much, that resolved the issue.


Unable to add new DB through UI

Describe the bug
When adding new database monitoring through UI, error "ERROR: new row for relation "source" violates check constraint "source_dbtype_check" (SQLSTATE 23514)". When this constraint is removed from DB, adding fires another constraint as if backed tries to write all empty values to DB. Adding directly to DB works. This was working 3 months ago when I 1st tested it. Pressing "Test connection" report success.
To Reproduce
Steps to reproduce the behavior:

Build pgwatch3 from master branch with docker compose build pgwatch3
Run pgwatch3 with default docker compose file.
Go to UI, dashboard, click to "+ NEW" button, fill in the data, click "Start monitoring"
See red error in lower left corner.

Expected behavior
Adding new source through UI works.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser chrome
Version latest

Additional context
Also tab "Presets" seems to be empty, but data seems to be going in:

Also adding new metrics report success, but metrics is not added:

Seems that editing database under monitoring is not working too - pressing edit button opens empty window (same as when you press "+ NEW" button).

this is why we have #403 and #421 opened. We are actively working on webui.
Please, consider it broken and use other ways to put sources under monitoring (either use YAMl config file or add directly to database with psql or other client).
Thanks for understanding!

After all bug fixes we will release it :)

And now there's dilemma - should we try to find more so its a better product but released later? 😁 Because so far it seems to be checking quite a few boxes on what we want to deploy here in our company.
Btw I tried to push new branch to your repo with a few small typo fixes, but got 403. It is error on my end, or only approved people can push?

And now there's dilemma - should we try to find more so its a better product but released later?

It's up to you. At the moment webui is the thing we need to finish to go at least to beta. And I'm struggling to provide any time frame because I don't write front-end and thus dependent on my colleagues.

Btw I tried to push new branch to your repo with a few small typo fixes, but got 403. It is error on my end, or only approved people can push?

People are allowed to create pull requests. Everything else is forbidden, of course. :)

I might be able to help. But how to create pull request if you can't push new branch first?

@pashagolub sorry I was out for a week, but if you want me to help with something throw some ticket at me. I never tried programming in GO but it seems it's not that hard looking at the code. I can try something simpler. But I can help with typescript stuff. I have some limited knowledge with that. My java programming skills won't help much here 😁


UWP calendardatepicker showing neighbor months

Please see the question as posted on stackoverflow -
(https://stackoverflow.com/questions/54627507/uwp-calendardatepicker-showing-march-when-mindate-is-set-to-11th-feb)

This appears to a problem with the control itself, not with any sample in this repo. (And there is no sample in this repo that uses a CalendarDatePicker as far as I recall.)


fix: add organizationId to projects:get output

I put OrganizationID last so that it also appears last in the CSV output to avoid changing the order of columns in the output. If not for that, I would have inserted it between "Name" and "LanguageTopic". Thoughts?

No matter where you put the new column, this change will necessitate downstream communication with users since it will theoretically 'break' consumers. So, putting it at the end is fine. If we really wanted to go nuts, we could discuss having PKs always go at the end/beginning of a tabular output, but that's an entirely separate conversation.
The test data will have to be updated to reflect this change in the API, however.

After discussion, we are keeping organizationId last. End users will be warned of this change in the release notes when it goes to main.

:tada: This PR is included in version 1.4.0-beta.10 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


refactor(graphql): strawberry to input

We need both strawberry input and type for DocumentArray.
Indeed in strawberry input and type are two differents concepts (even if from a code perspective they are very similar).
Briefly :

type is used to select fields in request / response
 input is used  when "posting" a document. (We need it in core because we always rely on posting a da when calling an endpoint)

So core need both definition in docarray. Moreover other users working with docarray might need both as well.
Right now we defined StrawberryDocumentInput without correlation with StrawberryDocument(the type). So some code is repeated. This is normal, both objects and semantically different even if today they are almost equal it could be different in the future. ( see this  commit where I unified both that I finally revert)
original conversion here
done with @JohannesMessner

class _StrawberryDocument:
    id: Optional[str] = None
    parent_id: Optional[str] = None
    granularity: Optional[int] = None
    adjacency: Optional[int] = None
    blob: Optional[Base64] = None
    tensor: Optional[NdArray] = None
    mime_type: Optional[str] = None
    text: Optional[str] = None
    weight: Optional[float] = None
    uri: Optional[str] = None
    tags: Optional[JSONScalar] = None
    offset: Optional[float] = None
    location: Optional[List[float]] = None
    embedding: Optional[NdArray] = None
    modality: Optional[str] = None
    evaluations: Optional[List[_NameScoreItem]] = None
    scores: Optional[List[_NameScoreItem]] = None
    chunks: Optional[List['StrawberryDocument']] = None
    matches: Optional[List['StrawberryDocument']] = None

@strawberry.type
class StrawberryDocument(_StrawberryDocument):
    ...

@strawberry.input
class StrawberryDocumentInput(_StrawberryDocument):
    ...

I don't agree that we should have one source of truth for both. The input kind is more like an init function we don't want the user to be allowed to override some private field. In the future we could want to delete some field from the input and keep them in the type.
For me the StrawberryDocument is like the pydantic models and the StrawberryDocumentInput is the public interface of the Document.
I first stared to join them in this commit https://github.com/jina-ai/docarray/pull/141/commits/69ac6bb2ab7900d4c1d90c2a03371acfdbedbd92 but I revert it later
Moreover


Increase NGINX body-size

Summary
Fix #818
Co-authored-by: @psschwei
Confirmed with the infrastructure team and added the required label specified in the issue: proxy-body-size.

I got a little confused with the changes in the value.yaml file change for the local install.  There are 2 ingress instances configurations in the value file.  One is installed with Ray operator and the other is installed as a dependency of the quantum-serferless chart.  The changes make the change in the ingress installed with Ray operator that is not enable for the local install.  The other ingress is enabled for the local install.

Mmm... Which instance for Ray operator do you mean, @akihikokuroda ?
Right now I see two different instances:

Local NGINX for local development, managed by nginxIngressControllerEnable
NGINX configuration for 3rd party cloud platforms

I admit that there we can have a bit of confuse because depending on the provider we are going to need to change that configuration. I'm totally open to improve that (I think @psschwei mentioned before some ways to fix it).
Sorry, I don't know if I'm followinf here, @akihikokuroda 🙏

@psschwei Yes, it is.


Fix bug for ms statement

Changes proposed in this pull request:

Add clearPrevious();

Pull Request Test Coverage Report for Build 5305

6 of 14 (42.86%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 63.273%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/core/statement/MasterSlaveStatement.java
6
14
42.86%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-reg/src/main/java/io/shardingsphere/orchestration/reg/newzk/client/zookeeper/base/Holder.java
2
72.13%

Totals

Change from base Build 5304:
-0.03%

Covered Lines:
7930

Relevant Lines:
12533

💛  - Coveralls


Should the default length_penalty be 0?

I'm wondering if the default value of length_penalty in the beam search algorithm should be set to 0.
My understanding, based on discussions like this issue in the hf transformers repository, is that a length_penalty greater than 0 favors shorter sequences, while a penalty less than 0 favors longer ones and 0 means no length_penalty
In the vLLM project (which has code adapted from Hugging Face), particularly in the file vllm/sequence.py, the default value is indeed 0:
def get_beam_search_score(self,
                          length_penalty: float = 0.0,
                          seq_len: Optional[int] = None,
                          eos_token_id: Optional[int] = None) -> float:
    """Calculate the beam search score with length penalty.
    Adapted from: https://github.com/huggingface/transformers/blob/ccb92be23def445f2afdea94c31286f84b89eb5b/src/transformers/generation/beam_search.py#L938
    """

Should we consider setting the default length_penalty to 0?

The default length_penalty in get_beam_search_score was changed to 1.0 last week in #2667. So that it matches the one in SamplingParams.
This is the default because it's the default in transformers and the argument for this being the default in transformers is in https://github.com/huggingface/transformers/pull/19006#issuecomment-1588996392.


sortFunc: expose row data to custom sort function

Have you thought about exposing the row data to the custom sort function instead of just the compare values, order and dataField? This would allow for more complicated sorting or is that why remote sort exists.

@dovfriedman ok, I will export the "row data" for both compare value. Will be implement in next release, thanks you

@dovfriedman fixed in<EMAIL_ADDRESS>https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2018/08/27/version-bump.html
https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/column-props.html#columnsortfunc-function
Please reopen this issue and tag me if the problem still remain in newest version. thanks

Perfect. Thanks @AllenFang.


fix: applied the CWA-2023-002 patch

https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-002.md

https://github.com/neutron-org/neutron-tests/actions/runs/4735927118


memory leak with SQS

The coffeescript below results in a steady increase in used memory.  Screenshot of debugger profile: http://cl.ly/2f1t3i3e1Q3w0q0b0T3P
#sanity check -- is aws-lib a big memory leak?
require "v8-profiler"

aws = require "./aws-lib"

awsOptions =
  host: "queue.amazonaws.com"
  path: "/181376977363/test"
  secure: true
awsKey = "..."
awsSecret = "..."

sendReceiveDelete = ->
  sqs = aws.createSQSClient awsKey,awsSecret,awsOptions
  msg = "My lucky number is #{Math.floor(Math.random()*100000000)}."
  sqs.call "SendMessage",{ MessageBody: msg }, (result) ->
    console.log "SEND: #{JSON.stringify result}"
    sqs.call "ReceiveMessage", {}, (result) ->
      console.log "RECEIVE: #{JSON.stringify result}"
      if result.ReceiveMessageResult
        receivedMessage = result.ReceiveMessageResult.Message
        if receivedMessage
          sqs.call "DeleteMessage", receivedMessage, (result) ->
            console.log "DELETE: #{JSON.stringify result}"
      process.nextTick sendReceiveDelete

sendReceiveDelete()

Hi, you are calling sendReceiveDelete again before the last response has been retrieved. So you are building up an increasing amount of unfinished callbacks...

@mirkok that should not matter - ?? node itself is an unending loop of callback.

Your callbacks and their surrounding context do need to be stored somewhere on the heap until they are evaluated. So they certainly need memory. Depending on how fast SQS responds your memory will therefore increase over time.
Try to call sendReceiveDelete() in your last callback (from the "DeleteMessage" call) - this should not increase your memory.

I don't think you're correct -- whether the current context is finished when queueing another sendReceiveDelete() should not matter. in either case the VM should be able to reclaim the memory when the context has finished executing.
verified: I get the same issue if I move the call to the callback of DeleteMessage.
I believe the problem may have to do with node 0.4.7.

If your callback's closure hasn't been evaluated it will increase your memory size as you can see in your profile.
Once its evaluated the vm should free the memory after a while. Don't know how fast the garbage collection works but don't expect to see immediate results.
To really verify your issue you need to stop your infinite loop after a while and wait to see if the memory gets freed.


Mixing up with Angularjs

Hi
I'm on mixing FilmRoll with Angularjs to create a few angularjs directive to make things easier to load and display slides which created by an Angular Service.
I've done some google to check whether there is an existing angular directive for this purpose or not but I didn't find one .
do you know any ?
and I was trying to create one but I ends up with this error
TypeError: _this.child_widths is undefined
_this.active_half = _this.child_widths[_this.index] / 2;

here is what I did :
first I fetch data from my service and create my divs inside a container, then I create FilmRoll object on that container.
I leave some codes for you which may helps you better understand my issue :
Template for each slide :

                    ‹‹
                    {{book.title}}
                    ››

                نویسنده :
                    {{book.author}}

                 {{book.price}}تومان

The Container and Ng-Repeat :

        A

And finally the directive itself :
app.directive("bookViewOne", ["$timeout",function ($timeout) {
    return {
        restrict: "C",
        replace: true,
        scope: {
            book: "=",
            xWidth: "@"
        },
        templateUrl: "templates/book-view-one.html",
        link: function (scope, element, attrs) {
                $timeout(function () {
                    new FilmRoll({
                        container: '#RollIranianBook',
                        height: 300,
                        scroll: false,
                        position:'left'
                    });
                },2000);
        }
    }
}]);

@MahdiZareie I've not heard of any angular directive, and I'm not very familiar with angular directives myself, so I'm not sure how much I can help there. I will help if I can.
What will be key is destroying the film roll properly when the directive is destroyed. Unfortunately there is no built in function for destroying the container. It is on my list to do next. You should be able to do that with the following:
var fr = $('#RollIranianBook');
fr.find('a').off('click');
fr.swipe('destroy'); // if you use swipe

This does the following:

Remove click events from pager buttons at the bottom (if you use them.)
Remove click events from the next / previous buttons
Remove click event from any a tags inside the container if you use swipe
Remove swipe configuration if you use swipe

If you use any custom previous / next buttons (or other items) you will want to manually remove their events.

@MahdiZareie Incidentally, I am assuming angular does not cache the contents between displays. You may have to experiment to find out what happens then.

thanks for your attention
destroying is not a problem because when angularjs change the view (or remove a directive) all HTML elements will be removed from the DOM and so all event handlers will be removed .

lets forget about angularjs for now .
what's wrong with putting carousel initialization code in a timeout ?
I have multiple FilmRoll in a page and for a reason I want one of my carousel loads 3 seconds after page load .
is this going to cause any problem ?
look at my initialization code :
(function () {
   setTimeout(function () {
       new FilmRoll({
           container: '#RollIranianBook',
           height: 300,
           scroll: false,
           position: 'left'
       });
   },3000);
    fr = new FilmRoll({
        container: '#Rollbook',
        height: 250,
        scroll: false
    });
    rolbook_special = new FilmRoll({
        container: '#Rollbook-special',
        height: 300,
        scroll: false,
        position: 'left'
    });

    rolbook_englishbook = new FilmRoll({
        container: '#RollEnglishBook',
        height: 300,
        scroll: false,
        position: 'left'
    });
    rolbook_offerlist = new FilmRoll({
        container: '#OfferList',
        height: 500,
        scroll: false,
        position: 'left'
    });
    rolbook_author = new FilmRoll({
        container: '#RollAuthor',
        height: 200,
        scroll: false,
        position: 'left'
    });

})();

the first slider doesn't show up correctly when I put object creation code in a timeout .
look at the result :

as you can see in the top one of slider which is not inside timeout function works very well but right at the bottom there is a poor carousel who tears apart :(
and I also have some errors in my console which may helps :

what do you think ?

By default FilmRoll is waiting for the window.load event to finish its configuration, and your timeout is probably past that. You need to pass the configure_load: true parameter to force the configuration immediately.

Ah , Thanks !
I'm still working on it and I guess we are getting close :+1:
how does FilmRoll calculate the width for each slide ?

thanks for your help !
all of the problems was about timing

@MahdiZareie Glad things are working! Just to let you know, FilmRoll by default uses the jQuery outerWidth(true) method (the true value includes the margin) to determine width. This is why it has to wait until the page is loaded.
In the next release I want FilmRoll to read attributes on each child for width / height / padding / margin, with general options being provided. Then it can configure the entire carousel without any flash of content on load (it won't wait for window.load.) That requires, of course, knowing the image size ahead of time, which isn't too hard with server side code.

great Idea !
Anyway thanks again for helping me , I'm looking forward for next release .

You're welcome and thanks for the PR.


1.1.1l cannot be built on (older) OSX anymore

In https://github.com/conda-forge/openssl-feedstock/pull/67, there's the following error:
[...]
x86_64-apple-darwin13.4.0-clang -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.9 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/openssl_split-1.1.1l -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix  -I. -Iinclude -fPIC -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/openssl_split-1.1.1l -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"$PREFIX/ssl\"" -DENGINESDIR="\"$PREFIX/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.9 -MMD -MF crypto/rand/rand_unix.d.tmp -MT crypto/rand/rand_unix.o -c -o crypto/rand/rand_unix.o crypto/rand/rand_unix.c
crypto/rand/rand_unix.c:38:11: fatal error: 'CommonCrypto/CommonRandom.h' file not found
# include <CommonCrypto/CommonRandom.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

The build recipe used to run through for 1.1.1k.
Looking at https://github.com/openssl/openssl/blame/OpenSSL_1_1_1l/crypto/rand/rand_unix.c#L37-L39, this was added by #15935. @paulidale @t8m @devnexen

Basically duplicate of #16408

@ericonr,
If I am parsing things correctly, there are two bugs. The first is 16407, where including <CommonCrypto/CommonRandom.h> results in a compile error. I assume the compile error is due to something like -Werror. The second is 16408, where the missing include generates a warning, but the build errors on use of kCCSuccess errors and CCRandomGenerateBytes generates another warning. CCRandomGenerateBytes will eventually fail to link.

We fixed this several weeks ago on the trunk.
#16248

I just checked a Mavericks (10.9) root, and headers for CommonCrypto exist, but CommonCrypto/CommonRandom.h does not exist. That must be a later extension to the API.

yes introduced in yosemite.

@debohman,

I just checked a Mavericks (10.9) root, and headers for CommonCrypto exist, but CommonCrypto/CommonRandom.h does not exist. That must be a later extension to the API.

Yes, confirmed. OpenSSL no longer builds on OS X 10.9 either.

After the merge of https://github.com/openssl/openssl/commit/96ac8f13f4d0ee96baf5724d9f96c44c34b8606c, I believe this issue can now be closed. Thanks everyone.

https://github.com/Homebrew/homebrew-core/issues/84337

I followed a guide on a temporary fix here https://stackoverflow.com/questions/68957915/macos-10-12-brew-install-openssl-issue/69057786#69057786 but after make test I'm faced with this error?
==> make test
Last 15 lines from<EMAIL_ADDRESS>../test/recipes/95-test_external_boringssl.t ....... skipped: No external tests in this configuration
../test/recipes/95-test_external_krb5.t ............ skipped: No external tests in this configuration
../test/recipes/95-test_external_pyca.t ............ skipped: No external tests in this configuration
../test/recipes/99-test_ecstress.t ................. ok
../test/recipes/99-test_fuzz.t ..................... ok

Test Summary Report
-------------------
../test/recipes/05-test_rand.t                   (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=158, Tests=2630, 216 wallclock secs ( 3.40 usr  0.47 sys + 146.68 cusr 65.16 csys = 215.71 CPU)
Result: FAIL
make[1]: *** [_tests] Error 1
make: *** [tests] Error 2


Rename repo to something besides symfony-demo

Description
Thanks for releasing this -- great to see a demo using some of newest Symfony tools.
What do you think of renaming this repo to symfony-webauth-demo, to be clear that it's not simply the demo that's created with the symfony new --demo command?  That will also make it easier to maintain forks of the repo, and distinguish it from the 1700 forks of https://github.com/symfony/demo
Example
No response

What do you think of renaming this repo to symfony-webauth-demo

Hi,
Yes indeed, this repo could be renamed. web-auth/symfony-webauthn-demo looks good to me.

Done.
No links to be changed here and GitHub redirects the old repo name to the correct one.
Thank you for the proposal and happy coding.


First time - initial instructions don't work: ERROR: for mysql  Cannot create container for service mysql: b'create .: volume name is too short, names should be at least two alphanumeric characters'

Info:

Docker version 17.12.0-ce, build c97c6d6
Laradock commit ($ git rev-parse HEAD): acbe7160d9680dd77b801b8df12300da6ab08d45
System info (Mac, PC, Linux): Linux
System info disto/version: , Fedora 27, VirtualBox VM inside Windows 10

Issue:
Initial steps from documentation (after changing port numbers) don't work:
  WARNING: The MYSQL_ENTRYPOINT_INITDB variable is not set. Defaulting to a blank string.
  ...
  ERROR: for mysql  Cannot create container for service mysql: b'create .: volume name is too short, names should be at least two alphanumeric characters'

Expected behavior:
Containers should start correctly

Reproduce:

Clone laradock
Edit .env file to change ports
docker-compose up -d nginx mysql redis beanstalkd

Relevant Code:
     Not applicable, just trying first steps

After I added
  MYSQL_ENTRYPOINT_INITDB=./mysqldb/docker-entrypoint-initdb.d

to .env (missing from sample-env) the example worked.
Cannot find any information on what the correct value of MYSQL_ENTRYPOINT_INITDB should be (I copied the mariadb version). Also the mariadb directory has more files that are not in the mysql directory.

@bryan-kramer after clone laradock, you need copy env-example to .env
By Default MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d


github actions

I've made a quick https://github.com/dimpase/tt-fort/blob/master/.github/workflows/c-cpp.yml
which builds and runs tests on ubuntu-latest with its default gfortran (9?) and openblas.
Will make a PR once the latest PR is in.
Perhaps @mkoeppe knows how to add more platforms to it - esp. Homebrew

Here is the latest run: https://github.com/dimpase/tt-fort/actions/runs/952131153

added in PR #9


Implement formal Centos support

If an organization(s) is willing to assure ongoing support for Centos, then we are willing to accept pull requests.
Note: We can't accept the submissions of an unaffiliated individual, as the core team is not prepared to provide support for an operating system we don't ourselves use.

Closing this as it's unlikely anyone will step up for this kind of commitment.


WATCHLIVE** Mr Olympia 2024 LIVE STreams Free 𝐎𝐧𝐥𝐢𝐧𝐞 TV Channel 12 OCT 2024

The bodybuilding competition of the year is here. That’s right — Mr. Olympia is back for its 60th anniversary and returning to Las Vegas.
Ms. Olympia pre-judging will take place on Friday morning with finals in the evening, and the Mr. Olympia main event is scheduled to start on Saturday night. Bodybuilders from all over the world will be competing for the coveted title this weekend.
WATCH NOW ONLY $19.95
MR. OLYMPIA RESULTS: Updated list of winners in 2024
American bodybuilder Derek Lunsford took home the title in 2023, making him the first winner of the competition in two separate divisions (2023 Mr. Olympia and 2021 212 Mr. Olympia). Lunsford swapped places with defending champion Hadi Choopan, who had beaten him out for first place in 2022.
🔴🌍📺📱👉GO LIVE==►► CLICK HERE TO STREAMING
🔴🌍📺📱👉STREAMING==►► CLICK HERE TO WATCH LIVE
🔴🌍📺📱👉GO LIVE==►► CLICK HERE TO STREAMING
🔴🌍📺📱👉STREAMING==►► CLICK HERE TO WATCH LIVE
Both Lunsford and Choopan have qualified for the 2024 competition, as well as 2019 champion Brandon Curry. Andrea Shaw will be looking for an incredible five-peat in the Ms. Olympia competition.
Here is everything you need to know about the 2024 competition, including a full schedule and list of participants.
When is Mr. Olympia in 2024?
Dates: Friday, Oct. 11-Saturday, Oct. 12
This year, Mr. Olympia will be held at Resorts World Las Vegas. The finals for Ms. Olympia and Mr. Olympia will take place on Friday and Saturday, respectively.
Mr. Olympia schedule 2024
Date Time (ET) Event
Oct. 11 12:30 p.m. Ms. Olympia pre-judging
9 p.m. Ms. Olympia finals/Mr. Olympia pre-judging
Oct. 12 10 p.m. Mr. Olympia finals
Mr. Olympia live stream 2024
Live stream: Olympia pay-per-view
Mr. Olympia will not be available to watch on a national TV channel. Viewers can live stream the event on OlympiaTV, which provides a pay-per-view package for $74.99.
Who is competing in Mr. and Ms. Olympia?
In order to qualify for events, competitors must meet the requirements set by the IFBB Professional League. Nineteen men qualified for Mr. Olympia, while 15 women qualified for Ms. Olympia.
Lunsford is the defending Mr. Olympia champion and will be looking for his second title this year. Choopan won in 2022 and will be hungry for a championship after placing second last year.
Shaw is competing for a fifth straight Ms. Olympia title.
Mr. Olympia qualifiers 2024
Name Country
Derek Lunsford USA
Hadi Choopan Iran
Samson Dauda UK
Theo Leguerrier France
Rafael Brandao Brazil
Martin Fitzwater USA
Nicholas Walker USA
Tonio Burton USA
Akim Williams USA
Brandon Curry USA
William Bonac Netherlands
Behrooz Tabani Iran
Nathan De Asha UK
John Jewett USA
Mohamed Foda Egypt
Jonathan Delarosa USA
Chinedu Andrew Obiekea UAE
Hunter Labrada USA
Bruno Santos Brazil
Ms. Olympia qualifiers 2024
Name Country
Andrea Shaw USA
Angela Yeo USA
Alcione Santos Barreto Brazil
Leyvina Rodrigues Barros Brazil
Theresa Ivancik USA
Julia Whitesel USA
Ashley Lynette Jones USA
Ava Melillo USA
Nadia Capotosto Italy
Helle Trevino USA
Anastasia Leonova Russia
Michaela Aycock USA
Sherry Priami USA
Kristina Mendoza USA
Alida Opre Hungary
What are the other events held during Mr. Olympia weekend?
There are a few other events beyond the typical Mr. and Ms. Olympia contests.
The other events for men are 212 Olympia, Men’s Physique Olympia, Classic Physique Olympia and Wheelchair Olympia.
The other events for women are Figure Olympia, Fitness Olympia, Bikini Olympia, Women’s Physique Olympia, Wellness Olympia and Wheelchair Olympia.
Mr. Olympia prize money 2024
The total purse has not yet been announced, but it is expected to break last year’s record of $1.6 million.
The money will be split between the top finishers. In 2023, Lunsford took home $400,000, while the second- and third-place finishers earned $150,000 and $100,000, respectively.
The bodybuilding competition of the year is here. That’s right — Mr. Olympia is back for its 60th anniversary and returning to Las Vegas.
Ms. Olympia pre-judging will take place on Friday morning with finals in the evening, and the Mr. Olympia main event is scheduled to start on Saturday night. Bodybuilders from all over the world will be competing for the coveted title this weekend

Closed due to irrelevant content.


Issue with ValueError time data does not match format

``C:\Users\*REDACTED*\Documents\Powershell\messages\all>fbcap ./messages.htm
Discovered chat thread with [*REDACTED*, *REDACTED*]...Traceback (most recent call last):
  File "C:\Users\*REDACTED*\AppData\Local\Programs\Python\Python35-32\Scripts\fbcap-script.py", line 9, in <module>
    load_entry_point('fbchat-archive-parser==0.7.post2', 'console_scripts', 'fbcap')()
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 137, in main
    app.run()
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 652, in run
    self.invoke(self.parse(tokens))
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 634, in invoke
    self._main.invoke(parsed)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 519, in invoke
    self._callback(**{k: v for k, v in iteritems(parsed) if k not in self._subcommands})
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 87, in fbcap
    raise e
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 70, in fbcap
    fbch = parse_data(parser_call)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 92, in parse_data
    return parser_call()
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\parser.py", line 124, in __init__
    self._parse_content(bs4)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\parser.py", line 146, in _parse_content
    self._process_element(pos, element)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\parser.py", line 325, in _process_element
    self._parse_time(e)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\parser.py", line 242, in _parse_time
    timestamp = datetime.strptime(timestamp, self._DATE_FORMAT)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\_strptime.py", line 510, in _strptime_datetime
    tt, fraction = _strptime(data_string, format)
  File "c:\users\*REDACTED*\appdata\local\programs\python\python35-32\lib\_strptime.py", line 343, in _strptime
    (data_string, format))
ValueError: time data 'Saturday, 9 July 2016 at 21:50' does not match format '%A, %B %d, %Y at %I:%M%p'

Error when trying to use "fbcap ./messages.htm"
Windows 10 64Bit, Python35-32

Hi there, thanks for reporting this issue!
I believe the issue was caused by the fact that I only expected 12-hour formatted time stamps. I modified it to also support 24-hour time stamps, like in your example.
Please try the new version 0.7.post5 and respond to this ticket if you're still having issues.

Hi there. That seems to have worked fine. However when the script comes across an emoji like this:
It is throwing this error.
[2016-06-19 07:32Z] Logan Westbury: Traceback (most recent call last):   File "C:\Users\Logan\AppData\Local\Programs\Python\Python35-32\Scripts\fbcap-script.py", line 9, in <module>     load_entry_point('fbchat-archive-parser==0.7.post5', 'console_scripts', 'fbcap')()   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 142, in main     app.run()   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 652, in run     self.invoke(self.parse(tokens))   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 634, in invoke     self._main.invoke(parsed)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\clip.py", line 519, in invoke     self._callback(**{k: v for k, v in iteritems(parsed) if k not in self._subcommands})   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 87, in fbcap     raise e   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\main.py", line 80, in fbcap     write(format, fbch)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\writers\__init_ _.py", line 18, in write     item().write(data)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\writers\writer. py", line 14, in write     return self.write_history(data)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\writers\text.py ", line 30, in write_history     self.write_thread(history.chat_threads[k], stream)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\writers\text.py ", line 40, in write_thread     self.write_message(message, stream)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\fbchat_archive_parser\writers\text.py ", line 51, in write_message     stream.write('%s\n' % lines[0])   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\colorama\ansitowin32.py", line 40, in  write     self.__convertor.write(text)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\colorama\ansitowin32.py", line 141, i n write     self.write_and_convert(text)   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\colorama\ansitowin32.py", line 169, i n write_and_convert     self.write_plain_text(text, cursor, len(text))   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\site-packages\colorama\ansitowin32.py", line 174, i n write_plain_text     self.wrapped.write(text[start:end])   File "c:\users\logan\appdata\local\programs\python\python35-32\lib\encodings\cp850.py", line 19, in encode     return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 16-17: character maps to <undefined>
Attached is a screenshot from Facebook of the message right after the last one displayed. Also attached is a screenshot of the console.

Hey there. Weird... that isn't supposed to be an issue under Python 3, which I see you're using. Could be a Windows-specific issue. I've added a patch that should correct the behaviour (0.7post6).
Please let me know if that helps.

That is working perfectly. Thank you very much!


[Suggestion] Paste Service

Adding a Hastebin or PasteBin command so users can get the terminal logs automatically posted to a paste site something similar to this it would make support a lot easier for the helpers if all the users needed to do is run a command like

Example[p]debug / / [p]logs

Doesn't have sense as you can't send messages of more than 2000 characters on Discord, if the user sends it then the bot see it??
Or I didn't get you?

Doesn't have sense as you can't send messages of more than 2000 characters on Discord, if the user sends it then the bot see it??
Or I didn't get you?

Doesn't have sense? what does that mean? i am referring to adding a pastebin or hastebin api command to create paste from within the bot. for text that is longer then 2000

Well, people can't send messages longer than 2000 characters on discord... So you either couldn't send or use a command that sends to Pastebin..?

Merging into #45


Allow  to have  links as children

Is your feature request related to a problem? Please describe.
Users may want to add links to a select dropdown.
Describe the solution you'd like
<mwc-select> should allow link children
<mwc-select>
  <mwc-list-item selected>A!</mwc-list-item>
  <mwc-list-item>B!</mwc-list-item>
  <mwc-list-item>C!</mwc-list-item>
</mwc-select>

Describe alternatives you've considered
Routing with JavaScript by handling select events will work, but breaks user expectations about how web navigation works.
Alternately, nesting the link inside the list item breaks a pattern well-established elsewhere (to wrap the CE in the link), as well, the item's whitespace would not possess the link properties users expect (click to nav, hover to inspect URL)

What is the use case for using select in this scenario?
The textfield presentation of the selected item doesn't make sense to me if selecting the item causes a navigation.
Could you show an example of how you would use this?

:wave: Imagine you have an app that implements a list/detail view for a collection of items.

List View

<data-table>
  <data-row data-name="An Item" data-id="an-item-eui7"></data-row>
  <data-row data-name="Another Item" data-id="another-item-cdd7"></data-row>
  <data-row data-name="Odd Item" data-id="odd-item-z70x"></data-row>
</data-table>

Clicking on a <data-row> will navigate the user to a detail view at /items/${itemId}:

Detail View

  <mwc-select>
    <mwc-list-item selected>An Item</mwc-list-item>
    <mwc-list-item>Another Item</mwc-list-item>
    <mwc-list-item>Odd Item</mwc-list-item>
  </mwc-select>

<item-card heading="An Item">

  <item-details item-id="an-item-eui7"></item-details>
</item-card>

So what we're trying to achieve here is a drop-down menu which, upon selection, switches the detail view from one item to another. In other words, we'd like to provide a shortcut UX, so that the user does not need to navigate back to the list view to select an item. Consider that <item-details> might contain its own deep routes, so we might end up switching (in the select> from a URL like /items/odd-item-z70x/boop/snoot to a URL like /items/an-item-eui7/boop/snoot

I believe that you want two user experiences (correct me if I'm wrong):

Display the current navigation item (the text field part of the select)
Change to a new navigation item in a dropdown (the menu part of the select)

I'm concerned about the accessibility of what this is trying to accomplish. For starters, what you're trying to do is not possible with a native <select>. Anchor tags within or surrounding <option> elements do not cause page navigation events. Additionally the ARIA roles of <mwc-select> are likely incorrect for this use case and would need investigation. I'd expect to see a combination of "navigation"/"list"/"listitem", not "listbox"/"option".
Furthermore, Material Design already has an established pattern for navigation from menus with list items.
My recommendation would be to avoid the <mwc-select> component for this UX and represent the display of the current navigation item in a different UX that consists of the menu's anchor: for example, the text of a button that opens the menu with navigation list items to display.

Closing this issue as wontfix as it deviates from material navigation guidelines


Mouse Constraint angular velocity seems backwards

I'd like to use a mouse constraint to rotate objects as well as pull them to a position.  I set angularStiffness to 0.2 and the objects do indeed rotate, but they seem to be rotating the wrong way.  I went through your demos and didn't find any that allowed a rotation in their mouse constraints.  I took the "getting started" example and added a constraint with angularStiffness = 0.2.
If you click on the left side of a block and pull down, I expect the block to rotate counter clockwise, instead it rotates clockwise.
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="./lib/matter.js"></script>
<script>
    // module aliases
    var Engine = Matter.Engine,
        Render = Matter.Render,
        World = Matter.World,
        Bodies = Matter.Bodies;

    // create an engine
    var engine = Engine.create();

    // create a renderer
    var render = Render.create({
        element: document.body,
        engine: engine
    });

    // create two boxes and a ground
    var boxA = Bodies.rectangle(400, 200, 80, 80);
    var boxB = Bodies.rectangle(450, 50, 80, 80);
    var ground = Bodies.rectangle(400, 610, 810, 60, { isStatic: true });

    // add all of the bodies to the world
    World.add(engine.world, [boxA, boxB, ground]);

I added the following:
    engine.world.gravity.x = 0;
    engine.world.gravity.y = 0;
    var mouseConstraint = Matter.MouseConstraint.create(engine, {
        element: document.body,
        constraint: {
            stiffness: 0.2,
             angularStiffness: 0.2
        }
    });
    Matter.World.add(engine.world, mouseConstraint);

// run the engine
Engine.run(engine);

// run the renderer
Render.run(render);

See my comment in #254, does that seem to cover it? If so please +1 and I'll close this thanks.

I'll check.  I think so, at least in accepting that it doesn't work!
On Mon, Mar 27, 2017 at 2:55 PM, Liam<EMAIL_ADDRESS>wrote:

See my comment in #254 https://github.com/liabru/matter-js/issues/254,
does that seem to cover it? If so please +1 and I'll close this thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/liabru/matter-js/issues/392#issuecomment-289598245,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKEOaZQHGPERi7gK23zaOy7S3ASamNAuks5rqDBigaJpZM4MhAvv
.

Cool then I'll close this one then as I think it's the same problem, thanks.

The connected issue doesn't fix this bug. This should be reopened.

Fixed in 0.13.0


bug($compile): custom annotations don't work on named controllers

BUG in angular.js : v1.5.0...v1.5.2; master
In $compile we attach custom annotations to the controller constructor. But this doesn't work if the component controller is specified by name (i.e. a controller that was defined by the module.controller(...) helper.
This was noted at  https://github.com/angular/angular.js/pull/14114#issuecomment-198185528
http://plnkr.co/edit/glqJw8ezAHVJAbtGY4au?p=preview
We should handle this scenario.  The question is: should get hold of the referenced controller and attach the custom annotation directly to the constructor function, or whether we create a new derived controller from the named controller and assign the custom annotation to the derived controller constructor?
I thinking more likely the latter...

Agh! This is a real pain to fix, since we don't have access to the controller's constructor function if it was defined by mod.controller(...).
The workaround is to put the custom annotation directly onto the controller's constructor in the first place. See http://plnkr.co/edit/QS34r5wO6TpOO3rmfGiF.
Supporting this is also problematic, as noted in this bug report, where we would have to either modify the controller's constructor, which may be shared among components or somehow create yet another controller function derived from the provided controller for each component. In fact this is problematic even without named controllers, where the controller is shared among different components.
I am tempted to say that using custom annotations with a component that is using a named/shared controller is not supported.

@petebacondarwin I raised #14284 which @gkalpak closed as a duplicate of this one.
Are you able to show how your workaround should be applied for $routeConfig because when I follow your Plunker in the context of #14284 I get the error:
Component "Root" has no route config.

@alexgoldstone, with currently released versions, the only work-around it to not register component/directive controllers by name, but reference the actual function/Class itself (as mentioned in https://github.com/angular/angular.js/issues/14284#issuecomment-199061481).
E.g. instead of controller: 'AppController' do controller: AppController.
See an example here.
We understand this is inconvenient and are working on a fix, so you will be able to use either form (string or function/Class) to register component controllers soon :smiley:

@gkalpak Thank you for the clarification. It was helpful as I now know I misunderstood previous comments. This workaround means the component and controller declarations need to live in the same file so I haven't tried yet but will do so asap. Thanks again.

This workaround means the component and controller declarations need to live in the same

Yes unless you are using some module system that allows you to import/require the controller from a different file.
BTW, you can still instantiate the controller separately for tests, by means of the $componentController service provided by ngMock.


Load binaryname.pck

in linux and windows if not found data.pck , search for binaryname.pck and load that.

You could also search for binaryname.pcz
On 14 November 2015 at 18:45, Masoud BH<EMAIL_ADDRESS>wrote:

in linux and windows if not found data.pck , search for binaryname.pck and
load that.
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/2788
Commit Summary

Load binaryname.pck

File Changes

M core/globals.cpp
https://github.com/godotengine/godot/pull/2788/files#diff-0 (10)

Patch Links:

https://github.com/godotengine/godot/pull/2788.patch
https://github.com/godotengine/godot/pull/2788.diff

—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/2788.

You could also search for binaryname.pcz

The commit does it :)

@punto-  How about just deprecating the .pcz extension and use zip? We can make the exporter also write  zips as an option to pck.

I like the idea of using .zip insteqd of .pcz, if it's the same technically then it's clearer both for developers and players.

Writing zips would be great, I've needed to create and debug my own pcks
many times.
For the extension I don't mind either way, zips have many names nowadays,
starting from the first Quake packages (that's actually where I found out
about minizip, the library we use to read zips, the original Quake source),
but also IPA, APK, etc. I suspect their reasoning is just to stop the
operating system (and random users on some cases) from handling them, and
to possibly associate the extension with their own program, which I'm not
sure it's worth it for us.. We did have to rename the templates package for
similar reasons a while ago..
On 18 November 2015 at 18:28, Rémi Verschelde<EMAIL_ADDRESS>wrote:

I like the idea of using .zip insteqd of .pcz, if it's the same
technically then it's clearer both for developers and players.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/2788#issuecomment-157869974.

I will probably need to add some changes (noting down)
-writing and reading zips
-deprecating expecting data.pck and only use the code provided by this patch
On Mon, Nov 23, 2015 at 6:00 AM, Rémi Verschelde<EMAIL_ADDRESS>wrote:

Merged #2788 https://github.com/godotengine/godot/pull/2788.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/2788#event-471824553.

-writing and reading zips

For this part I've opened #2879.

-deprecating expecting data.pck and only use the code provided by this patch

I opened #3313 for this one, so that it can be further discussed/implemented.


Images loaded over HTTP don't show up when running from VS

If I start the backend by running docker-compose up and then run the web app from VS using the Podcasts.Web solution, some of the images don't show up in the podcast player app because by the default VS will launch the site under HTTPS, but some of the podcast images are HTTP URLs:

I think we have fixed most if not all of this.


Review current Insights

Review existing insights. Should we try to improve the verb tenses insights? What other insights would add value?

both movies and tv shows have keywords (https://developers.themoviedb.org/3/movies/get-movie-keywords) and genres that we could also work on. Insights based on war keyword or insights from only Comedies.

Another review completed, adding insights by genre and keywords as well as changing the pace insight.


A BOSH deployment should include either the node jobs: or instance_groups:

Greetings.
Today I migrated a deployment, and replaced jobs with instance_groups. Due to a typo I wrote instance-groups, leading to all vms being deleted. I expected the Director to either warn me visibly or outright fail on deployment start, because I did not specify what should be deployed. I am aware that some people use deployments with empty job lists to compile releases, which would then have to insert something like instance_groups: [] should the node become required. Which is a rather small change, compared to the risk of accidential deployment of nothing.

@schmidtsv we are planning to make sure director complains on any unknown key specified in the manifest, which i think will cover typo scenario in your case. wdyt? btw don't forget about http://bosh.io/docs/persistent-disks.html#orphaned-disks so that you can recover your deployment's persistent data.

Revcovering was no issue, as this was an ephemeral deployment (meaning all data was stored outside of it). I would like to point out, that, according to the Documentation for v1 manifests (https://bosh.io/docs/deployment-manifest.html#jobs) and v2 manifests  9https://bosh.io/docs/manifest-v2.html#instance-groups) those blocks are marked as required. Therefore a user should be able to expect, that the Director fails if those blocks are missing. Unknown keys are also a nice idea for a feature, so +1 for that.

This is along the lines of manifest strictness/validation (related note). This is kind of a more general case of https://github.com/cloudfoundry/bosh/issues/1686, but since this isn't on our short-term roadmap, I'm going to close this. Let's consolidate further discussion around validation in that other issue.


rename 'master' node

We should consider renaming the 'master' node to 'api' or similar to avoid the master/slave dichotomy that is now considered politically incorrect.

master is technical terminology in TensorFlow: https://www.tensorflow.org/deploy/distributed

Yeah I agree if tensorflow uses "master" we should probably stick with that. Maybe avoid slave?

Let's stick with "master" and if it comes up again we can re-open and reconsider, alignment with TF terminology is golden!


chore: doc fix

Codecov Report

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

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   72.19%   72.19%
=======================================
  Files          28       28
  Lines         205      205
  Branches       46       46
=======================================
  Hits          148      148
  Misses         41       41
  Partials       16       16

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 4b8bccd...334ef7d. Read the comment docs.

辛苦汉成，这个地方 通过
auto format 已经自动改过来了
感谢


Telemetry: Fix hasV2Event often being included as an event property

Description

Bans hasV2Event from telemetry properties
Fixes type errors created from this

Test plan
Build passes, type only change as this is an unused telemetry property

Hmm this breaks the kotlin issues :(

@philipp-spiess Will remove the type change for now, had a quick look but seems quite involved and don't want to spend too long on this