Need to update Hosting documents to remove claim of 'side-by-side'

The following sentence should be changed:
Because .NET Core is able to run side-by-side with itself, it's even possible to create hosts which initialize and start multiple versions of the .NET Core runtime and execute apps on all of them in the same process.
To:
.NET Core is not supported to run side-by-side with itself.  If you are looking for assembly loading isolation consider AssemblyLoadContexts (https://docs.microsoft.com/en-us/dotnet/api/system.runtime.loader.assemblyloadcontext?view=netcore-2.2)

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

ID: 83da7030-b5f1-72ad-71f6-424ff45b8b7f
Version Independent ID: a98926cc-64ab-2911-e4b8-1eaf4573dfe4
Content: Write a custom .NET Core runtime host - .NET Core
Content Source: docs/core/tutorials/netcore-hosting.md
Product: dotnet-core
GitHub Login: @mjrousos
Microsoft Alias: mairaw

@jeffschwMSFT, I can make the necessary update. I thought back in the Silverlight days it was possible to start more than on CoreCLR instance in-proc. I take it that has changed?

Looking at the doc in question, I don't think we need to address the side-by-side scenario at all. It looks like the only reason it was mentioned was as a cool 'extra' feature for people implementing advanced hosting scenarios. If this isn't a supported scenario, my proposed fix would be to just remove that sentence. Let me know if that makes sense.

Thanks @mjrousos, I agree removing the sentence looks like the right fix.


No space left on device

Seems like #608 is happening again.
Example of failing package:
https://esm.sh/@brevity-builder/react@1.2.77?target=esnext&dev&pin=v135&external=react,react-dom,zustand,use-sync-external-store,react-is

the fs inodes of the server was out of usage, now should work again
i will add a warning system mark sure this doesn't happen again


Add support for Laravel 8

Add support for Laravel 8

Hi
Do you have any plan to merge the PR?

@mohamednagy any word on this?

Hey, I love the thought and work you putted into this. But I feel it's a shame that it not supporting of Laravel  8.
There's a PR to add this. If you could please merge it.
BTW I'm totally welling to maintain this repo if you don't have enough free time :)

@nagi1 Hey Ahmed, thanks for offering support here, unfortunately i don't have time atm to maintain the package, i really appreciate that, i added you as a maintainer.

Thank you, for your valuable contribution. it now supports Laravel 8, please use 2.0


Fix area_shape_exited's description

area_shape_entered and area_shape_exited had the exact same description. Changed area_shape_exited's description to specify that the signal is emitted when another area's shape exits rather than enters this area's shapes.

Thanks, and congrats on your first contribution! 🎉


Minor fixes to get <IP_ADDRESS> working

Updated buildDockerImage.sh to reflect the dir's in the repos.
Moved Dockerfile to Dockerfile.ee and copied to Dockerfile.se2. Figured that would be better than updating buildDockerImage.sh for <IP_ADDRESS>

I have completed the ORA and submitted it via email.

@gvenzl I have verified the OCA. Please go ahead and review this pull request.

Hi @r2datical!
First of all, thanks a lot for your contribution, it is highly appreciated!
I struggle to understand the intention of this PR.
It seems that the PR is to provide the capability to build Oracle Database <IP_ADDRESS> SE2 Docker images. This, however, is already possible with the current files and controlled via the -s and -e parameters of the buildDockerImage.sh script:
Building the EE image:
[oracle@ol7 dockerfiles]$ ./buildDockerImage.sh -e -v <IP_ADDRESS>
Checking Docker version.
Checking if required packages are present and valid...
linuxx64_12201_database.zip: OK
...
...
...
Successfully built 944bdb5d030b
Successfully tagged oracle/database:<IP_ADDRESS>-ee

  Oracle Database Docker Image for 'ee' version <IP_ADDRESS> is ready to be extended:

    --> oracle/database:<IP_ADDRESS>-ee

  Build completed in 605 seconds.

[oracle@ol7 dockerfiles]$ docker run --name ee oracle/database:<IP_ADDRESS>-ee
ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN:
...
...
...
SQL*Plus: Release <IP_ADDRESS>.0 Production on Thu Mar 12 22:26:38 2020

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production

SQL>
System altered.

SQL>
Pluggable database altered.

SQL>
PL/SQL procedure successfully completed.

SQL> Disconnected from Oracle Database 12c Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production
The Oracle base remains unchanged with value /opt/oracle
#########################
DATABASE IS READY TO USE!
#########################

--> Connected to: Oracle Database 12c Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production
Building the SE2 image:
[oracle@ol7 dockerfiles]$ ./buildDockerImage.sh -s -v <IP_ADDRESS>
Checking Docker version.
Checking if required packages are present and valid...
linuxx64_12201_database.zip: OK
...
...
...
Successfully built b71668d2754c
Successfully tagged oracle/database:<IP_ADDRESS>-se2

  Oracle Database Docker Image for 'se2' version <IP_ADDRESS> is ready to be extended:

    --> oracle/database:<IP_ADDRESS>-se2

  Build completed in 574 seconds.

[oracle@ol7 dockerfiles]$ ./buildDockerImage.sh -s -v <IP_ADDRESS>
Checking Docker version.
Checking if required packages are present and valid...
linuxx64_12201_database.zip: OK
...
...
...
SQL*Plus: Release <IP_ADDRESS>.0 Production on Thu Mar 12 22:36:30 2020

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Standard Edition Release <IP_ADDRESS>.0 - 64bit Production

SQL>
System altered.

SQL>
Pluggable database altered.

SQL>
PL/SQL procedure successfully completed.

SQL> Disconnected from Oracle Database 12c Standard Edition Release <IP_ADDRESS>.0 - 64bit Production
The Oracle base remains unchanged with value /opt/oracle
#########################
DATABASE IS READY TO USE!
#########################

--> Connected to: Oracle Database 12c Standard Edition Release <IP_ADDRESS>.0 - 64bit Production

Ha! So, weird...thanks for setting me straight. I SWEAR I was trying to do just that but ran into problems. I'm going to close this,
Thanks a ton for looking at it!!! Big fan of you and team's work!!!

No worries, I was just not sure whether I was missing something or not.
Perhaps you had the wrong zip file in the directory or similar...
Glad to read that it works now!


Flatcc incorrect behaviour: compiling enum as a vector

I was trying to compile a schema (enum Status).
part of it is:
table GetStatusResponse {
status:Status;
}
enum Status: byte {
status1 = 0,
status2 = 1,
status3 = 2,
status4 = 3
}
but it doesnt compile it as an enum. it compiles as a vector.
can anyone help me?

A vector is defined for enums even you you don't need a vector. Flatcc generates all operators for all types it sees.
You still have the underlying enum type and the vector does no harm, nor does it consume any space in compiled code if you do not use it.

In the generated reader code this is line the defines the scalar status field:
__flatbuffers_define_scalar_field(0, GetStatusResponse, status, Status, Status_enum_t, INT8_C(0))

It does not use the vector.

But, I suspect what confuses you is not the enum as vector since that is hidden in macro definitions. It it the GetStatusResponse table which is also defined as a vector, but unrelated to enums specifically:
static inline size_t GetStatusResponse_vec_len(GetStatusResponse_vec_t vec)
__flatbuffers_vec_len(vec)
static inline GetStatusResponse_table_t GetStatusResponse_vec_at(GetStatusResponse_vec_t vec, size_t i)
__flatbuffers_offset_vec_at(GetStatusResponse_table_t, vec, i, 0)

This makes it possible to have  a vector of GetStatusResponse tables, for example if you include the schema in another schema file. Flatcc always produces the same output regardless of how a schema is included.
Technically the table vector ought to be hidden in a macro definition to remove unnecessary "noise" in the output, but I never got around to that.


Cannot open variable explorer, VS 2017.2

Nothing in event viewer
Nothing in activity log
I tried to break on exception attached to VS debugger, but no exception is thrown?
---------------------------
Microsoft Visual Studio
---------------------------
Exception has been thrown by the target of an invocation.
---------------------------
OK
---------------------------

Microsoft Visual Studio Enterprise 2017 Int Preview
Version 15.2 (26424.2-Preview) d15rel Internal Preview - Dogfood
VisualStudio.15.IntPreview/15.2.0-Preview+26424.2.d15rel
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Enterprise
Visual Basic 2017   00369-60000-00001-AA743
Microsoft Visual Basic 2017
Visual C# 2017   00369-60000-00001-AA743
Microsoft Visual C# 2017
Visual F# 4.1   00369-60000-00001-AA743
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package   8.6.00404.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.0.30404.0
ASP.NET and Web Tools 2017
ASP.NET Web Frameworks and Tools 2017   5.2.50303.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   3.0.17114.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events
JavaScript Language Service   2.0
JavaScript Language Service
KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft Azure Hive Query Language Service   2.2.5000.0
Language service for Hive query
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
NuGet Package Manager   4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Python   3.0.17114.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   3.0.17114.1
Provides templates and integration for the Django web framework.
Python - IronPython support   3.0.17114.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support   3.0.17114.1
Profiling support for Python projects.
R Tools for Visual Studio   1.1.30428.1005
Provides project system, R Interactive window, plotting, and more for the R programming language.
SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio

more info:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=RootTreeGrid'. BindingExpression:(no path); DataItem=null; target element is 'VariableView' (Name='Self'); target property is 'FocusedElement' (type 'IInputElement')

https://github.com/Microsoft/RTVS/commit/690cfa4067dcf020400c62c83b61839d0f360860


feat: add option to not protect the default branch

Hey, I just made a Pull Request!
This PR adds a new parameter protectDefaultBranch, defaulting to true, to the publish:github action. This allows projects to be published without branch protection.
The need for this has arisen from some old projects we have created templates for, which need the default branch not to be protected.
This is my first PR to the project, so all feedback is welcome :)
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] N/A Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] N/A Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

I went ahead and fixed up the API reports, so this should be good to go when it's all green! ✅

Hey @leodag, congrats on your first merged PR 🎉 Nice work 👍 Please let me know if we can be helpful in any way.


Documentation TOC width not correct

For some reason the correct media queries are not being pulled in. This view is for a smaller screen as confirmed by the devtools. The layout styles that are being applied are for @media (min-width: 48em) when it should be pulling in the 64em width styles. Need to investigate what's going on here.

Older version of the site but this confirmed my suspicions. Correct width:


Support pause and resume of MySQL cluster clustering.

What
Support pause and resume of MySQL cluster clustering.
There is a user need to align the gtid_executed of all replicas manually
by doing replication from each Pod for consistency checks between Pods in the MySQL Cluster.
In this process, it is necessary to stop the replica's sql thread and manually advance the gtid,
but there is no function to stop clustering in the current MOCO and MOCO starts replication automatically.
Therefore, we are implementing a function to temporarily stop MOCO's clustering monitoring.
How
Proposals will be prepared.
Checklist

[ ] Finish implementation of the issue
[ ] Test all functions
[ ] Have enough logs to trace activities
[ ] Notify developers of necessary actions

https://github.com/cybozu-go/moco/pull/578

I Implemented in the above pull request.
This change is included in v0.20.0 of moco.
https://github.com/cybozu-go/moco/releases/tag/v0.20.0


chore: Reactivate sonar

maybe now possible after an upgrade of the sonarqube plugin.

sorry, happened again :-)


Allocate LVGL heap and VDB into external memory

MCUs used to drive large displays commonly have little built-in SRAM. To get around this problem they generally have an much bigger external SDRAM  module attached to it.
Would be nice to have an option to move the heap and buffer used by LVGL to an external address.
Below is an example. I have an STM32H757 with 8 MB external SDRAM being used for LTDC as framebuffer. Since my display resolution is 1280x800 and color depth is 16 bits, only 2048 KB is in use. LVGL heap and VDB are occupying precious internal RAM while I have plenty of external memory unused. If this could be allocated to the remaining portion of external RAM I could have plenty of free internal RAM and would be able to do things like use double full screen buffering.
Memory region         Used Size  Region Size  %age Used
           FLASH:      232940 B         1 MB     22.21%
             RAM:      441088 B       512 KB     84.13%
            QSPI:          0 GB       256 MB      0.00%
           SRAM1:          0 GB       128 KB      0.00%
           SRAM2:          0 GB       128 KB      0.00%
           SRAM3:          0 GB        32 KB      0.00%
           SRAM4:          0 GB        64 KB      0.00%
          SDRAM2:       2000 KB         8 MB     24.41%
        IDT_LIST:          0 GB         2 KB      0.00%

There's a PR that could help, https://github.com/zephyrproject-rtos/zephyr/pull/66270, however I think this needs some more work to get right.
Maybe @faxe1008 can comment on this.

There's a PR that could help, #66270, however I think this needs some more work to get right. Maybe @faxe1008 can comment on this.

This only applies to heap or VDB buffer too?

VDB static allocation can already be placed into a custom section. There are already kconfig flags for it.


[Fix][1.3] Epicli is failing in air-gapped infra mode

/azp run

@plirglo I would just close this PR


please add institute

https://universae.com/ official website, institute accredited by the Spanish Ministry of Education thanks!

@Herny11 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


adding whitelist validation to iam cross-account

adding whitelist validation for IAM policy conditions SourceVpc & SourceVpce
adding test s3 policies for unittesting
ensures that any policy with a SourceVpc(e) condition is not immediately allowed passage and is verified against a given whitelist

thanks for the rebase, i was thinking we could do this as a subclass for s3, so that these s3 specific conditions are only evaluated on s3 resources. i'd also rather that in the subclass we explicitly have config fields for the vpc and vpce fields, rather than overloading here of vpc and vpce values into the accounts parameters.

@kapilt these are global conditions. They are not specific to S3.

not quite, the only valid resource policy they can be on at the moment is s3. no other resources with embedded iam policies are available over endpoints at the moment and these conditions are specific  to vpc endpoints based traffic, which for classic endpoints is s3 and dynamodb (dynamodb does not do embedded iam resource policies), for newer style endpoints (aka privatelink) ec2, elb, kinesis, service catalog, system manager this filter doesn't apply (no embedded iam policies). it does seem like more resources will be coming that way though but today this condition evaluation is s3 specific.

let's go ahead and leave it here instead of the separate subclass, it does seem like more services will be going endpoint based in the future (tbd) and that these conditions will be applicable when they do.
However per previous comments on this and the previous pull request we really should separate out the vpc/vpce values from account values for configuration of the filter.

I think I understand what you’re saying. Since this is an embedded policy checker, and right now only s3 can have embedded sourceVpc/e conditions, it’s only applicable to s3 at this time.


Create bash script to quickly create and download dotfiles or a specific rice

consider different scripts for different OSs
consider using stow to just create symbolic links

or maybe have the option to do either?

Take some inspiration from oh-my-zsh to use curl or wget for install and backup existing config.
install.sh
Current thought is to create an install script which saves current dotfiles to directory and then replace with the ones specified through the install script. Should include installing packages and themes. Be able to select which configs to exclude like when installing pacman packages or select which packages to install.
uninstall.sh
Overwrite current configs with backed up configs. Potentially selectively choose which ones to use?

dotfile example
oh-my-zsh example

Updated Idea
Install.sh

Include all packages by default with some exclusions that are not packages. This is because in most cases users will want to just try the whole thing out first since it is easier
Allow users to have the configs copied (default since stow might not be installed) or use stow which creates hard links recursively for each package
Allow user to choose to backup their files
Create a base install script which first selects which dotfile configuration to use which then runs the current install script respectively.

Update.sh

Not needed, can probably just copy/restow (install) all files on top again without checking if out of date for now.

Need to figure out how to restow files if they already exist though

If there are new packages used in dotfiles, it is caught by the install.

Uninstall.sh

Remove all packages which were installed and move/rename backups back again


Scrape tutorial - lbxml2 related errors installing Scrapy and unresolved external errors installing psycopg2

Systeminfo: MS Windows 7, Python 2.7
Running a command pip install -r requirements.txt from within virtualenv I kept getting bunch of errors, once running the requirements one by one it turned out that issue was with scrapy and psycopg2.
Solving issue with Scrapy
The installation would fail with the following error
    c:\users\<user>\appdata\local\temp\xmlXPathInitjfnyng.c(1) : fatal error C1083: Cannot open include file: 'libxml/xpat
h.h': No such file or directory
    *********************************************************************************
    Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
    *********************************************************************************
    error: command 'C:\\Users\\<user>\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\c
l.exe' failed with exit status 2

    ----------------------------------------
Command "c:\users\<user>\.virtualenvs\scrapeproj\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users
\\<user>\\appdata\\local\\temp\\pip-build-8nda_z\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).r
ead().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\<user>\appdata\local\temp\pip-nkczkk-record\ins
tall-record.txt --single-version-externally-managed --compile --install-headers c:\users\<user>\.virtualenvs\scrapeproj\in
clude\site\python2.7\lxml" failed with error code 1 in c:\users\<user>\appdata\local\temp\pip-build-8nda_z\lxml

Simply running pip install lxml within virtualenv did not help (suggestion from here),
but running
easy_install.exe lxml
as indicated here helped
Solving issue with psycopg2
While installing the psycopg2==2.5.4 I kept getting the following errors:
build\lib.win32-2.7\psycopg2\_psycopg.pyd : fatal error LNK1120: 62 unresolved externals
error: Setup script exited with error: command 'C:\\Users\\mita\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++
 for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 1120

and managed to solve them by installing the binaries (see more details here) by running
pip install git+https://github.com/nwcell/psycopg2-windows.git@win32-py27#egg=psycopg2
within virtualenv

I had the error in Mint 17.3. Unable to install Scrapy...
Command "/home/chad/Envs/ScrapeProf/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ZrTWdn/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0AOCRj-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/chad/Envs/ScrapeProf/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-ZrTWdn/cffi

@mlukjanska libxml2 is a C library. You probably need the development versions of libxml2 and libxslt, but I can't say off-hand what exactly you'll need on Windows. I can check when I have access to a Windows machine this afternoon. In the meantime, you can check out the libxml website for a binary.
@spizeck Is that the entire error message? What command did you enter? If you're having the same problems that @mlukjanska is having, then you would resolve it with
sudo apt-get update
sudo apt-get install libxml2-dev libxslt1-dev

I'm still getting error by easy_install in win7.
could not find function xmlCheckVersion in library libXml2. Is libxml2 installed?

I'm still getting error by easy_install in win7.
could not find function xmlCheckVersion in library libXml2. Is libxml2 installed?

"pip install lxml==3.4.2" command helped me to solve this issue.


Calendar event, Not able to delete

Not able to delete event which is cancelled.
Please help

Have you tried right clicking on an event to open context menu and click delete?

If you are on hosted then you can see the new calendar, which has the option to delete on the edit dialog.

We're closing old issues so we can get back to actively maintaining the extension. Feel free to reopen if this is still an issue for you.


Limit admin-account session time

We need a way to get rid of "dead" sessions for which client have lost token and can't use.

Due to latest changes this becomes irrelevant.


Add user config option to disable the Admin

Hello.
I don't have https/ssl on my server, so I prefer to just disable the admin in production. Something like this worked with my modified Ghost builds in the past.
You can merge this if it looks OK, but I just wanted to throw the idea out there.
Also, Ghost has come quite a long way! Congratulations to the team.

Hey @darvelo long time no see! Sorry for leaving this without a response for such a long time, the time around the Zelda release was rather hectic :)
I don't think there's enough of a use-case to warrant adding this feature - if the admin is disabled, then there's no way to update your blog contents, which is a bit weird. SSL is also now being pushed as the standard for all content on the web, with projects cropping up to make it cheaper and easier to do and I'd be very much in favour of encouraging everyone to setup SSL ✨

@ErisDS Haha, yes, I noticed! I'm still subscribed to the Ghost dev newsletter. ;)
I think your decision not to merge is totally merited. Sadly, I can't justify SSL on my server, can't afford it, so it looks like I'll still be maintaining my own branch of Ghost for now. C'est la vie. :) Good to hear from you again.

@darvelo This is a somewhat useful feature.
You could along with disabling the Admin create a CLI that will do everything the admin does. For instance loading a .md file for a post, or typing a few quick commands to do basic tasks.
Just a thought :smile:

FWIW: You don't need to patch Ghost to deny access to admin. It is way more convenient to deny  requests to the /ghost route from your proxy server (nginx/apache). With this setup you could even allow access for certain IP addresses :).

@DanielTamkin That would be pretty cool!
@sebgie That's very true. Good idea! Very clever about the IP addresses, too. :smirk:


Update GHA.yml

Adding CI for Pharo64-12

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4

Relevant Lines:
4

💛  - Coveralls


Mock once feature

Hey, it would be very convient to have a utility function to mock the route and remove the route straight after it gets 1 call. Maybe even a mock_n one.

I like it! Can immediately see why that's useful.
Technically this could be implemented entirely as a wrapper function, but including in the library itself would be way better.
I'm planning to update the router dep (see #2) but hit some unexpected trouble with that. Once that's done I'll introduce this feature.
Also planning to take a look at the API surface of this module... I don't love it right now. Would appreciate your input on how it could be improved!

@SeparateRecords Thanks for getting back. I believe it would be really useful to have also something to check whether the routes were called or not thus enforcing a stronger test process.


Can't import library

This works perfectly on my computer, however, I'm trying to work with this in a server (which I do not have sudo permissions) and I can't import it. I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "twitter_scraper/__init__.py", line 1, in <module>
    from .modules.profile import Profile
  File "twitter_scraper/modules/profile.py", line 27
    "Referer": f"https://twitter.com/{username}",
                                               ^
SyntaxError: invalid syntax

Since, as I said, I don't have sudo permissions, I have to install it from pip.

Fixed it. Was using Python .


fix: invalid validation config resulting crash

Fixes #10151
Type of change

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

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.

Test A
Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
// Code coverage diff between base branch:release and head branch: fix/invalid-validation-config

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
app/client/src/workers/validations.ts
80.22 (-0.17)
71.27 (-0.06)
74.19 (0)
81.16 (-0.19)

@Rishabh-Rathod Which property's validation result to this Sentry error?
Along with the patch in this PR, which root cause fix have we considered based on our findings?

Hey @riodeuno,
I haven’t done RCA for this issue.

Which property's validation result to this Sentry error?
which root cause fix have we considered based on our findings?

To answer the above question, we will need to do an RCA for this. I won't be able to pick this up currently.
It would be great if someone who has more knowledge on validations is involved here.

Closing the PR until required RCA and discussion is not completed.


support sgd & dot & embedding with rsp

same change in #72 but with rebased master

@reminisce just give it a final review before I merge it?


cf push panic: sync: negative WaitGroup counter

When I pushed dora I randomly got this error.
panic: sync: negative WaitGroup counter
Cannot reproduce, but looks like when I did push, it had problems connecting to get the logs, so likely related:
timeout connecting to log server, no log will be shown
Command
cf push dora -m 256m
CLI Version
cf version 6.18.0+b22884b-2016-05-10
Error
cf push dora -m 256m
Creating app dora in org o / space s as admin...
OK

Using route dora.bosh-lite.com
Binding dora.bosh-lite.com to dora...
OK

Uploading dora...
Uploading app files from: /Users/mark/workspace/cf-release/src/github.com/cloudfoundry/cf-acceptance-tests/assets/dora
Uploading 182.9K, 37 files
Done uploading
OK

timeout connecting to log server, no log will be shown
Starting app dora in org o / space s as admin...
panic: sync: negative WaitGroup counter

Stack Trace

Starting app dora in org o / space s as admin...
panic: sync: negative WaitGroup counter

goroutine 550 [running]:
panic(0x74aa80, 0xc8202ce780)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
sync.(*WaitGroup).Add(0xc8202c6e10, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/waitgroup.go:71 +0xd0
sync.(*WaitGroup).Done(0xc8202c6e10)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/waitgroup.go:96 +0x2a
github.com/cloudfoundry/cli/cf/commands/application.(*Start).tailStagingLogs.func1()
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/cf/commands/application/start.go:226 +0x27
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).retryAction.func1()
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:238 +0x2d
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).establishWebsocketConnection(0xc8200ee600, 0xc820cd6700, 0x31, 0xc8209dcd80, 0x465, 0x40000000, 0x0, 0x0)
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:285 +0x722
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).listenAction.func1(0x0, 0x0, 0xc8200ee600)
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:220 +0xe7
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).retryAction(0xc8200ee600, 0xc820cd6740, 0xc8203b2900, 0x5)
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:243 +0x10d
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).streamAppDataTo(0xc8200ee600, 0xc820297880, 0xc8204e6f90, 0x24, 0xc8209dcd80, 0x465, 0xc820282ea0, 0xc8203b2900, 0x5)
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:164 +0x19f
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).tailingLogs.func2(0xc8203b2900, 0xc8203b28a0, 0xc8200ee600, 0xc820297880, 0xc8204e6f90, 0x24, 0xc8209dcd80, 0x465, 0xc820282ea0, 0x5)
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:140 +0xd3
created by github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).tailingLogs
	/Users/cffadmin/concourse-work-dir/containers/00002kcgp52/tmp/build/254d4083/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:141 +0x13e

CC API Endpoint Version
API endpoint: https://api.bosh-lite.com (API version: 2.56.0)
Platform Details
Mac OS X
Shell
zsh

@markstgodard Looks like you found a super rare race condition. Thanks!

We believe that the connection is made concurrently, or immediately after the timeout is issued, but before the function returns. (https://github.com/cloudfoundry/cli/blob/c345a83c3d7f57096137a26b795b18d50bca8924/cf/commands/application/start.go#L241-L245  and https://github.com/cloudfoundry/cli/blob/c345a83c3d7f57096137a26b795b18d50bca8924/cf/commands/application/start.go#L224-L227)

We have fixed this in cf CLI 6.19.0, released today.
https://github.com/cloudfoundry/cli#downloads
Regards,
Dies Koper
CF CLI PM

We still see the issue with 6.19.0+b29b4e0-2016-06-08.

@vlerenc if I understand what you are saying, in one of your environments this error still occurs sometimes, but not all the time. Is that correct?
Is there any way that this environment is different from the other environments?

@challiwill Actually, in one it happens now all the time (when trying to push an app) while in others we see no issues. All have 6.19.0.

Hi @vlerenc
Could you submit an updated trace please? Also your app manifest file (if you're using one) with any secret info redacted?
Cheers,
Dies Koper
CF CLI PM

Sure, before the error, there is also a warning that I don't get with 6.18 (I see it only with 6.19), maybe the source of the problem and the reason why it's 100 % reproducible in that landscape?:
Warning: error tailing logs
Error dialing traffic controller server: read tcp <IP_ADDRESS>:37839->**.**.**.**:443: i/o timeout.
Please ask your Cloud Foundry Operator to check the platform configuration (traffic controller is wss://doppler.cf.*****************:443).
Starting app redis-app in org test / space containers as admin...
panic: sync: negative WaitGroup counter

goroutine 918 [running]:
panic(0xb5cc20, 0xc8204d8880)
	/usr/local/go/src/runtime/panic.go:481 +0x3e6
sync.(*WaitGroup).Add(0xc8203a8310, 0xffffffffffffffff)
	/usr/local/go/src/sync/waitgroup.go:71 +0xd0
sync.(*WaitGroup).Done(0xc8203a8310)
	/usr/local/go/src/sync/waitgroup.go:96 +0x2a
github.com/cloudfoundry/cli/cf/commands/application.(*Start).TailStagingLogs.func1()
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/cf/commands/application/start.go:245 +0x34
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).retryAction.func1()
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:238 +0x2d
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).establishWebsocketConnection(0xc8200c6900, 0xc8203b7c80, 0x31, 0xc820c10f00, 0x4d8, 0x5, 0x0, 0x0)
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:285 +0x722
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).listenAction.func1(0x0, 0x0, 0xc8204a9e38)
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:220 +0xe7
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).retryAction(0xc8200c6900, 0xc8203b7f80, 0xc82023f800, 0x5)
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:243 +0x10d
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).streamAppDataTo(0xc8200c6900, 0xc820362c00, 0xc820444750, 0x24, 0xc820c10f00, 0x4d8, 0xc8203a8350, 0xc82023f800, 0x5)
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:164 +0x19f
github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).tailingLogs.func2(0xc82023f800, 0xc82023f7a0, 0xc8200c6900, 0xc820362c00, 0xc820444750, 0x24, 0xc820c10f00, 0x4d8, 0xc8203a8350, 0x5)
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:140 +0xd3
created by github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer.(*Consumer).tailingLogs
	/tmp/build/80754af9/gopath/src/github.com/cloudfoundry/cli/vendor/github.com/cloudfoundry/noaa/consumer/async.go:141 +0x13e

And the manifest is that of a test app, minimal:
applications:
- name: redis-app
  command: node server.js
  memory: 256M
  instances: 1
  host: redis-app
  path: .
  services:
  - redis-service

@vlerenc We believe we have fixed this issue. Can you please try the appropriate edge binary and let us know. Thanks!

We believe this has now been fixed in cf CLI 6.20.0.
https://github.com/cloudfoundry/cli#downloads


Cannot connect with Bun

Describe the bug
error: Premature close
 code: "ERR_STREAM_PREMATURE_CLOSE"

      at new NodeError (node:stream:443:20)
      at node:stream:920:23

To Reproduce
https://github.com/polRk/ydb-nodejs-genproto/tree/polrk/buf%2Bconnectrpc
Environment (please complete the following information):

bun: 1.1.30
@bufbuild/protobuf: "^2.2.0"
@connectrpc/connect: "^2.0.0-beta.2"
@connectrpc/connect-node: "^2.0.0-beta.2"

Additional context
Works on Nodejs and Deno.

Bun aims for compatibility with the Node.js APIs, and asks to open an issue if you run into any bugs. Please open an issue against Bun.


install.sh hangs on macos with xcode 11.2

I've been using voltron with lldb/macos, but needed to reinstall b/c it stopped working. the install generates a warning and then is stuck and must be SIGTERMed:
Installing collected packages: voltron
  Found existing installation: voltron 0.1.7
    Uninstalling voltron-0.1.7:
      Successfully uninstalled voltron-0.1.7
    Running setup.py install for voltron ... done
Successfully installed voltron-0.1.7
+ GDB_INIT_FILE=/Users/ellery/.gdbinit
+ '[' -e /Users/ellery/.gdbinit ']'
+ sed -i.bak /voltron/d /Users/ellery/.gdbinit
+ '[' -z ']'
+ GDB_ENTRY_FILE=/Users/ellery/Library/Python/2.7/lib/python/site-packages/voltron/entry.py
+ echo 'source /Users/ellery/Library/Python/2.7/lib/python/site-packages/voltron/entry.py'
+ '[' 1 -eq 1 ']'
++ /usr/bin/lldb -Qxb --one-line 'script import platform; print(".".join(platform.python_version_tuple()[:2]))'
++ tail -1
warning: ignoring unknown option: -Qxb
error: module importing failed: inconsistent use of tabs and spaces in indentation (lldbinit.py, line 160)
  File "temp.py", line 1, in <module>

LLDB version:
$ lldb --version
lldb-1<IP_ADDRESS>
Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1<IP_ADDRESS>)

I think it's possible tlldb changed the way options are parsed (possibly: https://github.com/apple/swift-lldb/commit/65f9fc2eaab770a274776106425584e021aa7ae2). When I change all instances of -Qxb to -Q -x -b in the install script, I now fail with a different error:
+ LLDB_PYTHON=/Applications/Xcode.app/Contents/Developer/usr/bin/lldb
+ LLDB_PYTHON=/Applications/Xcode.app/Contents/Developer/usr/bin/lldb3.7
+ /Applications/Xcode.app/Contents/Developer/usr/bin/lldb3.7 -m pip install --user --upgrade six
./install.sh: line 171: /Applications/Xcode.app/Contents/Developer/usr/bin/lldb3.7: No such file or directory

..so it seems like maybe the version/executable detection is possibly broken with this version.

Also having this problem and tried to install it manually according to the instructions.
For me, it seems that my Xcode 11 has its own Python3.7 for lldb, inside /Applications/Xcode.app/....../bin/python3.7,  with its modules in ../lib/python3.7/site-packages. But running /Application/.../bin/python3.7 -m pip install voltron installed Voltron into /Library/Python/3.7/site-packages. And when inside lldb, Python does not look at this place for modules, i.e. command script import /path/to/voltron/entry.py is giving me No module named 'blessed'.
Xcode version
$ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version
Xcode 11.0
Build version 11A420a

LLDB version
$ lldb --version
lldb-1<IP_ADDRESS>
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1<IP_ADDRESS>)

Thanks for reporting this issue. I'm having a look now.
The problem appears to be twofold:

As described above lldb no longer likes -Qxb so we have to do -Q -x -b
Also as described above lldb's sys.executable now reports lldb instead of python,

@StellarTime I tested installing as user which puts packages in ~/Library/Python, and lldb/voltron seemed happy.  I haven't looked at what happens when you install to /Library/Python, yet.

I merged PR #262, which hopefully addresses this issue. I'll go ahead and close it. If there are further troubles, please open a new issue.

👍 - tested the latest and it works well for me.


[FLINK-11510] [DataStream] Add the MultiFieldSumAggregator to support KeyedStream.sum(int[] positionToSums )

What is the purpose of the change

The goal is to implement a KeyedStream API to sum with multi field as
https://issues.apache.org/jira/browse/FLINK-11510

Brief change log

add the class:

MultiFieldSumAggregator

add function in KeyedStream:

public SingleOutputStreamOperator sum(int[] positionToSums )
public SingleOutputStreamOperator sum(String[] fields)

add unit test in follow ut

DataStreamTest
AggregationFunctionTest

Verifying this change
This change added tests and can be verified as follows:

Added integration tests for end-to-end deployment with small data collection

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no

The public API, i.e., is any changed class annotated with@Public(Evolving): yes

org.apache.flink.streaming.api.datastream.KeyedStream

The serializers: no

The runtime per-record code paths (performance sensitive): no

Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no

The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? not documented

@flinkbot please re-render :)

@metzger   Is there anything need to update, please let me know. Looking forward to your review.  Thanks very much. :）

Thanks a lot for your contribution!
I've commented on the PR because the tracking comment by flinkbot was outdated.
Before I can review the pull request, I would like to get approval from somebody more familiar with the Flink API whether we have consensus to actually add this feature (see also the contribution guide: https://flink.apache.org/contribute-code.html#before-you-start-coding)
I've pinged Aljoscha in the JIRA ticket: https://issues.apache.org/jira/browse/FLINK-11510
Let's hope he soon confirms that the feature is a good fit.

@flinkbot approve description

@flinkbot disapprove consensus
I think this addition doesn't fit well into the general roadmap that the community has for Flink (see https://flink.apache.org/roadmap.html#analytics-applications-an-the-roles-of-datastream-dataset-and-table-api). The Table API can be used for cases where you need to do filtering, projection, and aggregation, so adding this limited functionality in the DataStream API would not make sense right now.
@wangpeibin713 I'm sorry that we only saw this only now and that you already put work into this. 😓

limited

@flinkbot disapprove consensus
I think this addition doesn't fit well into the general roadmap that the community has for Flink (see https://flink.apache.org/roadmap.html#analytics-applications-an-the-roles-of-datastream-dataset-and-table-api). The Table API can be used for cases where you need to do filtering, projection, and aggregation, so adding this limited functionality in the DataStream API would not make sense right now.
@wangpeibin713 I'm sorry that we only saw this only now and that you already put work into this. 😓

thanks for review. I will close this issue 🙂


jsk_common: 2.0.0-0 in 'hydro/distribution.yaml' [bloom]

Increasing version of package(s) in repository jsk_common to 2.0.0-0:

upstream repository: https://github.com/jsk-ros-pkg/jsk_common
release repository: https://github.com/tork-a/jsk_common-release.git
distro file: hydro/distribution.yaml
bloom version: 0.5.20
previous version for package: 1.0.71-0

dynamic_tf_publisher

No changes

image_view2

No changes

jsk_common
* split jsk_common into jsk_common_msgs and jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_common/issues/919
* Contributors: Kei Okada

jsk_data
* Fix default ROBOT name
* Contributors: Kohei Kimura

jsk_network_tools

No changes

jsk_tilt_laser
* [jsk_tilt_laser] Do not use laser_assembler in order to reduce CPU load
* Contributors: Ryohei Ueda

jsk_tools
* [jsk_tools] Record image_rect of axis camera
* [jsk_tools] Add calibration data
* [jsk_tools] Add launch to record axis camera
* Contributors: Kentaro Wada

jsk_topic_tools

No changes

multi_map_server

No changes

virtual_force_publisher
* pseudo jacobian has different for m>n and n<m
* format jacobian/effort/force output
* Contributors: Kei Okada

Are you sure you want all these packages to be removed?

yes, we have split jsk_common repository into several repos,https://github.com/jsk-ros-pkg/jsk_common/issues/919

@k-okada Thanks for splitting these out! I'm seeing a bunch of failures on the farm. It looks like many of the release repos are missing the indigo tags. For example: http://<IP_ADDRESS>:8080/job/Isrc_uT__rostwitter__ubuntu_trusty__source/16/console

thanks, it should be fixed now
--
◉ Kei Okada
On Fri, Jun 19, 2015 at 4:42 PM, Tully Foote<EMAIL_ADDRESS>wrote:

@k-okada https://github.com/k-okada Thanks for splitting these out! I'm
seeing a bunch of failures on the farm. It looks like many of the release
repos are missing the indigo tags. For example:
http://<IP_ADDRESS>:8080/job/Isrc_uT__rostwitter__ubuntu_trusty__source/16/console
—
Reply to this email directly or view it on GitHub
https://github.com/ros/rosdistro/pull/8719#issuecomment-113414436.

Yeah, it's good now.


CPLP-362: refactor provisioningDBAccess to use EFCore

refactored ProvisioningDBAccess to use EFCore (affects creation of new Idps - used in useradministration and provisioning - plus Clients (only used in Provisioning))
implemented CPLP-622: RegistrationService invite new User API endpoint using EFCore

@qxz2mqe : this PR contains the EFCore-classes for your new table 'user_password_resets' in schema 'provisioning'. Please start with new branch from main as soon this PR is merged.

@wira-mms : I did change table 'iam_users', renaming the pk back to iam_user_id to express that it (while technically being the pk of this table)  it refers to an external entity in keycloak. Changed the type to varchar(36) to match the keycloak column-type (we cannot know that is allways a guid as it may be set via the keycloak-api on user-creation)

@evegufy : we need to allign on adjusting the configuration for catena-ng/Argo-CD deployment.

@evegufy : secrets in keypass are updated in keepass for new 'dev' and also local devenv devhost/wsl. So in respect to new config this PR is ready to merge as soon secrets have been applied to new dev-environment


Refactor deprecated unittest aliases for Python 3.11 compatibility.

The deprecated aliases were removed in Python 3.11 in python/cpython#28268

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM, I'll fix the flake8 issue.


ERROR Adhearsion::Initializer:  undefined method `client' for {}:Hash

https://gist.github.com/415708873de5ec2cf60c

Noted. #dial has poor test coverage, and I think I know where this slipped in. Will be fixed in alpha2

I've tidied up the dial specs a little, but it appears this was already fixed. Will be included in alpha2


Oracle-Linux 9 and Vagrant's insecure key (ssh-rsa)

When using Vagrant 2.3.0 with oraclelinux/9 (virtualbox, 9.0.367) vagrant up fails with a timeout after
...
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
...

On server side /var/log/secure shows
Aug 27 21:30:17 localhost sshd[1739]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
Aug 27 21:30:17 localhost sshd[1739]: Connection closed by authenticating user vagrant <IP_ADDRESS> port 35552 [preauth]

from OpenSSH_8.7p1, OpenSSL 3.0.1 14 Dec 2021
I would suggest this patch.
diff --git a/oracle-linux-image-tools/cloud/vagrant-virtualbox/files/vagrant-common.sh b/oracle-linux-image-tools/cloud/vagrant-virtualbox/files/vagrant-common.sh
index 9d4312c..dd2562e 100755
--- a/oracle-linux-image-tools/cloud/vagrant-virtualbox/files/vagrant-common.sh
+++ b/oracle-linux-image-tools/cloud/vagrant-virtualbox/files/vagrant-common.sh
@@ -44,6 +44,11 @@ vagrant::config()
                EOF
   fi

+  # set crypto-policies to legacy, because vagrant's insecure key is of type ssh-rsa
+  if [[ "${ORACLE_RELEASE}" = "9" ]]; then
+    /bin/update-crypto-policies --set LEGACY
+  fi
+
   cat >>/etc/sysconfig/sshd <<EOF

 # Decrease connection time by preventing reverse DNS lookups

Thanks for reporting this.
This is somewhat interesting, because I can't reproduce on OL7 or OL8 hosts (which is why the test suite passed as we build on OL...)
On macOS,  I do see this issue during vagrant up, but I can connect with vagrant ssh, which make me think that this has nothing to do with vagrant's insecure key but rather with the built-in ruby ssh library; probably due to hashicorp/vagrant#12344 or similar.
Based on that and as far as I can see, simply re-enabling SHA1 with the DEFAULT policy seems to do the trick
update-crypto-policies --set DEFAULT:SHA1

I would prefer to keep the DEFAULT policy rather than downgrading to LEGACY...
I'll make that change and re-publish the OL9 boxes.

New boxes will be available when oracle/vagrant-projects#450 is merged


cli tool broken?

$ hockeyapp-cli -k *REDACTED* list-applications
Traceback (most recent call last):
  File "/usr/local/bin/hockeyapp-cli", line 9, in <module>
    load_entry_point('hockeyapp==0.4.0', 'console_scripts', 'hockeyapp-cli')()
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hockeyapp-0.4.0-py2.7.egg/hockeyapp/cli.py", line 168, in main
    args.func(args)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hockeyapp-0.4.0-py2.7.egg/hockeyapp/cli.py", line 61, in <lambda>
    show(apps.AppList(a.api_key)))
NameError: global name 'apps' is not defined

Just created a pull request for this - #17


Wrong syntax highlighting with division on new line

From @klinki on June 28, 2016 9:25

VSCode Version: 1.2.1
OS Version: Windows 10

Steps to Reproduce:

Start any valid arithmetic expression
Place / on new line

Screenshot:

Copied from original issue: Microsoft/vscode#8270

From @klinki on June 28, 2016 15:17
TypeScript but it is the same for JavaScript as well.

From @bpasero on June 28, 2016 13:33
@klinki what language are you in?


fixes value/valueRef for onChange callback. #25

Do you mind reviewing this @serjek? I've already made this change on all other clients as well! 👀


Prowlarr indexer is failing with Mediafusion configuration

I am trying to add mediafusion xml to prowlarr custom indexer. it's failing when i try to configure all the catalogues with self hosted mediaflow. not sure where the issue is.
it's not returning any results.

If I setup the manifest with real debrid, it won't work. it is working if I just use the default config of Torrent and leaving all other options as is.


pythran constraints None:None error: Specification for xx does not match inferred type

in my ubuntu machine, use python3.8,  pythran0.12.0
use command: pythran trans_test.py
there are two relatively simple function written in trans_test.py that l got the error:
#pythran export value_fill_max(str, int:int dict)
def value_fill_max(x,dic):
    l = list(dic.keys())
    if type(l[0]) == int:
        x = int(x)
    if type(l[0]) == str:
        x = str(x)
    if x not in l:
        x = max(l)
    return x

trans_test.py:None:None error: Specification for value_fill_max does not match inferred type:
expected Callable[[Collection[T0, T1], Dict[Collection[T0, T1], T2]], Collection[T0, T1]]
got Callable[[str, Dict[int, int]], ...]
#pythran export value_fill_min(str, int:int dict)
def value_fill_min(x,dic):
    l = list(dic.keys())
    if type(l[0]) == int:
        x = int(x)
    if type(l[0]) == str:
        x = str(x)
    if x not in l:
        if -999 in l:
            l.remove(-999)
        x = min(l)
    return x

trans_test.py:None:None error: Specification for value_fill_min does not match inferred type:
expected Callable[[int, Dict[int, T0]], int]
got Callable[[str, Dict[int, int]], ...]
l tried deleting some of the code in the function, turns out that only
l = list(dic.keys())
does not have a problem.
I've been digging for the answer for a while, could anyone help me with the right coding style?

Thanks for this interesting test case! There a re several issues with pythran in the way it would handle it, fix being crafted.
The prettiest (to me) way to write this code would be
#pythran export value_fill_max(str, int:int dict)
def value_fill_max(x, dic):
    key_type = type(next(iter(dic)))
    x = key_type(x)
    return x if x in dic else max(dic.keys())

And it's also more efficient than your approach that performs a copy to a list.
In both cases this requires a patch in Pythran, keep in touch.


Code of Conduct

[X] I agree to follow Biome's Code of Conduct

I don't think we support this kind of ignore syntax? https://biomejs.dev/linter/#ignoring-code

@Sec-ant Good shout! I think that will help as a workaround, though I would still agree with the report since it doesn’t make sense semantically to specify the function rather than the prop. The ignore syntax is currently indeed stricter than the actual dependency verification, so there’s at least some improvement to be made here.
PS.: The syntax is new since 1.8 ;)

I think I may see a solution: Instead of passing rule instances as Strings, we could create a RuleInstancePath type that holds a Vec<String>. Then this instance could be reported as:
RuleInstancePath {
    parts: vec!["props", "myArr", "map"]
}

This would give the analyzer a good agnostic method of matching on parts of ignored instances. The only “magic” still involved is that the analyzer would parse the ignore instance props.myArr and treat the dot as a separator. Choosing the dot as separate works well for this case, but it may turn out to be awkward for other situations. Even a case like props.myArr[0] is already finicky, since [0] should be its own part too. May need to put some thought into this 🤔


Snippets not working

v. 1.0.19 on Windows 7
'.source.js':
  'console.log':
    'prefix': 'loggg'
    'body': 'console.dir($1)'

btw atom starts very slowly, eating almost all my cpu O_o wtf

@Somebi Is that the entirety of your snippets.cson file?  If not, can you paste the entire contents of it into a Gist and then link it here?  Thanks.

https://gist.github.com/Somebi/830b05a2a06397d36d38

Closing this since the comments on the Gist appear that the issue has been resolved.
@Somebi if you manage to reproduce this again please comment here :).


Feature/update nextjs13

Features

add support nextjs13
add eslint
add prettier
add commitlint
add sharp resize image in production mode
update framer-motion
update @chakra-ui/react
update @chakra-ui/icons
update husky v8
add lint-staged
add husky hooks commit-msg, pre-commit and pre-push
fix more bugs
fix layout shift caused by fonts

nice PR🎉
I was waiting for this nextjs update

Wow insane job, you should be proud of this work gj!

@luas10c Nice! I will try to take a look at this this week!

@hauptrolle
// .eslintrc.js

/** @type{import('prettier').Config} */
module.exports = {
  tabWidth: 2,
  useTabs: false,
  singleQuote: true,
  jsxBracketSameLine: true,
  bracketSpacing: true,
  trailingComma: 'all',
  arrowParens: 'always',
  singleAttributePerLine: false,
  endOfLine: 'lf',
  bracketSameLine: true,
  printWidth: 90,
  semi: false,
  plugins: []
}

Also removed this on body:

This was from an extension called colorzilla

Merged!


K8s Namespace Triage codebundle improvements

Adds a new object condition status summary task to the codebundle which pulls any names+condition messages with status == False, this can potentially surface minute issues and should be applicable to all objects
Improved output formats for resources not present in the namespace, eg: no daemonsets results in a 0/0 for failed/checked in the output.
The last 5 events will now be shown with their associated kind.name object (configurable at the keyword level but I haven't set this in the codebundle to avoid field bloat)
Pods with restart counts within the age range will trigger a log fetch now, similar to pods with error events tied to them

Note: the log fetch is the last 20 lines and they're included only if they match the regex. These will be included in the report output so that users dont need to get access to the pod themselves - I have some perf. concerns but I'm curious about the value provided.
TODO: write more Kind parsers - on this note we should look at formalizing Parsers as a class before the code gets unruly

@jon-funk So I tested this out and my SLI is not giving us a clean score, which is correct, since 3 pods are NotReady:

But the TaskSet doesn't seem to show this... it's likely because those NotReady pods are a result of Jobs which I'd think we would want to factor in as a regular object to look for.

Caught a few bugs, thanks for the feedback. No longer parsing events by involvedObj == Pod (doh)
I noticed for your SLI in the unready pods you don't check condition.status age. Do you expect users to cleanup pods in the namespace that are reducing the SLI score? I removed the age check from the condition status task as it was parsing out the statuses as they're a day old.
For the unready pods, I can either write some jq + generate the output myself to make it pretty, or rename the task to be more inline with --field-selector=status.phase!=Running  -  thoughts? Wondering if the object status check covers that now for you.

Oh and the default kinds now include pods, so those will be included in the condition check and that should be more in line with expectations in relation to the SLI

The output here is definitely looking a lot more helpful, and indeed I think there's a needed change to the namespace healthcheck - as the pods in beta are "Completed" and thus being returned as "NotReady".
I didn't see it before since the other environment had pods in unhealthy state because of LinkerD, so I was conflating environments where in Beta, all pods are healthy but we are counting "Completed" as not healthy. I'll have to revise that in the SLI

Noice, I feel like this now provides actionable output based on the SLI data, great refactors @jon-funk


AP=0 in test but good in training set (FPN+Faster R-CNN)

❓ Questions and Help
I use modified e2e_faster_rcnn_R_50_FPN_1_1.yaml  to train my network, the parameters listed below:
MODEL:
  RPN_ONLY: False
  META_ARCHITECTURE: "GeneralizedRCNN"
  WEIGHT: "catalog://ImageNetPretrained/MSRA/R-50"
  BACKBONE:
    CONV_BODY: "R-50-FPN"
    FREEZE_CONV_BODY_AT: 0
  RESNETS:
    BACKBONE_OUT_CHANNELS: 256
  RPN:
    USE_FPN: True
    ANCHOR_STRIDE: (4, 8, 16, 32, 64)
    PRE_NMS_TOP_N_TRAIN: 2000
    PRE_NMS_TOP_N_TEST: 1000
    POST_NMS_TOP_N_TEST: 1000
    FPN_POST_NMS_TOP_N_TEST: 1000
  ROI_HEADS:
    USE_FPN: True
  ROI_BOX_HEAD:
    POOLER_RESOLUTION: 7
    POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
    POOLER_SAMPLING_RATIO: 2
    FEATURE_EXTRACTOR: "FPN2MLPFeatureExtractor"
    PREDICTOR: "FPNPredictor"
    NUM_CLASSES: 4
DATASETS:
  TRAIN: ("voc_2007_train_cocostyle",)
  TEST: ("voc_2007_test_cocostyle",)
DATALOADER:
  SIZE_DIVISIBILITY: 32
SOLVER:
  BASE_LR: 0.02
  WEIGHT_DECAY: 0.0001
  STEPS: (30000,)
  MAX_ITER: 40000
  IMS_PER_BATCH: 16
INPUT:
  BRIGHTNESS: 0.1
  SATURATION: 0.1
  CONTRAST: 0.1
  HUE: .1
  MIN_SIZE_TRAIN: (800,)
  MAX_SIZE_TRAIN: 800
  MIN_SIZE_TEST: 800
  MAX_SIZE_TEST: 800
OUTPUT_DIR: ./out-320-2

The evaluation result of training data itself is quietly good.
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.928
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.990
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.990
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.924
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.929
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.900
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.603
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.953
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.953
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.951
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.955
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.917
2019-08-21 12:09:04,328 maskrcnn_benchmark.inference INFO:
Task: bbox
AP, AP50, AP75, APs, APm, APl
0.9275, 0.9901, 0.9901, 0.9245, 0.9294, 0.8998

But the training result shows mAP is almost zero for all classes
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.009
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000
2019-08-21 11:57:42,432 maskrcnn_benchmark.inference INFO:
Task: bbox
AP, AP50, AP75, APs, APm, APl
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, -1.0000

Is anything I have to tune or anyway to improve that?
I also tried to use the checkpoints but it didn't work. I do not know how to solving this problem.

First thing is to visualize predictions.
Use this code https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/demo/predictor.py to see how the model predicts on your testset images.

If the prediction detections are good and you see that they are actually objects, then your test annotations could have been wrong. Then check your test annotation files and see if anything wrong. The best way is to visualize not by checking fields but by seeing boxes around objects.
If predictions are not good and you see that they are random then training did not go well. So check your training annotations. Same as above visualize boxes.

Let me know if you find what is wrong or else I can suggest what to do more.

Hi @derekhsu .
I also have the problem recently. Have you solved that?

Hi @ChongjianGE ,
Actually, that was a silly mistake. I didn't point the trained weight, but the pretrained weight. So, remember to set new trained weight in the config file or provide in the command.


update dependencies, fix typo in Collaboration.md

last dependency update before release

(test on my prod mirror)


Error deployment to azure web app

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp deployment source config-zip
Errors:
The command failed with an unexpected error. Here is the traceback:
HTTPSConnectionPool(host='ecarpintero.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0608C118>, 'Connection to ecarpintero.scm.azurewebsites.net timed out. (connect timeout=None)'))
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 174, in _new_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 96, in create_connection
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 86, in create_connection
TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexiÃ³n ya que la parte conectada no respondiÃ³ adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexiÃ³n establecida ya que el host conectado no ha podido responder

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 699, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 382, in _make_request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 1010, in _validate_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 358, in connect
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 179, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x0608C118>, 'Connection to ecarpintero.scm.azurewebsites.net timed out. (connect timeout=None)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 439, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 755, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/retry.py", line 574, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ecarpintero.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0608C118>, 'Connection to ecarpintero.scm.azurewebsites.net timed out. (connect timeout=None)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 718, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 39, in _ex_handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 528, in enable_zip_deploy_webapp
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 562, in enable_zip_deploy
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 3771, in _check_zip_deployment_status
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 75, in get
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 61, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 542, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 655, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 504, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='ecarpintero.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/deployments/latest (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0608C118>, 'Connection to ecarpintero.scm.azurewebsites.net timed out. (connect timeout=None)'))

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp deployment source config-zip --resource-group {} --name {} --src {}

Expected Behavior
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.38.0 *

Additional Context

route to CXP team

@AmazonTICmsi Please ensure that you have access to this endpoint from your machine ecarpintero.scm.azurewebsites.net also please upgrade to latest version of AZ CLI 2.42.0


Mocha does not call "global after" if a test's before function returns failure.

I have following format:
before <-- global
after <-- global
describe(
beforeEach();
afterEach();
it();
it();
)
If beforeEach returns failure, global after is not called. We need to in our situation to clean up things in global before. Is this a bug or Mocha just behaves this way?

Hi @psinghsp, sorry to hear you're running into an issue! Have you tried upgrading to the latest version of mocha? Please see the example below, showing that after is correctly invoked after the beforeEach failure.
// example.js
before(function() {
  console.log('before');
});

after(function() {
  console.log('after');
});

describe('suite', function() {
  beforeEach(function() {
    throw new Error('In beforeEach');
  });

  afterEach(function() {
    console.log('afterEach');
  });

  it('test', function() {
    // example
  });
});

// Test run
$ mocha example.js

  before

  ․afterEach
after

  0 passing (7ms)
  1 failing

  1) suite "before each" hook:
     Error: In beforeEach
      at Context.<anonymous> (/Users/dstjules/git/mocha/example.js:11:11)
      at callFn (/usr/local/lib/node_modules/mocha/lib/runnable.js:251:21)
      at Hook.Runnable.run (/usr/local/lib/node_modules/mocha/lib/runnable.js:244:7)
      at next (/usr/local/lib/node_modules/mocha/lib/runner.js:259:10)
      at Immediate._onImmediate (/usr/local/lib/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:358:17)

I am using Mocha 2.1.0. Is thee a newer version of it?

Yup! Give 2.2.1 a try :) https://github.com/mochajs/mocha/releases


Is there a way to control a pedestrian?

I was looking into the documentation, and could not see an answer to this question.
How one should proceed to control a pedestrian?

This is not yet possible. At spawn, pedestrians are given a target location in the world (by AWalkerSpawnerBase) and they find their way with Unreal's path-finding system.

Could you clarify the "target location" is actually the spawning point where the pedestrian will start?
"At spawn, pedestrians are given a target location in the world (by AWalkerSpawnerBase)"

@hs105 The walker spawner choses at random two points from the list of "Walker Spawn Points" present in the map, say A and B. Then spawns the walker at A and calls MoveToLocation(B) function from AAIController. When a walker reaches B it gets destroyed. Thus every walker's path starts and ends at a "Walker Spawn Point".
"Walker Spawn Points" are strategically located behind buildings so you won't normally see pedestrians appearing and disappearing (though you can see this sometimes when a pedestrian gets stuck, but that's a known issue we hope to fix at some point). In the map there are also "Walker Start Spawn Points", these are only used at begin play to quickly populate the city.

Great! thanks for your quick reply!!
How do we set "Walker Spawn Points"? Do we need to access the map? We're new to carla. We appreciate if you could give a pointer on this.
Also, in the python code "client_example.py", what the "NumberOfPedestrians" controls?

"Walker Spawn Points" can only be edited from within Unreal Editor. You'd need to compile CARLA from source and open the CarlaUE4.uproject, then drag-and-drop the spawn points in the map.

what the "NumberOfPedestrians" controls?

Controls the total number of walkers that the walker spawner is going to try to have spawned at any time. Note that at times the number of spawned walkers can be lower, for instance if all the spawn points are momentarily blocked by other walkers it won't be able to spawn a new one.
All the settings in the Python examples correspond to the settings in the "CarlaSettings.ini"
; Number of non-player pedestrians to be spawned into the level.
NumberOfPedestrians=30

Note, we use walker and pedestrian all over interchangeably to refer to the same thing.

When I set NumberOfPedestrians in CarlaSettings.ini to a larger number, let's say 100, the pedestrians spawned successfully, but most of them can't move at begining, it might take more than 5min for some of them starting to walk.  Can I change this behavior somewhere?

@Rong-Zhi This seems to be an issue of Unreal's navigation system not being able to handle that many agents. It is a known issue that we don't know how to solve.

Ok... Thanks for your reply

"Walker Spawn Points" can only be edited from within Unreal Editor. You'd need to compile CARLA from source and open the CarlaUE4.uproject, then drag-and-drop the spawn points in the map.

what the "NumberOfPedestrians" controls?

Controls the total number of walkers that the walker spawner is going to try to have spawned at any time. Note that at times the number of spawned walkers can be lower, for instance if all the spawn points are momentarily blocked by other walkers it won't be able to spawn a new one.
All the settings in the Python examples correspond to the settings in the "CarlaSettings.ini"
; Number of non-player pedestrians to be spawned into the level.
NumberOfPedestrians=30

Note, we use walker and pedestrian all over interchangeably to refer to the same thing.

@nsubiron -

How can I add new  "Walker Spawn Points" in new Town 05 or 04. is it just by dragging "PlayerStart" or is there any other way.
Also If I have to use Player start , then how can I differentiate between vehicle start point or walker start point as both will have same Type.
Can we still control no. of pedestrian to spawn using CarlaSettings.ini  in Carla0.9.4?

Hi @YDSh510,
We no longer use walker spawn points in 0.9.x versions, you can now spawn them anywhere in the map. At the moment they have to be controlled individually (direction + speed); we are working on a new navigation for pedestrians on the client-side.
As an example, you can control a pedestrian manually with our manual_control.py script
./manual_control.py --filter=walker

@nsubiron  - Thanks for the info


[BUG] reg_token not working for ViT models

Describe the bug
If I try to create a 'vit_base_patch16_384' model, for example, and set the argument: reg_token=4 (to add 3 register tokens to the model, according to this paper: https://arxiv.org/pdf/2309.16588.pdf. I hope I'm not missing something. I understand if this is not a supported feature yet.
the model fails to instantiate, resulting in a size mismatch issue in timm/layers/pos_embed.py line 45 - see below.

To Reproduce
Steps to reproduce the behavior:

create a vit_base_patch16_384 and pass in the function argument reg_token=4.

Expected behavior
I would expect the model to be built/instantiated correctly.

@Tgaaly you can't use petrained=True when changing the reg tokens, it's changing the model arcchitecture. It would be possible to add extra  code to allow, but I hacked it and tried it and there's a pretty big drop in performance so I don't feel that the extra overhead in code/maint is warranted.
The current intent is to allow training/defining new models with reg tokens enabled. There are weights for the dinov2 ones. I have a few smaller vits being trained right now with reg tokens.

Also I feel not using  a reg token backbone that hasn't been pretrained with reg tokens would sort of defeat the purpose... it's a fairly fundamental change and you'd want to do the pretrain with them.


ccblade running error

I want to use gym-wind-turbine package. According recommendations, I have installed using conda the following tools conda create --name gwt-devenv python=3.6.2 scipy=0.18.1 zope.interface=4.4.2 m2w64-gcc-fortran=5.3.0. All packages (which includes ccblade) were installed successfully.
Howewer, whan I try to run import gym_wind_turbine I receive the following error from CCblade:
ModuleNotFoundError: No module named '_bem'
I decided to contact the WISDEM developers (NREL staff). They recommended to follow the wisdem install instructions very close, that make sure I get CCBlade installed properly, and after that install the gym-wind-turbine in that wisdem working environment. They advised to install only CommonSE, Airfoil Preppy, Akima, and CCBlade
However I have met with the following new error in the step 6 (when installing CommonSE, Akima, and CCBlade; Airfoil Preppy was installed successfully):
File "C:\Users\843E~1\AppData\Local\conda\conda\envs\gwt-devenv\lib\site-packages\numpy\distutils\mingw32ccompiler.py", line 298, in generate_def if _START.match(dump[i].decode()): UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 114: invalid continuation byte
I have no idea, why it happened, because before it I have installed successfully, for example, ccblade.

Thanks for trying the environment and raising the issue.
The problem was that the ccblade version used by the gym-wind-turbine relies in a specific numpy.distutils version in order to compile the fortran code. I fixed the numpy version to 1.12.1 and then it worked (see commit: https://github.com/emerrf/CCBlade/commit/b95ad346bbbefe3828d59fdb5e6a1252bc514d1c). To have it working in your machine, remove your current virtual environment (conda env remove -n gwt-devenv) and then follow the installation instructions again from the beginning. Remember that you can test the installation by running ccblade and gwt-run-neutral commands.
Did you contact WISDEM through the forum? If so, do you mind sharing the link? The gym-wind-turbine is not compatible with the official version of ccblade because it wasn't a python package when this environment was developed. At that time, I forked ccblade and converted it into a package so that it could be easily integrated (see https://github.com/WISDEM/CCBlade/pull/7). However, WISDEM continued the development of the code and also transformed it into a package without the PR. At some point, I will have to update gym-wind-turbine with the latest ccblade version, ideally using the official package.

Thank you very much for your help! I had finally reached the success!!! Last days of my wanderings, I began to guess that the problem is related something with numpy )).
Yes, I contacted WISDEM through the forum(post1, post2). Of course, I don't mind sharing the link.


Move db-analyser and db-synthesiser to a separate repository

The db-analyser tool is used with chains produced with a certain version of cardano-node that is usually not the master version of this repository. Whenever we want to develop a new feature for db-analyser we have to develop on top of an older version of ouroboros-network (eg https://github.com/input-output-hk/ouroboros-network/pull/4014). Similarly, when we want to analyze the mainnet chain, we usually have to checkout an older commit of this repository, otherwise, we run into problems such as incompatible serialisation formats or ledger rules.
I'd propose to move db-analyzer to a different repository. Two options are:

cardano-node.
A new repository (this will involve more work setting up CI, or maybe fewer if no nix skills are required for this).

By doing this, the master version of the repository in which db-analyser is, will be closer to the master version of the node, and safe from breaking changes in the networking, consensus, and ledger layers.
This will also help reduce the surface area of consensus.

Whenever we want to develop a new feature for db-analyser we have to develop on top of an older version of ouroboros-network (eg PR 4014)

I think we can usually develop on master. Moreover, PR 4014 was a particularly extreme case, because db-analyser was relocated&rewritten on the main branch.
But I don't have a particularly strong preference either way. I do think of db-analyser as requiring "eventual integration" of changes, just like eg cardano-node does. Having it in our repo just makes it that much more likely that we'll do that integration incrementally&in-the-moment.
I think it'd be cleanest in it's own repo, but I think maintaining it in cardano-node would ultimately be the least confusing: if you're analysing a state folder built by some node, then you should use the db-analyser from that node's commit.

Do @kosyrevSerge and @mgmeier agree?

I think it'd be cleanest in it's own repo, but I think maintaining it in cardano-node would ultimately be the least confusing: if you're analysing a state folder built by some node, then you should use the db-analyser from that node's commit.

Ok, I'm glad to hear this idea was not totally crazy.


test: Reduce far_distance to 1 GiB in the paging test to avoid crash …

…with LU area
@mnordsletten

Please update the vmrunner version as well. Then it will use correct CPU flags.

So net_udp test can be fixed by giving it more ram (again).
The liveUpdate test is still very unstable when I try to run it.


Add sarah young key

I have joined GOV.UK and am adding my keys to the Puppet repo.

The linter says: modules/users/manifests/sarahyoung.pp - WARNING: missing trailing comma after last element on line 6.

 It's missing a .com, or your GDS email address. 😅

Yikes! I'll fix these tomorrow, thank you for checking it out and pointing out the .gitconfig  🙇♀

Change-wise, this is looking good. Final thing: could you please squash your commits?

Thanks! I appreciate your help and patience, still learning the GOV.UK ropes a bit 😁.


[MM-12898] Allow in-line markdown images to open preview window

Summary
Updates the behavior of in-line markdown images to allow for opening the preview window. There are 3 cases as follows:

If the image source is unsafe, a link is rendered
If the image source is safe, the image will have a pointer cursor & a hover effect, and clicking on it will open the preview window
If the image is a link itself, the image will be rendered and clicking on it will open the link in a new browser window (no preview or hover effect)

Here is a screen capture demonstrating the expected behavior.

Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/9805

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3639.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Thanks @abdusabri! Looking really good just one note,

We should try to follow the UI that we use for attachments in terms of the hover state:

Attachment image ^

In-line image ^

FYI I filed a related bug ticket that I found while testing but it's not related to this PR so won't block merging this: https://mattermost.atlassian.net/browse/MM-18508

@abdusabri fyi, said PR is now merged.

New commit detected. SpinWick upgrade will occur after the build is successful.

Mattermost test server updated with git commit 650e854c1c1c63c31fed8dc038711da9ce4137c8.
Access here: https://mattermost-webapp-pr-3639.test.mattermost.cloud

@esethna while updating the tests, I noticed that I'd removed the alt attribute of the images by mistake. Sorry, I've fixed this now.
I would like also to note that attached images don't have an alt attribute, I think this should be fixed under a separate ticket.

In RHS, there's no hover effect.
In center view, the image seemed to be cut-off by a few pixels in standard mode (good in compact).

Thanks @saturninoabril , didn't know about this case, will fix it. (Getting to know the product 🙈)

FYI I filed a related bug ticket that I found while testing but it's not related to this PR so won't block merging this: https://mattermost.atlassian.net/browse/MM-18508

@esethna I'm afraid it is actually a regression issue. Made some progress investigating it, will continue working on it.
@saturninoabril I've already fixed the styles for RHS case, and updated E2E tests. But i think it is best to wait until the above issue is fixed before finally pushing, agree?

New commit detected. SpinWick upgrade will occur after the build is successful.

Is there a problem preventing the test server from being updated with the latest commit?

New commit detected. SpinWick upgrade will occur after the build is successful.

It's failing on me where the actual value is '23px'.

@saturninoabril, Hmmm 🤔, don't know why there was 1px difference, it was passing for me with 22px and 23px was failing.
I've made a minor CSS optimization/tweak, which applies to the case in hand (image is a link), and I've adjusted the values accordingly in the E2E test. Hopefully this makes it consistent for you as well.

Mattermost test server updated with git commit 96a5fda66276aedf8b35740ee32147880bffdeca.
Access here: https://mattermost-webapp-pr-3639.test.mattermost.cloud

@abdusabri Thanks looks good to me.  All tests passed.

@sudheerDev, should I wait for your review before merging and pushing? (to minimize the number of merge commits)

@abdusabri Its fine either way. You choice. I will do the review today.

@abdusabri Nice work!. Can you merge master into the branch?

Test server destroyed

Thanks for the feedback @sudheerDev!

I would like also to note that attached images don't have an alt attribute, I think this should be fixed under a separate ticket.

@esethna, in case you missed ☝


Log options selected when Django cookiecutter wizard run

We don't have the exact answers used when this was migrated to use the Django cookiecutter template but I think we can and should figure out what they were/are and capture them in a file in this repo's docs.

I think the following is what was chosen:
project_name [My Awesome Project]: ReproHack Hub
project_slug [someprojname]: reprohack_hub
description [Behold My Awesome Project!]:
author_name [Daniel Roy Greenfeld]: Anna Krystalli
domain_name [example.com]: reprohack.org
email<EMAIL_ADDRESS><EMAIL_ADDRESS>version [0.1.0]: 1
Select open_source_license:
1 - MIT
2 - BSD
3 - GPLv3
4 - Apache Software License 2.0
5 - Not open source
Choose from 1, 2, 3, 4, 5 [1]: 1
timezone [UTC]:
windows [n]:
use_pycharm [n]:
use_docker [n]: y
Select postgresql_version:
1 - 12.3
2 - 11.8
3 - 10.8
4 - 9.6
5 - 9.5
Choose from 1, 2, 3, 4, 5 [1]: 2
Select js_task_runner:
1 - None
2 - Gulp
Choose from 1, 2 [1]: 2
Select cloud_provider:
1 - AWS
2 - GCP
3 - None
Choose from 1, 2, 3 [1]: 3
Select mail_service:
1 - Mailgun
2 - Amazon SES
3 - Mailjet
4 - Mandrill
5 - Postmark
6 - Sendgrid
7 - SendinBlue
8 - SparkPost
9 - Other SMTP
Choose from 1, 2, 3, 4, 5, 6, 7, 8, 9 [1]: 1
use_async [n]: n
use_drf [n]: y
custom_bootstrap_compilation [n]: ?
use_compressor [n]: y
use_celery [n]: y
use_mailhog [n]: y
use_sentry [n]: n
use_whitenoise [n]: y
use_heroku [n]: n
Select ci_tool:
1 - None
2 - Travis
3 - Gitlab
4 - Github
Choose from 1, 2, 3, 4 [1]: 3
keep_local_envs_in_vcs [y]: y
debug [n]: n


Check state compatibility on v10.x changes via CI

Closes: #1911
What is the purpose of the change
This pull request adds a GitHub Action to check state compatibility of new changes made to the v10.x branch.
(as specified in the workflow comments)
This workflow runs on every new commit to the latest development branch.
It checks that the new commit didn't break state compatibility by:

building the new osmosisd binary with the latest changes
replaying a configurable number of previous blocks from chain history

Currently, the node starts from a snapshot taken some blocks before the last epoch
and waits DELTA_HALT_HEIGHT blocks after epoch before halting.
Important Caveat:
The fact that this workflow succeeds and the binary doesn't fail doesn't directly imply that the new binary is state-compatible.
It could be that the binary is not state-compatible, but the condition which would break state compatibility was not present in the chunk of block history used. However it's a nice sanity check to perform.
If the workflow fails, the binary is most likely not state-compatible.
Next steps
Now that we have self-hosted runners, we should migrate the most time-consuming and resource-intensive workflows there. This should reduce a lot of the CI time.
While we're at it, we might re-structure our CI and remove/rewrite some unused jobs (e.g. build)
I will include this check in the new minor release workflow that will be used to automate the release process on new minor osmosisd versions.
Brief Changelog

Add workflow to check state compatibility of new changes. We run osmosis nodes via CI. yay!

Testing and Verifying
I have tested this workflow on different repositories with different conditions.
A complete run: https://github.com/osmosis-labs/osmosis/runs/7361263908?check_suite_focus=true
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no (don't think we should add DevOps stuff in the CHANGELOG.md)
How is the feature or change documented? added documentation in the workflow itself

In order to correctly test the CI I have branched from v10.x
Should I re-branch from main and open a new PR against main?

Do not merge It yet pls, I need to add a cleaning step

Ok, done. Should be good to go :)

@ValarDragon noticed that you self-requested review here. Is this goog to be merged?

What do you think about running this workflow every day a 00.00 UTC against the latest commit of v10.x, so we can increase the likelihood of catching state incompatibility.

Running once a day sounds great to me, as long as we have some way to bubble the error (i.e. automatically created github issue)


Url

Why do we need to bring j2objccontrib.org in to it at all? Given that we're already so tightly integrated with GitHub, I don't see that changing... so I'm not sure what value this adds?

Just easier to remember urls really

I still think we're better off with the GitHub urls and people are more likely to be comfortable clicking on that. Unless we're building out the website, I don't think it has much value to add in another url.

fair enough