Fixed version of Microsoft.PowerShell.Secretmanagement required

I've just tried to install this module and I got the following error;
PackageManagement\Install-Package : The following commands are already available on this
system:'Get-Secret,Get-SecretInfo,Remove-Secret,Set-Secret,Test-SecretVault'. This module 'SecretManagement.CyberArk'
may override the existing commands. If you still want to install this module 'SecretManagement.CyberArk', use
-AllowClobber parameter.

Checking the file SecretManagement.CyberArk.psd1  it has the follow required module set;
RequiredModules = @(
    'psPAS',
    @{
        ModuleName = 'Microsoft.Powershell.SecretManagement'
        ModuleVersion = '1.0.0'
    }
)

The current version on PSGallery is 1.1.1, which I has installed on my computer.
Would it be possible to remove the ModuleVersion or update it to allow more recent versions?

According to https://docs.microsoft.com/en-us/powershell/scripting/developer/module/how-to-write-a-powershell-module-manifest?view=powershell-7.2#module-manifest-elements, when ModuleVersion is defined, then "it will load the newest version available with a minimum of the version specified."
I am also unable to reproduce with PS 7.1.5
tim@Tims-MBP  ~  pwsh
PowerShell 7.1.5
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

   A new PowerShell stable release is available: v7.2.0
   Upgrade now, or check out the release page at:
     https://aka.ms/PowerShell-Release?tag=v7.2.0

Loading personal and system profiles took 712ms.
PS /Users/tim> import-module SecretManagement.CyberArk
PS /Users/tim> Get-Module

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Manifest   <IP_ADDRESS>               Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-Item, Clear-It…
Binary     1.1.1                 Microsoft.PowerShell.SecretManagem… {Get-Secret, Get-SecretInfo, Get-SecretVault, Reg…
Manifest   <IP_ADDRESS>               Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Ob…
Script     4.5.90                psPAS                               {Add-PASAccount, Add-PASAccountACL, Add-PASAccoun…
Script     2.2.0      beta2      PSReadLine                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, …
Manifest   0.3                   SecretManagement.CyberArk           {Get-Secret, Get-SecretInfo, Remove-Secret, Set-S…
Script     0.5.0                 Terminal-Icons                      {Add-TerminalIconsColorTheme, Add-TerminalIconsIc…

PS /Users/tim>

I think it's something on the work laptop that's causing the warnings so I'll close this issue.
Thank you for checking and supplying this module.


Nuxt.js and vite

What problem does this feature solve?
What do you think about the new vite project https://github.com/vuejs/vite, when vite get production ready could we use it instead of webpack for development

This feature request is available on Nuxt community (#c10654)

Hi @mdbetancourt
Right now we keep the focus on Vue 3 + Webpack 5 since it keeps the same developer experience both in development as in production (+ all the advantages of using Webpack).
We are already keeping an eye on vite as well as zipe to see how we can also support this solution, but it will be only when we are sure that the developer experience is not compromised.

I think there are some really great things with Webpack + Vue 3. I was curious to try Vite, and yes, while it is really cool, I realized it still has that "experimental feel" to it, and might be like that for a while. However, if anyone's interested, I just pushed "nuxt-vite" to my repo. It's nothing really special, because all it is is symlinking the main Nuxt folders. But it can be a useful thing to have for a developer (one screen has Nuxt, the other Vite. So sometimes is Nuxt app server restarts, while it's restarting, the dev would still be able to make progress on the client side and see those changes).

This is now implemented in Nuxt 3 as the default builder.


Improve Activity Dashboard Loading

Best way is to probably have it so it doesn't refresh every time you open the dashboard but rather only when you swipe down to refresh.

Completed with PR #83


[BR - Localization] Localization issues on game levels.

1: There are several levels that have localization issues on the Hint tab.
2: In the first levels the blue tab with hints says to click on "Finalizar" button which does not exist. The existing name of the button is "Pronto".
3: On the reload level button the warning should show “Você tem certeza que quer reiniciar a fase?” ou “Você tem certeza que quer reiniciar este nível?”.

You can edit the translations for these at https://direct.codecombat.com/i18n

2 e 3 fixed.


Refactor code actions to use context instead of our own cache

Motivation
Closes #487
Instead of caching diagnostics ourselves, we should leverage the specification and use what's already available. Every code action request receives a context object, which contains the current diagnostics for the file, so there's no point in reading from our cache.
Note: the reason this is coming during this week is because it helps my hackdays idea 😂.
Implementation

Removed a ton of unused code, especially related to syntax errror diagnostics which we no longer produce
Started returning the code actions straight from the diagnostics request inside the data attribute which is always preserved between a diagnostic -> code action request
Simplified code actions to use the context parameter rather than trying to read from our own cache

Automated Tests
Had to change a bunch of tests. Some didn't make sense anymore, others needed to have expectations updated since the response changed for diagnostics and code actions.
Manual Tests
Verify code actions still work. For example

Open the LSP on this branch
Make a violation (e.g.: wrong indentation)
Hover over the violation
Use the quickfix
Verify that the violation has been fixed

@st0012 That's a good point, I split the changes to use aliased constants into a separate commit.
I would still consider this a refactor since it's not fixing any bugs or changing behaviour in any way. It's just an internal change on how we gather the code action quickfixes.


ng new ivy-proj --enable-ivy should use next version of framework

We currently use 8.1, but should always use next because Ivy fixes are not backported.

Just a note: we had this in the past, but we changed it not to install next packages when enabling Ivy.

This issue is now obsolete.


"No video formats found"

Checklist

[X] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2020.07.28
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones

Verbose log

~$ youtube-dl -F https://xhamster.com/videos/vista-valley-12546393
[XHamster] 12546393: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
~$ youtube-dl -F --verbose --no-check-certificate https://xhamster.com/videos/vista-valley-12546393
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '--verbose', '--no-check-certificate', 'https://xhamster.com/videos/vista-valley-12546393']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - Linux-5.7.11-200.fc32.x86_64-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[XHamster] 12546393: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/xhamster.py", line 242, in _real_extract
    self._sort_formats(formats)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1350, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Nothing special. Just fails to see any video formats from this URL

I think it it's the issue closed with https://github.com/ytdl-org/youtube-dl/pull/26254, but the change isn't in the last released version.


ci: validate behaviour of steamcmd in github actions

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


"Password Recovery" not working with facebook

the "Password Recovery" tool don't give the password of facebook accounts only email

#416 #326


Create profile page.

Issue #24
Looking for feedback.
Created skeleton for profile page.

Issue #25 as well.

Merge conflict needs to be resolved


Add files via upload - adding the Universidade Federal de Ouro Preto

@

@rcpsilva I am sorry for a delay with processing your request.
Pull request merged. Thank you!


Ignore "Property not allowed"

Hello, is there a way to ignore "Property not found" errors during document validation? For example:
const [openapi, error, warning] = await Enforcer(path, {
    fullResult: true,
    componentOptions: {
        exceptionSkipCodes: [
            // Don't warn for non-standard format types
            'WSCH001',

            // Don't check "example" properties
            'WSCH006',
        ],
    },
});

When called, the error will be:
One or more errors exist in the OpenApi definition
  at: components > schemas > somethingV1 > properties
    at: somethingElseV1 > properties
      at: id
        Property not allowed: readonly
      at: myProperty
        Property not allowed: readonly
      at: myOtherProperty
        Property not allowed: readonly
    at: version > properties > someProperty
      Property not allowed: additionalProperties

We would like to allow properties like "readonly" and "additionalProperties" even though they don't quite conform to the spec. Is there a way to ignore this step of the document validation entirely?
Thank you for your help!

You can now use properties that are not part of the actual spec by specifying the exception skip code EDEV001. If you are unfamiliar with the way skip codes work please see this documentation: https://openapi-enforcer.com/api/#enforcer
This has been published to NPM with version 1.21.0.
Have a great day!

I believe you are specifying the code correctly. I'll check this out. Also, if you have an example openapi.yml or other file that I could run it against that will help to ensure that I've fixed the problem.

@Gi60s I've run in this to: it seems as if the exceptionSkipCodes options are not respected.
The debugger pointed to
https://github.com/Gi60s/openapi-enforcer/blob/fc78fe42b4cf2eba9200188cc8d45f8aaadf1577/src/definition-validator.js#L388
which in this case creates a new Schema(new ValidatorState(data)) using constructor helper
https://github.com/Gi60s/openapi-enforcer/blob/fc78fe42b4cf2eba9200188cc8d45f8aaadf1577/src/super.js#L79
The user options are carried in the definition.options but not used and options is not set ...

A test case:
openapi-enforcer-140.zip

Thanks for your patience. This should be fixed now. Try version 1.22.1.


Fails to save logs with there's a "/" in the screen name

I have a contact who's screen name is in the form of<EMAIL_ADDRESS> This is a Yahoo screenname.  When this program tries to write out the files, it gives errors like this:
Could not open log file for writing. (Details: Errno::ENOENT: No such file or directory - /Users/localusername/Library/Application Support/Adium 2.0/Users/Default/Logs/Yahoo!.username/msn/username<EMAIL_ADDRESS><EMAIL_ADDRESS>(2011-07-29T22:11:05+00:00).xml)
Successfully parsed file, but failed to write it out. Path<EMAIL_ADDRESS>

Yeah, this is because the "/" is read as a directory separator. I'm honestly not sure how to work around that - as far as I know, Unix won't ever let you use / as part of a directory name. Any ideas?

Sure.  The way Adium handles it is to change the forward slash into dash (minus sign).  I'm not sure where exactly to put it, but a simple search and replace from a forward slash to a dash should fix it.

Hm, interesting. I'll look into this - do you know if Adium auto-translates the dash back into a slash in the display (i.e. do I need to do anything beyond screen_name.gsub('/', '-')?

I can't get that at the moment, but I can tell you that all the ones in the path are changed, but the forward slashes are left intact in the sender attribute of the message tag in the xml logs.  Is that enough information?

Yep, that helps. Thanks!


default_unless reads merged values

Description
If the normal level is set for an attribute, but default is not set, default_unless fails to set the attribute. This used to work in the 12.11.x versions and earlier.
I believe this caused by the changes in 86fa507 for #5029. Another similar (but not exactly the same) issue is #5094
Chef Version
12.16.42 (although this has probably been an issue since 12.12.9)
Platform Version
Ubuntu 14.04
Replication Case
Create the file example.rb with the following:
node.normal['abc'] = [{'def' => 1}]
puts node.normal.inspect

node.default_unless['abc'] = []
puts node.default.inspect

node.default['abc'].push({'def' => 2})
puts node.default.inspect

Then run that script with:
$ chef-apply example.rb

Client Output
With Chef 12.11.18 this produces the output:
{"tags"=>[], "abc"=>[{"def"=>1}]}
{"abc"=>[]}
{"abc"=>[{"def"=>2}]}

However with Chef 12.16.42 it fails with:
{"tags"=>[], "abc"=>[{"def"=>1}]}
{}
[2016-11-16T20:19:40+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-11-16T20:19:40+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-11-16T20:19:40+00:00] FATAL: NoMethodError: Undefined node attribute or method `push' on `node'. To set an attribute, use `push=value' instead.

Stacktrace
Generated at 2016-11-16 20:19:40 +0000
NoMethodError: Undefined node attribute or method `push' on `node'. To set an attribute, use `push=value' instead.
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/node/attribute_collections.rb:197:in `method_missing'
example.rb:7:in `run_chef_recipe'
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/apply.rb:192:in `instance_eval'
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/apply.rb:192:in `run_chef_recipe'
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/apply.rb:205:in `run_application'
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/apply.rb:218:in `run'
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/bin/chef-apply:25:in `<top (required)>'
/opt/chefdk/bin/chef-apply:58:in `load'
/opt/chefdk/bin/chef-apply:58:in `<main>'

It looks to me like this is only setting default if the read of the merged attributes is nil. That isn't how it used to work. https://github.com/chef/chef/blob/v12.17.15/lib/chef/node/attribute.rb#L424

yep that looks incorrect.


[PAPI-399] Reduce AKV reload interval

The long reload interval makes it difficult to diagnose key vault caching issues. Reducing it won't be a problem because it doesn't consume a lot of resources and won't even get close to any Azure limits. Every 16 seconds matches with block time, so config changes should get propagated for the following block.

I don't think this will change anything, when I tested I waited 20 minutes for maintenance lock to refresh and it never did.


BigQuery: 'test_undelete_table' systest

See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/7481
_____________________________ test_undelete_table ______________________________

client = <google.cloud.bigquery.client.Client object at 0x7f7bd1a56e50>
to_delete = [Dataset(DatasetReference(u'precise-truck-742', u'undelete_table_dataset_1532973955590'))]

    def test_undelete_table(client, to_delete):
        dataset_id = 'undelete_table_dataset_{}'.format(_millis())
        table_id = 'undelete_table_table_{}'.format(_millis())
        dataset = bigquery.Dataset(client.dataset(dataset_id))
        dataset.location = 'US'
        dataset = client.create_dataset(dataset)
        to_delete.append(dataset)

        table = bigquery.Table(dataset.table(table_id), schema=SCHEMA)
        client.create_table(table)

        # [START bigquery_undelete_table]
        # import time
        # from google.cloud import bigquery
        # client = bigquery.Client()
        # dataset_id = 'my_dataset'
        # table_id = 'my_table'

        table_ref = client.dataset(dataset_id).table(table_id)

        # Record the current time in milliseconds.

            Args:
                timeout (int):
                    How long (in seconds) to wait for the operation to complete.
                    If None, wait indefinitely.

            Returns:
                google.protobuf.Message: The Operation's result.

            Raises:
                google.api_core.GoogleAPICallError: If the operation errors or if
                    the timeout is reached before the operation completes.
            """
        self._blocking_poll(timeout=timeout)

        if self._exception is not None:
            # pylint: disable=raising-bad-type
            # Pylint doesn't recognize that this is valid in this case.
>           raise self._exception
E           BadRequest: 400 Invalid snapshot time<PHONE_NUMBER>207 for table precise-truck-742:undelete_table_dataset_1532973955590.undelete_table_table_1532973955590@1532973956207. Cannot read before<PHONE_NUMBER>237

../.nox/snip-2-7/lib/python2.7/site-packages/google/api_core/future/polling.py:120: BadRequest

@tswast Can you suggest a fix for the test?

I suspect this is time drift between the backend and the test node where the code is running, since the table create time is determined by backend, and we're picking the snapshot time based on the current time of the test node immediately thereafter.
We could pick the snapshot time based on the response from table_create, but it requires reworking the sample a bit.  I'll grab this one.


move to JuliaRegistries

As a part of the open-source infrastructure for Julia's registration process, this should be moved to the @JuliaRegistries org along with Registrator.jl (https://github.com/JuliaComputing/Registrator.jl/issues/126). Are there any issues with moving this, @christopher-dG? Will it break things if we move it?

Registrator.jl has been move now.

Nothing will break. I do not however have permissions to transfer the repo.

Ok, lemme give you that...

🎉


[Fix] DataEngineer().subset(country=None) ignores NAs when calculating total values

Summary of question
Good day!
How can I analysis global data from DataEngineer() ?
Code
eng = cs.DataEngineer()
eng.download(country=None,  province=None);
eng.clean()
eng.transform()
actual_df, status, _ = eng.subset(geo=("Nigeria",), variables="SIRF", complement=True)
print(status)
actual_df.tail()

I need  geo=("Global",) if there is something like that.
I want to test the model at the global scale

Thank you for your question!
Please try the next script and let me know whether this is suitable for your analysis or not. If suitable, I will update internal codes of covsirphy.
import covsirphy as cs
eng = cs.DataEngineer()
eng.download(country=None,  province=None);
eng.clean()
eng.transform()
# Get country-level data
top_df = eng.layer(geo=None, variables="SIRF").drop(["Province", "City"], axis=1)
# Fill in NAs some countries (top-level administration) have
variables = list(set(top_df.columns) - set(["ISO3", "Date"]))
pivot_df = top_df.pivot_table(values=variables, index="Date", columns="ISO3", aggfunc="last")
filled_df = pivot_df.ffill().fillna(0).stack().reset_index()
# Recreate DataEngineer() instance with the filled data
eng2 = cs.DataEngineer(layers=["ISO3"])
eng2 = eng2.register(filled_df, citation=eng.citations())
eng2.inverse_transform()
# Get data at global scale
actual_df, status, _ = eng2.subset(geo=None, variables="SIRF", complement=True)
print(status)
actual_df.tail()

We can use .subset(geo=None) or .subset(geo=(None,)) to get data at global scale, but they just calculate total values at country level on dates. This makes some troubles because the first/last dates of records are different for countires.

It worked very well!! No issues at all.
For the sake of experimentation, I think that, you can also combine the already dowloaded file in the "input" folder.
How can I do that without necessarily dowloading the files every time?
In the previous versions of covsirphy we  cs.DataLoader("input", update_interval=24)

@shik-design
Thank you for your confirmetion!
We will execute the folowing codes after 2.27.1 release.
import covsirphy as cs
eng = cs.DataEngineer()
eng.download(
    country=None, province=None,
    databases=["covid19dh", "japan", "owid"], directory="input", update_interval=24);
eng.clean()
eng.transform()
actual_df, status, _ = eng.subset(geo=None, variables="SIRF", complement=True)
print(status)
actual_df.tail()

How can I do that without necessarily dowloading the files every time?
In the previous versions of covsirphy we cs.DataLoader("input", update_interval=24)

Please use the keyword arguments: .download(directory="input", update_interval=24).
Default values are directory="input" and update_interval=12.
FYI.
Please use .download(databases=["covid19dh", "japan", "owid"]).
Refer to https://github.com/lisphilar/covid19-sir/issues/1223 and https://github.com/lisphilar/covid19-sir/issues/1224


Log active element when notebook smoke test fails

A notebook smoke test has failed to open a file a couple of times in the past. One theory is that there is something taking the focus away from the quick input element right before the 'enter' step. This PR adds active element information to the logs if the quick input element is not in focus.

Pull Request Test Coverage Report for Build 408821983

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

Totals

Change from base Build 408754638:
0.0%

Covered Lines:
22065

Relevant Lines:
48860

💛  - Coveralls


Start tracking the Faculty Handbook starting from September 2020

This issue represents the starting point of tracking the Faculty Handbook in github.
The move from a Word document to github is scheduled to be presented to the faculty for vote on 2/25/2022.  It is initiated as a motion from Faculty Council.
The original Word document is included in this collection for reference.

motion01_v01.pdf

About this document section added for clarity as Appendix B

This process was approved the faculty at a faculty meeting in Spring 2022.


Detailed sparse library check

Summary
Avoid making the whole method fail if sparse is not installed, instead check inside the method,
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.71%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
17148

Relevant Lines:
20007

💛  - Coveralls


Need to qualify type constructor in state type declaration

When declaring the type of the state, we use the type of the models.
They are usually types from the Gospelstdlib (but this is not a gospel obligation).
The code generated does not qualify the type constructors, so list is really from the OCaml standard library and sequence raises an error.
There are two possibilities:

qualify the type constructors in the type state declaration (this need checking that this is indeed a type from the Gospelstdlib)
open Ortac_runtime.Gospelstdlib before (we need to chack that this does not raise name capture problem)

Oh! That’s ringing a bell!
core_type_of_ty_with_subst has a special case for integer (but core_type_of_tysymbol has not, and I don’t know why) which is a really adhoc solution. But now, it turns out that there are more than one such case.
And contrary to what term does, those functions don’t rely on Ident.t unicity to ensure the proper name resolution is performed.
I suggest we use for types what we do for value names, ie adding them to the context with the proper full name. Adding integer to the stdlib field of the context (along with all the types of the Gospelstdlib) would be a nicer special case than what is done currently.
Do you agree?


Fix CpuBufferPool allocation strategy

The previous strategy was quite sub-optimal and was failing hard with OOM when chunk was used for allocating big buffers, e.g. textures, due to the multiplication of data.len() with current capacity.
Fixes: #984

It could be a good idea to provide set_capacity(new_capacity: usize) and try_chunk methods for more control over allocation process, the latter will return an error if there is not enough capacity in the underlying buffer.

pull request

Oh thanks! Multiplying data.len() with the capacity is a reliquate from an old version of the buffer pool and definitely not intended to still be there.


Bump rxjs

this forces the lock file onto rxjs to 7.8, there was a mix of 7.6 and 7.8 in the code, this should fix the build error
technically, it is a bit fragile that we require the exact version numbers to match like this, and we could try to work on that, but hope this helps

xref https://github.com/GMOD/jbrowse-components/issues/3612

note, can also have achieved the same thing doing a global yarn upgrade in the root but that does more than just upgrade the rxjs dependency, so this pr just targetted the rxjs part

note, can also have achieved the same thing doing a global yarn upgrade in the root but that does more than just upgrade the rxjs dependency, so this pr just targetted the rxjs part

It worked! Thanks very much.


[stable/drupal] fix upgrading existing deployments

What this PR does / why we need it:
In https://github.com/helm/charts/pull/17295 the apiVersion of the deployment resource was
updated to apps/v1 in tune with the api's deprecated in k8s 1.16. This change however breaks
upgradability of existing drupal deployments with helm v3 (rc) as described in
https://github.com/helm/helm/issues/6646.
To fix this, we have defined a drupal.deployment.apiVersion helper that returns the new
apiVersion only when k8s 1.16 or higher is in use.
Which issue this PR fixes

fixes chart upgrades

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

On hold until https://github.com/helm/charts/pull/18704 is merged, after which dependencies will be updated in this PR.


Wrong colors at the edges of the screen

At the edge of the screen, It shows a color that can not be true. for example, in blow screenshots, edges of the screen are blue but when we zoom out we see that it should be yellow.

Do you have useLocalExtrema set to true? this makes it compare data based on what on the screen right now which affects the color of spots

It's already false.

it's possibly because datapoints get unloaded if their center is out of view, which can cause the data at high zoom levels to not include points out of view. I have the same "issue" but it's intended behaviour. if you need it to be accurate you're gonna need more data.

Thanks @jasperfirecai2.  I have a value for each half degree. In the images given above, there are hundreds of data points and I still get blue edges.
you can check it here: http://gwf-demo.usask.ca/fifthversion/

right. i know what the problem is, i just don't know how to solve it. when points overlap, their heatmap "value" increases, at the edges, there's less overlap happening because off-screen points don't get loaded at all. concentration doesn't really make a difference here. this is a tough one to solve.

You might try removing this code from gmaps-heatmap.js in plugins
      // we don't wanna render points that are not even on the map ;-)
      if (!bounds.contains(latlng)) {
        continue;
      }

If it works, the bounds variable is Google Maps LatLngBounds class. You might have to expand the bound.

Seems like the "render bounds" should be larger than the "view bounds" with a margin that is equal to the radius, so that all points whose radii overlap the view get rendered

I know that this repository is not active, but for future reference I want to add an answer. Maybe it helps someone.
I made the same observation: Data points out of view are ignored (as intended), but when they are just a little bit out of view, they should still have an influence to the heatmap.
I found a solution from user ghybs on stackoverflow.com:
https://stackoverflow.com/questions/34613289/disappearing-data-points-in-heatmap-js-leaflet-plugin
The solution is to add a padding to the bounds:
https://github.com/pa7/heatmap.js/blob/4e64f5ae5754c84fea363f0fcf24bea4795405ff/plugins/leaflet-heatmap/leaflet-heatmap.js#L101
bounds = this._map.getBounds().pad(0.75);

I have chosen the value of 0.75 by trial & error, try what works for you (ghybs used 0.5 in his answer).


New activity policy templates for Microsoft Teams

The Access level change (Teams) policy seems to have a wrong query. You don't get any matches when a team is changed to public. When you edit the policy and change the "Activity Object ID" to "item", matches are shown.

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

ID: 66e4554f-32d3-6166-0fb4-f7382d063ef6
Version Independent ID: de6a662e-0676-3e47-1321-5b6e14a54b14
Content: Create policies to control activities in Cloud App Security
Content Source: CloudAppSecurityDocs/user-activity-policies.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

@name Thanks for contacting Microsoft about your issue. As we understand it, you're describing a problem with the product itself and not with the product documentation.
However, I forwarded your observation to the product team who will look into the issue and, if relevant, issue a fix. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
To get assistance or support for your product issue, please open a support ticket.
Because this is not a documentation issue, I am closing this issue.

@BakkerJan I heard back from the product team and a fix is being released in the coming weeks. Thanks again for reporting the issue.


inconsistent use of british and american english (colour <-> color)

It's going to be permament issue (kind of...), but @adam-weiler changed all "colours" to "colors" already.

behaviour to behavior by 17997c819580286b33b071e97176fb76c7d767b7

Armour -> Armor by @trayo


Http2 Adapter : http client ko after airplane mode use

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
ios

Platform Version
flutter  2.8.0

Dio Version
4.0.4

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
When I switch phone to airplane mode on an Ios device with http2 Dio Adapter, http client is broken and can never send a new request :
Unhandled Exception: SocketException: Failed host lookup: 'www.google.fr' (OS Error: nodename nor servname provided, or not known, errno = 8)
#0 _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:677:35)
#1 _NativeSocket.connect (dart:io-patch/socket_patch.dart:914:12)
#2 _RawSocket.connect (dart:io-patch/socket_patch.dart:1668:26)
#3 RawSocket.connect (dart:io-patch/socket_patch.dart:21:23)
#4 RawSecureSocket.connect (dart:io/secure_socket.dart:222:22)
#5 SecureSocket.connect (dart:io/secure_socket.dart:45:28)
#6 _ConnectionManager._connect (package:dio_http2_adapter/src/connection_manager_imp.dart:71:35)
#7 _ConnectionManager.getConnection (package:dio_http2_adapter/src/connection_manager_imp.dart:41:49)

Does it work without the HTTP2 adapter?

yes without http2 i works

and https works great on android

I have the same problem

This is still there, checked with version dio: 5.0.1, dio_http2_adapter: 2.1.0.


extension command not supported (or listed) for liferay command

I'm trying this out on my Linux laptop which is running Ubuntu 20. I'm trying to follow the guide which has the following instructions.

[ ] Execute liferay extension mkcert (this will generate a wildcard certificate for *.lfr.dev)
[ ]
[ ] Execute liferay extension mkcert --install (This will install the rootCA that you just generated into your OS keystores, or Chrome/Firefox/Edge keystores)

... but when I run the command, neither works for me. In both cases I get the usage output with the following showing for the available commands.
Available Commands:
build       Executes the client extension workspace build to generate deployable artifacts (zip files)
create      Creates new Client Extensions using a wizard-like interface
refresh     Refreshes client-extension workload resources in localdev server
start       Starts all client-extension workloads
status      Returns the status of the extension environment
stop        Stops all client-extension workloads

Good catch.  It should be liferay runtime mkcert and liferay runtime mkcert --install


support path rules

by allowing a placeholder.
explicit paths still have precedence.
This is useful in migration scenarios and when you don't want to deploy
just because someone added a repo to you organisation account.

Hi @rakyll
please take a look and give early feedback on the overall approach and what else you see.
Once it looks good, I will update the readme to reflect the new possibilities.
Many thanks :slightly_smiling_face:

gentle ping @rakyll
If you are in a hurry: To get a :+1: or :-1: on the basic idea without you reviewing everything,
having early feedback on https://github.com/GoogleCloudPlatform/govanityurls/pull/12/files#diff-c6c82e356db0ffdc1ce631b75c55e263R100 would be most useful to me, since those 25 lines it describe the intended new behavior best.

@rakyll fixed missing subpath feature and added a testcase for that. Addressed the smaller code issues.
About using only one struct to do both, I need a bit more time to think about how to do that. Will come back to you tomorrow with more ideas.

@nightlyone, thanks.
Also cc'ing @zombiezen for the review.

Got lost here so closing to get it off everyones table.


Autoscaling

Hey,
is autoscaling for deployments supported? I am not sure if it is the K8sScale. Thank you in advance.

Ah. Here it is: https://php-k8s.renoki.org/resources/scaling-and-availability/horizontalpodautoscaler


GH Workflow automation for the Examples repository

This https://github.com/Apicurio/apicurio-registry-examples repository contains a set of example applications for Apicurio Registry.  It's things like Kafka applications that show how to use our SerDes classes in practice.  This repository should be released/tagged every time the Apicurio Registry project is released.
It would be ideal if the release of this repository was triggered by a release of Registry, similar to what we're doing now for e.g. container images and CLI builds.  That way if it fails we can retry it.
Also I think we should trigger a build (not a release) of this repository every time master is updated in Apicurio Registry and every time master (or main or whatever) is updated in Apicurio Registry Examples.  The goal is to make sure that this repository is always building successfully against the latest Apicurio Registry.  So I guess we'll need a workflow that builds both?  If the examples build fails then we should send a notification to gchat.

Necessary changes are done to the registry and examples workflows to accomodate the above request.
changes in examples workflow
changes in registry workflow


Sieve and Forestry Saplings

Hey
So im trying to add forestry sapling to the SieveRegistry but cant get it to work, could you assist me?
This is the sapling i would like to add
<forestry:sapling>.withTag({IsAnalyzed: 0 as byte, Genome: {Chromosomes: [{UID1: "forestry.treeOak", UID0: "forestry.treeOak", Slot: 0 as byte}, {UID1: "forestry.heightSmall", UID0: "forestry.heightSmall", Slot: 1 as byte}, {UID1: "forestry.saplingsAverage", UID0: "forestry.saplingsAverage", Slot: 2 as byte}, {UID1: "forestry.fruitApple", UID0: "forestry.fruitApple", Slot: 3 as byte}, {UID1: "forestry.yieldLowest", UID0: "forestry.yieldLowest", Slot: 4 as byte}, {UID1: "forestry.sappinessLowest", UID0: "forestry.sappinessLowest", Slot: 5 as byte}, {UID1: "forestry.leavesNone", UID0: "forestry.leavesNone", Slot: 6 as byte}, {UID1: "forestry.maturationFaster", UID0: "forestry.maturationFaster", Slot: 7 as byte}, {UID1: "forestry.i1d", UID0: "forestry.i1d", Slot: 8 as byte}, {UID1: "forestry.fireproofFalse", UID0: "forestry.fireproofFalse", Slot: 9 as byte}]}})
but when i take that data with in withTag(), and paste it in to "nbt":  it crashes my SieveRegistry..
"forestry:humus": [ 		{ 			"drop": { 				"name": "forestry:sapling", 				"meta": 0, 				"nbt": { 					IsAnalyzed: 0 as byte, 					Genome: { 						Chromosomes: [{ 							UID1: "forestry.treeOak", 							UID0: "forestry.treeOak", 							Slot: 0 as byte 						}, { 							UID1: "forestry.heightSmall", 							UID0: "forestry.heightSmall", 							Slot: 1 as byte 						}, { 							UID1: "forestry.saplingsAverage", 							UID0: "forestry.saplingsAverage", 							Slot: 2 as byte 						}, { 							UID1: "forestry.fruitApple", 							UID0: "forestry.fruitApple", 							Slot: 3 as byte 						}, { 							UID1: "forestry.yieldLowest", 							UID0: "forestry.yieldLowest", 							Slot: 4 as byte 						}, { 							UID1: "forestry.sappinessLowest", 							UID0: "forestry.sappinessLowest", 							Slot: 5 as byte 						}, { 							UID1: "forestry.leavesNone", 							UID0: "forestry.leavesNone", 							Slot: 6 as byte 						}, { 							UID1: "forestry.maturationFaster", 							UID0: "forestry.maturationFaster", 							Slot: 7 as byte 						}, { 							UID1: "forestry.i1d", 							UID0: "forestry.i1d", 							Slot: 8 as byte 						}, { 							UID1: "forestry.fireproofFalse", 							UID0: "forestry.fireproofFalse", 							Slot: 9 as byte 						}] 					} 				} 			}, 			"chance": 0.08, 			"meshLevel": 1 		} 	]

Please upload your Jason file and crash log to pastebin.

Its not crashing the game, its when i add this part, none of the stuff from my SieveRegistry.json gets loaded
"forestry:humus": [ { "drop": { "name": "forestry:sapling", "meta": 0, "nbt": { IsAnalyzed: 0 as byte, Genome: { Chromosomes: [{ UID1: "forestry.treeOak", UID0: "forestry.treeOak", Slot: 0 as byte }, { UID1: "forestry.heightSmall", UID0: "forestry.heightSmall", Slot: 1 as byte }, { UID1: "forestry.saplingsAverage", UID0: "forestry.saplingsAverage", Slot: 2 as byte }, { UID1: "forestry.fruitApple", UID0: "forestry.fruitApple", Slot: 3 as byte }, { UID1: "forestry.yieldLowest", UID0: "forestry.yieldLowest", Slot: 4 as byte }, { UID1: "forestry.sappinessLowest", UID0: "forestry.sappinessLowest", Slot: 5 as byte }, { UID1: "forestry.leavesNone", UID0: "forestry.leavesNone", Slot: 6 as byte }, { UID1: "forestry.maturationFaster", UID0: "forestry.maturationFaster", Slot: 7 as byte }, { UID1: "forestry.i1d", UID0: "forestry.i1d", Slot: 8 as byte }, { UID1: "forestry.fireproofFalse", UID0: "forestry.fireproofFalse", Slot: 9 as byte }] } } }, "chance": 0.08, "meshLevel": 1 } ]
and  the ex nihilo log only says `[15:42:38] [INFO] ModConfig Loaded: true
[15:42:38] [INFO] JEI: Compost Recipe Pages Loaded:         2
[15:42:38] [INFO] JEI: Fluid Block Transform Recipes Loaded:       23
[15:42:38] [INFO] JEI: Fluid On Top Recipes Loaded:       2
[15:42:38] [INFO] JEI: Fluid Transform Recipes Loaded:    2
[15:42:38] [INFO] JEI: Hammer Recipes Loaded:             32
[15:42:38] [INFO] JEI: Heat Sources Loaded:             11
[15:42:38] [INFO] JEI: Sieve Recipes Loaded:              0
[15:42:38] [INFO] JEI: Stone Crucible Recipes Loaded:       1
SieveRegistry.zip
`

That's because /ct hand gives a different syntax than the normal json...
I know craftgroovy has a command for it, buut that's just tedious to
install it for that.
Might need a command here or in crt.
Sunekaer<EMAIL_ADDRESS>schrieb am Di., 9. Okt. 2018, 19:41:

Its not crashing the game, its when i add this part, none of the stuff
from my SieveRegistry.json gets loaded
"forestry:humus": [ { "drop": { "name": "forestry:sapling", "meta": 0,
"nbt": { IsAnalyzed: 0 as byte, Genome: { Chromosomes: [{ UID1:
"forestry.treeOak", UID0: "forestry.treeOak", Slot: 0 as byte }, { UID1:
"forestry.heightSmall", UID0: "forestry.heightSmall", Slot: 1 as byte }, {
UID1: "forestry.saplingsAverage", UID0: "forestry.saplingsAverage", Slot: 2
as byte }, { UID1: "forestry.fruitApple", UID0: "forestry.fruitApple",
Slot: 3 as byte }, { UID1: "forestry.yieldLowest", UID0:
"forestry.yieldLowest", Slot: 4 as byte }, { UID1:
"forestry.sappinessLowest", UID0: "forestry.sappinessLowest", Slot: 5 as
byte }, { UID1: "forestry.leavesNone", UID0: "forestry.leavesNone", Slot: 6
as byte }, { UID1: "forestry.maturationFaster", UID0:
"forestry.maturationFaster", Slot: 7 as byte }, { UID1: "forestry.i1d",
UID0: "forestry.i1d", Slot: 8 as byte }, { UID1: "forestry.fireproofFalse",
UID0: "forestry.fireproofFalse", Slot: 9 as byte }] } } }, "chance": 0.08,
"meshLevel": 1 } ]
and the ex nihilo log only says `[15:42:38] [INFO] ModConfig Loaded: true
[15:42:38] [INFO] JEI: Compost Recipe Pages Loaded: 2
[15:42:38] [INFO] JEI: Fluid Block Transform Recipes Loaded: 23
[15:42:38] [INFO] JEI: Fluid On Top Recipes Loaded: 2
[15:42:38] [INFO] JEI: Fluid Transform Recipes Loaded: 2
[15:42:38] [INFO] JEI: Hammer Recipes Loaded: 32
[15:42:38] [INFO] JEI: Heat Sources Loaded: 11
[15:42:38] [INFO] JEI: Sieve Recipes Loaded: 0
[15:42:38] [INFO] JEI: Stone Crucible Recipes Loaded: 1
SieveRegistry.zip
https://github.com/BloodyMods/ExNihiloCreatio/files/2461572/SieveRegistry.zip
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodyMods/ExNihiloCreatio/issues/125#issuecomment-428283949,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZmZEZ69W8QzuVM-aOIBL5-CCqZX3ks5ujN-zgaJpZM4XTbdI
.

Okay ill try with craftgroovy ty

Don't fully remember the command, was something along the lines of /cg nbt
or something....
Sunekaer<EMAIL_ADDRESS>schrieb am Di., 9. Okt. 2018, 20:04:

Okay ill try with craftgroovy ty
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodyMods/ExNihiloCreatio/issues/125#issuecomment-428291768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZvBFcD29dpPUXVkvum7fMl3krBaeks5ujOU0gaJpZM4XTbdI
.

/cg hand
that works thank you guys

Does it drop correctly tho?
So issue with jei or whole thing?
Sunekaer<EMAIL_ADDRESS>schrieb am Di., 9. Okt. 2018, 21:24:

Hey so new problem
i added 35 forestry saplings, but when i load up the game it only shows it
as one recipe
[image: fsapling]
https://user-images.githubusercontent.com/18720460/46693169-5bb28c00-cc09-11e8-8ef3-c7f1f986c195.PNG
SieveRegistry.zip
https://github.com/BloodyMods/ExNihiloCreatio/files/2461845/SieveRegistry.zip
log:
[21:18:01] [INFO] ModConfig Loaded: true
[21:18:01] [INFO] JEI: Compost Recipe Pages Loaded: 2
[21:18:01] [INFO] JEI: Fluid Block Transform Recipes Loaded: 23
[21:18:01] [INFO] JEI: Fluid On Top Recipes Loaded: 2
[21:18:01] [INFO] JEI: Fluid Transform Recipes Loaded: 2
[21:18:01] [INFO] JEI: Hammer Recipes Loaded: 32
[21:18:01] [INFO] JEI: Heat Sources Loaded: 11
[21:18:01] [INFO] JEI: Sieve Recipes Loaded: 26
[21:18:01] [INFO] JEI: Stone Crucible Recipes Loaded: 1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodyMods/ExNihiloCreatio/issues/125#issuecomment-428318933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZjBGtseQ0BEQruCa9f7WraQjtUb9ks5ujPfYgaJpZM4XTbdI
.

the whole thing
it only drops the Apple Oak Sapling, but random amounts, first i got 4 then 1 then 5 then 3

Im using forge 2768 and forestry_1.12.2-<IP_ADDRESS>0 if you guys need that info, but it also happened on older versions of forge and forestry
https://minecraft.curseforge.com/projects/stoneblock/files/2626239

There is a bug in the latest version of of the JSON parser, not sure that bug got pushes yet. Not sure if it is related. But once I patched in dev I got different saplings.
The JEI compat does have a bug (it ignores NBT when deciding if items are equal). Can you test it with this build (mediafire link) It should have the correct drops and JEI working.
If that works then the fix is included in my existing pull req.

Does this issue persist in the latest version? The sieve JEI plugin was rewritten.
Ex Compressum has their own JEI plugins so it would be on their side.

Merged. Adding to curse soon.


hwid battery widget: show power-draw and hours remaining

This changes the battery widget to show:

The power currently being drawn in colour (red for high, yellow is medium, green is low)
The hours remaining at the current power consumption, by shading the battery amount (e.g. 50%) up a certain level:

At the moment I mostly see fully red or nothing, @gfwilliams do I have the maths correct for this? I feel like I've got it too sensitive so I never really see medium power consumption

It looks ok to me - maybe you can get it to print what it thinks is drawing power as a test?
The LCD backlight draws a ton, so my guess is maybe whenever you have that on (eg the watch is unlocked) it puts the meter red?

The LCD backlight draws a ton, so my guess is maybe whenever you have that on (eg the watch is unlocked) it puts the meter red?

Yeah that's a good point - I've altered it to add up power draws not including LCD, to avoid the jolt when the screen turns on. Shall see how that goes

Change of plan - if getPowerUsage() is available, it'll show hours remaining, with the battery percentage as the shading - much easier to understand:

@pebl-hank @matijatosic I think you two are the main users of this widget and this is quite a change - would you be ok with it? I'm very happy to move the hours-left display to another widget

@bobrippling I'm totally OK with these ideas and happy to have you as a contributor to this.
Haven't time to check the code though, so I want to add that both options should be selectable to switch on/off by the user in the app settings. Also please keep an eye on battery consumption: If the remaining hours option is not enabled by the user, the calculating code should be avoided. But I bet you already considered all that :) So thanks again 👍

Sounds good - I'll create a setting for it, cheers for your response!

On second thoughts, I figured it'd be easier to fork the widget - it was becoming a bit unwieldly!

Noooooo! I'm really not a fan of forks. Is there any way to convince you to stay on the path, young padawan?

I feel like you're changing what the widget does quite a lot here, checking the power usage, and especially as you've now rewritten in typescript.
Widgets are pretty small bits of code so it's not so much a fork now as a complete new thing - and from a users point of view it's nice if the app name, screenshot and description reflects that it measures power usage. IMO a new app is probably better, and then maybe if you wanted to tweak the way things are rendered later to better show off power usage it wouldn't cause problems for people that like hank's one the way it is

That's fair, the code is much simpler without having to handle options - I'll test this for a little more and merge if that's ok with you both?


UI query parameters

allow direct links to market list page filtered by category.
category=crypto
would display the market list page with only crypto markets

addressed with #803


standalone but interop with React

I would like to define behavior for createElement in all environments

Resolved in v0.1.3


Update BuildServerBuildSystem for async initialization

Having a synchronous request to initialize the build server will block the LSP thread for the duration of the build servers initialization, which could be potentially a long time. This PR changes the setup code to use an async request instead. This required adding the index store path and database path to the build server config file, as we need to know this directly after initialization so cannot wait for a response from the build server.

Causes more problems than it solves, going to stick with synchronous initialization and punt the server setup code to later instead.


added delta_time parameter to KeepWaiting

see https://github.com/Houtamelo/gdext_coroutines/issues/3

@0x53A Thanks for the commit!
Since it's a breaking change, I would like to increase the version name, can I edit it? (you're also free to do it yourself if you want)
The new version should be 0.6.0

I've set the version to 0.6.0, if there's anything else do feel free to to push to the branch.


Keep window on top

Is there a way to make the main window in a Platypus .app retain focus or "stay on top"? I was hoping do to something like what this person is asking by editing the plist, but can't tell if it is possible:
https://stackoverflow.com/questions/19567781/force-keeping-app-window-on-top-mac-os-x

This can't be done by editing the plist, which only allows you to set LSUIElement to true, making the app a "background" app. Platypus-generated apps do not support keeping the window "on top" as you describe but this can be accomplished natively in Cocoa. Not a planned feature as it is a really marginal use case.


Remote AI Module (REM-11100) does not get any value with the Scan Engine and EtherCAT CD in VeriStand

Copied from an internal bug:
When trying to read Remote I/O AI Module (REM 11100) over the SEEC CD, I do not get any value.
When trying the Remote I/O example within LabVIEW it works.
Following system Setup:
PXI-8800 + REM 11180 Bus Coupler + NI 9144
REM 11180 + REM 11100 AI module
NI 9144 with NI 9201 AI and NI 9263 AO module
NI 9263 AO 0 -> REM 11100 AI 0
NI 9263 AO 3 -> NI 9201 AI 0
Image
Software wise I tested it with VS 2019 R3 and LabVIEW 2019 SP1
I'll attach a MAX report of my system.
This is how it looks like in the VS project.
The upper AI 0 is from the C-Series module, while the lower one is the one of the Remote I/O.
I already deactivated the mean value in the configuration

This was introduced by a typo in PR #16. I will put up a fix shortly.


Trying to get the esp32 version to build

Readme in esp32 directory has wrong make command.
https://github.com/littlevgl/lv_micropython/tree/master/ports/esp32
Should be:
make -C ports/esp32/  -j4 LV_CFLAGS="-DLV_HOR_RES=240 -DLV_VER_RES=320 -DLV_COLOR_DEPTH=16" deploy
mp_lodepng.c doesn't compile....
CC build/lodepng/mp_lodepng.c
build/lvgl/lv_mpy.c: In function 'mp_lv_style_body_border_t_attr':
build/lvgl/lv_mpy.c:3701:68: error: passing argument 1 of 'mp_read_ptr_lv_color32_t' from incompatible pointer type [-Werror=incompatible-pointer-types]
#define mp_read_byref_lv_color32_t(field) mp_read_ptr_lv_color32_t(&field)
^
build/lvgl/lv_mpy.c:3800:43: note: in expansion of macro 'mp_read_byref_lv_color32_t'
case MP_QSTR_color: dest[0] = mp_read_byref_lv_color32_t(data->color); break; // converting from lv_color_t;
^
build/lvgl/lv_mpy.c:3695:24: note: expected 'lv_color32_t * {aka union  *}' but argument is of type 'lv_color_t * {aka union  *}'
STATIC inline mp_obj_t mp_read_ptr_lv_color32_t(lv_color32_t *field)
^
build/lvgl/lv_mpy.c:3816:49: error: incompatible types when assigning to type 'lv_color_t {aka union }' from type 'lv_color32_t {aka union }'
case MP_QSTR_color: data->color = mp_write_lv_color32_t(dest[1]); break; // converting to lv_color_t;
... for another hundred errors...

Thanks for reporting this.
Please try the following :
make -C mpy-cross
make -C ports/esp32 LV_CFLAGS="-DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1" deploy

I'm also using PYTHON=python2 make parameter because of the pyparsing version I have installed. (see more details on Micropython's ESP32 README).
It should build without errors, including lodepng.
Please let me know if it works for you, and if it does I'll update the README.

Thanks. It builds now. I had to back off to esp-idf v3.3-beta to get it to build. v3.3 has been released for a while now.
The build failure in v3.3 looks like a minor link error...
GEN build/esp32.project.ld
LINK build/application.elf
build/esp-idf/esp32/libesp32.a(cpu_start.o):(.iram1.27.literal+0x4c): undefined reference to bootloader_common_set_flash_cs_timing' build/esp-idf/esp32/libesp32.a(cpu_start.o): In function call_start_cpu0':
cpu_start.c:(.iram1.27+0x4d): undefined reference to `bootloader_common_set_flash_cs_timing'
Makefile:514: recipe for target 'build/application.elf' failed
make: *** [build/application.elf] Error 1

Thanks. It builds now. I had to back off to esp-idf v3.3-beta to get it to build. v3.3 has been released for a while now.
The build failure in v3.3 looks like a minor link error...

Every Micropython version is supposed to work with a very specific ESP-IDF version.
If ESP-IDF version is incorrect, you'll get a warning like this:
** WARNING **
The git hash of ESP IDF does not match the supported version
The build may complete and the firmware may work but it is not guaranteed
ESP IDF path:       /home/amirgon/esp/esp-idf
Current git hash:   6ccb4cf5b7d1fdddb8c2492f9cbc926abaf230df
Supported git hash: 6b3da6b1882f3b72e904cc90be67e9c4e3f369a9

I recommend only using the supported ESP-IDF version.
I'm planning to sync lv_micropython to upstream Micropython soon, which now supports an up to date ESP-IDF.


HW-1: Add base HTML and CSS

This pull request adds a web page showcasing my personal introduction and information, inspired by the provided Pokemon design. It's built using HTML and CSS, creating an engaging and personalized online presence.

Fixed the issues! :)

Fixed the issues


Adding usage menu when clicking on functions

Check for existing issues

[X] Completed

Describe the feature
When command-click on function -> shows usage menu like in webstorm
If applicable, add mockups / screenshots to help present your vision of the feature

Hey @Lumca, would you mind upvoting this issue here by using a 👍 emoji:

https://github.com/zed-industries/community/issues/121

Going to close this one out as a duplicate - appreciate the suggestions and reports :)


[Improve Docs] Better documentation on replacing index.html

https://github.com/play-swagger/play-swagger?tab=readme-ov-file#step-3b

Copy the index.html and swagger-initializer.js generated in target/${project}/public/lib/main/swagger-ui/ and modify the js files as follows to create Swagger-UI can be used easily.

...And where do those files go? If I place them in root/public/lib/swagger-ui/, I then receive this error message:
[error] (Web-assets / assets) Duplicate mappings:
[error]         /Users/sweetjp/myrepo/target/web/public/main/lib/swagger-ui/index.html
[error] from
[error]         /Users/sweetjp/myrepo/public/lib/swagger-ui/index.html
[error]                 /Users/sweetjp/myrepo/target/web/web-modules/main/webjars/lib/swagger-ui/index.html

I have searched everywhere on how to actually replace the index.html file for a project setup in SBT, and at this point it might as well be Bigfoot. I have yet to figure out how to actually do it, because no one has any working examples. All the snippets show what the code should look like, but not the project setup for a SBT-based project. Copy/paste and modify to get it working is not only incredibly frustrating to read, but worse than unhelpful.
What I ended up doing was this:
### SkipFileForDocs ###
# We have to exclude these specific files since I have no idea how to actually overwrite them
GET   /docs/swagger-ui/index.html               controllers.Assets.at(path:String="/public/lib/swagger-ui", file:String)
GET   /docs/swagger-ui/swagger-initializer.js   controllers.Assets.at(path:String="/public/lib/swagger-ui", file:String)

### NoDocs ###
GET   /docs/swagger-ui/*file        controllers.Assets.at(path:String="/public/lib/swagger-ui", file:String)

Th documentation for this specific section needs reworded and updated to show a working example where the index.html file is overwritten, or any resource file that the web-jars swagger-ui package generates in the web-modules folder.

I had the same struggle, and ended up with something similar. I didn't need to change index.html, but I did add a route so you didn't have to type index.html in the URL.
For swagger-initializer.js, you can copy it from http://localhost:9000/docs/swagger-ui/swagger-initializer.js into public/lib/swagger-ui/swaggier-initializer-override.js (a different name), then map it like so:
# Override the default initializer to set the url to the local schema generated by play-swagger
### NoDocs ###
GET     /docs/swagger-ui/swagger-initializer.js controllers.Assets.at(path: String = "/public/lib/swagger-ui", file: String = "swagger-initializer-override.js")

# Convenience path so that index.html doesn't need to be added
### NoDocs ###
GET     /docs/swagger-ui/           controllers.Assets.at(path: String = "/public/lib/swagger-ui", file: String = "index.html")

### NoDocs ###
GET     /docs/swagger-ui/*file      controllers.Assets.at(path: String = "/public/lib/swagger-ui", file: String)


assertNonNull uses the wrong instance

https://github.com/AxonFramework/AxonFramework/blob/46861cf8436eef4e5c360176a9cd2a8aba92e09d/messaging/src/main/java/org/axonframework/eventhandling/SubscribingEventProcessor.java#L247

Thanks for sharing this @michaelbub! I've pushed a fix for this in commit 9bc831c just now.


Fix glog command line arguments on a clean build

To support glog's command line arguments like --logtostderr, it requires gflags.
If gflags is not found, glog will still compile but the command line arguments will be absent.
As glog was created before gflags, that was the case on a clean build.
Note that on subsequent builds gflags already existed, so a second build 'magically' made the command line arguments appear.
Pull Request Template
Title: glog flags like --logtostderr are missing on a clean build
Description:
See facebook/openr#28
Test Plan:
On my OpenR code I compiled it before and after the reorder, and noticed the different behavior.
Pull Request Guideline
Before sending a pull request make sure each commit solves one clear, minimal,
plausible problem. Further each commit should have the above format.
Please avoid sending a pull request with recursive merge nodes, as they
are impossible to fix once merged. Please rebase your branch on
facebook/openr master instead of merging it.
If you are a new contributor please have a look at our contributing guidelines:
CONTRIBUTING

Thanks for the pull request .. triggering a merge into master.


Hotfix docs demos

Hi all,
This is a 'hotfix' to my recent pull request that had some unfinished business.
Changes:

update the cone3D.rst file and made some changes to the dosctrings.
remove deprecated methods extract_roi_from_roi, pad_roi2ror
add a point-spread test file to the demo suite

I started to create a 'test' suite, but a test suite would need to access the 'demo_utils' module in order to run.  So, I have left 'debug_forward_proj.py' in the demo suite, knowing that it should be divided out into its own suite that also has access to 'demo_utils'.
Note that the multinode demo files still need to be updated and tested, since they previously relied on methods that are now deprecated.

Thanks Marco. I'll test this later in the afternoon.
Regards,
Diyu

From: Marco Bommarito @.>
Sent: Tuesday, October 4, 2022 11:39 AM
To: cabouman/mbircone @.>
Cc: Diyu Yang @.>; Review requested @.>
Subject: Re: [cabouman/mbircone] Hotfix docs demos (PR #94)
---- External Email: Use caution with attachments, links, or sharing data ----
@bommaritomhttps://github.com/bommaritom requested your review on: #94https://github.com/cabouman/mbircone/pull/94 Hotfix docs demos.
—
Reply to this email directly, view it on GitHubhttps://github.com/cabouman/mbircone/pull/94#event-7517791180, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2Q7OAFXE2XK7FFKTUDXTTWBRFRZANCNFSM6AAAAAAQ4WMTKQ.
You are receiving this because your review was requested.Message ID: @.***>

Diyu, did you test the multinode demo?

Diyu, did you test the multinode demo?

Yes. I'm modifying the multinode script so that it is both compatible with recent changes due to ROR computation, and also matches with the style of the 3D shepp Logan demo (except for the multinode part).
I'll notify you when the testing is finished.

Everything has been tested. I think it is OK to accept the PR at this point.

Oh Shoot! I forgot to push my fixes before I accepted the PR. I'm going to have to do another PR fix.

OK, you shouldn't ever do what I just did. I had to merge in the fixes, and then do a direct push into the master branch.


[Bug]: Bad Gateway on Deployed Docker Containers

Description
I receive Bad Gateway on every page which is deployed using a docker container using docker-compose. Even the plain nginx server without any modifications is not running. Tried php:8.3-apache and ubuntu/apache as well
This only happens with docker and not with node apps from github or the premade services like glances
And, it is accesible on the localhost though, if I get into terminal and do curl localhost:8888 it works
Minimal Reproduction (if possible, example repository)
docker compose file
version: '3.8'
services:
  server:
    image: 'nginx:latest'
    container_name: nginxserver
    ports:
      - '8888:80'

Domain:
https://nginx.example.com:8888
Exception or Error
Bad Gateway

Version
v4.0.0-beta.319
Cloud?

[ ] Yes
[X] No

My bad, not specifying the port in domain is the solution
Refer to the chat here : https://discord.com/channels/459365938081431553/1270671389254488084


[BUG] Default sorting of the admin dashboard just... doesn't work

Describe the bug
By default, the manage resources and change user permissions tables on the admin page don't paginate correctly. This issue is fixed when sorting by alphabetical name.
To Reproduce
Steps to reproduce the behavior:

Go to the admin dashboard
Scroll down to the Manage Resources table
Try to go to the next page
A lot of the elements don't change for some reason

Expected behavior
Each page should be unique and iterate through the entire collection
Environment

OS: Windows 10 (64-bit)
Browser: Firefox
Browser Version: 101.0.1

Additional context
N/A

The strange thing is that this issue doesn't persist if you select a specific sorting method (such as name alphabetical)


Add screenshot to readme

Hi there, I saw this project on a LinkedIn post. Perhaps you could add some screenshots to the Readme? I'm interested but have no idea what kind of visualizations this actually makes!

@tim-fan feel free to install it and contribute to this entirely free and open source project. Contributions are very welcome.
Just pip install lidar-visualizer and then lidar_visualizer my_example.bag for example, make a screenshot and put it on the readme.
Thanks!

Thanks, no I don't plan to use it, I was just wondering what this is. Thanks for open sourcing your work.


Support conditional types for Generator T / TNext / TReturn

🔍 Search Terms
"Generator", "Async Generator", "conditional types", "const" "inference"
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
If a generator function is specifically typed to have a conditional relationship between T and TNext then type inference should allow for a type narrowed result according to that conditional type.
📃 Motivating Example
Typescript would be able to support complex type state management (ala redux saga), coroutines (e.g. co) and the interpreter pattern / free monad/applicative.
In the past this was not possible, but given typescript now has as const, infer and conditional types, we should be able to support typed yield result inference in key circumstances.
Something like this would be possible:
type Yielded<T>
  T extends Promise<infer U>
   ? U // awaited
   : T  // return the original yielded value

function co<T>( fn: () => Generator<T, T, Yielded<T>> ) : Promise<T> {...}

💻 Use Cases

What do you want to use this for?

Complex state management and side effects.

What shortcomings exist with current approaches?

For generator functions yielded values are always typed as any.  For async generators yielded values are a union of all possible results.

What workarounds are you using in the meantime?

Manually casting
doSomething(function * f(){
    let value = (yield someStream) as UnwrapStream<typeof someStream>
    let another = (yield somePromise) as UnwrapPromise<typeof somePromise>
})

This sounds like a variant of https://github.com/microsoft/TypeScript/issues/33912 just with generators instead of functions.

See https://github.com/microsoft/TypeScript/issues/43632 as well

This sounds like a variant of #33912 just with generators instead of functions.

Just for clarification.  I don't think it is .  Isn't #33912 about inferring the return type by analyzing the control flow of a function.  That's now what I am suggesting.
I want to explicitly define the behavior of a given generator function with a predefined conditional type.
That way a framework can say "if you yield x, we will inject y".  There is no need to analyze control flow of the function it is part of a framework's presented API.
Also I think this allows typescript to fix its lack of typing for yielded values in generators without introducing a breaking change for old code, and without requiring any new config option in tsconfig, because defining a conditional type is completely opt in.
Finally, I think this should already work based on how conditional types operate in every other context, its arguably a bug and at least surprising behavior that it doesn't.
I think #43632 is solving the same problem in a different way.  But  I think @Andarist had the same idea in the comment thread of that issue:

However, this is a valid criticism and maybe an alternative approach could be figured out. For instance, we could "dispatch" to the injected type using conditional types like this:
comment

I think the suggestion in #43632 is to define a YieldType in scope of the generator and then yielded values that adhere to that type will magically be inferred to be the Yield type.
My approach is that conditional types as implemented just also support yielded values.  You would need to explicitly annotate the generator to use a specific instance of Generator<X,Y,Z> where X,Y,Z can all be conditional types.  It wouldn't magically inject into generators in scope.


Update release github action

We need to update that action + pushing to pypi more generally so that:

[ ] it installs requirements in requirements_dev.txt for the
[ ] update this gist to formalise how we push to pypi a bit more

Looking at that gist and the workflow file the majority of it can be automated really.
Gist changes:

no longer need to change version in setup.py as getting it from setup tools

can also switch docs/source/conf.py version to use the same function

re-building documentation can be done automatically: https://github.com/marketplace/actions/sphinx-build

you can build a changelog by requiring PR's to have a description of changes contained and compiling all the PR changelogs together between releases ( see: https://github.com/semantic-release/release-notes-generator )

or you can simply use something like this: https://github.com/semantic-release/semantic-release to automate well everything needed to release from triggering document building to release notes to deployment triggers


How can I get Bitmap in an area of this view?

What I want is get Bitmap of the source image providing an area position and size on this view.
How can I achieve that?

Take a look at the wiki, especially the page below. You can use methods like viewToSourceCoord to determine the visible area of the image, then use BitmapRegionDecoder to get that area from the source.
https://github.com/davemorrissey/subsampling-scale-image-view/wiki/10.-Extension


add type stubs

@gfairchild this is how I implement installation + type stubs in my projects. This avoids the duplication from https://github.com/lanl/pyxDamerauLevenshtein/pull/34.
The only duplicated file is the actual type hint, which can't be avoided when working with c extensions.

Nice! At first glance, this is pretty much what I was hoping for with no duplication.

Do you know how we can test this? It'd be great to incorporate something into the current unit-testing framework.

I have the following test in my projects:
https://github.com/maxbachmann/RapidFuzz/blob/f69be93ca84e28354d16c874cb0b2d6407f238cd/.github/workflows/branchbuild.yml#L117-L120

I have the following test in my projects: https://github.com/maxbachmann/RapidFuzz/blob/f69be93ca84e28354d16c874cb0b2d6407f238cd/.github/workflows/branchbuild.yml#L117-L120

That's great. Thanks!

@gfairchild are there any plans to geht this merged? Otherwise I will close the PR.

I apologize. I'd love to spend more time reviewing this, but I just haven't had time. I don't really use this code base much anymore.
I'd prefer to leave the PR open instead of close.

Unless I have a special interest in a PR, I close them at some point around the 1 year mark. However feel free to merge this into a branch and create your own PR you can look into if you ever find the time.

I'm going to go ahead and merge. Thank you, @maxbachmann, for your contribution, and I apologize for how long it took me to act on this.


Create a GoogleMaps ReactJS component

https://github.com/MicheleBertoli/react-gmaps

Closing because of #20


Auto Accept Invitation on Voting Page

Currently, auto accept happens when the link is clicked on the my-election page.  If additional proxies are added to a user, and they just refresh the vote page, we'll want them to see this.

https://github.com/pivot-libre/pivot/pull/236


Stereo Image processing using stereo_image_proc package

Creating stubs for publishing topics related to Stereo Image processing
Create a launch file to launch TB4 ignition

Merging this PR as a preliminary phase, i.e phase 0


python3Packages.angr: 9.0.10689 -> 9.0.10730

Motivation for this change
Update angr stack to 9.0.10730
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

16 packages built:

python38Packages.ailment
python38Packages.angr
python38Packages.angrcli
python38Packages.angrop
python38Packages.archinfo
python38Packages.claripy
python38Packages.cle
python38Packages.pyvex
python39Packages.ailment
python39Packages.angr
python39Packages.angrcli
python39Packages.angrop
python39Packages.archinfo
python39Packages.claripy
python39Packages.cle
python39Packages.pyvex

@ofborg build python38Packages.angr python39Packages.angr


Add latest pedantic lints

Feel free to squash/merge and delete the branch if you're happy

@natebosch – travis is now green

Why aren't we importing the file from the pedantic package?

Because mono-repo. There's no go way to do it in the root of the repo and have it work for sub packages.
Same w/ pkg:build, right?

Same w/ pkg:build, right?

Oh, yeah probably.

Same w/ pkg:build, right?

Oh, yeah probably.


BUG无法启动baichuan2-13B-chat

Describe the bug
启动baichuan2-13B-chat时报错
To Reproduce

Your Python version.
3.9.17
The version of xinference you use.
0.6.2
CUDA
11.6

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
2023-11-16 09:18:02,923 xinference.api.restful_api 209466 ERROR    [address=<IP_ADDRESS>:32783, pid=215568] _set_gradient_checkpointing() got an unexpected keyword argument 'enable'
Traceback (most recent call last):
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/api/restful_api.py", line 408, in launch_model
model_uid = await (await self._get_supervisor_ref()).launch_builtin_model(
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/context.py", line 227, in send
return self._process_result_message(result)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/context.py", line 102, in _process_result_message
raise message.as_instanceof_cause()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/pool.py", line 657, in send
result = await self._run_coro(message.message_id, coro)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/pool.py", line 368, in _run_coro
return await coro
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/api.py", line 306, in on_receive
return await super().on_receive(message)  # type: ignore
File "xoscar/core.pyx", line 558, in on_receive
raise ex
File "xoscar/core.pyx", line 520, in xoscar.core._BaseActor.on_receive
async with self._lock:
File "xoscar/core.pyx", line 521, in xoscar.core._BaseActor.on_receive
with debug_async_timeout('actor_lock_timeout',
File "xoscar/core.pyx", line 526, in xoscar.core._BaseActor.on_receive
result = await result
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/core/supervisor.py", line 398, in launch_builtin_model
await _launch_one_model(rep_model_uid)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/core/supervisor.py", line 367, in _launch_one_model
await worker_ref.launch_builtin_model(
File "xoscar/core.pyx", line 284, in __pyx_actor_method_wrapper
async with lock:
File "xoscar/core.pyx", line 287, in xoscar.core.__pyx_actor_method_wrapper
result = await result
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/core/utils.py", line 27, in wrapped
ret = await func(*args, **kwargs)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/core/worker.py", line 316, in launch_builtin_model
await model_ref.load()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/context.py", line 227, in send
return self._process_result_message(result)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/context.py", line 102, in _process_result_message
raise message.as_instanceof_cause()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/pool.py", line 657, in send
result = await self._run_coro(message.message_id, coro)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/backends/pool.py", line 368, in _run_coro
return await coro
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xoscar/api.py", line 306, in on_receive
return await super().on_receive(message)  # type: ignore
File "xoscar/core.pyx", line 558, in on_receive
raise ex
File "xoscar/core.pyx", line 520, in xoscar.core._BaseActor.on_receive
async with self._lock:
File "xoscar/core.pyx", line 521, in xoscar.core._BaseActor.on_receive
with debug_async_timeout('actor_lock_timeout',
File "xoscar/core.pyx", line 524, in xoscar.core._BaseActor.on_receive
result = func(*args, **kwargs)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/core/model.py", line 166, in load
self._model.load()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/model/llm/pytorch/core.py", line 182, in load
self._model, self._tokenizer = self._load_model(**kwargs)
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/xinference/model/llm/pytorch/baichuan.py", line 60, in _load_model
model = AutoModelForCausalLM.from_pretrained(
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 561, in from_pretrained
return model_class.from_pretrained(
File "/root/.cache/huggingface/modules/transformers_modules/baichuan-2-chat-pytorch-13b/modeling_baichuan.py", line 670, in from_pretrained
return super(BaichuanForCausalLM, cls).from_pretrained(pretrained_model_name_or_path, *model_args,
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/transformers/modeling_utils.py", line 3236, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/baichuan-2-chat-pytorch-13b/modeling_baichuan.py", line 539, in init
self.model = BaichuanModel(config)
File "/root/.cache/huggingface/modules/transformers_modules/baichuan-2-chat-pytorch-13b/modeling_baichuan.py", line 305, in init
self.post_init()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1159, in post_init
self._backward_compatibility_gradient_checkpointing()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1163, in _backward_compatibility_gradient_checkpointing
self.gradient_checkpointing_enable()
File "/data/conda_cache/envs/xinference/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1872, in gradient_checkpointing_enable
self._set_gradient_checkpointing(enable=True, gradient_checkpointing_func=gradient_checkpointing_func)
TypeError: [address=<IP_ADDRESS>:32783, pid=215568] _set_gradient_checkpointing() got an unexpected keyword argument 'enable'

Try pip install transformers==4.33, we are solving the issues with latest version.


Add Parrable ID System Docs

This is a merge into the branch that will be submitted upstream.

will do on the afternoon.


Job with a start time in the past will never run

Let's say the current date and time are:
2016-07-01T11:00
a "fresh" job with the following schedule will not run:
R1/2016-06-01T11:00/P1M

Ok it works with R/2016-06-01T11:00/P1M


Is there a particular reason enhance_faces() has to be run twice on upscaled images?

if prompt.fix_faces:
    logger.info("    Fixing 😊 's in 🖼  using CodeFormer...")
    img = enhance_faces(img, fidelity=0.2)
if prompt.upscale:
    logger.info("    Upscaling 🖼  using real-ESRGAN...")
    upscaled_img = upscale_image(img)
    if prompt.fix_faces:
        logger.info("    Fixing 😊 's in big 🖼  using CodeFormer...")
        upscaled_img = enhance_faces(upscaled_img, fidelity=0.8)

The upscaled version has significantly more "washed out" features as a consequence, with much less detail than its original scale counterpart.
Regular image with fix_faces:

Upscaled image with fix_faces:

It's particularly visible in the hair. Could it be an idea to move the upscaling to happen before the face fixing to avoid this?
if prompt.upscale:
    logger.info("    Upscaling 🖼  using real-ESRGAN...")
    upscaled_img = upscale_image(img)
    if prompt.fix_faces:
        logger.info("    Fixing 😊 's in big 🖼  using CodeFormer...")
        upscaled_img = enhance_faces(upscaled_img, fidelity=0.8)
if prompt.fix_faces:
    logger.info("    Fixing 😊 's in 🖼  using CodeFormer...")
    img = enhance_faces(img, fidelity=0.2)

Or simply remove the enhance_faces() call for the upscaled img, or make it an optional flag?

I hadn't noticed the washed out faces. I ran it twice so that any faces not detected in the smaller version would be picked up in the larger version.  Given what you've pointed out, seems reasonable to just run it at the lower scale until someone finds a better solution.

I've pushed out the changes that address this in version 2.2.0


Fixes for Swift 2.0

@mukhortov do you want this to be merged?

@mukhortov do you want this to be merged?

no, sorry, please ignore it :)


Fixed some Sonar issues and added extra checkstyle rule.

Description
Fixed some Sonar issues and added extra checkstyle rule and a bit of formatting.
Motivation and Context
Sonar fixes.
How Has This Been Tested?
./gradlew clean checkstyleMain checkstyleTest
Screenshots (if appropriate):
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

Thanks for the PR. Those issues, that I have checked, seem to be valid, but ... I would really like to have the issues in their own commits rather than one big commit, that addresses different problems at the same time. (Like whitespace, log-messages, choosing the wrong logger, ...)
Would you be able to split the commits into more logical units?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b71b73b). Click here to learn what that means.
The diff coverage is 28.57%.

@@            Coverage Diff            @@
##             master     #479   +/-   ##
=========================================
  Coverage          ?   54.07%
  Complexity        ?     9586
=========================================
  Files             ?     1007
  Lines             ?    62432
  Branches          ?     7049
=========================================
  Hits              ?    33758
  Misses            ?    26258
  Partials          ?     2416

Impacted Files
Coverage Δ
Complexity Δ

...ava/org/apache/jorphan/logging/LoggingManager.java
12.5% <ø> (ø)
1 <0> (?)

...ava/org/apache/jmeter/assertions/BSFAssertion.java
16.66% <0%> (ø)
3 <0> (?)

...g/apache/jmeter/assertions/BeanShellAssertion.java
7.14% <0%> (ø)
3 <0> (?)

...org/apache/jmeter/assertions/CompareAssertion.java
5.2% <0%> (ø)
1 <0> (?)

...rg/apache/jmeter/protocol/java/test/SleepTest.java
11.32% <100%> (ø)
3 <2> (?)

...rg/apache/jmeter/assertions/ResponseAssertion.java
82.87% <100%> (ø)
91 <0> (?)

...n/java/org/apache/jmeter/control/IfController.java
72.05% <100%> (ø)
24 <1> (?)

...main/java/org/apache/jmeter/functions/CSVRead.java
65.85% <100%> (ø)
8 <0> (?)

...pache/jmeter/report/dashboard/TemplateVisitor.java
93.54% <100%> (ø)
5 <0> (?)

...ter/extractor/json/jsonpath/JSONPostProcessor.java
68.1% <100%> (ø)
30 <1> (?)

... and 11 more

Continue to review full report at Codecov.

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

Pushed requested changes :)


Improve the appearance of Deep Parallax in SpatialMaterial

3.x version of https://github.com/godotengine/godot/pull/50377. See also https://github.com/godotengine/godot/pull/51433.
This better preserves depth when viewed at oblique angles. Artifacts due to the amount of layers being low may be more noticeable as a result, but it's generally better to decrease the heightmap scale instead.
This is done by dividing the delta by the dot product of the view vector and normal vector.

Closing, as https://github.com/godotengine/godot/pull/50377 was rejected. If https://github.com/godotengine/godot/pull/62002 is merged, we could consider backporting it to 3.x.


Add Custom GridLines SP5

How is it done to create and add horizontal and vertical lines in ScottPlot 5?

Hi @GuiWolff! I appreciate your question, but the preview version of ScottPlot 5 is not intended to be used yet and although this may be possible it is intentionally undocumented since it is still being worked on and its API may change.
https://scottplot.net/versions/
I recommend using ScottPlot 4 for all tasks - it's extremely stable, mature, customizable, and extensively documented 👍
https://scottplot.net/cookbook/4.1/category/axis-and-ticks/#grid-style


Update WriteBatch.php

get a dirty value $inArray on filterFields function
PLEASE READ THIS ENTIRE MESSAGE
Hello, and thank you for your contribution! Please note that this repository is
a read-only split of GoogleCloudPlatform/google-cloud-php. As such, we are
unable to accept pull requests to this repository.
We welcome your pull request and would be happy to consider it for inclusion in
our library if you follow these steps:

Clone the parent client library repository:

$ git clone git@github.com:GoogleCloudPlatform/google-cloud-php.git

Move your changes into the correct location in that library. Library code
belongs in Firestore/src, and tests in Firestore/tests.

Push the changes in a new branch to a fork, and open a new pull request
here.

Thanks again, and we look forward to seeing your proposed change!
The Google Cloud PHP team

Hi @textarea,
Unfortunately we cannot accept pull requests to this repository. Please feel free to open an issue or pull against google-cloud-php.
When opening an issue or PR on the repository referenced, if you're reporting an issue you've found with the client, could you provide some sample code used to trigger the error?


Initial commit based on similar livelab

WMS ID: 11401
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

@MarkHeff - I see this workshop is In Development status in WMS. Please perform thorogh self-QA of the workshop using the Self QA Checklist in WMS and update the status to Self QA Complete to be able to review this PR.

Hi @MarkHeff,
Please let us know if you have any questions to about performing the QA. After you apply the changes needed, we will go ahead and approve your PR.
Thank you,
Ramu

@MarkHeff - Following up on this PR for an update. Thank you!

@anooshapilli @rahul-tasker I've finished the self QA and opened a new PR: https://github.com/oracle-livelabs/oci/pull/191


STDOUT vs STDERR

java -jar ~/tools/juicebox/juicer_tools_0.7.0.jar eigenvector VC K526.links.hic chr11 BP 100000 -p  > test.txt
It looks like you're printing the HiC file version to stdout rather than stderr.

This should be fixed in latest jar.


Adding initial metrics in the operator service

Description
Adding initial set of metrics in operator service.
operator/service_created_total:  The total number of dapr service created
operator/service_deleted_total: The total number of dapr service deleted
operator/service_updated_total: The total number of dapr service updated
Issue reference
#971
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation
[ ] Specification has been updated
[ ] Provided sample for the feature

cc @youngbupark , @yaron2 , @amanbha


Dashboard shows empty directory list after login for private/hidden maven repo

What happened?
After updating the reposilite from 2.x to latest 3.x I've got the following problem - private or hidden maven repositories are visible only for users with admin permission. But if you navigate (using URL) to 1 level into the repository structure it can be seen. Details below.

Have 3 maven repositories configured as: public (/public), hidden (/hidden), private (/private).
Create other user token with read path permission for "/"
Login into the new user (created above).

What is see:
Only public repository is seen. But the other ones - hidden and private are not visible on dashboard. But if you navigate using the address bar (via maven.example.com/#/private or  maven.example.com/#/hidden) it can be normally accessed and is visible on the dashboard.
I'm using version 3.0.3
Reposilite version
3.x
Relevant log output
No response

Sorry for late response, I was quite busy lately. Looks like a visual bug for /, thanks for reporting this.


fix: ahead of 10 minutes refresh token

Signed-off-by: liuying<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #93
Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2c65e89). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #94   +/-   ##
=========================================
  Coverage          ?   47.46%
=========================================
  Files             ?        6
  Lines             ?      552
  Branches          ?      152
=========================================
  Hits              ?      262
  Misses            ?      227
  Partials          ?       63

/lgtm

/approve


Docker compose example

Title
Docker compose example
Description
Developers are using Docker compose to quickly spin up CRDB . There are existing documentation of Docker compose with CockroachDB from @dbist at https://blog.ervits.com/2019/12/running-cockroachdb-with-docker-compose.html.
When used within CI/CD, related components may find it necessary Docker compose to wait for adjacent containers to start until cockroach is ready to go.  https://docs.docker.com/compose/startup-order/ was referenced as a method of waiting.
Outline

describe docker compose
add an example of waiting CRDB is ready before starting dependent services

Expected Audience
Developers

Zendesk ticket #5049 has been linked to this issue.

cc @piyush-singh, @taroface, @mikeCRL


⚠ Bofrost.de has degraded performance

In ad5aa0e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1162 ms

Resolved: Bofrost.de performance has improved in 83fbad7 after 18 minutes.


Add a database example.

It would be really nice if you could add an example which shows how the face encodings can be stored in a database and how to efficiently query them.

eummmm,Me too,please!!!!!!!Thank  you

please！   TVT!!!!!  help me

Have you solved your problem

Moved to this thread:
https://github.com/ageitgey/face_recognition/issues/403#issuecomment-374336850

This doesn't seem relevant to a machine learning library page. Database design, storage, and retrieval is orthogonal to usage of a machine learning library. You wouldn't expect an example of how to operate your oven in a cookie recipe, would you?
Perhaps mention of the fact that the library's face data is a set of 128 floats would be sufficient. On that, it may be helpful to link to the code which performs the difference computation, or briefly describe how it works (Euclidean distance, if I recall from a similar thread).

It would be really nice if you could add an example which shows how the face encodings can be stored in a database and how to efficiently query them.

did you find a way of doing this on windows @r04drunn3r


iOS Keyboard displays over TextInput field preventing user from seeing it.

When a  field is displayed in lower part of screen and user taps on it to enter text, the keyboard displays on top of the field forcing the user to scroll to see the field again. The correct behavior should be to slide the underlying window up when the keyboard is being displayed so it doesn't cover the input field.
Replicate bug: Using the UIExplorer text input demo screen, try entering text into a TextField that is on bottom of screen. Keyboard displays on top of TextField and hides the text field from view.

:+1: I've also been trying to find a work around for this in the meantime (i.e. something along the lines of onFocus={this._slideViewUpToShowInputElement(refName)}

:+1:

Could you give us an example @erikthedeveloper , I can't get this work :( Thanks!

:+1:

I can't do work
the error message is not a function

Ahh, good call @erikthedeveloper. Hopefully this behavior will be baked in soon!

@stirman how do you do , can show me show source

I have a good solution of http://stackoverflow.com/questions/29313244/how-to-auto-slide-the-window-out-from-behind-keyboard-when-textinput-has-focus

If the solution that @wangzhe1995 linked to does not work for anybody, ping me and I'll re-open the issue! :smile:

It would be awesome to see a component/example of a messaging view where the keyboard slides up with the input field.  :+1:

As of React Native 0.29 you can use React Native's  https://github.com/facebook/react-native/commit/8b78846a9501ef9c5ce9d1e18ee104bfae76af2e

KeyboardAvoidingView does not work...
https://github.com/facebook/react-native/issues/8855

Hi All,
i just resolve this issue with alternative solution, by using the animation, Hope this will help
import { Animated, Keyboard} from 'react-native';
constructor(props) {
super(props);
//For the keyboard
this.keyboardHeight = new Animated.Value(0);

}
//For key board
componentWillMount () {
console.log("Keyboard componentWillMount")
this.keyboardWillShowSub = Keyboard.addListener('keyboardWillShow', this.keyboardWillShow);
this.keyboardWillHideSub = Keyboard.addListener('keyboardWillHide', this.keyboardWillHide);
}
componentWillUnmount() {
console.log("Keyboard componentWillUnmount")
this.keyboardWillShowSub.remove();
this.keyboardWillHideSub.remove();
}
keyboardWillShow = (event) => {
console.log("keyboardWillShow")
Animated.parallel([
Animated.timing(this.keyboardHeight, {
duration: event.duration,
toValue: event.endCoordinates.height,
})
]).start();
};
keyboardWillHide = (event) => {
console.log("keyboardWillHide")
Animated.parallel([
Animated.timing(this.keyboardHeight, {
duration: event.duration,
toValue: 0,
})
]).start();
};
render() {
<Animated.View style={[styles.container, { paddingBottom: this.keyboardHeight }]}>
<TextInput ........>

</Animated.View>
}


Follow Finder

Useful so you don't have to select a folder manually every time to change to another project.
This is how it's going to be in gulp-app: https://github.com/sindresorhus/gulp-app/issues/16#issuecomment-46802966

Cool!

Released with v0.3.0


Add Missing Specs From Workers

@ritesh-skyach can we close this issue ?

@ysv Yes, We can close this issue.