[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:10009: connect: connection refused"

Background
Using BTCPay server to run lightning.
Most commands to lnd gives this error:
bitcoin-lncli.sh getinfo
[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:10009: connect: connection refused"
Despite this, sending and receiving payments with BTCPay server works fine.
Creating invoices with Joule, RTL all work
Your environment

version of lnd
lncli version 0.12.1-beta commit=basedon-v0.12.1-beta-15s-fresh-btcpay

which operating system (uname -a on *Nix)
Linux btcpay283894 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

version of btcd, bitcoind, or other backend
Bitcoin Core RPC client version v0.21.0

any other relevant environment details

Steps to reproduce
Expected behaviour
output node information
Actual behaviour
[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:10009: connect: connection refused"

They may have changed the default RPC listening port for lnd. I'd check to see if that's been modified in the config and what the other tools you're using use for the port + cert.


see #2011 - let getStringUnitWidths provide the sum of width of  each individual char

This fixed the right adjustment problem in case of kerning.
to be honest I am not sure if this patch hides another problem. Maybe text() does not apply kerning.

It doesnt have to apply any kernings. Kerning is applyied by the PDF Viewer. Standard font metrics help to know how wide the text will be, so you are less "blind" when writing the pdf


Provide a method to generate a graphviz-compliant representation of the forest

This could then be added to the doc!


deploy-pages fails because cargo doc creates a .lock file with permissions set to rw-------

Summary
Here are two actions that failed with permissions erorrs:
https://github.com/vipyrsec/dragonfly-client-rs/actions/runs/5809164051/job/15749754134
https://github.com/darbiadev/fido/actions/runs/5707919235/job/15465079515
Apparently, running cargo doc creates a file, ./target/doc/.lock, with it's permissions set to rw-------. upload-pages-artifact is able to upload this just fine, but deploy-pages fails because it wants at least r-x---r-x.
Testing
We were able to fix this issue in a fork by using the example in https://github.com/actions/upload-pages-artifact#example-permissions-fix-for-linux to update the permissions, but in our final PR (https://github.com/vipyrsec/dragonfly-client-rs/pull/64) we ended up just removing the file.
Solutions
We could just add a step to delete the .lock file to our workflow and be done with it, but it's worth checking to see if we can tell cargo doc not to create the file in the first place.

Lets just delete the file for now. It's not needed for anything.


Fixed parsing of job ids with underscore

Codecov Report

Merging #210 (0333251) into main (592c4c0) will increase coverage by 0.26%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
+ Coverage   45.33%   45.59%   +0.26%
==========================================
  Files          40       40
  Lines        2539     2544       +5
==========================================
+ Hits         1151     1160       +9
+ Misses       1388     1384       -4

Impacted Files
Coverage Δ

collectors/slurm/src/sacctcaller.rs
5.35% <100.00%> (+5.35%)
:arrow_up:

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


Let us try MacOSX again

* recipe/meta.yaml:

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Looks with a correct test a package is created, there are some warnings that the package should be tested, but that could be a separate test for someone who does have access to MacOSX

Can you review @traversaro


Update README.md

Inferno is not from Bell Labs, unlike Plan 9.

Yes it was.  The first beta of Inferno was from Bell Labs.  When Bell Labs was purchased by Lucent it was still under development.  Eventually it was acquired by Vita Nuova which currently develops it.


Commit the tool used to generate the hooks docs.

In case you want it.

Thanks - I may want to tweak it a bit. Mostly to add linebreaks in the output file, but maybe also to start drilling down on the usage and parameters (links to a detail page I'm thinking).  Hadn't looked at the eclipse license before. That's interesting. [Works for me.]

Fair enough, I just dashed it off to help wrap my brain around the Hubzilla hook system.
I used hiccup because it was easy, but if you want to write a Mustache template I'd be happy to do the plumbing necessary to make it use that instead.
Or, I wouldn't be offended if you or someone discarded it and rewrote it.


How to run binaries against mysql

I downloaded binary releases from https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip and want to run it again mysql.
I used this command but it does not work:
java -Dspring.profiles.active=mysql -D"spring.datasource.url=jdbc:mysql://localhost:3306/saga?useSSL=false" -Dspring.datasource.username=Y -Dspring.datasource.password=P -cp libs/mysql-connector-java-5.1.46.jar -jar alpha-server-0.3.0-exec.jar

Error is:

APPLICATION FAILED TO START

Description:
Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
Property: driverclassname
Value: com.mysql.cj.jdbc.Driver
Origin: "driverClassName" from property source "source"
Reason: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader

Action:
Update your application's configuration

@liubao68 @WillemJiang
We can use loads external jars support multiple database types
create libs directory in the  alpha-server-0.4.0-SNAPSHOT-exec.jar directory, copy  mysql-connector-java-8.0.15.jar to the libs directory And add config -Dloader.path=./libs to the command line, e.g.
java -Dloader.path=./libs -jar alpha-server-0.4.0-SNAPSHOT-exec.jar \
--spring.datasource.platform=mysql \
--spring.datasource.dataSourceClassName=com.mysql.jdbc.Driver \
--spring.datasource.url='jdbc:mysql://<IP_ADDRESS>:3306/saga?useUnicode=true&characterEncoding=utf-8&autoReconnect=true' \
--spring.datasource.username=saga-user \
--spring.datasource.password=saga-password \
--spring.profiles.active=prd

In order to external jars support need to modify alpha-server pom.xml use ZIP layout in maven plugin configuration, e.g
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
  <layout>ZIP</layout>
</configuration>
</plugin>

@coolbeevip  Good shot.
Do you mind create a PR for it (with the pom changes and document)? I'd happy to merge it into master branch.

@coolbeevip Good shot.
Do you mind create a PR for it (with the pom changes and document)? I'd happy to merge it into master branch.

Sure,I will be happy to do it

Applied the patch #407 into master branch, so I just close this issue.


mustache template optmisations

[ ] remove hhvm related mustache template
[ ] remove pagespeed related mustache template
[ ] handle php7 variation via a template tag
[ ] try to consolidate WordPress related templates. Ideally to a single file.
[ ] Clean up and optimise as much as possible

Already WIP #1030


[TrafficManager] Update

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1920

See too https://github.com/Azure/azure-sdk-for-python/pull/1513

Codecov Report

Merging #1597 into master will decrease coverage by 0.02%.
The diff coverage is 42.1%.

@@            Coverage Diff             @@
##           master    #1597      +/-   ##
==========================================
- Coverage    54.7%   54.68%   -0.03%
==========================================
  Files        3679     3686       +7
  Lines       90929    91075     +146
==========================================
+ Hits        49745    49804      +59
- Misses      41184    41271      +87

Impacted Files
Coverage Δ

...nager/azure/mgmt/trafficmanager/models/endpoint.py
33.33% <ø> (ø)
:arrow_up:

...azure/mgmt/trafficmanager/models/monitor_config.py
36.36% <ø> (ø)
:arrow_up:

...ger/models/traffic_manager_geographic_hierarchy.py
71.42% <ø> (ø)
:arrow_up:

.../azure/mgmt/trafficmanager/models/profile_paged.py
80% <ø> (ø)
:arrow_up:

...anager/azure/mgmt/trafficmanager/models/profile.py
45.45% <ø> (ø)
:arrow_up:

...manager/azure/mgmt/trafficmanager/models/region.py
57.14% <ø> (ø)
:arrow_up:

...ure/mgmt/trafficmanager/models/tracked_resource.py
62.5% <ø> (ø)
:arrow_up:

...r/azure/mgmt/trafficmanager/operations/__init__.py
100% <100%> (ø)
:arrow_up:

...nager/azure/mgmt/trafficmanager/models/__init__.py
100% <100%> (ø)
:arrow_up:

...t/trafficmanager/operations/profiles_operations.py
12.24% <100%> (ø)
:arrow_up:

... and 17 more

Continue to review full report at Codecov.

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

Hi, are there any blockers to merge this?

@hrkulkarMsft time :)
I have no tests of the features, no feedback from the CLI on the content and no ask from them on it. Plus it's a preview API and I don't know what is the release story planned (when is GA planned? etc.)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/trafficmanager/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/trafficmanager/resource-manager/readme.md for you!!!

Nothing to rebuild, this PR is up to date

@AutorestCI rebase

@AutorestCI rebase

Rebase done and pushed to the branch

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/trafficmanager/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/trafficmanager/resource-manager/readme.md for you!!!

Build SDK finished and cleaned

Merge into a TrafficManager feature branch


time horizon based on demand_observation[0]

Issue #, if available:
*Description of changes: time horizon based on demand_observation[0]
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yahavb is this PR still expected?


Add new AsciiConstants option for Naming/AsciiIdentifiers.

Closes #7458
Implementation as suggested in https://github.com/rubocop-hq/rubocop/pull/7459#issuecomment-546032027

Thanks!


Response to HTTP OPTIONS request returns wrong "availableTransports"

Hosting on Windows 7 with HTTP.SYS, WebSockets are not supported. Nevertheless, the server indicates that it supports WebSockets. This is the response to the OPTIONS request:
{"connectionId":"6e3edfdd-015f-4c6b-afa2-b3ad968d0a66","availableTransports":["WebSockets","ServerSentEvents","LongPolling"]}
Thus the JS client cannot connect to the hub unless we explicitely specify long polling for the connection (i.e.
new signalR.HubConnection(new signalR.HttpConnection(url, { transport: signalR.TransportType.LongPolling }))).
Is there a way to configure the "availableTransports" that are returned by the server, or is this a limitation of SignalR not recognizing the missing support for WebSockets?
I use SignalR 1.0.0-alpha2-final.

When you use MapHub you can configure some options, one of which is the transports available for that route. As far as not showing WebSockets on unsupported servers that could probably be fixed.
We do a similar thing for the C# client
https://github.com/aspnet/SignalR/blob/0e70c7950b4077f82a73c563b1681abd8f22a50c/src/Microsoft.AspNetCore.Sockets.Client.Http/DefaultTransportFactory.cs#L38-L45

I don't think we can easily fix detecting if the WebSockets transport is available on the server side. The problem is that it is not only that you have to detect if you are running on Win7 but also that you are running behind IIS. My understanding is that if you run Kestrel on Win7 WebSockets transport will just work fine. I think we may need to leave to the user to disable the WebSockets transport if they are running behind IIS on Win7/Win2008R2.

We just need to expose a sever feature to detect this.

Not sure how this works... Who is going to set this feature? IISIntegration?
For completeness we also have http sys server so it would have to be handled for this case as well.

Not sure how this works... Who is going to set this feature? IISIntegration?

Sure. We just need to code against the feature and the server will do whatever is appropriate (just like it did in katana).

@BrennanConroy: Thanks for the hint regarding the possibility to specify options in the MapHub function. This helps us for now to deactivate WebSockets based on what OS the server is running on.

@davidfowl - sounds good. If we can code against the feature than yes, it becomes easy.

Filed https://github.com/aspnet/Hosting/issues/1241

Dup of #1317


Fix error from calling reshape on TArrayD that lives inside of a TH1D

While moving some code from uproot3 to uproot4 I stumbled upon this error (trying to pull the values and errors from a TH1D:
In [19]: h.values_errors()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-19-431438897d77> in <module>
----> 1 h.values_errors()

~/.pyenv/versions/3.8.2/envs/tdub/lib/python3.8/site-packages/uproot4/behaviors/TH1.py in values_errors(self)
     76         sumw2 = self.member("fSumw2", none_if_missing=True)
     77         if sumw2 is not None and len(sumw2) == self.member("fNcells"):
---> 78             sumw2 = sumw2.reshape(values.shape)
     79             positive = sumw2 > 0
     80             errors[positive] = numpy.sqrt(sumw2[positive])

AttributeError: 'Model_TArrayD' object has no attribute 'reshape'

Since Model_TArray has an __array__ method, we can just use numpy.reshape directly on the TArrayD object to fix the error.

Do you have any other plans for this or should I merge it when the tests pass?

Jim Pivarski writes:

Do you have any other plans for this or should I merge it when the tests pass?

Nothing additional from my end. Thanks!


[Flaky] Creating a Job In a Twostepadmission Queue [It] Should unsuspend a job only after all checks are cleared

What happened:
Kueue when Creating a Job In a Twostepadmission Queue [It] Should unsuspend a job only after all checks are cleared
/home/prow/go/src/sigs.k8s.io/kueue/test/e2e/e2e_test.go:215
  [FAILED] Timed out after 30.001s.
  Expected
      <[]interface {} | len:2, cap:2>: [
          <bool>true,
          <map[string]string | len:0>nil,
      ]
  to equal
      <[]interface {} | len:2, cap:2>: [
          <bool>false,
          <map[string]string | len:1>{
              "instance-type": "on-demand",
          },
      ]
  In [It] at: /home/prow/go/src/sigs.k8s.io/kueue/test/e2e/e2e_test.go:270 @ 08/30/23 19:13:45.757

How to reproduce it (as minimally and precisely as possible):
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/1031/pull-kueue-test-e2e-main-1-24/1696962388068143104
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Kueue version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Same here: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/1094/pull-kueue-test-e2e-main-1-24/1698634053189636096

Same: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/1096/pull-kueue-test-e2e-main-1-24/1698634117425401856

@achernevskii could you take a look?

Sure

#1127 should fix this particular case , however the main problem looks to be the fact the the eviction is not longer working as expected.

Can you elaborate?

however the main problem looks to be the fact the the eviction is not longer working as expected.

@trasc Could you clarify the non-expected behavior in the eviction?

Even with the "false" admission, the flow wold have been ,

Admit(before first reconcile)
Evict (during the first reconcile when the ACs are added)
Readmit

However, at least in the configured timeout, the eviction is not ending and the readmission will not take place.
If remember correctly, "Kueue when Creating a Job With Queueing Should readmit preempted job with workloadPriorityClass into a separate flavor" was flaky as well , but since we no longer test 1.24 and we no longer have access to the tests grid I'n not sure.

Even with the "false" admission, the flow wold have been ,

Admit(before first reconcile)
Evict (during the first reconcile when the ACs are added)
Readmit

However, at least in the configured timeout, the eviction is not ending and the readmission will not take place.
If remember correctly, "Kueue when Creating a Job With Queueing Should readmit preempted job with workloadPriorityClass into a separate flavor" was flaky as well , but since we no longer test 1.24 and we no longer have access to the tests grid I'n not sure.

I see. Thanks for clarifying.


Null Checking

Is your feature request related to a problem? Please describe.
The generated mappers currently don't check for null references, which may cause exceptions if not every property is initialized. This might also be the case for nested mappings. Consider:
record A(IEnumerable<B> list);
record B(string value);

record C(IEnumerable<D> list);
record D(string value);

List<B> bs = new(1) { new(null) };
A a = new(bs);

C c = a.MapTo<C>();

This will case an exception cause B's string value is null, but will also cause an exception already if we initialized A like this: A a = new(null);
Additionally, using nullable reference types seem to cause issues generating (couldn't get it to work). (e.g. record E(string? value);
Describe the solution you'd like
Adding a simple null check before calling a nested .Map<T>
e.g. the generated code would be something like this for C c = a.MapTo<C>();
Current:
C MapTo<C>(this A source) => new C(source.list.MapTo<D>());

To be:
C MapTo<C>(this A source) => new C(source.list?.MapTo<D>());

(Notice the additional question mark).
If the source is nullable, and the destination is not, ?? default(Destination) should probably be added too.
This will be better for perfo than the other solution, as you'll only be doing null checks when absolutely necessary. Otherwise the user of the lib might also end up doing null checks twice (once themselves, once in the generated code) in the originally mentioned way.
This should be fairly easy to do by editing ConfiguredMapsSourceBuilder L157 to:
                _builder.Append($"source.{propertyMap.SourceName}{(propertyMap.IsSourceNullable ? "?" : "")}.Map<{propertyMap.DestinationType}>()");

                if (propertyMap.IsSourceNullable && !propertyMap.IsDestinationNullable)
                {
                    _builder.Append($" ?? default({propertyMap.DestinationType})");
                }

and L176 to
                _builder.Append($"{propertyMap.DestinationName} = source.{propertyMap.SourceName}{(propertyMap.IsSourceNullable ? "?" : "")}.Map<{propertyMap.DestinationType}>()");

                if (propertyMap.IsSourceNullable && !propertyMap.IsDestinationNullable)
                {
                    _builder.Append($" ?? default({propertyMap.DestinationType})");
                }

Describe alternatives you've considered
Since the mappers are nested, the easiest solution seems to be to include a null check in the mapping method if the value is nullable and return default if it is.
The easiest place to do this seems to be in ConfiguredMapsSourceBuilder :
    private void ConstructorInvocation(ConfiguredMap map)
    {
        _builder.Append("\r\n        => ");

        if (map.IsSourceNullable)
        {
            _builder.Append($"ReferenceEquals(source, null) ? default({map.Destination}) : ");
        }

        _builder.Append($"new {map.Destination}");

Additional context
If there's another way to keep from crashing without too much overhead, I'd also be interested.

@StevenThuriot Thank for your request and your time spent investigation.
Unfortunately, I cannot fully accept your proposal, because it contradicts the concept of my mapper. I was categorically against the fact that the mapper swallowed errors without telling the user anything (like AutoMapper). Therefore, I do not check for null anywhere in the generated methods for mapping.
I understand that this can cause an exception, but I think that swallowing an exception can become a much bigger problem and lead to a bug that is hard to find.
For nullable reference types, the situation is different because the user explicitly states that they expect to see a null value in the property. Therefore, I will add a check for null when calling the Map function for nullable properties (If both, source and destination properties are nullable annotated).
For other cases with nullable reference types, the mapper provides a diagnostic (NGM022 Possible null reference) that should tell the user about the problem.
I'm sorry you didn't manage to use the mapper with nullable reference types in your case, it was probably a bug. I would be grateful if you could provide more details and an example.

issue #116 (about null check for nullable annotated properties) was planned for next release

That's very fair and I can understand that. Definitely not a fan of swallowing the exceptions, though I'm not sure if I 100% agree that checking nulls in this case can be counted as such.
In my case, the contracts are third party and thus out of my control. Sadly they do not use nullable reference types yet, making it hard to use this for mapping without manually checking and initializing everything myself first to avoid null references. Doing all of these checks is almost as much work as just writing the mapping myself without the additional memory pressure of constantly initializing fields that can be null. While a very cool feature, I feel like the adoption rate is still quite low 😞 Especially in projects that existed before the feature came out.  A second, null-checking Map method might already be useful to have for these scenarios.
As for the example:
This did not generate any mappings for me due to NGM022	Possible null reference exception when mapping 'A.list' of type 'System.Collections.Generic.IEnumerable<B>?' to 'D.list' of type 'System.Collections.Generic.IEnumerable<E>?':
(though it seems like your next release will fix this)
A a = new(new List<B>(1) { new(null) });

D d = a.Map<D>();

public record A(IEnumerable<B>? list);
public record B(C? value);
public record C(string value);

public record D(IEnumerable<E>? list);
public record E(F? value);
public record F(string value);

Changing it to this:
A a = new(new List<B>(1) { new(null) });

D d = a.Map<D>();

public record A(IEnumerable<B> list);
public record B(C? value);
public record C(string value);

public record D(IEnumerable<E> list);
public record E(F? value);
public record F(string value);

Gave an NGM022	Possible null reference exception when mapping 'B.value' of type 'C?' to 'E.value' of type 'F?'. So I did have a map from A to B but not from B to E so it still did not compile. For obvious reasons, it did work if I removed all ? but then I ended up with a nullref since C was null.
Additionally, it also gives an NGM008	Mapping function for mapping 'B' to 'E' was not found, but I'm assuming it's a direct result of the NGM022 one.

I myself got into a similar situation. My company uses the generation of http clients based on the raml contract and, of course, they do not use custom reference types, so I have to write some mappings by hand


[NEW ICON] ChakraUI

Skill Name
ChakraUI
Why?
It's popular for frontend development in React
Reference Image
Visit link, select download, select svg, set custom size: https://icons8.com/icon/r9QJ0VFFrn7T/chakra-ui

I'd like to work on this


Fixed #28574 -- Add Queryset.explain() method

Ticket
>> qs = Tag.objects.filter(name='test').all()
>> print(qs.explain())
Seq Scan on queries_tag  (cost=0.00..23.00 rows=5 width=50)
  Filter: ((name)::text = 'test'::text)
>> print(qs.explain(verbose=True))
Seq Scan on public.queries_tag  (cost=0.00..23.00 rows=5 width=50) (actual time=0.054..0.054 rows=0 loops=1)
  Output: id, name, parent_id, category_id
  Filter: ((queries_tag.name)::text = 'test'::text)
  Rows Removed by Filter: 5
Planning time: 0.382 ms
Execution time: 0.189 ms
>> print(qs.explain(verbose=True, format='json'))
[{'Execution Time': 0.177, 'Triggers': [], 'Planning Time': 0.419, 'Plan': {'Actual Loops': 1, 'Filter': "((queries_tag.name)::text = 'test'::text)", 'Node Type': 'Seq Scan', 'Rows Removed by Filter': 5, 'Alias': 'queries_tag', 'Output': ['id', 'name', 'parent_id', 'category_id'], 'Actual Startup Time': 0.067, 'Actual Total Time': 0.067, 'Relation Name': 'queries_tag', 'Parallel Aware': False, 'Plan Rows': 5, 'Plan Width': 50, 'Actual Rows': 0, 'Total Cost': 23.0, 'Schema': 'public', 'Startup Cost': 0.0}}]

I need to add docs, but I hope the general implementation is OK with regards to modifying the operations and features db-backend files, and their interaction with the compiler/queryset/query etc.

Thanks for the review @atombrella, I've made the requested changes 👍
I wasn't sure about adding TEXT to the list of supported formats on postgres, as mysql doesn't have some kind of default format you can specify in the same was as postgres. But I guess it's fine for postgres.

Thank you for the review @atombrella and @pope1ni. I've made the changes you suggested.
I've made qs.explain() accept arbitrary keyword arguments that are converted into the correct syntax. As @pope1ni pointed out, there are a lot of rules regarding mutually exclusive flags and flags that work on certain versions. I think adding these rules in the code is going to be fragile and hard to maintain, so I sidestepped it - the explain_query_prefix function takes any keyword arguments and it's up to the caller to know what to pass in.
What do you think?

@orf - just read your comment. It may be worth having a list of options available in all versions of each database just to validate that the keys in kwargs are at least somewhat sane?

Thanks for the quick review @pope1ni. I'm really not a fan, I think the user will know best which flags are available and I don't want to be too restrictive here. Amazon has a couple of databases that supports the mysql and postgres protocol, but may have different/custom options available for EXPLAIN. There is also mariadb and citrus which are in a similar vein.
Since this is primarily a developer/debugging feature I'd argue it's better to be lenient with what we accept than too restrictive.

Thanks again for the review @pope1ni, I've made the changes you've requested. I'm still not happy with the mysql output though, are you sure it wouldn't be useful to change the output to be somewhat similar to the outer databases, i.e something similar to this
           id: 1
  select_type: SIMPLE
        table: Country
         type: const
possible_keys: PRIMARY
          key: PRIMARY
      key_len: 3
          ref: const
         rows: 1
     filtered: 100.00
        Extra:

Currently the output would be:
 1 SIMPLE Country const PRIMARY PRIMARY 3 const 1 100.00
It would require some mysql specific code in the SQLCompiler.explain method, which might be a little too specific for that class, but IMO it would make it a lot more useful. What do you think?

buildbot, test on oracle.

And so of course the Oracle tests fail...  (Grrr.)

where would be the fun if it didn't? :/
I'll take a look tonight, but the error cx_Oracle.DatabaseError: ORA-01036: illegal variable name/number according to this stack overflow post might not be easy to solve, apparently you can't use bind variables??
I'm tempted to just raise a NotSupportedError() if I can't fix it?

So I read a little more into how Oracle does things with EXPLAIN PLAN.
I found out the following issues:

We need to change explain_prefix to EXPLAIN PLAN FOR.
AFAICT Oracle doesn't return the output directly - it goes into PLAN_TABLE.
A PLAN_TABLE is automatically created per user, but we won't know if it has been renamed.
Displaying the output is non-trivial - there are (provided) scripts to do so.

To start you can change the prefix and see whether that get things moving further. Beyond that, I'm not sure whether we can auto-exec another query to fetch the output or whether we just have to somehow return a message/warning to explain how to get the output...

Damn, that seems quite convoluted. Thanks for doing some research.
Perhaps we can use SET STATEMENT_ID with a GUID, then execute SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY(NULL, [GUID]));. Hopefully this comes back in postgres-style rows of strings that we can just join and return, but I couldn't see anything explicitly stating that with my brief look.

I think I've managed to add support for explaining Oracle queries, but it is slightly hacky. Rather than significantly rework the implementation I opted to check if the vendor is oracle in the explain_query method, and if so add in a random UUID to the explain_options dict to give the plan a unique identifier.
After we generate a query plan, it just returns the query you would need to execute to retrieve the plan. I'm not sure if we can execute this query inside the explain_query method itself (perhaps by using connection.cursor?). I've also got a test that actually does execute this statement to ensure it works, so lets hope it does.

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.

So unfortunately it's not going to be possible to add support for Oracle to this feature. I've spent a while on it already and got something nearly working, but ran into a big roadblocker: You cannot use traditional SQL parameters with EXPLAIN PLAN ... in Oracle. For example, this fails:
cursor.execute('EXPLAIN PLAN SELECT * FROM something WHERE id = %s', [1])
You should instead use an oracle specific (I think?) syntax:
cursor.execute('EXPLAIN PLAN SELECT * FROM something WHERE id = :id')
So to support explaining queries with any kind of parameters we'd have to replace the parameters with :NAME, which I think is pretty impossible.
So, I've just disabled explaining queries on Oracle. My work on adding support still lives at https://github.com/orf/django/tree/28574-queryset-explain-oracle if any poor soul needs it in the future. I also defaulted the supports_explaining_query_execution feature to False, as I think third party backend support may be spotty.

buildbot, test on oracle.

Hey @carltongibson, thanks! Regarding using a property, I think that's a good idea. Reduces a bit of duplication.

buildbot, test on oracle.

Thanks for the review, I've made the changes requested. The docs are failing to build but it appears to be an issue in the 'writing-documentation' file of all places, which I've not touched.

buildbot, test on oracle.

buildbot, test on oracle.

I found that something like this will silence the warnings: warnings.filterwarnings('ignore', '\(1003, *', category=MySQLdb.Warning). Not sure if we want to add that in runtests.py or somewhere else. category=MySQLdb.Warning could also be omitted to avoid a try/except ImportError for if MySQL isn't installed.

buildbot, test on oracle.

Thanks @timgraham. I've added the warning filter to runtests.py, only if MySQLdb is installed. I figured that the warning would only be useful in MySQL and we wouldn't want to inadvertently filter out other warnings.

Thanks everyone who helped with this, and thanks for the reviewing @timgraham  👍


Disable rubocop in version index README

Due to variability in the product name length, it's difficult to place
line breaks appropriately in this file.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1431   +/-   ##
=========================================
  Coverage     86.37%   86.37%
  Complexity     4066     4066
=========================================
  Files           392      392
  Lines         16501    16501
  Branches       1815     1815
=========================================
  Hits          14252    14252
  Misses         1779     1779
  Partials        470      470

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 8e30669...9ea6cc9. Read the comment docs.

@landrito I would love to see that. In other languages we use a formatter; it acutally looks like rubocop has this capability; hopefully we can use that or something similar. I filed https://github.com/googleapis/artman/issues/246.


Is it possible to set screen resolution with ghostdriver?

I'm trying to set the screen resolution but have not been successful.  Can you provide an example of how to do this?  Here is what I thought should work, but it returns 1024x768. I also tried viewportSize with no success.
  before(:all) do
    @selenium = Selenium::WebDriver.for(:remote, url: 'http://localhost:8911')
    target_size = Selenium::WebDriver::Dimension.new(1280, 1024)
    @selenium.manage.window.size = target_size
  end

  after(:all) do
    @selenium.quit
  end

  it 'Should return display resolution of 1280x1024' do
    @selenium.get 'http://www.whatismyscreenresolution.com/'
    element = @selenium.find_element(:id, 'resolutionNumber')
    expect(element.text).to eq('1280 x 1024')
  end

That website, http://www.whatismyscreenresolution.com/, is not grabbing the window size correctly for some reason. Your code is in fact correct, if you take a screenshot you'll see that the resolution of the screenshot matches the correct window dimensions.
require 'selenium-webdriver'
require 'rspec/expectations'
include RSpec::Matchers

def setup
  @driver = Selenium::WebDriver.for :remote, url: 'http://localhost:8001'
  target_size = Selenium::WebDriver::Dimension.new(1280, 1024)
  @driver.manage.window.size = target_size
end

def teardown
  @driver.quit
end

def run
  setup
  yield
  teardown
end

run do
  @driver.get 'http://www.whatismyscreenresolution.com/'
  @driver.save_screenshot('screenshot.png')
  file_info = `file screenshot.png`.chomp
  expect(file_info).to eq('screenshot.png: PNG image data, 1280 x 1024, 8-bit/color RGBA, non-interlaced')
end

Thanks for the feedback, but that didn't work (Ubuntu 14.04):
     expected: "screenshot.png: PNG image data, 1280 x 1024, 8-bit/color RGBA, non-interlaced"
            got: "screenshot.png: PNG image data, 1280 x 58875, 8-bit/color RGBA, non-interlaced"

That was the result if I used http://www.screenresolution.org/ instead of http://www.whatismyscreenresolution.com/.  Using http://google.com work properly as well.  Thanks again for the help.

FYI, that code is used here: https://github.com/dhoer/chef-selenium/blob/master/test/integration/selenium_test/rspec/phantomjs_spec.rb


Vertical scroll outputs new rendering on vertical scroll

Possibly related to #3 , if subsequent output scrolls the terminal past the vertical limit then a duplicate copy of the progress bar is rendered for each "full" vertical scroll.

Sorry, this doesn't happen if uiprogress.Stop() is called explicitly.


Made fixes related to framework

Issue fixed : #23
Changes

Migrated all class to className as compatible with React
fixed typos
removed unused variables
fixed style names

flex-direction --> flexDirection
align-items --> alignItems

Good Work! LGTM!


Swift 3 compatibility

Hey, I'd love to see this lib available in Swift 3 so I can implement it in my project.
Thanks 😄

@lfarah Try pod 'Sensitive', '>= 3.0'


[CI][C++] Fail to install libboost-headers with mamba on AppVeyor

Describe the bug, including details regarding any error messages, version, and platform.
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49951613#L647
error    libmamba Failed to download package from https://conda.anaconda.org/conda-forge/libboost-headers-1.85.0-h57928b3_1.conda (status 404)
Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/libboost-headers-1.85.0-h57928b3_1.conda] 580 bytes
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
    Traceback (most recent call last):
      File "C:\Miniconda38-x64\lib\site-packages\conda\exception_handler.py", line 18, in __call__
        return func(*args, **kwargs)
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 959, in exception_converter
        raise e
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 952, in exception_converter
        exit_code = _wrapped_main(*args, **kwargs)
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 898, in _wrapped_main
        result = do_call(parsed_args, p)
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 767, in do_call
        exit_code = create(args, parser)
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 602, in create
        return install(args, parser, "create")
      File "C:\Miniconda38-x64\lib\site-packages\mamba\mamba.py", line 558, in install
        transaction.fetch_extract_packages()
    RuntimeError: Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/libboost-headers-1.85.0-h57928b3_1.conda] 580 bytes

Component(s)
C++, Continuous Integration

These sort of download errors are hard to predict or reproduce (absent a big infrastructure outage). A simple restart is all that should be needed.
To make sure, I just installed that exact package as a test, and it worked without issue (to rule out even the very rare cases of a package being not available in the CDN).
TL;DR: just restart such failures

Hmm... These download errors persistent in our CI: https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/history
For example:
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49952303#L650
error    libmamba Failed to download package from https://conda.anaconda.org/conda-forge/libexpat-2.6.2-h63175ca_0.conda (status 404)
Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/libexpat-2.6.2-h63175ca_0.conda] 571 bytes

https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49952259#L649
error    libmamba Failed to download package from https://conda.anaconda.org/conda-forge/llvm-meta-5.0.0-0.tar.bz2 (status 404)
Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/llvm-meta-5.0.0-0.tar.bz2] 565 bytes

The URLs used by libmamba are 404 on my local environment:
$ LANG=C wget https://conda.anaconda.org/conda-forge/libboost-headers-1.85.0-h57928b3_1.conda
--2024-06-05 06:15:17--  https://conda.anaconda.org/conda-forge/libboost-headers-1.85.0-h57928b3_1.conda
Resolving conda.anaconda.org (conda.anaconda.org)... 2606:4700::6813:9125, 2606:4700::6813:9025, <IP_ADDRESS>, ...
Connecting to conda.anaconda.org (conda.anaconda.org)|2606:4700::6813:9125|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-05 06:15:18 ERROR 404: Not Found.
$ LANG=C wget https://conda.anaconda.org/conda-forge/libexpat-2.6.2-h63175ca_0.conda
--2024-06-05 06:15:34--  https://conda.anaconda.org/conda-forge/libexpat-2.6.2-h63175ca_0.conda
Resolving conda.anaconda.org (conda.anaconda.org)... 2606:4700::6813:9025, 2606:4700::6813:9125, <IP_ADDRESS>, ...
Connecting to conda.anaconda.org (conda.anaconda.org)|2606:4700::6813:9025|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-05 06:15:35 ERROR 404: Not Found.
$ LANG=C wget https://conda.anaconda.org/conda-forge/llvm-meta-5.0.0-0.tar.bz2
--2024-06-05 06:15:47--  https://conda.anaconda.org/conda-forge/llvm-meta-5.0.0-0.tar.bz2
Resolving conda.anaconda.org (conda.anaconda.org)... 2606:4700::6813:9125, 2606:4700::6813:9025, <IP_ADDRESS>, ...
Connecting to conda.anaconda.org (conda.anaconda.org)|2606:4700::6813:9125|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-05 06:15:47 ERROR 404: Not Found.

In general, is URL pattern (https://conda.anaconda.org/conda-forge/${PACKAGE}-${PACKAGE_VERSION}.{conda,tar.bz2}) used by mamba correct?

In general, is URL pattern (https://conda.anaconda.org/conda-forge/${PACKAGE}-${PACKAGE_VERSION}.{conda,tar.bz2}) used by mamba correct?

I usually don't dig into this manually, so I'm not aware how it's resolved behind the scenes. Looking at the files & where they link, I see
https://anaconda.org/conda-forge/libboost-headers/1.85.0/download/win-64/libboost-headers-1.85.0-h57928b3_1.conda

however, that still does some link forwarding (i.e. download with curl -L is correct, but incorrect without -L). I also don't see a Location: under curl -ILSs <url>, so it's not obvious to me where it points to.
In general though, don't mess with manual URLs - conda should get the right information from the channeldata. I don't know if your appveyor instance just happens to have a very unstable network? Do you see these failures on any other CI provider?
I haven't ever seen these errors being repeatable. If that turns out to be the case, please raise an issue under https://github.com/conda/infrastructure/

I haven't seen these errors in other CI jobs but they use cached Docker image.
I removed the cache and restarted a CI job that uses mamba:
https://github.com/apache/arrow/actions/runs/9375721796/job/25827082290#step:6:866
These errors aren't happen...
This may be related to Windows or AppVeyor. I'll debug on AppVeyor to collect information to report before I raise an issue somewhere.

https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49957015#L368
Using conda instead of mamba doesn't cause this problem. mamba related problem...?

mamba clean --all -y before mamba create ... solves this: https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49963459
AppVeyor may have invalid cache for mamba. Should we clean caches explicitly? Or should invalid cache be cleaned automatically?

AppVeyor may have invalid cache for mamba. Should we clean caches explicitly? Or should invalid cache be cleaned automatically?

Cleaning the cache sounds like a good idea IMO. Downloading fresh channel metadata is a good idea in any case, and especially if there's a stale cache in the image somehow.

OK. Let's clean caches explicitly.

Issue resolved by pull request 41977
https://github.com/apache/arrow/pull/41977


docs: add migration guide

added docs/migration_guide.md and linked to it from README.md

Good catches @bndw.  All fixed.


ChefSpec?

poise-service looks great.  I'd like to write some chefspec unit tests for recipes that incorporate it.  Are there custom matchers somewhere I can/should use?

They are created automatically by Poise for all actions :-) Just use the standard format like enable_poise_service('name').with(command: 'whatever') and it should JFW.

Delightful!  Thank you.

Hm.  I think I'm still missing something that is probably obvious (apologies in advance: I'm new to chef, but not to ruby.)
Imitating this line, I'm trying:
it { is_expected.to enable_poise_service('the-service') }

but I receive
1) cookbook::recipe via solo creates the service
   Failure/Error: is_expected.to enable_poise_service('the-service')
   NoMethodError:
     undefined method `enable_poise_service' for #<RSpec::ExampleGroups::CookbookRecipe::ViaSolo:0x007f98a1667628>
   # ./spec/recipe_spec.rb:31:in `block (3 levels) in <top (required)>'

I assume I'm just missing something from spec_helper.rb or similar.  Following your example, however, only reveals that the two named files appear absent from my load path.
My Berksfile includes cookbook 'poise-service', '~> 1.0.2', however my Gemfile does not directly mention poise in any way.
Any tips for the poor noob?

I was obliged to require 'poise_service/resources' in spec_helper after requiring chefspec to get the enable_poise_service matcher to appear.

Ah!  I forgot the depends 'poise-service' in metadata.rb.  With that the other hacks are unnecessary.

That would do it :)


Add silkscreen for all passive-fn for example [0402,0603...] , and add plus sign prop and silkscreen

reverting this merge because it broke the repo publishing, @anas-sarkez make sure you are completing passing so you don't break the repo


Setting multiple folders for downloads, documents, etc? And adding other pinned folders on the left side?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
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. Ex: What device type/UI layout and app version?

You should already be able to pin folders to the sidebar, can you confirm you are running the latest version of Files UWP?

I just downloaded it from the Microsoft Store, maybe so it's not the latest one? In that case, I'm sorry

I noticed I'm on 0.5.0, which doesn't seem to be the latest. How do I subscribe to the preview in the microsoft store?

How are you trying to add folders to the navigation bar? Through pulling or through right-klicking on the folder you want to add?

@piereligio There should be a newer version in the store, can you try updating and see if you have the option? If not then the feature should be rolling out with the next update.

Store version for me (Canada) is 0.5.0

@piereligio There should be a newer version in the store, can you try updating and see if you have the option? If not then the feature should be rolling out with the next update.

Ok this is strange. In the about page it's written 0.5.0, but the store says 0.6.4 (so I believe I've 0.6.4). How should I add the folders to sidebar?

There is a bug in that version that he settings page didn't show the correct version. If you navigate to the parent directory of the folder you want to pin then you should be able to right click on a folder and press pin to sidebar.

Yes you're right, sorry

Is there anything else or can I close this issue?

You can close it thank you


Polish v5 messages

@danielzurawski could you add them? They are in the branch v5 at the moment.

Done. Pushed straight to v5 https://github.com/epoberezkin/ajv-i18n/commit/b94aba913002251f9d47c9548723913af025e67e

Thanks!


Version 0.14.0

Hi @kybishop! I know you're looking to move on from this project but I wanted to make sure you got a chance to sign off on an actual release.

Hi guys, is this able to be released?

all fine with me. No need to check in with me @luketheobscure, but fwiw I approved the PR 👍

Just gently bumping this 0.14 release. Am available to help if needed, but I think it just needs to be merged and then released to NPM. Thanks!

Do we know when the merge/release will happen?

Just waiting to hear back from @luketheobscure or @kybishop, though in the interim you can target master from your package.json.
I'd be happy to take on maintainer status on this project, or possibly a better option would be to move it to adopted-ember-addons.

@kybishop I'm not sure if you saw, but @richard-viney has offered to take on maintainer status. I'm afraid my time has been even more constrained than usual over the last few months, with no sign of improvement any time soon.

@richard-viney are you on npm? I can't seem to add you as a collaborator there.

@kybishop I only had a work account previously, but have just created a new personal account and enabled 2FA on it, so you should be able to find me there now. Username is richard-viney. Thanks for the maintainer invite!

@richard-viney np! You know have publish rights and are welcome to release and merge things as you feel is appropriate.
If possible, please use github_changelog_generator so people know what changes are coming out as things are released.

Sure thing. have just released v0.14.0


Django1.3 compatibility

These changes make the test runner compatible with Django 1.3, removing the deprecation warnings.
I didn't understood everything that you were doing in test_runner.py, so please take a close look at the changes.

Awesome, thanks for the contribution.


Add support for docker (Easy image generation & push)

No one reviewed this PR?
Thank you @JnMik , I'm looking for something like what you did. :+1:

Cool man :)


Update Kali Installation instructions

PR Summary
Updated on powershell installation on kali on following.

libicu55 couldn't install with apt-get. So, provided url to download to install with dpkg.
updated libssl version is given url.

PR Checklist
Note: Please mark anything not applicable to this PR NA.

[x] PR has a meaningful title

[x] Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] User facing Documentation needed

[ ] Issue filed - Issue link:

[x] Change is not breaking
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

[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: to the beginning of the title and remove the prefix when the PR is ready.

Please remove WIP from the title when the PR is read for review.

@yeyintminthuhtut Could you please continue?

This PR should be submitted to the PowerShell-Docs Repo


Add Swift Package Manager support

Hi @ramiallam, feel free to send PR.

Hi @ramiallam, feel free to send PR.

I tried making a fork in an effort to make a PR to support Swift Package Manager, but Swift Package Manager apparently does not support multiple languages in one package, and there is at least one Objective-C file in this package. Please fix the code so it can work with SPM, it is much easier to use.

This is exactly why it wasn’t added initially. The objective-c file is used for a reason as the most convenient way to implement multicast delegate. Probably it can be split to a different package.
Vladislav Grigoryev

On 21 Jul 2021, at 6:09 AM, Grant Jarvis @.***> wrote:

Hi @ramiallam, feel free to send PR.
I tried making a fork in an effort to make a PR to support Swift Package Manager, but Swift Package Manager apparently does not support multiple languages in one package, and there is at least one Objective-C file in this package. Please fix the code so it can work with SPM, it is much easier to use.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I moved the multicast delegate to a separate repository and added it as a dependency.
SPM support is added.
I hope I haven't missed something.
Fell free to test and open an issue if something is broken.

Hi @v-grigoriev ! Thank you for working on this. Unfortunately when I try to add this as a swift package it does not work. In Xcode 13.0 I go to file > Add packages and then I paste in the URL of this repository https://github.com/gorastudio/SCNRecorder and it tells me "The remote repository could not be accessed".


Need support for npm workspaces

There are two related features that need to be bridged in VSCode that would greatly improve the user experience.

VSCode `folders' AKA "multi-root-workspaces" need to be able to be loaded from package.json workspaces.

See: https://code.visualstudio.com/docs/editor/multi-root-workspaces
Both npm and VSCode have the concept for workspaces which are both used to manage to have multiple projects in a single repository. eg. the classic mono-repo use case.
https://docs.npmjs.com/cli/v7/using-npm/workspaces

Git worktrees.

This comment by @halfdan summarises the requirement perfectly. https://github.com/microsoft/vscode/issues/68038#issuecomment-1040103759
Being able to navigate "vertically" through workspaces and then "horizontally" across git worktrees would be >chefs's kiss<

Adding @bpasero for 1) as 2) is already being tracked as feature request in the linked issue.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Add support for customizing the ConformInfo window

As the title says, I can't modify the window opts b/c it's inside health.lua and nothing is exposed.

It's not intended to be modifiable. It's just a debugging UI, not a core part of the plugin. You shouldn't even be seeing it during a normal editing session.


SELinux error (bash tries to open libc.so.6)

System:
Fedora 36 with latest updates as of 2022-11-22
SELinux Enforcing
Command and results (launched from ZSH):
┌─[mhavel@mhavel-rh-ntb] - [~/sw-repos/redhat/tmt2/plans] - [2022-11-23 11:50:38]
└─[130] <> sudo setenforce 1
[sudo] password for mhavel:
┌─[mhavel@mhavel-rh-ntb] - [~/sw-repos/redhat/tmt2/plans] - [2022-11-23 11:50:43]
└─[0] <> tmt run --all provision --how container
/var/tmp/tmt/run-060

/plans/plan
    discover
        how: fmf
        directory: /home/mhavel/sw-repos/redhat/tmt2
        summary: 3 tests selected
    provision
        how: container
        image: fedora
    finish
        container: stopped
        container: removed
        summary: 0 tasks completed

stderr (1/1 lines)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: can only create exec sessions on running containers: container state improper

Failed to run command: podman exec tmt-060-uiNtcghb bash -c 'export TMT_PLAN_DATA=/var/tmp/tmt/run-060/plans/plan/data; uname -r' Reason: Command returned '255'.

Tried analyzing this using audit2allow -w -a, here is the result:
type=AVC msg=audit(1669200653.726:858): avc:  denied  { read } for  pid=46228 comm="bash" path="/usr/lib64/libc.so.6" dev="dm-1" ino=14790043 scontext=system_u:system_r:container_t:s0:c70,c285 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
        Was caused by:
                Missing type enforcement (TE) allow rule.

                You can use audit2allow to generate a loadable module to allow this access.

I have also tried restorecon on the file, didn't help.

@MarekHavel can you still reproduce this?

Hello, just tried again with up-to-date Fedora 37, still happens.

Unfortunately I'm not able to reproduce this in fedora-37 VM.
I've tried with ($ podman images: )
registry.fedoraproject.org/fedora  latest      19c0ae4dd222
$ rpm -q podman container-selinux selinux-policy
podman-4.3.1-1.fc37.x86_64
container-selinux-2.190.0-1.fc37.noarch
selinux-policy-37.12-2.fc37.noarch


GSOC list of ideas

We have a couple of ideas which we would like to implement with the help of GSOC students in 2018.
Adding a JWT security model in order to provide limited access to an XYZ application.
Being able to run the framework in a serverless architecture.
Being able to change application settings through a web interface.
Create offline mode for data capture.

Well that didn't happen. Better luck in 2019.


Inappropriate photo filter

In case the filter (classifier) flags the photo as possibly inappropriate, web page asks "Are you sure you really want to display that??" before display.
When asking the question, a tiny-pixelized-thumbnail may be shown, to give a hint.

Cloud Vision API works pretty well.
However, it incurs ~500ms to 1000ms delay, which we wouldn't want to pay at /dispatch time so we'd have to figure out a different, more optimized workflow in which dirt detection happens asap server-side, even before QR-code has been scanned.

The thumbnail should be enough data to properly detect inappropriateness.
We should send the thumbnail early, before the QR scan.

To preserve the spirit of E2EE, the inappropriateness detection would need to be fully client-side.


Using Piral with Curiefense - https://github.com/curiefense/curiefense/discussions/424

Is it possible to use Piral with Curiefense to secure micro frontends?
SOURCE: https://github.com/curiefense/curiefense/discussions/424

Yes, why not. In general a frontend will not require so much guarding. The backend (and the transport layer) is what should be guarded. Piral allows you to use all measures that are possible there (e.g., like SRI for delivering the pilets).
Hope that helps!


Introduce i18n system for the Moneropedia

The Moneropedia is currently in the same situation the user guides were before the refactor (see #1270). All Moneropedia entries should be easy to update and translate. Also, new entries should be added painlessly. This is not the case at the moment.
The basic idea is to use po4a as we do for the user guides to translate the content of each Moneropedia entry.
The problem is that the Moneropedia is more challenging to refactor than the user guides, because we also have to consider the ruby plugin that parses tooltip descriptions (which shows up when hovering on a word preceeded with @ ) and an array of terms.
We could keep most of the original structure and use a combination of po4a + a script parsing only what's necessary to translate (so leaving out the front matter of each Moneropedia entry), but that would increase complexity quite a lot, since we would need to add an additional script to strip entries from their front matter, and then a "bridge" file containing the stripped entries to translate. Then po4a would work on this bridge file, feeding Weblate with strings to translate.
That's not idea, IMO the best solution is to do basically what we did in #1270 and get rid of the moneropedia.rb plugin. The hyperlinks to the Moneropedia entries that we have spreead across the website are useful. I would keep them but instead of triggering them with @ we can add them manually with html + CSS. This will result in slightly more complexity for translators, but if they are correctly instructed to leave those strings alone, shouldn't be an issue.
If there are no better suggestions, i'll work on this. Note that because of the ruby script, it might be not feasible to make multiple PRs with the changes like i did with the user guides, but i might have to do a single big PR with most of the needed changes.

Seems a good idea to me. This way it will be much easier to 'track the status of a translated file and to reliably update the entries', as you mentioned in #1270. Plus Weblate seems an easier solution for onboarding new translators.

After some testing, i realized that refactoring @ links to work with only css + html is not really feasible. yaml files don't support liquid formatting, so we would need to split a paragraph every time a word needs to be linked to a Moneropedia. Not really convenient.
What we can do is to keep the structure mostly as it is. The content of the front matter would be parsed by po4a, which will display it like this (will be then parsed by Weblate):
"terms: [\"account\", \"accounts\", \"wallet\", \"wallets\"]\n"
"summary: \"similar in function to a bank account, contains all of your sent "
"and received transactions\"\n"

There is some complexity added by the \ before ". People not familiar with escaping characters will be confused at first, but i think won't be a problem if we add clear instructions on these strings on Weblate (we already add instructions to multiple strings).
Translators would be instructed to add translated terms after the last English one (in this case "wallets") and to translate the content of summary:.

Just PRd #1876, which makes the last Moneropedia entry (wallet.md) trnaslatable on Weblate. I also PRd the adjustements to the README with #1877.
After all the PRs listed above will be merged, we will only need to add all the guides on Weblate, then this issue will be considered resolved.

Almost all PRs have been merged (only one missing). We can start the process of adding the moneropedia entries on weblate. Now that there is a structure for internationalization, Moneropedia entries can be edited safely.

Almost all PRs have been merged (only one missing). We can start the process of adding the moneropedia entries on weblate. Now that there is a structure for internationalization, Moneropedia entries can be edited safely.

I'd like to collaborate on adding them to Weblate ErCiccione. Please let me know when you have time. We can coordinate on matrix as always.

Moneropedia added to Weblate: https://translate.getmonero.org/projects/getmonero-moneropedia/

This is completed.


Add alternatebiddercodes in Prebid request extension

w.r.t https://github.com/prebid/prebid-server/issues/2174#issuecomment-1190736031
This changes would make alternatebiddercodes from PBS config formally part of Prebid ORTB extensions.

Incoming ORTB would contain:

ext.prebid.alternatebiddercodes.enabled: true/false
ext.prebid.alternatebiddercodes.bidders.BIDDER.enabled: true/false
ext.prebid.alternatebiddercodes.bidders.BIDDER.allowedbiddercodes: [array, of, strings]

This would override the account-level config
If the request doesn't specify these values, then PBS-core would merge the account config into these values
Before sending to each adapter, PBS-core would need to remove entries that don't belong to that bidder. i.e. they would only receive ext.prebid.alternatebiddercodes.adapters.ME
Everything else is up to the adapter. They can ignore or use at will.

Ex. s2s config on page and incoming PBS request
pbjs.setConfig({
    s2sConfig: {
        extPrebid: {
            "alternatebiddercodes": {
                "enabled": true,
                "bidders": {
                    "pubmatic": {
                        "enabled": true,
                        "allowedbiddercodes": [
                            "groupm"
                        ]
                    }
                }
            }
        }
    }
});

{
   ...
   "ext": {
       "prebid": {
           "alternatebiddercodes": {
                "enabled": true,
                "bidders": {
                    "pubmatic": {
                        "enabled": true,
                        "allowedbiddercodes": [
                            "groupm"
                        ]
                    }
                }
            }
       }
   }
}

More details at https://github.com/prebid/prebid-server/issues/2174

resolved conflict and raised pr with vanilla base https://github.com/prebid/prebid-server/pull/2339


Unescaped characters in request not handled correctly

A mangled URL with unescaped characters causes uncaught errors in the http layer.
TypeError: Request path contains unescaped characters.

This is actually via the Socket.io layer. The receiving code needs to be made more robust or malicious requests may crash the server.

Not sure this is resolved. By typing in "/" in the searchbar, the app crashes.


Use of excubo web compiler instead of LibSassBuilder

in order to do more thorough investigations, I'm closing this issue for now.


Make usage of license_concluded consistent

Currently, the data model uses license_concluded for packages and concluded_license for files and snippets.
The serialized name in json and tag-value is "licenseConcluded", so this should probably be the reference.

fixed with #422


Api

Proposed changes
Two notebooks for accessing Sentinel 1AB and Sentinel 2 imagery on Synergise API are generated. These notebooks use the external archive of the ARDC dataset to do some simple analysis.
The objective was to test and quality-check the API request for specific tasks by developing a notebook to do so.
Closes issues (optional)

Closes Issue #000
Closes Issue #000

Checklist (replace [ ] with [x] to check off)

[ ] Remove any unused Python packages from Load packages
[ ] Remove any unused/empty code cells
[ ] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[ ] Include relevant tags in the final notebook cell and re-use tags if possible
[ x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated

This pull request is not valid now.


Support quitting the application with Ctrl+Q on Linux

What the title says. I think quitting with Ctrl+Q on Linux is way more common than with Alt+F4.

I've checked Debian and CentOS. Alt+F4 works in both for all applications
TBH I don't think it's something we should change.

I wasn't suggesting removing the Alt+F4 shortcut, just add another shortcut. I use a 60% keyboard with no dedicated F keys, so I'm used to quitting with Ctrl+Q that requires fewer keystrokes.


Improve support for preventDefault and friends

This won't be necessary with the changes in the 0.11 branch.


How to modify the projection of block index and thread index in triton?

Hi team, I'm working on triton for my personal project and I wonder know if I can change the BlockIdx and ThreadIdx in triton. I did not find any methods for doing this stuff. Does triton support such a low-level operation? How can I achieve this?
Thank you for your time.

If you meant change the layout attribute of a triton tensor, you can write tritongpu IRs and use the convert_layout op, then you can compile tritongpu IR using the compile method.

Thanks for your quick reply. Do you have an example for doing this?

https://github.com/openai/triton/blob/76858bd91765adccefcbad33432187f7aa16df11/python/test/unit/language/test_core.py#L1978

It's not very clear for me to find a way implementing my requirement. In fact I would like to try this method on triton. It seems a little difficult to modify BlockIdx and ThreadIdx (I'm not sure it is consistent with changing the layout attribute). Could you give me more advise on how to implement it? I really appreciate it.

You can refer to this:
https://github.com/openai/triton/blob/376acb610b5888263ee61713ff0a71e1d5908d69/python/tutorials/03-matrix-multiplication.py#L93
On Tue, Oct 17, 2023 at 9:31 AM Kirai @.***> wrote:

It's not very clear for me to find a way implementing my requirement. In
fact I would like to try this
https://developer.nvidia.com/blog/optimizing-compute-shaders-for-l2-locality-using-thread-group-id-swizzling/
method on triton. It seems a little difficult to modify BlockIdx and
ThreadIdx (I'm not sure it is consistent with changing the layout
attribute). Could you give me more advise on how to implement it? I really
appreciate it.
—
Reply to this email directly, view it on GitHub
https://github.com/openai/triton/issues/2489#issuecomment-1766772815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZD7Y64UO2KAAQA7ZZQUILX72XHHAVCNFSM6AAAAAA57JNGL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWG43TEOBRGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


1984 Divide

About the PR

Removed the wizard hardsuit, heretic blade, removed all the wall loot, removed the zero tc uplink, removed the bag of holding, put another landmine in science, and finally removed the merc webvest.
Added an east medical mailing unit, added a zookeeper room with a tranq gun, moved hos' room around so it wasnt touching the mainhalls, and added a gym and break room into sec.
 Anyways all the fun stuff is gone, blame the nerdmins. The rest of the changes was actually peak stuff, especially the zoo it needed a tranq gun badly.
Technical details

Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Readded Divide (Peak)!
remove: Removed all the fun from Divide!

Reinforce disposals, since rads can get in.

actually how the hell can rads get in wtf


Review all TODOs in code

There are a number of TODOs in the code. Either:

Remove them if they are no longer relevant
Fix them
Or categorize/group them, add issues for them, and reference the issue by ID from the code

Reviewed and fixed about half of them. The remaining fall into these categories:

Error handling that is hard to recover from. For example, a bad shader, being unable to find a suitable device, or not finding appropriate device memory.
Some symbol names I'm not completely happy with
Sample code I'd like to add to the examples
Would like to improve how errors are passed to user code. (Currently downstream code calls into a function that never returns.. because this is how winit works)
More error checking during initialization for extension/layer handling
Some fields that shouldn't be public in TimeState
Use a circular buffer in FPS counting
Some non-critical open questions in handling swap chain frame presents

Since rustfmt is set up on CI, we could break remaining TODOs into issues and use this option:
report_todo = "Unnumbered"
report_fixme = "Unnumbered"


[hotfix] fix thrust-transform-reduce error

📌 Checklist before creating the PR

[ ] I have created an issue for this PR for traceability
[ ] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[ ] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

related issue #5061
📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

This PR addresses a compilation issue encountered in the ColossalAI project when using the Docker container nvcr.io/nvidia/pytorch:23.07-py3. The error involved the Thrust library, specifically, the absence of the transform_reduce member in the thrust namespace, as reported in the compilation of cuda_util.cu.
💥 Checklist before requesting a review

[ ] I have linked my PR to an issue (instruction)
[ ] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[ ] I have performed a self-review of my code
[ ] I have added thorough tests.
[ ] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[x] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

Your PR is merged, thanks for your contribution!


Instagram Bridge and MRSS format

Hi,
first of all let me congratulate you for your initative. I've been looking for a MediaRSS bridge for social sites for a long time :)
I have been trying the Instagram bridge with MRSS output but I've noticed it is placing the image url under the description tag and not the media:content or the enclosure tags as I expected. How can I fix this?
Best regards,

Fixed in 795494cfce1d60814fe4e5b58e35e613379af308


[ISSUE #11294] Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8

What is the purpose of the change
Fix #11294
Brief changelog

Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8

Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[x] Add some description to dubbo-website project if you are requesting to add a feature.
[x] GitHub Actions works fine on your own branch.
[x] If this contribution is large, please follow the Software Donation Guide.

@AlbumenJ  PTAL~

@AlbumenJ  I has fixed it and re-submit again, PTAL~ Thks

Codecov Report

Merging #11326 (4b6f548) into 3.2 (0c1b798) will decrease coverage by 4.69%.
The diff coverage is 84.00%.

@@             Coverage Diff              @@
##                3.2   #11326      +/-   ##
============================================
- Coverage     69.51%   64.83%   -4.69%
+ Complexity      339       14     -325
============================================
  Files          1514     1487      -27
  Lines         81218    62360   -18858
  Branches      14612     9133    -5479
============================================
- Hits          56456    40429   -16027
+ Misses        19950    17712    -2238
+ Partials       4812     4219     -593

Impacted Files
Coverage Δ

...ache/dubbo/rpc/cluster/CacheableRouterFactory.java
0.00% <0.00%> (ø)

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-73.34%)
:arrow_down:

...enter/support/nacos/NacosDynamicConfiguration.java
33.80% <0.00%> (+0.14%)
:arrow_up:

...gistry/client/ReflectionBasedServiceDiscovery.java
0.00% <0.00%> (ø)

...bo/registry/multiple/MultipleServiceDiscovery.java
0.00% <0.00%> (ø)

...o/registry/xds/util/protocol/AbstractProtocol.java
0.00% <0.00%> (ø)

...che/dubbo/common/utils/ConcurrentHashMapUtils.java
33.33% <33.33%> (ø)

...stry/client/ServiceDiscoveryRegistryDirectory.java
43.94% <50.00%> (-11.04%)
:arrow_down:

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
41.46% <66.66%> (-2.02%)
:arrow_down:

...pache/dubbo/rpc/model/ModuleServiceRepository.java
66.66% <75.00%> (ø)

... and 515 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for your contribution.


Spyder5 fail to launch. Could not load the Qt platform plugin "xcb" in "" even though it was found.

What steps reproduce the problem?
Right after installing spyder5 as per instructions
$ conda create -c conda-forge -n spyder-env spyder numpy scipy pandas matplotlib sympy cython
Spyder5 fail to launch.
(spyder) [rubye@localhost ~]$ spyder
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted (core dumped)
(spyder) [rubye@localhost ~]$
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

(base) [rubye@localhost ~]$ conda activate spyder
(spyder) [rubye@localhost ~]$ spyder
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted (core dumped)
(spyder) [rubye@localhost ~]$

PASTE TRACEBACK HERE

Versions

Spyder version: 5.4.2
Python version: Python 3.9.16
Qt version:
PyQt version:

Name                    Version                   Build  Channel
pyqt                      5.15.7           py39h6a678d5_1
pyqt5-sip                 12.11.0          py39h6a678d5_1
pyqtwebengine             5.15.7           py39h6a678d5_1

Operating System name/version: rhel9.1 plow

Dependencies

PASTE DEPENDENCIES HERE

Hey @blubye, thanks for reporting. This could be still be related to your usage of LD_LIBRARY_PATH, which makes Linux mix conda-forge and system packages.
Or it could be that you don't have the right system packages to run Qt. To check for that, please run the following command in a terminal and see if there are missing libraries reported by it:
ldd ~/<path to miniconda>/envs/spyder/lib/libQt5XcbQpa.so

Conda-forge should provide most of what's needed, but it could be that you don't have Xorg or some of its dependencies installed (Spyder doesn't work on very thin Docker instances or machines without graphical support).
If ldd reports missing libraries, then you need to look what RPM package corresponds to them and install them with yum of dnf (I don't know exactly how to do that because I use Ubuntu, but a bit of googling should give you the answer).

In addition, as I mentioned in your previous issue, this is not a problem with Spyder but with your system. So, I'm going to close this issue because there's no more help we can offer you to solve it.
And since I think it is up to you to solve it (you wouldn't encounter issues like this in a regular desktop Linux system), I'm afraid our help goes up to this point. Any additional issue you open about it will be closed as "Won't fix".
I'm sorry but we're a very small team, we have tons of issues to address and this is a very specific problem that's not actually a bug in Spyder. With a bit of googling I'm sure you'll be able to figure it out yourself.

I had this same problem and it took some time Googling it to figure it out. How to exactly address the problem is very unclear from all of the other answers out there. So to help anyone who comes looking for it, this is how to solve the problem from scratch.
This also works if you are getting errors such as:
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
In a terminal set
export QT_DEBUG_PLUGINS=1
and then try opening spyder
spyder
It will fail but it will spit out a bunch of info like this:
QFactoryLoader::QFactoryLoader() checking directory path "/home/rtanner2/anaconda3/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqminimal.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqvnc.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqwebgl.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqwebgl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "webgl"
        ]
    },
    "archreq": 0,
    "className": "QWebGLIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/home/rtanner2/anaconda3/plugins/platforms/libqxcb.so"
Found metadata in lib /home/rtanner2/anaconda3/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331520
}

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/rtanner2/anaconda3/bin/platforms" ...
Cannot load library /home/rtanner2/anaconda3/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/rtanner2/anaconda3/plugins/platforms/libqxcb.so" : "Cannot load library /home/rtanner2/anaconda3/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)"
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.

Aborted

Near the end there will be a library listed which is the one failing. It will be listed on the line that starts with Cannot load library. In this case it was libqxcb.so. Use the command ldd to find out what libraries you are missing like this (change the path in the command to your ownpath):
ldd /home/rtanner2/anaconda3/plugins/platforms/libqxcb.so | grep "not found"
This will produce a list of missing libraries. In my case it was,
libxcb-icccm.so.4 => not found
libxcb-icccm.so.4 => not found

I was able to install the library using,
sudo apt-get update
sudo apt-get install libxcb-icccm4

If you are unsure about the exact name of the library you can find all of the relevant libraries by using this command:
apt-cache search libxcb
This command will produce the following output:
libpthread-stubs0-dev - pthread stubs not provided by native libc, development files
libxcb-composite0 - X C Binding, composite extension
libxcb-composite0-dev - X C Binding, composite extension, development files
libxcb-damage0 - X C Binding, damage extension
libxcb-damage0-dev - X C Binding, damage extension, development files
libxcb-doc - X C Binding, development documentation
libxcb-dpms0 - X C Binding, dpms extension
libxcb-dpms0-dev - X C Binding, dpms extension, development files
libxcb-dri2-0 - X C Binding, dri2 extension
libxcb-dri2-0-dev - X C Binding, dri2 extension, development files
libxcb-dri3-0 - X C Binding, dri3 extension
libxcb-dri3-dev - X C Binding, dri3 extension, development files
libxcb-ewmh-dev - utility libraries for X C Binding -- ewmh, development files
libxcb-ewmh2 - utility libraries for X C Binding -- ewmh
libxcb-glx0 - X C Binding, glx extension
libxcb-glx0-dev - X C Binding, glx extension, development files
libxcb-icccm4 - utility libraries for X C Binding -- icccm
libxcb-icccm4-dev - utility libraries for X C Binding -- icccm, development files
libxcb-image0 - utility libraries for X C Binding -- image
libxcb-image0-dev - utility libraries for X C Binding -- image, development files
libxcb-keysyms1 - utility libraries for X C Binding -- keysyms
libxcb-keysyms1-dev - utility libraries for X C Binding -- keysyms, development files
libxcb-present-dev - X C Binding, present extension, development files
libxcb-present0 - X C Binding, present extension
libxcb-randr0 - X C Binding, randr extension
libxcb-randr0-dev - X C Binding, randr extension, development files
libxcb-record0 - X C Binding, record extension
libxcb-record0-dev - X C Binding, record extension, development files
libxcb-render-util0 - utility libraries for X C Binding -- render-util
libxcb-render-util0-dev - utility libraries for X C Binding -- render-util
libxcb-render0 - X C Binding, render extension
libxcb-render0-dev - X C Binding, render extension, development files
libxcb-res0 - X C Binding, res extension
libxcb-res0-dev - X C Binding, res extension, development files
libxcb-screensaver0 - X C Binding, screensaver extension
libxcb-screensaver0-dev - X C Binding, screensaver extension, development files
libxcb-shape0 - X C Binding, shape extension
libxcb-shape0-dev - X C Binding, shape extension, development files
libxcb-shm0 - X C Binding, shm extension
libxcb-shm0-dev - X C Binding, shm extension, development files
libxcb-sync-dev - X C Binding, sync extension, development files
libxcb-sync1 - X C Binding, sync extension
libxcb-util-dev - utility libraries for X C Binding -- atom, aux and event
libxcb-util0-dev - dummy transitional package for utility libraries for X C Binding
libxcb-util1 - utility libraries for X C Binding -- atom, aux and event
libxcb-xf86dri0 - X C Binding, xf86dri extension
libxcb-xf86dri0-dev - X C Binding, xf86dri extension, development files
libxcb-xfixes0 - X C Binding, xfixes extension
libxcb-xfixes0-dev - X C Binding, xfixes extension, development files
libxcb-xinerama0 - X C Binding, xinerama extension
libxcb-xinerama0-dev - X C Binding, xinerama extension, development files
libxcb-xinput-dev - X C Binding, xinput extension, development files
libxcb-xinput0 - X C Binding, xinput extension
libxcb-xkb-dev - X C Binding, XKEYBOARD extension, development files
libxcb-xkb1 - X C Binding, XKEYBOARD extension
libxcb-xtest0 - X C Binding, xtest extension
libxcb-xtest0-dev - X C Binding, xtest extension, development files
libxcb-xv0 - X C Binding, xv extension
libxcb-xv0-dev - X C Binding, xv extension, development files
libxcb-xvmc0 - X C Binding, xvmc extension
libxcb-xvmc0-dev - X C Binding, xvmc extension, development files
libxcb1 - X C Binding
libxcb1-dev - X C Binding, development files
libx11-xcb-perl - perl bindings for libxcb
libxcb-cursor-dev - utility libraries for X C Binding -- cursor, development files
libxcb-cursor0 - utility libraries for X C Binding -- cursor
libxcb-imdkit-dev - XIM protocol implementation in XCB (development files)
libxcb-imdkit1 - XIM protocol implementation in XCB
libxcb-xrm-dev - utility functions for the X resource manager, development files
libxcb-xrm0 - utility functions for the X resource manager

There might be multiple libraries you have to install. Some of the common ones are:
sudo apt install libxcb-image0
sudo apt install libxcb-keysyms1
sudo apt install libxcb-render-util0
sudo apt install libxcb-xkb1
sudo apt install libxkbcommon-x11-0

Just keep going through all the libraries that are listed as not found until you have them all installed.

spyder太难用了，莫名其妙的问题

Actually the three lines provided by rjtanner helped me to resolve it:
sudo apt install libxcb-image0
sudo apt install libxcb-keysyms1
sudo apt install libxcb-render-util0

as I didn't get the output of the command


fix(pack): local lockfile resolved at wrong location

I had a bug today where yarn would try to install my externals with --frozen-lockfile, even from a service in a monorepo. Checked the code, and actually, we were resolving the lockfile from the root package json path - whereas the original PR for this feature stipulates that the lockfile should be sought at the local level - thus determining if we should use frozen lockfile or not.
This will not affect users out of a monorepo.
I am fixing this now, But I really think we should take some time to review the all packaging step, as it has become quite complex PR after PR. But time is hard to find :-).

Hey @floydspace my team kind of really need this to work. Should I merge this? @vamche any oppositions?


Add Gemfile gem method as special, un-parenthesised method

Similar to how RSpec's DSL methods stay un-parenthesised, I think adding parentheses to gem method calls in Gemfiles look weird. And perhaps weird enough to warrant a(nother) special case.
Input file
source "https://rubygems.org"
ruby "2.7.3"
gem "rspec"

Rubyfmt's output
source("https://rubygems.org")
ruby("2.7.3")
gem("rspec")

@reese can you take this one?


Teacher classboard for screencast

On teacher classboard: fixed PUT assignments by changing where the course ID is coming from.  Also, moved the Add Student button, so that during the screencast it isn't covered up

updating this


.NET (8) installation does not wait to be finished

Version
latest NuGet Package (2.5.2)
Variant
GUI (Graphical User Interface)
Platform
.NET 8.0 / WIndows 10
Steps to reproduce
I de-installed the .NET 8 (Desktop) Runtime, and removed the 8.0.x folder in the shared runtimes. I also removed the registry keys at HKLM\SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x64\sharedfx...
Now when starting the App, the Bootstrapper detects the runtime as missing, downloads it, and starts the installer. I get the UAC prompt, but as soon as I accept the installer closes and the App/Bootstrapper complains about the missing runtime. The expected folders were not recreated, I need a manual "repair" install to get the runtime working again.
Details
Expected:
I expect the application start to be waiting until the installation is done. especially according to your flowchart, the required runtime should not be detected after install.
Actual:
I get the message box complaining about the missing .NET 8 runtime and listing the other existing ones.
Checklist

[X] I have looked through existing issues to make sure that this bug has not been reported before
[X] I have provided a descriptive title for this issue
[X] I have made sure that this bug is reproducible on the latest version of the package
[X] I have provided all the information needed to reproduce this bug as efficiently as possible
[ ] I have sponsored this project

The same problem is also present if I use the CLI-based version same text in console like in the message box
- Target: O:\adx-net8\bin\PublishMyApp\MyApp.dll
- Arguments: [/install]
- Status: -2147450730
- Error: You must install or update .NET to run this application.

App: O:\adx-net8\bin\PublishMyApp\MyApp.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  2.1.30 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.28 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  7.0.17 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=win-x64&os=win10```

Hmm, I could not reproduce this issue. Does the same happen to you with .NET 7?

Yes, the same happens to me when targeting .NET 7. Is there a good way to properly uninstall a ,NET Runtime you know of?
.NET 7 is not even listed in "Apps & Features".
But further tests point into the direction that it is not a problem of waiting for the process to finish, but with the installation itself.
If I remove the Registry keys and folders and then manually running the installer it behaves equally strangely. It installs without writing the files and finishes immediately. Only doing a repair installation gets the files back.
I thought I could test it on my (dev) machine, but it seems the only way to test it is to have a clean VM, that needs a data reset for a new test. I hoped to get around that.

You could try this: https://learn.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool?tabs=windows

After some more testing, especially with the Windows Sandbox, there is no problem. So it was mostly related to testing on a development machine.
Sorry for bothering you.


Create a frontend page for Room Slot Entries

User Story
As a user I can add time slots associated with physical rooms, so that we can keep track of which rooms are being used at which times and associate office hours with these slots (see #245).
Acceptance Criteria

[x] The navbar allows us to navigate to the Room Slots page.
[ ] There is a page showing information on all current Room Slots.
[ ] There is a page allowing us to edit current Room Slots.
[ ] There is a page dedicated to adding Room Slot entries.
[ ] We can add Room Slot entries using a form on the above page.
[ ] Room Slot entries are stored in the database using CRUD operations (blocked by #219)

Implementation Todos
Front end:

[x] Add routes for all of the new pages
[x] Add Room Slots to navbar
[x] Add a page component for Room Slots
[ ] Add a New Room Slots button linking the Room Slots page to the New Room Slots page
[ ] Add a table on the Room Slots page to display current room slot entries
[ ] Include buttons for editing and deleting room slot entries in the table
[ ] Add all necessary API calls to connect page to backend
[x] Add a page component for New Room Slots
[ ] Add a form to input data for the new room slot
[ ] Add all necessary API calls to connect page to backend
[x] Add a page component for editing current Room Slots
[ ] Add a form to edit the data of the current room slot
[ ] Add all necessary API calls to connect page to backend

Back end:

No additional backend functionality is required for this story specifically (CRUD endpoints are being implemented in a different story)

Testing:

[ ] Front end tests pass and there is adequate coverage
[ ] Back end tests pass and there is adequate coverage

note: let's ask staff about what roles we want to have access to (a) view room slots and (b) edit them

q: do we need an edit functionality at all? office hours doesn't have this

This story is done, but waiting to finish #248 to make a combined PR for both stories since neither story is very useful without the other being completed.


[Enhancement] Add missing properties for UpdateService

According to Open Process Automation Forum and their standard for Redfish profile (supporting document: https://www.opengroup.org/sites/default/files/pdf/O-PAS-OSM-002-v2_0_0.json) following properties are mandatory, but missing in ODIM:
HttpPushUriOptions, HttpPushUriOptionsBus, HttpPushUriTargets, HttpPushUriTargetsBusy, MaxImageSizeBytes, MultipartHttpPushUri.

Hello @ehaligow
Thanks for reporting the observation.
HttpPushUriOptions, HttpPushUriOptionsBus, HttpPushUriTargets, HttpPushUriTargetsBusy, MaxImageSizeBytes, MultipartHttpPushUri properties are not mandatory but recommended to support, according to schema(https://redfish.dmtf.org/schemas/v1/UpdateService.v1_8_1.json) and https://www.opengroup.org/sites/default/files/pdf/O-PAS-OSM-002-v2_0_0.json as well.
Changes will be made in the ODIMRA to support these properties, but changes in the plugins will be made only if the devices it's managing support these properties.

Hi @ehaligow
To add the httpPushUri feature support into UpdateService please raise a request in the ODIM TSC(Technical Steering Committee) as this is a recommended option and not a mandatory one, link to the same as below.
https://wiki.odim.io/display/HOME/Technical+Steering+Committee

Request added as new feature proposal in TSC list at https://wiki.odim.io/pages/viewpage.action?pageId=327873. Hence closing this issue.


Display update

New driver code for Nextion display.

@Cam0Cow Anything keeping us from making this a full PR?

@Cam0Cow Anything keeping us from making this a full PR?

Never had a chance to test this code on the board.

This branch got merged into SendDisplay (#164 ) and as such there's no need to work on it separately. We'll keep the branch open til SendDisplay completed and fully merged into master.


Add 201 response to AppServicePlans_CreateOrUpdate.

Fixes #3648.

 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.:x: pietro sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Closing this due to inactivity. Feel free to open a new PR when you are ready.