Update README.md

Verify installation integrity - output of pkgutil --check-signature or codesign -dvv commands showing Big Sur SHA-256

We may have updated this in a recently merged PR - could you please verify?


Mark Avro as provided in harness JAR (#29412)

Mark Avro as provided in harness JAR

Add permitUnusedDeclared for Avro

Got this from git cherry-pick abc0a057935d66dadd6841595850329fc84dcba5, cherry-picking #29412

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @bvolpato @Abacn @aromanenko-dev


Implement D-pad keys

It will be a cool feature to have to be able to move the cursor with in the text box.
implement the D-pad keys as follows :
move to right : inside_of_circle -> right -> no_touch
move to left : inside_of_circle -> left -> no_touch
move to top : inside_of_circle -> top -> no_touch
move to bottom : inside_of_circle -> bottom -> no_touch

Following is the integer value for the keys in question.
KEYCODE_DPAD_UP : 19
KEYCODE_DPAD_DOWN : 20
KEYCODE_DPAD_LEFT : 21
KEYCODE_DPAD_RIGHT : 22

d_pad implemented
longpress part still remains

Done.


MM-28630 - Add ping endpoint to local mode

Includes:

https://github.com/mattermost/mattermost-server/pull/15694
https://github.com/mattermost/mmctl/pull/209

Also added missing mmctl system status documentation from mmctl repo

Hello @cwarnermm,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


[REVIEW] thecyberhub

Project link
https://www.github.com/thecyberworld/thecyberhub.org

wow looks great! Not much to add
Suggest getting someone to test out the docs and get some feedback


dump1090: 8.2 -> 9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/dump1090/versions.
meta.description for dump1090 is: A simple Mode S decoder for RTLSDR devices
meta.homepage for dump1090 is: https://github.com/flightaware/dump1090
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.0 with grep in /nix/store/m8chl9g3ip3fwif4jfgydy1avwrb43hl-dump1090-9.0
found 9.0 in filename of file in /nix/store/m8chl9g3ip3fwif4jfgydy1avwrb43hl-dump1090-9.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
dump1090

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m8chl9g3ip3fwif4jfgydy1avwrb43hl-dump1090-9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dump1090 https://github.com/r-ryantm/nixpkgs/archive/eeae22cecc71765269b3e7f46a2cc9a4fa35eb24.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/eeae22cecc71765269b3e7f46a2cc9a4fa35eb24#dump1090

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m8chl9g3ip3fwif4jfgydy1avwrb43hl-dump1090-9.0
ls -la /nix/store/m8chl9g3ip3fwif4jfgydy1avwrb43hl-dump1090-9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dump1090

Maintainer pings
cc @earldouglas for testing.

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

1 package built:

dump1090


Support swift 5.0

Warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
Add<EMAIL_ADDRESS>Update podspec swift version

Any word on this PR? I'd love to update to Swift 5 :)

@djbe I want to support #"..."# syntax for readability.
However, you must also support versions below Swift 5.
If I do, think the code will be less readable.
ex)
#if swift(<5.0)
self.format = format ?? Variable("\"yyyy-MM-dd 'at' HH:mm\"")
#else
self.format = format ?? Variable(#""yyyy-MM-dd 'at' HH:mm""#)
#endif

Is there more info about that SIL exception? Is it new in Swift 5? Radar?

Yeah, we won't be able to use raw strings until we drop 4.2 support 🤷♂

@djbe Compile-time keywords(like #file) are expected to cause problems due to type inference errors during static dispatch.
Before: Throw SIL Exception (https://travis-ci.org/stencilproject/Stencil/jobs/508764850)
let path = Path(#file) + ".."  + "fixtures" + "huge.html"

After:
let basePath: String = #file //< Specify type
let path = Path(basePath) + ".."  + "fixtures" + "huge.html"

Would this work then?
let path = Path(#file as String) + ".."  + "fixtures" + "huge.html"

This changed fixed PathKit https://github.com/kylef/PathKit/pull/69/files#diff-663087ac5b85edfc8e4ff1dd83b915abL12

Awesome! Thanks so much for your effort on this!
Mind tagging a release with Swift 5 support?


Implementing hoisting

I am writing a transpiler from my DSL to Javascript.
Is it possible to implement a Semantics which would hoist variable definitions to the top?
I tried defining two operations, but I couldn't find a way to 'skip' some nodes inn the operation, so it could be used in the following:
BlockDefinition(identifier, body) {
   return `function ${identifier.transpile()}() {
          ${body.extractVariables()}

          ${body.transpile()}
  }`;
}

Hi Sergey,
Wouldn't it suffice to make extractVariables do nothing for nodes that
are not declarations? (Well, for nested blocks you'd probably want to
return the declarations that are inside, etc.)
Best,
Alex
On Mon, Jan 4, 2021 at 5:47 PM Sergey Sinkovskiy<EMAIL_ADDRESS>wrote:

I am writing a transpiler from my DSL to Javascript.
Is it possible to implement a Semantics which would hoist variable
definitions to the top?
I tried defining two operations, but I couldn't find a way to 'skip' some
nodes inn the operation, so it could be used in the following:
BlockDefinition(identifier, body) {
return `function ${identifier.transpile()}() {
${body.extractVariables()}
      ${body.transpile()}

}`;
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/harc/ohm/issues/278, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB4PC6B4GRI6COUQHMFNCLSYJVRZANCNFSM4VT7PMXQ
.

Hi Sergey,
Wouldn't it suffice to make extractVariables do nothing for nodes that
are not declarations? (Well, for nested blocks you'd probably want to
return the declarations that are inside, etc.)
Best,
Alex
On Mon, Jan 4, 2021 at 5:47 PM Sergey Sinkovskiy<EMAIL_ADDRESS>wrote:

I am writing a transpiler from my DSL to Javascript.
Is it possible to implement a Semantics which would hoist variable
definitions to the top?
I tried defining two operations, but I couldn't find a way to 'skip' some
nodes inn the operation, so it could be used in the following:
BlockDefinition(identifier, body) {
return `function ${identifier.transpile()}() {
${body.extractVariables()}
      ${body.transpile()}

}`;
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/harc/ohm/issues/278, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB4PC6B4GRI6COUQHMFNCLSYJVRZANCNFSM4VT7PMXQ
.

Hi Alex,
I tried just returning empty strings for nodes that are not variable declarations, but because Expressions inside the block are IterationNodes I am getting extra commas in the resulting source code.
I tried to find documentation on _iter() action but couldn't find any.

Hi Alex,
I tried just returning empty strings for nodes that are not variable declarations, but because Expressions inside the block are IterationNodes I am getting extra commas in the resulting source code.
I tried to find documentation on _iter() action but couldn't find any.

Hi @sinkovsky,
Expanding a bit on what @alexwarth said, I would approach this by writing an operation with:

an action for every kind of node that can introduce a binding (e.g. VariableDeclaration)
a default _nonterminal action, which merges the declarations of all its child nodes (this is the hoisting part); and
an action for functions (e.g. FunctionBody) which prevents hoisting above the function boundary.

BTW, I'd be tempted to separate the extraction part from the codegen. In other words, I'd probably make extractVariables return a Set<string> representing all the variables, and do the codegen at the function boundary.
Regarding iteration nodes: getting extra commas in your output sounds like you may be doing string concatenation on an array. E.g., if your grammar has something like: Block = "{" Statement* "}", and an action looks something like this:
Block(_open, statements, _close) {
    return statements.extractVariables(); // Returns an Array of strings
}

...then it's important to note that this is return an array of strings. That's because Ohm's default handling of iteration nodes maps the operation over the list of nodes.
One option would be — as it sounds like you're suggesting — to specify an _iter action. This takes one argument: an array of child nodes. You could then ensure that this action returns a string. (The other option is to detect the iteration nodes in the parent action using the isIteration() method.)
Hope that helps! BTW, feel free to join us on Discord or the mailing list for more help or to discuss design choices.

Hi @sinkovsky,
Expanding a bit on what @alexwarth said, I would approach this by writing an operation with:

an action for every kind of node that can introduce a binding (e.g. VariableDeclaration)
a default _nonterminal action, which merges the declarations of all its child nodes (this is the hoisting part); and
an action for functions (e.g. FunctionBody) which prevents hoisting above the function boundary.

BTW, I'd be tempted to separate the extraction part from the codegen. In other words, I'd probably make extractVariables return a Set<string> representing all the variables, and do the codegen at the function boundary.
Regarding iteration nodes: getting extra commas in your output sounds like you may be doing string concatenation on an array. E.g., if your grammar has something like: Block = "{" Statement* "}", and an action looks something like this:
Block(_open, statements, _close) {
    return statements.extractVariables(); // Returns an Array of strings
}

...then it's important to note that this is return an array of strings. That's because Ohm's default handling of iteration nodes maps the operation over the list of nodes.
One option would be — as it sounds like you're suggesting — to specify an _iter action. This takes one argument: an array of child nodes. You could then ensure that this action returns a string. (The other option is to detect the iteration nodes in the parent action using the isIteration() method.)
Hope that helps! BTW, feel free to join us on Discord or the mailing list for more help or to discuss design choices.

I took a crack at implementing a hoistDeclarations operation for our ES5 grammar: https://github.com/harc/ohm/commit/1a3a00c6653bd555881b7be27fc02c3e5a17c539. Happy to hear any feedback that either of you have.
@sinkovsky, maybe this is useful to you. Since this is just an example, it's possible it's not quite the right solution, but it should at least be a good starting point.
I'm going to go ahead and close this issue, but please feel free to discuss further on the mailing list or Discord!

I took a crack at implementing a hoistDeclarations operation for our ES5 grammar: https://github.com/harc/ohm/commit/1a3a00c6653bd555881b7be27fc02c3e5a17c539. Happy to hear any feedback that either of you have.
@sinkovsky, maybe this is useful to you. Since this is just an example, it's possible it's not quite the right solution, but it should at least be a good starting point.
I'm going to go ahead and close this issue, but please feel free to discuss further on the mailing list or Discord!

@pdubroy Thank you very much for detailed explanations and example. That helped a lot.

@pdubroy Thank you very much for detailed explanations and example. That helped a lot.


fix(curicullum): Fixed an example to match the solution

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine or GitPod.

Closes #50450
The previous example showcased multilevel selectors usage in CSS, however, the solution was to use multiple selectors neted within a selector. Hence, I changed the example given to match the solution

@huyenltnguyen, As you asked me, I have read the guidelines again, hence changed the PR title as per the guidelines and also wrote a description. Further, I have closed another pull request, as this is the correct one. Do let me know if there's something else to change.


Having the "Target Address" be pre-filled so users do not need to copy and paste

Feedback from several community members
Many have been saying:
since most of the time you are transferring to the same wallet address, it would be better to have the "target address" to be pre-filled
@istankovic - feedback from one of the users on discord

This should happen when a user opens the dapp and when the form is reset after a transfer.
In case the user is not connected yet when opening the app, the account address should only be copied into the field after connecting when the user didn't input a value there before.

I think prefilling the address when the form is reset after a transfer might bring up confusion to the users.
Example:

User manually writes a different address than his own wallet address as destination address for sending the tokens
Submits the request and gets redirected to the Activity tab
At this moment we would swap his manually written address with his own wallet address without him knowing that
User realizes he needs to send a few more tokens to the same destination address
Goes back to transfer view where destination address is prefilled making him think we didnt change anything in that input field since the last request, so he completely ignores it
Fills up the amount of tokens and token type and sends transfer
Funds are being transfered to his own wallet address on another L2


Reduce memory footprint of the Trie

Trie has great advantages in terms of average performances over hashtables or B-Trees giving on worst case O(L) insert, delete and search time complexity where L is the length of the key. This comes at a cost, the main drawback is that the structure itself is really memory hungry. In TriteDB case with an alphabet of size 96, starting from the <space> character and ending with the ~ each node has 96 NULL pointer to their children, this means that on a 64 bit arch machine with 8 bytes per pointer we effectively have 768 bytes of allocated space per node.  So we have a total of 4 nodes, that means 4 * 96 = 384 pointers, of which only 4 are used. Now that's a lot of wasted space! There's some techniques to mitigate this homongous amount of wasting bytes while maintaining good time-complexity performances, called compressed trie and adaptive trie.

Best solutions so far seems two:

Use a single dynamic array (vector) in the Trie structure, each node must have a pointer to that vector and an array char children_idx[ALPHABET_SIZE] which store the index in the main vector for each children;
Use sized node based on the number of children and adapting lookup algorithm accordingly e.g.
with # children <= 4 use a fixed length array of 4 pointers and linear search for children, growing up set fixed steps of size and use a different mapping for characters on the array of children pointers.

Still thinking.

First attempt with cf25fb0bf54f1a04183a5b5950419e7f2f63e05f by simply replacing the fixed length array on each node with a singly-linked linked list, maintained sorted on each insertion, this way there's an average performance of O(n/2) on each search, which is the best case possible with the linked list data structure.
After some tests with little millions of keys of various length between 6 and 30 chars each the performance loss seems negligible, while the reduction of the memory footprint is considerably high.
Looking forward for an even better handling, maybe a BTree or something similiar.

As a middle step, it could be interesting to replace the linked list with a vector, in order to leverage spatial locality and decrease cache miss/CPU cycles per operations, contiguous memory is much more performant.
As a basic idea each node should have a char array or a bitmap, maybe an array of 4 unsigned long to track the indexes inside the vector for each child pointer.


Not deployable due to implicit NodeJS v10 Lambda dependencies coming from CDK

An attempt to deploy the CDK stack results in a failure with the following error message. The reason is the deprecated support for NodeJS 10 Lambda functions. This function seems to be created by one of the CDK dependencies. Upgrading the CDK dependencies resolves the issue.
CREATE_FAILED        | AWS::Lambda::Function               | BucketNotification...
Resource handler returned message: "The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions.
We recommend you use the new runtime (nodejs14.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: ..., Extended Request ID: null)" (RequestToken: ..., HandlerErrorCode: InvalidRequest)```

Merged the pull request.


Failed to Build with Custom Apps Directory

I am trying to build with a custom apps directory following this guide:
https://nuttx.apache.org/docs/latest/guides/customapps.html#custom-apps-how-to
Using NuttX Release 12.3.0 in WSL (Linux version <IP_ADDRESS>-microsoft-standard-WSL2), I created the example files listed in the guide and try to build
> ./tools/configure.sh -E -a ../CustomApps sim:nsh runs fine
> make has a build error:
/usr/bin/ld: nuttx.rel: warning: relocation against `g_builtins' in read-only section `.text.builtin_for_index'
/usr/bin/ld: nuttx.rel: in function `builtin_for_index':
/nuttx/libs/libc/builtin/lib_builtin_forindex.c:54: undefined reference to `g_builtin_count'
/usr/bin/ld: /nuttx/libs/libc/builtin/lib_builtin_forindex.c:56: undefined reference to `g_builtins'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

Looking in normal Apps directory g_builtin_count and g_builtins are defined in builtin/builtin_list.c, does this or something similar need to be added to custom apps directory as well? Or maybe I have a configuration issue unnecessarily requiring g_builtin_count and g_builtins?
Also just tested with latest master @ 804f713 and see the same issue

@j-couch I was able to get it working following the second option "2. Extend the apps/ directory to include a new custom directory" of the Custom Apps guide, with the following modifications:
Make.defs should be replace to include CONFIGURED_APPS when CONFIG_CUSTOM_APPS_CUSTOM_HELLO is enabled in the menuconfig! This way:
ifneq ($(CONFIG_CUSTOM_APPS_CUSTOM_HELLO),)
CONFIGURED_APPS += $(APPDIR)/CustomApps
endif

In CustomHello.c the function name should be "main" instead of "custom_hello" otherwise it will report that "custom_hello_main" is missing.
This is the result:
$ ./nuttx
login: admin
password:
User Logged-in!
nsh> ?
help usage:  help [-v] [<cmd>]

    .           cp          exit        ls          ps          time
    [           cmp         false       mkdir       pwd         true
    ?           dirname     fdinfo      mkfatfs     readlink    truncate
    alias       dd          free        mkrd        rm          uname
    unalias     df          help        mount       rmdir       umount
    basename    dmesg       hexdump     mv          set         unset
    break       echo        kill        pidof       sleep       uptime
    cat         env         losetup     poweroff    source      usleep
    cd          exec        ln          printf      test        xd

Builtin Apps:
    custom_hello    gpio            nsh
    dumpstack       hello           sh
nsh> custom_hello
Hello, Custom World!!
nsh> poweroff

Note, doing this way if you move CustomApps to outside of apps/ and just create a symbolic link to it, also will work.
For your convenience just find attached the example:
CustomApps.tar.gz
@TimJTi please take a look, I think we need to update the guide. Also it should be nice if the Makefile text could be copied keeping the format including TAB, etc. Currently even the lines with comment "#" are copied as lines without asterisk.

@acassis thank you for the quick response! I was originally trying to recreate the "1. Replace The Apps/ Directory Completely" method but was able to duplicate your steps here, compile and run, and believe the symbolic link method should work okay for my purposes instead. Maybe the "Replace" section should be removed from the guide?

The # issue not copying is some peculiarity of the way the pages are rendered. They copy fine when editing the files and previewing and there is no way of "escaping" that I know of. They are in code blocks. Perhaps someone who knows rst and or the way the NuttX web server renders it can advise.
Not sure why I used "custom_hello rather than "main" - I know I tested it all so either something in NuttX has changed, or I edited the names in the text prior to submission and didn't check again.
Solution 1) should probably be zapped - not having access to the existing nuttx-apps would, I think, leave NuttX severly lacking in features.
Perhaps @j-couch or @acassis could do the PR for these changes.


[es] asking for current time

When asking for current time at 18:42 the system properly outputs

but the voice output says 'son las 7 menos 6 de la tarde'.
It seems the minute has a 12 hour format.

@tetele I'm a bit lost. The returned text is totally correct "Son las 7 menos 18 de la tarde"
But somehow, it seems that the voice output replaces the "18 de la tarde" with "6 de la tarde", which could make sense in some contexts, but is totally wrong in this one.
I don't think this is a bug from the Spanish translation, but from the Spanish voice rules.


Odd Installer Behaviour

I have two projects with this template. When I run the installer created with one, it removes the installation files of the other during install.
run ProjectA.msi -> see that it is installed under C:\Program Files\ProjectA
run ProjectB.msi -> see that it is installed under C:\Program Files\ProjectB also see that files under C:\Program Files\ProjectA are gone.
And this is both ways. ProjectA installer uninstalls ProjectB and vice versa.

Figured out that I had forgotten to change the Windows UUID. Close this issue. Thanks.

ha, beat me too it. Glad you figured it out. Going to convert this to discussion so it'll be a bit easier for folks to find.


Multi worker and multiples hosts

Hi, I'm using these plugins: jobLock and queueLock, my application is running in multiple hosts or machines, in my aplication there is a queue and it is very probably that exists many repeated tasks, because there is a  tird application that create those tasks I cannot control that, sometimes more than one machine take the repeated task and create repeated results in my aplication, How can I do to prevent that?.
Here is my code:
` var handleExternalNotification= async function(notification, callback){
//some code here!
//create database result
}
var redisClient =  redis.createClient(config.redis.port, config.redis.host, {auth_pass: config.redis.password, tls: config.redis.tls});
var connectionDetails = { redis: redisClient }
var jobs = {
"handleExternalNotification":{
plugins: ['jobLock','queueLock'],
pluginOptions: {
queueLock: {},
jobLock: {}
},
perform: handleExternalNotification},
} `
Cheers.

If you are trying to de-duplicate tasks which a "outside" application might be creating, I would suggest you have the "outside" app write its jobs to queue-outside.  Then, in the app you control (and can use the node-resque plugins), read the jobs in from queue-outside and re-write them to queue-app before processing them.  On that second enqueue, the plugins will detect any previous tasks.


Azure Arc-enabled Kubernetes - changed secure string variable type

Updated the Azure Arc-enabled Kubernetes to have all secrets and passwords variables as secure string.

related to #2205


Scaffold-DbContext PMC Command doesn't work (Bug)

Reverse engineer doesn't work and displays an error message on the console.
PMC Command:
Scaffold-DbContext "Server=YUANT;Database=NetAntiError;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

If you are seeing an exception, include the full exceptions details (message and stack trace).
System.InvalidCastException: Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerResources.LogFoundDefaultSchema(IDiagnosticsLogger logger)
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerLoggerExtensions.DefaultSchemaFound(IDiagnosticsLogger`1 diagnostics, String schemaName)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.GetDefaultSchema(DbConnection connection)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions options, String rootNamespace, String modelNamespace, String contextNamespace, String language, String contextDir, String contextName, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.

Steps to reproduce

Create a new ASP NET Core project.
Add Microsoft.EntityFrameworkCore.SqlServer
Add Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
Add Microsoft.EntityFrameworkCore.Tools
Add connection string on appsettings.json

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    "DefaultConnection": "Server=YUANT;Database=NetAntiError;Trusted_Connection=True;MultipleActiveResultSets=true"
  }
}

In the previous version, a procedure like this still works. Am I missing something?
Further technical details
EF Core version: 3.0.0-preview4.19216.3
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Ms. Windows 10
IDE: Visual Studio 2019 16.0.2

Pls share your csproj file contents

Note for triage: I was able to reproduce this. //cc @bricelam @divega
Additional info:

Tried on RTM VS; didn't try on preview VS, which is recommended
Switched on .NET Core previews in VS
Created a .NET Core 3.0 ASP.NET Core app, with no auth

Stack:
PM> Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
System.InvalidCastException: Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerResources.LogFoundDefaultSchema(IDiagnosticsLogger logger)
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerLoggerExtensions.DefaultSchemaFound(IDiagnosticsLogger`1 diagnostics, String schemaName)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.GetDefaultSchema(DbConnection connection)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions options, String rootNamespace, String modelNamespace, String contextNamespace, String language, String contextDir, String contextName, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
PM>

Got the same problem:
Scaffold-DbContext "Data Source=[LinuxIP];database=[DB];user id=SA;password=[PW];" Microsoft.EntityFrameworkCore.SqlServer -o %~dp0Entity -f

System.InvalidCastException: Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerResources.LogFoundDefaultSchema(IDiagnosticsLogger logger)
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerLoggerExtensions.DefaultSchemaFound(IDiagnosticsLogger`1 diagnostics, String schemaName)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.GetDefaultSchema(DbConnection connection)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions options, String rootNamespace, String modelNamespace, String contextNamespace, String language, String contextDir, String contextName, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)

csproj:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.0.0-preview4.19216.3">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview4.19216.3">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview4.19212.13" />
  </ItemGroup>

</Project>

Pls share your csproj file contents

This is my csproj:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <LangVersion>8.0</LangVersion>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview4-19216-03" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview4.19216.3">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

</Project>

My IDE version: (RTM)
Microsoft Visual Studio Enterprise 2019
Version 16.0.2
VisualStudio.16.Release/16.0.2+28803.202
Microsoft .NET Framework
Version 4.7.03190

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00435-60000-00000-AA566
Microsoft Architecture Diagrams and Analysis Tools

Application Insights Tools for Visual Studio Package   9.0.20307.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2019   16.0.12311.10635
ASP.NET and Web Tools 2019

ASP.NET Web Frameworks and Tools 2019   16.0.12311.10635
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   16.0.12311.10635
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools   16.0.12311.10635
Azure Functions and Web Jobs Tools

C# Tools   3.0.0-beta4-19170-01+1deafee3682da88bf07d1c18521a99f47446cee8
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus   1.1.77 (master@24013d5)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v<IP_ADDRESS>

Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager   1.0
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Mono Debugging for Visual Studio   16.0.300 (573eda3)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   5.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

Snapshot Debugging Extension   1.0
Snapshot Debugging Visual Studio Extension Detailed Info

SQL Server Data Tools   16.0.61903.25110
Microsoft SQL Server Data Tools

TypeScript Tools   16.0.10306.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   3.0.0-beta4-19170-01+1deafee3682da88bf07d1c18521a99f47446cee8
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.4 for F# 4.6   <IP_ADDRESS>.  Commit Hash: 809f41207b74a1356208f11b8fa3a15233734050.
Microsoft Visual F# Tools 10.4 for F# 4.6

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   <IP_ADDRESS>5 (d16-0@a3502d929)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   <IP_ADDRESS>8 (remotes/origin/d16-0@3d086e814)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   16.1.47 (31f664d)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   <IP_ADDRESS> (HEAD/292d27fa)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: mono/mono/2018-08-rc@5ad371dab1b
    Java.Interop: xamarin/java.interop/d16-0@c987483
    LibZipSharp: grendello/LibZipSharp/master@44de300
    LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
    MXE: xamarin/mxe/xamarin@b9cbb535
    ProGuard: xamarin/proguard/master@905836d
    SQLite: xamarin/sqlite/3.26.0@325e91a
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-0@0a7edd6

Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (0aa8452)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Note for triage: I was able to reproduce this. //cc @bricelam @divega
Additional info:

Tried on RTM VS; didn't try on preview VS, which is recommended
Switched on .NET Core previews in VS
Created a .NET Core 3.0 ASP.NET Core app, with no auth

Stack:
PM> Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
System.InvalidCastException: Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerResources.LogFoundDefaultSchema(IDiagnosticsLogger logger)
   at Microsoft.EntityFrameworkCore.SqlServer.Internal.SqlServerLoggerExtensions.DefaultSchemaFound(IDiagnosticsLogger`1 diagnostics, String schemaName)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.GetDefaultSchema(DbConnection connection)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.SqlServerDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions options, String rootNamespace, String modelNamespace, String contextNamespace, String language, String contextDir, String contextName, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Unable to cast object of type 'Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggingDefinitions' to type 'Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.SqlServerLoggingDefinitions'.
PM>

csproj:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <AddRazorSupportForMvc>true</AddRazorSupportForMvc>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview4-19216-03" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="3.0.0-preview4.19216.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview4.19216.3">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

</Project>

@ajcvickers ,, I did it exactly as you suggested. The difference is only in the csproj configuration, I created a project API, so I don't need to add this script:
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>

Is there a fix for this? I have the same issue by just creating a stock VS2019 ASP Net MVC Core 3.0 preview project and trying to scaffold a database first model.

@myblindy It is fixed for next preview. You could try the nightly builds using the feeds listed on the homepaage if you need the fix before then.

Oh this is pain... manually creating scaffolding takes me back to the day (last week) when I was manually fixing EF6 entries for Oracle database entities... latest preview 5 still broken.

Yes, Scaffold-DbContext is totally broken right now, without any possible workaround (except by using nightly builds). However, in the preview 5 milestone roadmap, all the issues are closed. Can I assume that the Preview 5 will be released in the next few days?

@guidevnet I can't say anything about when preview5 will be released even though we have branched for it.

@guidevnet Maybe in connection with an upcoming event?

@ErikEJ You mean //build/? If so, there is 10+ days of wait. I'm crying right now...

@guidevnet I'd be interested more in knowing how you're using the previews that makes this a long wait, and yet at the same time the nightlies are not an option. (I'm not trying to imply you're doing something wrong, but it's an unusual position and I would like to understand it better so we can make sure we're doing the right thing with previews.)

@ajcvickers Yes, you are doing the right thing with previews - this is my fault. My team is developing a software to be release around October, and I choose to implement in .Net Core 3 (of course assuming that we would get some breaking changes along the road).

@guidevnet Thanks for the info.

I'm in the same position, pushed Blazor onto my team for a software release in late October but little issues like this make it difficult, using nightlies makes early UAT complicated when you don't know what will break when, only that something will break :)

@PeaStew Yeah, me too using blazor! (server-side). Ha, this is Microsoft's fault: if the new products where less awesome, we wouldn't bother to use EF6 and MVC.

@PeaStew Yeah, me too using blazor! (server-side). Ha, this is Microsoft's fault: if the new products where less awesome, we wouldn't bother using EF6 and MVC.

100%...

Actually, I have a suggestion.  Can somebody post simple steps (using VS2019 preview5 .net core console app) on getting entity framework core preview5 setup and using scaffolding for an existing db?
I've tried 7 test projects just today.  I add core, tools, design and sqlserver nugets all version 5 as per the sample commands in nuget.
I believe it is sqlserver's package that keeps degrading other packages to preview4.  where the error takes place if you try scaffolding.  hence my statement above.  So technically, I guess my error is with the degraded preview4 issue.
I'm happy to give my steps I follow but they don't work.  But hey, it may be a start!  :)

Please post your csproj file...

Here is the file just before I try to put in the Microsoft.EntityFrameworkCore.SqlServer

Exe
netcoreapp3.0

all
runtime; build; native; contentfiles; analyzers; buildtransitive

all
runtime; build; native; contentfiles; analyzers; buildtransitive

all
none

Here is my version 4 project that gives me the same errors listed in this feed.  no suprises of course.
TestEF8-Version4.zip
Here is my version 5 project that has build errors (listed below).
TestEF8-Version5-BuildErrors.zip
Here are the errors:
Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1605	Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview5.19224.8 to 3.0.0-preview4.19212.13. Reference the package directly from the project to select a different version.
TestEF8 -> Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview5.19227.1 -> System.Data.SqlClient 4.7.0-preview5.19224.8 -> System.Text.Encoding.CodePages 4.6.0-preview5.19224.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview5.19224.8)
TestEF8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview4.19212.13)	TestEF8	C:\Users\jbrown\source\repos\TestEF8\TestEF8\TestEF8.csproj	1
Error	NU1605	Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview5.19224.8 to 3.0.0-preview4.19212.13. Reference the package directly from the project to select a different version.
TestEF8 -> Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview5.19227.1 -> System.Data.SqlClient 4.7.0-preview5.19224.8 -> Microsoft.Win32.Registry 4.6.0-preview5.19224.8 -> System.Security.AccessControl 4.6.0-preview5.19224.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview5.19224.8)
TestEF8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview4.19212.13)	TestEF8	C:\Users\jbrown\source\repos\TestEF8\TestEF8\TestEF8.csproj	1

Please keep in mind I have tried many variants of this.  Starting with version5, starting with 4 and upgrading, using packagereferences, using install from package manager console.  I have yet to get all the preview5 packages to work together.  Hence my request for simple steps to get EF working with preview5.

Interesting to note that my preview5 version of the project has all 5's in the project file but I get this:

You will note that the last NuGet package DotNetAppHost does not show preview5 even though I ran the install tool and put in the package ref.  It keeps getting changed back when I install Platforms release5 or SqlServer release5.

The project has nothing confidential in it, I can upload the entire folder if need be.

@skwork34 You should try uninstalling all of the nuget packages, and then install all from scratch in version 5 (instead of upgrading it).

I've done that.  That's the first route I took.  It dies on installing the Microsoft.EntityFrameworkCore.SqlServer.  That one gives the same error.

Found the issue:  I mistakenly thought the latest update of visual studio that hit with the preview5 announcment had the preview5 .net core sdk with it.  @guidevnet 's comment triggered the thought of downloading the sdk again and installing it and wham, it all works.  Thanks for the triggering suggestion, and thanks to all who helped.


Sonar Collector not fetching data

I have tried to run the sonar collector jar . But am not getting any data from sonar ,getting 404 error. I am using sonar of version 6.7.1 . I  doubt whether the rest api url for sonar 6.7.1 is different or else does Hygieia sonar collector supports sonar of version 6.7.1 ?. Below is the error and the property file details i have used. Please help me to resolve the issue

2018-06-08 09:30:00,012 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2018-06-08 09:30:00,024 ERROR c.c.d.collector.DefaultSonarClient - org.springframework.web.client.HttpClientErrorException: 404
2018-06-08 09:30:00,024 INFO  c.c.d.collector.CollectorTask - Fetched projects   0          0s
2018-06-08 09:30:00,024 INFO  c.c.d.collector.CollectorTask - New projects         0         0s
2018-06-08 09:30:00,026 INFO  c.c.d.collector.CollectorTask - Updated                 0        0s
2018-06-08 09:30:00,026 INFO  c.c.d.collector.CollectorTask - Finished                            0s
2018-06-08 09:31:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector: Sonar
2018-06-08 09:31:00,005 INFO  c.c.d.collector.CollectorTask - ### -------

#Property File
dbname=dashboarddb
#Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
dbport=27017
MongoDB replicaset
dbreplicaset=[false if you are not using MongoDB replicaset]
dbreplicaset=false
dbhostport=[host1:port1,host2:port2,host3:port3]
Database Username - default is blank
dbusername=xxxxxxxx
Database Password - default is blank
dbpassword=xxxxxxxx
sonar.username=xxxxx
sonar.passsword=xxxxx
Collector schedule (required)
sonar.cron=0 0/1 * * * *
Sonar server(s) (required) - Can provide multiple
sonar.servers[0]=http://xx.xx.xxx.xxx:9000
Sonar version, match array index to the server. If not set, will default to version prior to 6.3.
sonar.versions[0]=6.7.1
Sonar Metrics - Required.
For Sonar version 6.3 and above
sonar.metrics=ncloc,violations,new_vulnerabilities,critical_violations,major_violations,blocker_violations,tests,test_success_density,test_errors,test_failures,coverage,line_coverage,sqale_index,alert_status,quality_gate_details

@NeomiS1993  use property key - sonar.metrics[0] instead

Thank you Nireesh . I was working with Hygieia-2.0.4 release version, in this version metrics is taken as String. In Hygieia master branch i can see latest commits where metrics is taken as List. But while taking the SonarCollectorTask.java from Hygieia master branch it is showing error following class files are missing. I think com.cpaitlaone.dashboard.model for sonar collector is not updated. How can i get the updated one.
import com.capitalone.dashboard.model.CodeQuality;
import com.capitalone.dashboard.model.CollectorItemConfigHistory;
import com.capitalone.dashboard.model.CollectorItem;
import com.capitalone.dashboard.model.CollectorType;
import com.capitalone.dashboard.model.ConfigHistOperationType

@nireeshT Thanks it worked. I was working on Hygieia-2.0.4 release, in this version metrics field is a String. I have seen the new updates in Hygieia master , metrics is now List and updations for sonar versions more than 6.x . I have updated with new code  and changed the property file , sonar.metrics to sonar.metrics[0]. Now its working fine.


Hi, I want to know what's the license of the model? I see the license on Huggingface, but I don't see the model license. Is it also licensed under Apache  2.0?

If you are referring to the free open-source models, they are licensed under Apache 2.0; for the paid models, please refer to the corresponding purchase instructions: https://ocr.lemonsqueezy.com .

Thanks very much!

@breezedeus
I do not understand how can this repository be under an Apache-2.0 license. If this is based on YoloV7 or ultralytics, shouldn't it be under a GPL-3.0 license?


Deprecating this repo in favor of chef cookbook generate -d.

👍 after deleting everything else out of the README

👍 same


Fix Import Errors in model_setup.py, dataset_generator.py, and utils.py

[FIXED]

torch was not imported in model_setup.py file,
from config import CONFIG was not called in dataset_generator.py, model_setup.py and utils.py file which were causing 'No Module found errors".

[FIXED]

[FIXED]

torch was not imported in model_setup.py file,
from config import CONFIG was not called in dataset_generator.py, model_setup.py and utils.py file which were causing 'No Module found errors".

[FIXED]


Why does controls option can work but volume option fails?

When using the Plyr, I set some options including controls and volume.
It's strange that the controls option can work but volume fails. If the my app has a question, the two options should both fail. However, only one option fails... Nobody has the question?

I'm not sure what you mean?

Closing this as the creator hasn't elaborated on the question. In case one of the option parameters passed to new Plyr() fails during some specific conditions, please create a new issue for this with the details to replicate it.
If you have questions or need help, ask them in our slack.


Support LoadBalancer hints

calling onStart or onComplete in case of no instance is going to be very straightforward, but being able to get SUCCESS or FAILURE result from the actual request execution is more problematic - for team discussion.


URL is not required when initializing account from env variables

Summary
Details and comments
Fixes #1668

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6230

Relevant Lines:
7529

💛  - Coveralls


Check for correct keys in declaration

Summary
We need to check the declaration for the presence of two keys in order
to support old and new framework iterations: supplierRegisteredName (G10
and onwards) and nameOfOrganisation (DOS2 and older).
Also updates the upload-counterpart-signatures.py script to derive the
api token from the environment.

Can we break this into two commits?
Otherwise looks good to me.

Done 👍


Build failed

I try to build this project, but ran into this problem

Hi @eedalong can you paste the whole stack trace here ?

Seems this is cause by mismatch of libzstd version.

Seems like it, One problem could be you have mutliple zstd libraries installed and we are picking up wrong one. Again full stack trace might help.

Yes, thx @kgpai. I've updated my libzstd into 1.4.0 version, and it works!


[edge] Npm release?

Version
v1.4.0
Reproduction link
https://github.com/nuxt/nuxt.js
Steps to reproduce
Last release of edge on npm 14 days old. Is it intentional or something broken? Previously they was released when a pr commited or smth like this.
I even see a release job on circle ci for release https://circleci.com/gh/nuxt/nuxt.js/3300
although no npm release actually, but also no error in job
Last release on npm
2.0.0-25523369.7c85202 14 days ago
I want to use some recent changes from nuxt but there no published version..
What is expected ?
publish npm version more often..
What is actually happening?
last npm version 14 day old

This bug report is available on Nuxt community (#c7444)

Bet the tokens used for it got invalidated after the security breach
cc @clarkdo

Looking into it @manniL thank you for the information.

It works now.


test: Add tests for internal/vcs (#1023)

Summary
(Ref #1023)
As the code here is mostly dependent on git, I only added a test for extractFileList for the moment.

testing VCSClient would require mocking childProcess.spawn or spawning a real process with a predetermined output
testing GitVCSClient would require creating a new directory, initializing a new repository and doing a few commits/edits on some temporary files

In both cases, I don't feel that it would worth the effort, as the code is mostly based on external dependencies with a very small chance of getting broken.
I'm waiting for further guidance.

Yeah that makes sense. We actually have some integration tests that would cover some of this with rome init as there are some conditions where we check that there are no uncommitted files if you use the rome init --apply flag. Integration tests are currently disabled though #1116 and it's super valuable to have this at least unit tested. Thank you!


Measurement systems

Saves edited with this tool don't seem to respect the measurement system settings. After I've edited a save, the game started displaying everything in imperial instead of metric. I've checked that the metric system is still selected in settings.

Disregard, it seems that the game itself doesn't really do metric. Despite the settings. I've checked the fresh install and fresh save, pretty much everything is still in imperial.🤦


Avoid Need on types

We have sometimes had code, particularly in the AST translator, that includes statements of the form :- Need(x is SomeType, "x is not SomeType"). Let's review the translator and make sure we've removed these. Most of them will probably result in Unsupported types or expressions, instead.

This one turns out to be very easy: we already got rid of every instance of Need(x is T, ...). Looking at instances of Need in the translator, they all seem to reflect structural correctness requirements of the Dafny AST, and would therefore always indicate a bug in Dafny if they failed.


Implement the emoji-free alternative mode

This is for accessibility. The screen reader does not seem to work particularly well with those emojis.

Possible design:
OUTPUT_STYLE=color
OUTPUT_STYLE=emoji
OUTPUT_STYLE=plain


Unclear steps to be follwed

After running
yarn add adminjs-adonis adminjs
i amd running
node ace configure adminjs-adonis
and getting error this error

node -v =>v16.15.0

Sorted out need an example dir


Create signature matrix with average_clusters() using bulkRNAseq data

hello,
I am trying to create a cell-type signature matrix from bulkRNAseq of FACS sorted mono-cell-types samples:
expr_matrix %>% head()

| Sample_1 | Sample_2 | Sample_3 | Sample_4
-- | -- | -- | -- | --
TSPAN6 | 0.6621047 | 0.6621047 | 8.4720554 | 0.6621047
TNMD | 0.6621047 | 0.6621047 | 2.771366 | 6.9039605
DPM1 | 9.2066392 | 8.8886292 | 0.6621047 | 10.17191
SCYL3 | 5.5968998 | 3.0201094 | 9.9043603 | 8.514964
C1orf112 | 3.6115171 | 7.806794 | 5.371021 | 4.5565736
design_matrix %>% head()

Sample_name
Sex
Cell_type

Sample_1
F
Neutrophils_BoneMarrow

Sample_2
F
MCs_BoneMarrow

Sample_3
M
Neutrophils_BoneMarrow

Sample_4
M
MCs_BoneMarrow

whereby the columns represent samples (different patient samples) and rows are annotated GrCh38 gene names. expr_matrix is derived from raw counts, after alignment to GRch38 using the standard nf-core/RNAseq pipeline, and then normalised using varianceStabilizingTransformation() in DESeq2
I understand that in Clustifyr the best approach would be to use average_clusters() (?)
new_ref_matrix <- clustifyr::average_clusters(
  mat = expr_matrix,
  metadata = design_matrix$Cell_type,
  cluster_col = "Sample_name",
  method = 'median',
  cut_n = TRUE
)

But then I am unsure if:

What I have done in terms of pre-processing the bulk RNAseq count data is right ?
I'm calling average_clusters() correctly ?
I need to perform some extra scaling / normalisation on the resulting reference matrix new_ref_matrix ?
I can then integrate new_ref_matrix with other reference signature matrices derived from single cell data?

Any advice, insights or lead to helpful material will be very much appreciated
Thanks all

Thanks for your interest in the package:

In general we recommend using similar normalization approaches between the reference data the scRNA-seq dataset. So I would recommend just using log-transformed normalized counts from DESeq2.  I haven't tried using transformed counts (from varianceStabilizingTransformation() or rlog()) however I would suspect that you would see similar results to using log-transformed normalized counts.

I wouldn't recommend using the cut_n parameter as it is a crude method to exclude low abundance genes and in most cases isn't necessary. The cluster_col = "Sample_name" is also unnecessary if you pass a vector to metadata.

No additional scaling should be necessary

Yes, you can combine multiple references into the same matrix (making sure that the genes are compatible), or run clustifyr independently for each different reference.


gnome.simple-scan: 44.0 -> 46.0

Description of changes
https://gitlab.gnome.org/GNOME/simple-scan/-/blob/master/NEWS
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This is part of the GNOME 46 update cycle and included in #291339.

Ah right, thanks.


SocketException: Connection refused In Android 14

Segment: An internal error occurred: Unknown network error: ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = cdn-settings.segment.com, port = 39544, uri=https://cdn-settings.segment.com/v1/projects/CmNTik4B90AzDQ3s29orxFrOSBzhzzcM/settings
Segment: Could not receive settings from Segment. Device mode destinations will be ignored unless you specify default settings in the client config.

Getting the same on Android 15. Did you find any solution @nikunj-p-7span ?


Unreal Engine support

It looks like you have great support for Unity. Is this system usable with Unreal Engine 5.x?

I'd love to see this integration. I think all you need is available, and we can definitely look into a PR if you want to write the binding code. Happy coding!


How to request Micrsoft securely wipes/deletes data after deallocation and not before re-use

[Microsoft executes a complete deletion of data on customer request and on contract termination.
How can this we request Microsoft to delete the data immediately after deallocation and NOT wait for the disks to be re-used. We have enquired and no-one seems to know any process by which this can be requested,. Some elaboration on this would be useful as well a communicating this to the engineers in the field.

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

ID: 8066fdea-f105-28f0-9402-c694b759e71e
Version Independent ID: 507bd0bc-3ae2-9a06-7d16-fe6ec5b40c7d
Content: Protection of customer data in Azure
Content Source: articles/security/fundamentals/protection-customer-data.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

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

I've reached out to the product team to ask.

Hello,
"When customers delete data or leave Azure, Microsoft follows strict standards for overwriting storage resources before their reuse, as well as the physical destruction of decommissioned hardware. Microsoft executes a complete deletion of data on customer request and on contract termination."
In case where you would need to make a request to Microsoft, you can  create a support case. In your case, if you send me an email at<EMAIL_ADDRESS>I can open a one-time free support case for you.


Add status column to bundles table in the aggregator DB

Follow up from this comment https://github.com/web3well/bls-wallet/pull/377#discussion_r1030413936

Completed in https://github.com/web3well/bls-wallet/pull/440


Question: Is a code signing certificate needed if submitting app to Windows Store?

I was previously under the impression that an .appX to be submitted to the microsoft store would need to be signed with a code signing certificate (either standard or EV). However I have just read in the electron.build documentation that:

If the AppX package is meant for Windows Store distribution, no need to sign the package with any certificate. The Windows Store will take care of signing it with a Microsoft certificate during the submission process.

Does anyone have any experience with this? I do not want to advise my client that an EV Code Certificate is required if the $99 MS dev account is sufficient.
Many thanks

@paulvarache I'm not sure I am following yet - could you elaborate?
What is the difference in the end-user experience for the following three scenarios:
A) I buy an EV Code Certificate, sign the application with it, build the .appX and submit it to the Microsoft store
B) I buy an OV Code Certificate, sign the application with it, build the .appX and submit it to the Microsoft store
C) I don't buy any Code Certificate, I just build the .appX and submit it to the Microsoft store


get reply_to email

Hi, I needed reply-to email for my extension so I got it this way.
I'm not sure its the best way tough cause [13][4] is an array and I'm not sure if reply to can be multiple addresses but I took into consideration only one. I couldn't find a way to get more as gmail and all other providers allow only one reply to.
Please take a look and let me know if there is a better way, I'll gladly update. This is something I see could be useful for lot of people.
Thanks!

Looking into this now

hey @iblazevic this looks good. I commented on one small change in the code but if you can update the readme to show the new field and have that be part of the pull request, I'll merge it right away

hi @KartikTalwar I updated the readme and your comment, let me know if something else needs to be changed
Thanks!


Cannot find module './node_modules/babel-loader/index.js'

This isn't entirely a new problem. I found several topics here and most solutions point to the resolve configuration, e.g. #1083 . Anyway, I've tried all the things and can't get my script running.
My folder structure looks like this:
- package.json
- node_modules
- dist
- src
- gulp
  - tasks
    - javascript.js

In the javascript.js I have following configuration
var projectRoot = process.env.PWD; // Absolute path to the project root
var resolveRoot = path.join(projectRoot, 'node_modules'); // project root/node_modules

var webpackConfig = {
    context: config.src, // ./src
    entry: {
      a: './index'
    },
    output: {
      path: config.javascript.dest, // ./dist
      filename: '[name].entry.js'
    },
    plugins: [],
    resolve: {
      root: [
        resolveRoot,
        path.join(__dirname, 'node_modules')
      ],
      extensions: ['', '.js']
    },
    module: {
      loaders: [
        {
          test: /\.js$/,
          exclude: /(node_modules|bower_components)/,
          loader: 'babel-loader'
        }
      ]
    }
  };

With this configuration, running by a gulp task, I always get
Error: Cannot find module './node_modules/babel-loader/index.js'

I spent hours trying and trying, without results. I would be happy for a hint or help with this.

I am not sure but you could check in package.json if in
devDependencies
or
dependencies
it has to be in devDependencies I guess

Run webpack with --display-error-details

@darul75 I have all the stuff in dependencies and changed it to devDependencies, but doesn't seem to make a difference. And when, this would be a horrible behaviour.
@sokra Can I do this with the Node.js API too? Not using the compiler directly and also configuring webpack without webpack.config.js, directly via the API.
That's what I have by now.
[14:24:09] Starting 'javascript'...

/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:206
                    throw e;
                          ^
Error: Cannot find module './node_modules/babel-loader/index.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at DependenciesBlock.loadPitch (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:193:17)
    at DependenciesBlock.doBuild (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:241:4)
    at DependenciesBlock.build (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModule.js:83:14)
    at Tapable.Compilation.buildModule (/Users/renestalder/projects/sample project/node_modules/webpack/lib/Compilation.js:123:9)
    at Tapable.<anonymous> (/Users/renestalder/projects/sample project/node_modules/webpack/lib/Compilation.js:391:8)
    at Tapable.<anonymous> (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModuleFactory.js:57:13)

Creating a webpack.config.js with my configuration and running `webpack --display-error-details`` I get following output in the terminal:
$ webpack --display-error-details

/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:206
                    throw e;
                          ^
Error: Cannot find module './node_modules/babel-loader/index.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at DependenciesBlock.loadPitch (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:193:17)
    at DependenciesBlock.doBuild (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:241:4)
    at DependenciesBlock.build (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModule.js:83:14)
    at Tapable.Compilation.buildModule (/Users/renestalder/projects/sample project/node_modules/webpack/lib/Compilation.js:123:9)
    at Tapable.<anonymous> (/Users/renestalder/projects/sample project/node_modules/webpack/lib/Compilation.js:391:8)
    at Tapable.<anonymous> (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModuleFactory.js:57:13)
    at Tapable.applyPluginsAsyncWaterfall (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/tapable/lib/Tapable.js:75:69)
    at Tapable.onDoneResolving (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModuleFactory.js:37:10)
    at Tapable.onDoneResolving (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModuleFactory.js:118:6)
    at Tapable.<anonymous> (/Users/renestalder/projects/sample project/node_modules/webpack/lib/NormalModuleFactory.js:114:23)
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:251:17
    at done (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:132:19)
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:32:16
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:248:21
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:572:34
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:251:17
    at done (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:132:19)
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:32:16
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/async/lib/async.js:248:21
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:29:4
    at onResolved (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:39:10)
    at innerCallback (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:89:22)
    at loggingCallbackWrapper (/Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/tapable/lib/Tapable.js:134:6
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/ModulesInDirectoriesPlugin.js:55:11
    at /Users/renestalder/projects/sample project/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:191:15

Looks like you used a relative path somewhere in your webpack.config.js where an absolute path is expected.

Having the same issue.

Couldn't find the problem yet.

It can be fixed by adding resolveLoader into config
resolveLoader: {
  root: path.join(__dirname, 'node_modules')
},

Isn't that the same as I have in my config?
resolve: {
  root: [
    resolveRoot,
    path.join(__dirname, 'node_modules')
  ],
  extensions: ['', '.js']
}

not sure but your root array concatenate 2 absolute paths ?

The resolveRoot should hold an absolute path, because process.env.PWD should return the absolute path where the script is running.
var projectRoot = process.env.PWD; // Absolute path to the project root
var resolveRoot = path.join(projectRoot, 'node_modules'); // project root/node_modules

And I was sure, last checked, it was correct.
Anyway, the second item in the root array might be a relative path which points to the same location. This shouldn't do anything if it's wrong, as long the first path is correct IMHO.

Oh, look at that. I totally oversaw @variable's answer. While I searched the error in the resolve path properties, it was the context which was to set to a relative path the whole path.
By adding absolute path to context, It works.
context: path.join(process.env.PWD, 'src')

I had a pretty similar issue using Grunt and Yeoman.
I fixed it by adding in my Gruntfile.js :
connect().use(
   '/node_modules',
   connect.static('./node_modules')
),

in the connect declaration of the "grunt serve" process

Solved by using path.resolve('./src/..') in webpack resolve instead of relative url, as mentioned in comments

I see，and i will try


Swiftmailer wont install

Everytime I run $ composer require "swiftmailer/swiftmailer:^6.0" or $ composer require swiftmailer/swiftmailer I get the following result:

Using version ^6.0 for swiftmailer/swiftmailer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.4.27 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[5.x-dev, v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8] but these conflict with your requirements or minimum-stability.
- laravel/framework v5.4.27 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[5.x-dev, v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8] but these conflict with your requirements or minimum-stability.
- laravel/framework v5.4.27 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[5.x-dev, v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8] but these conflict with your requirements or minimum-stability.
- Installation request for laravel/framework (locked at v5.4.27, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.27].
Installation failed, reverting ./composer.json to its original content.

I have looked for hours and didnt found a single solution to my problem, do you guys now what triggers this?

Laravel does not allow to install Swiftmailer 6, you need to stick with 5.x for now.

Thank you for clearing up the question! I was going mad about this. Well, if possible someone can close the thread. The question is solved.

As the reporter you can close it yourself. :)


Update MD file on new branch 2017-12-17_09-41-13

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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


Async Function

Is your feature request related to a problem? Please describe.

Now, apm is mainly written using the sync function.
But I heard sync functions block the process.
Is it better to replace sync functions with async ones?
Please give your opinion.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

I agree with you. I think it's better to start with the functions that are closest to the root, because halfway asynchronization can cause timing-dependent bugs that are difficult to debug.


REGRESSION: guvectorized functions can no longer be pickled in numba 0.53

This is a showstopper regression for users of guvectorized functions on dask.distributed:
import numba
import pickle

@numba.guvectorize(["f8,f8[:]"], "()->()")
def double(x, out):
    out[:] = x * 2

print(pickle.dumps(double))

On Linux x64:
$ conda create -n test52 -c conda-forge python=3.8 numba=0.52
$ conda activate test52
$ python demo.py
b'\x80\x04\x95\x1a\x00\x00\x00\x00\x00\x00\x00\x8c\x0b__mp_main__\x94\x8c\x06double\x94\x93\x94.'
$ conda create -n test53 -c conda-forge python=3.8 numba=0.53
$ conda activate test53
$ python demo.py
Traceback (most recent call last):
  File "demo.py", line 10, in <module>
    print(pickle.dumps(double))
_pickle.PicklingError: Can't pickle <ufunc 'double'>: it's not the same object as __main__.double

@crusaderky thank you for submitting this! I can confirm, I am able to reproduce this with b1258c82c0ed2845fce52508f439e29f729384a9 (current master) on OSX.

@crusaderky thank you again for reporting this. During today's issue triage we concluded fixing this is important and we are planning a 0.53.1 release in two weeks from now. I have created a 0.53.1 milestone and will now add this issue to that.


Theme syntax error

Issue Type: Bug
$sql = "INSERT INTO `table_1` (`name`) SELECT REPLACE(`name`, '\' ', '') as `name` FROM `table_2`";

mysql_query($sql);

Structures are correct but highlight theme error
VS Code version: Code 1.25.0 (0f080e5267e829de46638128001aeb7ca2d6d50e, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 10.0.14393

I assume your editor is in PHP mode:
That's what I see in the latest:

That looks fine to me. Please reopen if you disagree. Please describe what you see and expect.


[RFE] Environment graph view

When linking services between stacks, they show with dotted lines in the graph view. This is nice and useful, but it would be even better if there was a way to have a full environment graph view.

Closing due to inactivity, please reopen if you think this is still relevant to current releases & important.  We plan to implement a brand new 2.0 UI soon.  We will welcome feature requests based off of that UI.


Add docblock comment about redis' config elements

@alexispeter @tomaszdurka what do you think?

Should be pretty clear what goes in that array :+1:

Looks good


actions: ["stats.get"] Mandatory?

I have been using Multi-Tenancy since early, and I use the mini-dashboard to check the results. Since I updated to 1.4.x I found my client search wasn't working form the token.
Unable to find a good reason, I recreated an API key for an application, which then created a new Tenant Token to be used.  Weirdly, it don't work again.

{
    "message": "The provided API key is invalid.",
    "code": "invalid_api_key",
    "type": "auth",
    "link": "https://docs.meilisearch.com/errors#invalid_api_key"
}

So I dug deeper....
I queried with the newly generated API key from the backend for a specific index, and it worked fine. 🤔.  As per documentation, if I have the actions:['search'] set, I am all good. I did have "documents.*', and "indexes.*" too. But, when I was trying the API key on the mini-dashboard it didn't show the results with the generated key but it worked fine with the master key. As I went through the actions permission again, and picked out and added each of them into new token and kept trying which one worked I found out that for some reason the 'stats.get' is not a mandatory action which needed to be set to fix the issue. Keep in mind this is also after I have added the 'version' to the list as per the dashboard documentation.
😌So, Finally I set my api key to have the 'stats.get' or rather a 'stats'*' included in the actions list, and generated a new tenant token and everything worked fine again.
So, I don't know when it became necessary, but the documentation is either lacking it or it is a bug. Do let me know if I can help out by contributing for this. I will rather be happy, but I would need some confirmation or clarification to proceed.
Thank You.

Hey @fauzulkc 👋
Thanks for reporting this to us. However, the mini-dashboard you recorded is probably just showing the cached stats you got from the previous API key you provided. The tenant token are search API keys and do not show allow stats.*.
Can you do the safe experiment by performing hard reloads (clear cache) when you change the key, please? Maybe a simple page reload can do the trick 🤔

Hey @fauzulkc 👋
Thanks for reporting this to us. However, the mini-dashboard you recorded is probably just showing the cached stats you got from the previous API key you provided. The tenant token are search API keys and do not show allow stats.*.
Can you do the safe experiment by performing hard reloads (clear cache) when you change the key, please? Maybe a simple page reload can do the trick 🤔

Alright, I will get back to you; hopefully tomorrow

hello @fauzulkc
do you have more information about this? 😊

hello @fauzulkc
do you have more information about this? 😊

Sorry, didn't have the opportunity. I hope to find some time soon and do the extra test that @Kerollmops mentioned.

Hey @fauzulkc 👋
Thanks for reporting this to us. However, the mini-dashboard you recorded is probably just showing the cached stats you got from the previous API key you provided. The tenant token are search API keys and do not show allow stats.*.
Can you do the safe experiment by performing hard reloads (clear cache) when you change the key, please? Maybe a simple page reload can do the trick 🤔

also @curquiza
So I just did the test, and I can confirm without stats.get or stats.*, my search key the isn't able to browser the documents and the indexes.
When a tenant token is created from this key the behavior extends and the tenant won't show any results either.

Here a screenshot from another key with stats.get

and this one works as expected, showing the documents and indexes, and the behavior extend to the tenant tokens generated from this key, showing proper results of the documents from search.

Thank you, @fauzulkc, for taking the time to do further tests.
The dashboard needs the key to have the stats.get rights to fetch the list of indexes and show them in this dropdown. As the dashboard is meant for tests, asking the user for a key with more rights than just the search ones is okay.
Maybe the @meilisearch/docs-team can specify a key with the stats.* and search rights at most?

Thank you, @fauzulkc, for taking the time to do further tests.
The dashboard needs the key to have the stats.get rights to fetch the list of indexes and show them in this dropdown. As the dashboard is meant for tests, asking the user for a key with more rights than just the search ones is okay.
Maybe the @meilisearch/docs-team can specify a key with the stats.* and search rights at most?

The issue is if I don't have stats.get or stats.* included for the key, the tenant tokens generated from the key don't show search results which is the main problem for me here. As it's not mentioned in the docs I had to experiment to figure out and hope everyone doesn't have to go through the same trouble if we can pin point the right direction.

The issue is if I don't have stats.get or stats.* included for the key, the tenant tokens generated from the key don't show search results which is the main problem for me here.

You were testing this tenant token on the mini dashboard, and this dashboard needs the stats.get right to list the index names. However, tenant tokens can only have the search rights, and therefore it is not possible to use a tenant token on the dashboard.

The issue is if I don't have stats.get or stats.* included for the key, the tenant tokens generated from the key don't show search results which is the main problem for me here.

You were testing this tenant token on the mini dashboard, and this dashboard needs the stats.get right to list the index names. However, tenant tokens can only have the search rights, and therefore it is not possible to use a tenant token on the dashboard.

The issue is if I don't have stats.get or stats.* included for the key, the tenant tokens generated from the key don't show search results which is the main problem for me here.

You were testing this tenant token on the mini dashboard, and this dashboard needs the stats.get right to list the index names. However, tenant tokens can only have the search rights, and therefore it is not possible to use a tenant token on the dashboard.

Nope. I have my separate app that uses Tenant tokens to do search. I am not using tenant tokens for the mini dashboard. The dashboard is using the key(s) created via the master key.
I tried the dashboard only to do testing.
The case is this.
If my key for the backend have stats permission, the dashboard shows index and documents, and so does my tenant tokens from a frontend client. The tenant tokens are created from the backend application using a key with stats permission here.
If I don't have stats in my backend key, the tenant tokens don't get search results, just like the dashboard won't show index or the documents. The tokens in this case also created with using a backend key but this time without the stats permission
I hope this clarifies the concern.

Hello @fauzulkc
Taking the conversation since @Kerollmops is on Holiday

If I don't have stats in my backend key, the tenant tokens don't get search results, just like the dashboard won't show index or the documents. The tokens in this case also created with using a backend key but this time without the stats permission

There is an issue here. Your tenant tokens should be able to SEARCH (with the /search route, not the /documents route) even if they have been created with a key only having the action: search
Can you detail the steps to reproduce the issues with your application, WITHOUT mentioning the mini dashboard (since it's only for test and it needs stats actions to work)?

I close this issue due to a lack of answers. Nothing is definitive of course, feel free to ask to re-open if needed 😊


chore(master): release 1.14.1

:robot: I have created a release beep boop
1.14.1 (2023-05-17)
Bug Fixes

deps: update dependency pnpm to v8.5.1 (41c504b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-node/releases/tag/v1.14.1 :sunflower:


Release 0.21

Summary
Previous release: 0.20 (#708)
Release notes: #747
Milestone: 0.21
Feature Freeze: evening of Jan 3rd, 2021 (see #581)
Release date: January 17th, 2021
As something new this release I would like to ask for nominations for PR's or bugs to be in this release. There is simply to many PR's to do all of them, so I want to make sure I start with those that have active interest. Write your nominations below, one PR/issue nomination per comment and upvote the ones that you care about if they have already been nominated.
I will then add them to the milestone.

Closing issue due to 0.21 feature freeze.

Closing issue due to 0.21 feature freeze.


Fix/idc slim issue#84

This PR fixes the issue #84 related to open a monocromatic multichannel image

@rodrigobasilio2022 why does this work for other images? It seems that if the array comparison function was wrong (1d vs 2d) it should have failed in other cases as well, no?

@fedorov , No because it will only happens in monochromatic images like this. The color ones doesnt have the same checks

@hackermd @CPBridge @cgorman would be great if you could review this!

Looks good to me, thanks!


Python 3.7 Import Error

It looks like timm == 0.9.0 introduces an error for Python 3.7 environments.
File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/timm/models/beit.py", line 43, in <module>
    from typing import Callable, Final, Optional, Tuple, Union
ImportError: cannot import name 'Final' from 'typing' (/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/typing.py)

@davidmezzetti does it work if switch to the torch jit ver of that typing
Remove the Final import and fused_attn: torch.jit.Final[bool]
FYI 3.7 is end-of-life at the end of June, I really REALLY hope kaggle gets their crap together and moves forward, but I'm liable to not try to support 3.7 fairly soon (ie use the walrus operator if it cleans things up, etc).

@davidmezzetti if you could confirm if this works https://github.com/huggingface/pytorch-image-models/commit/f744bda994ec305a823483bf52a20c1440205032  that'd be helpful, was just about to post about 0.9 release
If this doesn't work, not sure what to do, I need the Final for torchscript to work with the fused (flash attention) F.sdpa additions....

Hi @rwightman. I just created a 3.7 environment and installed timm from source. With the updated code the import no longer throws an error. But the test I have runs the following Hugging Face pipeline. So while the import works, I'm not sure that means the beit model works with that change.
from transformers import pipeline
detector = pipeline(model="facebook/detr-resnet-50")

For reference, this error came up on a GitHub actions build for txtai. My current GH actions script requires 3.7 given that I support >= 3.7 at this time. I don't use timm directly, it's loaded through transformers.

@davidmezzetti thanks for the context and confirmation, I believe that model will work fine for 3.7 users if the import succeeds as it means torch provides a version of the Final annotation that's backported to Python < 3.8.
Pytorch 2.0 dropped 3.7 support so 3.8 will be unavoidable soon...

Thanks, glad it was an easy fix. My fix was to update the build script to use 3.8 :smile:


Fix error in MediaQueryList.addEventListener note

17246

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details


Formatting with eslint

My editor showed lots of warnings so I ran eslint
Should probably be configured to run for every commit in the future. Would be nice to have prettier at some point aswell

Good deal. I think @Der-Penz has an issue open about applying some linting rules and stuff with husky and as a part of the pr process. I have to add that as well


add a js framework to the frontend

e.g. https://github.com/dhg/Skeleton or https://getbootstrap.com/docs/3.4/javascript/

https://github.com/pure-css/pure


mat-menu does not display dropdown in android webview

Bug, feature request, or proposal:
Bug
What is the current behavior?
Menu does not display when clicking the button.
What is the expected behavior?
Work like it should
What are the steps to reproduce?
Add a site to the webview with the Angular Material mat-menu. It simply does not work. I have tested in chrome,firefox,IE, and edge on mobile and they seem to work fine. The button shows the ripple effect but never displays the menu.
I can embedded the current Angular Material site into the webview and the mat-menu reproduces the same result.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.1.1
Material: 5.1.1
OS: Android 8.1.0 - Pixel 2 XL
Typescript: 2.7.1
Is there anything else we should know?
I have also tried this on a Samsung Note 8 and Samsung Galaxy Tab 3 same results.

Furthermore, I updated to the latest version of angular and material and still getting the same results.

This works for me, opened material.angular.io and menus worked as expected
Android 10, Pixel 3
Angular 10


Document AI: INVALID_ARGUMENT

I am trying to send documents to Google Document AI for processing.
Here is an example of my code:
require 'vendor/autoload.php';

putenv('GOOGLE_APPLICATION_CREDENTIALS=[###].json');

use Google\Cloud\DocumentAI\V1\Document;
use Google\Cloud\DocumentAI\V1\DocumentProcessorServiceClient;

$document              = array();
$document['mime_type'] = 'application/pdf';
$document['content']   = file_get_contents('file.pdf');

$inlineDocument = new Document($document);

$postBody                    = array();
$postBody['inlineDocument']  = $inlineDocument;
$postBody['skipHumanReview'] = true;

$documentProcessorServiceClient = new DocumentProcessorServiceClient();

$formattedName     = $documentProcessorServiceClient->processorName('[###]', 'eu', '[###]');
$operationResponse = $documentProcessorServiceClient->processDocument($formattedName, $postBody);

I am passing my arguments according to following documents:
processDocument Documentation
Document Documentation
However, I get the following response:

Fatal error: Uncaught Google\ApiCore\ApiException: { "message": "Request contains an invalid argument.", "code": 3, "status": "INVALID_ARGUMENT", "details": [] } thrown in \vendor\google\gax\src\ApiException.php on line 139

For some reason, the following document mentions to pass one argument as "mimeType" instead of "mime_type" compared to the previous link:
https://cloud.google.com/document-ai/docs/send-request
I tried that as well but that throws an exception in the php class.
Any help would be greatly appreciated!

Hi @ventusSturm, i'm not super knowledgable about php but a guess to why this issue is happening is probably because of the postBody argument. But i'll try to find a better assignee.

@bshaffer I assigned this issue to you, i'm not knowledgable about php. If you can't fix it or don't have the time to take a look at it just reassign it back to me.

This is the only solution work for me.
$documentProcessorServiceClient = new DocumentProcessorServiceClient([         'keyFilePath' => './secret/jsonkey-17954c72c615.json',         'apiEndpoint' => 'eu-documentai.googleapis.com',         ]);