Boolean OR operator confusing Flow

Very easy to reproduce. This fairly simple piece of code:
type ReturnType = {
    key: string,
};

function foo(arr1: string[], arr2: string[]): ?ReturnType {
    const a = arr1 && arr1.length ? arr1[0] : null;
    const b = arr2 && arr2.length ? arr2[0] : null;

    if (a || b) {
        return {
            key: a || b,
        };
    }

    return null;
}

Returns this error:
  Property `key` is incompatible:
    157:             key: a || b,
                                   ^^^^^^^^ null. This type is incompatible with
      9:     key: string,
                   ^^^^^^ string.

In the REPL:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgBKeGArgE4B2AKrgQLxgDeqAkANZ5YBcYAzhnIBLSgHMANKgC+AbnRRSlAMYYhcSmChw4ACgCG5cgEZeA4WIDaAXXFgD5AEynBI0dYCUvAPzEyVWvjMqGAhYErqAnZgjPZGYABk8XaGRgB0MHhiGAAWYF7JxhYADFZgvJSkMDByoWERGGAARtEFDglJ9g7pmaI5ea3FpeWV1ei1QlBg+mAAPjNN7kG1teQkFBosy1tgnDxRc02S22CywaFSZ2yrfhoVVXJSQA

Another, more contrived, probably related example:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVUCuA7AxgFwEs5swo44AKAQwC4wB+AZ3wCdDsBzAGjACN6zNh04BKei3ZcwAb1RgwASFYBTfJlakaYAD47+oxmG16DYegHIE1fBdQBfVEA

the second example is definitely easier to reason about, so I think we should deal with that first and see if it fixes the first example.
function foo(a: ?string, b: ?string): string {
  	return (a || b) ? (a || b) : 'wat'
}

I think what's going on here is that if (a || b) means that in the consequent, a is either a truthy string, in which case b can be anything (in this case, still a ?string), or a is falsy, in which case b must be a truthy string: a is truthy string | falsy string | null | void == ?string, and b is ?string | truthy string == ?string.
it combines the possible outcomes of the condition and checks the consequent once, where a and b are essentially still ?string.
to do what you'd expect, flow would have to essentially rewrite the code to
  if (a) return a || b;
  else if (!a && b) return a || b;
  else return 'wat';

which then reduces to
  if (a) return a;
  else if (b) return b;
  else return 'wat';

that seems great for this example, but the problem is that it's evaluating the return a || b part twice. the combinatorial explosion from longer and more complex conditions and consequents would, I imagine, make this not scale very well. or it's possible that the simpler values prevent downstream work and this is ok perfwise. we probably need to try it to find out.
I did notice that if you extract the a || b into a variable, it works. that's because Flow then sees a single ?string which it refines to string in the consequent:
function foo(a: ?string, b: ?string): string {
    let c = a || b;
  	return c ? c : 'wat'
}

(try flow)
Summary
Phew! Long story short, I agree that this isn't ideal and we should try to fix it. Perf may or may not be a blocking issue. In the meantime, minor tweaks to your code will hopefully provide a workaround.

@mroch That's very helpful – thanks for the detailed (and swift!) explanation.


update copy-webpack-plugin to remove vuln dependency

Resolves ssri 5.0.0 vulnerability by upgrading it to 5.2.4

Verified that the app continues to load after this change.

Coverage remained the same at 49.106% when pulling 6ad22581389167b2ce3be64ee602cf1d4e32f2ea on update-ssri into 86437c9f650c0b3963e6c3c86c3f9d2cc07b5098 on master.


  There are a couple of things about this that don't always meet the developer's needs:

It requires them to attach a full recording of their run, which may include source code of their app, and also is potentially very large.
It requires them to run.  In the event of the developer running into problems well before the "I want to try to run my app" stage, it doesn't make sense to have them go through the "run" workflow in order to capture a bug report.

I propose that we add a flutter bug-report command.  It would capture basic system info relevant to diagnosing developer-reported bugs.  We would then make flutter run --bug-report hook into this basic bug reporting mechanism, while augmenting it with recording info.
Once this is done, we should integrate it into the IDE as well.

Is this covered by https://github.com/flutter/flutter/issues/1657?

Yep!


Unable to Connect GitHub Organization to Jira Site

Hi there,
I have already installed Jira on the GitHub org highlighted below:

Here is the specific configuration:

But when I attempt to connect the org to our Jira site, I do not see the specific org that I configured above:

When I click on "Install GitHub for Jira on a new organization" I am brought back to the first screenshot.

Hey @SimB4t1qbit,
the workflow is not really user-friendly here, sorry about that.
Have you tried clicking the button "Connect GitHub organization" on the main configuration screen again? The new org (synthesishealth in your case) should show up in the list then, and then you should be able to connect by clicking the "Connect" button next to it.

If that's not the case, please try uninstalling the app from your GitHub org again and then click the button "Install GitHub for Jira on a new organization" again and go from there.
Let me know if this issue persists.

@thombergs clicking on the "Connect GitHub organization" within Jira displays the same result as before (i.e. the new GitHub org is not shown, despite already being configured for Jira):

I have since reinstalled the application on both Jira and GitHub but the issue persists.

I have the same issue. Note that we moved a repo to a new organization, maybe something is permanently cached on your end?

Hi @SimB4t1qbit @eran-medan could you please confirm that you are the Admins of the orgs you are trying to connect?

@bgvozdev admin both on github and Jira side. The app is installed on the github side but Jira doesn’t seem to identify it. It worked in the past but we had to change to another github org and then it stopped working.

@bgvozdev Yup admin on all.

@eran-medan @SimB4t1qbit thanks for the reply. I'm currently adding some verbose logging for you folks to see if they could help figuring out what's going on. Will keep you posted!

Hey @SimB4t1qbit @eran-medan thanks for your patience. I've added and enabled debug logging for your Jiras, could you please refresh the page with the missing org?

@bgvozdev done

Thanks @SimB4t1qbit for doing this . So, from what I can see, the org you want to connect is not returned by GitHub API for some reason during this rest call (done with you as the authenticated user):
https://octokit.github.io/rest.js/v18#apps-list-installations-for-authenticated-user
Lists installations of your GitHub App that the authenticated user has explicit permission (:read, :write, or :admin) to access.
.....
The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
You can find the permissions for the installation under the permissions key

I'm looking further, but sharing this early with you just in case it rings any bells.

@bgvozdev uninstalled and reinstalled

Hey @eran-medan , thanks for doing this. Just double-checking, you have also tried clicking on

button, haven't you?

Yep

Hey @SimB4t1qbit @eran-medan  After talking to @thombergs , I think it is best to engage with GitHub support for future investigation. We can do it ourselves, however the experience shows it takes quite some time for us to get their reply, therefore maybe you could initiate that talk yourself?
I've added some more logging: if you could please navigate once again to https://github.atlassian.com/session/github/configuration then I could send you the request ID that you could pass along to the support.
The template of the support request might be as following:

Dear GitHub Support,
Could you please help me to understand why/user/installations API call doesn't return %INSERT_YOUR_DESIRED_ORG_NAME% organisation, despite the fact that I have installed "GitHub for Jira app" in it?  The request ID is %INSERT_REQUEST_ID_HERE%.
(For reference: this request is a spin-off from https://github.com/atlassian/github-for-jira/issues/1012)
Thank you.

Sorry that it takes too long to resolve the issue. :(

Hi @bgvozdev, all is good :) thanks for the support! since this is public, is there any issue sharing a request ID or it's completely opaque with no value whatsoever? Or you can email me directly (I assume if you have the request ID you probably have my email...). Thanks!

Not sure what happened, but it seems to be working now!

Hey @eran-medan , request ID is just a random UUID, I doubt there's any risk of sharing it publicly, however if you are concerned you could send me a message to

and I'll reply with the requestId to you. Whatever works best for you.
@SimB4t1qbit 🤷  glad it works for you now, although we haven't changed anything on our end. As I mentioned earlier, that's GitHub API and I have no idea why it didn't return your org. Unfortunately, we don't have control over this.

@bgvozdev I am also having the exact same issue as you when trying to set up the app for our org. Have you had any luck so far?

@eran-medan I am also having the exact same issue as you when trying to set up the app for our org. Have you had any luck so far? Our Jira instance doesn't seem to save the configuration.

Hey @SimB4t1qbit @eran-medan. Apologies that this has gone quiet. @bgvozdev has been out on leave but will be back tomorrow 🎉 Please let us know if you're still having issues and he can help follow it up.

Hi, I have the same issue. I can't see my organization when I try to connect with Jira. Do we know how @SimB4t1qbit solved the issue?

@rachellerathbone @eran-medan @bgvozdev, are there any news about this topic?
Thanks!

same issue. My account is having admin right in my organisation but JIRA do not recognise my organisation as one of the connected organisation. Does anyone have any hint how to fix it?

Same issue: console shows "jquery.min.js:2 POST https://github.atlassian.com/github/configuration 500" after clicking on the Connect button.

This is a major issue… I wrote to GITHUB support but their reply was to contact JIRA support for which they will certainly ask
To contact the plugin provider which will then bring us here…

For everyone's sake, the problem is how JIRA resolves the path to GITHUB. It goes to the easier path, which is to reach your personal account first (also admin account of your organisation)...  As we haven't heard from you in almost 2 months, I'm going to go ahead and close this issue. If you still need assistance, please feel free to reopen and we can look into this problem for you.


How to build a Task Manager like app with C# in WinForms

Proposed title of article
How to list all Windows Processes and their attributes (Task Manager like) with C# in WinForms
Introduction paragraph (2-3 paragraphs):
This article will teach us how to create a custom Task Manager or simply a create a Widget for your app that displays information about the processes in Windows. In this article you will learn how to get information about the processes in Windows and how to create a Task Manager like application easily.
Key takeaways:
By the end of this article the reader should have learned the following:

Use the Diagnostics namespace
List and retrieve basic information of all processes
Creating a Task Manager like application

References:
N\A

Thank you for submitting your topic. @Bonimum
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


Impossible to use update method with EasyStatement

Can you add an opportunity to use EasyStatement with the update method?
For example:
$db->update(
    'database_table',
    ['event_status' => self::EVENT_STATUS_PROCESSING],
    EasyStatement::open()->in('event_id IN (?*)', $ids)
);

Wow, I feel silly. That's such an obvious use-case and I never thought of it. 👍

This is fixed in v2.6.0


Recent Folders should not be case sensitive in Windows

Since Windows is not case sensitive_ for Files and Folders, the recent folders should also not to be.
If you open a folder in Code via command line, with different case, it adds a new entry for each one. It also maintain a folder state (like the files that are opened in that folder) different for each entry.
Opening Code with different case:

It adds 3 different entries in Menu

And also in Command Palette:

:+1:

Fixed this issue, but there is still the problem with workspace UI state not being found if the case differs, filed https://github.com/Microsoft/vscode/issues/1162

@bpasero Opening a folder from the command line doesn't work for me.

When I run that I get a new window without any folder opened.

I was reusing a command prompt where I ran code.bat out of development. When using a fresh command prompt I could open folders and verify the issue is fixed


Default GUID logic

Switch from custom logic to default_value_for
Remove unnecessary setters from factories

cc @jrafanie for the :scissors: :fire: :toilet:

@d-m-u hit an issue in this recently where we didn't have a validation on duplicate guid.  Technically unrelated, but wanted to make sure it was mentioned.

@Fryguy I opened this PR because of the test failures in https://github.com/ManageIQ/manageiq/pull/18492 because I thought it could be addressed separately.  If you would prefer it to be part of that PR, we can do that instead

Closed in favor of https://github.com/d-m-u/manageiq/pull/3 / https://github.com/ManageIQ/manageiq/pull/18492


Clicking where the player is results in static projectiles

Similar to how the UI ignoring works in projectileShoting.cs,
if the player clicks the players sprite, cancel the shooting by using "return;"


feat: show path to component that caused error in verbose mode

Purpose:

Errors may be scattered throughout a resolved schema, so we want to make it easy for users to identify the source component from which the error originates.

Changes:

Walk the unresolved spec to see if the error occurs in a ref. Identify the source location and include the path to the component if the validator is in verbose mode.
Update the printRuleNames variable to be verbose to be more general.

Tests:

Add tests to ensure the path to the components added correctly.

:tada: This PR is included in version 0.41.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


hpc-utils dependency is missing

(see also #17 discussion)

hpc-utils is also missing from the dropbox repo specified in the pom. I fixed that in our fork by using jitpack.

The artifactory was a fixed url on my dropbox folder and dropbox decided to disable the absolute paths in September :/ let's move it to Jitpack ( as soon as I discover what is it and how it works :))

very cool indeed 👍

close due to merge


What happened to this?

Are you going to finish this someday? :) Or is this history?

@ChoBoMon Good point! I'll provide a minimalist version. Stay tuned.

Any updates, guy? :)

any update?


Add FIDO U2F API feature

Fixes #1718.
Currently only Chrome desktop 41+ supports U2F so the following warnings occur
$ nodejs validator/validate-jsons.js
[CK.json] WARNING: Expected total usage to be > 80, was 41.059624
[alt-an.json] WARNING: Expected total usage to be > 80, was 74.48

Interesting, never heard of this one. Thanks!
And don't worry about the warnings, those relate to usage data for any feature and are only occurring due to some statcounter anomolies.

@moreati Would you happen to know how to test support for this? Looking at the spec there should be some u2f object but I'm not seeing window.u2f or navigator.u2f in Chrome.

@Fyrd You must be on an https site, U2F requires a secure channel. For instance here on https://github.com
> window.u2f
Object {
    EXTENSION_ID: "kmendfapggjehodndflmmgagdbamhnfd",
    EXTENSION_TIMEOUT_SEC: 30,
    ErrorCodes: Object,
    MessageTypes: ObjectWrappedChromeRuntimePort_: (t){this.port_=t},
    callbackMap_: ObjectgetMessagePort: (t){var e=chrome.runtime.connect(u2f.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){t(new u2f.WrappedChromeRuntimePort_(e))},0)},
    getPortSingleton_: (t){u2f.port_?t(u2f.port_):(0==u2f.waitingForPort_.length&&u2f.getMessagePort(function(t){for(u2f.port_=t,u2f.port_.addEventListener("message",u2f.responseHandler_);u2f.waitingForPort_.length;)u2f.waitingForPort_.shift()(u2f.port_)}),u2f.waitingForPort_.push(t))},
    port_: null,
    register: (t,e,n,r){u2f.getPortSingleton_(function(i){var s=++u2f.reqCounter_;u2f.callbackMap_[s]=n;var o={type:u2f.MessageTypes.U2F_REGISTER_REQUEST,signRequests:e,registerRequests:t,timeoutSeconds:"undefined"!=typeof r?r:u2f.EXTENSION_TIMEOUT_SEC,requestId:s};i.postMessage(o)})},
    reqCounter_: 0,
    responseHandler_: (t){var e=t.data,n=e.requestId;if(!n||!u2f.callbackMap_[n])return void console.error("Unknown or missing requestId in response.");var r=u2f.callbackMap_[n];delete u2f.callbackMap_[n],r(e.responseData)},
    sign: (t,e,n){u2f.getPortSingleton_(function(r){var i=++u2f.reqCounter_;u2f.callbackMap_[i]=e;var s={type:u2f.MessageTypes.U2F_SIGN_REQUEST,signRequests:t,timeoutSeconds:"undefined"!=typeof n?n:u2f.EXTENSION_TIMEOUT_SEC,requestId:i};r.postMessage(s)})},
    waitingForPort_: Array[0],
    __proto__: Object,
}

but on http://example.com
> window.u2f
undefined

Would you like me to add a note to that effect?

Oh weird, I try that on https://google.com and it's undefined. Weird. Good enough though, thanks!

You're right, I'd forgotten about u2f-api.js. Apparently Github is ahead of the curve, and includes it in their pages.
I'll try find a semi decent introduction to the U2F Javascript API and add it as a link.


Fix Python postcommit

HDFS integration test script is failing because standard_external_transforms.yaml is missing from the temp directory the test is creating

Before applying fix: https://github.com/apache/beam/actions/runs/8144016209/job/22257187341?pr=30480#step:9:471

What are the next steps on this PR?

This is superseded by #30458

thanks!


Issue #176: Replaced Int with Long for some variables

@andregasser have a look.

@Siddharth052002 Thanks for your contribution!

Happy to help!


Offset div can not click in Safari

When the div which will hold Gio globe have offset in Safari, the click function can not work.

This bug is caused by compatemode, the safari is special, I fix it, and it can work well.


missing make all target

make all is a default target. [1]
For standard compliance, can we add a make all target please?
(Background: This would make some thing in genmkfile easier. [Adding compilation feature.] However, if this is not a standard thing, then I'll find another solution.)
[1] https://www.gnu.org/software/make/manual/html_node/Standard-Targets.html

Happy new year! So all would be a non-default target depending on man/corridor.8 and systemd-units?

Happy new year!
By convention, 'all' is both, default and first target. What it would
depend upon, dunno. Perhaps even nothing and just echo "not required,
done" or so?

Rusty Bird:

Would all work for your genmkfile use case if it was the second
target and depended on man/corridor.8 and systemd-units?

I guess so. Important is only that 'make all' does anything but exit
non-zero. Since the other steps are idempotent, it should not really matter.
Somewhat related, on make file conventions.

https://lists.debian.org/debian-mentors/2017/01/msg00058.html

https://lists.debian.org/debian-mentors/2017/01/msg00059.html


Fix shell option group handling in pkgconfig files

Since #1707 and #1710, -Xarch_ option groups are present as single elements in the libraries' COPTS, and a SHELL: prefix is added to each of them. While these addressed certain build issues, they broke the handling of -Xarch_ option groups in pkgconfig files.
Fix that by taking care of the SHELL: prefix in COPTS when generating pkgconfig files. The skip-next-flag mechanism is also removed as the option groups are now present as single elements.
Cc: @Royna2544 @anpol @derekmauro

Thanks @anpol!


Update bridge to 3.76.0

This is a routine update, done by hand as the automated one has been failing.
Updates a replay test to address a breaking change (see https://github.com/pulumi/home/issues/3308).

https://github.com/pulumi/pulumi-random/blob/master/.ci-mgmt.yaml#L8 this is pinned to 5.x but perhaps time to move to 6.x; looks like your local build environment picked up 6.x

Here's an explanation for how my local environment influenced code generation: make tfgen installs plugins into the user home and then the latest is apparently used. I found an effective workaround to be to set PULUMI_HOME to .pulumi:
PULUMI_HOME=./.pulumi make tfgen build_sdks

Let's make it official https://github.com/pulumi/ci-mgmt/issues/832


fix: Remove the color below the search page (dark mode)

Hi everyone!
There is a tiny visual issue with the search bar on the search page:

It's only visible in dark mode.

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

Project coverage is 6.53%. Comparing base (4d9c7fc) to head (c528f49).
Report is 531 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5954      +/-   ##
==========================================
- Coverage     9.54%   6.53%   -3.01%
==========================================
  Files          325     440     +115
  Lines        16411   24788    +8377
==========================================
+ Hits          1567    1621      +54
- Misses       14844   23167    +8323

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


Convertions from PSMethod to Func/Action

Fixes #2864
Underpinnings to make calling of Extension methods /Linq
easier from PowerShell.
Enables the following that previously had to be done via
reflection.
class M {
[int] Twice([int] $value) { return 2 * $value }
[int] DoubleSum([int[]] $values) {
return [Linq.Enumerable]::Sum($values, [M]::Twice)
}
}

Is the approach I took valid at all? Or is there a better way to approach this?
The problem I ran into was that PSMethod is a generic container for all signatures, and it seems like a mismatch to conversion of types in general.

Your approach is mostly valid but not great performance wise.
You can't add the instance parameter to FigureConversion as that makes it too easy to introduce bugs.

Is this dead?

With respect to overload resolution and binding to any delegate type for any given PSMethod, I prototyped something a while ago that seems to cover a majority of the use cases. Perhaps you might be able to take something out of it to help with some of @lzybkr 's review requests, @powercode ?

PS> [string]::format | Get-Delegate
WARNING: Could not find matching signature for Format with 0 parameter(s).

PS> [string]::format | Get-Delegate -ParameterType string,object

Method                                             Target
------                                             ------
System.String Format(System.String, System.Object)

PS> ([string]::format | Get-Delegate -ParameterType string,object).invoke("hello, {0}", "world")
hello, world

PS> class Foo { [void] OnFoo([object]$sender, [eventargs]$eargs) {} }
PS> $f = new-object foo
PS> $f.OnFoo

OverloadDefinitions
-------------------
void OnFoo(System.Object sender, System.EventArgs eargs)

PS> $f.onfoo | Get-Delegate -DelegateType System.EventHandler

Method                                      Target
------                                      ------
Void OnFoo(System.Object, System.EventArgs) Foo

PS> ($f.onfoo | Get-Delegate -DelegateType System.EventHandler).invoke($null,$null)

The script is part of the Poke module on psgallery, and you can see it here: https://github.com/oising/poke/blob/master/delegate.ps1
Key tricks I learned was (ab)using Type.GetMethodImpl to do the heavy lifting of overload selection.

Not dead, it is only resting :)
Pressure at work will ease up in a few months, and then I'll have more time to work at this.

Did you do a rebase in the wrong direction?

Have to check. Rebased upstream/master. Not sure what happened here.

@powercode I have no clue what happened there, but I believe you can fix it with this (assuming your upstream for this repo is named PowerShell):
git fetch
git checkout -b 20171020fix PowerShell/master
git cherry-pick 2fb0dee149929d6f94c4e7a7e4906118dbeedef

There are some conflicts here, you will need to resolve those first and then continue
git cherry-pick --continue
git cherry-pick 87ba09b624d77804bdff5b4265f28e52e23253d2
git checkout -b 20171020backup psmethod-func
git checkout psmethod-func
git reset --hard 20171020fix
git push --force

I could only find the 2 commits in the history. It possible I missed some. This will at least backup your current branch to 20171020backup so you can always go back if needed.

@powercode Something is wrong with your branch.  @markekraus  has been very good at giving instructions to fix this in the past.

@markekraus Thx for the support!
I think I will close this pull request, and be able to work on it and push changes without triggering review. I have some feedback from @lzybkr about the approach to take that I want to incorporate, and then I will create a new pull request.
Any objections?

@powercode No objections.  FYI, I've seen times if you rebase, you cannot re-open the review.

Then I just open a new PR


Bump go versions in builder-base versions file, base Makefile, & null go image tags

Issue #, if available: https://github.com/aws/eks-distro-build-tooling/issues/1056
Description of changes: Need https://github.com/aws/eks-distro-build-tooling/pull/1063
/hold
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest-required

/lgtm

/approve
/hold cancel


Get TestBed class implement ICollectionFixture instead of IClassFixture

This implementation helps sharing the service provider among multiple test classes to avoid instantiating it per each test class.

Reverting this change is it seemed unnecessary after reviewing the code. Reverting back to the test class level fixtures instead of collection.

Not feasible due to this issue.


How to link this as the static framework(or library) with SPM?

First, this is really nice & useful for me to develop with SwiftUI through SPM! Thank you for creating!!!!
Well, recently I've been trying to use the Xcode cloud(it's on the Beta status, though).
Then, there is one trouble to link the SwiftUIX. It's below.

ITMS-90334: Invalid Code Signature Identifier. The identifier "SwiftUIX-555549447bbe021b6ee9380b9449410974d4a8e1" in your code signature for "SwiftUIX_-28E34FF57BD7AEF5_PackageProduct" must match its Bundle Identifier "SwiftUIX".

Since I found out, the issue seems to be from linking the dynamic framework. It occurs,  even though, the SwiftUIX doesn't have the type property as dynamic.
(This is talking about the Package.swift's setting properties)
So, I'd like to know how to use the SwiftUIX as the static framework through SPM.
Because they're linked as the static framework, even though some other frameworks(ex. Alamofire) doesn't have any settings for this, through SPM. Is there any specific options using frameworks or libraries through SPM?
I've had one thing to resolve this. It's the SwiftUIX target's MACH_O_TYPE property sets the static library.
It's useful & effective to avoid the trouble. So, I'm preparing the P.R for it. But, I think there could be the other awesome resolution.
So, I'd like to ask a question like this title.
Could anyone help or give an advice for this?

Hey - I'm not sure if this is a SwiftUIX issue or an SPM issue - there's nothing in the package manifest marking it explicitly as a dynamic library. I'd recommend filing a DTS and reaching out to Apple about this, closing this for now as out-of-scope.


Add a button to cancel the bookmark

Since the extension repository has been archived, thus I'm commenting here.
When adding a bookmark via the extension for chrome, there is no "cancel" button.
A "cancel" button would be nice to have, in cases where you might have accidently pressed the extension and/or you may change your mind.
Moreover, if you think that this is "nice to have" feature but not something you would want to work on right now, I can help you in developing it, if you can assign it to me.

Cancel == Delete


updated formatColumn to only accept an array as the first argument

@josscrowcroft
Great job on accounting.js. It's been a pleasure reading through the code. Please let me know if I can send some money to buy you a cup of coffee or beer!
As for the pull request: When a string value is passed as the first argument, every character is returned as a value in the array which can cause unwanted results.
accounting.formatColumn('1,234.50')
[$1.00,$0.00,$2.00,$3.00,$4.00,$0.00,$5.00,$0.00]

According to your comments in the code and the qunit tests, the first argument should only be an array of numbers.
I propose adding a check to detect if the first argument is not an array and, if true, return an empty array. This matches scenarios like if a number, function, or object is passed as the first argument. (all return an empty array)

@jjsquillante Thanks and good catch! There's a good number of outstanding PRs and issues for this library, which I'm hoping to get incorporated over the coming month or two. This one seems like a good sensible place to start getting things up-to-date..

@josscrowcroft awesome news!!
Like I said, I've really enjoyed combing through your code for accounting.js so if there's anything else I notice or something I can add (noticed some comments about improving errors from the current state of failing silently), I'll be sure to submit another PR to help.
hope you enjoy your day/night.


Migrate isolate to RBE-CAS

This is required migration by early Q1-2021

Scheduled to start on 02/22/2021

This work is complete.


Manual sync from tflite

The automatic sync job from tflite to tflm is failing due to some incompatibility in cpp version. TFLM uses c++11. The three commits can be described as

The output of the sync_from_upstream_tf.sh. This script pull in the differences from the tflite repo to tflm repo.
http://b/255803710: In cpp11 constexpr methods should have one return statement.
http://b/254707165: Need reinterpret_cast to be able to compile with cpp11.

BUG=http://b/254707165 / http://b/255803710
NO_CHECK_TFLITE_FILES=automated sync file changes with some bug fixes

I'm merging bypassing the branch protection rules because of http://b/256923954
Manually confirmed that all the status checks except "Check PR Modifies TfLite Files" have run and passed.


Converter cannot work in the "giot.switch.v83ksm" well

I have been using Gateway3 integration all the time, and it has always worked very well.
However, recently I added a new wall switch, and the new switch is not supported in Gateway3 integration.
giot.switch.v83ksm
After I tried to read the wiki and create a new xiaomi_gateway3.py file in the same-level directory as configuration.yaml to write my own Converter, but no matter how many times I restarted my Home Assistant, nothing changed.

There is still only one Mesh entity for the switch in the integration.

Have I missed something? Thanks for your reply.
The following is my xiaomi_gateway3.py:
from custom_components.xiaomi_gateway3.core.devices import *

DEVICES = [{
    20448: ["GranwinIoT", "Mesh Smart Triple Wall Switch", "giot.switch.v83ksm"],
    "spec": [
        # 开关设置
        BaseConv("左键", "switch", mi="2.p.1"),
        BaseConv("中键", "switch", mi="3.p.1"),
        BaseConv("右键", "switch", mi="4.p.1"),
        # 开关模式设置
        MapConv("左键开关模式", "select", mi="2.p.2", map={
            0: "普通开关",
            1: "无线开关",
            2: "快速断通",
            3: "点动开关",
            4: "普通+无线"
        }),
        MapConv("中键开关模式", "select", mi="3.p.2", map={
            0: "普通开关",
            1: "无线开关",
            2: "快速断通",
            3: "点动开关",
            4: "普通+无线"
        }),
        MapConv("右键开关模式", "select", mi="4.p.2", map={
            0: "普通开关",
            1: "无线开关",
            2: "快速断通",
            3: "点动开关",
            4: "普通+无线"
        }),
        # 灯光设置
        MapConv("普通开关模式灯光", "select", mi="16.p.1", map={
            0: "跟随",
            1: "相反",
            2: "常灭",
            3: "常亮"
        }),
        MapConv("非普通开关模式灯光", "select", mi="16.p.2", map={
            0: "跟随",
            1: "相反",
            2: "常灭",
            3: "常亮"
        }),
        BoolConv("背光开关", "switch", mi="22.p.1"),
    ]
}] + DEVICES

Looks okay. Did you reboot Hass?

Looks okay. Did you reboot Hass?

yes sure. I have tried to reload the Gateway3 integration and reboot Home Assistant, but every time I open the device details, I am always disappointed.😔

You can add your changes to target file directly. You importing it in your code.

You can add your changes to target file directly. You importing it in your code.

I am sorry. What is the "target file"?

I noticed the 'import' at the beginning of the file. Do I need to install relevant Python libraries to implement Converter?

I tried to use Converter to customize the switch giot.switch.v52ksm in my hand.
As a result, it still doesn't work.
It seems that the xiaomi_gateway3.py file is not executed by Home Assistant?

This file https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/core/devices.py
xiaomi_gateway3.py should be executed. You can check logs for any errors about this.

This file https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/core/devices.py
xiaomi_gateway3.py should be executed. You can check logs for any errors about this.

I just tried adding a custom Converter in /homeassistant/custom_components/xiaomi_gateway3/core/converters/devices.py.
After rebooting, my switch finally displays normally. 🥹
I don't know if the file you mentioned refers to modifying this local file.
(Sorry, I am a Github novice and I am still learning to use Github.)

Oh! I have found the root of all problems.
My integration version is 3.3.3 (I don't know why the integration has not been checked for updates).
However, I used the new version method of from custom_components.xiaomi_gateway3.core.devices import * to write the Converter.
That's why my xiaomi_gateway3.py didn't work.
Now I have reinstalled to the latest version of the integration and written xiaomi_gateway3.py as above. Everything works as expected!
Thank you, AlexxIT! 😀

If you write English version for converter - I can add it to all users.


Add VrelinnVailati to Contributors list

Hi  @VrelinnVailati, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Hi,  @Roshanjossey. Well, it's obviously my first time on this. I consider this is quite easy to follow and comprehend. And totally encouraged me to start looking for projects in which I could help. I've been developing small private projects and I think this is the next step I want to take.


Initial implementation of AMC

Frame counts for skill and burst taken from https://docs.google.com/spreadsheets/d/1YJ-MMw-EjYYg5upEresP8bVk63u2WMs_01YNte-md7w/
skill[hold=1] will hold the skill for the full duration
To fine tune skill hold duration use skill[hold_ticks=X], where X is the number of "cutting" ticks to do.

@Charlie-Zheng closing this in favour of next


Add a larger spatial tutorial

Fixes #8443.
Summary of changes:

Add a more comprehensive spatial tutorial, which purports to cover:

Importing spatial data from SQL files (with a brief mention of how
to build spatial geometries from CSVs)

How to join various separate spatial data sets together to ask and
answer (potentially interesting) questions

How to use various built-in functions for operating on spatial
data

How to create indexes on spatial data

Performing joins on spatial data, and how to use EXPLAIN to make
sure we are using indexes effectively

How to quickly visualize the output of our queries using free
tools like https://geojson.io

Add links from other spatial pages to the tutorial

This change is

@jseldess I emailed you links to the SQL file downloads for the tutorial (putting them up on AWS tomorrow, needed to get help)
They can be imported with a local file server or using the SQL client CLI with the following commands:
$ cockroach sql --insecure --database=tutorial < bookstores-and-roads-20210125.sql
$ cockroach sql --insecure --database=birds < birds-20210125.sql

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/62d3bfb5b0c9d65dadf46d459ebdc4943ed1ccc2/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

Latest push updates the 'Loading the data set' section with the instructions for loading the files from AWS using IMPORT (files are uploaded, just checked to verify they are working)

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/1fe87e12540a549fabfe1b081a05b31022731487/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

Overall this tutorial is quite excellent! Well done!

v21.1/spatial-tutorial.md, line 1005 at r2 (raw file):

	sightings ASC
LIMIT
	25

Missing the closing semi-colon.

v21.1/spatial-tutorial.md, line 1129 at r2 (raw file):

2. CockroachDB does not yet have built-in support for index-based nearest neighbor queries. If this feature is important to you, please comment with some information about your use case on [cockroachdb/cockroach#55227](https://github.com/cockroachdb/cockroach/issues/55227).

Let's look at the `EXPLAIN` output to see if there is something we can do to improve this query's performance:

Do we want to have users generate this plan themselves? Right now, we're just featuring the output of an explain command that we haven't provided...

v21.1/spatial-tutorial.md, line 1187 at r2 (raw file):
Previously, awoods187 (Andy Woods) wrote…
Do we want to plug online schema changes here? Something like, while the index may take a few seconds, due to online schema changes, the table remains accessible in the meantime.

Also, for me, it took much more than a few seconds. It took almost a minute:
demo@<IP_ADDRESS>:26257/tutorial> CREATE INDEX ON roads USING GIST(geom);
CREATE INDEX

Time: 56.401s total (execution 0.007s / network 56.394s)

That might be because I'm doing it all in demo. I can try with a persistent cluster as well. We need to add a cluster setup step in any case, so whichever approach we take, we should be sure performance matches what we say in the tutorial.

v21.1/spatial-tutorial.md, line 1289 at r2 (raw file):

~~~

To see why, let's look at some `EXPLAIN` output for the query above now that we have indexes:

Same comment as above: Should we have users run the explain command themselves?

v21.1/spatial-tutorial.md, line 1472 at r2 (raw file):

~~~

Let's look at the `EXPLAIN` output to see if there is something we can do to improve this query's performance:

Same as above. Should we have users run explain?

This is a great tutorial. I ran it all in demo and it worked great. I really like the overall flow. Most of my feedback is going  to be about how to restructure and tighten it to feel more digestible (it's very large) and closer in style to some of our other tutorials.
I'll start with structure and section naming. Here's my proposal:
Step 1. Review the scenario
Step 2. Start CockroachDB
Step 3. Load the data set
Step 4. Scout loon locations
Step 5. Find bookstores to visit
Step 6. Plan your route
Step 7. Get road and travel info
Next steps
Appendix
  Spatial features and corresponding queries
  Data set description
See also

As discussed on Slack, I think the info about features and corresponding queries and the description of the data set are great, but they aren't technically necessary for users to get started. I'm worried that having that info at the beginning, before the action starts, makes the tutorial feel more imposing than it necessary. I'm suggesting that we move that info to an appendix and reference people there are targeted places toward the start.
Also, we need to add a step for starting crdb. Currently, we just jump into a sql shell.
I've also added a Next steps heading so you can briefly restate what you've learned point people to the most important topics they should consider reviewing next. In Slack, you mentioned "migration docs for spatial data and our spatial index docs since that can affect your performance a lot."
More comments coming, but that's the gist for structure and headings.

@rmloveland, submitting some structural suggestion (above) and a few in-line comments. I will go through everything in detail, but I think it might be best to see your thoughts on the above first and to pick it up once we're aligned and you have made related changes.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ceefdc28d40fa230a1f0b42506f56f10e72ca944/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/34eeffc0d1e57392e1cf83c78587de6487939473/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

it might be best to see your thoughts on the above first and to pick it up once we're aligned and you have made related changes

@jseldess I have pushed changes based on your structural feedback, and (I think) this push reflects your inline comments as well.  I think the new structure is much better, thanks for suggesting it.
PTAL and let me know what you think.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/b60abd115214e89a42ce99b6727b722322695785/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

v21.1/spatial-tutorial.md, line 51 at r4 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
Again, I'd prefer second person. I'm not going to point out every instanced, but here's an example. Also, I think we could be more active here.

You will see a SQL client prompt that looks like the one below. You will use this prompt for the rest of the tutorial.

Disregard this if we're sticking with first person plural.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d1751e93dca5366b3a7381877ce8f5da689f909d/
Edited pages:

v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md

@jseldess FYI I chatted with @ericharmeling and based on our convo I'm planning to back out the changes this PR makes to the Developer Guide TOC since Eric has a pretty monster PR doing a lot of stuff to that section of the docs, and the changes here are more opportunistic.  Can add them in a separate change later.
I will wait to change anything here until you've had a chance to look at the latest round of changes tho

Sounds good, @rmloveland. I'll take a look a bit later.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d14a6b74e3acb1153427e922277491b0b537c317/
Edited pages:

v20.2/spatial-tutorial.md
v21.1/geojson.md
v21.1/geometrycollection.md
v21.1/linestring.md
v21.1/migrate-from-geojson.md
v21.1/migrate-from-geopackage.md
v21.1/migrate-from-openstreetmap.md
v21.1/migrate-from-shapefiles.md
v21.1/multilinestring.md
v21.1/multipoint.md
v21.1/multipolygon.md
v21.1/point.md
v21.1/polygon.md
v21.1/spatial-data.md
v21.1/spatial-features.md
v21.1/spatial-glossary.md
v21.1/spatial-indexes.md
v21.1/spatial-tutorial.md
v21.1/srid-4326.md
v21.1/st_contains.md
v21.1/st_convexhull.md
v21.1/st_coveredby.md
v21.1/st_covers.md
v21.1/st_disjoint.md
v21.1/st_equals.md
v21.1/st_intersects.md
v21.1/st_overlaps.md
v21.1/st_touches.md
v21.1/st_union.md
v21.1/st_within.md
v21.1/well-known-binary.md
v21.1/well-known-text.md


Future add data source

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

add data storage


Use comfy table for bpfctl get

Follow up to #570 refactor the bpfctl get to use a comfy table output rather than straight printing which is a pain :)

I was checking some "good first issue" to start with, but it seems this one was already done in https://github.com/bpfd-dev/bpfd/pull/690, right?

Ahhh yep this was That's my bad for not closing, thanks for noticing @navarrothiago!
Feel free to choose another one or reach out in slack if you don't see something that interests you!


Create new folder name dialog loses focus once a character is typed

Describe the bug
The text box in the Create new folder dialog keeps losing focus after every character is typed.
To Reproduce
Steps to reproduce the behavior:

Open the app
Select any folder and right click
Select 'New', then select 'Folder'
Start typing the folder name.
The textbox will lose focus and you have to click on it again to type the next character.

Expected behavior
We should be able to type the complete folder name completely withou the field losing focus.
Screenshots
Video: https://1drv.ms/v/s!AqsGAQzCgk9kr7Ux6DQyxLppkCKpww
Desktop (please complete the following information):

OS Version: Windows 10 Pro Insider Preview 2004 Build 19592.1001
App version: [<IP_ADDRESS>]

Additional context
Happens always when trying to create a folder

Thank you for opening this issue, I think by implementing inline editing for this functionality, it will not only fix the issue but it will improve the experience as well.


Cannot link external logins in 1.0.0/1.0.1 Individual auth templates

From @Eilon on October 24, 2017 21:42
From @HaoK on October 27, 2016 18:41
Repro:

New Individual Auth App
Add 2 external auth providers (i.e. facebook/twitter/google)
Register a local user and password
Manage -> Add External Login -> First Facebook/twitter/google will work
Second will result in access failed.

Original issue: https://github.com/aspnet/Identity/issues/1005
This has been mitgated somewhat in 1.1 by https://github.com/aspnet/Security/pull/980
A potential fix is to add the equivalent signout code to ManageController's LinkLogin + LinkLoginCallback(when add login was successful).  I verified that this enables things.
Similar to: https://github.com/aspnet/Templates/commit/306fbc6b62c01a55c77399688ae57e11f3f6f359
Copied from original issue: aspnet/Templates#686
Copied from original issue: aspnet/templating#103

From @HaoK on October 27, 2016 18:43
@Tratcher @blowdart @Eilon @muratg @divega we should probably discuss this one at triage today

From @divega on October 27, 2016 23:55
Was there a triage discussion about this today? What was the conclusion?

@divega we have a thread with the tooling folks that I just added you to.

From @Tratcher on December 7, 2016 4:44
@brockallen I can't repro that with the 1.1 packages. I am able to create a user with a password and then add an external identity. I only get AccessDenied if I remove the external identity and try to re-add it, which is a known variation of this issue.
The password login and the external logins use separate cookies, so there's no reason they should conflict like you describe. Can you try again and make sure you don't have an old external cookie when you start?

From @brockallen on December 7, 2016 1:38
This seems to still be a problem in 1.1.0, but under a different scenario. A locally logged in user (with uid/pwd) wants to now associate an external provider with their account. They click "Google", which triggers a challenge. Since they are currently logged in, they get the access denied page (which doesn't exist in the template).
This should allow them to challenge on google and be redirected. The cookie MW should not be handling this.
To demo this scenario I created a new ASP.NET Core project (w/ ASP.NET Identity) in VS2015, then updated project.json to use netcoreapp1.1, and then updated all nugets. I then added a new migration for the new stuff 1.1 added, and then ran it. I registered a new local user, logged in, then tried to link google to the account.

From @brockallen on December 7, 2016 21:10
I just grabbed this change to the manage controller and still see the issue I described above.

From @brockallen on December 7, 2016 12:53
Ok, you are right -- I retested and confirm what you describe. Thank goodness. Thanks.

From @Tratcher on December 7, 2016 21:54
I think the new SignOutAsync needs to go in ManageLogins instead of LinkLogin. You can't SignOut and Challenge on the same response, SignOut requires a round trip to remove the identity.

@Eilon Can we close this?

Dunno. Why?

This doesn't apply to the current bits. We'll revisit post 2.1.0


Refactor adding of controller inside panda model

It is very messy right now ...

Closed in favour of https://github.com/AndrejOrsula/drl_grasping/issues/85


image gallery

Two tracks

HTML 5 / CSS
Generation

HTML 5 / CSS

border are may be to heavy.

Generation

Do we have a better way to store the caption than the Front-matter ?

Hugo Short Gallery
* Define the ID of the gallery automatically
* Sidecar file

Hugo Easy Gallery
* Style with auto-hide caption, and zoom

HTML 5 / CSS

[x] Overall structure
[x] Styles
[ ] Centralization of the gallery without centralize thumbnails

Generation

[x] Rename the thumbs ?  => No possible
[ ] Parameters (to be improve ?)
[ ] Robustness (to be tested)


zig package manager

Howdy!
With the introduction of the new package manager (build.zig.zon) I was interested in experimenting with a way to add support to zig-gamedev so that individual libraries can be referred to by other projects, rather than vendoring zig-gamedev as a submodule.
But before I looked too closely I wanted to make sure that this isn't in conflict with your goals for the project. Maybe we can discuss the possibility here and I can put some concrete PRs together from it.
It might seem too early to do this, but my rough thoughts on the topic are:

It would be ideal to setup Github actions which create 'releases' for each library.

Releases are just tarballs with all relevant content resolved (no need for git or lfs downstream)
This could be based on tags, but a rolling 'HEAD' release whenever there is a commit is possible (I think)

Downstream projects could select the release they're interested in and include them via their build.zig.zon.

The notes for the release could provide snippets which show the correct entries to add.

Each library would have their own build.zig.zon generated to refer to their inter-dependencies correctly

Details of this particular point are uncertain to me still. For example, can the contents of these files be totally generated?

Alternatively, it might instead be worth starting out with a single broad stroke, and have zig-gamedev itself be a single package that we depend on instead.
Some questions I have, but probably can't answer until I started:

Does "packaging" any part of zig-gamedev interact badly with the existing approach you've taken with your zig build setup?
Is it important to keep package versions incremented (does zig build make cache decisions based on package versions or just hashes)?

Looking at other examples (https://github.com/andrewrk/ffmpeg/blob/main/build.zig.zon) I only see archive urls and hashes.

Hi!
Your plan sounds great and doing this work would be much appreciated. I think we could start with one library and see how it goes.
We don't strictly need version numbers hashes would be fine.

Awesome! Is zmath a good choice to start with?

Awesome! Is zmath a good choice to start with?

Yes!

Hey,
Not to hurry anyone or things up but has there been any progress on packaging the project libs ?
In any case thanks for the awesome and constant work on these libs 🚀
Cheers

Hi, sorry, there hasn't been much progress beyond simple tests. I just moved recently which tossed all my spare time into a tizzy. I'm hoping to get back to this soon though.

Thanks for the heads up & no worries :)  I'll look into that in the following days and will come back here if I ever come up with something usable with Github Actions

Another but way more involved direction for packaging individual libs would be to move them under their own repository mirrored from the contents of this monorepo,  allowing them to be very easily consumed (just grab the tar for a specific commit / tag). This would however require a lot of plumbing in the build files. Here are my 2 cents.

That solves one of the bigger question marks. My packaging script has to calculate hashes for archives and to build the archive the generated build.zig.zon is a part of that.
So the script has to make a little tree to execute the plan correctly.
That’s where I left off before my move.

re: came up with a workflow which packs and uploads libs as release assets upon pushing a new git tag (or a release) (branch: https://github.com/Game4all/zig-gamedev/tree/packaging-script). This is currently at the same point as your experiments iirc from what I glanced over. Next step would be to modify build files to expose public modules for consumption as a 'package'.

All libs now have a build.zig.zon file. Each lib can now at least be consumed by a project by a local path. However, note that some libs are not self-contained, some have a dependency on common and system-sdk. This requires some thought before committing to a strategy for publishing packages to be consumed by url.

All libs now have a build.zig.zon file. Each lib should now at least be somewhat consumable by a local path. However note that some libs are not self-contained, some have a dependency on system-sdk (maybe we should make this a package also and do the necessary build.zig fixes for libs that consume it), and some depend on other libs.

Since a number of libraries depend on this, making this a dependable package sounds good.

Re publishing packages via GitHub actions. I think this a good way to go. But the details require some thought. Like, where should they be hosted? We want to keep the tarballs out of the git tree. Git LFS is an option but it would increase download size of repo checkouts with no benefit to users of the git repo. Also it could use up the storage budget quickly. We should estimate storage requirements and evaluate different options and costs involved.

Package tarballs could be stored as github release assets, as there are no particular restrictions on artifacts apart from a max file size (2GB) as per github support. Another option to consider, which incurs a non-negligible cost for maintenance, would be to move each package to its own git repo and use tags for release (now that zig can fetch git repos, including commit and tags), but yeah, maintaining 16+ git repos without automation sounds like hell. I'm bringing this option up here as there has been a mention of moving the repo under an organization recently.

system-sdk is now also a package: https://github.com/zig-gamedev/zig-gamedev/commit/9c9e47594d9549a9c5dd70c2453af4e681ca8d60

Quick update on this

Recent build system overhaul resolved some issues when consuming libs using package manager
Hosting is ready to go. Test: https://zig-gamedev-pkgs.ams3.cdn.digitaloceanspaces.com/zmath-0.9.6.tar.gz

So here's what's left to do:

A fix or workaround for this issue that is preventing published packages from being consumed
Automate fixing package interdependencies to published urls instead of local paths
Publish all the packages!

A fix or workaround for https://github.com/ziglang/zig/issues/17779 that is preventing published packages from being consumed
Looks like this was resolved by https://github.com/ziglang/zig/pull/19111

Looks like this was resolved by ziglang/zig#19111

Can confirm the issue is now resolved.

Idea on how you could implement this:
You just convert the entire monorepo into a zig package and then you expose some options for choosing the packages you need.
Mach core also does this.
Example:
build.zig.zon:
.{
    .name: "example_game",
    .version: "0.1.0",
    .minimum_zig_version: "0.12.0",
    .dependencies: .{
        .zig_gamedev = .{
            .url = "https://api.github.com/repos/zig-gamedev/zig-gamedev/tarball/<commit-hash>",
            .hash = "<some-hash>",
        },
    },
    "paths": .{
        "",
    },
}

build.zig:
const std = @import("std");

pub fn build(b: *std.Build) void {
    const target = b.standardTargetOptions(.{});
    const optimize = b.standardOptimizeOption(.{});

    const exe = b.addExecutable(.{
        .name = "example_game",
        .root_source_file = .{ .path = "src/main.zig" },
        .target = target,
        .optimize = optimize,
    });
    b.installArtifact(exe);

    const zgame = b.dependency("zig_gamedev", .{
        // Package dependencies are automatically set to true as well
        // type of dependencies is `?anytype` so the user can pass build options to the underlying dependency
        .zglfw = .{},
        .zgpu = .{},
    });
    exe.root_module.addImport("zglfw", zgame.zglfw.module("root"));
    exe.linkLibrary(zgame.zglfw.artifact("glfw"));
    @import("zig_gamedev").zgpu.addLibraryPathsTo(exe);
    exe.root_module.addImport("zgpu", zgame.zgpu.module("root"));
    exe.linkLibrary(zgame.zgpu.artifact("zdawn"));
}

After much deliberation I think the best thing to do is to move each library to its own repo. Some benefits:

Versioning and publishing packages is much simplified
No 3rd party hosting to manage
No special build system interface required
Write access can be granted to contributors on a per lib basis
Sponsor accounts can be linked on a per lib basis
This repo will then become the samples repo and pull libs in via the package manager. Users consuming libs with git will have to upgrade one lib at a time.

We will lose some conveniences from having development centralised. But I think it is a good trade to make.

Migration PR

Hey, sorry to bump, but is there any plan to continue the migration into separate repos?

The migration is complete. All libs now have their own repository and GitHub archives can be consumed using the package manager.


[ISSUE #3593] entrySet() replace keySet()

There are several inefficient iterations of Map, in such code, keySet() is retrieved from Map firstly, and values are got in each iteration by key. In my opinion, entrySet() should be used, so that keys and values can be fetched in one time.

Coverage increased (+0.01%) to 55.103% when pulling fbe677e0bb99222211ab177caa4818ddf96c5c56 on zhaohai1299002788:inefficient_iteration_of_map into 4d495515acab8f2f2fbbd76872c007f2d01c891e on apache:develop.

/home/travis/build/apache/rocketmq/client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java:23:8: error: Unused import - java.util.Set.

link https://github.com/apache/rocketmq/issues/3593


Add useful info to "pushing a container"

When you push a container to ghcr.io without having the label org.opencontainers.image.source set GitHub won't connect the image to a repository. This results in the GITHUB_TOKEN not having the appropriate permissions.
Example:
Repository url: flopana/awesomeRepo
I push an image that is tagged with ghcr.io/flopana/awesomeRepo:latest to ghcr.io, GitHub won't link these two together.
If I now use the secrets.GITHUB_TOKEN in GitHub Actions on the repository flopana/awesomeRepo and try to push a container with it it fails with 403 Forbidden. Because the token belonging to this repository doesn't have the permission to write to a package that is not belonging to this repository.
If there is no package under that namespace and you push an image from the pipeline with the github token to ghcr.io, Github will link these two even without the label set.
But by advising the user to set the label in the Dockerfile github will link both together regardless of the order of pushing images.
My changes in the Documentation should prevent users from running into this problem like I did.
Feel free to make changes to my grammar/wording since English isn't my mother tongue.

Why:
Closes [issue link]

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Whoops didn't see the default PR template I hope my PR message is sufficient

Narrow AI

what?

@flopana Thanks so much for opening a PR! I'll get this triaged for review :zap:


Issues with generating tokens to access organization services

Dear author:
I am a reader from China. Regarding the chapter 9 in the book, there are several questions that have always puzzled me, so I would like to ask you:
The first question: There is an organization-service.properties resource file in the configserver service. The configuration parameters inside are as follows:
security.oauth2.resource.userInfoUri= http://authenticationservice:8082/user
signing.key: "345345fsdfsf5345"
authenticationservice does not seem to have appeared before. Is signing.key also useful in Chapter 9?
Second question: According to the steps in the readme file you gave me, I cannot obtain the user token using the client key in the code. After regenerating the client key, the token can be produced normally, but when accessing http://localhost:8072/organization/v1/organization/e6a625cc-718b-48c2-ac76-1dfdff9a531e The interface address, user name and client secret key have been filled in. Others have been filled in according to the instructions in the book, and the results are returned Status code 401, so I need your help on how to run the code the correct way.
I very much hope you can reply to me, thank you!

i dont know much as i didnt use this book's version of security but as far as i know this property is used so that our resource server can go to this url and request more info about the client using the auth token presented via client.


no such module 'FirebaseInstanceID'

FCM doesn't work for ios

Please fill in the issue template, this kind of information is totally useless.
It does, you just need to update your pod for Capacitor v3 and FCM v2.
For Capacitor v2 use FCM 1.x


Feature/fix hashids autowiring

Fix autowiring Hashid classes. @see https://github.com/KnpLabs/DoctrineBehaviors/pull/561#issuecomment-644736773

Thank you


can not load package (github.com/grafana/grafana)

Is there anything I can do here:
$ dh-make-golang  github.com/grafana/grafana
2021/07/17 00:38:03 Starting "dh-make-golang v0.4.0 linux/amd64"
2021/07/17 00:38:03 Downloading "github.com/grafana/grafana/..."
2021/07/17 00:39:12 Deleting upstream vendor/ directories
2021/07/17 00:39:12 Determining upstream version number
2021/07/17 00:39:13 Found latest tag "v6.5"
2021/07/17 00:39:13 WARNING: Latest tag "v6.5" is not a valid SemVer version
2021/07/17 00:39:13 INFO: master is ahead of "v6.5" by 7122 commits
2021/07/17 00:39:13 Package version is "6.5"
can't load package: package github.com/grafana/grafana/pkg/macaron: code in directory /tmp/dh-make-golang736672000/src/github.com/grafana/grafana/pkg/macaron expects import "gopkg.in/macaron.v1"
2021/07/17 00:39:16 Could not create a tarball of the upstream source: [go list -f {{.ImportPath}} {{.Name}} github.com/grafana/grafana/...]: exit status 1

I think it's related to https://github.com/Debian/dh-make-golang/issues/135

The https://github.com/grafana/grafana repository is huge!  Takes a long time to git clone, and takes up about 1 GB.
Perhaps modifying the code to use
git clone -b v10.4.1 --depth 1 https://github.com/grafana/grafana.git

or
git fetch --depth 1 origin tag v10.4.1

may be helpful.
See also:

Git shallow fetch of a new tag - Stack Overflow
Git Clone Tag Guide | phoenixNAP KB

May be a solution to for Bug#871983


Making a transparent gradient stop

Hello,
I'm trying to make a gradient that doesn't show at all until I hit a certain threshold, something like this:
"gradient": {
	  0.00: "rgba(0,0,0, 0)",
          0.10: "rgba(50,200,100, 0.9)",
          0.15: "rgba(50,200,200, 0.9)",
          0.20: "rgba(0,255,0, 0.9)",
          0.24: "rgba(155,255,0, 0.9)",
          0.27: "rgba(255,255,0, 0.9)",
          0.29: "rgba(255,155,0, 0.9)",
          0.30: "rgba(255,0,0, 0.9)"
      }

But instead I get a gray color rather than transparent. I did try setting the background color to "transparent" but that didn't seem to help.
Is there a way to accomplish a truly transparent color stop?

Hey! thanks for reaching out, there is an (unfortunately not yet documented) configuration property called useGradientAlpha https://github.com/pa7/heatmap.js/blob/master/src/renderer/canvas2d.js#L161
Could you set that to true in your heatmap configuration and try again?

Hey, that's magic!
Thanks very much!

glad I could help *now filing a ticket to document that property*


Bamboo/maintenance/dispatchers

Polish some old code:

Favor list.get(0) over list.iterator().next()
Favor list.isEmpty() over list.size() == 0
Favor new ArrayList(list) over new ArrayList().addAll(list)
Extracted duplicate complex boolean expression to its own method
Inline constants used only once
Remove unnecessary toString() call
Introduce method to shorten the prose and honor LoD

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle merge

The merge queue build has failed. Click here to see all failures.

@bot-gradle merge


refactor!: Use bool types for command parameters to be more consistent

BREAKING CHANGE: ds-pushevent and ds-returnevent to use bool true/false instead of yes/no
related: https://github.com/edgexfoundry/go-mod-core-contracts/pull/782
Signed-off-by: Ginny Guan<EMAIL_ADDRESS>

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[x] I have opened a PR for the related docs change (if not, why?)
https://github.com/edgexfoundry/edgex-docs/pull/917 and the core-command Swagger file in this repo

Testing Instructions

build core-command and device-virtual docker images based on the changes and run docker-compose.yml
The following commands work as expected:
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-pushevent\=true
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-pushevent\=false
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-return\=true
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-return\=false

and the following commands return errors as expected:
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-pushevent\=yes
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-pushevent\=no
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-return\=yes
curl http://localhost:59882/api/v2/device/name/Random-Boolean-Device/Bool\?ds-return\=no

New Dependency Instructions (If applicable)

please modify the Swagger file as well

@jinlinGuan  Go mod changes are propagated; marking ready for review.

@cloudxxx8 Do you think we could merge this one and do the swagger in a followup PR?   The breaking change not merged is holding me up on my security work.

The core-command Swagger file has already been updated in this PR.

@cloudxxx8 Do you think we could merge this one and do the swagger in a followup PR? The breaking change not merged is holding me up on my security work.


Add new "always" approval policy

Update pkgrev.get to use api Reader to bypass cache
Additional logging
Update kyaml versions to sync with porch version

Looks good. I'll download it and tryto run the e2e tests locally.

Ok, looks good. I am approving, but I do think it's not necessary to include the additional details in the event messages; the event is already attached to the package revision. I am unsure of whether there are optimizations in the event handling that may be defeated by adding additional info in the message rather than a static message. I guess it's still static, for that PackageRevision, so maybe it's ok.

Hi @johnbelamaric thanks for reviewing. Ye I just added the additional info for logging/debugging purposes. If you think it doesn't belong in the event, then maybe we should add it to a logger somewhere.

/approve
/lgtm


Carthage update fails

After upgrading to Xcode 8.1 (now with Swift 3.0.1) I had to rebuild LKAlertController, so I used carthage update.  codesign failed, and it has something to do with the cocoa pod tests.
Here are the relevant lines from the carthage-xcodebuild.xxxxxx.log file:
Signing Identity:     "-"

/usr/bin/codesign --force --sign - --timestamp=none /Users/home/Library/Developer/Xcode/DerivedData/LKAlertController-gfxpomyboovzwidrotfexklagyqa/Build/Products/Release-iphonesimulator/Pods-LKAlertController_Tests/LKAlertController.bundle
/Users/home/Library/Developer/Xcode/DerivedData/LKAlertController-gfxpomyboovzwidrotfexklagyqa/Build/Products/Release-iphonesimulator/Pods-LKAlertController_Tests/LKAlertController.bundle: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1

I think the key here is .../Pods-LKAlertController_Tests/LKAlertController.bundle: bundle format unrecognized, invalid, or unsuitable
I got around this by forking your repo and removing the Pods-LKAlertController_Tests scheme.
If anyone else needs a hot fix, use
github "JamesPerlman/LKAlertController" "patch-1"
in your Cartfile.
I'm not sure how else to get around this, but I didn't spend too much time trying to figure this out.
Am I the only one who uses Carthage and this framework? :P

I believe I've figured out the issue and got it fixed. Please let me know if it still doesn't work.


[WIP] Add support and tests for nearest mode in interpolate

PR: Add support for nearest interpolation Bounty

#6308


More debug infos

I would prefer to include some debug output in OpenSlides. The worker and client are very quiet. Debugging on productive systems is not much fun. I would prefer that the client prints out some status information, when it gets the first autoupdate, when trying to reconnect ws connections, logging about network things, ...
Something equivalent would be nice for more worker output

What about the following: We use the settings DEBUG option (or even extend it) and provide its value also to the client on startup (via WebclientJavaScriptView). Then the client can log things to the console. If DEBUG is false, client and server should be as quiet as possible.
For our customer container solution you may add a short option in the webinterface to control the DEBUG value of the instance.

Outdated.


Update teampaper-snap to 2.1.1,8919:2017-06-26_10-33-18

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` reports no offenses.
[x] The commit message includes the cask’s name and version.

This is horrid versioning due to the way they have structured the files in the zip. Fully open to suggestions!

This looks like its moved to MAS. https://www.teampaper.me/sparkle/sparkle.xml
The homepage only has a MAS link.

I see what you mean, the latest is 2.2.1 iTunes. Will I submit a removal then?

Will I submit a removal then?

Yes, thanks!

Closed in favour of #40956


Iiif print Derivative Service spec

Rename PageDerivativeService to Base DerivativeService
Delete original PageDerivativeService spec
Add beginnings of new BaseDerivativeService spec

I ran the tests and lint locally.


active border not consistent with auro-input

Describe the bug
The border for auro-combobox isn't consistent with auro-input.
To Reproduce
View the combobox and compare it to auro input in the active state and focus state.  They seem to be fliped.
Expected behavior
Consistent between all input types

@braven112 can you please attach screenshots to help clarify the diff you are referring to?

@blackfalcon This is the issue we discussed about the active/focus states border/box-shadow width being reversed in dropdown compared auro-input.

@jason-capsule42 Here's the blueprint: https://www.figma.com/file/3TQhiKjQqQOKYqaqcO1zj2/Dropdown?node-id=906%3A753


Update Summary page declaration

What is the context of this PR?
The custom summary content guidance field is supposed to be displayed as a declaration field on the Summary page, it was previously being displayed as guidance at the top of the page.
How to review
Use the test_summary_with_submission_text schema to check that the guidance appears as a declaration at the bottom of the page.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Customise final summary - Individual (XS)


MB-16977 update documentation for creating DDASIT payment requests

Jira ticket
Summary
This PR updates the API docs to give more information about creating payment requests for DDASIT.

Messages

:book:
:link: MB-16977

  Generated by :no_entry_sign: dangerJS against f14da564b1c708d235cc7ab86946731cc1be2446


Type for function equal

Hey,
great project! I started with TestCompelte and I am already using it with vscode extension...
My project uses equal function a lot, is there a way to include a definition in your api?
https://support.smartbear.com/testcomplete/docs/reference/language/javascript/equal-method.html

Yep, it's possible, I will add this in the near future

Hi @mickeypearce ! Did you try latest version? Please tell if Is it working well for you
Also as a side question: do you set up it manually or use it via VSCode extension?

@deitry Works, yes. Thanks. I use VSCode extension.


MVC Server: Options to create routes automatically from service registry

Equivalent of spring.cloud.gateway.discovery.locator.enabled=true

Excuse me, I just wonder if the issue of "spring.cloud.gateway.discovery.locator.enabled=true" has been solved yet for creating routes automatically, or in mvc does it have similar option?
Thank you !

@RandolphTang this issues is to add that functionality to the server webmvc


Setup cron inside container, reduce noise in syslog

Currently the tasks run for this container happen via a cron running within the main operating system.  An entry point should be created within the container that runs cron such that the container can be left running and not need modifications to external cron.

crkn-rcdr/cihm-ingestwip#1 and crkn-rcdr/cihm-repomanage#2 are related.

Everything worked well since deployment, so closing this issue.


Multiple Choice Field content not showing when the page is reloaded

I have an autocomplete Multiple Choice Field in my form.
The form works fine in the sense that the choices are saved to the DB (as a char string: [u'French', u'English']).
The problem is when I return to the page, to view the saved details and update, the model choice options are not showing.
I also make used of a single choice field, which works fine. However, the options for the multiple choice field are not showing when the page is reloaded.
Does anyone know what the issue is? Please see info below and images attached.
More info:
autocomplete_light_registry.py:
...
#languages autocomplete
class OsAutocomplete(al.AutocompleteListBase):
choices = ['English', 'French', 'Spanish', 'German', 'Mandarin', 'Cantonese', 'Italian', 'Portugese']
al.register(OsAutocomplete)
forms.py
...
lang = autocomplete_light.MultipleChoiceField('OsAutocomplete', required=False, label='Languages')
...
class Media:
"""
We're currently using Media here, but that forced to move the
javascript from the footer to the extrahead block ...
    So that example might change when this situation annoys someone a lot.
    """
    js = ('js/dependant_autocomplete.js',)

Many thanks

I couldn't reproduce this in the test project.

We're currently using Media here, but that forced to move the javascript from the footer to the extrahead block

That's weird.

https://django-autocomplete-light.readthedocs.org/en/master/faq.html#how-to-ask-for-help


Add ARM builds to getmesh

Currently getmesh list only shows x64 flavours of TID.  We have ARM builds, so we should have them show up in the output of the command.

Hi @pmerrison I think this might be same as https://github.com/tetrateio/tid-internal/issues/36.


Chart Top Users

Btw uw made a great job doing this thnx for that but i need ur help
I cant make it work the Chart of users and the top users. it just doesnt show the users . thxn again

Could you pls call api/checkConnections.php in your browser and post the response here.
Or if your server is accessible from the internet post the address here and I will take a look

When mining make sure to type in your username under "Username optional" field.


In fastMapDemo.ino, 'x = mapper.map(z);' has not-volatile z so compiler caches result, giving false speed

In fastMapDemo.ino, x = mapper.map(z); has z as not-volatile, so compiler caches result, giving false speed.
Once z is make volatile, 'performance factor' drops from 67 to 2.
Note that even this 2 is suspect, as the 'backwards' mapping of (0, 1023) to (20000, 3000) for normal map results in excess internal 8-bit operations.
I am looking to refactor fastMapDemo.ino to calculate more accurate comparisons.

z is also not volatile - > get your point.
'backwards' mapping is normal mapping from usage point of view,
performance wise it might need separate investigation.
idea
Feed both with a random generator, both runs seeded same start value.
A separate loop that measures the random generation overhead to subtract that part later.

@brewmanz
Sorry for the late reply, apparently I missed some issues in the past.
I'm checking all my libs for open issues, so can take a few days.
Is this still an actual issue?

Close this issue as it is old.


Close release issue after PR is merged

Find issues that match the name and have a release label

Resolved in b0e68c40525f5e26832fbab872d3ad57b2700d03.


Onesignal received and opened events are not consistent

Description:

Onesignal received and opened events are not consistent. I am getting trouble tracking received event in onesignal as it's not getting fired sometime. When I re-run app from android studio it will work again. Any suggestions ?
(your description here)

Install the OneSignal SDK using npm into your project
Initialize the SDK in js
Attempt to receive a push notification
onReceived and onOpened callbacks won't get called sometimes

Environment

What version of the OneSignal React-Native SDK are you using?
3.2.5
How did you add the SDK to your project (eg. npm)
0.55.2
MacOs

Steps to Reproduce Issue:

class MainRoot extends React.Component{
constructor(props){
super(props);
this.onIds = this.onIds.bind(this);
this.onReceived = this.onReceived.bind(this);
this.onOpened = this.onOpened.bind(this);
}
componentWillMount() {
OneSignal.init("XXXXXXXXX");
OneSignal.inFocusDisplaying(2);
OneSignal.addEventListener('ids', this.onIds);
OneSignal.configure();
OneSignal.addEventListener('received', this.onReceived);
OneSignal.addEventListener('opened', this.onOpened);
}
onIds(idData){
console.log(idData,"ids data");
}
onReceived(request) {
console.log("received",request)
}
onOpened(openResult) {
console.log('Data: Navigate to this', openResult);
}
componentWillUnmount() {
OneSignal.removeEventListener('opened', this.onOpened);
OneSignal.removeEventListener('received', this.onReceived);
}
render(){
return(

{Routes}

);
}
}
Anything else:
(crash stacktraces, as well as any other information here)

Just added OneSignal.setLogLevel(0, 6) and there was error
Both GCM & FCM Libraries detected! Please remove the deprecated GCL library.
I am using detached expo application

Thanks for reporting this, I'll be closing this issue because it's a duplicate of #583. We are actively investigating this problem and should have a fix out soon.


fix: build errors on new rust

No idea why CI fails:
  = note: rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 3184 bytes
          rust-lld: error: section '.bss' will not fit in region 'FLASH': overflowed by 3384 bytes

error: could not compile `ch32v003-examples` (bin "embassy_blinky") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
warning: `ch32v003-examples` (bin "gpio_ws2812") generated 10 warnings (run `cargo fix --bin "gpio_ws2812"` to apply 7 suggestions)


cool down for show emote/ modules auto activate and deactivate if stream is on or offline

please do thanks

So you want to automatically disable showemote and playsound when the stream ends, and enable them on stream start?

So you want to automatically disable showemote and playsound when the stream ends, and enable them on stream start?

Even if that isn't the original request that could be extremely useful to have, the only issue is sometimes pajbot lags behind on "recognizing" the stream is offline but I think that is generated from pajbot having a window in which you can restart your stream and keep total uptime.

The time-to-offline is intentional to compensate for how the Twitch API caches stream status (we wait for quite a long time for things to stabilize). It's also useful for what @Felanbird said - a stream is not broken if there is only a short downtime.

@Parrallax Can you clarify again what feature you want to be added here? It's still unclear to me, and I'd like to help 😸

Forget the cool down for show emote, just being able to set modules to enable when the stream is offline and disable while the stream is online. Maybe also the ability to add alias to commands. Ex: !soundon to replace !module enable sound

Please continue discussion in #595, to avoid duplication


Missing mapOutput while handle bigger dataset (e.g. 64GB)

This is because the heap memory is not enough for the buffers, while add release policy, this bug is fixed


Update link to Project Principles in README

Thanks Gary, appreciate it. 👍

If you have time, could you update the https://github.com/alphagov/govuk-prototype-kit-private-beta/blob/master/CHANGELOG.md file, so when we do a release users know what has changed.
If not I can do this for you :)

Sure @nickcolley.  I've just done it.

We're currently moving everything from this repository into the main repo, so I'll bring these changes over.
Thanks again :)


Add more test cases

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

Comparison is base (2fc6c94) 62.50% compared to head (65bb541) 68.92%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   62.50%   68.92%   +6.42%
==========================================
  Files           1        1
  Lines         176      177       +1
==========================================
+ Hits          110      122      +12
+ Misses         53       41      -12
- Partials       13       14       +1

Flag
Coverage Δ

Go-1.21
68.92% <100.00%> (+6.42%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!

Ionic version:
[ ] 1.x
[x ] 2.x
I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Running ionic start app_name --sass --v2 fails because of invalid peer dependencies.
Expected behavior:
A fresh and working install of ionic 2 app with tabs template
Steps to reproduce:
Run  ionic start app_name --sass --v2
Related code:
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.6
npm ERR! npm  v2.15.5
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Projects\Fahrtenbuch-App\fba_app\npm-debug.log

I'm having the same problem.
`
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>`

same bug on my platform on Opensuse Linux
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.48
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v4.6.1
Xcode version: Not installed
Do I have to upgrade to Node. 6.X  for Ionic 2 ??

Updating Node.js to 6.9.2 solved my problem!!

Thanks, wbdavidhoeck. In my case, I used Node.js v6.9.4 and solved my problem too!

Hi,
In my case after installing node 6.9.6, I had to update my npm from version 2 to 4.1.2. That solved my problem.

Same here Example Dockerfile From node:argon do not support it anymore.
`FROM node:argon
Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
EXPOSE 8080
WORKDIR /usr/src/app/api
CMD [ "npm", "start"]`

anyone knows why update node can solve this problem?


Pass kernel_options

Currently the default provision task isn't handling the kernel_options parameter properly.
This fixes the issue by appending the kernel_options parameter from mr_provisioner_kernel_options.

@danrue passed a empty string ('') as default.


Support class selector

Right now the app scrolls through the class you are seeing in the moment of the execution.
I suggest to include an option on the settings to indicate which class is the support to go directly to the desired column to scroll.

I tried doing this similar to #158, but the loading time for support screen mess things up.
We first need a sure-shot way to determine that support list has loaded.


Fix cjxl for non-JPEG input

Not sure how I didn’t catch this…

Not sure how I didn’t catch this…

The more interesting question is, why did our CI not catch it? Do we have no tests at all for the tools?


heatmap cluster-color bar

Hi,
I would like to set the scatterplot color palette and the heatmap cluster-color bar palette to be the same so that the clusters in the scatterplot are the same as those in the heatmap cluster-color-bar. I am using matplotlib to plot a scatterplot (using some other embedding) and need the cluster colors to match those in the automatic colorbar on the heatmap clusterbar.
If i globally set the palette using sc.set_figure_params() then the values of the heatmap plot also become the global cmap (rather than a gradient of red-blue or existing default)
Thanks for your help
Shobi

In principle the scatter plot and the the heatmap used the same colors. See for example: https://scanpy-tutorials.readthedocs.io/en/latest/visualizing-marker-genes.html#Heatmaps
The colors on the left are the same color stored for the scatter plot clusters.

If the issue is continuous color maps, that can be specified with the cmap parameter.

If the issue is continuous color maps, that can be specified with the cmap parameter.


OSX - Matches not submitting

Running HSTracker (v. 0.12) on OS X (10.10.5) and from time to time the matches don't submit to HearthStats at the end. I can't figure out what or why it doesn't work when it does. It's probably something obvious that I'm just missing. Tonight, I've been playing matches as Warlock in Casual and not a single one (out of five or six) has been submitted.
Everything else works fine — great, really.
I've tried restarting both HSTracker and Hearthstone and the Battle.net client. Nada.
Here are some lines from the most recent log:
[2015-09-03 20:43:52.803][engine][log]: "You are rank 18"
[2015-09-03 20:43:56.096][engine][log]: "----- Game Started -----"
[2015-09-03 20:43:56.096][tracker][log]: "Player reset card"
[2015-09-03 20:43:56.154][tracker][log]: "Opponent reset card"
[2015-09-03 20:43:56.159][engine][log]: {:player=>:turn, :turn=>0}
[2015-09-03 20:43:56.182][analyzer][log]: "player_1 is player : false"
[2015-09-03 20:43:56.183][analyzer][log]: "player_2 is player : true"
[2015-09-03 20:43:56.183][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:43:56.198][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:43:56.207][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:43:56.211][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:43:56.222][engine][log]: {:player=>:draw, :card_id=>"CS2_065", :card=>"Voidwalker", :turn=>0}
[2015-09-03 20:43:56.237][engine][log]: {:player=>:draw, :card_id=>"FP1_007", :card=>"Nerubian Egg", :turn=>0}
[2015-09-03 20:43:56.259][engine][log]: {:player=>:draw, :card_id=>"EX1_319", :card=>"Flame Imp", :turn=>0}
[2015-09-03 20:43:56.267][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:43:56.267][tracker][log]: "opponent get the coin"
[2015-09-03 20:43:56.279][engine][log]: {:opponent=>"Malfurion Stormrage", :hero_id=>"HERO_06"}
[2015-09-03 20:43:56.282][engine][log]: {:player=>"Maldoror"}
[2015-09-03 20:43:56.285][engine][log]: {:opponent=>"DizzyDwarf"}
[2015-09-03 20:43:56.650][engine][log]: {:player=>"Gul'dan", :hero_id=>"HERO_07"}
[2015-09-03 20:43:57.684][events][log]: {:message=>"Hearthstone is active?", :is_active=>true}
[2015-09-03 20:44:36.841][events][log]: {:message=>"Hearthstone is active?", :is_active=>false}
[2015-09-03 20:44:40.492][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:44:40.493][engine][log]: {:opponent=>:mulligan, :from=>1}
[2015-09-03 20:44:40.494][engine][log]: {:opponent=>:draw, :turn=>0}
[2015-09-03 20:44:40.495][engine][log]: {:opponent=>:mulligan, :from=>2}
[2015-09-03 20:44:41.043][engine][log]: {:player=>:draw, :card_id=>"EX1_316", :card=>"Power Overwhelming", :turn=>0}
[2015-09-03 20:44:45.497][events][log]: {:message=>"Hearthstone is active?", :is_active=>true}
[2015-09-03 20:44:49.875][engine][log]: {:player=>:play, :card_id=>"EX1_319", :card=>"Flame Imp", :turn=>0}
[2015-09-03 20:44:51.506][engine][log]: {:player=>:turn, :turn=>0}
[2015-09-03 20:44:51.518][engine][log]: {:opponent=>:draw, :turn=>1}
[2015-09-03 20:45:02.356][engine][log]: {:opponent=>:play, :card_id=>"GAME_005", :card=>"The Coin", :from=>5, :turn=>1}
[2015-09-03 20:45:06.695][engine][log]: {:opponent=>:play, :card_id=>"AT_042", :card=>"Druid of the Saber", :from=>5, :turn=>1}
[2015-09-03 20:45:26.100][engine][log]: {:player=>:turn, :turn=>1}
[2015-09-03 20:45:26.108][engine][log]: {:player=>:draw, :card_id=>"EX1_016", :card=>"Sylvanas Windrunner", :turn=>1}
[2015-09-03 20:45:30.493][engine][log]: {:player=>:play, :card_id=>"CS2_065", :card=>"Voidwalker", :turn=>1}
[2015-09-03 20:45:31.561][engine][log]: {:player=>:turn, :turn=>1}
[2015-09-03 20:45:31.567][engine][log]: {:opponent=>:draw, :turn=>2}
.........
[2015-09-03 20:50:14.826][engine][log]: {:opponent=>:draw, :turn=>8}
[2015-09-03 20:50:25.043][engine][log]: {:opponent=>:play, :card_id=>"AT_039", :card=>"Savage Combatant", :from=>1, :turn=>8}
[2015-09-03 20:50:31.593][engine][log]: {:opponent=>:play, :card_id=>"AT_038", :card=>"Darnassus Aspirant", :from=>2, :turn=>8}
[2015-09-03 20:50:53.217][engine][log]: {:player=>:turn, :turn=>8}
[2015-09-03 20:50:53.232][engine][log]: {:player=>:draw, :card_id=>"GVG_019", :card=>"Demonheart", :turn=>8}
[2015-09-03 20:51:26.250][engine][log]: {:player=>:play, :card_id=>"GVG_019", :card=>"Demonheart", :turn=>8}
[2015-09-03 20:51:33.872][engine][log]: {:player=>:turn, :turn=>8}
[2015-09-03 20:51:33.886][engine][log]: {:opponent=>:draw, :turn=>9}
[2015-09-03 20:51:40.390][engine][log]: {:opponent=>:play, :card_id=>"AT_094", :card=>"Flame Juggler", :from=>2, :turn=>9}
[2015-09-03 20:51:45.258][engine][log]: {:opponent=>:play, :card_id=>"EX1_571", :card=>"Force of Nature", :from=>1, :turn=>9}
[2015-09-03 20:51:50.684][engine][log]: "Game has been conceded :("
[2015-09-03 20:51:50.693][engine][log]: "You loose :("
[2015-09-03 20:51:50.694][engine][log]: "----- Game End -----"
[2015-09-03 20:51:50.694][analyzer][log]: "waiting for mode"
[2015-09-03 20:52:25.295][engine][log]: "Player in game mode casual"
[2015-09-03 20:52:30.684][engine][log]: "You are rank 18"
[2015-09-03 20:52:31.294][events][log]: {:message=>"Hearthstone is active?", :is_active=>false}
Any help would be much appreciated. Thank you.

Ok. So switched to Rank mode, and at the end of the first match in that mode got a dialogue saying my deck wasn't saved to HearthStats (even though it was) and would I like to save it. I clicked yes every time, then edited and re-saved the deck in Deck Manager. Played another match in Rank mode and it was submitted. Switched back to Casual, played a match and it was also submitted.
So I guess this problems solved? Or rather the problem is that the deck which was saved in the Deck Manager and which I confirmed to upload to HearthStats didn't actually upload.

Problem not solved. Same thing happened when I was playing a Rogue deck. Mostly the same thing, at least. Started playing matches in Casual mode. Nothing was being submitted. Played four or so. Switched to Rank mode and the very first match was submitted. The only problem was it submitted a duplicate of the match.
Switched back to Casual after the one Rank match, and the matches are submitting fine again, without duplicating.
I can provide another log file if needed.
Thank you!

Hey can you post it here? https://github.com/bmichotte/HSTracker

Sure.


Allow NodeVertical node count to be adjusted for small clusters

PTAL and review but hold on merging.

PTAL and merge once tested.  Thanks!