Better support for loading plugins when using Yarn v2

Describe the bug

When trying to use external plugins like graphql-codegen-apollo-next-ssr with yarn v2, the cli is trying to look for  @graphql-codegen/graphql-codegen-apollo-next-ssr which causes an error with yarn v2.
 Unable to load template plugin matching 'graphql-codegen-apollo-next-ssr'.
                  Reason:
                    @graphql-codegen/cli tried to access @graphql-codegen/graphql-codegen-apollo-next-ssr, but
 it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

    Required package: @graphql-codegen/graphql-codegen-apollo-next-ssr (via "@graphql-codegen/graphql-codegen-
apollo-next-ssr")
    Required by: @graphql-codegen/cli@virtual:2e4a546c98da4032db6b07cf4e91653b3f8547d84f83ed1956838abce54d5b79
47b8134ef943904cc7e53db132963a47bc02791f768239a1502cedcc9d502dd1#npm:1.17.8 (via
/usr/local/app/.yarn/$$virtual/<EMAIL_ADDRESS>-a51601b2d4-5d03c4b055.zip/node_modules/@graphql-codegen/cli/)

To Reproduce
Steps to reproduce the behavior:
upgrade to yarn v2, use third-party plugin that is not starting with @graphql-codegen/* and get the error.
One way to fix this issue would be to not try to prefix plugin names with @graphql-codegen/ and take the name of the plugin in the codegen.yml as-is.
From:
graphql/schema.ts:
    plugins:
      - typescript
      - typescript-operations

To:
graphql/schema.ts:
    plugins:
      - @graphql-codegen/typescript
      - @graphql-codegen/typescript-operations

@mrtnbroder can you please try latest version of the cli/core? we fixed the issues related to Yarn v2 compatibility. (also, please refer to my comment on your PR. Thanks!)

Hi @dotansimha
Thanks, I just tried it out. I am on 1.17.9 for @graphql-codegen/cli, but I am still getting the same error for third-party plugins.
  ✔ Parse configuration
  ❯ Generate outputs
    ❯ Generate to src/graphql/page.tsx (using EXPERIMENTAL preset "import-types-preset")
      ✔ Load GraphQL schemas
      ✔ Load GraphQL documents
      ✖ Generate
        → Unable to load template plugin matching graphql-codegen-apollo-next-ssr
    ✔ Generate src/graphql/schema.ts

 Found 1 error

  ✖ src/graphql/page.tsx
    Unable to load template plugin matching 'graphql-codegen-apollo-next-ssr'.
                  Reason:
                    Your application tried to access @graphql-codegen/graphql-codegen-apollo-next-ssr, but it i
sn't declared in your dependencies; this makes the require call ambiguous and unsound.

    Required package: @graphql-codegen/graphql-codegen-apollo-next-ssr (via "@graphql-codegen/graphql-codegen-a
pollo-next-ssr")
    Required by: /usr/local/app/

    Require stack:
    - /usr/local/app/__fake.js
    Error: Unable to load template plugin matching graphql-codegen-apollo-next-ssr
        at getPluginByName (/usr/local/app/.yarn/$$virtual/@graphql-codegen-cli-virtual-ad28152322/0/cache/@gra
phql-codegen-cli-npm-1.17.9-a29b4358cd-a04504bbab.zip/node_modules/@graphql-codegen/cli/bin.js:285:23)
        at async Promise.all (index 0)
        at async /usr/local/app/.yarn/$$virtual/@graphql-codegen-cli-virtual-ad28152322/0/cache/@graphql-codege
n-cli-npm-1.17.9-a29b4358cd-a04504bbab.zip/node_modules/@graphql-codegen/cli/bin.js:828:60
    Error: Unable to load template plugin matching graphql-codegen-apollo-next-ssr
        at getPluginByName (/usr/local/app/.yarn/$$virtual/@graphql-codegen-cli-virtual-ad28152322/0/cache/@gra
phql-codegen-cli-npm-1.17.9-a29b4358cd-a04504bbab.zip/node_modules/@graphql-codegen/cli/bin.js:285:23)
        at async Promise.all (index 0)
        at async /usr/local/app/.yarn/$$virtual/@graphql-codegen-cli-virtual-ad28152322/0/cache/@graphql-codege
n-cli-npm-1.17.9-a29b4358cd-a04504bbab.zip/node_modules/@graphql-codegen/cli/bin.js:828:60

Keeping open. Not really sure what should be needed to support that, I guess some checks for Yarn v2. PRs are welcome :)

I am also unsure how to fix. I am asking the yarn team now for help. https://github.com/yarnpkg/berry/issues/1895

Fixed in<EMAIL_ADDRESS>

As a follow up on this, I am having this issue still in v1.20.1
"Your application tried to access @graphql-codege/@my-scope/my-package"
The above only happens on windows (mac, linux are fine as it is indeed installed), the issue seems to be something else.
Looked at the fix
https://github.com/dotansimha/graphql-code-generator/commit/2900ee291ae1acef2853629a46da5efcf8c465d5#diff-90ada7a3e08309896ec869a530fe35cb231e605934a04290d9bfcf711edc9bbb
and the file (as of the fix)
https://github.com/dotansimha/graphql-code-generator/blob/2900ee291ae1acef2853629a46da5efcf8c465d5/packages/graphql-codegen-cli/src/plugins.ts
and I'm still getting "Unable to load template plugin..." so I need to look into why the error thrown is not MODULE_NOT_FOUND specifically on windows
will report back once I have more info/resolve. posting more for a trace for others. no action from @graphql-codegen folks

@dotansimha the current check here:
https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/src/plugins.ts#L25
Is not OS-safe.
This is because when we require a package that has an additional @scope then we end up with the following situation:
graphql-codegen first tries to require
@graphql-codegen/@scope/package
the error that arises from this is the following
Your application tried to access @graphql-codegen/@scope, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

Required package: @graphql-codegen/@scope (via "@graphql-codegen/@scope/package")
Required by: /...

Require stack:
- /...

On linux and mac, the separator matches with the package naming convention so it works, but on windows you get
Required package: @graphql-codegen/@scope (via "@graphql-codegen\@scope\package")
thus the name is not found as it's not an exact match

``
Is not OS-safe.
This is because when we require a package that has an additional @scope then we end up with the following situation:
graphql-codegen first tries to require
@graphql-codegen/@scope/package
the error that arises from this is the following
Your application tried to access @graphql-codegen/@scope, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

Required package: @graphql-codegen/@scope (via "@graphql-codegen/@scope/package")
Required by: /...

Require stack:
- /...

Seems like a different issue here. Can you please report a new issue with a reproduction?


Added a course for mongo-db by thapa technical

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

please merge

please merge

please merge


errno5

when i tried to create a new app in flutter it this this error ,can anybody help me solve it iam basically new to programming and dont know much about this stuff.Btw i am using vscode.
below is the error:
PS C:\Users\Faiz mohd\Desktop\Flutter App> flutter create first
Creating project first...
first\.gitignore (created)
first\.idea\libraries\Dart_SDK.xml (created)
first\.idea\libraries\KotlinJavaRuntime.xml (created)
first\.idea\modules.xml (created)
first\.idea\runConfigurations\main_dart.xml (created)
first\.idea\workspace.xml (created)
first\.metadata (created)
first\android\app\build.gradle (created)
first\android\app\src\main\kotlin\com\example\first\MainActivity.kt (created)
first\android\build.gradle (created)
first\android\first_android.iml (created)
first\android\.gitignore (created)
first\android\app\src\debug\AndroidManifest.xml (created)
first\android\app\src\main\AndroidManifest.xml (created)
first\android\app\src\main\res\drawable\launch_background.xml (created)
first\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (created)

Failed to send crash report due to a network error: SocketException: OS Error: The semaphore timeout period has expired.
, errno = 121, address = clients2.google.com, port = 50764
Oops; flutter has exited unexpectedly: "FileSystemException: Cannot copy file to 'C:\Users\Faiz mohd\Desktop\Flutter
App\first\android\app\src\main\res\mipmap-hdpi\ic_launcher.png', path =
'C:\flutter\packages\flutter_tools\templates\app\android.tmpl\app\src\main\res\mipmap-hdpi\ic_launcher.png' (OS Error: Access is denied.
, errno = 5)".

A crash report has been written to C:\Users\Faiz mohd\Desktop\Flutter App\flutter_01.log.

@f-ctrl
This issue has already been fixed and merged, https://github.com/flutter/flutter/issues/50880
What Flutter version are you on ? Please upgrade to latest master or stable and try again to see if it works.
If issue persists,  attach flutter_01.log the crash log generated as mentioned in your error log : C:\Users\Faiz mohd\Desktop\Flutter App\flutter_01.log.

My error still persists ,Btw i am using the latest stable build of flutter and i have attached the flutterlog file below
flutter_01.log
can you help me with this
And thankyou for replying

@f-ctrl
Can you switch to latest master and try again to see if it works or get same error ?

I did but no ,when i try to create the same app with android studio my app got created but when  I tried to run that app it shows exit code 1 and while while using vs-code I got the error code errno5, I don't know what to do now

@f-ctrl
I see you have spaces between folder names in your path C:\Users\Faiz mohd\Documents\Flutter App>
Can you remove the spaces and try again ?  like : C:\Users\Faizmohd\Documents\FlutterApp>

ahh thankyou it worked at last, so glad its working fine

Ahh thank you I see where my issue was ,its working fine now all thanks to you

Hello @f-ctrl
you can close this issue if you got the solution.
Thanks

Hello @f-ctrl
you can close this issue if you got the solution.
Thanks

Closing this based on comment above.

Closing this based on comment above.


DB: Create a migration and initial seed for the Companies table

Create a Knex migration for the Companies table. Also, consider adding a seed file for development to add a couple of initial companies.

Note: Consider what data is needed for a company.

Some company data can be seen here:

Hello, do we have DB Model Diagram?

This task will be handled on issue #65 and #66


PostgreSQL 11.0 is not supported (clean() fails)

Which version and edition of Flyway are you using?
Flyway Community Edition 5.2.1.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API. Bug most likely affects all versions.
Which database are you using (type & version)?
PostgreSQL 11.0 (released 18 October 2018).
Unsurprisingly, Flyway reports that it does not support this version yet: Flyway upgrade recommended: PostgreSQL 11.0 is newer than this version of Flyway and support has not been tested.
Which operating system are you using?
Not relevant.
What did you do?
I attempted to clean a configured schema using the Flyway.clean() method. The Flyway instance can connect fine and Flyway.migrate() appears to work successfully.
What did you expect to see?
The schema is cleaned in the database and Flyway.clean() doss not throw an exception.
What did you see instead?
The database does not appear to be modified. Flyway.clean() throws a FlywaySqlException:
org.flywaydb.core.internal.exception.FlywaySqlException:
Unable to clean schema "public"
-------------------------------
SQL State  : 42703
Error Code : 0
Message    : ERROR: column pg_proc.proisagg does not exist
  Hint: Perhaps you meant to reference the column "pg_proc.prolang".
  Position: 54

      at org.flywaydb.core.internal.database.base.Schema.clean(Schema.java:151)
      at org.flywaydb.core.internal.command.DbClean$3.call(DbClean.java:172)
      at org.flywaydb.core.internal.command.DbClean$3.call(DbClean.java:169)
      at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:74)
      at org.flywaydb.core.internal.command.DbClean.cleanSchema(DbClean.java:169)
      at org.flywaydb.core.internal.command.DbClean.clean(DbClean.java:113)
      at org.flywaydb.core.Flyway.doClean(Flyway.java:1473)
      at org.flywaydb.core.Flyway.access$300(Flyway.java:82)
      at org.flywaydb.core.Flyway$3.execute(Flyway.java:1491)
      at org.flywaydb.core.Flyway$3.execute(Flyway.java:1484)
      at org.flywaydb.core.Flyway.execute(Flyway.java:1696)
      at org.flywaydb.core.Flyway.clean(Flyway.java:1484)

Notes
PostgreSQL 11.0's release notes state the following:

Replace system catalog pg_proc's proisagg and proiswindow columns with prokind (Peter Eisentraut)
This new column more clearly distinguishes functions, procedures, aggregates, and window functions.

I believe the offending line of code can be found here. The docs for the new prokind field are here. Fixing this will require the query to be made dependent on the version of PostgreSQL somehow.
I will submit a PR to fix this issue.

Duplicate of #2178

@axelfontaine I don't believe this is a duplicate of #2178. This issue indicates that an error message is printed when using flyway 5.2.4 to connect to Postgres 11.1. Ticket #2178 is related to a failing clean() operation against Postgres 11.0.
I'm also seeing this error message printed when using flyway 5.2.4 to connect to a Postgres 11.1 database and the clean operation I'm attempting to run against that database is also failing with the error message listed above.

Same problem on 5.2.4, downgrade to Postgres 10 helps.
I tried to switch to 6.0.0-beta, it causes the fail on Application context loading.

@binakot Please file any issue you may have with 6.0.0-beta as a separate issue


share: Full Availability

Background
Right now we have defined share.Availability interface in #171. The PR also contains a Light Availability implementation that uses Data Availability sampling to validate that shares are available. Similar to Light Availability, there should be Full Availability which instead of fetching randomized samples, fetches the whole square of shares.
Design
The new fullAvailability structure should satisfy share.Availability interface and be placed in service/share directory. The SharesAvailable method should implement logic similar to share.Service.GetShares, basically loading all shares committed to the share.Root.
Side Notes
Essentially, this implements Full Node syncing logic, if combined with a DASer(#166). So when the DASer uses light light availability it performs sampling over random shares. Respectively, if the DASer depends on Full Availability it will perform fetching of all the shares, basically doing full sync.

Instead of the full original square or the full data square, only a subset is needed (up to 3/4), and then you can reconstruct everything.

@adlerjohn, thanks for the detalization. share.Service.GetShares assumes extended square reconstruction

This is related to BlockService as BlockService relies on FullAvailability to reconstruct the blocks.

This is related to BlockService as BlockService relies on FullAvailability to reconstruct the blocks.

This is not exactly correct, as BlockService may rely on ShareService.GetShares only

Then what's the point of the FullAvailability impl? and having Availability be an interface? Share service could then just identify the node type and run light or full based on full or light node type.

Share service could then just identify the node type and run light or full based on full or light node type.

@renaynay missed this somehow. SharesService should not be aware of Node types. Simply, that's a dependency cycle. Availability interface is alose useful for https://github.com/celestiaorg/celestia-node/issues/180 and unissued NamespaceAvalability which would only ensure availability of some Namespace. Also, there can be helper implementations of the interface to combine different strategies into one, like having Light and Namespace availability together to get all the security from DASing while also ensuring you are storing all your namespaced application data.


[Clean]: Remove lingering SciML from hmi-client and server

Dan has mentioned that there are a few lingering things left over from sciml that could do with some cleaning up
Things such as its old MQ ect

removing as duplicate issue #4663


Suppress deprecation warning

Description
On latest Swift compilers recommend using : AnyObject instead of : class.
So it raises deprecation warnings. This PR to suppress them.
Before
$ swift build
[1/22] Compiling SwiftCLI ValueBox.swift
/Users/giginet/.ghq/github.com/jakeheis/SwiftCLI/Sources/SwiftCLI/ValueBox.swift:20:30: warning: using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
public protocol AnyValueBox: class {
                             ^~~~~
                             AnyObject
[2/22] Compiling SwiftCLI VersionCommand.swift
/Users/giginet/.ghq/github.com/jakeheis/SwiftCLI/Sources/SwiftCLI/ValueBox.swift:20:30: warning: using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
public protocol AnyValueBox: class {
                             ^~~~~
                             AnyObject

Thanks for the fix!


-join problem with 【tab string】

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
[string]$a = @'
	$aa = Get-Date -Format 'f'
	$bb = "/root/${aa}.txt"
	touch $bb
'@
$b = $a -split "`n"
$b -join 'zzzz'
#;       touch $bboot/${aa}.txt"'f'

$b.trim() -join 'yyyy' #normal

bug must use tab before 【$aa】,bug code must writed in ps1 script,then run script.
copy and paste to powershell console  to run normal
$b.trim() -join 'zzzz' normal
Expected behavior
$aa = Get-Date -Format 'f'zzzz$bb = "/root/${aa}.txt"zzzztouch $bb

Actual behavior
;       touch $bboot/${aa}.txt"'f'

Error details
No response
Environment data
powershell 5.1.19041.1320 on win10
PowerShell 7.3.0-preview.1 on win10

Visuals
No response

I can not reproduce.

aaa-v2.ps1.txt
i upload script

Ah, I see... You have spaces before $aa and the same on follow strings.

right , powershell engine eat tab when paste console

I couldn't paste the text without losing tabs in Windows Terminal, so I pasted it into the standard Windows console.

If you want to reproduce the problem, don't paste, run the [aaa-v2.ps1] I uploaded

I don't understand what you expect. If the leading tabs is in @'' string literal the tabs is preserved in output - it i how string literals work.

run the [aaa-v2.ps1] I uploaded

Works if -split '\r?\n'

Don't split on \n when the file uses CRLF. It has nothing to do with tabs Otherwise the text is there but the 2nd line prints over the  1st, and line 3 prints over that
It has been recommend for a long time to use 4 spaces instead of a tab character, and in a lot of cases pasting text with a tab in will act as if you pressed the tab key.

reproduce the problem by aaa-v2.ps1, on psv5.1 on psv7.x
If you reproduce the problem, the next step,
I want to know , why does 【tab】 cause the -join problem?
The POINT is 【-split】? is 【-join】?

why does 【tab】 cause the -join problem?

In your example the problem is not with -join but with -split.
Here is an example where the text is already split into strings, it remains only to join them.:
("	aaaa", "	bbbb", "	cccc") -join "zzzz"

Here is a hex dump your file with cr lf  and tab circled

Here it is split properly.  I have circled the tabs again. They are treated like any other character.

Here it is joined  - again tabs marked, and treated like any other character.

Here is how it prints, with the joins and the tabs marked:

Here is the same thing how you were splitting it: I've circled the CR without line feeds

When this prints each line writes over the previous ones

Oh, nothing to do with tab,
it's each CR that overwrites the previous line of strings.
thanks all.


add 3.4.0

Checklist

[X] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Branched out of #8. Merge that one first!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.


Cross compiling for zero from Ubuntu

Are you cross compiling these from Ubuntu as described at https://disconnected.systems/blog/rust-powered-rover/ ?
Essentially:
sudo apt install -y build-essential gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross

curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable

source $HOME/.cargo/env

tee $HOME/.cargo/config <<'EOF'
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
EOF

rustup default stable
rustup target add arm-unknown-linux-gnueabihf

Then cargo build --release --target arm-unknown-linux-gnueabihf?
Using those instructions, even hello world segfaults for me when compiled from Ubuntu for Pi Zero (though the same binary runs fine on armv7 like RPi3).

What version of Ubuntu are you using locally?
What distro/version are you running on the Pi?

Are you cross compiling these from Ubuntu as described at https://disconnected.systems/blog/rust-powered-rover/ ?

I use Arch locally for cross compiling (I don't build anything on the Pi), but the travis build uses trusty (which sadly still seems to be the latest version they support) and when I originally wrote the instructions it worked within a Ubuntu VM (though I forget which version).
I reran the build locally on latest Arch and found no issues. I reran the travis build to create a new image which does not appear to suffer from the problem stated.
But then I ran it using an Ubuntu 18.04 VM and was able to recreate the issue so there is a problem with at least this version. I will look into it but might take some time to investigate and could be a problem with an Ubuntu package or the rust compiler.

I did a bit of research and came across this issue which seems to suggest it is the Ubuntu linker not supporting armv6. I will continue to look into it to see if there is a nice way to build on Ubuntu but given that post it seems to be, download another linker and don't use the Ubuntu one.

Yeah, I saw that issue as well.
I'll see if anyone on r/rust has any further light they can shed on the issue: https://www.reddit.com/r/rust/comments/918m2z/how_to_compile_from_ubuntu_for_armv6_without/


Add support for other websocket libraries.

This lib currently supports async-tungetenite for websockets.  The intention was to support other clients though - this issue is to track adding that support.

Should remove async-tungstenite from the default features once this is done.


Bug: Fixes issue causing 404

After recent changes, the adapter should look at the instance to read the service id if it is missing from the handler. This change fixes a bug where the system url was being overridden instead

Looks good, in need of a test and in! :+1:

Codecov Report

Merging #96 into master will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
- Coverage    86.5%   86.47%   -0.03%
==========================================
  Files           7        7
  Lines         689      695       +6
==========================================
+ Hits          596      601       +5
- Misses         66       67       +1
  Partials       27       27

Impacted Files
Coverage Δ

pkg/threescale/threescale.go
83.68% <66.66%> (-0.02%)
:arrow_down:

Continue to review full report at Codecov.

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


Support certifi - a better ca bundle

Hi,
We don't use pull requests. Can you post this on https://reviews.reviewboard.org/ ?
Thanks!

Eh, last thing I need is another account on some other system I'll never use again -- feel free to pull this if you plan to think about merging it...

Hi,
I'm facing the similar issue. But for Windows rbtools. Can u please let us know how will i get the windows source code for rbtools. and what should be the changes needs to be adopted ?

Hi @johnlevin
RB Tools is operating system-agnostic. This is the repository for both all of RB Tools.


Annotation of this in function declarations

Currently it seems that you can only annotate the this magic reference by putting the function as a method in a class declaration.
However, in the light of the new bind syntax proposal, it would make sense to be able to annotate functions that take in this as data, e.g.
function head (count) {
    return this.slice(0, count);
}

[1,2,3]::head(2) // [1,2]

could be annotated something like:
function head <T> Array<T> -> (count : number) : Array<T> {
  ...
}

Flow is (mostly) smart about this already without annotations. I'm not clear what this new bind syntax is (do you have a link to a spec?), but I imagine flow will support it the same way that flow currently supports bind, call, and apply.
/* @flow */

function head(count) {
  return this.slice(0, count);
}

head.bind([]) // OK
head.bind(1) // bad

I'm not clear what this new bind syntax is (do you have a link to a spec?)

Ah, sorry, forgot the link, fixed.

Flow is (mostly) smart about this already without annotations

Yes, but it would be nice to be able to annotate this instead, for documentational purposes (easier to understand at a glance and also allows for better error messages, as well as documentation generation), but also for standalone definitions.

Having thought about this a bit more, a simpler syntax would actually be to allow specifying this as a parameter, as so:
function add (this : number, b : number) : number {
  return this + x;
}

function add (/*: this : number */, b /*: number */) /*: number */ {
  return this + x;
}

/*: (this : number, b: number) => number */
function add (b) {
  return this + b;
}

Agree that we should support this to be annotated as a parameter. This requires some parser work too, btw, since this is not a valid identifier everywhere.
We need this whenever methods are exported, by the way.
Related: constructor functions can be annotated as of https://github.com/facebook/flow/commit/618186ad5ceb66cf7bf009b2591b74ed885d69bd

Hi guys! what about the following examples: https://github.com/Microsoft/TypeScript/issues/1985#issuecomment-127293978
Are they too complex/ugly?

+1

Pulling in some material from #968: an example, and a link to how Google Closure does this.

There's an error (marked with <---) in this snippet which Flow could potentially catch:
class RemoteFile {
  url: string;
...
  promiseXHR(xhr: XMLHttpRequest): Q.Promise<[any, Event]> {
    var url = this.url;
    var deferred = Q.defer();
    xhr.addEventListener('load', function(e) {
      if (this.status >= 400) {
        deferred.reject(this.status + ' ' + this.statusText);
      } else {
        deferred.resolve([this.response, e]);
      }
    });
    xhr.addEventListener('error', function(e) {
      deferred.reject(`Request for ${this.url} failed: ${this.status}`);  // <---
    });
    this.numNetworkRequests++;
    xhr.send();
    return deferred.promise;
  }
}

The problem is that this inside the addEventListener callback refers to the XMLHttpRequest object (I believe) and not the RemoteFile class. The latter has a url property but not a status property, whereas the former has status but not url. Clearly this code isn't right!
Flow doesn't complain, though. It thinks this has type any in the event listener.
Where possible, the DOM declarations should indicate the type of this in callbacks to prevent this sort of mistake.
For example, Google's Closure Compiler provides an @this annotation. You can see an example of this in action in the declaration for Array.prototype.find.

In case you land here before this +1 functionality is added, and you can afford to do it, just do something like this:
type Ctx = { foo: string, bar: number }
myMethod() {
  const myCtx: Ctx = this;
  // do stuff with myCtx instead of this
}

Just for reference, TS 2.0 landed with this feature last month. It special-cases the first parameter if its name is this.
function f(this: void) {
    // make sure `this` is unusable in this standalone function
}
interface UIElement {
    addClickListener(onclick: (this: void, e: Event) => void): void;
}

This already works in Flow:
function head (count) {
  (this: Array<number>);
  return this.slice(0, count);
}

head.call([1, 2, 3]);
head.call(['123']); // error

@nmn Yes we do need.
It's for library declaration and use site completion. This is quite common for context injection.
function addListener<T: HTMLElement>(elem: T, func: (this: T) => void) {
  // implementation
}
addListener(htmlInputElement , function() {
  this.value // should have this completion
})

Another usage is in library like Vue/backbone.
Vue.extend({
  methods: {
    log() {
      this.instanceProperty // this is injected as Vue instance
    }
  }
})

Without this annotation, it is impossible for library author to provide a good type declaration for automatic completion.

I hope this feature is provided 🙏

+1 for this feature

Has there been no progress on this yet?

@calebmer was looking for people to help implement it a while ago. I'm not sure if anyone started on it. I'd love to do it if I had more time.

@danvk It seems that you're using flow type version of Q.Promise, is it? If so do you mind to share a link to flow typed Q.Pomise library?

@akoppela https://github.com/hammerlab/pileup.js/blob/0182b225205e52e1489727004d69e84442eafb88/lib/q.js but take note that these are ~3 years old and there may be better ones available elsewhere.

Hey! I tried to implement it at #7807

Note that this constraints in classes can be emulated via $Call
declare class O<T> {
  m(): $Call<(string => string), T>;
  m(): $Call<(number => number), T>;
}

declare var o1: O<number>

const a1: number = o1.m() // ok
const b1: string = o1.m() // error

declare var o2: O<string>

const a2: number = o2.m() // error
const b2: string = o2.m() // ok

declare var o3: O<{}>

const a3 = o3.m() // error
const b3 = o3.m() // error

^ flow try
class M<+State> {
  +s: State
  constructor(s: State) { this.s = s }
  to2: $Call<(1 => () => M<2>) & () => {...}, State> = () => {
    return new M(2) // ok
  }
  to3: $Call<(1 => () => M<3>) & () => {...}, State> = () => {
    return new M(2) // error
  }
}

const m1 = new M(1)
const m2 = m1.to2() // ok
const m3 = m2.to2() // error

^ flow try
declare class O<+T> {
  constructor(T): void;
  m(): $Call<<U>(Array<U>) => U, T>
}

const oarr = new O([1,2,3])
const n: number = oarr.m() // ok
const s: string = oarr.m() // error

^ flow try
declare class Ap<+T> {
  ap<A, B>(Ap<A>): $Call<(A => B) => Ap<B>, T>
}

const a = new Ap<number => string>
const n: Ap<number> = a.ap(new Ap<3>) // error
const s: Ap<string> = a.ap(new Ap<3>) // ok

^ flow try

Wow, this is gold! Thank you @Bannerets!

Fixing this was mentioned in the latest roadmap.

The this annotation was released in 0.139.
To use, add this to flowconfig:
[options]
experimental.this_annot`= true

To use:
function foo(this: {toString: (number) => string}, a: number): string {
  return this.toString(a);
}

It is also automatically on at flow.org/try.

The this annotation was released in 0.139.
To use, add this to flowconfig:
[options]
experimental.this_annot`= true

To use:
function foo(this: {toString: (number) => string}, a: number): string {
  return this.toString(a);
}

It is also automatically on at flow.org/try.

https://medium.com/flow-type/sound-typing-for-this-in-flow-d62db2af969e


mount.md: Escape backslash used as example

Previously used (**\**) which shows up as (****) on the web. Changing the \ to \\ resolves this.

#sign-off

[X] Rich diff view: https://github.com/MicrosoftDocs/windowsserverdocs/pull/4625/files?short_path=0d983d4#diff-0d983d4e1a3605d59beeae60b08beeff (easier to observe the effective changes)
[X] Regular view: https://github.com/MicrosoftDocs/windowsserverdocs/pull/4625/files


wireshark: 4.0.1 -> 4.0.2

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2022-4344
https://nvd.nist.gov/vuln/detail/CVE-2022-4345
pyshark tests as flaky and annoying as ever. wireshark is currently broken on x86_64 darwin so couldn't test there.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 210742 run on x86_64-linux 1

2 packages failed to build:

credslayer
python311Packages.pyshark

10 packages built:

compactor
dbmonster
haka
hfinger
ostinato
python310Packages.pyshark
termshark
tshark (wireshark-cli)
wifite2
wireshark (wireshark-qt)

Even after fixing that, darwin is still broken: https://hydra.nixos.org/job/nixpkgs/trunk/wireshark.x86_64-darwin


Update Dask Dashboard Links.

We should update the dask config file so the dashboard link is correct. This might also fix dask-labextension.
https://jobqueue.dask.org/en/latest/interactive.html
Finally, you may want to update the dashboard link that is displayed in the notebook,
shown from Cluster and Client objects. In order to do this, edit dask config file,
either ~/.config/dask/jobqueue.yaml or ~/.config/dask/distributed.yaml, and add the following:

for user launched notebooks

distributed:
  dashboard:
    link: "/proxy/{port}/status"
for JupyterHub launched notebooks

distributed:
  dashboard:
    link: "/user/{JUPYTERHUB_USER}/proxy/{port}/status"

dask_gateway works, local clusters don't for links
Fix:
https://github.com/Quansight/qhub-terraform-modules/blob/a23f40564c602bcd70765c622b05647b281f756f/modules/kubernetes/services/meta/qhub/main.tf#L161

Fix:
https://github.com/Quansight/qhub-terraform-modules/blob/a23f40564c602bcd70765c622b05647b281f756f/modules/kubernetes/services/meta/qhub/main.tf#L161

Does this mean this issue has been fixed and can be closed? What's the status on this @tylerpotts?

Fix:
https://github.com/Quansight/qhub-terraform-modules/blob/a23f40564c602bcd70765c622b05647b281f756f/modules/kubernetes/services/meta/qhub/main.tf#L161

Does this mean this issue has been fixed and can be closed? What's the status on this @tylerpotts?

Haven't heard any reports of this being an issue, and it's not clear what is being asked.
Closing for now. @dharhas if you feel this needs further discussion please re-open


use own NER results

Hi thanks for the amazing tool.
We are wondering if it would be possible that we could specify our own NER results (i.e., span of mentions) instead of using flair's.
Thanks!

Hi @yuchenlin, yes you can use your own NER results. Check the example on the README on how to use BLINK in your code:
https://github.com/facebookresearch/BLINK#4-use-blink-in-your-codebase
Basically specifying the following fields:
{
    "context_left": "".lower(),
    "mention": "Shakespeare".lower(),
    "context_right": "'s account of the Roman general Julius Caesar's murder by his friend Brutus is a meditation on duty.".lower(),
}

where "mention" contains the mention detected by your NER system, and "context_left", "context_right" is the context around it.

Thanks! We found that and now are using this method. We wonder if it is possible to also specify the entity type to make the prediction more accurate. For example, we found that the "XXXX,  Hong Kong 's YYYY", the mention HK's will be linked to HK airport (FAC) instead of the HK city (GPE), because the YYY mentions airport-related context.  Thank you very much!

@yuchenlin: Ideally the context should help the model disambiguate HK, the airport from HK, the city. After all, the NER model also uses more or less the same context to predict entity type, so it is reasonable to assume that that knowledge is folded into biencoder model.


build: use shared std library

GearVRf-DCO-1.0-Signed-off-by: Mihail Marinov<EMAIL_ADDRESS>

Planning to merge on Monday


Filter media by group

Is your feature request related to a problem? Please describe.
No available to filter attachments by group
Describe the solution you'd like
I suggest adding an additional filtering field to the controllers.
Will send the proposed solution to the PR

I will close this cause is solved and merged in #2451


Fixed deprecation warning about always_run

[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead
This feature will be removed in version 2.4.
Signed-off-by: Lukas Bednar<EMAIL_ADDRESS>

it is failing because of #5

@lukas-bednar Thanks. I just merge #5, can you update this PR ?

@lukas-bednar Thanks again for your participations. Have a good day


the uploader cannot create a new patch

It would save a me a few mouse clikcs if i didnt have to create a patch on the site before using the uploader.

This is implemented in the latest version of the uploader r2017.02.15
$ pip install hv-uploader


[BUG] Fixes trait return type and package name.

The package name needs to be updated in the cargo.toml file to the repo's name for consistency.
Also this PR changes the return type of the 'soft_reset' trait so it requires the SensorStatus enum.
This will allow the use of the SensorStatus enum for the Bus Controller as well as the SensorModules.

Looks good


td_agent_ui_ruby: not found

ubuntu 16.04.3 LTS xenial
/usr/sbin/td-agent-ui: 11: /usr/sbin/td-agent-ui: /opt/td-agent/embedded/bin/td_agent_ui_ruby: not found

same here

same here

Do you use td-agent 2.x? Right?
Please report the issue to https://github.com/treasure-data/omnibus-td-agent
I could not confirm the issue with td-agent_2.5.0-0_amd64.deb.
BTW, this is not fluentd-ui issue. Closing.


Update import path for russross/blackfriday

Updates the import path of russross/blackfriday to use standard versioning from Go modules.

Pull Request Test Coverage Report for Build 199

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.238%

Totals

Change from base Build 197:
0.0%

Covered Lines:
307

Relevant Lines:
319

💛  - Coveralls


Added most recent pubmed_oa update schedule.

Added -U flag to wget to download media files
Some English spelling typos
Beginnign to type

@WeixiongLin This is a good PR, when will it get merged?


[Bug]: Won't open on macos

Steps to reproduce the issue?

Use Mac OS
Try opening the DMG

What happened?

I think it speaks for itself
Your environment (if applicable)
MacOS
Version
current version

That's because @JaydenDev won't spend $200 NZD every year. Just right click the DMG and press Open if you need to bypass that.


Can't see characters on Windows 10

I'm on Windows 10 64 bit, build 17763.107.
Compiled Alacritty from git clone successful. When starting the all the font characters appear as white boxes though the commands seem to work. I tried an executable from official Alacritty GitHub release page and got the same problem. I'm not sure how to solve this.

Have you tried changing the default font in the configuration file?

Have you tried changing the default font in the configuration file?

Yes, I changed to "Courier New" and "Ubuntu Mono" (I installed on Windows) and had the same issue.

Oh wait, when you said 'white boxes' I was thinking about the missing glyph placeholder icons. However I think you're talking about something else. Are these 'white boxes' filled and have varying height and width?
If that's the case this is not a font, but an OpenGL issue.

Oh wait, when you said 'white boxes' I was thinking about the missing glyph placeholder icons. However I think you're talking about something else. Are these 'white boxes' filled and have varying height and width?
If that's the case this is not a font, but an OpenGL issue. Which GPU do you have?

Exactly, the 'white boxes' are filled and have varying heights and width.

Seems like there are at least three people experiencing this issue now. My assumption would be that it's a shader issue, so it might be useful to check the shader version.
If you could share the version of OpenGL and GLSL your GPUs support, that might give some insights.
So far I believe all of you are running Intel HD Graphics. Would be interesting to see if everyone running this has the same or a similar iGPU.

Note that according to Intel, the HD 3000 graphics support only version 3.1 of OpenGL on Windows, while supporting 3.3 on Linux (see wiki).
Now if we look up the GLSL versions which are supported by OpenGL 3.1, we'll notice that only GLSL 1.40.08 is supported and that OpenGL 3.3 is required for GLSL 3.3+ (see wiki).
Now if we look at the other issues, there have been issues with GLSL < 3.3 before. So this is probably a duplicate of #128.
If anyone here is running into this issue with a GPU that supports OpenGL/GLSL 3.3+, please let me know and I'll re-open.

Intel HD 2000 is the same as Intel HD 3000, where there's support for it on Linux, but not on Windows (see the links I've attached).
So so far it looks like my guess here might be correct.
Note that 2000/3000 graphics were released in 2011, which is definitely not something modern, but it would still be good to support it. That's why #128 is still open, it would definitely be appreciated, but there's probably not much drive behind it because a lot of people don't use these CPUs anymore. So if anyone's familiar with OpenGL who can test this, it would always be much appreciated!
There's one idea I do have though which you could test @derpmarine168. In the shader files located in the res directory, the shader version is defined as 330. Try replacing that 330 with 150 without changing anything else and see if that makes it work.

where is this directory (I installed with scoop)?

@derpmarine168 Yeah, you'll have to compile it yourself to test this. It would be much appreciated though if someone could try to verify if that works.

No problem - already have Rust installed. https://github.com/jwilm/alacritty/wiki/Manual-Installation

Thanks for testing @derpmarine168. Looks like the problem is not just the version specification, but there actually are some OpenGL 3.3 features we depend on.
Progress on that front should be tracked in the issue I've linked though.


Fix Viper yaml

About the PR
Fix the gun yaml
Why / Balance
Bug
Technical details
Sprites should probably not have availableModes.
Media
N/A
Breaking changes
N/A
Changelog
N/A

that sprite do indeed have a full auto


IHC Component fix for conflict with recorder component

Description:
Fixes an issue where the discover data from the IHC component cause the recorder to fail because the data was not json serializable - see issue number below
Related issue (if applicable): fixes #15635
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hello @dingusdk,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

67e7292ad72d55959c86afba274b1d85e9c787d6 - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
fe8af9acf981d4a8aabc9d398b908df33c56c56a - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
dae7887a3063888bd35533637ea8671edac34ea9 - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
34aa7ad3cf8f3d004e294857d818e20f0cc44bdb - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hello @dingusdk,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

67e7292ad72d55959c86afba274b1d85e9c787d6 - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
fe8af9acf981d4a8aabc9d398b908df33c56c56a - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
dae7887a3063888bd35533637ea8671edac34ea9 - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.
34aa7ad3cf8f3d004e294857d818e20f0cc44bdb - This commit has something that looks like an email address (jens@gmail.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

@dingusdk
Please do not merge upstream/dev
Please use rebase upstream/dev

The author is wrong because i am on a new computer and git was not properly setup - i will close this PR and make a new one (I think that is it easiest way to do it)


Use Larger GHA instances from ASWF for Linux/Windows

@idclip - I believe this is ready to be merged now. Apart from the CI runner changes, bumping the number of threads used in GHA and the TBB/Blosc changes from #1481, the only other change was to fix this VDB render CMake issue for static libs on Windows:
https://github.com/AcademySoftwareFoundation/openvdb/pull/1469/files#diff-c7f73fa00a0035a901886287a05980046c7c9c84f8a244bffb7a8895d4b9ce76L74


Rewrite the Cuckoo Cycle proof verifier in Erlang

https://www.pivotaltracker.com/story/show/152471813


[BUG] iOS

Failed to build iOS app Error output from Xcode build: ↳     ** BUILD FAILED ** Xcode's output: ↳     In file included from /Users/malikdoksoz/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.0/ios/Classes/core/PMNotificationManager.m:7:     /Users/malikdoksoz/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.0/ios/Classes/core/ConvertUtils.h:17:40: error: expected a type     + (NSDictionary *)convertPHAssetToMap:(PHAsset *)asset;                                            ^     1 error generated.     Runner-bgyvkdpladytrqhcgyarkfgikoao
`[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale tr-TR)
• Flutter version 1.9.1+hotfix.2 at /Dosyalar/flutter_src/flutter
• Framework revision 2d2a1ffec9 (7 days ago), 2019-09-06 18:39:49 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at /Users/malikdoksoz/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• CocoaPods version 1.7.5
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.38.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• iPhone 7 • A60B8E89-5141-4B92-802C-69F5CC5980A6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator)
• No issues found!`
iPhone 7 Simulator
On Android working

Fix it in #107 .

Update version to 0.4.1.


Script errors when using reciepes

Hi Im using Workbox by simply adding the reciepes from the docs to my src folder. It seems to cause an error in scripts:

Any ideas?

If you're seeing that error, it's because your /service-worker.js file is not being served with the appropriate application/javascript Content-Type, and instead is using a text/html.
That's probably because your web server responds to any top-level URL with the HTML for your single-page app. You need to configure your web server to properly serve the top-level service worker JavaScript file instead.


[WIP] Add machine name to grpc

ECOPROJECT-1784
As a Followup for this PR Add machine name to grpc request in order to remove workaround of using a global variable that checks whether snr is created for a machine.

/test 4.13-openshift-e2e

/test 4.13-openshift-e2e

/test 4.13-openshift-e2e

/lgtm
Givng others a chance to review as well, feel free to unhold
/hold

/test 4.13-openshift-e2e

/test 4.14-openshift-e2e

/test 4.14-openshift-e2e


This example doesn't work too

Description
This example doesn't work too
ModuleNotFoundError: No module named 'gi'
It is installed on miniconda, gi module is there but it can't find it
Yolo also uses gstream but it works
Click to expand!
Issue Type
Bug, Build/Install, Support, Documentation Feature Request, Documentation Bug
Operating System
Ubuntu
Coral Device
M.2 Accelerator A+E
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
ModuleNotFoundError: No module named 'gi'

Hi @easy-and-simple please try runnig  bash install_requiremnets.sh.

So you think I am moron so I didn't run it?
  Coral documentation is very bad and useless

I installed older ubuntu version with python9 without any clue because goole scripts and examples don't work.
gstreamer# python3 detect.py --tracker sort
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
Loading ../models/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite with ../models/coco_labels.txt labels.
Gstreamer pipeline:
v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! tee name=t
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=300,height=225 ! videobox name=box autocrop=true
! video/x-raw,format=RGB,width=300,height=300 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert
! rsvgoverlay name=overlay ! videoconvert ! ximagesink sync=false
No protocol specified
Error: gst-resource-error-quark: Could not initialise X output (10): ../sys/ximage/ximagesink.c(867): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
Could not open display

Description
This example doesn't work too ModuleNotFoundError: No module named 'gi' It is installed on miniconda, gi module is there but it can't find it Yolo also uses gstream but it works
Click to expand!
For anyone else with the same issue:
pip install PyGObject.

For anyone else with the ModuleNotFoundError: No module named 'gi' issue pip install PyGObject.

I have same issue too. I install in raspberry pi I kept getting No module named 'gi'
Also pip install PyGObject is kept getting failed too
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed


Auth RegisterUserPayload

I went through the docs for authentication and authorization (https://github.com/calebmer/postgraphql/blob/787bbe4ee842e0d931989df88acbdb3a88e1c380/examples/forum/tutorial.md#authentication-and-authorization) and realized that the register function does not return an edge needed by relay.

Hi there, thanks for reporting this issue. See https://github.com/calebmer/postgraphql/issues/203 for more detail.


Code examples of using soabase guice?

I'll add something soon.

Thanks it will really help me get along with it

Example here: I'll update the docs when I release. https://github.com/soabase/soabase/tree/master/soabase-example/src/main/java/io/soabase/guice/example

Thanks I'll take a look at this tomorrow 👍


QUESTION

Hello man, that is a nice project, I'm kinda new to exploit development / Windows exploiting so do you know such projects like this (vulnerable & built to be hacked) I'm not talking about hackthebox or something like that, I need like a software that can be downloaded on my vm and be executed, if it is a cve (real world example) that would be crazy ...
Thanks for uploading this, hope you reply 🙂

Im not aware of any other commonly available Windows app that focuses on memory corruption style exploitation, which maybe explains why this bit of software I wrote >10 years ago is still actually popular, despite the fact that exploit mitigation technologies in the OS have moved on a lot since then. The only other Windows app Im aware of that is built to be exploited is DVTA https://github.com/srini0x00/dvta, although the focus there is slightly different. I don't really keep track of this however, so its probably worth doing your own searching...

oh, okay, do you know something else to exercise exploit development  ? like a website or something, a while ago i found a website  that have multiple files named as CVE's and you can actually download it and run it and try to exploit it, however forgot to bookmark it and i lost it, anyways do you know any same ideas website

Google would be able to give you a better list of resources than me, but this guy is well regarded when it comes to this type of thing on Windows:
https://www.corelan.be/


reduce logging noise

By default, MR.js spam the console a lot.
Adding a verbose flag to  might be a good solution to disable it by default.

This should be resolved in the latest update.

Resolved in latest update.


todolist list archived not showing archived todos

I'm using the fish shell v. 2.7.1, on OSX 10.13.3
I copy-pasted the command from todolist.site directly.
todolist list completed does show completed and archived tasks.
I tried also archiving an uncompleted task, that also does not pop up with t l archived.

Using v0.8.0 via homebrew:
% todolist list archived # shows only incomplete archived items
% todolist l archived    # shows all archived items


_num_elements(grad) difference between Tensor and IndexedSlices behavior

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux-4.4.0-87-generic-x86_64-with-Ubuntu-16.04-xenial
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.0
Python version: 3.7
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
When training a model (which I can't make public at the moment), I've got an error: <built-in function len> returned a result with an error set. Debugging showed the reason was in
https://github.com/tensorflow/tensorflow/blob/0d76b0f988d3d7b06f16da950b3ed95e4ec59e82/tensorflow/python/eager/backprop.py#L615-L624
Namely, my code ended up with grad being an instance of IndexedSlices, but grad.values._shape_tuple() was (None, 16).
Changing code to
    shape_tuple = grad.values._shape_tuple()  # pylint: disable=protected-access
    if shape_tuple is None or None in shape_tuple:
      return 0
    return functools.reduce(operator.mul, shape_tuple, 1)

by analogy with the Tensor case appears to work and let my model train, but I am not certain whether that's correct.
Describe the expected behavior
Either handle the case where grad.values._shape_tuple() is/contains None, or explicitly throw ValueError if it shouldn't be allowed.
Code to reproduce the issue
(Will try to do this later)
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

That looks like it's only used here: https://github.com/tensorflow/tensorflow/blob/0250bfdb8c8f0dce3e11c91f5969c994660d21d9/tensorflow/c/eager/tape.h#L785
So safe to return 0; it's just used to estimate when to aggregate gradients, so a performance issue rather than a correctness issue. (CC @alextp )
Want to send a PR with that change? Happy to review. Ideally we'd know when this case is triggered and have a unit test.

@allenlavoie PR #33912.

@alexeyr
I noticed that this path was not always triggered for me. It only happened when I added more layers (more variables, more gradients as a result)
Does this happen for you too? thanks!

Yes, it's rarely triggered (enough that I still haven't written a good test).

@taylorchu Actually, if you have a simple enough example triggering it, that would be great.

weight-share a huge layer more than 4 times? @alexeyr

@alexeyr,
Is this still an issue? Could you please upgrade to TensorFlow v2.2 and check if you are still facing the same issue. Thanks!


Links are not working in "Key pieces of the code sample" paragraph

Key pieces of the code sample
Managing shards and shard maps: The code illustrates how to work with shards, ranges, and mappings in the ShardManagementUtils.cs file. For more information, see Scale out databases with the shard map manager.
Data-dependent routing: Routing of transactions to the right shard is shown in the DataDependentRoutingSample.cs file. For more information, see Data-dependent routing.
Querying over multiple shards: Querying across shards is illustrated in the MultiShardQuerySample.cs file. For more information, see Multi-shard querying.
Adding empty shards: The iterative adding of new empty shards is performed by the code in the CreateShardSample.cs file. For more information, see Scale out databases with the shard map manager.

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

ID: 3604da1c-88c7-bc71-2a38-63bb3a929d3f
Version Independent ID: b0a6ef44-5baa-9a9d-ba21-2eea088515dc
Content: Get started with Elastic Database Tools - Azure SQL Database
Content Source: azure-sql/database/elastic-scale-get-started.md
Service: sql-database
Sub-service: scale-out
GitHub Login: @scoriani
Microsoft Alias: scoriani

@komirellipavan Thank you for the feedback. We are actively investigating and will get back to you soon.

@komirellipavan Thank you for the observation. We have found that the hyperlinks have redirection issue.
This is being assigned to the content author to evaluate and update as appropriate.

Hi @komirellipavan , thanks so much for contacting Microsoft and helping improve our documentation! I've updated the links and the changes should be live later this week :)  I'll go ahead and close out this Git Issue but please feel free to comment should you have any further questions.
Thanks again and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


Update README.md

Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Code formatting
Closing issues
Put closes #XXXX in your comment and commit message to auto-close the issue that your PR fixes (if such).

Sorry, I don't know how to do that. Could you give me a hint?


Car pattern 2

Builder over Manufacturer, with all required attributes and in order, only in the domain model

The [93959b2] and [333c158] are updates related with adding tests in services and remove some unused terms like public at the beginning of the test classes.


Getting Started with Hierarchical Clustering in R

Topic Suggestion
Getting Started with Hierarchical Clustering in R
Writing sample(s):
https://www.section.io/engineering-education/introduction-to-kernel-methods-in-machine-learning/
Proposal Submission
Proposed article introduction
A hierarchical clustering mechanism groups similar objects into clusters, allowing the user to study them separately to achieve an objective, as part of a research or study of a business problem, and that the algorithmic concept can be very effectively implemented in R programming, which provides a robust set of methods, including but not limited to the function hclust(), so that the user can specifically study the data.
Key takeaways

How does Clustering Work?
Implementing Hierarchical Clustering in R
Installation of R Packages
Data Preparation

Article quality
The article is intended to be precise and clear to the point, illustrated by codes making it more practical and interesting, to increase time spent on the page. I will use simple grammar hence being begginer-friendly

Thank you for submitting your topic suggestion. There seems to be many articles that already cover this topic. Can you tell me how yours will build upon them and be unique to add value to our readers?

closing due to inactivity


Calling atom-react functions from shell

Hi,
First of all, this is not a defect.
I really like the functionality of atom-react. I hope to invoke some command/functions like 'Reformat JSX' from a shell command. Wonder if it is possible.
Basically I am using other editor without decent format functionality atm. If I can invoke atom-react functions through shell, then working with JSX will be much easier for me.
Many thanks!
Rui

The most interesting part for me is actually re-index the jsx. From the code, it seems to be done with editor.autoIndentBufferRows. Wonder if it is done by atom-react or the Atom editor. If I could wrap that in a js file, calling from node or chrome to evaluate the js, passing a file name or file path as input, then problem should be solved.
Thanks,
Rui


i have a question this estimated mmr? is this true or not??

It's an estimate based on the visible average MMR of the players in your recent matches.  Accuracy will vary based on many factors, including whether you play mostly ranked or unranked, whether you party with friends with different skill levels than you, and how many games you've played.


Update actions

What does this PR do?

Updates action versions to their latest ones
Fixes the dependency cache key naming logic, bringing the other environments into line with what's implemented in #420 - caches weren't being used at all when specifying an explicit set of extensions because the key contained commas

This reduces errors and improves build times.
Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

[ ] If it's a extension or dependency update, make sure adding related extensions in src/global/test-extensions.php.
[ ] If you changed the behavior of static-php-cli, add docs in static-php/static-php-cli-docs .
[ ] If you updated config/xxxx.json content, run bin/spc dev:sort-config xxx.

Previously I modified test workflow for dynamic caching: Just cache downlods dir again and again. When new extension added, it will automatically skip downloading other sources that has been cached.

@crazywhalecc I'm not sure I follow you. The cache in these didn't appear to be working at all because the key name was incorrect. This had the result of always downloading the extension files.
This PR fixes that so each action will now correctly cache the set of extensions that were requested.
This should make builds of the same PHP-version+OS+extension set a little faster, at least during the cache's lifetime.

In case it's not clear, this dependency cache is the extension build files (the result of bin/spc download).
I think the variance you were seeing in cache-hit != true was exactly down to this problem of commas in the key name.
This is why I've hashed the details of the build into a key name that will never have commas regardless of how the build is configured.

What I mean is that today's best caching strategies don't perform well in Actions. It has nothing to do with this PR. After fixing this small problem, we merge it into the main branch and test it again.


Add github actions to github addon

What happened
Add github actions workflows to github addon
Insight

Create workflows: test, docker_build_test and deploy:

test for CI
docker_build_test for checking production image
deploy for CD, it supports heroku at default

test and docker_build_test will be run whenever we push new code to repo
deploy only run when the test completed on master/development with success status. Or we can run it via Github Actions UI

Proof Of Work

Tested on Nimble survey web project
Tests should be passed

@hoangmirs Please rebase 🙏

@hoangmirs Please rebase 🙏

How about adding some test for these files @hoangmirs

How about adding some test for these files @hoangmirs


Remove short test checks, fix broken bccsp tests

TestLoadLib failed when running tests with the pkcs11 tag enabled and without the short flag. This fixes the test and removes all of the testing.Short checks to prevent broken tests related to PKCS11 in CI.

Do you mean to keep opening your PR's as draft? All of your open PR's are draft so I haven't approved any of them.


Fix: metamap_plugin_flutter  Namespace not specified.

closes #30

Hi @aleksei-klyshnikov-mati there is a chance to merge this PR, there is an issue on android builds and we want to use the official version from pub.dev instaed of a fork

Hello, when will this PR be approved?


:memo: add bitbrain tutorials

Hello everyone!
My name is Miguel (aka bitbrain) and I recently started doing devlogs and tutorials! I added my name to the list as I aim to produce monthly new content (devlogs + tutorials) and this might be interesting to some folks for sure.

The following timed out:
⌛ https://itch.io/app
⌛ https://ifiregames.itch.io/stern-flowers-chibifire-com-godot-engine

could we re-run the pipeline?

The following timed out:
⌛ https://itch.io/app
⌛ https://ifiregames.itch.io/stern-flowers-chibifire-com-godot-engine

could we re-run the pipeline?


Update Loodse/Kubermatic logo

Loodse GmbH was officially and legally renamed to Kubermatic GmbH (our website still mentions the old legal name, though loodse.com already redirects to kubermatic.com). This PR updates the logo and attempts to keep the alphabetical order of companies.
I am a member of https://github.com/loodse/ and https://github.com/kubermatic/. I hope that's enough credentials. Last time in #1471 it was enough. ^.^

Thanks!


Amazon Click&Collect - endpoint "supplySources"

Hello,
thank you again for the wonderful working nodejs-application.
I just have a short question:
Will the endpoint "supplySources" added in near feature?
This endpoint is needed for Amazon Click&Collect.
Thank you very much and kind regards
Bowser

Hi @Bowserlord,
to be fully honest with you, we didn't even know this endpoint existed. Its not listed in the docs, is it? It seems its only listed here: https://developer-docs.amazon.com/sp-api/docs/selling-partner-insights-role#apis
Or do you have a link to a documentation of that endpoint?

@Bowserlord Very long time, but its finally included in version 1.1.0 :-)


FF ONLY Version 1.0.0.

Ping @gzm0 ?
And for https://github.com/scala-js/scala-js-fake-insecure-java-securerandom/pull/2 as well?


Refactor and convert to Girder 3.

This separates out the various components to separate python packages:

large_image[sources,memcached,all]

The tile sources are each their own package.  Most of them have an extra_requires of [girder] that also installs the girder tile source.

large_image_source_dummy
large_image_source_mapnik[girder]
large_image_source_openslide[girder]
large_image_source_pil[girder]
large_image_source_tiff[girder]
large_image_source_test

The Girder plugin (without annotations):

girder_large_image[tasks]

The annotation models and web client plugin:

girder_large_image_annotation

The worker task:

large_image_tasks[girder,worker]

numpy and PIL are now hard requirements.
There were some inconsistencies in Python 2 and Python 3 error conditions (for instance, the exact exception raised when a negative width thumbnail is requested) that have been made more consistent.
Before, you could get a Girder tile source from an item id via large_image.getTileSource('girder_item://<itemId>').  This has changed to girder_large_image.getGirderTileSource(<item or itemId>).
Still needed:

All frontend tests
Documentation

This is ready for another round of reviews.

Is this branch ready to be merged?

It is still waiting for review, and I am currently setting up auto-release with scm versioning.

This is now published to pypi (see https://pypi.org/project/large-image/). Currently, a dev version will get published when we merge to the girder-3 or master branches, and an official version should get merged when we tag the master branch.  Once this branch is merged, I'll remove the girder-3 specific clauses.

When I run the following:
pip install girder-large-image
girder build

I get an error error message starting with:
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@girder/core/pluginUtils' in '/home/dan/.virtualenvs/li-test-take-3/lib/python2.7/site-packages/girder/web_client/node_modules/@girder/large_image'
resolve '@girder/core/pluginUtils' in '/home/dan/.virtualenvs/li-test-take-3/lib/python2.7/site-packages/girder/web_client/node_modules/@girder/large_image'

I suspect this is something to do with specifying * for @girder/core/, but setting it to ^3.0.0-alpha.0.2 didn't fix it.

Codecov Report

Merging #329 into master will decrease coverage by 4.99%.
The diff coverage is 75.64%.

@@           Coverage Diff            @@
##           master     #329    +/-   ##
========================================
- Coverage   89.57%   84.57%    -5%
========================================
  Files          55       71    +16
  Lines        4526     4836   +310
  Branches      826      871    +45
========================================
+ Hits         4054     4090    +36
- Misses        317      485   +168
- Partials      155      261   +106

Impacted Files
Coverage Δ

...on/web_client/annotations/geojs/types/rectangle.js
100% <ø> (ø)

...eb_client/views/imageViewerWidget/openseadragon.js
66.66% <ø> (ø)

.../web_client/annotations/geojs/coordinates/array.js
100% <ø> (ø)

...e/web_client/views/imageViewerWidget/openlayers.js
47.22% <ø> (ø)

girder/girder_large_image/web_client/routes.js
100% <ø> (ø)

...nnotation/web_client/annotations/geometry/point.js
100% <ø> (ø)

...r/girder_large_image_annotation/rest/annotation.py
93.51% <ø> (ø)

...tion/web_client/annotations/geojs/types/polygon.js
100% <ø> (ø)

...tation/web_client/annotations/geometry/polyline.js
100% <ø> (ø)

...e_image_annotation/web_client/annotations/style.js
84.61% <ø> (ø)

... and 107 more

Continue to review full report at Codecov.

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


How to send a file

How does JS-waku send image files with custom messages?
I convert the image to Uint8Array format and combine it with custom messages into strings.
Finally, 'waku.relay. Send' is used to send it.
However, it becomes invalid when it exceeds 100KB.
What should I do
  async sendImages(){
    let el = document.getElementById('file')
    let _this = this
    const file = el.files[0]
    const reader = new FileReader();
    reader.readAsArrayBuffer(file);
    reader.onload = function () {
      let un8 = new Uint8Array(this.result)
      let tempData = {
        formAddress: _this.id,
        messageType: 2,
        imgType: file.type,
        message: un8
      }
      let data = Buffer.from(JSON.stringify(tempData), 'utf-8');
      window.jswaku.WakuMessage.fromBytes(
        data,
        ChatContentTopic,
      ).then(wakuMsg=>{
        _this.waku.relay.send(wakuMsg).then(()=>{
          console.log('success!')
        }).catch((e)=>{
          console.error(e)
        })
      })
    }
  }

Thank you for your patience.
Waku is not really design to support large files.
However, we have recently increased the max message size of messages over Waku Relay from 64kb (hence the 100kb limit you are seeing). I will review the new size limit and implementation status and revert back to you.

It should now be possible to send messages up to 1MB on the prod and test networks: https://github.com/status-im/nim-waku/issues/739#issuecomment-979771854
Please close the issue if resolved or let me know if not.

Thank you for your reply. I will verify it


Using conda on py35 virtual environment

It is worth mentioning/fixing that conda default installs to root (py27) environment no matter which conda is selected in the command.  I.e. even if py35 virtual environemnt is activated, and if you use sudo /anaconda/envs/py35/bin/conda install  it will install to the root environment.
To install to the py35 environment you need to add -n py35, so:
sudo /anaconda/bin/conda install  -n py35
sudo /anaconda/envs/py35/bin/conda install  -n py35

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

ID: 38868202-ccff-2a37-ae12-eb55d2ffcf5f
Version Independent ID: ec187c97-9e1e-ecb0-d550-06aca5d97f68
Content
Content Source
Service: machine-learning

Thanks for your feedback. We will investigate and update on it soon.

@JJ I double checked the process of Anaconda installation, it does ask for the specific path where you want to install the application: https://imgur.com/a/d1esB
I'll assign it to the author for confirmation.

Just saw this. I will follow up now.

That is correct. You need to add the -n parameter when using conda from sudo. If you did a sudo -s to create  root shell and then activated into the py35 environment then you can leave out the -n. Anyway to be consistent maybe we shoudl just say use the -n option when using conda.
BTW- When using pip  install the full path of pip you are running to install apackage will determine where the package will be installed. There is in -n type flag for pip.

So adding the -n in the following 2 cmds takes care of the issue?
sudo /anaconda/bin/pip install -n <package> #for Python 2.7 environment
sudo /anaconda/envs/py35/bin/pip install -n <package> # for Python 3.5 environment

It is not needed for pip, only conda (pip has no -n option)
`sudo /anaconda/bin/pip install  #pip for Python 2.7
sudo /anaconda/envs/py35/bin/pip install  #pip for Python 3.5
sudo /anaconda/bin/conda install [-n py27]  #conda for Python 2.7, default behaviour
sudo /anaconda/bin/conda install -n py35  #conda for Python 3.5'

This was fixed in the azure-docs-pr repo and published.  Who verifies and closes it? Adam?

@Adam-Smith-MSFT want to assign this back to you now... not sure how to use Tags or reassign in this context. But I am on vacation until the 4th of April:)

@bradsev @Adam-Smith-MSFT
Brad, when you've resolved the issue -- either through fixing the doc, filing a work item if it's a bigger issue, or whatever, you close it. https://review.docs.microsoft.com/en-us/help/contribute/contribute-customer-feedback-azure-authors-process?branch=master
#please-close

Not yet fixed here

@th389 Thank you for checking. Agh - our mistake! I'm submitting a PR, and you should see the changed by noon tomorrow, if not earlier.
#please-close

@th389 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion

I think the current instructions as they are here will not work. As I mentioned above, pip has no -n option, this is just for conda.
As such, neither of these will work:
sudo /anaconda/bin/pip install -n <package> #for Python 2.7 environment
sudo /anaconda/envs/py35/bin/pip install -n <package> # for Python 3.5 environmen

I think there needs to be four separate instructions (as above)
sudo /anaconda/bin/pip install <package> #pip for Python 2.7
sudo /anaconda/envs/py35/bin/pip install <package> #pip for Python 3.5
sudo /anaconda/bin/conda install [-n py27] <package> #conda for Python 2.7, default behaviour
sudo /anaconda/bin/conda install -n py35 <package> #conda for Python 3.5

@BryanTrach-MSFT I am not able to reopen the issue as it has been closed by a contributer. I think the solution presented by @bradsev and @gopitk in the documentation now does not work for either pip or conda

@th389 Thank you again for this detailed feedback!  @BryanTrach-MSFT
Resolution will be live today around noon PT.
@bradsev @gopitk

#please-close


The value for the key MinimumOSVersion is invalid

Hi,
today submitting my app (with MP 2.9.9) through itunesconnect i got this error:

I check in the project.pbxproj and in the target Mixpanel for the 2.9.8 the IPHONEOS_DEPLOYMENT_TARGET value is 8.0 while for the new one is 7.1.
But the IPHONEOS_DEPLOYMENT_TARGET for project is 8.0 for both tags.

What integration method is this?
Cocoapods, Carthage, or Manual?

Carthage

Same problem, I have revert to version 2.9.8

Same issue here, running v2.9.9

Same here.

Sorry for the inconvenience guys. I have updated a new tag v<IP_ADDRESS> that fixes this issue. You should only have to run carthage update and it will grab the latest framework. Let me know if it worked!

Having the same issue, can you create Mixpanel.framework with the fix?

Can you paste your 'Carthage.resolved' file?

I am not using Carthage, but simply embedding Mixpanel.framework into my project for use.  Builds and works fine in simulator, but getting the error when trying to submit build.

@suspiration I have attached a zip file containing the framework fixing this issue. You can find it here: https://github.com/mixpanel/mixpanel-iphone/releases/tag/v<IP_ADDRESS>
Let me know if it worked!

@patedit It worked, thanks!

Great! Glad it worked :)


Bugfix: increase tolerance to HTTP failures

Fixes #14

@juliogonzalez I am merging this and cutting a new version as soon as Travis is happy


Intellicode stops working when I upgrade my python 3.12 to 3.13.

My Intellicode stops working when I upgraded my python version. It shows that "Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details." I don't know the reason behind it and also the reactivating terminal is still reactivating but not stopping for some reason.
I tried to reinstall the python extension and the made settings in terminal in vs code settings but still it not working. Please help me solve my problem.
Your cooperation will be appreciated !!!!

Same issue for me.


google-cloud-bom missing grpc-google-cloud-trace-v2

Is this expected that grpc-google-cloud-trace-v2 is not listed in google-cloud-bom 0.117.0-alpha any more?

Followup of https://github.com/gradle/gradle/issues/11208#issuecomment-549832223.

I think your issue stems from the fact that grpc-google-cloud-trace-v2 is not listed anymore in the BOM at all (not in the BOM itself and also not in the imported BOMs).

For (old) google-cloud-bom:0.116.0-alpha, it had the following:
      <dependency>
        <groupId>com.google.api.grpc</groupId>  <!-- com.google.cloud:google-cloud-bom:0.116.0-alpha, line 879 -->
        <artifactId>grpc-google-cloud-trace-v2</artifactId>  <!-- com.google.cloud:google-cloud-bom:0.116.0-alpha, line 880 -->
        <version>0.73.0</version>  <!-- com.google.cloud:google-cloud-bom:0.116.0-alpha, line 881 -->
      </dependency>

Environment details

Specify the API at the beginning of the title (for example, "BigQuery: ...")
General, Core, and Other are also allowed as types
OS type and version: Mac OS 10.14
Java version: Java 8
google-cloud-java version(s): master

Steps to reproduce

cd google-cloud-java/google-cloud-bom
run mvn help:effective-pom -Dverbose

Any additional information below
Output of mvn help:effective-pom -Dverbose:

0.116.0 (1d6bcfe9) https://paste.googleplex.com/6219012172152832
This has grpc-google-cloud-trace-v2.
master (ac6b4b66) https://paste.googleplex.com/4614727500038144
This does not have grpc-google-cloud-trace-v2.

In master, google-cloud-bom imports google-cloud-trace-bom, but google-cloud-trace-bom does not have grpc-google-cloud-trace-v2.

I compared the artifactId lists from the two effective pom (master against 0.116.0):
Master has

auto-value
grpc-google-cloud-automl-v1
proto-google-cloud-automl-v1
grpc-google-cloud-translate-v3
proto-google-cloud-translate-v3

Master is missing

grpc-google-cloud-trace-v2


Fix | Images are broken for many of projects #1096

🛠 Fixes Issue (#1096)
Close #1096
👨💻 Changes proposed and Brief Description
I have added missing screenshots files for many projects listed on pages 4 5 6 7 as well fix the loading issue on projects
89 - Projectile Motion Simulator
95 - Whack a Mole Game
127 - Armstrong Checker
132 - Leap Year Checker
134 - Stack Game
✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Please check all the pages to validate all thumbnails and the mentioned project to ensure everything works smoothly as well as add hacktoberfest-accepted and hacktoberfest labels to issue #1096

📷 Screenshots
Page 7

Page 6

Page 5

Page 4

Page 3

Hi @swapnilsparsh please review the PR on https://deploy-preview-1108--30daysofjs.netlify.app/


Lineup needs to contain players spanning multiple games.

Got this error message from DK when try to enter generated NBA Classic lineups:
"Lineup needs to contain players spanning multiple games."
I checked and yes, all players were from two teams of the same game.
It seems that Optimizer needs additional rule to avoid that, right?

Yes this is a bug. Change the DK  Basketball settings in /pydfs-lineup-optimizer/pydfs_lineup_optimizer/sites/draftkings/classic/settings.py/ to:
@SitesRegistry.register_settings
class DraftKingsBasketballSettings(DraftKingsSettings):
    sport = Sport.BASKETBALL
    min_teams = 3
    positions = [
        LineupPosition('PG', ('PG', )),
        LineupPosition('SG', ('SG', )),
        LineupPosition('SF', ('SF', )),
        LineupPosition('PF', ('PF', )),
        LineupPosition('C', ('C', )),
        LineupPosition('G', ('PG', 'SG')),
        LineupPosition('F', ('SF', 'PF')),
        LineupPosition('UTIL', ('PG', 'SG', 'PF', 'SF', 'C'))
    ]


DASH-337; turn %7E into ~ in URI, for Wicket

Did you see #297 ?

This should probably be fixed in Wicket. But I haven't been able to find where the problem occurs. I think patching it in the kernel is OK. ~ is documented as being optional whether it should be % encoded. So turning %7E into ~ should be safe. I haven't checked for %7e, as that doesn't seem to occur.


Resource initialisation library

part of: https://github.com/creek-service/creek-platform/issues/5

Got rid of ResourceInitialization as it didn't add any value.
Added CreatableResource to mark creatable resources.
Added ResourceHandler interface (which will need moving as needs to be in dependency free module)
Added main ResourceInitializer to do initialization.

Reviewer checklist

[x] Ensure relevant issues are linked (description should include text like "Fixes #")
[x] Ensure any appropriate documentation has been added or amended

Coverage increased (+0.6%) to 97.647% when pulling 6f43a51afaa6c21c363064d284a5a6341c39124c on res_init into 54777cc3f2d055c6ee0200e164bf7e0a113d3ec9 on main.


Fix rng use in Stream::merge

random(n) generates a random number in 0..n, which means random(1) always returns 0. :)
This PR changes random(1) to random(2).

dang, I should've caught that. Oops, sorry!


Install cpu module ispc headers into SDK

Thanks for this fix for #526! It was merged manually as b759e340b7bf300410fade0bc8cbfbfa62fd480d.


Documentation on how to change the stylesheet should be easier to find

The "getting started" documentation does not provide instructions on how to edit the stylesheet; it links to the Templates page which seems to be complete overkill if you just want to change the <tt> font from Monaco to Meslo DZ and tweak the colours a bit. (The Templates page is pretty unclear on this, too — I am still none the wiser on how to do this.)
There doesn't seem to be a --stylesheet flag on yardoc as far as I can see.
Steps to reproduce
This is the minimal reproduction for the issue. I've done my best to remove
all extraneous code and unique environment state on my machine before providing
these steps:

Read the README and the "getting started" documentation.
Run yard server --reload.
Navigate to the URL provided.
Decide to change the stylesheet.
Search the documentation for terms such as "stylesheet" and "css" using the search box at https://www.rubydoc.info/gems/yard/file/docs/GettingStarted.md.
Try to use search terms such as "yard stylesheet", "yard rails stylesheet" and "yard rails documentation stylesheet" in DuckDuckGo.
Try searching for "[yard] stylesheet" on StackOverflow.

Actual Output
There were no results returned for steps 5 and 7. Step 6 returned a load of results that did not pertain to Yard, plus a link to the homepage (the perils of using a common word for the project name, I guess :)
Expected Output
As many people want to change default stylesheets, whether for accessibility reasons or to make the generated docs conform to a house style, there should be instructions on how to do it as part of the Getting Started docs (even if it's just a link to a more in-depth page).
Ideally, there would be something like yardoc --dump-css which would output the stylesheet that it's going to use; the user could then save a copy of that, edit it, and tell yardoc to use it with yardoc --css <filename>.
Environment details:

OS: Mac OS X 10.12.6 (16G1408)
Ruby version (ruby -v): ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin16]
YARD version (yard -v): yard 0.9.14

I have read the Contributing Guide.

The problem with adding a --stylesheet argument is that it's only specific to one type of document generation. The yard doc command can generate text or viz or md or other doc formats in which a --stylesheet or --dump-css would have no meaning.
YARD abstracts itself from the type of doc generation being performed, namely, HTML is the default format, but not the only supported format. More specifically, YARD doesn't enforce any formatting rules, that's up to the templating layer being used. In fact, overriding CSS isn't really understood by YARD at all, the CSS override functionality is a specific feature of the default/fulldoc/html template only. In other words, if you wrote a new template, the template itself would be responsible for providing similar overrides, if any.
I do agree, though, better documentation or more visibility for describing how to customize YARD's default html templates would be helpful here. Having an official .md document in the guide portion describing some common templating steps would be helpful. I would accept a PR for this if you're interested in taking it up.

@unikitty37 It's a bit belated now, but I think you want https://www.rubydoc.info/gems/yard/file/docs/Templates.md#Adding_a_Custom_Stylesheet_or_Javascript


There is no support to show only the color palette

I have added some code to add support for this I can share the same If you want

$('.color').colorpicker({
  colorSelectors: {
    'grey': '#777777',
    '#337ab7': '#337ab7',
    '#5cb85c': '#5cb85c',
    '#5bc0de': '#5bc0de'
  },
        color:  '#5bc0de',
        input: '#color',
        template: '
' +
    '

' +
'
'
		}).on('changeColor', function(e) { $(this).colorpicker('hide') });

});

Thanks, that's what the API is for, but we are not going to implement this feature.


Bump signal-cli-rest-api and add tasks to set/read config

Built and deployed this on staging. Ran the play locally and got these results:
POST:

GET:

Sending still failed to the UNTRUSTED contributor, manually sending to that contributor with the --trust-new-identities=always flag also fails with:
Failed to send (some) messages:
+4915735994012: Unregistered user "+4915735994012"

I was able to test this on staging, by:

Registering the Sportschau number locally.
Going through the onboarding process.
Verifying I was listed as TRUSTED_UNVERIFIED by:

sshing into the staging server
bashing into the signal service
running  signal-cli --config /home/.local/share/signal-cli -a +4915735993163 listIdentities -n +4915735994012

Verifying I could receive messages.
Unregistering the account locally.
Placing the data in ~/.local/share/signal-cli/data into another directory
Re-registering number locally
Sending out another message, this seems to have marked the number as UNTRUSTED in signal-cli
Verify number was UNTRUSTED with :point_up_2: command.
Sending out another message, which was received.

I also added a check to the register_signal_phone_number.yml playbook to see if we are able to receive signal messages on the server using our signal_server_phone_number, which returns a 400 with User {{ signal_server_phone_number }} is not registered.\n if the number is either not registered and/or not verified. This can then be used to skip the registration and verification steps of this playbook and make it idempotent.