Packages should allow loading with warning when loose methods clash

We should present a GUI with clashing objects or just load the package ?
If not GUI needed then i think is simple and there a couple of places where do this.
PackageManager>>loadCompatibilityCheck:
comment to the following code:
"	overlappingObjects notEmpty
ifTrue: [self errorFileInCompatibilityCheck: aPackage overlap: overlappingObjects]."
By comment this we will avoid the Package clashSignal.
It also can be done in (by removing on:do: of Package clashSignal):
SmalltalkSystem>>installPackage:
I will further research in this issue. But a more detailed specification is need because it can be done in various places.
It will nice to present a GUI to the user...

@brunobuzzi personally I think as a first pass (The Simplest Thing That Could Possibly Work) that no GUI is needed. However, the main complexity is what happens when a package is uninstalled. It must know that the clashing methods that have not been installed should not be removed.

@objectarts maybe the package that re-wrote the existing methods should store the "old methods" and when uninstalled must restore old methods. Of course this will require change the structure of Package class. I do not have enough knowldege in this area to know the consequences of this change. I have to do more research...

Providing good support for this is complex. The simplest thing that could possibly work is to not do it, which has worked well enough for many years after all.

I'm closing this because the suggestion is undesirable - if anything is to be done, it should be to save/restore the clashing extensions.


Replace HTTP with TCP

Requested feature
We propose to replace the HTTP layer with TCP between Veracruz-Client and the runtime manager.
In practice the HTTP client (on Veracruz-Client) and server (on Veracruz-Server) will be replaced with a TCP client and a TCP repeater (client & server) respectively. The stack on the runtime manager is not affected as it doesn't use HTTP.
This will reduce latency within the system by stripping down the network stack (i.e. less packet processing and no base64 encoding/decoding in particular) and using TCP's congestion control to transmit batches of TLS records more efficiently between Veracruz-Client and Veracruz-Server.
Motivation
Clients currently communicate with the runtime manager via TLS over HTTP. As a result protobuf messages are encrypted in 16KB TLS records, sent one by one to the other endpoint. The overall round-trip latency is hence subject to the processing time on the runtime manager side. This will become a major bottleneck when the latency between Veracruz-Client and Veracruz-Server increases.
#277 made some strides towards reducing the overall latency between Veracruz-Client and runtime manager but hasn't addressed this bottleneck.

Hello, I am an outreachy applicant. I would like to replace the HTTP layer with TCP between Veracruz-Client and the runtime manager, if this solution could solve the issue.

@Immy-delish I would not advise this issue as a first issue.
It is a very complicated change that affects many disparate code packages across all of the different platforms that we support (including AWS Nitro enclaves, which would require you to launch and run AWS EC2 instances outside of the free tier - costing you money). There are several issues labeled with "Good first Issue" (https://github.com/veracruz-project/veracruz/issues?q=is%3Aopen+is%3Aissue+label%3A"good+first+issue") that would be a better place to start.

Alright,
Thank you so much Derek for this.
On Mon, Apr 18, 2022, 10:31 PM Derek D. Miller @.***>
wrote:

@Immy-delish https://github.com/Immy-delish I would not advise this
issue as a first issue.
It is a very complicated change that affects many disparate code packages
across all of the different platforms that we support (including AWS Nitro
enclaves, which would require you to launch and run AWS EC2 instances
outside of the free tier - costing you money). There are several issues
labeled with "Good first Issue" (
https://github.com/veracruz-project/veracruz/issues?q=is%3Aopen+is%3Aissue+label%3A"good+first+issue")
that would be a better place to start.
—
Reply to this email directly, view it on GitHub
https://github.com/veracruz-project/veracruz/issues/378#issuecomment-1101693053,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROTTM76UBJ2D5S6TPAWANTVFWZ7RANCNFSM5SIV36LQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

HTTP was replaced with TCP by #542, but with TCP still being used in an HTTP-like way, so there is more work to do, for which I have just created a new issue: #558.


Add support for 10.0.15063.1155

Hello!
When windows update to 10.0.15063.1155. rdpwrap stopped working.
I found termsrv.dll only in C:\Windows\System32
termsrv.zip

Hi,
I am having the same issue with the new version.
Any news?

For me, a temporary solution it's delete kb4284874 to downgrade windows 10 pro

Same issue here.  Hoping for a "rdpwrap.ini" update soon.

Try duplicating an entry in the INI file from 10.0.15063.296 to 10.0.15063.1155 (run RDPWInst -r right after that), and check out whether it works for you.

Try duplicating an entry in the INI file from 10.0.15063.296 to 10.0.15063.1155 (run RDPWInst -r right after that), and check out whether it works for you.

I try this to, it no working for me

Try duplicating an entry in the INI file from 10.0.15063.296 to 10.0.15063.1155 (run RDPWInst -r right after that), and check out whether it works for you.

Same here. I've duplicated the two sections (with and without -SLInit), the restart is fine, the RDPConf shows only green text, but only one connected user at a time is supported.

I'm not sure, if RDP Wrapper will work with Win10 1803 (64 Bit, Pro).
Could somebody clarify this, please?
Has to be anything changed on an running RDP Wrapper configuration under 1703?

It worked smooth(ish) on 1803.  Once downloaded, install.bat worked as administrator. Then the next step was RDPCheck which didn't work as expected. Then RDPConf ran and showed installed/running/listening.
It was a fresh install.
Tested to confirm concurrent users.
Thanks for your work!

My way to solve this problem is uninstall the windows update (KB4338826),
after success uninstall KB4338826 the Service ver turn to be like this

and it successful support and listen ok

I'm still seeing this issue. Windows 10 1607 and 1709 appear to be fine. 1703 however is still showing as not a supported version of terminal services.

Any news? Seems like plenty of people are affected, and uninstalling updates is a sub-optimal solution.

@CookiePLMonster the project is open source and anybody is welcome to contribute. I'm busy with other projects right now.

Looking at the INI file, are x64-only submissions even accepted? If not, how one would get into obtaining this specific DLL file in x86 version from that specific build?

are x64-only submissions even accepted

Yes, but it would be more preferable to add both.

how one would get into obtaining this specific DLL file in x86 version from that specific build?

Either you have some x86 machines with Windows 10 installed, or search in the Internet (sometimes I use WZor's UUP archives).

x64 offsets (no x86 version):
[10.0.15063.1155]
; no x86 version
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=8CB01
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=15EA3
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=FAE5
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=234DC
SLInitFunc.x64=New_CSLQuery_Initialize
[10.0.15063.1155-SLInit]
; no x86 version
bInitialized.x64      =E9468
bRemoteConnAllowed.x64=E946C
bMultimonAllowed.x64  =E9470
ulMaxDebugSessions.x64=E9474
bFUSEnabled.x64       =E9478
bServerSku.x64        =E9484
lMaxUserSessions.x64  =E9488
bAppServerAllowed.x64 =E948C

Thanks! Works like a charm!

Thanks! It appears to be working!

corrected one typo


"Crăciunelu de Jos" is listed in the drop-down menu

Description:
"Crăciunelu de Jos" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Crăciunelu de Jos" in the search bar.

Expected results
The location is listed in the drop-down menu as "Crăciunelu de Jos, Alba (Crăciunelu de Jos)".


Swift version?

Do you have a Swift version?

@cliffpcs I have no plan porting this library to Swift.


[BUG] :bug: After using /WIP command Ready for Review label is added even on issue

Current Behaviour
when we use /WIP command
it adds Ready for Review label even if it is a issue
Expected Behaviour
Ready for Review label should only be added on PR but not on issue
Steps To Reproduce

Use /WIP label on issue
Again use /WIP command
You will see that Ready for Review label is added on the issue

Anything else?

:tada: This issue has been resolved in version 1.7.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cleanup Code

Semicolons in JavaScript are optional. No need to add them. Thank you for your contribution anyway 🙂, even if I'll be closing it.
In case you are wondering why I don't use semicolons, there are reasons such as:

Not having to think where a semicolon has to be inserted, Do I need a semicolon after } in if statement block? What about } after object literal?
Avoiding automatic semicolon issues with return - ASI is a feature even when using semicolons,
More easily preserved style consistency, it's not possible to accidentally forget about semicolon and have code still working due to ASI when semicolons aren't used to begin with. I suppose linting tools handle that one however.
There are line breaks anyway which mark new statements, so semicolons are a clutter which isn't really needed.
Multiline method chains make nicer diffs when adding or removing last element of a chain due to avoiding showing modification of a line just to add a semicolon.

There are 2 disadvantages, incompatibility with most style guides and having to insert semicolon before ( starting a statement - which with ES6 block scoping is not a big deal anymore, as IIFE isn't as needed as it used to be anymore.
I used to program with semicolons. I don't do it anymore in my projects, and I honestly feel like that was a right decision as I spend less time writing code while not harming readability of it.
Also, I believe you retrieved this error from some lint tool:
//TODO: fix unreachable code

Feel free to report this in your linting tool bug tracker, this code is actually reachable (although I can see why a linter could be confused, considering that ES6 iterators don't exactly work like normal functions).

Ok


Advantages of updating to Version 5/6?

I currently use version 4, it's great. Where can  I find a list of new changes/features for version 5 or 6? I'm somewhat hesitant to update as it took quite some time to make it play nicely with Meteor...

Check the changelog

Thanks @rewop ! Also noticing that v6 fixes a serious bug (#338) in React@^15.

thanks for the link to changelog!


Don't allow any match to differ by > 150 characters

Fixes #192 taking 3rd approach I suggested:

Different attack on false positives for long licenses without changing % words in common: reject match if absolute number of words is different; again getting this right would require fiddling

150 allows all existing tests to pass (much less than that MPL and LPPL rewrap tests fail).
This fixes a couple known false positives involving modifications of long licenses, which I've included as integration tests.
There are doubtless more robust or more principled approaches that should be explored longer term.

Just one minor comment. Sometimes projects use the entire Apache 2.0 license including the Appendix: How to apply the license to your own work. And sometimes projects just use the license ending with END OF TERMS AND CONDITIONS.
If you are already aware, we're done here.

And sometimes projects just use the license ending with END OF TERMS AND CONDITIONS.

We strip the Apache appendix in all cases when we normalize the input.

Excellent. Thanks.


[#noissue] Fix Typo in Rule

I fix method name in Rule Class
(setuserGroupId -> setUserGroupId)
I think setUserGroupId is more proper than setuserGroupId by the camel case

 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.

Codecov Report

Merging #7098 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #7098   +/-   ##
=======================================
  Coverage   38.94%   38.95%
=======================================
  Files        3289     3289
  Lines       95753    95753
  Branches    11958    11958
=======================================
+ Hits        37289    37298    +9
+ Misses      55498    55492    -6
+ Partials     2966     2963    -3

Impacted Files
Coverage Δ

...java/com/navercorp/pinpoint/web/alarm/vo/Rule.java
44.06% <0.00%> (ø)

...ercorp/pinpoint/web/dao/memory/MemoryAlarmDao.java
48.71% <0.00%> (ø)

...m/navercorp/pinpoint/profiler/AgentInfoSender.java
84.15% <0.00%> (-1.00%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
73.05% <0.00%> (+0.97%)
:arrow_up:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
80.98% <0.00%> (+1.76%)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
73.33% <0.00%> (+3.33%)
:arrow_up:

Continue to review full report at Codecov.

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

Hello @imbf
Please sign the CLA on the top of this page

Also please change the header of the commit and add [#noissue] as below

Hello @RoySRose
I Sign the CLA and Change commit header like "[#noissue] Message"


Add a whole documentation section on signs

I believe it's time to write a section dedicated to signs in the documentation, under the section for "Linting." (It can be called "3.1. Signs")
I would like to address the following points.

Describe all of the options for highlights in one go. (Possibly move the highlighting documentation around?)
Describe all of the options for changing the text for signs in one place here. (Update the g:ale_set_signs documentation to reference this new section.)
Point to the newer g:ale_max_signs option for reducing lag caused by setting a large number of signs, with some mention of setting the option differently for different buffers. (g:ale_pattern_options is mentioned at the end of the introduction to "Linting" already.)
Describe the precedence of signs in this section here.
Make some mention of how to configure line highlights for signs in this new section.
Link to Vim's documentation (|sign-intro| or |signs|) for signs, and mention that the sign column is always two characters wide.

There's probably more that could be written there, but I'll leave it at that for now.

This could now be a sub-section of the ale-lint section.

I think, I could ask here before opening an issue for a feature request of something that maybe already exists.
Is it possible to use different signs and/or sign formats (colors etc) for different linters? And if not, is that something that you would consider to add?

I don't think that will be supported, no. I think you'll be better off customising g:ale_echo_msg_format or g:ale_loclist_msg_format to show which linter the messages are for.

I think the documentation for g:ale_set_signs says everything now.


Code coverage artifacts

PR Summary
Move the TestPackage.zip under code coverage and remove tests.zip as it is not needed anymore.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] to your commit messages if the change is significant or affects feature tests

there are related failures

@TravisEz13 Issues have been fixed


refactor: eject config files

Ran npm eject to expose configuration files and give us more control over the project.  Pulled them out of the package.json file to keep it clean.
Eslint is for enforcing syntax across the project.  Basically spellchecker for VS code.
Babel and webpack are middleware for compiling the front end project.
Jest is configs for our testing suite.
A large chunk of this MR is just revealing functionality that Create React App does in the background.  Once these config files are set up they are rarely touched during development.
Closes #10

@DM0000 DO THE THING


Add Project action buttons to primary bar

It would be convenient to have action buttons for the active project displayed on the primary bar at the bottom. Once I've set up my project and build, I'm usually focused on the file explorer. I've found myself needing to switch back and forth between the extension UI to run a build (or use the command palette.)
Here's an example from PlatformIO

What all actions do you think should be available there?

There is a prerelease version of the app that will be available v1.0.28. That includes the GUI changes to add some buttons in the status menu.
Please note that the new version no longer uses the debugOptimization variable and that by using the new version you will not be able to downgrade. (So save a copy of your projects in settings.json (or zephyr-ide.json)

We can reopen this issue if there are any missing buttons.


Add support for Python 3.10

PySQL depends on Numpy which only added support for Python 3.10 on 22 June 22 in version 1.23.0. But we’re pinned to 1.21.1 . De facto, we don’t support Py3.10.

Great idea. Done here. I'm testing Python 3.10 support this week so it shouldn't be long.

PySQL depends on Numpy which only added support for Python 3.10 on 22 June 22 in version 1.23.0. But we’re pinned to 1.21.1 . De facto, we don’t support Py3.10.

afaik numpy added support for python 3.10 in 1.21.3 back in April of this year ->  https://numpy.org/devdocs/release/1.21.3-notes.html

The Python versions supported in this release are 3.7-3.10. If you want to compile your own version using gcc-11, you will need to use gcc-11.2+ to avoid problems.

It seems like they had to fix a number of issues as they came up for 1.21.x though with regards to python 3.10 support (1.21.4 fixed a wheel issue for mac amd64, & 1.21.6 provides a 32 bit wheel for windows 3.10).

This issue is causing problems in Airflow: https://github.com/apache/airflow/pull/25697#issuecomment-1218126453


CI: Update location of ROCm packages

The HIP build of the Binary BH example was failing the GPU build workflow because of some missing ROCm dependencies so I changed the location of repo it would install from. However, this does fix the version of ROCm to 6.2.1

I re-ran the workflow on the tip of the develop branch (089ad0e926de1be713dbeec8aa6b5d3bc6cd44c8) and this doesn't seem to be a problem any more so I would be happy to close this PR without merging.
If we want to fix the version of ROCm, I would be OK with that but, for consistency with what we do for CUDA, maybe move the version to a workflow environment variable e.g. ROCM_VERSION (I don't think there's a need to separate by major, minor and patch versions like for CUDA) which is evaluated where needed.

After some discussion in the GRTeclyn telecon, I fixed the version of ROCm to 6.2.1, the DPC++ compiler to 2024.2 and the oneAPI MPI library to 2021.9.0 which are the latest versions (I guess they don't release Intel MPI very often?)


remove sheer and django-sheerlike from travis config

Obviously, shouldn't merge until

[x] Travis tests pass

Closing, I've merged these changes into #1091


Python 3.7 and imp module

After updating Python to 3.7 (kind of forced by Homebrew), executing simply pyx print('Hello') generates a warning:
the imp module is deprecated in favour of importlib …
Any idea how to suppress it or solve it entirely?

It is an ongoing issue on vim over - https://github.com/vim/vim/issues/3117

Workaround: do :silent! pyx import sys first of all.

@ichizok good

I'm currently working around this issue by compiling with python 2 support:
brew reinstall macvim --with-python@2 --with-lua --with-luajit --with-override-system-vim

Actually, this is a better workaround then installing with python 2: Put the following at the top of your vimrc.
if has('python3')
  silent! python3 1
endif

From https://github.com/vim/vim/issues/3117#issuecomment-402622616

Two weeks passed, any pr to resolve this problem? Or should I install an older version macvim?

@HolaYang as mentioned above, this is a vim issue--not a macvim issue--so I think this issue should be locked and/or closed. I recommend using the workaround I posted above in the meantime.

This was fixed in v8.1.0201 and MacVim already merged it.

@ichizok Any idea when it is going to be released and available in homebrew?

there's also vim/vim#6063 which also seems to be important

@ychin Fixed in vim, this issue can be closed.


Can't POST Id as Number (without quotes)

Summary
It's not possible to to POST/PUT a body with Id as a number (without quotes).
Steps to Reproduce

Reason
I am using Swashbuckle. to for documentation, and Ids are documented without quotes.
Configuration

TargetFramework: netcoreapp2.2
JsonApiSerialiser: 1.7.3
Newtonsoft.Json: 12.0.2

Sample Code
Model
class CityModel
{
    public int Id { get; set; }
    public string Type { get; set; }
    public string Name { get; set; }
}

Controller
[Route("api/cities")]
[ApiController]
public class CityController : ControllerBase
{
    [HttpGet("{id}")]
    public IActionResult Get(int id)
    {
        var item = new CityModel
        {
            Id = id,
            Name = "Test"
        };

        return Ok(item);
    }

    [HttpPost]
    public IActionResult Post([FromBody] CityModel model)
    {
        return Ok($"RECEIVED: {model.Id}");
    }
}

Startup
public class Startup
{
    public Startup(IConfiguration configuration)
    {
        Configuration = configuration;
    }

    public IConfiguration Configuration { get; }

    public void ConfigureServices(IServiceCollection services)
    {
        services.AddMvc(opt => EnableJsonApi(opt, services));
    }

    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseMvc();
    }

    private static void EnableJsonApi(MvcOptions options, IServiceCollection services)
    {
        var serviceProvider = services.BuildServiceProvider();
        var objectPoolProvider = serviceProvider.GetService<ObjectPoolProvider>();
        var loggerFactory = serviceProvider.GetService<ILoggerFactory>();
        var logger = loggerFactory.CreateLogger<JsonInputFormatter>();

        var serializerSettings = new JsonApiSerializerSettings();
        var charPool = ArrayPool<char>.Shared;

        var outputFormatter = new JsonOutputFormatter(serializerSettings, charPool);
        var inputFormatter = new JsonInputFormatter(logger, serializerSettings, charPool, objectPoolProvider, options, null);

        options.OutputFormatters.RemoveType<JsonOutputFormatter>();
        options.InputFormatters.RemoveType<JsonInputFormatter>();

        options.OutputFormatters.Insert(0, outputFormatter);
        options.InputFormatters.Insert(0, inputFormatter);
    }
}

The json:api spec explicitly states id must be a string (https://jsonapi.org/format/#document-resource-object-identification) so passing id as an int the json is not technically valid json:api.

The values of the id and type members MUST be strings.

There was a feature where we allow the serializer to handle int id on the class and we handle the mappings to/from string for you, but it doesn't change the format of id on the wire

Event though this is a ticket about the identifier in a json-api document this is the most complete example of JsonApiSerializer I could find.


The PVC is no longer creating the PV.

Bug Report
What did you do?
The PVC is no longer creating the PV. So, we need to fix it. See that the postgresql is pending because is not possible to do the bound.
$ kubectl get events -n postgresql-operator
LAST SEEN   TYPE      REASON                 OBJECT                                      MESSAGE
<unknown>   Warning   FailedScheduling       pod/database-6896fdcbc-2dl4d                persistentvolumeclaim "database" not found
<unknown>   Warning   FailedScheduling       pod/database-6896fdcbc-2dl4d                persistentvolumeclaim "database" not found
<unknown>   Warning   FailedScheduling       pod/database-6896fdcbc-2dl4d                running "VolumeBinding" filter plugin for pod "database-6896fdcbc-2dl4d": pod has unbound immediate PersistentVolumeClaims
<unknown>   Warning   FailedScheduling       pod/database-6896fdcbc-g9dgj                persistentvolumeclaim "database" not found
<unknown>   Warning   FailedScheduling       pod/database-6896fdcbc-nlhc2                running "VolumeBinding" filter plugin for pod "database-6896fdcbc-nlhc2": pod has unbound immediate PersistentVolumeClaims
81s         Normal    SuccessfulCreate       replicaset/database-6896fdcbc               Created pod: database-6896fdcbc-2dl4d
81s         Normal    ScalingReplicaSet      deployment/database                         Scaled up replica set database-6896fdcbc to 1
5s          Normal    ExternalProvisioning   persistentvolumeclaim/database              waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
<unknown>   Normal    Scheduled              pod/postgresql-operator-7cb8ccccd4-jrb5n    Successfully assigned postgresql-operator/postgresql-operator-7cb8ccccd4-jrb5n to minikube
97s         Normal    Pulling                pod/postgresql-operator-7cb8ccccd4-jrb5n    Pulling image "quay.io/camilamacedo86/postgresql-operator:test"
90s         Normal    Pulled                 pod/postgresql-operator-7cb8ccccd4-jrb5n    Successfully pulled image "quay.io/camilamacedo86/postgresql-operator:test"
90s         Normal    Created                pod/postgresql-operator-7cb8ccccd4-jrb5n    Created container postgresql-operator
89s         Normal    Started                pod/postgresql-operator-7cb8ccccd4-jrb5n    Started container postgresql-operator
98s         Normal    SuccessfulCreate       replicaset/postgresql-operator-7cb8ccccd4   Created pod: postgresql-operator-7cb8ccccd4-jrb5n
98s         Normal    ScalingReplicaSet      deployment/postgresql-operator              Scaled up replica set postgresql-operator-7cb8ccccd4 to 1

 $ kubectl get all -n postgresql-operator
NAME                                       READY   STATUS    RESTARTS   AGE
pod/database-6896fdcbc-2dl4d               0/1     Pending   0          78s
pod/postgresql-operator-7cb8ccccd4-jrb5n   1/1     Running   0          95s

NAME                                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)             AGE
service/database                      ClusterIP   <IP_ADDRESS>   <none>        5432/TCP            78s
service/postgresql-operator-metrics   ClusterIP   <IP_ADDRESS>   <none>        8383/TCP,8686/TCP   80s

NAME                                  READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/database              0/1     1            0           78s
deployment.apps/postgresql-operator   1/1     1            1           95s

NAME                                             DESIRED   CURRENT   READY   AGE
replicaset.apps/database-6896fdcbc               1         1         0       78s
replicaset.apps/postgresql-operator-7cb8ccccd4   1         1         1       95s

This issue in Minikube with OS. See; https://github.com/hashicorp/terraform-provider-kubernetes/issues/74


Investigate CSS in BackgroundImage and LoginPageHeader components

These PF4 react components are using custom CSS in their component, and all of the CSS should be coming from core. We should investigate these components and figure out why the custom CSS is necessary and figure out a way to deliver it in core instead.

@mcoker could you clarify where you're seeing the custom CSS in BackgroundImage and LoginPageHeader? I'm having a hard time finding the extra CSS

BackgroundImage.js
const bgStyles = StyleSheet.create({
bgOverrides: &.pf-c-background-image {       ${Object.keys(variableOverrides).reduce(         (prev, size) => ${prev.length ? prev : ''}${variableMap[size]}: url('${variableOverrides[size]}');,         {}       )}     }
});

Only style sheet create left in the Background image is needed for when users specify their own images.  Closing based on updates and no need for changes to BackgroundImage.js


FEAT: Permissions

Objective and Motivation

Only authenticated users can access endpoints
A custom permission class IsTheTrainerOfTheTeam for only the trainer of the team can select pokemons for that team.

Please fix the mock before merging it :eyes:


Simplify popovers library.

Based on Tim's comment in #26884

Merged 4 of the smaller commits as the prep series ending with  08d12909121a814800cd51795ba9670159f360bd.

I think this is progressing well. I think we can probably extract a bit more in terms of refactoring with no functional changes to merge early, just to shrink the complexity here, and then we can try to get more QA effort onto this and cut over to the new world. This cuts a ton of import cycles!

Merged 5 more commits as the series ending with d574129a293cac02210d6f6a65d89c870b64247d!

@timabbott updated based on your comments.

OK found a few apparent bugs:

If you zoom to like 250% open stream settings, go to subscribers, and open the user card popover for a user, and then scroll with the mouse wheel, the user card closes in this PR but not in main. It's not clear if this is important but I also don't understand why it is. Might be the popovers.hide_all scroll handler in recent_view_ui.js or something weird like that. Not a blocker.
If you open the a user card popover from the right sidebar and then click on the avatar in it, it closes the whole popover. I have a proposed change to address this.

I was able to make this crazy thing by navigating around with tabs to move focus and then hitting Enter on an element in the recent view: . Might need to extend your handler to hide sidebars on click to also apply to Enter or keypresses outside the sidebar? Not sure.
Should the popovers.hide_all call in resize.js interact with the sidebars? It seems like the answer may be yes.
The two popovers.hide_all calls in stream_list.js  and user_search.js seem suspiciously like they might be about hiding the opposite sidebar in narrow windows?
The #user_presences click handler in click_handlers.js for .selectable_sidebar_block might also intend to involve the sidebars?

Just pushed a commit to squash that I think improves this, out of time to explain but I think it fixes the second bug.

If you zoom to like 250% open stream settings, go to subscribers, and open the user card popover for a user, and then scroll with the mouse wheel, the user card closes in this PR but not in main. It's not clear if this is important but I also don't understand why it is. Might be the popovers.hide_all scroll handler in recent_view_ui.js or something weird like that. Not a blocker.

I cannot reproduce it.

Should the popovers.hide_all call in resize.js interact with the sidebars?
Yeah

The two popovers.hide_all calls in stream_list.js and user_search.js seem suspiciously like they might be about hiding the opposite sidebar in narrow windows?

Yeah, we already handle those cases well.

I was able to make this crazy thing by navigating around with tabs to move focus and then hitting Enter on an element in the recent view:

I am not able to reproduce this too.

The #user_presences click handler in click_handlers.js for .selectable_sidebar_block might also intend to involve the sidebars?

Added sidebar_ui.hide_userlist_sidebar(); there.

The resize.js change looks good.
I can no longer reproduce the 250% scroll bug, probably the commit I added accidentally fixed it. I also can no longer reproduce the other crazy screenshot.
For "The two popovers.hide_all calls in stream_list.js and user_search.js seem suspiciously like they might be about hiding the opposite sidebar in narrow windows?", I'm pretty sure that's mis-migrated but not sure how to fix it.  I opened https://github.com/zulip/zulip/issues/26989 for one of the issues that I think this introduces; it's minor enough that we can fix forward.

With those changes, I've marked this to merge once CI passes. Thanks for all the work on this @amanagr and the preparation for this @shameondev!
In terms of immediate next steps:

We should move the remaining functions in web/src/popovers.js to web/src/popover_menus.js to delete the old module.
It would be nice to move all the popover templates to web/templates/popovers/. Maybe start a thread in #frontend with proposed paths for everything in ls web/templates/ | grep popover?
We should split the individual popovers out of popover_menus.js so that it only has framework stuff. Probably a good idea here to make a #frontend thread proposing names for individual modules where it isn't obvious to save revision work.

Some more complex follow-ups:

We should probably do a triage pass on the "popovers" area label and close all the things that aren't still bugs with Tippy -- I can help with this later this week.
We still need to remove the bootstrap nav nav-list CSS.


ArXiv submission compiles hidden file in tarball

When submitting to arxiv  this tarball the automatic processing also compiles the hidden file .showyourwork-xml-ms.tex.This results in a doubled pdf.
I cleaned it up by hand, but probably there is a better way. This is using showyourwork v0.1.28, so might be fixed already.
Thanks for this awesome tool!

Hmm, that file is temporary, and shouldn't be committed to the repository by default (see this line in the gitignore of the template repository). You must have accidentally committed it (perhaps via a force-push)?


What if I delete rounds and just run Compute one time?

I noticed "long rounds = P.getOptionLongValue("-rounds",3);" in ligra.h file. And I am finding the same result is calculated four times, which seems taking more time.
I reduced rounds to 1, does that mean actually setting rounds to 1 will take even longer time in terms of parallel computing? I do not understand why we need to compute the same thing for four times.
Also , if I deleted the for loops, and replace it with below code
graph<compressedSymmetricVertex> G =
readCompressedGraph<compressedSymmetricVertex>(iFile,symmetric); //symmetric graph
Compute(G,P);
G.del();

And I got the result:
size = 13233762
n =<PHONE_NUMBER>703567937 m =<PHONE_NUMBER>581936505 totalSpace =<PHONE_NUMBER>795935540
reading file...
Segmentation fault: 11

I am thinking maybe it is because my input data file is too large, and some memory problem occur. But I am still confused, what is the best strategy here. I am running local graph clustering to get PPR vector for each node of a graph of 343299 nodes. So I also want to make sure that I choose an approach that saves time. Thanks!

By default, the code is run once to warm the cache and then 3 times to get 3 timings. If you don't need the timings you can pass the flag "-rounds 0", and it will run the code once without giving any timings.
I'm not sure why you got the seg fault after changing the code. The code you added is for reading a compressed graph. Perhaps you passed an input that hasn't been compressed.

Oh thanks! I checked my code later and found out that there is some other issues that caused the problem.


ASM-7477 Specs vnx_lun

Can you add a .travis.yml to this commit so that Travis CI can run the unit tests with the PRs? See here for an example: https://github.com/dell-asm/dell-equallogic/blob/master/.travis.yml Since you don't have a Rakefile you can probably just change the script line to "bundle exec rspec"

@hribab  nice job getting the tests running. Please address my remaining comments and I'll get this merged.


Issue when exponentiation is performed on big numbers

This issue doesn't provide much detail, but I'm sure this doesn't apply anymore. We've since changed the implementation to use doubles instead of decimals, and inordinately large numbers/results are more of a technical issue.
So I'm closing this issue unless there's more to it.


Information relating to values returned from query.auctions.auctionInfo()

My question is what are the 2 array values that are returned from invoking query.auctions.auctionInfo(SOME_HASH)?  I originally believed the first integer in the array to be the number of AuctionLeasePeriods and the second integer to be the AuctionEndingBlockNumber.  This logic seemed to align for Polkadot as the AuctionLeasePeriods was never greater than 8 (8x 12 week periods or 96 weeks).  On Kusama I see larger integers.  I expected this also to be capped at 8 (8x 6 week periods or 48 weeks).

For example, the first auction on Kusama starts at Block #7924237
so invoking query.auctions.auctionInfo(0x76cd95e9279ad833572427a959faa0c85ff99c8e543dc22f940279d42693f903)
returns [13, 7951237]
where Block #7951237 is the auction ending block but I can't figure out what the 13 is in reference to?
Thanks!

Upon closer investigation I can see I am misinterpreting the first value in this returned array.  It does exceed 8 in later Polkadot auctions too so it is not the AuctionLeasePeriods, naive mistake.  Either way I am still curious what this value represents.  Thanks again!

The source of truth is here - https://github.com/paritytech/polkadot/blob/6b67d8654d11c1edbced73cb9f98e39d953b2900/runtime/common/src/auctions.rs#L181-L188
	/// Information relating to the current auction, if there is one.
	///
	/// The first item in the tuple is the lease period index that the first of the four
	/// contiguous lease periods on auction is for. The second is the block number when the
	/// auction will "begin to end", i.e. the first block of the Ending Period of the auction.
	#[pallet::storage]
	#[pallet::getter(fn auction_info)]
	pub type AuctionInfo<T: Config> = StorageValue<_, (LeasePeriodOf<T>, T::BlockNumber)>;

Perfect, appreciate the info!


Add basic first version of random kahypar+

Based on https://github.com/ti2-group/hybrid_contraction_tree_optimizer/
Unfortunately I just realized that the RandomOptimizer does not optimize the costmod and temperature. Not sure how I missed that while going over the code. Without that the results are much worse though. I think ideally these parameters should be randomly chosen within the optimize function for each trial. For now I just hacked it over the optimize functions, which will probably lose some performance in the accelerated rust case.

Hello @CSNWEB! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file cotengra/pathfinders/path_kahypar_plus.py:

Line 65:80: E501 line too long (109 > 79 characters)
Line 84:80: E501 line too long (112 > 79 characters)
Line 214:80: E501 line too long (114 > 79 characters)
Line 255:80: E501 line too long (116 > 79 characters)
Line 260:80: E501 line too long (90 > 79 characters)
Line 324:80: E501 line too long (92 > 79 characters)
Line 349:80: E501 line too long (94 > 79 characters)
Line 408:80: E501 line too long (87 > 79 characters)
Line 430:5: E266 too many leading '#' for block comment
Line 446:80: E501 line too long (87 > 79 characters)
Line 528:43: E711 comparison to None should be 'if cond is not None:'

Thanks for this! Yes random sampling of costmod and temperature can be very easily added to the python and rust version, though actual optimization / tuning of the distribution they sample from a bit harder. Do you have any assessment of how good the performance is with uniform sampling?

The basic version I added in this PR, which comes from your original hyperoptimizer if I remember correctly, was very effective in my tests. It nearly always performed better in terms of best path found after x seconds than optuna or nevergrad. It definitely seems to be sufficient to find reasonably good greedy paths.

I reduced the code size quite a bit by removing all the contract tree related stuff and merging the paths directly while removing the duplicated tree traversal. Apart from the hacked in costmod and temperature tuning I am happy with the code now.

Great, could you maybe add a basic test? e.g. just to the matrix in test_optimizers.py.
I'll take a look and add the costmod and temperature sampling soon.

OK I've added costmod and temperature sampling now, which yes does increase the path quality quite nicely without much drawback. It's in cotengra main now and v0.1.3 of cotengrust (https://github.com/jcmgray/cotengrust/releases/tag/v0.1.3) has it enabled also.

Awesome, thanks. I will try to add some tests towards the end of the week.

Hello, I finally have some time again and added the method to the test matrix. I think it would probably make sense to add something in the docs as well, may be under drivers (https://cotengra.readthedocs.io/en/latest/advanced.html#drivers)?


[weibo]no matches found

cmdline>>  youtube-dl -v https://weibo.com/tv/show/1042211:4903603312459904?from=old_pc_videoshow
output message>>zsh: no matches found: https://weibo.com/tv/show/1042211:4903603312459904?from=old_pc_videoshow
anyone help

#30839
Quote the URL: ? is a special character in_zsh_.

I'm getting the same message on https://www.youtube.com/watch?v=RYYQnUFgHsQ
Is it the same thing?  youtube-dl --verbose exits after the message with no further output.  Using https://youtu.be/RYYQnUFgHsQ gets: WGroleau@MBP TEMP % youtube-dl  --keep-fragments --verbose https://youtu.be/RYYQnUFgHsQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--keep-fragments', '--verbose', 'https://youtu.be/RYYQnUFgHsQ']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.13 (CPython) - macOS-13.5.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] RYYQnUFgHsQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  **https://yt-dl.org/update**  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

See also issue #32536

No, this issue, which OP abandoned after failing to provide the requested information, would have been about Weibo, not YT.

Even after adapting the extractor's URL pattern, the extractor fails to find any video (stuck on login page)
The page appears to be a JS app, so the extractor's tactics won't work: the webpage traffic would have to be analysed to create a new extractor.

I just tried the OP's URI (minus the query, seems unnecessary 😉 ) in my browser:
https://weibo.com/tv/show/1042211:4903603312459904
After a successful GET request to the typed URI, several cycles of URL redirections took place, in what I can best describe as a client (browser) test and sanctioning procedure; the GET requests included
https://passport.weibo.com/visitor/visitor
https://passport.weibo.com/js/visitor/mini_original.js
https://weibo.com/login.php

, a POST request to
https://passport.weibo.com/visitor/genvisitor

followed by several additional GET requests to
https://weibo.com/login.php
https://passport.weibo.com/visitor/visitor
https://passport.weibo.com/js/visitor/mini_original.js
https://login.sina.com.cn/sso/prelogin.php

The redirections ultimately stopped and the URL address in my browser settled to:
https://weibo.com/login.php
However, the browser tab did not display a log-in page per se, but what looked to me like the homepage of weibo.com (as you can imagine, I'm not fluent in Chinese 😜 ) ...
What I then did was to Copy and paste, on that same tab, the original URI and, lo and behold, this time there were no redirection cycles, instead the program's page loaded normally and, soon after, video playback started, without me being in any way logged in to weibo.com; via URL sniffing, I got the direct URI to the HLS manifest:
https://live.video.weibocdn.com/72e07815-f251-4493-b8a7-6ff69287c4c7_index.m3u8?media_id=4903603312459904&tp=:Dcg29nGjWos2g9yAdLY9NTL&us=0&ori=1&bf=2&ot=h&ps=3lckmu&uid=3ZoTIp&ab=&Expires=1693681789&ssig=L9Pp4urRNI&KID=unistore,video

After some debugging, it appears what yt-dl probably needs is fetched via a POST request to:
https://weibo.com/tv/api/component?page=%2Ftv%2Fshow%2F1042211%3A4903603312459904

; the request involves below POST data:
data{"Component_Play_Playinfo":{"oid":"1042211:4903603312459904"}}

while several authentication/session cookies (PC_TOKEN, login_sid_t, X-XSRF-TOKEN, WBPSESS e.a.), set previously, are also "involved" 😉 ; the response is JSON formatted and, when prettified, looks like this:

weibo.com API JSON response
{
  "msg": "succ",
  "data": {
    "Component_Play_Playinfo": {
      "reposts_count": "2",
      "oid": "1042211:4903603312459904",
      "mid":<PHONE_NUMBER>879563,
      "ip_info_str": "发布于 广东",
      "attitude": false,
      "attitude_dynamic_adid": "",
      "nickname": "视频华夏",
      "video_orientation": "horizontal",
      "verified_type_ext": 0,
      "comment_manage_info": {
        "approval_comment_type": 0,
        "comment_permission_type": -1
      },
      "user_video_count": 2,
      "is_follow": false,
      "topics": null,
      "url_short": "http://t.cn/A6NrLUVx",
      "cooperate_video": 0,
      "is_contribution": 0,
      "verified_type": 0,
      "play_start_time": 0,
      "scrubber": [],
      "followers_count": "1.2万",
      "idstr": "1042211:4903603312459904",
      "cover_image": "//wx3.sinaimg.cn/large/007GoAJbly8hdzyqx9pbfj316c0nt438.jpg",
      "reward": {
        "welfare": 0,
        "mid": "4901954029879563",
        "reward_button_scheme": "https://reward.media.weibo.com/v1/public/h5/pay/reward?bid=1000303201&oid=4901954029879563&rewardsource=2&seller=7039396993&showmenu=0&topnavstyle=1&sign=13f4563d652b15f0f70c9484dd957469",
        "version_state": 1,
        "state": 1,
        "user": {
          "vclub_member": 0,
          "wbcolumn_ability": 0,
          "geo_enabled": true,
          "gender": "m",
          "avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.500.500.180/007GoAJbly1gl87bhjoqpj30dw0dwjrs.jpg?KID=imgbed,tva&Expires=1693688990&ssig=g57AM2%2B%2FCs",
          "following": false,
          "follow_me": false,
          "followers_count_str": "1.2万",
          "url": "",
          "allow_all_act_msg": false,
          "statuses_count": 2521,
          "friends_count": 28,
          "chaohua_ability": 0,
          "credit_score": 80,
          "user_ability_extend": 1,
          "has_service_tel": false,
          "verified_contact_email": "",
          "video_play_count": 0,
          "verified_type_ext": 0,
          "verified_trade": "",
          "video_mark": 14,
          "newbrand_ability": 0,
          "live_ability": 1,
          "block_word": 0,
          "video_status_count": 810,
          "like_me": false,
          "verified_detail": {
            "custom": 0,
            "data": [
              {
                "key": 1,
                "desc": "佛山云分发科技有限公司 主播",
                "weight": 100
              }]
          },
          "verified_state": 0,
          "live_status": 1,
          "brand_ability": 0,
          "pc_new": 7,
          "mbtype": 0,
          "mbrank": 0,
          "light_ring": false,
          "vplus_ability": 0,
          "special_follow": false,
          "planet_video": 2,
          "domain": "",
          "screen_name": "视频华夏",
          "is_teenager_list": 0,
          "user_ability": 8650760,
          "brand_account": 0,
          "pagefriends_count": 0,
          "verified_reason_url": "",
          "verified_type": 0,
          "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.500.500.50/007GoAJbly1gl87bhjoqpj30dw0dwjrs.jpg?KID=imgbed,tva&Expires=1693688990&ssig=DDnVQx9okJ",
          "ecommerce_ability": 0,
          "followers_count": 12454,
          "avatar_hd": "https://tvax1.sinaimg.cn/crop.0.0.500.500.1024/007GoAJbly1gl87bhjoqpj30dw0dwjrs.jpg?KID=imgbed,tva&Expires=1693688990&ssig=QUymtJohlv",
          "insecurity": {
            "sexual_content": false
          },
          "green_mode": 0,
          "idstr": "7039396993",
          "description": "颠覆式的数字传媒，重新定义直播！",
          "verified_reason_modified": "",
          "block_me": 0,
          "wenda_ability": 0,
          "is_guardian": 0,
          "location": "其他",
          "avatar_type": 0,
          "remark": "",
          "block_app": 0,
          "verified_contact_mobile": "",
          "bi_followers_count": 7,
          "created_at": "Wed Mar 20 15:07:26 +0800 2019",
          "profile_url": "u/7039396993",
          "online_status": 0,
          "favourites_count": 4,
          "id":<PHONE_NUMBER>,
          "cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
          "urisk":<PHONE_NUMBER>208,
          "urank": 4,
          "hongbaofei": 0,
          "verified": true,
          "hardfan_ability": 0,
          "verified_source_url": "",
          "province": "100",
          "video_total_counter": {
            "play_cnt": 2302160
          },
          "verified_level": 3,
          "interaction_user": 0,
          "paycolumn_ability": 0,
          "story_read_state": -1,
          "gongyi_ability": 0,
          "unfollowing_recom_switch": 1,
          "vvip": 0,
          "svip": 0,
          "star": 0,
          "name": "视频华夏",
          "like": false,
          "lang": "zh-cn",
          "verified_reason": "佛山云分发科技有限公司 主播",
          "allow_all_comment": true,
          "city": "1000",
          "class": 1,
          "verified_source": "",
          "status_total_counter": {
            "comment_cnt": 6710,
            "like_cnt": 3838,
            "total_cnt": 12368,
            "comment_like_cnt": 208,
            "repost_cnt": 1612
          },
          "nft_ability": 0,
          "block": 0,
          "super_topic_not_syn_count": 0,
          "weihao": "",
          "mb_expire_time": 0,
          "ptype": 0,
          "verified_contact_name": "",
          "is_teenager": 0
        },
        "desc": "点赞是美意，赞赏是鼓励",
        "reward_params": "bid=1000303201&oid=4901954029879563&rewardsource=2&seller=7039396993&showmenu=0&topnavstyle=1&sign=13f4563d652b15f0f70c9484dd957469"
      },
      "id": "1042211:4903603312459904",
      "verified": true,
      "duration": "3:12:31",
      "allow_comment": false,
      "attitudes_count": 7,
      "real_date":<PHONE_NUMBER>,
      "title": "戏聚高平·擂响中华——中国梆子大会|5.20",
      "uuid": "4903603318816796",
      "user": {
        "id":<PHONE_NUMBER>
      },
      "urls": {
        "高清 720P": "//live.video.weibocdn.com/72e07815-f251-4493-b8a7-6ff69287c4c7_index.m3u8?media_id=4903603312459904&tp=:Dcg29nGjWos2g9yAdLY9NTL&us=0&ori=1&bf=2&ot=h&ps=3lckmu&uid=3ZoTIp&ab=&Expires=1693681789&ssig=L9Pp4urRNI&KID=unistore,video"
      },
      "text": "【5月20日】《戏聚高平·擂响中华》中国梆子大会，将于5月18日在喜镇苏庄拉开大幕，全国梆子戏名家新秀将相约表里山河，擂响中华之声。《戏聚高平·擂响中华》中国梆子大会开幕式全国梆子戏老中青名家名段演唱会，中国梆子大会闭幕式全国戏曲老中青名家名段演唱会将分别于5月18日和24日隆重举行。   http://t.cn/A6NrLUVb",
      "live": true,
      "verified_reason": "佛山云分发科技有限公司 主播",
      "date": "3月前",
      "avatar": "//tvax1.sinaimg.cn/small/007GoAJbly1gl87bhjoqpj30dw0dwjrs.jpg?KID=imgbed,tva&Expires=1693688989&ssig=54%2FbLDALF8",
      "author": "视频华夏",
      "is_show_bulletin": 2,
      "play_start": 0,
      "duration_time": 11551,
      "media_id":<PHONE_NUMBER>459904,
      "play_count": "268",
      "comments_count": "0"
    }
  },
  "code": "100000"
}

Hope I've helped 😄 ...


Translation: P4 Runtime layer SAI -> Simulator

Related information
NVidia - this is the 'glue' layer. Simulator exposes P4Runtime API for configuration. The goal is to align it with the SAI api by providing a translation from SAI to P4Runtime.

Fixed by https://github.com/Azure/DASH/pull/108


fix(frequent logs): decrease log level

for ref: the callers log errors so we have decided to go without logging here.


release 1.2.0

Coverage remained the same at 75.806% when pulling 51453bd26117589aac9a72d1abb2891fabdf5464 on release-1-2-0 into 9def522ded07296e0cb5bf46eb491244ab54342b on master.


Adds SharePoint Framework Top Actions documentation

Category

[ ] Content fix
[x] New article

What's in this Pull Request?
Creates documentation for the SharePoint Framework Top Actions feature.

@jayharris-ms - also would be nice to add a picture of what can be achieved.
For example, this one:

Learn Build status updates of commit 5910ebe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/web-parts/guidance/getting-started-with-top-actions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit aa1b664:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/web-parts/guidance/getting-started-with-top-actions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 95f3030:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/web-parts/guidance/getting-started-with-top-actions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Given the go live with GA today - I'll merge this now and will do the edits across the doc manually to avoid delays due the pending doc updates.


Add repo to CTMY info

Codecov Report

Merging #3603 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #3603   +/-   ##
=======================================
  Coverage   99.19%   99.19%
=======================================
  Files          18       18
  Lines        1124     1124
  Branches      302      302
=======================================
  Hits         1115     1115
  Misses          9        9

Continue to review full report at Codecov.

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


iOS Builds Fail

I'm unable to run my app after installing this package.
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwift normal x86_64<EMAIL_ADDRESS>CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(13 failures)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The terminal process "zsh '-c', 'yarn run ios'" terminated with exit code: 1.

Hello @haleyngonadi, could you please describe your environment? What version of Xcode are you using, and for which version of iOS are you compiling the app?

Hi @pshoniuk, sorry about that. here's the info:

What version of Xcode are you using
12.4

Which version of iOS are you compiling the app?

14.5.1

@haleyngonadi  Could you please also share the output of "yarn ios run --verbose"? This might help determine the root of the problem because I can't reproduce this issue in my environment.

I am facing the same issue as you @haleyngonadi ; did you find a solution yet? :/
And when I try to build from Xcode rather than CLI, I get the following error:

I have the following Podfile:
====
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'

target 'app' do
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => true
  )

  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

  target 'app_newTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  use_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
  end
end

====
I read somewhere that Giphy requires use_framework! in Podfile to work; is that confirmed even for latest react native version? (0.66) (using gipfhy native sdk 1.1.1)
=> I need flipper to work with firebase, so use_framework is not an option;
Can you please help @pshoniuk ?
I have been looking around for hours and still unable to find a solution :/

@pierroo Unfortunately I couldn't get it to work so I switched over to react-native-gif-search, and it works great!

Thank you for answering @haleyngonadi ; that is kinda sad news considering Giphy works perfectly on web and android; and gif-search feels much less native. :/
If you happen to pass by @pshoniuk with some more infos or confirmation that in its current state Giphy just cannot work on iOS that would help me move on :)

Hey @pierroo! Thank you for such a detailed report. It looks like we have a problem with XCode 12.5. I will check the details and come back later with an update. But for now, to get the Giphy RN SDK working, you can try updating your XCode to the latest version. This works for my playground, which I made based on your comments.

Thank you @pshoniuk for your answer: if you tell me it works with latest version of XCode, then it's totally fine with me I will just update, I was afraid of a scarier answer. :)
I will update and edit this message once I tried it.


feature: from/to columns in export lineage csv

Is your feature request related to a problem? Please describe.
When exporting a lineage information I am required to provide information about all edges - including from_entity.id, to_entity.id attributes (and possibly from/to FQNs).
Describe the solution you'd like
Add from/to columns and list all edges in export lineage csv.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This is fixed and available as part of 1.5.11 release.


Artifact builds upon release

The main story of these changes is that Debian packages of PL/Rust are created and uploaded to Github whenever a new release of PL/Rust is created. This includes the aarch64/arm64 packages that required some cloud infrastructure not included in this repo.
Additionally in these changes are some dependency updates, since pgrx 0.8.3 was needed.
EDIT: Note that the Github Actions changes for producing the Debian packages will not go in effect until the changes are merged into tcdi:main

As we discussed offline, a mention of Debian artifacts in the top-level project README would be great, but that's no reason to hold an approval on this.


Invalid casing for Activity ID

From the TinCan API spec, I believe that the ActivityID specified as a query parameter should be case-sensitive.
While using an Uri object to store the ActivityID, this is actually helpful in ensuring proper format, URIs in .Net are case insensitive and actually lose their casing when converted to string. I suggest using a different approach that can keep the original casing. I found Uri.OriginalString to be helpful.
This behavior is implemented in TinCan.StatementsQuery.ToParameterMap()
I hope you can also review this for the other parameters as well.

Activity IDs are now being handled as a string (hopefully everywhere) which should alleviate this problem based on #20 being merged, and I'll be cutting a new major release with that change since it breaks backwards compatibility. Re-open if your case isn't fixed.


Update README.md

Add colon at the end

development on the main branch has stopped. All new development is on the dev branch.


Session Data

Output image into session specific directory and update the readme.
TODO:
Needs further modification for the agent side, e.g. grounder.py

I believe I have connected. Please try on your end and see my edits are correct on the chat side.


Angular top-to-bottom message list, React video container support

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Publicly document how to use arbitrary URLs

https://intfiction.org/t/parchment/54852
It's not very obvious to authors how to make iplayif.com work with arbitrary URLs.
I think the home page of https://iplayif.com/ could stand to have a form (or a link to a form?) where anyone could paste in an URL, and it would redirect the user to https://iplayif.com/?story=<url>.

demo iplayif url generator

Make it a PR! https://github.com/curiousdannii/parchment/blob/master/index.html ain't fancy.

I'll make the change to rewrite the current navbar with the history API and submit a PR tomorrow or soon.


[Network] Traffic Manager commands are missing parameters

Describe the bug
'az network traffic-manager profile' commands are missing support for various parameters introduced in https://azure.microsoft.com/en-us/roadmap/fast-failover-and-tcp-probing-in-azure-traffic-manager/
Specifically, MonitorIntervalInSeconds, MonitorTimeoutInSeconds, MonitorToleratedNumberOfFailures are not supported
To Reproduce
az network traffic-manager profile create -h
Compare supported parameters to the REST spec for Traffic Manager or the equivalent PS command New-AzureRmTrafficManagerProfile
Expected behavior
Add support for missing parameters and update help
Environment summary
Cloud Shell
Additional context
none

This fix will be features in the next release.

Thank you!


Docker volume config to persist state

Hi,
Which directories require a volume mapping if I want to re-establish the state after rebuilding the container?
Thanks,
Mike

Hi @mpharding !
Technically non. I guess you are talking about your Dashboard state. This is something that gets saved on your client Session Storage. Or were you talking about something else?
Sorry for our late responses :(

@mpharding dashboards are saved in neo4j. https://github.com/neo4j-labs/neodash/blob/master/src/dashboard/DashboardThunks.ts#L154


LXC re-apply when ssh_public_keys variable is defined results in Error: 400 Parameter verification failed.

The problem appears when an ssh key has been defined for an lxc container resource. The first time terraform apply runs everything is fine but if a change unrelated to the ssh keys is made, for example increasing the memory, and I try to re-apply then I get something like the following:
Error: 400 Parameter verification failed.

  on main.tf line 9, in resource "proxmox_lxc" "ubuntu_nginx_lxc":
   9: resource "proxmox_lxc" "ubuntu_nginx_lxc" {

which can be solved by removing or commenting out the line that has ssh_public_keys. This is consistent and repeatable. The main.tf I tested with is the following:
provider "proxmox" {
    pm_tls_insecure = true
    pm_api_url = "https://pve-0.local:8006/api2/json"
    pm_password ="proxmoxlocaltest0"
    pm_user = "root@pam"
}

resource "proxmox_lxc" "ubuntu_nginx_lxc" {

    count = 1

    features {
        nesting = true
    }

    start = true

    memory = 768

    hostname = "ubunginx-${count.index}"

    network {
        name = "eth0"
        bridge = "vmbr0"
        ip = "dhcp"
    }

    ssh_public_keys = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5jzKi37jm3517bqThbw+7LR/GXm3qC6Az5F+ZUa36vYM7Ygk2K5bWcFIL2YUCrkL5jfSsvoowONjCAxyuoyxtW4MJxnQLyq4u4yDsRC7YvBPAKZUYaHwnbkCfDs5a75dEFOoDxCA0DY2GrhqzBndaTcCfl0fZ4vN+9LcKOb1dSKiHeHvsh35YNtwntbL21meo+hiycUEgGwNe9/4kxKpdGTr7HvbeX2Fjm/UZBZIJKVcGop/3gCHXYnKH+OY5zc8cmt9Jg4CIwEqrSKeOX0bE8LSPRpVRXH4v8OcMaMei/HQejlH8NBwybEdJ4mhl8vHaFEjDbIWoOujmiRQF2263 angle@puddle"

    ostemplate = "local:vztmpl/ubuntu-18.04-standard_18.04.1-1_amd64.tar.gz"
    password = "rootroot"
    storage = "local-zfs"
    target_node = "pve-0"
    unprivileged = true
}

I can also provide the 3 plan files from the test: one when initially deploying the container, one when trying to apply after changing the value for memory which fails and one where the ssh_public_keys is commented out and the apply succeeds

I can also reproduce this bug, exactly as described.

Reproduced as described with terraform 0.13.5 and telmate Proxmox provider 2.6.5.
Terraform debug output:
2021-01-03T13:24:55.785Z [DEBUG] plugin.terraform-provider-proxmox_v2.6.5: {"data":null,"errors":{"ssh-public-keys":"property is not defined in schema and the schema does not allow additional properties"}}
2021/01/03 13:24:55 [DEBUG] proxmox_lxc.lxc-gotify: apply errored, but we're indicating that via the Error pointer rather than returning it: 400 Parameter verification failed.

Reproduced as described with terraform 0.13.5 and telmate Proxmox provider 2.6.5.
Terraform debug output:
2021-01-03T13:24:55.785Z [DEBUG] plugin.terraform-provider-proxmox_v2.6.5: {"data":null,"errors":{"ssh-public-keys":"property is not defined in schema and the schema does not allow additional properties"}}
2021/01/03 13:24:55 [DEBUG] proxmox_lxc.lxc-gotify: apply errored, but we're indicating that via the Error pointer rather than returning it: 400 Parameter verification failed.

Still happening with Terraform v0.14.9 and Telmate Proxmox Privter v2.6.8 (here I was trying to update the pool value of my LXC container).
2021-04-11T22:49:37.693+0200 [DEBUG] plugin.terraform-provider-proxmox_v2.6.8: {"data":null,"errors":{"ssh-public-keys":"property is not defined in schema and the schema does not allow additional properties"}}
2021/04/11 22:49:37 [DEBUG] proxmox_lxc.proxysql2: apply errored, but we're indicating that via the Error pointer rather than returning it: 400 Parameter verification failed.


Segment - Recon and discovery

Go Application Source
I have tested the segment service with the go SDK provided here.
I have tested three function: analytics.Identify,  analytics.Page, analytics.Track.

Identify
You can provide a UserId for user and then assign different traits to the user, like, name,  email or any key-value pair.
Request
client.Enqueue(analytics.Identify{
    UserId: "abtinokhovat",
    Traits: analytics.NewTraits().
        SetName("Abtin Okhovat").
        SetEmail("abtin@example.com").
        Set("plan", "Enterprise").
        Set("friends", 142).
        SetGender("Male").
        SetDescription("This is a test desc"),
})

Segment Raw data (Dashboard)
{
  "context": {
    "library": {
      "name": "analytics-go",
      "version": "3.0.0"
    }
  },
  "integrations": {},
  "messageId": "156bcd23-6d73-4fb2-ae51-84eabdaf130f",
  "originalTimestamp": "2023-10-31T11:53:03.061412+03:30",
  "receivedAt": "2023-10-31T08:23:12.873Z",
  "sentAt": "2023-10-31T08:23:08.062Z",
  "timestamp": "2023-10-31T08:23:07.872Z",
  "traits": {
    "description": "This is a test desc",
    "email"<EMAIL_ADDRESS>    "friends": 142,
    "gender": "Male",
    "name": "Abtin Okhovat",
    "plan": "Enterprise"
  },
  "type": "identify",
  "userId": "abtinokhovat",
  "writeKey": "REDACTED"
}

💡 When identifying user with pre-identified UserId only messageId, originalTimestamp, receivedAt, sentAt, and timestamp will be distinct for conspicuous reason.

Track
In track function we have to add an Event name, and a UserId, and we can add extra key-value pairs in the Properties field.
Request
client.Enqueue(analytics.Track{
    Event:  "Article Bookmarked",
    UserId: "abtinokhovat",
    Properties: analytics.NewProperties().
            Set("title", "Snow Fall").
            Set("subtitle", "The Avalanche at Tunnel Creek").
            Set("author", "John Branch"),
})

Segment Raw Data (Dashboard)
{
  "context": {
    "library": {
      "name": "analytics-go",
      "version": "3.0.0"
    }
  },
  "event": "Article Bookmarked",
  "integrations": {},
  "messageId": "51672282-c097-454f-8de9-d00e0a43016f",
  "originalTimestamp": "2023-10-31T11:53:29.905488+03:30",
  "properties": {
    "author": "John Branch",
    "subtitle": "The Avalanche at Tunnel Creek",
    "title": "Snow Fall"
  },
  "receivedAt": "2023-10-31T08:23:38.069Z",
  "sentAt": "2023-10-31T08:23:34.906Z",
  "timestamp": "2023-10-31T08:23:33.067Z",
  "type": "track",
  "userId": "abtinokhovat",
  "writeKey": "REDACTED"
}

💡 If you don't send the UserId the event will not land the dashboard.
💡 If you send a UserId which is not Identified it will land dashboard but will have a title of Unknown user.

Page
Page function will track the page views of an application, you can config the function to have multiple hosts like, mobile,web page 1, web page 2, or ... .
Request
client.Enqueue(analytics.Page{
    UserId: "abtinokhovat",
    Name:   "Go Library",
    Properties: analytics.NewProperties().
        SetURL("https://segment.com/libraries/go/"),
})

Segment Raw Data (Dashboard)
{
  "context": {
    "library": {
      "name": "analytics-go",
      "version": "3.0.0"
    }
  },
  "integrations": {},
  "messageId": "2b34b1f5-791e-49b3-a000-783b379e60a1",
  "name": "Go Library",
  "originalTimestamp": "2023-10-31T11:55:39.910113+03:30",
  "properties": {
    "url": "https://segment.com/libraries/go/"
  },
  "receivedAt": "2023-10-31T08:25:50.863Z",
  "sentAt": "2023-10-31T08:25:44.911Z",
  "timestamp": "2023-10-31T08:25:45.862Z",
  "type": "page",
  "userId": "abtinokhovat",
  "writeKey": "REDACTED"
}

Further investigation for other SDKs is needed, for founding any difference.
I will setup a PostgresDB instance as a destination, and will update this issue if found any new information.

Further investigation for other SDKs is needed, for founding any difference.
I will setup a PostgresDB instance as a destination, and will update this issue if found any new information.

Great Abtin jan, I have a question, is it necessary for the client to send the Identify message before any other message?

Further investigation for other SDKs is needed, for founding any difference.
I will setup a PostgresDB instance as a destination, and will update this issue if found any new information.

💡 Semgment create a table for each event that we define(e.g get_profile).
💡 In this image we see the result of track "get_profile" event. result of run this code in client:
	segment.SegmentClient.Enqueue(analytics.Track{
		Type:   "track",
		Event:  "Get Profile",
		UserId: claims.ID,
	})

💡 Segment although create a table for each main functionality(track, page, identify, group...)

💡 Users table also created

Further investigation for other SDKs is needed, for founding any difference.
I will setup a PostgresDB instance as a destination, and will update this issue if found any new information.

 💡 Semgment create a table for each event that we define(e.g get_profile). 💡 In this image we see the result of track "get_profile" event. result of run this code in client:
	segment.SegmentClient.Enqueue(analytics.Track{
		Type:   "track",
		Event:  "Get Profile",
		UserId: claims.ID,
	})

 💡 Segment although create a table for each main functionality(track, page, identify, group...)
 💡 Users table also created

Thanks @DOO-DEV jan.


Bug: HC group unable to mount vehicles of other groups

Steps to repro:

Create a manned vehicle/transport/aircraft, synced to HC.
Create a separate second AI group, synced to HC (can be the same logic as the first group).
Assign the second AI group via waypoint to GET IN the vehicle of the first group.

Expected outcome:
The second group mount up in the vehicle of the first group.
Actual outcome:
The second group ignores the vehicle and is unable to mount up.
The only way to have two different groups of HC AI in the same vehicle is to have the vehicle unmanned in the beginning, however this means that the vehicle cannot be synced to the HC.

Is this a problem in the old framework or new (dev) framework or both?

Yes, this has been a persistent issue, even in the previous version.

Assigned to @PiZZAD0X as it's related to HC.


Design view should be in editor mode for new document.

Description:
The design view of the composer should be selected to edit mode automatically when opening a new document.

Fixed with #9624


feat: Support sound option(macOS and Linux)

Support sound option
NOTE: Sorry, I don't have Windows, so I cannot implement and check the operation.

LGTM, thanks for the contribution!

Released in v0.4.0!

@uki00a Thanks :)


Covariant parameter types allowed when assigning functions

Steps to reproduce
vim9script

class A
endclass
class B extends A
endclass

def Foo(p: B): B
  return B.new()
enddef

var Bar: func(A): A = Foo

Expected behaviour
An error message should be output:
"E1012: Type mismatch; expected func(object<A>): object<A> but got func(object<B>): object<B>"
I'm a bit surprised these checks are handled separately.
Version of Vim
9.0.1999
Environment
Ubuntu 20.04
Logs and stack traces
No response

This is the expected behavior.  Otherwise how will you extend a class but still use methods from the base class using the extended class?

This is the expected behavior. Otherwise how will you ...

Could you clarify this. (an example perhaps)
Doing the following, starting with the original example, gets a run-time error even though it compiles OK, and note that any is not used as a type anywhere. I didn't think that was possible.
def F()
    echo Bar(A.new())
enddef
F()

Error detected while processing :source buffer=2[17]..function <SNR>38_F:
line    1:
E1013: Argument 1: type mismatch, expected object<B> but got object<A>

This may be allowing something whose resolution should be part of a next version type system.

One could argue whether this is a "covariant" or "contravariant" problem, or one caused by the other.

This is the expected behavior. Otherwise how will you extend a class but still use methods from the base class using the extended class?

Sorry, I don't understand your comment.
This has nothing to do with classes and methods, which you recently changed to address this very issue, but assignment compatibility of function types. The same variance rules apply - contravariance in the parameter type.

I have created PR #13307  to address this.  But I am wondering are there any other cases where this will not work or might break existing functionality.

I have created PR #13307 to address this. But I am wondering are there any other cases where this will not work or might break existing functionality.

I wonder about that myself.
I'm less worried about "break existing functionality". It shouldn't be too much of a problem if using any fixes any compilation errors (and there might be a run time error) if that's really what the programmer wants. It's encouraging that all the tests pass. (but then, I'm easily encouraged)
Places where type invariant is quietly violated and allows run time errors; that's all kinds of trouble.

I have created PR https://github.com/vim/vim/pull/13307 to address this.

I assume the invariance is intentional?  I'd really prefer that the type system was sophisticated enough to handle these reasonably basic cases.
This is now inconsistent with the method implementation, is that also intentional?  They don't have to match but it might be a better starting point if they did.

But I am wondering are there any other cases where this will not work or might break existing Vim9 class functionality.

Do you mean in the compiler implementation or at a language level?  I can't see how the latter is affected.

I have created PR #13307 to address this.

I assume the invariance is intentional? I'd really prefer that the type system was sophisticated enough to handle these reasonably basic cases.
This is now inconsistent with the method implementation, is that also intentional? They don't have to match but it might be a better starting point if they did.

Are you referring to the return type? The argument types are invariant but the return type can be
a covariant.  This is same as the method implementation.  Are you referring to some other inconsistency?

But I am wondering are there any other cases where this will not work or might break existing Vim9 class functionality.

Do you mean in the compiler implementation or at a language level? I can't see how the latter is affected.

I am referring to the compiler implementation.  All the existing tests are passing.  Need to see
whether some other problem crops up.

Are you referring to the return type? The argument types are invariant but the return type can be a covariant. This is same as the method implementation. Are you referring to some other inconsistency?

Sorry, I was commenting based on the commit message, "Enforce invariant type check for arguments and return value...".
I'll see if I can find any problems, thanks.


Issue facing in lstm_example

Dear sir,
I am getting error while executing the lstm_example.
could you please check once and please let me know if any modifications has to be done.
Thank you.

Hey, I fixed the bug. Please try with the latest code thanks.


什么时候能上传一下安装包，好想体验

感觉这个项目真好，可以识别出电脑的型号，值得研究一下！
希望早日能够上线安装包

Hello! I am the developer of this project, and I have seen the question you submitted. For now, I am conducting testing and will upload the installation package if there are no issues.
I will develop version 1.0.0 for multilingual adaptation and compatibility with multiple systems in the future. Stay tuned!
Thank you for submitting this question!


Change order of chunk and move-meta-entries

Move chunk processing to take place before move-meta-entries. The DITA spec doesn't mandate a given order between these processing steps.

Chunking doesn't change the hierarchical relationship between the map and the topics or the topics and each other so it shouldn't matter what order you do things in--the result has to be correct regardless.
That is, whether the configuration of topics as organized into XML documents is created at authoring time or through chunking, the effective result must be identical. How you achieve this in a processor is an implementation detail.


Clear old observations when creating a new observation

Closes #204 by clearing out whatever observations were on the previous ObsEdit screen before navigating to create a new observation.

The way ObsEdit is currently written, we don't want to clear context when exiting ObsEdit for any reason. If we do that, we lose the ability to navigate to the AddID screen and return to ObsEdit with an identification selection, as well as the ability to navigate to the TaxonDetails screen from AddID and then return to AddID, then ObsEdit.
We don't currently have a working location picker / location map screen, but I imagine this is another screen where we'll need to be able to navigate away from ObsEdit and come back without clearing context. (This could be a modal, rather than a separate navigation screen).
And we also need to be able to add evidence to an existing observation in ObsEdit, which means returning to the camera/gallery/sound recorder without wiping the existing observation context.
Some ways we could address the issue you raised:

We could add code specifically to clear context when the Android back button is pressed using the BackHandler
We could try turning AddID, location picker, and add evidence (camera, gallery, sound recorder) into modals from ObsEdit instead of allowing navigation to separate screens
We could clear context anytime a user leaves ObsEdit except for when they're navigating to the AddID screen, location picker, or tapping the add evidence button

Any preference or other ideas? 1 and 3 both seem pretty reasonable to me, and 1 would involve a lot less conditional logic.

Hah, I was going to say I prefer 2 since all those views off of ObsEdit seem like modal experience to me (i.e. single-screen interactions that only serve to alter the state of the parent view). What's you're aversion to that approach? 1 and 3 both seem pretty conditional to me, but I guess they're preferable if 2 is massively complicated.

2 seems pretty complicated to me if we're allowing a user to navigate through those screens (say Camera Options -> PhotoLibrary -> Group Photos -> ObsEdit) and also need to support those some of those screens in modal mode, with the same state as they had from the user navigating through (say, if a user returns to the PhotoLibrary and needs to be able to see what photos they already have selected for their existing observations)

Fair enough. Let's just go with the BackHandler approach for now, then.

Fixed, I think.


Was :fallback accidentally left out?

Pull request https://github.com/public-activity/public_activity/pull/148 introduced :fallback but I can't find any branch or gem release with that parameter now. It used to be part of the "2.0" / "unstable" branch but now that 2.0 is released it's definitely gone.
The way the if..else statement in renderable.rb is such that if :display is defined it is always used.
If I sent a PR to re-introduce :fallback would that be acceptable or was :fallback removed intentionally?
Thanks!

As far as I can tell, this feature never made it into a release. However, the code is still there in the master branch.
$ git br --contains a2e9aa5a7f131ae69c805acb9c445d3685de141b
  master


Service 'misp-web' failed to build

I got an error while building the docker when it's installing the dependencies for misp-web.
The module trustar uses setuptools and more specificaly use_2to3 which has been discontinued since v58.0.0 of setuptools.
A solution I found is to modify the dockerfile for misp-web and downgrade setuptools to v57.5.0 and install trustar before upgrading setup tools again.

Hi @TGuerillon. I just ran the build check and found the same issue.
More specifically, the error occurs on the misp-modules' dependencies installation process. I will try to fix this issue and also syncing misp-docker with the upstream soon. Thank you for your solution.

This issue has been fixed by updating the misp-docker to the latest commit. Review this change on b63d31a and the build check.

Thanks for the fix. I think that the redis docker is not used anymore as the MISP docker is running its own redis-server


Massive drop in CPU usage when computing P1 Table 4.

During P1 Table 1,2,3 my CPU utilization is very high. Something is happening when it gets to Table 4 and the CPU utilization drops to less than 10 on each core and my plotting times increase significantly.
Plotting on Ubuntu 20.04.
System specs:
2x E5-2650 v4
32GB DDR4
1tb NVME connected via PCIe
tmp1 and tmp2 are both on the NVMe
destination on the NVMe as well during testing
Running plotter with this command:
./chia-plotter/build/chia_plot -n 1 -r 24 -t /mnt/chia_tmp/tmp1/ -2 /mnt/chia_tmp/tmp2/ -d /mnt/chia_tmp/chia_plots/
Output (some unnecessary lines removed)
Multi-threaded pipelined Chia k32 plotter - 17fd633

Final Directory: /mnt/chia_tmp/chia_plots/
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 9294
Number of Threads: 24
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Working Directory:   /mnt/chia_tmp/tmp1/
Working Directory 2: /mnt/chia_tmp/tmp2/
Plot Name: plot-k32-2021-07-07-05-04-61efd6475cc7b24fe77614f36477e23f09976f0867e438376737a90f0a2763b5
[P1] Table 1 took 18.7 sec
[P1] Table 2 took 100.447 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 120.906 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 1349.4 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 1256.3 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 1076.9 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 725.934 sec, found<PHONE_NUMBER> matches
Phase 1 took 4648.64 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 73.8469 sec
[P2] Table 7 rewrite took 388.723 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 76.8732 sec
[P2] Table 6 rewrite took 325.186 sec, dropped 581453851 entries (13.5421 %)
[P2] Table 5 scan took 72.0342 sec
[P2] Table 5 rewrite took 308.24 sec, dropped 762099415 entries (17.7468 %)
[P2] Table 4 scan took 71.4251 sec
[P2] Table 4 rewrite took 303.067 sec, dropped 828957993 entries (19.3023 %)
[P2] Table 3 scan took 68.3854 sec
[P2] Table 3 rewrite took 298.946 sec, dropped 855131329 entries (19.911 %)
[P2] Table 2 scan took 68.7507 sec
[P2] Table 2 rewrite took 298.131 sec, dropped 865663893 entries (20.1556 %)
Phase 2 took 2379.23 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 420.394 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 412.605 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 3 took 428.575 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 3 took 427.051 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 4 took 420.703 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 414.693 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 410.38 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 432.01 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 439.167 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 441.107 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 501.625 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 508.74 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 5262.13 sec, wrote<PHONE_NUMBER>7 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 174.012 sec, final plot size is<PHONE_NUMBER>64 bytes
Total plot creation time was 12464.1 sec (207.735 min)

I haven't let the full plot finish yet running like this but I will add the remainder of the output when this plot completes.
The full log has been added.

Why are you using both -t, -2, and -d if they are on the same drive? Just use -t. It looks to me like your drive can't handle the IO, and has exhausted its cache. What model are you using? Is it TLC NAND?

Yes it is TLC NAND (Inland). While I believe you are right, I'm trying to make sense of why the same issue isn't occurring on my other plotter that is using the same SSD and has 32GB RAM but uses a Ryzen 3700x single CPU

This issue has now spread to the Ryzen 3700x machine as well after updating to the current build. Using the windows binary 0.0.7 I was able to build plots with this exact setup in about 50-55 min. After updating to 0.1.1 for pool compatibility this system exhibits the same symptom.
Both plotters are plotting to the Inland 1TB NVMe which is TLC NAND.

can you check top and see what the wa (waiting) percentage is? (next to idle percentage)

It is less than 1% before the slow down and after it fluctuates between 5% and 15%

possibly related to #785

It is less than 1% before the slow down and after it fluctuates between 5% and 15%

That would indicate a problem with your SSDs

Did something change between v .0.0.6 and 0.1.1 that would have caused this SSD issue? Multiple systems with no hardware change and significant increases in plotting time.

Closing due to likely being hardware related.


Update aws-java-sdk-secretsmanager to 1.12.704

About this PR
📦 Updates com.amazonaws:aws-java-sdk-secretsmanager from 1.12.701 to 1.12.704
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-secretsmanager" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-secretsmanager" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #55.


✨ Support constrained lists

Concept
In Python, a constrained list is a list that is restricted to contain only elements of a certain type or set of types. The Python package Pydantic includes a ConstrainedList class that can be used to define constrained lists in your code.
Here is an example of how you might use the ConstrainedList class to define a constrained list of integers:
from pydantic import ConstrainedList

int_list = ConstrainedList(int, min_items=3, max_items=5)

This creates a ConstrainedList object called int_list that can only contain integers and must have at least 3 items and at most 5 items.
You can also use the ConstrainedList class to define a constrained list of elements that are instances of a particular class or that are of a particular subclass:
from pydantic import ConstrainedList

class Employee:
    def __init__(self, name: str, salary: int):
        self.name = name
        self.salary = salary

employee_list = ConstrainedList(Employee)

This creates a ConstrainedList object called employee_list that can only contain instances of the Employee class.
The ConstrainedList class includes several other optional parameters that you can use to further constrain the elements of the list, such as min_items, max_items, and unique_items. You can find more information about the ConstrainedList class in the Pydantic documentation.
Explanation
The Feature starts by determining the target length of the list by calling a helper function called GetTargetLength, passing in the min_items and max_items attributes of the model_field object as arguments. It then initializes an empty list called items.
The function then checks if type_ is a ConstrainedList object by checking if it is a subclass of pydantic.types.ConstrainedList. If it is, it sets the list_types variable to a tuple of the item types of the ConstrainedList object. If it is not, it sets list_types to the tuple of argument types of type_.
The function then enters a loop that continues until the length of items is equal to the target length. Within the loop, it iterates over the items in list_types, and for each item, it calls a helper function called _get_value, passing in the item, the model_field object, and the use_default_values and optionals_use_none arguments. If the unique_items attribute of the model_field object is True and the value returned by _get_value is already in the items list, it continues to the next iteration of the loop. Otherwise, it appends the value to the items list.
After the loop has been completed, the function returns the items list.

Codecov Report
Base: 100.00% // Head: 98.75% // Decreases project coverage by -1.24% :warning:

Coverage data is based on head (2b04bbe) compared to base (34ec025).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #75      +/-   ##
===========================================
- Coverage   100.00%   98.75%   -1.25%
===========================================
  Files           23       23
  Lines          944      964      +20
===========================================
+ Hits           944      952       +8
- Misses           0       12      +12

Impacted Files
Coverage Δ

ormdantic/generator/_lazy.py
82.08% <7.69%> (-17.92%)
:arrow_down:

ormdantic/handler/__init__.py
100.00% <100.00%> (ø)

ormdantic/handler/random.py
100.00% <100.00%> (ø)

tests/test_generator.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.