License validator enabled

References
Add references/links to any related issues or PRs. These may include:

Fixes #8183

Description
Short summary of changes (1-2 sentences).
We have instrumented via Spring LicenseValidation step so that a submission without license granted ends up in a response containing error stating that license has not been granted.
Test expectations have been fixed accordingly.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:

LicenseValidation class is instrumented in dspace-server-webapp/src/main/resources/spring/spring-dspace-addon-validation-services.xml file
Test classes performing submissions have been updated in order to grant license during submission
Test expectations of method performing submissions without license have been updated in order to check that error section content contains information about missing license grant
While testing, we discovered a possible side effect in using a common field in AbstractValidation class for error list, as list seems not to be flushed between a validation and another. We changed validate method implementation in AbstractValidation extending classes so that each method can return a newly created list of errors.

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

Start a new submission from UI
Leave license field unchecked
An information about not granted license is notified

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

Merging immediately as this was flagged for 1 approval.


Failed to fetch error when saving code pics

Failed to fetch error happens and the code pics are not saved.

Seems to be fixed now.


Add new genus field to document model

Short description
This PR adds a new genus field to the document model. After a discussion with the team this was requested as a text field
(This is blocked until the plural field was integrated)
Proposed changes

Alter document model
Add a new migration file

Resolved issues

Fixes: #436

I updated this PR in order to fulfill the newly requested required. I think I implemented everything. However we need to think about one other thing. For "Berufsbezeichnung" we don't need "Wort (which is required)" and article (also required). So we should think about, if we want to only make these fields required for substantives, as we planned to do for plurals. I was hesitant to do it already. If we agree that this is the best way how to go about it, I will add it to this PR


Document conventions API

For users and provider writers.

ConventionSource
ConventionContext
ConventionDispatcher
ConventionBatch
ConventionSet
ConventionsBuilder
ModelCustomizer
The dangers of IConvention* API

Move the paragraph about conventions from "Model Bulk Configuration" to the new page and replace it with a link.
Always check whether the entity type is still in the model in OnRemoved conventions

Update https://aka.ms/efcore-docs-conventions when done.

Update AKA link


About new ChatOnlineDBChain class

This pull request introduces a new class, based on ChatVectorDBChain, that offers dynamic querying capabilities beyond the scope of the local VectorDB.
With this new class, users can pass a List[Documents] during queries, allowing for searching of other databases and the internet, such as searxNG.  These additional results can then be formatted into a List[Documents], empowering the chatbot to search both the internet and local DB simultaneously.

stale afaict, closing for now, let me know if I'm missing anything!


Day 10 article

as usual, let's not merge this until at least 12 hours or so have passed, for reviewers to check it.

Merged, but I remain happy to make adjustments in response to any further feedback.


Spec deviation: POST relationships not available in Delta

As per the spec:

If a relationship is provided in the relationships member of the resource object, its value MUST be a relationship object with a data member. The value of this key represents the linkage the new resource is to have.

When inside a POST controller such as:
               [Route]         [HttpPost]         public IHttpActionResult Post([FromBody]Delta<MyResource> resourceDelta)         {
There is no way to get at the relationships, they are ignored. The UpdateDocument class must include the relationships and in turn they should be accessible through the Delta<>. These are just links, the system should not attempt to automatically load them, it is should assumed that the API implementer knows what to do with these links.

The not-very-good way around this is to pass the Id of the linked object as another attribute. This would mean that POST and GET would be different and not in the spirit of the json:api but is a workaround until this feature can be implemented.


Login page routing problem

App.js page is not routing to home page even after logged-in
It stays in login page itself

The issues solved


⚠ Fortnite has degraded performance

In b83c5ff, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1681 ms

Resolved: Fortnite performance has improved in e805f43.


Expression/Condition in parameter default value

Is there a way to make a parameter defaultValue conditional/based on an expression?
I want to have

		"fileToRename": {
			"type": "parameter",
			"datatype": "string",
                        "defaultValue": "if(boolParam) then TheSpecialFile.txt else TheFile.txt",
			"replaces": "TheFile.txt",
			"fileRename": "TheFile.txt"
		},

Hi, is there anyone that can reply to this? A simple yes/no would suffice.


Fix admin_generator incompatible "default" identifier raising TypeError.

In admin_generator.py we change to the argparse "default" string replace
style and update ProxyParser to handle the necessary replacement for
optparse. The 3.5.1 docs for argparse state: "The help strings can
include various format specifiers to avoid repetition of things like the
program name or the argument default. The available specifiers include
the program name, %(prog)s and most keyword arguments to add_argument(),
e.g. %(default)s, %(type)s, etc." The use of "most" is ambiguous and in
preliminary testing, this functionality is at least missing for the
kwarg "action". It is not the intent of CompatibilityBaseCommand or
ProxyParser to add functionality to optparse, so we make no effort to
handle whatever other kwargs may be supported as formatted
identifiers in argparse as the optparse docs only mention %default
in the help string. %prog exists in optparse only in the usage and
version strings.

Resolve #820

Nice! Glad to see you find the solution quick!

Thanks !


how to do training and testing on different datasets

hello,
I am quite confused by the config file. We have a trainingset wich we want to use to train the model. Then we have another testingset, wich we want to use to evaluate the results.
The confusing part is, there are topic1 and topic2 in the config file:

"text1_corpus": "./data/toy_example/ranking/corpus_preprocessed.txt",
"text2_corpus": "./data/toy_example/ranking/corpus_preprocessed.txt

What do I need to configure to use one dataset for training and one dataset for testing?
Thanks in advance

hey, i want to do the same. my train and test corpus have not the same length, so if i merge them and than run the function run_with_train_valid_test_corpus. how can i specify the parts it will split the relations? thanks for  your help mate.

@codingnoobneedshelp @h3n0r1k Thanks for the question, we'll find appropriate person to answer this question asap.

@codingnoobneedshelp, as you have said, you can use the method split_train_valid_test_for_ranking to split the dataset. If you want to train on one corpus and the test on another corpus. I recommend you to split the training data into train and validation. By the way, you can also train without validation by directly testing the test corpus.

I'll close this issue for now, if you have further questions please feel free to re-open it or create a new issue. Best!


Pathogenic variants don't have statistics summary data

Tthere are 1919 pathogenic variants (from biallelic_by_tumortype_merge.txt and mutations_cnv_by_tumortype_merge.txt).
None of them are insignaldb_variants_by_cancertype_summary_statistics.txt contains statistics summary data.
It's a data issue, will wait for Chai's response.

From Chai:
And, Sorry for the delay on this. I just got around to looking into this and fixing it. Can you pull the updated input files from /juno/work/ccs/bandlamc/shared/signaldb . (Turns out I was excluding the pathogenic variants; that is why these were missing).

We need to update the data and enable these columns back


With Python3 it requires encoding during memmove.

You may want to take a look at my higher-level library: https://github.com/paulo-raca/fusetree
It makes it quite easy to have text files without the boilerplate ;)


Fix logo size

logo32.png was 24 px and Firefox Add-ons showed a warning about that so I fixed it (convert logo128.png -resize 32x logo32.png).
For convenience I also added a package script e.g. npm run package that makes a prevyou.zip archive to upload to the store. Not sure if that works with Chrome though, maybe they expect a .crx or something? Happy to update the command if you tell me the one you use for Chrome!
FWIW I've published the extension on Firefox Add-ons: https://addons.mozilla.org/en-CA/firefox/addon/prevyou/
If you make an account on Firefox Developer Hub I can add you as an owner there :) but either way I'll be happy to take care of publishing updates to the Firefox extension. Cheers!

Thank you very much for all your work Valerian!
No problem for the firefox extension. I trust you to be a good owner!


Fixed the LGTM warnings "Useless comparison test"

Contains
Fixes the "Useless comparison test" warnings from #3510.
How to test
Run the unit test changed as part of this PR to verify that the Color changes work. The preconditions were not working due to using the boolean OR operator rather than boolean AND operator.
Note that the fix for CommandParameter is relevant since the precondition in the private constructor ensures that the name variable is never null or length 0.

Hooray Jenkins reported success with all tests good!

This pull request fixes 6 alerts when merging a5834750a608f0b0153178e5ec3e3e77a03c3a81 into 7cf495ee093ff7d3829498288660138d266761d8 - view on LGTM.com
fixed alerts:

5 for Useless comparison test
1 for Container size compared to zero

Comment posted by LGTM.com


with-global-stylesheet example: maybe it better to extract css with extract-text-webpack-plugin?

Really concerned about load speed in this with-global-stylesheet example
I'm using the same approach in my boilerplate and got this image with analyzer, as you see about half of size falls on grommet css

As I saw author of universal-webpack proposes to extract css and add it to page through <link ...> , since css loaded by browser asynchronously

+1


Docs: Mention that backslash isn't allowed in regular expressions

OK, it didn't take me long to figure this out, but it did slow me down a little, since regexes that I was sure would match the URL hash were coming up empty.
A short mention of the fact that backslashes aren't allowed would be great.
Even better would be to find a way to make them work, but if that isn't possible, a mention in the docs would be helpful.
Thanks!

Could you please provide an example so that we can try to make it work?
I guess that a single backslash would need to be escaped a couple of times in order to work with the router.
For instance:
A\B should (untested!) be matched by "A\\B"

Do you want a working code sample?
Here's a hash / regex pair that doesn't work for me.
Hash: #somepage?id=1234
Regex: #somepage?id=([\d]*)
The first backslash escapes the question mark. The second (\d) match any digit (0-9).

Il 11/01/2012 23:10, kurtmilam ha scritto:

Do you want a working code sample?
Here's a hash / regex pair that doesn't work for me.
Hash: #somepage?id=1234
Regex: #somepage?id=([\d]*)

In this circumstance I would try:
#somepage[?]id=(\d+)

Yes, that works fine.
I'd still suggest that you mention it in the docs, since the backshlash is such an important character in regular expressions.
Thanks for looking into it.

Absolutely!
I've just updated the doc, thank you very much.


confirm delay option default value...

Describe the bug

file: https://github.com/pmndrs/use-gesture/blob/main/documentation/pages/docs/options.mdx

<Specs gestures={['drag']} types={['boolean', 'number']} defaultValue="0" />

the defaultValue should be '180ms'.

180ms is the default value when delay is true. But by default delay is set to 0ms.


Integration tests

Story
Integration tests should be added to ensure that Resgate complies with the RES client-, and service protocol specification.
Notes
Mocking both the NATS client behaviour as well as the WebSocket client connection, tests can be made that sends client requests, validates and replies to requests posted on NATS, and validates the responses to the client.
Mocking NATS
By creating a testnats struct that implements the mq.Client interface, NATS client may be mocked.
Mocking WebSocket client
By using github.com/posener/wstest, the clients may be mocked as well.

Fixed in: https://github.com/jirenius/resgate/pull/41


Update obj2winmd to support exporting globals from middleware SDK.

Pushing the objc2winmd.exe binary to winobjc repo.

:shipit:


Update-image not work properly

The UPDATE_IMAGE command fail to start the newer backend container. Also, the previous version of backend image was not deleted.

@Jeff92316046 Have any idea? Do you want to fix this?


Request for azurerm_user_assigned_identity resource

What resource do you need?
Terraform Resource Name: azurerm_user_assigned_identity
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/user_assigned_identity
What is your use case?
Creating managed identities with Provider Azure (not for authenticating Provider to Azure, but for using them with resources). Specifically creating User Assigned identities. The capability being looked for is to create a user-assigned managed identity, then create a resource and assign that identity to it.
Relates to private issue: https://github.com/upbound/official-providers/issues/822

Should the title contain azurerm_user_assigned_identity instead of azurerm_resource_group ?

@ytsarev thanks for spotting that, fixed 👍🏻

Resource successfully tested.


searching doesn't work properly when used with tags

@jarektkaczyk
I've got a post model which uses cviebrock\taggable for tagging posts.
my search configuration
protected $searchableColumns = [
'title',
'description',
'location',
'user.name',
'tags.name'
];
but, when I attach that 'tags.name' searching for tags works well, but searching for all other fields doesn't work properly. only works for the first word of the corresponding field.
example:
if title is "Job Fair" and I search with the keyword "fair", then it doesn't find anything when the 'tags.name' field is included to the searchable array. Otherwise all works pretty smoothly.
Thanks in advance.

Try with 5.4 branch

@jarektkaczyk updated the package and now the whole thing is broken :(
check #175


Error while trying to load the gem 'middleman-blog

I'm getting the following error after
$ gem install middleman
$ middleman init
# ...

Then I add middleman-blog:
source 'https://rubygems.org'

gem 'middleman', '>= 4.0.0'
gem 'middleman-livereload'
gem 'middleman-blog'

And get this error:
$ middleman server
WARN: Unresolved specs during Gem::Specification.reset:
      activesupport (~> 4.2)
      padrino-helpers (~> 0.13.0)
      listen (~> 3.0)
      nokogiri (>= 1.3.3, ~> 1.3)
      mime-types-data (~> 3.2015)
      fastimage (~> 1.7)
      sass (>= 3.4)
      backports (~> 3.6)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'middleman-blog'. (Bundler::GemRequireError)
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/middleman-core-4.1.4/lib/middleman-core/load_paths.rb:35:in `setup_bundler'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/middleman-core-4.1.4/lib/middleman-core/load_paths.rb:15:in `setup_load_paths'
	from /Users/adarsh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/middleman-cli-4.1.4/bin/middleman:10:in `<top (required)>'
	from /Users/adarsh/.rbenv/versions/2.3.0/bin/middleman:23:in `load'
	from /Users/adarsh/.rbenv/versions/2.3.0/bin/middleman:23:in `<main>'

This is under Ruby 2.3.0 using rbenv although I've tried other versions and system ruby (no rbenv) and got the same error.

bundle exec middleman server?

Hi, I get the same.
It looks like bundler is installing v0.1.5 of the gem!
My Gemfile.lock says:
middleman-blog (0.1.5)
note sure how to override this though.

sounds like a ruby gems bug. You can force it in your Gemfile:
gem 'middleman-blog', '>= 4.0.0'

Reported to Bundler here: https://github.com/bundler/bundler/issues/4406

It looks like it is selecting fastimage-1.9.0 and then finding middleman-blog-0.1.5 (ancient) which allows installing that version of fastimage.  Pinning both of them via:
gem "fastimage", "1.9.0"
gem "middleman-blog", ">= 4.0.0"

results in a dep conflict:
Bundler could not find compatible versions for gem "addressable":
  In Gemfile:
    fastimage (= 1.9.0) was resolved to 1.9.0, which depends on
      addressable (~> 2.3.5)

    middleman-blog (>= 4.0.0) was resolved to 4.0.0, which depends on
      addressable (~> 2.4.0)

    middleman-blog (>= 4.0.0) was resolved to 4.0.0, which depends on
      middleman-core (>= 4.0.0) was resolved to 4.1.6, which depends on
        addressable (~> 2.3)

fastimage and middleman-blog both should probably both be using semver pins like ~> 2.3 and ~> 2.4 if they can.  if they can't, then they should try to agree on a minor version of addressable to use.
there most likely isn't a bug in bundler here since the Gemfile left bundler's depsolver free to downgrade middleman-blog as much as it liked, and it had to pick downgrading fastimage or middleman-blog -- in the absence of any human input it has to guess about which gem to downgrade and it simply guesses wrong, so you have to tell it what you really mean...

Can you try this now:
gem "middleman-blog", github: "middleman/middleman-blog"

FYI, I've just been getting started using middleman-blog and ran into this issue. I can confirm that once I locked addressable to 2.4.0 and pulled middleman-blog from Github, it worked fine.

@tdreyno that'll always work since you'll pull from GH and effectively pin the middleman-blog version...

@tdreyno i installed from git to my local gems and i get fastimage 1.9.0 and middleman-blog 4.0.0 now, so this looks fixed in master by your change.  👍

Should be resolved with blog v4.0.1

@tdreyno This looks good. However, when I initialize a new blog with Middleman (middleman init MY_BLOG_PROJECT --template=blog) it seems middleman-blog is requiring middleman 4.0.0 instead of the more current 4.1.x. Is there a reason for this?

No reason other than oversight :(
Fixed here: https://github.com/middleman/middleman-templates-blog/commit/e3128bcced09258badd1548eba19331f37faf364
Try now

@tdreyno Yep, works like a charm!


Chinese Unicode Support

can't load have chinese unicode character on cit properties
https://pastebin.com/vaUNmjHF

Not related to Chinese characters, it's complaining about the space in sky piercer.
minecraft:optifine/cit/infinityexpansion/sky piercer/sky_piercer.properties

Replace the space with an underscore.
https://citresewn.readthedocs.io/usage/help/#non-a-z0-9_-character-in-path-of-location


Fix wrong Time.h include

Thanks. Its probably not even needed, as it compiled here.
All that .ino cruft is a bit intransparent. Should have used plain C and H files.

Could not get it to compile on my side without changing the include.
Not really sure either if its a system thing or just pio/arduiono magic

No i mean the header is probably not needed

Ah well did not try without the file and the include.
IMO it is nicer to have the header files in place.
We could change the ino files to c files. Guess this would make it more understandable for people coming from a C background


Doesn't work on Hotmail's Web

CSS doesn't load properly for Hotmail. The template is really very nice :)

Hey @rainbowhat what template are you sending? Are you making sure to inline the template with the suggested inliner in the README?

Hey @rainbowhat I'm closing the issue. Let me know if you still need help!


[C++][Parquet] Add a utility to print contents of a Parquet file to stdout

To improve the usability/testability of parquet-cpp, the library needs a utility to print the contents of a Parquet file. incubator-parquet-cpp used to have a parquet_reader utility, but a) it was not ported to the Apache, and b) it had memory leaks and mismanaged file handles, and required a lot of improvement.
Using parquet_reader as a starting point, I will build a utility for printing a Parquet file contents.
Reporter: Aliaksei Sandryhaila / @asandryh
Note: This issue was originally created as PARQUET-418. Please see the migration documentation for further details.

Aliaksei Sandryhaila / @asandryh:
Not sure why the PR hasn't showed up here automatically: https://github.com/apache/parquet-cpp/pull/18

Nong Li / @nongli:
Issue resolved by pull request 18
https://github.com/apache/parquet-cpp/pull/18


Cannot uninstall latest node. EPERM error.

C:\WINDOWS\system32>nodist - 8.x
EPERM: operation not permitted, unlink 'C:\Program Files (x86)\Nodist\v-x64\8.1.
3\node.exe'.
Sorry.

C:\WINDOWS\system32>nodist ls
  (x64)
  4.4.4
  6.11.0
  7.2.1
> 8.1.3  (global: 8.x)

Seems like anything marked globally creates a symlink and then that causes the unlink error.
λ nodist + 8.x
 8.4.0 [===============] 22392/22392 KiB 100% 0.0s
8.4.0

λ nodist global 8.x
8.x
Default global pacakge update dsuccessful.

λ nodist ls
  (x64)
  4.4.4
  6.11.0
  7.2.1
  8.1.3
> 8.4.0  (F:\git\apps\test\.node-version: 8.x) (global: 8.x)

λ nodist - 8.1.3
EPERM: operation not permitted, unlink 'C:\Program Files (x86)\Nodist\v-x64\8.1.3\node.exe'.
Sorry.

I notice that you installed a different version than the one you removed, so it could be that for some reason somewhere node 8.1.3 is still running?

Well no. The first screenshot is when I only had node 8.1.3. No other global node installs. (first screenshot)
Since the uninstall failed, I thought of installing another version and trying again. That also failed. (2nd screenshot).

tl;dr - the file was in use in some rogue/window app. Killing it through process explorer solved the issue.
Longer version:
I scanned for symlinks using Junction Link Magic and found no links to/from 'C:\Program Files (x86)\Nodist\v-x64\8.1.3\node.exe'. Windows Explorer also confirms the same.

But I did try removing node 8.4.0 and that worked without issues. I then thought of deleting the 8.1.3 file directly and Windows gave a file in use error. So searched and killed all nodejs processes and then nodist - 8.1.3 went through fine.


Issue with importing vulkan header

Issues with linking the vulkan headers

compile_commands.json looks correct(I'm showing just one file)

LSP server log shows error
[ERROR][2022-08-21 08:00:42] .../vim/lsp/rpc.lua:440	"rpc"	"clangd"	"stderr"	"I[08:00:42.467] Failed to generate include insertion edits for adding header (FileURI='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h', IncludeHeader='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h') into E:\\Nikola\\Vulkan\\My_Vulkan_01\\src\\devices.c: Header not on include path\r\nI[08:00:42.467] Failed to generate include insertion edits for adding header (FileURI='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h', IncludeHeader='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h') into E:\\Nikola\\Vulkan\\My_Vulkan_01\\src\\devices.c: Header not on include path\r\nI[08:00:42.467] Failed to generate include insertion edits for adding header (FileURI='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h', IncludeHeader='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h') into E:\\Nikola\\Vulkan\\My_Vulkan_01\\src\\devices.c: Header not on include path\r\nI[08:00:42.467] Failed to generate include insertion edits for adding header (FileURI='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h', IncludeHeader='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h') into E:\\Nikola\\Vulkan\\My_Vulkan_01\\src\\devices.c: Header not on include path\r\nI[08:00:42.467] Failed to generate include insertion edits for adding header (FileURI='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h', IncludeHeader='file:///C:/VulkanSDK/<IP_ADDRESS>/Include/vulkan/vulkan_core.h') into E:\\Nikola\\Vulkan\\My_Vulkan_01\\src\\devices.c: Header not on include path\r\n"

Output of clangd --version:
clangd version 15.0.3 (https://github.com/llvm/llvm-project 4a2c05b05ed07f1f620e94f6524a8b4b2760a0b1)
Editor/LSP plugin:
NeoVim with clangd LSP Server
Operating system:
Windows 10

Please show complete logs from clangd startup

The lsp-log was like 300MB....I deleted it and re-ran Nvim, opened a .c file, closed it and this is what I got
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.539] clangd version 15.0.3 (https://github.com/llvm/llvm-project 4a2c05b05ed07f1f620e94f6524a8b4b2760a0b1)\r\nI[09:03:26.540] Features: windows+grpc\r\nI[09:03:26.540] PID: 20744\r\nI[09:03:26.540] Working directory: E:\\nikola\\Vulkan\\My_Vulkan_01\r\nI[09:03:26.540] argv[0]: clangd\r\nI[09:03:26.547] Starting LSP over stdin/stdout\r\nI[09:03:26.547] <-- initialize(1)\r\nI[09:03:26.552] --> reply:initialize(1) 4 ms\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.691] <-- initialized\r\nI[09:03:26.693] <-- textDocument/didOpen\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.698] Loaded compilation database from E:\\nikola\\Vulkan\\My_Vulkan_01\\compile_commands.json\r\nI[09:03:26.698] --> window/workDoneProgress/create(0)\r\nI[09:03:26.698] Enqueueing 8 commands for indexing\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.720] ASTWorker building file E:\\nikola\\Vulkan\\My_Vulkan_01\\src\\vk_image.c version 0 with command \r\n[E:\\nikola\\Vulkan\\My_Vulkan_01]\r\n\"C:\\\\Program Files\\\\LLVM\\\\bin\\\\'clang'\" \"-resource-dir=C:\\\\Users\\\\Nikola\\\\AppData\\\\Local\\\\nvim-data\\\\lsp_servers\\\\clangd\\\\clangd\\\\lib\\\\clang\\\\15.0.3\" -- \"E:\\\\nikola\\\\Vulkan\\\\My_Vulkan_01\\\\src\\\\vk_image.c\"\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.729] <-- textDocument/documentHighlight(2)\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:26.729] <-- reply(0)\r\nI[09:03:26.729] --> $/progress\r\nI[09:03:26.729] --> $/progress\r\n"
[ERROR][2022-11-15 09:03:26] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"E[09:03:26.834] Failed to load compilation database from E:\\nikola\\compile_commands.json: Expected array.\r\n"
[ERROR][2022-11-15 09:03:27] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:27.913] --> $/progress\r\n"
[ERROR][2022-11-15 09:03:27] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:27.914] --> $/progress\r\n"
[ERROR][2022-11-15 09:03:31] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:31.008] --> textDocument/publishDiagnostics\r\n"
[ERROR][2022-11-15 09:03:31] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:31.011] --> reply:textDocument/documentHighlight(2) 4281 ms\r\n"
[ERROR][2022-11-15 09:03:39] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[09:03:39.025] <-- shutdown(3)\r\nI[09:03:39.025] --> reply:shutdown(3) 0 ms\r\n" ```


Animate images (SVG assets)

I am trying to use the flutter_svg plugin and trying to animate the images with a simple fade-in. It appears to be working fine when I hot reload the code after applying changes to the animate() extension. However, when I restart the application, the animation does not seem to work.

Have you tried just swapping the SVG widget with another widget (ex. an Icon)? I'd like to be sure this is SVG specific, and not just something to do with your view setup.

Closing in lieu of info. Feel free to reopen as appropriate.


[webview_flutter] Prevent deep linking to third party applications

Hello
We have application which allow users to sign-in in Aliexpress account via our webview, but we have some problem with third party Aliexpress application, when user trying to sign in aliexpress via our webview, installed Aliexpress app will catch that url and open it in self, how we can avoid that? Thank you!

Hey @koteesy , as this is a plugin issue you can resubmit your issues on this thread https://github.com/flutter/plugins/tree/master/packages/webview_flutter/webview_flutter

There's no issues in repository, they move all issues to this repository, see description: https://github.com/flutter/plugins

@koteesy
I am not completely sure but I guess you can make use of shouldOverrideUrlLoading function to prevent that if you are able to add the 3rd party protocol to originWhitelist.
Also, your question seems to be better suited for support channels like StackOverflow, so please ask the same there.
Closing from here.

@koteesy I am not completely sure but I guess you can make use of shouldOverrideUrlLoading function to prevent that if you are able to add the 3rd party protocol to originWhitelist.
Also, your question seems to be better suited for support channels like StackOverflow, so please ask the same there. Closing from here.

But there's no protocol, there's just url like https://example.com/login.html, and if i will use shouldOverrideUrlLoading i just will stop user webview, not opening third party app, this in't it?


Provide a decode action

Since the Council is responsible for reviewing the proposed RegesterNetworks messages, it is necessary that reviewers can understand the encoded payloads they are signing.
Thus, this crate should provide decode command that can parse any given payload into a human-friendly representation of the Message sent to the Data Edge contract.
For instance, this input:
0x0305015505156569703135353a313030156569703a3135353a3737

Is expected to produce this output:
[
  {
    "message": "RegisterNetworks",
    "add": [
        "eip155:100",
        "eip:155:77"
    ],
      "remove": [0, 42]
  }
]

We could host a static web app that encodes/decodes any given input for maximum usability.
cc: @abarmat

Maybe there is a way to extract that functionality from the Epoch Subgraph code so we don't have to rewrite it in Rust?

End-to-end verifiability is possible even without a decoder, because the encoding process is fully deterministic. We can provide a JSON specification and council members can independently verify that it compiles as it should. Am I missing something, @tilacog ?

I agree that the current code already addresses the verifiability issue.
However, I think this is more of a user experience issue. Perhaps not all Council members (reviewers) are expected to be familiar with the command line.
In my last conversation with @abarmat, we thought that a web page with a simple decoding form would be the most convenient interface for the board to review the payload contents, but we can delve deeper it this and come up with the ideal requirements for this task.
cc: @azf20

Some alternatives that @neysofu and I discussed:

Export the JSON encoding functionality to WASM and host it with Github pages, or
Provide a POST /encoding endpoint in the EBO container that accepts the JSON message and returns the payoad. We could then expose this in one of our domains.


LCFS - Transfer graphic shows organization balances and registered status for IDIR users

Description:
The transfer graphic on the view transfer page:

displays the organization's balance
displays whether the organization is registered or not (yes/no)
Only visible to IDIR users, and only visible when the status of the transfer is Submitted or Recommended

Wireframe: https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/pages/165001075/simulate/no-panels
Purpose and benefit to user:
Provides valuable information to government users when reviewing and making recommendations on transfers. Balances help determine whether the seller will still have enough units to comply with LCFS requirements if the transfer is recorded (approved). Registration information provides an additional check that the organizations meet the legislative requirements to participate in the transferring of units.
Acceptance Criteria:

[ ] Given I am a , When I am , then
[ ] Given I am a , When I am , then

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @kevin-hashimoto @prv-proton

As an IDIR user, the transactions view table does show the status of registration, but does not show the organizations balance. Please include a column that shows the organization's balance in the transactions view table.
Please see current view of table for reference:


Noble Integer (Python)

💥 Proposal
An integer x is said to be Noble given an array if the number of integers greater than x is equal to x.
If there are many Noble integers, any of them is returned. If there is no noble integer, then return -1.
Have you read the Contributing Guidelines on Pull Requests?
YES

/assign


A11y_AzureDataStudioSQL_Project_CreateNewProject_Popup_Keyboard: Keyboard focus goes outside of the popup by hitting tab key

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AzureDataStudioSQL-MAC-Feb2021;#SQL Azure Data Studio;#MAC;#FTP;#DesktopApp;#WCAG2.4.3;#Keyboard;#AINotInScope;
Environment Details:
Application Name: Azure Data Studio
Mac OS Version: Big Sur Version 11.2.2
Repro Steps:

Launch the application-Azure Database Project and install extension SQL Database Projects.
Tab till SQL Database Project Home Screen with heading "Projects".
Tab till "Create New Project" button or "+" button and hit enter.
Fill out every field and click "ok" button.
A popup will appear
Navigate inside the popup and hit tab keys and check where keyboard focus goes.

Actual:
Keyboard focus goes outside of the popup by hitting tab key
Issue observed with shift + tab key also.
Expected:
Keyboard focus should not go outside of the popup by hitting tab key. Keyboard focus should remain inside the popup.
User Impact:
Keyboard only users will face difficulty in navigating again in the popup

same as windows issue https://github.com/microsoft/azuredatastudio/issues/14304

Verified the bug in the environment
Application Name: Azure Data Studio
macOS: Ventura 13.2
Issue is fixed and does not reproduced. Please find the not repro attachment below.
Screen Recording (5).webm
Github Tags:#Closed;


Calendar extension doesn't work with multiple google identities

System Information:

Version: 2.4
Language: en-US
Timezone Offset: -04:00
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

What steps will reproduce the problem?

Use multiple google identities (one for work, one for personal)
Click on calendar
See personal calendar with no way to switch

What is the expected result?
I should be able to switch identities
What happens instead?
The extension just shows my personal calendar

https://github.com/manastungare/google-calendar-crx/wiki/Frequently-Asked-Questions#i-have-multiple-google-accounts-how-can-i-see-events-from-calendars-in-both-accounts

Neither of those are great solutions. I don't want to share my work calendar with personal, and I don't want to have a separate chrome profile for each identity. Why not just add an identity switcher?

An identity switcher is built into Chrome; it's the profile switcher.
Multi-login is a big mess, and this extension uses Chrome's Identity API, which offers the one-identity-per-profile model.

I get that you don't want to fix it, but I believe it's wrong.
Do you switch chrome profiles when you check different gmail accounts? No, because gmail builds in the switcher. Chrome identity is about bookmarks, extensions, settings, etc. Gmail/calendar identity is about dividing your life into work vs personal. They are not the same concept.
All google web products (including calendar, even) have the identity switcher built it. You can't expect users to use the browser switcher on top of the web product switcher.


Make Python::run_code public

Hello,
First, thank you for this work done here! :100:
https://github.com/PyO3/pyo3/blob/2627fa8a083616c031a3161a7517018de6149892/src/python.rs#L146
I think this should be made public. It's a bit hard for me to develop a certain outcome when I can only use a single python expression in Python::eval to get back a PyObjectRef when I'd like to use ffi::Py_file_input in order to run a formatted Python script; which Python::run uses, but doesn't return a PyObjectRef
Let me know if I'm missing something here.
Thanks again!

...Appveyor fails on python3, travis on python2 and mine passes all of them... is this a separate issue?

Thanks for the pull request, I definitely like the idea of returning an object from a run method! I am however a bit hesitant to expose run_code code directly. That's because the start parameter is defined as c_int despite actually only allowing three values (Py_eval_input, Py_file_input and Py_single_input). One alternative avoiding this problem would be to changing the run method to return a PyObjectRef. Another solution would be adding an enum for the three possible start values and using that enum instead of the c_int for start.

I agree, leaving it as is, by using the c_int for start would be a bit awkward. I'll try and update the PR later this week.
Thanks!

Codecov Report

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

@@          Coverage Diff          @@
##           master   #191   +/-   ##
=====================================
  Coverage      80%    80%
=====================================
  Files         129    129
  Lines        5931   5931
=====================================
  Hits         4745   4745
  Misses       1186   1186

Continue to review full report at Codecov.

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

Alright, you can give it a look over and see what you think.
Side note, it would be nice to have an instructional for new (read: less talented) contributors. I had no problem building the project, but ended up with LTO UNKNOWN errors trying to run the tests (trying to follow the way Travis is setup...); maybe a Dockerfile prepared with everything needed to run tests?
Anyways, thanks again!

Thank you, looks good now!

Side note, it would be nice to have an instructional for new (read: less talented) contributors. I had no problem building the project, but ended up with LTO UNKNOWN errors trying to run the tests (trying to follow the way Travis is setup...); maybe a Dockerfile prepared with everything needed to run tests?

That shouldn't happen at all, a plain cargo test should be sufficient. Which platform and which way to install python did you use?


Develop different scrapers that can plug into the query server

As per the discussion on gitter channel by @mariobehling different scrapers for each domain, similar to the loklak server be implemented.

@nikhilrayaprolu I haven't gone through the loklak server's code much, but by this do you mean that the scrapers for different domains should be in separate files? Could you please provide me the link to loklak server's implementation so that I can take a look?

loklak_server has something like this,
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/harvester/TwitterScraper.java
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/api/search/GenericScraper.java
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/harvester/WeiboInfoScraper.java
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/api/search/QuoraProfileScraper.java
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/api/search/GithubProfileScraper.java
https://github.com/loklak/loklak_server/blob/development/src/org/loklak/api/search/InstagramProfileScraper.java
where individual scrappers are implemented for each site.

@nikhilrayaprolu  Can I pick this up?

Currently working on this, will submit a PR soon.


Session ID Error

All the books I attempt to download give me this error, am I doing something wrong?
Downloading metadata and eText information...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 90, in main
authkey=bookData['sessionid'][0],
KeyError: 'sessionid'

Hi CSab6482, Pearson stopped including one of the arguments that had previously been required to download the book, so the downloader didn't work up until just now. I've updated the script just now and tested it, and it should work. Please download the updated version and let me know if it works or if it still has issues

It almost works! Downloads pages okay but ultimately ends with
[WinError 10054] An existing connection was forcibly closed by the remote host

Which stage does that occur during? As it's downloading pages, while it's getting bookmark data, or at some other point? (Aka what's the last printout that the script gives before giving the error?)

As it’s downloading the pages, and riGht at the end. I have a 1,000 ish
page Physics book and it gets to around page 1,070 and ends with that error
On Fri, Aug 30, 2019 at 10:08 PM Edward P<EMAIL_ADDRESS>wrote:

Which stage does that occur during? As it's downloading pages, while it's
getting bookmark data, or at some other point? (Aka what's the last
printout that the script gives before giving the error?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NoMod-Programming/PearsonEbookDownloader/issues/9?email_source=notifications&email_token=AMZYL6IGQQ72QX76A5ZKK33QHHHAZA5CNFSM4IJF4DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TDEGA#issuecomment-526791192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZYL6PSHN6PQ6N6TE2PA2LQHHHAZANCNFSM4IJF4DEA
.

Downloading book id 20072. Please open an issue on GitHub if this book id
is incorrect.
Downloading metadata and eText information...
Downloading pages to "C:\Users\Carlos\AppData\Local\Temp\tmpcm7ssi95"...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 124, in main
threadPool.map(download, pageInfo)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 657, in get
raise self._value
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 121, in worker
result = (True, func(*args, **kwds))
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 44, in mapstar
return list(map(*args))
File "downloader.py", line 120, in download
urllib.request.urlretrieve(getPageUrl(pdfPage['pdfPath']), savePath)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\urllib\request.py",
line 276, in urlretrieve
block = fp.read(bs)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 457, in read
n = self.readinto(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 491, in readinto
return self._readinto_chunked(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 591, in _readinto_chunked
n = self._safe_readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 636, in _safe_readinto
n = self.fp.readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\socket.py",
line 589, in readinto
return self._sock.recv_into(b)
File "C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py",
line 1071, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py",
line 929, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was forcibly
closed by the remote host
On Fri, Aug 30, 2019 at 10:08 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

As it’s downloading the pages, and riGht at the end. I have a 1,000 ish
page Physics book and it gets to around page 1,070 and ends with that error
On Fri, Aug 30, 2019 at 10:08 PM Edward P<EMAIL_ADDRESS>wrote:

Which stage does that occur during? As it's downloading pages, while it's
getting bookmark data, or at some other point? (Aka what's the last
printout that the script gives before giving the error?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NoMod-Programming/PearsonEbookDownloader/issues/9?email_source=notifications&email_token=AMZYL6IGQQ72QX76A5ZKK33QHHHAZA5CNFSM4IJF4DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TDEGA#issuecomment-526791192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZYL6PSHN6PQ6N6TE2PA2LQHHHAZANCNFSM4IJF4DEA
.

In that case, try changing the "40" on line 122 to a smaller number like 20 or even 10. That issue usually occurs when too many requests are made too quickly to Pearson's servers (DDOS protection being triggered by downloading too many pages at the same time too quickly)

No luck with 20. Trying 10 now, and if not, then 5. Thanks for your help

On Aug 30, 2019, at 10:11 PM, Edward P<EMAIL_ADDRESS>wrote:
In that case, try changing the "40" on line 122 to a smaller number like 20 or even 10. That issue usually occurs when too many requests are made too quickly to Pearson's servers (DDOS protection being triggered by downloading too many pages at the same time too quickly)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

What's your internet speed? If it's fast enough (keeping in mind that I've only got 50 Mbps, so 40 was the threshold before I started running into Pearson's DDOS protection) it might even be necessary to add a small delay after downloading each book to simulate a slower connection, otherwise I can't think of what the issue would be that'd cause Pearson's DDOS protection to act up like that.

2.3 Mbps.. I’ll try switching to another connection

On Aug 30, 2019, at 10:24 PM, Edward P<EMAIL_ADDRESS>wrote:
What's your internet speed? If it's fast enough (keeping in mind that I've only got 50 Mbps, so 40 was the threshold before I started running into Pearson's DDOS protection) it might even be necessary to add a small delay after downloading each book to simulate a slower connection, otherwise I can't think of what the issue would be that'd cause Pearson's DDOS protection to act up like that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

New error
Downloading book id 20072. Please open an issue on GitHub if this book id
is incorrect.
Downloading metadata and eText information...
Downloading pages to "C:\Users\Carlos\AppData\Local\Temp\tmpze0zljlw"...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 124, in main
threadPool.map(download, pageInfo)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 651, in get
self.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 648, in wait
self._event.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\threading.py",
line 552, in wait
signaled = self._cond.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\threading.py",
line 296, in wait
waiter.acquire()
KeyboardInterrupt
On Fri, Aug 30, 2019 at 10:09 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

Downloading book id 20072. Please open an issue on GitHub if this book id
is incorrect.
Downloading metadata and eText information...
Downloading pages to "C:\Users\Carlos\AppData\Local\Temp\tmpcm7ssi95"...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 124, in main
threadPool.map(download, pageInfo)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 657, in get
raise self._value
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 121, in worker
result = (True, func(*args, **kwds))
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 44, in mapstar
return list(map(*args))
File "downloader.py", line 120, in download
urllib.request.urlretrieve(getPageUrl(pdfPage['pdfPath']), savePath)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\urllib\request.py",
line 276, in urlretrieve
block = fp.read(bs)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 457, in read
n = self.readinto(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 491, in readinto
return self._readinto_chunked(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 591, in _readinto_chunked
n = self._safe_readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 636, in _safe_readinto
n = self.fp.readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\socket.py",
line 589, in readinto
return self._sock.recv_into(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py", line
1071, in recv_into
return self.read(nbytes, buffer)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py", line
929, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was forcibly
closed by the remote host
On Fri, Aug 30, 2019 at 10:08 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

As it’s downloading the pages, and riGht at the end. I have a 1,000 ish
page Physics book and it gets to around page 1,070 and ends with that error
On Fri, Aug 30, 2019 at 10:08 PM Edward P<EMAIL_ADDRESS>wrote:

Which stage does that occur during? As it's downloading pages, while
it's getting bookmark data, or at some other point? (Aka what's the last
printout that the script gives before giving the error?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NoMod-Programming/PearsonEbookDownloader/issues/9?email_source=notifications&email_token=AMZYL6IGQQ72QX76A5ZKK33QHHHAZA5CNFSM4IJF4DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TDEGA#issuecomment-526791192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZYL6PSHN6PQ6N6TE2PA2LQHHHAZANCNFSM4IJF4DEA
.

It worked! Thank you so much, I'm looking forward to be able to do my
homework without waiting 10 minutes to get to the page.
On Fri, Aug 30, 2019 at 10:27 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

New error
Downloading book id 20072. Please open an issue on GitHub if this book id
is incorrect.
Downloading metadata and eText information...
Downloading pages to "C:\Users\Carlos\AppData\Local\Temp\tmpze0zljlw"...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 124, in main
threadPool.map(download, pageInfo)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 651, in get
self.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 648, in wait
self._event.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\threading.py",
line 552, in wait
signaled = self._cond.wait(timeout)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\threading.py",
line 296, in wait
waiter.acquire()
KeyboardInterrupt
On Fri, Aug 30, 2019 at 10:09 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

Downloading book id 20072. Please open an issue on GitHub if this book id
is incorrect.
Downloading metadata and eText information...
Downloading pages to "C:\Users\Carlos\AppData\Local\Temp\tmpcm7ssi95"...
Traceback (most recent call last):
File "downloader.py", line 223, in
main(sys.argv[1])
File "downloader.py", line 124, in main
threadPool.map(download, pageInfo)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 657, in get
raise self._value
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 121, in worker
result = (True, func(*args, **kwds))
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py",
line 44, in mapstar
return list(map(*args))
File "downloader.py", line 120, in download
urllib.request.urlretrieve(getPageUrl(pdfPage['pdfPath']), savePath)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\urllib\request.py",
line 276, in urlretrieve
block = fp.read(bs)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 457, in read
n = self.readinto(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 491, in readinto
return self._readinto_chunked(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 591, in _readinto_chunked
n = self._safe_readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\http\client.py",
line 636, in _safe_readinto
n = self.fp.readinto(mvb)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\socket.py",
line 589, in readinto
return self._sock.recv_into(b)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py", line
1071, in recv_into
return self.read(nbytes, buffer)
File
"C:\Users\Carlos\AppData\Local\Programs\Python\Python37\lib\ssl.py", line
929, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was
forcibly closed by the remote host
On Fri, Aug 30, 2019 at 10:08 PM Carlos Sabogal<EMAIL_ADDRESS>wrote:

As it’s downloading the pages, and riGht at the end. I have a 1,000 ish
page Physics book and it gets to around page 1,070 and ends with that error
On Fri, Aug 30, 2019 at 10:08 PM Edward P<EMAIL_ADDRESS>wrote:

Which stage does that occur during? As it's downloading pages, while
it's getting bookmark data, or at some other point? (Aka what's the last
printout that the script gives before giving the error?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NoMod-Programming/PearsonEbookDownloader/issues/9?email_source=notifications&email_token=AMZYL6IGQQ72QX76A5ZKK33QHHHAZA5CNFSM4IJF4DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TDEGA#issuecomment-526791192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZYL6PSHN6PQ6N6TE2PA2LQHHHAZANCNFSM4IJF4DEA
.

Awesome, glad to hear that! In that case, I'll close the issue, but feel free to re-open it if you experience any issues with your book


Sample project not runing

Describe the bug
After git clone
npm install
try to run app using npx react-native run-ios
giving following error

Hi @vikramsinghrajpoot,
I'm able to run the app. The error indicates Api.js is missing from ./src/utils/Api.js, please make sure the file is there with the correct file permission, and configured properly as instructed in README.

there is no change in path just i have downloaded and try to run i

t

how about the permissions?

Please follow this step for iOS instead of using npx react-native run-ios, as instructed in README.


[Feature] Request Custom Providers creator and editor

For now in Provider file manage it only displayed list...it would be nice if it can create custom provider files too with simple code editor for editing.
Thanks

like this?

i added config editor on tab openclash with tiny file manager

@Nurwahyu99 it would be best putting in their respective field like this

and openclash already have great built-in code editor which support syntax check for error (the one in config manage)

thanks for this feature...really helpful


The game crashes after starting - Critical Ops

I tried with Among Us and it woks but for the game:  Critical  Ops. It does just crash without creating a dump.cs. I don't know what is the problem with it but I hope you can help me. Seems like the metadata is encrypted or sth.
https://github.com/Perfare/Zygisk-Il2CppDumper/assets/114314300/a26350c5-a823-42bb-8d9b-d50d0f2acd66

same problem with critical ops

yep they enc their metadata...

Have u fixed this problem?

No i haven't. The dumper needs  to be updated in order to fix it.

sorry i didn't see your message with your discord i add you now

Did you fix this problem?

Did you fix this problem?

No i didn't fixed it but i think you can try with the Frida toolkit: https://frida.re

What does(Frida toolkit) do?

It helps you to debug programs you want on android and ios bit i will learn so i know as much as you. I think you need to have some bases in reverse engineering and arm/arm64 assembly

Ok thanks I will search more on it and see
Thank you for your respone!

It helps you to debug programs you want on android and ios bit i will learn so i know as much as you. I think you need to have some bases in reverse engineering and arm/arm64 assembly

Dude what is your discord. You can contact me and we can do some tests with frida together. I will try learning how it works too.

As what I've seen, This frida toolkits can hook functions and you can make mod menus with it. But I don't know if it can extract offsets from the game, I still need to do more search on it.

As what I've seen, This frida toolkits can hook functions and you can make mod menus with it. But I don't know if it can extract offsets from the game, I still need to do more search on it.

yeah I am just taking a look at it and downloading it

Hey,
Have you digged mire about Frida ?
Here is my discord so we can talk if you want: adamouchgobrr

Here is some interesting ressources if you want: https://github.com/kylesmile1103/Learn-Frida

Here is some interesting ressources if you want: https://github.com/kylesmile1103/Learn-Frida

Yeah I'm adding you so we can discuss more on it later. I haven't digged too much into it.


Add GitHub actions for testing / releases

[x] Build / Test action
[ ] Release build action

Not sure how we should go about doing releases, our options are:

Manual tagging w/ GitHub action to attach binaries
Manual GitHub action that tags and attaches binaries
Automatic tagging and binaries on every push to master (probably a bad idea)

I'm happy with a manual github action that tags and attaches binaries.


Add scrollbar to "Choose Folder" screen

The RecyclerView used to display the folder list in ChooseFolderActivity doesn't show a scrollbar, but it should.

I want to try fixing the bug, can I work on this ?

@AvineshTripathi: Sure

@cketti i m facing problem with building the project can you help me ?

@AvineshTripathi: I can try. Please post your problem/question in the discussions section: https://github.com/k9mail/k-9/discussions/categories/development-talk


Add logout

Fixes https://github.com/maxep/DiscogsAPI/issues/13
Also removed unused private property on DGIdentity

The logout should be done in the authentication endpoint, and there is no need to change the current identity public accessor, it is writable in the keychain category. By removing the DGIdentity extension, you remove the accessToken synthesization (it is used).


i have an issue,,, my uneal buildingescape uproject is not opening ,, once i close the project in unreal and delete the intermediate binaries and all unimportant files ,,,what to do  ??

@BenTristem

also for your help


No iOS Safari support

Looks like the plugin doesn't work with Safari on iOS (tried iOS 8,9 & 10)  - works fine with OSX Safari.

Hi. The plugin is, by default, disabled on mobile.
"Rellax limits the parallax feature to laptop/desktop screens since the effect is negligible on smaller screens."

Ah that's a pity, the feature would be quite useful for iPads etc.

All good - realised I can just comment out line 32 - thanks for your help.

Hey @blairwigley. Thanks for bringing this up, but one of the major reasons we wrote this is to have a stable parallax implementation that is maintained. The primary reason so many parallax repos are abandon-ware is because of all the issues that mobile/tablet's can cause.
Until device manufacturers and browsers generalize how to handle transform, scroll, touch, then the main rellax codebase will avoid working on those devices.


Add Strikes to account KP command

Add strikes to game data
Add support for progression checking of single achievement

Similar question from other PRs - I've not actually done anything with discord bots or python before.  I have not run this, and could use a bit of direction to test or validate (unless, since this is small - you want to run with it).

You can find instructions on how to test here. I really need to update the readme
Also need to change the line 200 to support progressed_achievement type

Test instructions helped.  Here's two screenshots from my account (that is noob) and another count that is full clear.


Add rubocop-i18n to extensions page

I'm one of the maintainers on the rubocop-i18n project, and I'd like to add it to the "Known Custom Cops" list.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks!


duel winstreaks?

,for the winstreak: have the time of the last duel already on your page - just need to capture the result. if it's win winstreak += 1 else winstreak = 0 -> sort user's descending by winstreak count and you should get the list
do we want this?

It does sound awesome. I support this

Well this should rarely get over 3, I mean 50% cahnce recursively is deminishing quickly. Maybe get winrates for each person and sort users by ESPORT PogChamp -rate (luck)

Fixed


PESQ value for normalized (predicted & target) and denormalized (predicted & target) form differs

🐛 Bug
Hi, I have tried to calculate metrics for my predicted output and target audio.

Calculated PESQ with normalized input
Calculated PESQ with de normalized input

I expect both values to be same but values differ. Only for few audios am getting a huge difference, for most of the audios it is negligible difference.
Code sample
Given normalized audio array

Resampling the array to 16khz

PESQ Calculation

Given a denormalized audio array

Resampling the array to 16khz

PESQ Calculation

PESQ value differs for both the normalized input and denormalized input.
What should be the input to calculate PESQ value, A normalized version or denormalized version ? Thanks in advance
Expected behavior
Expecting a same PESQ value
Environment
Name                    Version
pytorch-lightning  -         1.5.10
torch                -     1.11.0+cu115
torchaudio         -       0.11.0+cu115
torchmetrics         -     0.8.2
OS
Operating System: Ubuntu 20.04.2
Kernel: Linux 5.15.0-43-generic
Architecture: x86-64

cc: @quancs

@itz-vp  Hello, could you please upload the preds and targets (npz file) you found that have different pesq values.

What should be the input to calculate PESQ value, A normalized version or denormalized version ? Thanks in advance

The following is from torchaudio document. As it says, the normalize argument doesn't change the value of what you load, it only changes your datatype to float32. Thus, it doesn't matter whether it is normalized or not.

normalize argument does not perform volume normalization. It only converts the sample type to torch.float32 from the native sample type.

I suspect that your code changed the values such that normalized version and denormalized version have different values, thus the pesq return different pesq metric value. If it is possible, you can upload the wav and code (in a zip file). I can then do some further checks

can upload the wav and code (in a zip file)

https://workdrive.zohoexternal.com/external/5faae69fe51950da6f4ceaec79a7b02b4874e560b246193a3cb2da3f37e2cbd4

@itz-vp I write a simple test with the sample_29_clean_denorm.wav you given trying to recover the problem in your code.
import torchaudio
import torch

def equal(a: torch.Tensor, b: torch.Tensor):
    a_ = a / torch.max(torch.abs(a))
    b_ = b / torch.max(torch.abs(b))
    return (a_ == b_).all()

target_denormalized, targ_sample_rate = torchaudio.load("sample_29_clean_denorm.wav", normalize=False)
target_normalized, targ_sample_rate = torchaudio.load("sample_29_clean_denorm.wav", normalize=True)
print("target_denormalized=", target_denormalized)
print("target_normalized=", target_normalized)
print("target_denormalized == target_normalized", equal(target_denormalized, target_normalized))

target_denormalized_resample = torchaudio.functional.resample(target_denormalized.to(torch.float32), targ_sample_rate, 16000)
target_normalized_resample = torchaudio.functional.resample(target_normalized, targ_sample_rate, 16000)
print("target_denormalized_resample=", target_denormalized_resample)
print("target_normalized_resample=", target_normalized_resample)
print("target_denormalized_resample == target_normalized_resample", equal(target_denormalized_resample, target_normalized_resample))

target_denormalized_resample_int16 = target_denormalized_resample.to(torch.int16)
print("target_denormalized_resample_int16 == target_normalized_resample", equal(target_denormalized_resample_int16, target_normalized_resample))
print(target_denormalized_resample.max(), target_denormalized_resample.min())

The output is
target_denormalized= tensor([[ 0,  0,  0,  ..., -5, -4,  1]], dtype=torch.int16)
target_normalized= tensor([[ 0.0000e+00,  0.0000e+00,  0.0000e+00,  ..., -1.5259e-04,
         -1.2207e-04,  3.0518e-05]])
target_denormalized == target_normalized tensor(True)
target_denormalized_resample= tensor([[-0.0145,  0.0138, -1.2193,  ..., -6.1723, -4.7454, -1.0959]])
target_normalized_resample= tensor([[-4.4317e-07,  4.2247e-07, -3.7211e-05,  ..., -1.8836e-04,
         -1.4482e-04, -3.3443e-05]])
target_denormalized_resample == target_normalized_resample tensor(True)
target_denormalized_resample_int16 == target_normalized_resample tensor(False)

From the output, it is easy to confirm that the .to(torch.int16) you applied on a float32 Tensor makes the tensor lost its original information. So, as I mentioned before, you code indeed changes the values of the wavs, making them not equal to the original wavs in the file.


How to scan an image without the black border for marker?

Hello, I am implementing an application using AR.js where users can scan a brand image and get an AR experience? For that, I need to be able to recognize the brand logo which would not have a black marker border around it. Is it possible to do that in AR.js? What would be the best way to implement a solution like that while still using AR.js? Thanks!!

what you are describing is known as 'image-based marker' .. and unfortunatly it isnt supported by AR.js at the moment :(

Thank you for your response. We do need this functionality how would you recommend we should go about augumenting AR.js (or some other solution) in order for us to scan an image.  Our company is building an advanced AR application for the web.

Hello,
Focus on features 2D, features matching and homography. Here is an opencv example and a list of related tutorials.

Hi, I need the same function, There is something planned to implement it.
Thanks!

Thanks!! So cool. Is there any expected date when this function will be implemented?
Aditi Madane
CEO Upsilon Labs

On Aug 8, 2017, at 11:04 PM, Alvarogarmig<EMAIL_ADDRESS>wrote:
Hi, I need the same function, There is something planned to implement it.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jeromeetienne/AR.js/issues/149#issuecomment-321161417, or mute the thread https://github.com/notifications/unsubscribe-auth/AO_YvnM8MCTVl8u_fIWC_k4QpCKvCL1Xks5sWUv5gaJpZM4OqnG8.

bump

For now, it's not possible to remove black border completely because it's based on ARToolkit, but it can be modified. Angelo888 explain how it can be done in https://github.com/jeromeetienne/AR.js/issues/296.

Hi! does AR.js suppor and image-based marker now? Thanks

closed, see related PRs.


srcdoc-polyfill build error

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
{
  "GIT_SHA": "b'03e2af8bd923dbdebbc70213b359d36fe89d7b42\\n'",
  "version": "0.20.0"
}

Expected results
# Update node packages
$ npm install --save srcdoc-polyfill

# build frontend project
$ npm run dev

Actual results
ERROR in {$SUPERSET_HOME}incubator-superset/node_modules/srcdoc-polyfill/srcdoc-polyfill.js
Module build failed: Error: Couldn't find preset "airbnb" relative to directory "{$SUPERSET_HOME}incubator-superset/node_modules/srcdoc-polyfill"
    at {$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-loader/lib/index.js:50:20)
    at Object.module.exports ({$SUPERSET_HOME}incubator-superset/superset/assets/node_modules/babel-loader/lib/index.js:175:20)
 @ ./visualizations/markup.js 3:13-39
 @ ./visualizations/main.js
 @ ./javascripts/modules/superset.js
 @ ./javascripts/dashboard/Dashboard.jsx
 @ multi babel-polyfill ./javascripts/dashboard/Dashboard.jsx

Steps to reproduce
pull latest code enter assets then run:
$ npm run dev

Just npm install should work


Subscription quota limit per region behaves differently than documented

Regarding this paragraph:

Some limits are managed at a regional level.
Let's use vCPU quotas as an example. To request a quota increase with support for vCPUs, you must decide how many vCPUs you want to use in which regions. You then request an increase in vCPU quotas for the amounts and regions that you want. If you need to use 30 vCPUs in West Europe to run your application there, you specifically request 30 vCPUs in West Europe. Your vCPU quota isn't increased in any other region--only West Europe has the 30-vCPU quota.

Is it accurate? Multiple times (even yesterday) I was at 100% capacity in one Region and was able to use freed capacity from a different one.
For example, yesterday:

East US had 100% quota utilization for D2_v3
I deleted some unused D2_v3 from West Europe
I was able to immediately use that capacity in East US and create new D2_v3

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

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

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

@carlocardella - when you say you were at 100% capacity which limit did you reach?

East US had 100% quota utilization for D2_v3

The number of cores available in a given region. In this case, I was trying to scale out an AKS cluster and the new node count could have exceeded the default 100 cores allowed per region.

Add @cynthn who knows more about VM quotas.
I want to make sure we are referring to the same quota. Did you look at the Quotas and see that for East US the Total Regional vCPUs and/or D2_v3 vCPUs was at max number, such as 100 of 100? And, after deleting VMs from West Europe, you were able to exceed the limit for East US, such as 105 of 100?

Correct

@cynthn - are you familiar with scenarios where the regional quotas are exceeded?

I cannot repro this, I think it is safe to close for now


Make use of the new Application origin property

There could be two parts to this

Interpret the origin property to show how the app was deployed in the app detail page
Allow the user to 'redeploy' the app (run through a limited version of the app create wizard). Covered by https://github.com/epinio/ui/issues/10

Currently blocked on https://github.com/epinio/epinio/issues/1058

Useful for tracking origin Kind
// https://github.com/epinio/epinio/blob/7eb93b6dc735f8a6db26b8a242ae62a34877014c/pkg/api/core/v1/models/models.go#L96
export const APPLICATION_MANIFEST_SOURCE_TYPE = {
  NONE:      0,
  PATH:      1,
  GIT:       2,
  CONTAINER: 3,
};


Create a project for WebJob .NetCore

In "Create a project" it only mentions creating .Net Framework Console Application, shouldn't this be .NetCore for WebJob 3.0?
https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started#create-a-project
Thanks.

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

ID: 2e9e1a8a-6284-a230-061e-7cb27258571a
Version Independent ID: 43390e30-04d6-6d4e-018e-21419dbb11e8
Content: Get started with the WebJobs SDK - Azure
Content Source: articles/app-service/webjobs-sdk-get-started.md
Service: app-service-web
GitHub Login: @ggailey777
Microsoft Alias: glenga

@batizar Thanks for raising this issue. I will check the document.

@batizar If you are using version 3.x of the WebJobs SDK, you can also select .NET Core > Console App (.NET Core). There is no .NET Core-specific template for WebJobs SDK projects, but you can publish to Azure and you get a WebJob. I am in the process of updating the articles now.

@batizar If there are no further questions, can I go ahead and close the issue?

@DashleenBhandari-MSFT thanks for clarification but is the document going to be updated? thanks.

@ggailey777 have done the same in my project because it made sense to use .NetCore if I am going through the trouble to upgrade my project to WebJob 3, so was just wondering if that was just a mistake in the documentation.

@batizar , yes the article is being updated.

@batizar If you are using version 3.x of the WebJobs SDK, you can also select .NET Core > Console App (.NET Core). There is no .NET Core-specific template for WebJobs SDK projects, but you can publish to Azure and you get a WebJob. I am in the process of updating the articles now.

We have actually changed the article to now focus on .NET Core console apps.

I'm still seeing the "Console App (.Net Framework)" instead of the "Console App (.Net Core)". Or at least the clarification on the document that you can choose one of the two options :).

Sorry for the confusion, but the updates haven’t gone live yet.

@ggailey777 So now for both 2.0 and 3.0 is ok to use .netcore, right? thanks.

You will need to use SDK 3.0 for a netcore app. The doc updates should be live now.

#please-close
Feel free to reopen this issue if we haven't addressed all of your concerns.


GDScript: Add support for relative paths in load()

Fixes #35832.
See also https://github.com/godotengine/godot/pull/66550#issuecomment-1648038763.
See also #90029.
See also #90039.

TODO

[ ] Add tests.
[ ] Update docs.

I think this could be a great improvement, but some questions and things to clarify in the documentation bit:

Is this determined on a script by script basis, i.e. not by the scene the script is used in, if it is, or the location of a resource using the script, i.e. if you have res://a/foo.gd and save a resource of that resource as res://b/bar.tres, and in a method in foo.gd there's a load("baz.png"), does it load res://a/baz.png or res://b/baz.png?
If yes, how does it work with inheritance, I.e. if you create a script res://b/bar.gd which extends some script res://a/foo.gd, how does it handle the question above?

Just some things I think would be easy traps for people depending on how it works, so would be important to document clearly

I think the behavior should be identical to preload(), except for load() is executed at runtime. I.e. path is relative to the directory in which the current script is located.

Does this handle edge cases in which the load or ResourceLoader.load functions are called dynamically?
For example, if I pass a reference to the ResourceLoader.load function using .bind(), or if I use .call_deferred("load", ...) vs .load.call_deferred(...), those will not work with relative paths I assume?
Also what happens if a user who does not use ResourceLoader declares their own func load(filename: String) in script?


Support semicolons in query parameters (correction for #8855)

Motivation:
Support semicolons in query parameters
Modification:
deleted specific case for ";" in QueryStringDecoder, corrected test
Result:
Fixes #8855

@netty-bot test this please

Looking at the issue, this seems like a change in algorithm. I don't understand how this can be considered safe, since it could be rightly depended on if someone is using the previous encoder.
Note that #8855 only linked to the encoding algorithm. That is not the same as a decoding algorithm, which has to take into account previous encoding algorithms for compatibility.

#8855 refers to a change in the W3C recommendation from 1999 to 2014
it concerns the decoding of query strings by the server, hence the change in QueryStringDecoder
other servers (IIS, Apache, etc.) already implement this

I'm sorry. I now see that there is a decoding algorithm later in the section. I skimmed and searched for "decoding" (to mirror the "encoding algorithm" used earlier), but they just said "to decode...".
For a new implementation, I do think I would follow their recommendation. It's not clear how it impacts existing implementations though. Netty will be decoding parameters generated from an assortment of sources, and it would seem that changing the behavior of ; could break some of them. Most of the time I would be happy to change the behavior to align to the standard, but this is a case where the standard changed in an incompatible way.
I'd be fine with an option, or a new method, or changing the behavior in Netty 5. But as has been made clearly evident with things like URLs, just because the standard says something doesn't mean it is actually compatible.

@ejona86 good point... maybe we should make it a constructor arg ?

@marcban as mentioned can you please add a new constructor arg to the QueryStringDecoder which allows to change how decoding is done (using the old way as default).

@ejona86 would this make you more comfortable ^^ ?

I'd have no reservation with a way to opt-in to the new behavior.

@marcb can you please update your PR to use the constructor flag ?

Closing this as the author did not respond anymore and the ICLA was not signed so there is no way I can finish it

I'm very sorry, I realize I lack some elementary skills to work on open source projects, like if I should open another branch, how to choose parameter names, how many constructors to implement for this class, etc. I don't even know what an ICLA is and how to sign it... At the end I duplicated the modified method in my project, ignoring Vertx/Netty standard method for reading URI parameters


Use buffer the request came from instead of current buffer

When you're currently on a line with available code action and then open a new window from that line (eg. :help), the sign can be placed on another buffer, because _update* functions always use the current buffer. This PR fixes this bug by passing the buffer handle to the handler function when the codeAction request is made.

Thank you for the PR. I can't seem to reproduce the issue you mentioned. Can you give me an example workflow where the lightbulb shows up where it's not supposed to? Not to say that it's not a good idea to get the buffer only at the start, I'll review and merge as soon as possible.

https://asciinema.org/a/G0yDogA9xOdQAkr5iXZoOzRLe

Maybe that's because I call it very often, on CursorMoved event.
au CursorMoved * lua require 'nvim-lightbulb'.update_lightbulb()

Maybe that's because I call it very often, on CursorMoved event.

That makes a lot of sense, thank you for the improvement!


[CS2103-W16-4] SalesPunch

Introducing SalesPunch, the ultimate sales CRM for kickass salespeople who don't have time to mess around with clunky interfaces.  Say goodbye to endless clicking and hello to more closed deals with SalesPunch!


Clippy run

Fixed the clippy error lints so people with clippy on can at least build and removed a few of the most glaring warnings to make things more idiomatic.
Ran the tests plus the examples to see there is no problem (I advice though that having more testings and a CI pipeline up to be one of the first things to do, like things are now refactors are hard.)
There still are 60+ warnings but I saw a lot of comments and 'to be implemented' stuff and fixing some of these may require further refactoring, so left those for now.
Closes #13

Fixed the 3 issues.

thanks @iduartgomez


Disable chef-client service if it exists

Description
If using a scheduled task then the service should be disabled if it exists.
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

This needs some more testing, please don't merge just yet.

Good to merge now, and fixed the spec tests.

I fixed it via the GUI. Thanks for fixing the service issue though


Make FailoverClient(sentinel mode) more robust

Make FailoverClient(sentinel mode) more robust

add failover option AllowDisconnectedSlaves
shuffle the sentinel addresses
query other sentinels when get empty slave addresses

@vmihailenco PTAL

Looks good. I am going to tweak code a bit myself but but nothing big.


mozart2: init at 2.0.1

Adding this non-binary version besides the existing mozart-binary.

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS

[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

There is no need for adding a "2" in the names and for the aliases IMHO.
Sticking to mozart and mozart-binary is fine and clear.

There is no need for adding a "2" in the names and for the aliases IMHO.
Sticking to mozart and mozart-binary is fine and clear.

Well, I am not too sure about that. the upstream repo is at mozart/mozart2, implying that this is a different project. ArchLinux and debian also use mozart2 as the package name.

You're right, upstream name is mozart2 so we should stick to it.
It feels somewhat weird to have 3 names for the previous v2.0.0-binary package and 1 for the newer v2.0.1 built from source. I'm not sure we should continue to carry the binary pkg after this get merged but that is probably a job for another PR later.

Are there any updates on this pull request, please?

Updated, rebased and fixed ! I guess this can be merged when Ofborg accepts ;-)

Turns out using pname was a bad idea ;-)

@GrahamcOfBorg build mozart2

This needs to be rebased.  Is the darwin failure reported by ofborg a regression?

@joachifm Thanks, this has been rebased, and updated to fix the OS/X failure. I  do not have access to any darwin builder, so this is a blind guess.

@GrahamcOfBorg build mozart2

I think we can have a look at the darwin thing later.  Thank you.


Fix GLIBCXX_3.4.29 not found error in the Julia wrapper

It seems this version is not shipped with<EMAIL_ADDRESS>The only way left is to make a symlink or remove libstdc++.so.6 from the prebuilt julia binary.

[ ] Check whether making a symlink works or not.

Can you pull changes from master and try again?

Hi @findmyway,
I had to disable the julia test this morning: https://github.com/deepmind/open_spiel/commit/cb327b1d662e3552416c9e10af61cf994ae6a746
Can you add it back in this branch?

Yes, sure. I'm working on it.

IIRC we needed a copy command previously, see https://github.com/deepmind/open_spiel/commit/885dd00c1ac0839f641a8e9c2c68bee5e7f16f4d

I've disabled the JAX NFSP test, importing this now, thanks for the fix!


maximum encode_number_precision value

for the latest code， I found the maximum value of encode_number_precision is 16, which is merged in commit.
https://github.com/openresty/lua-cjson/commit/f79aa68af865ae84b36c7e794beedd87fef2ed54
For our scenes， we use int64 value in json strings, which means 16 precission numbers is not enough for us.
So any suggestions?
Can we change max value of encode_number_precision to 19,  20 or  add new configuration like cjson.max_encode_number_precision(X) for different scenes?
Thanks.

Same problem here.
Please change to a number support int64 type


merge from arlac77/npm-package-template-esm-only

package.json

chore(package): remove ^1.0.0 (devDependencies.markdown-doctest)
chore(package): add ^17.0.2 remove ^17.0.1 (devDependencies.semantic-release)

Codecov Report

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

@@          Coverage Diff          @@
##           master   #678   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          30     30
  Branches        9      9
=====================================
  Hits           30     30

Continue to review full report at Codecov.

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[UI] Perform batch action on workflows

In the same spirit as in https://github.com/kubernetes/dashboard/issues/5239, it would be nice to be able to select multiple workflows and perform batch action on it from the web UI.

Would you like to propose what use cases you need? Even submit a PR?

The use case is simply to be able to delete multiple workflows at the same time without deleting them one by one.
It's not really a blocking feature for me but more an enhancement. I'll have a look whenever I have some time.

@rbreeze Would you like to own?

Sure!

@hadim Is an interface like this, with checkboxes on the left, what you had in mind?

That's exactly the idea :-)


Default search behavior changes once theme is applied. It becomes a little "messy"

Going to need some more details before this can be worked on. I need Firefox version, OS, and a screenshot of the issue.

https://imgur.com/a/NDzg87L
Firefox version: 70.0.1 (64-bit)
OS version: 1809 (OS Build 17763.805)

Do you have other theme or userChromes possibly interfering?

I have Shadowfox. Apparently, MaterialFox and Shadowfox being together messes up the color of the search bar.

Had to mark this as wontfix, unfortunately. Can't really guarantee support for other userChrome themes because they all use !important and try to override each other. If you're really keen to get this working you can manually find the offending element and set background-color: transparent.


Structured Control Flow

For non-kernel shaders SPIR-V requires you to mark structured control flow with merge instructions.
Primary Tasks:

[x] Conditional Branch
[ ] Loops - in progress
[ ] Switch

Secondary Tasks:

[ ] Find convergence points using post-dominator tree algorithm instead of approach.
[ ] Optimize loop detection.

Backlog:

[ ] "make reducible" pass.

The MIR generated from rust is currently reducible. This might change in the future or we might have missed a corner case.

Hey! I know that loops are in progress, but I would be happy to help with them if there was any subtask that you may want to offload to an open source contributor!
I have some experience with structured control flow, in the past I've worked on a SPMD pass on top of the Julia IR. I'll also be more than happy to work on switch!

Reminder for us: NO_DCE=1 is broken right now (hangs for a long time - infinitely? - in the structurization pass). We should add NO_DCE=1 to tests once we fix that.

Hey! I know that loops are in progress, but I would be happy to help with them if there was any subtask that you may want to offload to an open source contributor!
I have some experience with structured control flow, in the past I've worked on a SPMD pass on top of the Julia IR. I'll also be more than happy to work on switch!

Hey thanks for the offer. I expect to get loops and switches in before the end of the week. But if you want to look into creating a irreducible -> reducible pass that would be very helpful for us in the future. However I believe the plan is to strip the structuration pass and put it into SPIRV-TOOLS once we have the reducible pass since it may be off help to many more people. If you want to talk more in-depth you can always talk to me on the Embark discord.


No error on missing properties in an interface

TypeScript Version:  2.2.0RC
Code
declare interface ITrigger {
	tableName: string,
	action: "fetch" | "add" | "remove" | "update",
	method: () => void, // NB : same results are observed whith method: Function
	fields: string[]
}

const foo1 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		action: 'bar', // OK : TS error on wrong action type
		fields: []
	}]
}

const foo2 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		action: 'add',
		// why no error on missing property method ??
		fields: ['id1', 'id2']
	}]
}

const foo3 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		method: () => { },
		// why no error on missing property 'action' ??
		fields: ['id1', 'id2']
	}]
}

const foo4 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		action: 'add',
		method: 'wrongType', // OK, TS error 'Type "string" is not comparable to type "Function"
		fields: ['id1', 'id2']
	}]
}

const foo5 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		action: 'add',
		// what is this magic ?? when fields is assigned with numbers (thus wrong type), now TS show error 'Property "method" is missing'
		// and where is the error on wrong fields type ??
		fields: [1, 2]
	}]
}

const foo6 = {
	triggers: <ITrigger[]>[{
		tableName: 'pay_contrat_cnt',
		action: 'add',
		method: () => { },
		fields: [1, 2] // OK, TS error on 'type Number[] is not comparable to type String[]'
	}]
}

Expected behavior:
cases foo2 and foo3 should error on missing properties (see comments)
case foo5 should error on wrong type for 'fields' property in addition to missing property 'method'
Actual behavior:
No errors on cases foo2 et foo3
Error on foo5 but seems (weirdly) triggered by the wrong type on property 'fields'.

To add to this, since I was just playing with something similar;
Creating an intermediate interface where you declare triggers as an array of ITrigger seems to work correctly, so the issues should be in using the <ITrigger[]> syntax.
interface collection {
    triggers: ITrigger[];
}

const foo2: collection = {
    triggers: [{
        tableName: 'pay_contrat_cnt',
        action: 'add',
        // Property 'method' is missing in type '{ tableName: string; action: "add"; fields: string[]; }'.
        fields: ['id1', 'id2']
    }]
}

Still a problem in tsc 2.6.1

the <ITrigger[]> is a type assertion.. it tells the compiler trust me it is an ITrigger[].
The compiler does an extra check for type assertions to verify that one of the two is assignable to the other.. in foo1, foo3 and foo5 that is what happens, and you do not get the error.. this is the same as <Dog>(new Animal()). the compiler will not complain if you down-cast your way to a more specialized type..
you can read more about type assertions in http://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions
It seems what you intend here is to use a type annotation on the target of your assignment, and not cast your way through
const foo2: {triggers: ITrigger[] } = {
	triggers: [{
		tableName: 'pay_contrat_cnt',
		action: 'add',
		// why no error on missing property method ??
		fields: ['id1', 'id2']
	}]
}


CONTRIBUTING.rst has a broken link

Describe the bug
https://github.com/Azure/azure-cli/blob/dev/CONTRIBUTING.rst at revision  5173fd1 has a broken link, the Microsoft Azure Projects Contribution Guidelines link goes to http://azure.github.io/guidelines.html which is a HTTP 404
To Reproduce
click on the link in CONTRIBUTING.rst
Expected behavior
that it should link to a page where it shows the azure project contribution guidelines
Environment summary
N/A
Additional context
N/A

add to S175

Hi @mgrandi, I think the right cod you want should be https://github.com/Azure/azure-cli/tree/dev/doc/authoring_command_modules.

please also sync with the latest dev branch

I think we lose it now.
To contribute the code, you could just build your developer environment and write code according to https://github.com/Azure/azure-cli#developer-setup


Implements show number of contributors

Issue

#181

Overview (Required)

Implements show number of contributors
Remove unnecessary import

Links

Screenshot

Before
After

LGTM!