SQL MIN/MAX functions produce error when using HAVING without NULL check

The following SQL query will cause an error when using MIN or MAX.
SELECT MAX(calcs.int0) AS TEMP_Test__645427419__0_
FROM calcs
HAVING (COUNT(1) > 0)

The error produced is as follows:
[
  {
    "message": "QueryExecutionError:
    java.lang.IndexOutOfBoundsException: Index: 0
    \tat java.base/java.util.Collections$EmptyList.get(Collections.java:4553)
    \tat org.apache.pinot.core.plan.DictionaryBasedAggregationPlanNode.<init>(DictionaryBasedAggregationPlanNode.java:52)
    \tat org.apache.pinot.core.plan.maker.InstancePlanMakerImplV2.makeSegmentPlanNode(InstancePlanMakerImplV2.java:231)
    \tat org.apache.pinot.core.plan.maker.InstancePlanMakerImplV2.makeInstancePlan(InstancePlanMakerImplV2.java:187)",
    "errorCode": 200
  }
]

There are multiple ways to work around the exception.
This workaround checks for a NULL value for the calcs.int0 field.
SELECT MAX(calcs.int0) AS TEMP_Test__645427419__0_
FROM calcs
WHERE calcs.int0 IS NOT NULL
HAVING (COUNT(1) > 0)

This workaround adds a COUNT(1) as a field in the SELECT clause.
SELECT MAX(calcs.int0) AS TEMP_Test__645427419__0_, COUNT(1)
FROM calcs
HAVING (COUNT(1) > 0)

Another relevant condition for reproducing this issue is to set a defaultNullValue in the schema configuration for the table. Also, nullHandlingEnabled has been set to true in the table configuration.
Table configuration for reproducing the issue:
{
   "tableName":"calcs",
   "segmentsConfig":{
      "segmentAssignmentStrategy":"BalanceNumSegmentAssignmentStrategy",
      "segmentPushType":"APPEND",
      "schemaName":"calcs",
      "replication":1
   },
   "tableIndexConfig":{
      "invertedIndexColumns":[

      ],
      "loadMode":"MMAP",
      "nullHandlingEnabled": true
   },
   "tenants":{
      "broker":"DefaultTenant",
      "server":"DefaultTenant"
   },
   "tableType":"OFFLINE",
   "metadata":{
      "customConfigs":{}
   }
}

Schema for reproducing the issue:
{
   "schemaName":"calcs",
   "dimensionFieldSpecs":[
      {
         "name":"int0",
         "dataType":"INT",
         "defaultNullValue": 0
      }
   ]
}

What is the semantic of HAVING without GROUP BY? The error message is definitely confusing.

The query is a part of the Tableau testing suite of SQL queries used to test SQL compliance. This is a kind of unit test that failed repeatedly for a variety of scenarios when using MIN/MAX aggregation. I've reviewed with @xiang @kishoreg and @mayankshriv who can provide more details on a fix.

The query is not correct. Standard SQL does not support use of HAVING without GROUP BY.
Try the examples here for MySQL - https://www.w3schools.com/sql/sql_having.asp
Error message should still be fixed and should indicate query/syntax is invalid .

This issue is fixed as of the latest SNAPSHOT build. Closing issue.


Reconsider Defaults for @RetryableTopic Container Factory and KafkaTemplate

Consider the following Boot app:
@SpringBootApplication
public class Kgh920Application {

	private static final Logger LOG = LoggerFactory.getLogger(Kgh920Application.class);

	public static void main(String[] args) {
		SpringApplication.run(Kgh920Application.class, args);
	}

	@RetryableTopic(attempts = 5, backoff = @Backoff(delay = 1000, multiplier = 2.0), kafkaTemplate = "kafkaTemplate")
	@KafkaListener(groupId = "kgh920", topics = "kgh920", containerFactory = "kafkaListenerContainerFactory")
	public void listen(String in, @Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
		LOG.info(in + " from " + topic);
		throw new RuntimeException("test");
	}

	@DltHandler
	public void dlt(String in, @Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
		LOG.info(in + " from " + topic);
	}

}

In order to use Boot's auto-configured KafkaTemplate, we are forced to add the kafkaTemplate property.
Similarly, the default container factory for @KafkaListener should apply without having to explicitly set it to the default in the annotation.
While the documentation recommends using a different factory for retryable Vs. non-retryable topics, at least when there are only retryable listeners, it would be more sensible to use the current defaults.
cc/ @tomazfernandes

We already use the @KafkaListener's factory if none is provided in the @RetryableTopic annotation, you can check it here: https://github.com/spring-projects/spring-kafka/blob/120ca483c44be3985ef22a9a8dcef31a032f5cb1/spring-kafka/src/main/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryResolver.java#L75
As for the template, good call, I had used a different bean name for using as default for the RT, retryTopicDefaultKafkaTemplate, but that's easy to change for the SB's default one.
Maybe we can even check first for the RT's default, and if not found try to find the SB's default, or would that be confusing?

It's this logic here: https://github.com/spring-projects/spring-kafka/blob/120ca483c44be3985ef22a9a8dcef31a032f5cb1/spring-kafka/src/main/java/org/springframework/kafka/annotation/RetryableTopicAnnotationProcessor.java#L150

I was forced to add containerFactory = "kafkaListenerContainerFactory" (the name of the default). Without it, I get
A component required a bean named 'retryTopicListenerContainerFactory' that could not be found.

Without the KT entry, I get
A component required a bean named 'retryTopicDefaultKafkaTemplate' that could not be found.

Yes, I think we could fall back to the SK/SB default for the CF and the SB default for the template (after looking for the RT beans), as long as we log that neither was found in each case.

Hmm, I use the same resolveFactory method in the KLABPP to get the KL's factory and pass to the RT logic, so that's unexpected. I'll take a look.

Unfortunately, the default CF is resolved in the KafkaListenerEndpointRegistrar, not the BPP (when not provided in the annotation).

Oh, I see. I can’t wait till then because I need the instance to configure the error handling. Maybe we should just use the same bean name then? That should be one line to add in the LCFResolver

Sure, the bean name constant is in the KLABPP; it's just that it is passed into the registrar in afterSingletonsInstantiated().


Delete x-ms-format in synapse

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

/pr RequestMerge

The PR needs to be first reviewed and you need to get ARMSignedOff before requesting to merge. Please follow the process.
Please specify the purpose of this PR by choosing the corresponding template and filling in the required details.

Please specify the purpose of this PR by choosing the corresponding template and filling in the required details.

You still need to specify the purpose of this PR by choosing the corresponding template and filling in the required details.

You can remove the WaitForARMFeedback only after you specify the purpose of this PR by choosing the corresponding template and filling in the required details.

@ms-bogdan-rotaru  Seems there is a bug that we could not choose the corresponding template, please double check, for this change is "for a Data Plane API".

Please reach out to data plane reviewers to get this reviewed

@wangbwn take a look at the comment: https://github.com/Azure/azure-rest-api-specs/pull/30014#issuecomment-2257551403
it says what you need to do to keep moving in the process to get your PR merge

@ruowan, @Jingshu918, @wangbwn - I can't tell whether any DP reviewers have signed off on this PR. I guess the automation is pushing it through the control plane process even though it should go to data plane. Can you confirm whether this has been signed off by DP reviewers?

@mentat9 and @maririos  Thanks for your review. We cannot find the DP reviewer.  Do you know which channel and who I can reach out to get their signed off.

@mentat9 and @maririos Thanks for your review. We cannot find the DP reviewer. Do you know which channel and who I can reach out to get their signed off.

Sorry, but I don't know the DP process or contacts. I'd recommend updating or recreating this PR using the DP template linked in the above comment: https://github.com/Azure/azure-rest-api-specs/pull/30014#issue-2436990808.

@mikekistler could you help review this PR? it seems small enough that it won't require an API Stewardship board meeting


v2.7.0 might break backups

Before the new workflow release is cut, I just wanted to confirm that someone has tested Postgres and confirmed that backups work with the new postgres:11 image backing this new release.
Environments to test:

[ ] AWS
[ ] Azure
[ ] Google Cloud

Please report which builds you've tested and I will update the list in this issue (or you can)

I had issues but I was testing against the new S3_ENDPOINT config that hasn't been merged yet, speaking to Digital Ocean Spaces S3 API.
It seems likely that S3's region certificate authorities signing certs are bundled in the boto2 package.  Then, if that's true, there might be no issues with AWS when the new base image does not include ca-certificates, but there could be problems with the other two.  I don't know enough about how the storage works across clouds to say for sure without testing.
Let's be sure before we publish v2.20 and unleash the hordes on it, is all!  Thanks

Not sure how to best test this for all platform. I have only tested in AWS and have not tested the backup process.

that's true, there might be no issues with AWS when the new base image does not include ca-certificates

Are you sure this is the case @kingdonb ? I checked the Docker image build logs from yesterday of the new postgres image and I see that the ca-certificates package is being installed while the image was made.

OK, that is great news, it was missing when I tested it.
Looks like someone has fixed it already.  I'll close this issue, but it would be good to test all three environments.  That was the missing part, as whatever commit I was building from was missing ca-certificates and adding it solved this for me.


fix(entgql): panic caused by nil graphql field context.

Closes ent/ent#2946

@hsblhsn, please update the generated code by run go generate ./... in the entgql directory

Hi @giautm, I have generated the code. And there has some version mismatch for protoc and protoc-gen-go between my machine and ent repository (see changes at entproto/internal/todo/ent/proto/entpb/entpb.pb.go). Is there any contribution guide to pin to exact version?
Thanks :)

Hi @giautm, I have generated the code. And there has some version mismatch for protoc and protoc-gen-go between my machine and ent repository (see changes at entproto/internal/todo/ent/proto/entpb/entpb.pb.go). Is there any contribution guide to pin to exact version?
Thanks :)

you should run the command inside the entgql directory, that is not required other tools (like protobuf)

As I wrote in the Ent issue tracker, this code is generated for the gqlgen integration and one of the expectations is a correct context.

Thanks for the contribution @hsblhsn, it’s appreciated even though it was not merged 🙏🏻


Use pyup instead of sourceclear in travis CI tests

Issue Template
Use pyup(https://pyup.io/) instead of sourceclear in travis CI tests
Issue Type

[ ] Bug
[x] Enhancement

Description
Sourceclear tests are failing in Travis CI because of no Token and its not free anymore to open source project whereas pyup is.
Steps to Reproduce
Look at any travis-ci job - https://travis-ci.org/DefectDojo/django-DefectDojo/jobs/376249298

Hi, a similar service seems to be provided by https://snyk.io/ .
Does pyup cover frontend JS libraries?

I'm not worried about JS libraries because of two reasons

Github already gives the alerts here - https://help.github.com/articles/about-security-alerts-for-vulnerable-dependencies/
npm 6 added security checks https://blog.npmjs.org/post/173260195980/announcing-npm6

But I was thinking we use their open source client mentioned here - https://pyup.io/docs/safety/installation-and-usage/#open-source
@devGregA  @aaronweaver we can set this up during the summit, what do you think ?

It looks like a decent option. I'd like to test it locally first to see how well it works before integrating it.


Missing keywords

Missing keyword final while article exists https://docs.microsoft.com/en-us/cpp/cpp/final-specifier?view=msvc-160 and also override missed https://docs.microsoft.com/en-us/cpp/cpp/override-specifier?view=msvc-160

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

ID: d0b34a0f-3a54-b85b-ef26-175493e5c54c
Version Independent ID: 216f06f3-ef2f-148c-3f11-ab92e5b7d803
Content: Keywords (C++)
Content Source: docs/cpp/keywords-cpp.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

The entries are under Classes and structs > Overview of member functions in the TOC.  This is an old issue - maybe that was fixed in the last while or was just not obvious. Either way, closing.


Can you help with this issue?

https://stackoverflow.com/questions/48819198/weird-behavior-of-httpclienthandler-sslprotocol-property-in-net-framework-4-7-1

This repo is only for announcements, not for asking for help. Please file issues in the appropriate repo, which in your case would have been dotnet/corefx. . I don't mean to be rude by locking this thread but many of our subscribers consider noise like this issue to be uhm... rude too 😄


Query about "phosphatidylinositol kinase" terms

This is more of a query than a request at this stage - hope that's OK - somewhat related to #18015.
Is "phosphatidylinositol kinase activity" (GO:0052742) meant to be a grouping term for all types/classes of phosphatidylinositol kinase? It name and definition (Catalysis of the reaction: ATP + a phosphatidylinositol = ADP + a phosphatidylinositol phosphate.) suggest (to me at least) that it is a general grouping term, but it only has these three terms as direct children:
GO:0004430    1-phosphatidylinositol 4-kinase activity
GO:0052810    1-phosphatidylinositol-5-kinase activity
GO:0016303    1-phosphatidylinositol-3-kinase activity
If "phosphatidylinositol kinase activity" is meant to be just for kinases phosphorylating the naked inositol ring (i.e. no existing phosphate group is present), then I think its name/definition needs tightening up, giving the product as "a phosphatidylinositol MONOphosphate".
And if that's the case, it would be very useful to introduce a new parent term that covers all types of phosphatidylinositol kinase, if possible.
If, on the other hand, if "phosphatidylinositol kinase activity" is indeed meant to be a general grouping term for all types of phosphatidylinositol kinase, then these two should also be considered children of it:
phosphatidylinositol phosphate kinase activity (GO:0016307)
phosphatidylinositol bisphosphate kinase activity (GO:0052813)

@hattrill

I've looked into this some more - also see attached pdf.
I think the reasons for my confusion boil down to:

There is currently no overall grouping term for all types of phosphatidylinositol kinase. Although "phosphatidylinositol kinase activity" (GO:0052742) sounds like this is this grouping term, it is actually for specific kinase activity on the naked (as opposed to a mono/bisphosphate) inositol substrate.

However, the similarly named and defined "phosphatidylinositol 3-kinase activity" (GO:0035004) is used as a grouping term for all 3 types of substrates (naked, monophosphate, bisphosphate), phosphorylated on at position 3. (The extended definition of this term clarifies its meaning.)

While "phosphatidylinositol 3-kinase activity (GO:0035004)" exists as a grouping term, there is no equivalent term for "phosphatidylinositol 4-kinase activity" or "phosphatidylinositol 5-kinase activity".

Suggestions:

add new overall grouping term to group all type of phosphatidylinositol kinase
add new grouping terms for "phosphatidylinositol 4-kinase activity" and "phosphatidylinositol 5-kinase activity"
improve term name and definition of current "phosphatidylinositol kinase activity" (GO:0052742) to make it clearer this is specifically for kinase activity on the naked inositol ring.
clarify the definitions of grouping terms, following the pattern of the definition of "phosphatidylinositol 3-kinase activity" (GO:0035004
generally, improve consistency of these term names & definitions (see attached rich text file). E.g. consistently use either "1-phosphatidylinositol-" or "phosphatidylinositol-" in term name, consistently put ATP either first or last in the reaction description
also see ticket #18076 for error report in definition of GO:0052811

PI_kinases_in_GO.pdf

@hdrabkin Given you've just worked on https://github.com/geneontology/go-ontology/issues/18015, do you fancy taking a look at this somewhat related (and similarly aged) ticket?

Hi @pgaudet Would you be able to take a look at this (old) ticket, or should we assign to someone else?

Obsolete GO:0052812 phosphatidylinositol-3,4-bisphosphate 5-kinase activity, see #25355

@pgaudet Thanks for working on this!  Removing those 3 grouping classes (but keeping GO:0052742 phosphatidylinositol kinase activity) works for me, though I haven't checked the references for those 10 EXP annotations to see if a more specific child term could be used.
As is often the case, there are two possible axes of classification for PIKs:

Position on the inositol ring that is phosphorylated (3, 4 or 5)
Whether the substrate is PI (ie. un-phophorylated), PI monophosphate or PI bisphosphate.

Fully representing both axes in GO would complicated and is probably unnecessary. Your flattened grouping shown above would certainly simplify things.

Dear all,
The proposal has been made to obsolete the following terms

GO:0016307 phosphatidylinositol phosphate kinase activity >> 4 EXP (no EC/RHEA)
GO:0052813 phosphatidylinositol bisphosphate kinase activity >> 1 EXP (no EC/RHEA)
GO:0035004 phosphatidylinositol 3-kinase activity >> 5 EXP (no EC/RHEA)
The reason for obsoletion is that these represent unnecessary grouping classes. There are 10 EXP annotations to these terms, 6 InterPro mappings, 5 Reacome and 1 UniRule, see
see https://docs.google.com/spreadsheets/d/1r7TotHEmXHQhsHMrZ6w0sjVL1gRQyzJ-G3dFVWr6Jh4/edit#gid=0

These terms are not present in any subsets.
REPLACEMENTS:

GO:0035004 phosphatidylinositol 3-kinase activity will be replaced by GO:0016303  1-phosphatidylinositol-3-kinase activity (same meaning)l
GO:0052813 and GO:0016307 will be replaced by the new parent, GO:0052742 phosphatidylinositol kinase activity

Therefore, if your group uses automated replacement of obsolete terms, no action is required.
Impacted groups:

Group
Number of annotations

GeneDB
1

TAIR
2

dictyBase
1

BHF-UCL
1

FlyBase
2

RGD
1

SGD
1

ZFIN
1

You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/18016
Thanks, Pascale


about compile 5.0 in win10 again

Shreeshrii, very thanks for your help.
I have been compile sucessful.
but by:
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DSW_BUILD=OFF -DOPENMP_BUILD=OFF -DBUILD_TRAINING_TOOLS=OFF "-DCMAKE_TOOLCHAIN_FILE=${env:GITHUB_WORKSPACE}/vcpkg/scripts/buildsystems/vcpkg.cmake"
cmake --build build --config Release --target install
I obtained tesseract.exe and tesseract50.lib, but no tesseract50.dll.
How can obtain dll, Thanks.

https://github.com/tesseract-ocr/tesseract/issues/3701#issuecomment-1003528186


Inputs don't work

I can't read any controller inputs at all but Simple Sample scene still updates the controller visuals ... did a little digging and seems like the actual transforms data is hidden somewhere in the OpenVR.dll ... wasn't the idea of openVR to make it open source ? can the buttons and axis data controller be exposed somehow ?  So this is where i got stuck :
CVRRenderModels.GetComponentStateForDevicePath( ... )

which populates the following data
#region Assembly Unity.XR.OpenVR, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
// ...\Library\ScriptAssemblies\Unity.XR.OpenVR.dll
#endregion

namespace Valve.VR
{
    public struct RenderModel_ComponentState_t
    {
        public HmdMatrix34_t mTrackingToComponentRenderModel;
        public HmdMatrix34_t mTrackingToComponentLocal;
        public uint uProperties;
    }
}

So do i inverse transform the matrices in order to guess if the button / trigger got pressed / approximate the axis ?
I don't really need those complex layers of abstractions and the inputs API, is there anything like direct data read/write for each XR device using openVR ?

Tried initializing steamVR , activating steamVR ActionSets , Starting XR Subsystems manually , reading OpenVR.System directly , getting xr common usages from xr inputDevices but nothing seemed to work ( in editor input live view window didn't change as well )
But when i dropped the steamVR prefab with the player script into the scene with most of its components disabled (image below) then the SteamVR_Inputs started magically working as usual ... I did try writing manually what seemed to be a core system initialization functionality and attaching those separately later on but it didn't work except when i used the actual player prefab like so

Raw controller data is not available via modern SteamVR. The industry is moving towards abstracting inputs to actions (see OpenXR).
Unity XR Input APIs will not function with this plugin as they rely on raw controller data.
The simple sample should allow SteamVR Actions to work. Were you getting any errors in the sample scene?

that 2nd command is my solution

that 2nd command is my solution

What command? How did you fix it? I experience the same problem.

that 2nd command is my solution

What command? How did you fix it? I experience the same problem.

sorry typo , comment * - open-xr is out as a preview package now , might worth taking a look

Just chiming in, not much to say, but the new open-xr package definitely seems useful. Been using it across my Index and Oculus Rift CV1 and seems to work great so far.


Null pointer risk

Trigger point:
633： static line_status iniparser_line(
const char * input_line,
char * section,
char * key,
char * value)
{
line_status sta ;
char * line = NULL;
size_t len ;
643： line = xstrdup(input_line);

Line 643 passes in the parameter input_line and calls xtrdup to return the pointer of the requested space, but it may return a null pointer.
cause:
static char * xstrdup(const char * s)
{
...
len = strlen(s) + 1 ;
t = (char*) malloc(len) ; <----
if (t) {
memcpy(t, s, len) ;
} r
eturn t ; <-----
}

The parameter len of malloc is controlled by the parameter and returned directly without non-null verification.
Repair suggestions:
Limit the size of the application space and add non-empty verification.

Line 643 passes in the parameter input_line and calls xtrdup to return the pointer of the requested space, but it may return a null pointer.

iniparser_line() is a static function which is only called once in src/iniparser.c.
its parameter is char line    [ASCIILINESZ+1] ;

The parameter len of malloc is controlled by the parameter and returned directly without non-null verification.

the parameter len of malloc() is between 1 and ASCIILINESZ + 1 src/iniparser.c](https://github.com/ndevilla/iniparser/blob/master/src/iniparser.c#L79)
len is 1 if line contains a leading '\0' (empty string)
if malloc() returns NULL, strstrip() will return 0 src/iniparser.c](https://github.com/ndevilla/iniparser/blob/master/src/iniparser.c#L99)
if malloc() returns a pointer, memcpy() will copy the '\0' src/iniparser.c](https://github.com/ndevilla/iniparser/blob/master/src/iniparser.c#L82)
so actually an empty string is passed to strstrip() which in turns returns 0 src/iniparser.c](https://github.com/ndevilla/iniparser/blob/master/src/iniparser.c#L111)
this is recognized as empty line src/iniparser.c](https://github.com/ndevilla/iniparser/blob/master/src/iniparser.c#L671)

Repair suggestions: Limit the size of the application space and add non-empty verification.

size of the application is limited:  char line    [ASCIILINESZ+1] ;
non-empty verification is done:    if (s==NULL) return 0;

I can see no issue here.
Closing for now. Please correct me, if I missed something, then this may be re-opened.


PHP 5.6 is now the default PHP version at Combell

We decided that 5.6 is the way to go.

Thank you!


New version  of syllabusLink method

SyllabusLink method was redesigned after first tests on working system. Basically correction on curriculum depends on session and students application (winter or summer)

Changes rebased to a single commit cb6e6e26449157cba18ca1619b6704102bbd8350 with a  message taken from the description of this pull request.


Start in Cloud Foundry fails with "key properties are not propagated" error

I've tried a deployment of the application to SAP CP - Cloud Foundry. But currently the srv fails to start and throws this errors:
[cds] - connect to datasource - hana:gen/csn.json
cds compile failed due to these errors...

 at gen/csn.json:9: Error: Entity "localized.AdminService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:9: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.AdminService.CoOrganizers"/query:1)
 at gen/csn.json:114: Error: Entity "localized.AdminService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:114: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.AdminService.Devices"/query:1)
 at gen/csn.json:2577: Error: Entity "localized.ParticipantService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:2577: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ParticipantService.CoOrganizers"/query:1)
 at gen/csn.json:2683: Error: Entity "localized.ParticipantService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:2683: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ParticipantService.Devices"/query:1)
 at gen/csn.json:3817: Error: Entity "localized.PublicService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:3817: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.PublicService.CoOrganizers"/query:1)
 at gen/csn.json:3923: Error: Entity "localized.PublicService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:3923: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.PublicService.Devices"/query:1)
 at gen/csn.json:4960: Error: Entity "localized.ReceptionistService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:4960: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ReceptionistService.CoOrganizers"/query:1)
 at gen/csn.json:5066: Error: Entity "localized.ReceptionistService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:5066: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ReceptionistService.Devices"/query:1)
 at gen/csn.json:7393: Info: Input CSN contains localization view definitions which are re-calculated

As the entities CoOrganizers and Devices are not localized it is especially strange.

Posted the issue at srv start in Cloud Foundry fails with "key properties are not propagated"

I received the same error. I believe it has to do with the type of key used in these entities. This entities had composite keys.


[Tabs] IOS Safe Area Issue when using Tabs and Nested Routing

Which platform(s) does your issue occur on?

iOS/Android/Both

Please, provide the following version numbers that your issue occurs with:

CLI: 8.0.2-2021-06-01-080717-14408
Cross-platform modules: 8.0.6
Runtime(s): android: 8.0.0, ios: 8.0.0
Plugin(s):

"dependencies": {
    "@angular/animations": "~11.2.7",
    "@angular/common": "~11.2.7",
    "@angular/compiler": "~11.2.7",
    "@angular/core": "~11.2.7",
    "@angular/forms": "~11.2.7",
    "@angular/platform-browser": "~11.2.7",
    "@angular/platform-browser-dynamic": "~11.2.7",
    "@angular/router": "~11.2.7",
    "@nativescript-community/ui-material-bottomnavigationbar": "^5.3.2",
    "@nativescript-community/ui-material-tabs": "^5.3.3",
    "@nativescript/angular": "~11.8.0",
    "@nativescript/core": "~8.0.0",
    "@nativescript/theme": "~3.0.1",
    "nativescript-ui-sidedrawer": "~9.0.3",
    "reflect-metadata": "~0.1.13",
    "rxjs": "~6.6.7",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~11.2.7",
    "@nativescript/android": "8.0.0",
    "@nativescript/ios": "8.0.0",
    "@nativescript/types": "^8.0.1",
    "@nativescript/webpack": "beta",
    "@ngtools/webpack": "~11.2.6",
    "@schematics/angular": "^12.0.2",
    "typescript": "~4.0.0"
  },

Please, tell us how to recreate the issue in as much detail as possible.
I uses the "@nativescript-community/ui-material-tabs" plugin to show tabs in IOS and Android.

The problem is, the component "strangely" affect the top safe area in IOS (tested in IPhone 11 Pro) as you can see below:

I have troubleshoot and determine the issue to be when using MD Tabs and Nested Routing (where the Action Bar is defined in children tab).
Below is the associated components:
app.component.html
<page-router-outlet></page-router-outlet>

app-routing.module.ts
import { NgModule } from '@angular/core'
import { Routes } from '@angular/router'
import { NativeScriptRouterModule } from '@nativescript/angular'

const routes: Routes = [
  { path: '', redirectTo: 'home', pathMatch: 'full' },
  {
    path: 'home',
    loadChildren: () => import('~/app/home/home.module').then((m) => m.HomeModule),
  }
]

@NgModule({
  imports: [NativeScriptRouterModule.forRoot(routes)],
  exports: [NativeScriptRouterModule],
})
export class AppRoutingModule {}

home.component.html
<MDTabs tabsPosition="bottom">
  <MDTabStrip>
    <MDTabStripItem>

      <Image src="font://" class="fas"></Image>
    </MDTabStripItem>
  </MDTabStrip>

  <MDTabContentItem>
    <page-router-outlet name="featuredTab"></page-router-outlet>
  </MDTabContentItem>
</MDTabs>

home.component.ts
...
export class HomeComponent implements OnInit {
  constructor(private routerExtension: RouterExtensions,
    private activeRoute: ActivatedRoute, private page: Page) {
    this.page.actionBarHidden = true; // as can be seen the action bar is hidden in the parent tabs component.
  }

  ngOnInit(): void {
    // Init your component properties here.
    this.routerExtension.navigate(
			[
				{
					outlets: {
						featuredTab: ["featured"]
					},
				},
			],
			{ relativeTo: this.activeRoute }
    )
  }
}

home-routing.module.ts
...
const routes: Routes = [
  { path: '', redirectTo: "home", pathMatch: 'full' },
  {
    path: "home",
    component: HomeComponent,
    children: [
      {
        path: "featured",
        component: NSEmptyOutletComponent,
        loadChildren: () =>
          import("~/app/home/featured/featured.module").then(
            (m) => m.FeaturedModule
          ),
        outlet: "featuredTab",
      },
    ]
}]
...

And finally, the "featured" children tab component which defines the action bar (which takes up the space in the ios safe area)
featured.component.html
<ActionBar>
  <NavigationButton visibility="hidden"></NavigationButton>
  <GridLayout columns="50, *">

  </GridLayout>
</ActionBar>

Is there any code involved?
https://github.com/limyandi/fuzzy-octo-memory

@limyandi not sure where the issue comes from. Lot of moving part in your code. If you can reproduce without angular, 3rd party plugins, and a very simple repro code i will fix it

@farfromrefug Why would he reproduce without angular when he's getting the issue with Angular? He has even linked the whole repo and everything :D

@csimpi to know if the issue is angular related or not! i wont fix any angular issue as i dont work with it. You are welcome to fix it and create a PR

@limyandi it's been a while so you might already have solved it, but if not, try replacing page-router-outlet with a router-outlet in home.component.html


Watch a range of keys

Its not very clear from the documentation but how do you watch for a range of keys ?
Say I have a map of keys and I want to iterate through these and watch every key for a certain time.
This seems to be possible with etcdctl
Is this possible with v0.0.1 ?

@nixgadget this it is. you want to use  Watcher watch(ByteSequence key, WatchOption watchOption)
and use watchOption withRange(ByteSequence endKey)

please reopen if you have more question.


Fix mistranslation in labels.md

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.
It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address.  Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/
Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at<EMAIL_ADDRESS>
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

registered.

@spy1233
감사합니다! CLA도 진행하셨군요!
/lgtm

@spy1233 @yoonian Thank you!!!
/approve

/milestone dev-1.20-ko.5


Release

Will there be any release of ChaiScript_Extras soon?

Sounds good with me https://github.com/ChaiScript/ChaiScript_Extras/releases/tag/v1.0.0

Perfect


run error

flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building ConfigProvider:
flutter: inheritFromWidgetOfExactType(ConfigProvider) or inheritFromElement() was called before
flutter: _PhotoMainPageState.initState() completed.
flutter: When an inherited widget changes, for example if the value of Theme.of() changes, its dependent
flutter: widgets are rebuilt. If the dependent widget's reference to the inherited widget is in a constructor
flutter: or an initState() method, then the rebuilt dependent widget will not reflect the changes in the
flutter: inherited widget.
flutter: Typically references to to inherited widgets should occur in widget build() methods. Alternatively,
flutter: initialization based on inherited widgets can be placed in the didChangeDependencies method, which
flutter: is called after initState and whenever the dependencies change thereafter.

你好 我也遇到了这个问题，dart 2.1.1 flutter 1.1.8 photo:0.2.0  ,打开相册就报这个错误,有的手机没问题，华为 HonorPlay, Android 9.0 会报错，我试了华为另一款9.0手机没问题，怀疑是机型的问题，您看能不能让代码更兼容一些机型

@CatEatFishs  Please provide a complete log on 0.2.0 to help me solve this problem.

UI code is developed using flutter, and there is no compatibility problem in theory.
I will close the issue first, and if the same problem arises later, I will reopen the issue.


refactor: create plugin implementation class

The code base is growing and therefore the logic should be outsourced to an implementation class.

Hi, when this fixes going to be published on npm?

In this PR is no fix included. It's just refactoring.


A DNS request that matches no handler should be answered with RcodeRefused

In serve_mux.go, ServeDNS currently uses HandleFailed when no matching handler is found. Instead, I believe the query should be answered with RcodeRefused.
I don't believe there is an RFC that outright mandates this, but I do believe it is the general consensus to refuse a query for an unknown domain to an authoritative server.
It will at least help distinguish between actual server failures and just a request for an unknown domain when writing DNS servers using this library :)

[ Quoting<EMAIL_ADDRESS>in "[miekg/dns] A DNS request that matc..." ]

In serve_mux.go, ServeDNS currently uses HandleFailed when no matching handler
is found. Instead, I believe the query should be answered with RcodeRefused.
I don't believe there is an RFC that outright mandates this, but I do believe
it is the general consensus to refuse a query for an unknown domain to an
authoritative server.
It will at least help distinguish between actual server failures and just a
request for an unknown domain when writing DNS servers using this library :)

fair point
/label bug

care to provide a PR?

care to provide a PR?

of course. https://github.com/miekg/dns/pull/1151

is merged


Question: what libraries does the GUI use

The GUI is written mainly in React. Dataflow is done through dataverse.


fix: emit asset with compat source should equal JsCompatSource

Summary

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

!canary


Improve Search Bar

The search bar needs to be updated so that it can search through not only the calculator names, but the provided calculator description also.

I want to work on this issue under jwoc

@vk20july Yes. Go ahead.


Make Interactive Slack Menus Work - fixes for #768

Added a fix for #768. As far as I know slack menu's don't support multiple select values so this seems to work. There might be a smarter way to handle this case I'm just not totally privy to all of the workings in the library.

@clintonhalpin any workarounds for this before it gets merged? Tried setting the text prop on absolutely everything, no dice..

@Angry-Potato I am using a fork of this repo in production at the moment git://github.com/clintonhalpin/botkit.git#bug#768/getValueFromSelectConvo
I don't think there is a workaround.

cheers!

A fix for this is present in 0.5.5!


[rancher-logging] Kubelet logs for RKE2 are not picked up by logging chart

Logs for the kubelet are logged to /var/lib/rancher/rke2/agent/logs/kubelet.log not journald, and they are not picked up by rancher-logging

@SheilaghM , assigning it to @nickgerace since he's the other Logging SME and we cannot have it validated by who implemented it (Jacob).

Validation: FAILED
Steps to recreate:

install rancher-logging:3.9.400 on rke2
Validate that I can only see control plane logs for "component"=>"kube-apiserver" and "component"=>"etcd"

Steps to validate:

install rancher-logging:100.0.0+up3.12.0 on rke2
Still only seeing control plane logs for "component":"kube-apiserver" and "component"=>"etcd"

Validation: PASSED
Steps to Validate:

From an HA rancher setup ( rancher version: v2.6.0-rc3)
Deploy a downstream RKE2 cluster with multiple nodes - Digital Ocean, k8s version v1.21.3-rc4+rke2r2.  1 node set to all roles, and the 2nd node is set to worker role.
Install rancher-logging v100.0.0+up3.12.0.
Install example logging application and flows from https://github.com/paynejacob/rancher-logging-examples
Edit the cluster flow to forward to my local ngrok endpoint ngrok tcp 24224 that is setup to display the forwarded logs on the stdout of docker run -p 24224:24224 fluent/fluent-bit /fluent-bit/bin/fluent-bit -i forward -o stdout -p 'format=json_lines'
Per dev instructions, I restarted the work node by ssh into node and running sudo reboot. This will help generate logs since logs are not showing up as frequently as they did in previous versions
After ssh into node with all roles, I tailed tail -n 500 /var/lib/rancher/rke2/agent/logs/kubelet.log to get a kubelet log out. I grabbed the a recent entry

I0819 06:57:57.731864    3340 scope.go:111] "RemoveContainer" containerID="5f9d142faed3e00771db5e30608a1266afca5dc1df5c9194fb4b842c939d14ad"

I validated that I was able to see it being forwarded correctly

{"date":1629356278.297592,"log":"I0819 06:57:57.731864    3340 scope.go:111] \"RemoveContainer\" containerID=\"5f9d142faed3e00771db5e30608a1266afca5dc1df5c9194fb4b842c939d14ad\""}

@paynejacob I see that some of the logs in kubelet.log are not coming through to the stdout still, since I am getting some I was curious if this has to do with the stdout setup vs being an actual issue. Is it possible the stdout is dropping the data, or is it still not getting forwarded?


Specify Oauth2 scope for Secret Manager and simplify gcloud switching

Hello!
Please review small fix for the case, when JSON file in GOOGLE_APPLICATION_CREDENTIALS doesn't contain Oauth2 scope, we need to specify it explicitly. Otherwise, getting error:
rpc error: code = Unauthenticated desc = transport: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":"invalid_scope","error_description":"Invalid OAuth scope or ID token audience provided."}, no default value available

Also, I tried to make switching between default credentials and gcloud little bit shorter.

@seralepo , I merged your PR and release 0.4.1 with the change in it. Thank you!


test_printf producing false expected results

in the oneAPI Construction Kit, our overnight testing on 10th shows repeated fails on the test_printf test:
15)testing printf("%+#21.15E",789456123.0)
verifyOutputBuffer failed with kernel:
__kernel void test3(void)
{
printf("%+#21.15E\n",789456123.0);
}
expected: +7.894561280000000E+08
got:      +7.894561230000000E+08
This was run on x86 in our "host" target.
I believe the 123 part is actually correct, so the test seems wrong.
https://github.com/KhronosGroup/OpenCL-CTS/pull/1988 maybe related as it was committed around the same time.
To show with the oneAPI Construction Kit.
git clone git@github.com:codeplaysoftware/oneapi-construction-kit.git
cd oneapi-construction-kit
cmake -GNinja -DCA_MUX_TARGETS_TO_ENABLE="host" -DCA_ENABLE_API=cl       -DCA_LLVM_INSTALL_DIR=<path_to_17_or_18_llvm_install>t -Bbuild
ninja -c build libOpenCL.so

@coldav could you tell which subtest this is? This should be printed before the line starting with 0).

float...

With a little bit more digging if we disable double support we do get the 128 answer. We think it's acceptable to do the conversion to double though so both the 123 and 128 are correct.
As an aside:
Some platforms show
/home/harald/OpenCL-CTS/test_conformance/printf/test_printf.cpp: In function ‘_cl_program* {anonymous}::makeMixedFormatPrintfProgram(_cl_kernel**, cl_context, cl_device_id, unsigned int, unsigned int, const std::string&)’: /home/harald/OpenCL-CTS/test_conformance/printf/test_printf.cpp:300:14: error: ‘uint8_t’ is not a member of ‘std’; did you mean ‘wint_t’?   300 |         std::uint8_t is_int = genrand_int32(gMTdata) % 2;       |              ^~~~~~~       |              wint_t /home/harald/OpenCL-CTS/test_conformance/printf/test_printf.cpp:303:32: error: ‘is_int’ was not declared in this scope; did you mean ‘u_int’?   303 |         set_round(deviceRound, is_int != 0 ? kint : kfloat);       |                                ^~~~~~       |                                u_int ninja: build stopped: subcommand failed.
so there is likely a missing include.

Thanks, I figured this had to be related to 789456123.0 not being exactly representable in fp32.  I'm wondering if we should update the test to use a constant that's representable in both fp32 and fp64 instead; the obvious candidate would be 789456128.0.
I'm not sure if this is a recent regression though; the float subtests haven't been modified recently I believe.

so there is likely a missing include.

That seems like a recent regression indeed.  I can put up a fix unless you already have a patch for it.

Sorry, I meant to reply. Thanks for the patch. This should stay open for the original problem though.

I'm wondering if we should update the test to use a constant that's representable in both fp32 and fp64 instead [...]

Can we make this change, for now at least?  We're encountering the same problem on our devices that support fp64.

I get the same failure on Linux x86-64 Gcc 13.2.0 with Clvk (top of tree), and  NVIDIA Quadro P1000 Driver 5<IP_ADDRESS><PHONE_NUMBER>)
for completeness, subtests 14 and 15 have the same failure for the same value.
14)testing printf("%-#20.15e",789456123.0)
verifyOutputBuffer failed with kernel:
__kernel void test3(void)
{
   printf("%-#20.15e\n",789456123.0);
}

 expected: 7.894561280000000e+08
 got:      7.894561230000000e+08
15)testing printf("%+#21.15E",789456123.0)
verifyOutputBuffer failed with kernel:
__kernel void test3(void)
{
   printf("%+#21.15E\n",789456123.0);
}

 expected: +7.894561280000000E+08
 got:      +7.894561230000000E+08

I'm wondering if we should update the test to use a constant that's representable in both fp32 and fp64 instead [...]

Can we make this change, for now at least? We're encountering the same problem on our devices that support fp64.

I posted #2015 which does that.

Thanks, I approved #2015.
We're not meeting for the next couple of weeks, and this should be non-contentious, so as soon as somebody else signs off on it we should merge it.

@bashbaug I approved as well

Thanks!  @coldav let us know if this doesn't fix your problem for some reason.


Is it possible to use human pose guided controlnet with Arc2Face to generate full body human image?

Hi, this is a great work!
May I ask is it possible to use human pose guided controlnet with Arc2Face to generate full body human image?

Hi! Our model is trained on aligned and cropped face images, so adding a pre-trained ControlNet for human poses will most likely lead to inconsistencies. Extending it to full-body generation would probably require further training (the model, the ControlNet, or both) on body data.

Hi! Our model is trained on aligned and cropped face images, so adding a pre-trained ControlNet for human poses will most likely lead to inconsistencies. Extending it to full-body generation would probably require further training (the model, the ControlNet, or both) on body data.

Thanks for your answer!


which module post the /tf from novatel to world ？

System information

OS Platform and Distribution (Linux Ubuntu 18.04):
Apollo installed from (source ):
Apollo version (7.0):
Output of apollo.sh config if on master branch:

Hi，thanks you for great project.
I'm wondering which module post the /tf from novatel to world ？
And why we need this tf?  because we have got tf (novatal to localization) and (localization to world)

https://github.com/ApolloAuto/apollo/blob/12ab9e94891cfd2ef5a001f6e18bf56422402e42/modules/drivers/gnss/conf/gnss_conf.pb.txt#L42
it answers which module but doesn't answer why.
I guess, It could be relevant to the logic of apollo localization: if you can use rtk mode, then it can already publish the tf from world to novatel; if you don't use rtk, maybe the other localization module would publish world to localization? I'm just guessing!
'"// Since "/tf" topic has dynamic updates of world->novatel and
// world->localization, novatel->localization in tf buffer is being changed
// and their transformation does not represent for static transform anymore."' A comment was found in the code.

Yes you can get the coordinate transformation by the above 2 ways.  and /tf from novatel to world is publish by gnss driver.


cmake error when pip install .

Building wheels for collected packages: dirt
Building wheel for dirt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/ybb/.virtualenvs/py27/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"'; file='"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-TPRh9h --python-tag cp27
cwd: /tmp/pip-req-build-udrMk2/
Complete output (47 lines):
running bdist_wheel
running build
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 10.0.130
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EGL_LIBRARIES
linked by target "rasterise" in directory /tmp/pip-req-build-udrMk2/csrc
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-udrMk2/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-udrMk2/setup.py", line 50, in
'Programming Language :: Python :: 3.7',
File "/home/ybb/.virtualenvs/py27/local/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/ybb/.virtualenvs/py27/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-udrMk2/setup.py", line 24, in run
build_csrc()
File "/tmp/pip-req-build-udrMk2/setup.py", line 18, in build_csrc
subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-udrMk2/csrc']' returned non-zero exit status 1
ERROR: Failed building wheel for dirt
Running setup.py clean for dirt
Failed to build dirt
Installing collected packages: dirt
Running setup.py install for dirt ... error
ERROR: Command errored out with exit status 1:
command: /home/ybb/.virtualenvs/py27/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"'; file='"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-8uY14h/install-record.txt --single-version-externally-managed --compile --install-headers /home/ybb/.virtualenvs/py27/include/site/python2.7/dirt
cwd: /tmp/pip-req-build-udrMk2/
Complete output (36 lines):
running install
running build
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EGL_LIBRARIES
linked by target "rasterise" in directory /tmp/pip-req-build-udrMk2/csrc
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-udrMk2/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-udrMk2/setup.py", line 50, in <module>
    'Programming Language :: Python :: 3.7',
  File "/home/ybb/.virtualenvs/py27/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ybb/.virtualenvs/py27/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
    self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-udrMk2/setup.py", line 24, in run
    build_csrc()
  File "/tmp/pip-req-build-udrMk2/setup.py", line 18, in build_csrc
    subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-udrMk2/csrc']' returned non-zero exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /home/ybb/.virtualenvs/py27/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"'; file='"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-8uY14h/install-record.txt --single-version-externally-managed --compile --install-headers /home/ybb/.virtualenvs/py27/include/site/python2.7/dirt Check the logs for full command output.

See #17, you need to find libEGL.so and add to CMAKE_LIBRARY_PATH

I have done what you said, but there is a problem.
I found libEGL.so as follows
lrwxrwxrwx 1 root root      19 5月   6  2019 /usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.13 -> libGLEWmx.so.1.13.0
-rw-r--r-- 1 root root  448632 11月 10  2015 /usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.13.0
lrwxrwxrwx 1 root root      17 5月   6  2019 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13 -> libGLEW.so.1.13.0
-rw-r--r-- 1 root root  514176 11月 10  2015 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13.0
lrwxrwxrwx 1 root root      13 6月  10 17:02 /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so
-rw-r--r-- 1 root root  911218 10月 24  2015 /usr/lib/x86_64-linux-gnu/libGLU.a
lrwxrwxrwx 1 root root      15 10月 24  2015 /usr/lib/x86_64-linux-gnu/libGLU.so -> libGLU.so.1.3.1
lrwxrwxrwx 1 root root      15 5月   6  2019 /usr/lib/x86_64-linux-gnu/libGLU.so.1 -> libGLU.so.1.3.1
-rw-r--r-- 1 root root  453352 10月 24  2015 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
lrwxrwxrwx 1 root root      21 2月  12  2019 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5 -> libQt5OpenGL.so.5.5.1
lrwxrwxrwx 1 root root      21 2月  12  2019 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5.5 -> libQt5OpenGL.so.5.5.1
-rw-r--r-- 1 root root  362752 2月  12  2019 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5.5.1
lrwxrwxrwx 1 root root      20 4月   5  2016 /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 -> libQtOpenGL.so.4.8.7
lrwxrwxrwx 1 root root      20 4月   5  2016 /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4.8 -> libQtOpenGL.so.4.8.7
-rw-r--r-- 1 root root 1052024 4月   5  2016 /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4.8.7
but the guide is as follows
You should ensure that libGL and libEGL are in a location on LD_LIBRARY_PATH, and that these are the versions shipped with your Nvidia driver. In particular, if you have installed Mesa or Hybris, their libGL or libEGL may be used (or may even have overwritten the Nvidia versions), and these will not work with DIRT
Now i do not know how to solve.I have export the adress of libEGL.so to CMAKE_LIBRARY_PATH
,but still exist the same problems

The libraries you listed there are from mesa and/or other packages, not from the nvidia driver. Run ls -l /usr/lib/*/*GL*, and that should include some entries with _nvidia in the name, and including libEGL.so.1. If you are using recent Ubuntu, the folder is probably /usr/lib/nvidia-XXX where XXX is your nvidia driver version.
Once you found that folder, set environment variable LIB accordingly, e.g. export LIB=/usr/lib/nvidia-384 before running pip install.
If this still doesn't work, install DIRT in development mode, as described in the README, and run cmake -D_OPENGL_LIB_PATH=/usr/lib/nvidia-384 (or whatever version number).

Thank you very much for your answer, because my graphics card driver was manually installed before, it shows that the installation is successful, the version is nvidia-430, but I did not find nvidia-430 in /usr/lib

if i installl in development mode,it still have a problem.

I am sorry to trouble you again.
In development mode

I can't find the relevant answer on this question online. I really look forward to your reply.

ls -l /usr/lib/*/*GL* should show the nvidia GL libraries, regardless of whether you used the ubuntu package or nvidia runfile installer.
For the last problem, see the troubleshooting notes in the README; you need to run cmake with -DCMAKE_CUDA_FLAGS='-DNDEBUG'. I'll change this in master soon, as lots of people have the same problem (really it's a bug in tensorflow).

ls -l /usr/lib/*/GL  do not show the nvidia GL libraries.But Nvidia graphics driver does show successful installation.So I have to install in development mode.I set  DCMAKE_CUDA_FLAGS='-DNDEBUG as you said.

As you can see, I did this, but I don’t know if it’s right.
Then i make .

As shown in the figure, because the code is too long, I intercepted a part, and the compilation was reported at 57 percent. It was 14 percent before.I really appreciate your patience in answering my question！

For the NDEBUG change, you need to still have the original flags too. So change that line 40 to set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -arch=sm_30 --expt-relaxed-constexpr -DNDEBUG") instead of commenting it.

Thank you very much for your help. I seem to have successfully installed the dirt, but there was something wrong with the verification.

It's not finding libEGL correctly at runtime (it may or may not have found the right version at build time). What is the full output of ls -l /usr/lib/*/*GL* and ldd dirt/librasterise.so (run from dirt folder)? That'll show (i) what GL libraries you have, and (ii) which DIRT is trying to load. Also, please check the value of EGL_LIBRARIES in build/CMakeCache.txt.

I think I may have set some wrong places here, but I am not sure where the mistake is.

I think I may have set some wrong places here, but I am not sure where the mistake is.

First, the path to libEGL is as follows:

So I have to install in development mode.
when i use cmake,the value of EGL_LIBRARIES need to add.
So I added the absolute path to its location.
As you said，i also add cmake -D_OPENGL_LIB_PATH=/usr/lib/nvidia-384

I think I may have problems with the path settings of these variables. I hope you can tell me where the error is. I am grateful.

The Nvidia GL/EGL libraries seem to be missing entirely. Do you have a folder /usr/lib/x86_64-linux-gnu/nvidia/? That is another possible (non-standard) location on some machines.
Reinstalling the nvidia driver package should add them. DIRT will not work with the versions that you have installed currently (which are from Qt and mesa packages).

I think I probably know where the problem is. I chose –no-opengl-files when I installed the Nvidia graphics driver, because NVIDIA drivers will install OpenGL by default, and the Ubuntu kernel itself has OpenGL and is closely related to the GUI display. Once NVIDIA's driver overwrites OpenGL, it causes problems when the GUI needs to dynamically link OpenGL libraries. Then I don't know what to do when I reinstall the NVIDIA graphics driver, because not installing the OpenGL file will cause the login interface to circulate.

@yangbiaobiao500
That will certainly be why you have a problem. DIRT strictly requires nvidia's OpenGL/EGL -- there is no way to avoid this, as it uses nvidia-specific extensions to interoperate efficiently with tensorflow.
In practice, for modern versions of Ubuntu, both the apt and nvidia packages for the driver work correctly with OpenGL on all systems I have tried -- I don't know why you have had issues.

I am very sorry to bother you again, I have reinstalled the nvidia driver, but the results have not changed.

for collected packages: dirt
Building wheel for dirt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/ybb/.virtualenvs/py27/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"'; file='"'"'/tmp/pip-req-build-udrMk2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-TPRh9h --python-tag cp27
cwd: /tmp/pip-req-build-udrMk2/
Complete output (47 lines):
running bdist_wheel
running build
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 10.0.130
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Found OpenGL: /usr/lib/x86_64-linux-g

I had the same problem, how did you solve it?

I seem to have the same problem as you. Where the setup does not find the correct EGL lib files:
Building wheels for collected packages: dirt
  Building wheel for dirt (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/zal/anaconda3/envs/octopus/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-b23xu1f0/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-b23xu1f0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2w8q2hvl --python-tag cp37
       cwd: /tmp/pip-req-build-b23xu1f0/
  Complete output (96 lines):
  running bdist_wheel
  running build
  -- The CXX compiler identification is GNU 7.4.0
  -- The CUDA compiler identification is NVIDIA 9.1.85
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Check for working CUDA compiler: /usr/bin/nvcc
  -- Check for working CUDA compiler: /usr/bin/nvcc -- works
  -- Detecting CUDA compiler ABI info
  -- Detecting CUDA compiler ABI info - done
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  found components:  OpenGL EGL

This makes the compilation to break with the following segfault:
[ 71%] Building CXX object CMakeFiles/rasterise.dir/shaders.cpp.o
  Segmentation fault (core dumped)
  CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed
  make[2]: *** [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 139
  make[2]: *** Waiting for unfinished jobs....
  Segmentation fault (core dumped)
  CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
  make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 139
  CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
  make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
  Makefile:83: recipe for target 'all' failed

I looked for the nvidia EGL libs, and found they are in the same path as libOpenGL /usr/lib/x86_64-linux-gnu/. For this reason I decided to create a new dir at /usr/lib/nvidia-440 (as my nvidia driver is 440.44), and copy all the nvidia files there. My file listing in that new folder is:
ll /usr/lib/nvidia-440
.rw-r--r--  16M root  1 Jan 18:24 libcuda.so.440.44
.rw-r--r-- 1.3M root  1 Jan 18:24 libEGL_nvidia.so.440.44
.rw-r--r--  63k root  1 Jan 18:24 libGLESv1_CM_nvidia.so.440.44
.rw-r--r-- 111k root  1 Jan 18:24 libGLESv2_nvidia.so.440.44
.rw-r--r-- 1.1M root  1 Jan 18:24 libGLX_nvidia.so.440.44
.rw-r--r-- 3.2M root  1 Jan 18:24 libnvcuvid.so.440.44
.rw-r--r-- 402k root  1 Jan 18:24 libnvidia-cbl.so.440.44
.rw-r--r-- 200k root  1 Jan 18:24 libnvidia-cfg.so.440.44
.rw-r--r--  49M root  1 Jan 18:24 libnvidia-compiler.so.440.44
.rw-r--r--  26M root  1 Jan 18:24 libnvidia-eglcore.so.440.44
.rw-r--r--  99k root  1 Jan 18:24 libnvidia-encode.so.440.44
.rw-r--r-- 386k root  1 Jan 18:24 libnvidia-fatbinaryloader.so.440.44
.rw-r--r-- 135k root  1 Jan 18:24 libnvidia-fbc.so.440.44
.rw-r--r--  28M root  1 Jan 18:24 libnvidia-glcore.so.440.44
.rw-r--r-- 682k root  1 Jan 18:24 libnvidia-glsi.so.440.44
.rw-r--r--  11M root  1 Jan 18:24 libnvidia-glvkspirv.so.440.44
.rw-r--r-- 207k root  1 Jan 18:24 libnvidia-ifr.so.440.44
.rw-r--r-- 1.5M root  1 Jan 18:24 libnvidia-ml.so.440.44
.rw-r--r--  29M root  1 Jan 18:24 libnvidia-opencl.so.440.44
.rw-r--r--  40k root  1 Jan 18:24 libnvidia-opticalflow.so.440.44
.rw-r--r-- 8.9M root  1 Jan 18:24 libnvidia-ptxjitcompiler.so.440.44
.rw-r--r--  33M root  1 Jan 18:24 libnvidia-rtcore.so.440.44
.rw-r--r--  14k root  1 Jan 18:24 libnvidia-tls.so.440.44
.rw-r--r--  94M root  1 Jan 18:24 libnvoptix.so.440.44

However, despite of setting up the flags as proposed in this solution, while building it still finds the EGL files to be at the original OpenGL folder /usr/lib/x86_64-linux-gnu/. I think the problem might come from the csrc/CMakeLists.txt on line 9:
 find_library(EGL_LIBRARIES NAMES egl EGL REQUIRED)

I do not know how to make this to actually point toward my nvidia library folder /usr/lib/nvidia-440. Can someone help me with this? Am I in the right direction? Thank you!


user_test.go TestUsersUpdatePassword doesn't verify the new password.

Please also check other test cases to avoid similar issues.

#972
#969
#1080


Initial pages

Populate the boilerplate site with initial content.

@marxian @Felienne - I used a static site generator template to build a site.
Future pages & posts (if we want them) can be generated as markdown.
I have added:

landing page content at content/index.md
a blog post content/blog/reflections.md and a draft blog post content/blog/draft.md as examples

I am happy for this to go live on the gh-pages url and incrementally improve - if you are.


Remove quotes so tilde is expanded

Some applications (leksah, ghcjs, which, ...) cannot use a path if ~ is not expanded by bash.

I agree, changed it.

chris@retina:~$ export PATH="\$HOME/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.4/bin:\$PATH"
chris@retina:~$ echo $PATH
$HOME/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.4/bin:$PATH
chris@retina:~$ ls
Command 'ls' is available in '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found

This seems rather incorrect. It seems to me either the quotes and escape codes should be removed and ~/ left as-was, or don't escape the $ in $HOME and $PATH.

The escaping is necessary, test it like in the script:
jacco@xw4600:~$ cat >> ~/.bashrc <<EOF
export PATH="\$HOME/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.4/bin:\$PATH"
EOF
jacco@xw4600:~$ tail -1 ~/.bashrc
export PATH="$HOME/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.4/bin:$PATH"

(it is part of cat)

So the quotes could be dropped, but escaping the variables is necessary. In any case, I think it would be best to fix this soon to save other Ubuntu users from headaches :)

When do you think the site could be redeployed?

Whenever the admins feel like it. :)

done! :+1:


Adetailer doesn't work

For some reason Adetailer isn't working today. Build on Paperspace.

try pip install ultralytics==8.2.0


CURRENT_TIMESTAMP is "Invalid default value" for MySQL 5.7

Version 0.10.7 of Phinx does not seem to support CURRENT_TIMESTAMP as a valid default for a column of type datetime in MySQL 5.7. I know there are several related issue reports and StackOverflow posts for this error for prior versions of MySQL, but I am definitely using 5.7. I think this may be a regression, because the exact same code ran successfully when I downgraded Phinx from to 0.8.1.
Here is the code that defines my first table:
        $tables[] = $this->table('users', array_merge($defaults, [
            'primary_key' => 'user_id',
            'comment'     => 'User accounts',
        ]))
            ->addColumn('user_id', 'biginteger', [
                'limit'  => 20,
                'signed' => false,
            ])
            ->addColumn('email', 'string', ['limit' => 254])
            ->addColumn('mobile', 'string', ['limit' => 254])
            ->addColumn('first_name', 'string', ['limit' => 254])
            ->addColumn('last_name', 'string', ['limit' => 254])
            ->addColumn('created', 'datetime', ['limit' => 6, 'default' => 'CURRENT_TIMESTAMP'])
            ->addColumn('updated', 'datetime', ['null' => true, 'limit' => 6, 'update' => 'CURRENT_TIMESTAMP'])
            ->addColumn('deleted', 'datetime', ['null' => true, 'limit' => 6])
            ->addIndex('created')
            ->addIndex('updated')
            ->addIndex('deleted');

Output when running 0.10.7:
vendor/bin/phinx migrate -e development
Phinx by CakePHP - https://phinx.org. 0.10.7

using config file ./phinx.yml
using config parser yaml
using migration paths
 - /my/project/path/db/migrations
using seed paths
using environment development
using adapter mysql
using database alerts

 ==<PHONE_NUMBER>1346 NewDb: migrating
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'created' in /my/project/path/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:167
Stack trace:
...

Downgrade:
Downgrading robmorgan/phinx (0.10.7 => v0.8.1): Loading from cache

Run again with same config:
$ vendor/bin/phinx migrate -e development
Phinx by Rob Morgan - https://phinx.org. 0.8.1

using config file ./phinx.yml
using config parser yaml
using migration paths
 - /my/project/path/db/migrations
using seed paths
using environment development
using adapter mysql
using database alerts

 ==<PHONE_NUMBER>1346 NewDb: migrating
 ==<PHONE_NUMBER>1346 NewDb: migrated 0.2011s

All Done. Took 0.2232s

Snippet for development environment from phinx.yml:
    development:
        adapter: mysql
        host: <IP_ADDRESS>
        name: alerts
        user: '%%PHINX_USER%%'
        pass: '%%PHINX_PASS%%'
        port: 3306
        charset: utf8

Can you show the output with --dry-run ?

@lorenzo Thank you for responding. Version 0.8.1 does not support that flag. Below is the output from 0.10.7. There are no errors with the --dry-run flag.
I had to manually create the table phinxlog manually to get the migration to run at all on an empty DB.
$ vendor/bin/phinx migrate -e development --dry-run
Phinx by CakePHP - https://phinx.org. 0.10.7

using config file ./phinx.yml
using config parser yaml
using migration paths
 - /my/project/path/db/migrations
using seed paths
using environment development
using adapter mysql
using database alerts

 ==<PHONE_NUMBER>1346 NewDb: migrating
START TRANSACTION
CREATE TABLE `users` (`id` INT(11) NOT NULL AUTO_INCREMENT, `user_id` BIGINT(20) unsigned NOT NULL, `email` VARCHAR(254) NOT NULL, `mobile` VARCHAR(254) NOT NULL, `first_name` VARCHAR(254) NOT NULL, `last_name` VARCHAR(254) NOT NULL, `created` DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated` DATETIME(6) NULL ON UPDATE CURRENT_TIMESTAMP, `deleted` DATETIME(6) NULL, PRIMARY KEY (`id`),  KEY (`created`),  KEY (`updated`),  KEY (`deleted`)) ENGINE = InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT='User accounts';

...

COMMIT
INSERT INTO `phinxlog` (`version`, `migration_name`, `start_time`, `end_time`, `breakpoint`) VALUES ('20190507201346', 'NewDb', '2019-05-09 20:20:36', '2019-05-09 20:20:36', 0);
 ==<PHONE_NUMBER>1346 NewDb: migrated 0.0133s

All Done. Took 0.0468s

Does that ref https://github.com/cakephp/phinx/pull/1553 ?


It does not work if root layout is CoordinatorLayout.

It does not work if root layout is CoordinatorLayout.

It's my problem . Sorry !


Mui table how to set horizontal scroll?

the table.js
bodyTable: {
height: this.props.fixedHeader || this.props.fixedFooter ? this.props.height : 'auto',
overflowX: 'hidden',
overflowY: 'auto'
},
How can we change overflowX ?

May be It does support change the table overflowX.

now workaround way:
componentDidMount() {
$('.mui-body-table').css('overflow-x', 'auto');
}

It doesn't look like there's a way to override it in the code:
https://github.com/callemall/material-ui/blob/master/src/table/table.jsx#L90
But I'll try your workaround. Thanks

I got it by passing to Table component via props:
bodyStyle: { overflowX: undefined, overflowY: undefined }
But it disable the fixedHeader :(


[Feature Request] Always Allow Feature in Receive

Add option to "Remeber Device" or "Always Allow" or "Trusted Device" to receiving the files.

I don't know how to reliably identify devices.


Duplicate bound attributes should flow through as unbound attributes.

If you have a TagHelper with duplicate (same name) attributes only the first attribute gets added to TagHelperContext.AllAttributes. Ex:
<myTagHelper abc="..." ABC="..." />

Today the second one ABC is ignored completely. Instead it should flow through to the output as if it were unbound.

Same thing happens even when the attribute names have identical case e.g.
 <myTagHelper name="value1" name="value2" />

Only the first name / value pair (containing "value1") will be in AllAttributes.

0bb9457fd97c81c2e1a285dd9825b618f2755272


build(deps): bump strapi from 4.9.1 to 4.9.2

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


Wildcard for mimetypes_by_file_ext?

I am trying to create a config.yml for a specialized format as instructed here: https://blueskyproject.io/tiled/explanations/specialized-formats.html
However, in this format files of the same type have a variety of different extensions simply because the '.' character is used in these files for another kind of information, not an actual extension.
For example some of my files look like this:
polymer_10_new_Ck150V.2050
polymer_10_new_Ck150V.3050
polymer_10_new_Ck150V.4050
but they are all the same data format.
Additionally, there are two files in this directory that have the extension ".log"
I would like to create an adapter for the .log files and then a separate adapter for all the rest.
Are there any wildcards that I can use in the yaml field mimetypes_by_file_ext?

I think that the proposal in https://github.com/bluesky/tiled/issues/175#issuecomment-1045192375 (not yet implemented) would address this. I'll implement it soon and ask you to give it a try if you don't mind.


Using in XCode9 Beta

I am receiving the following error in XCode9 Beta
Undefined symbols for architecture arm64:
  "FTTextureFont::FTTextureFont(char const*)", referenced from:
      -[ImageTargetsEAGLView renderFrameWithState:projectMatrix:] in ImageTargetsEAGLView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas?

I am following the install instructions on Xcode 9 Beta and get some inconsistencies:
Locate the "ftgles.xcodeproj" file under the folder "ftgles" inside the directory you "git cloned" or downloaded the project into. Drag ftgles.xcodeproj and drop it onto the root of your Xcode project's "Groups and Files" sidebar. **A dialog will appear -- make sure "Copy items" is unchecked and "Reference Type" is "Relative to Project" before clicking "Add".**
No, a dialogue does not appear for this. However, they do not seem to be copied to the directory, so I am assuming they are linked.
Now you need to link the libFTGLES static library to your project. Click the "ftgles.xcodeproj" item that has just been added to the sidebar. **Under the "Details" table, you will see a single item: libFTGLES.a. Check the checkbox on the far right of libFTGLES.a. Alternatively, drag libFTGLES.a to your target's "Link Binary With Libraries" section.**
No, I do not see a "Details" table. Is this still there in Xcode 9?
Now you need to add libFTGLES as a dependency of your project, so Xcode compiles it whenever you compile your project. **Expand the "Targets" section of the sidebar and double-click your application's target.** Under the "General" tab you will see a "Direct Dependencies" section. Click the "+" button, select "libFTGLES", and click "Add Target".
No, there is no Targets section. Do you mean "Target Membership"?


add Armadillo-IoT GW A6 DoorsMonitor's model v2

Company Info
Atmark Techno, Inc.
https://www.atmark-techno.com/
IoT Plug and Play Device Info
Armadillo-IoT GW A6 doors monitor configuration
https://armadillo.atmark-techno.com/armadillo-iot-a6
Model Submission Goals
Device certification
Code Owners & Reserved Names

Would you merge approved changes?


[Bug Report] Spotify support not working

Bug Description
After properly setting my client ID and secret on the config file, the bot does search for the songs, but it won't play them.
Steps to Reproduce

Download the .jar or compile from source code
Create an application on spotify
Set my client ID and secret on the config file
Use the command spsearch  or play
The bot finds the song but remains in silence

Expected Result
Just play the music
Debug Output

Additional Info
No response
Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am running the latest version of the bot:

Is this still an issue with the new release file? I've updated the libraries and added login support
Note: it will now ask for logging in to youtube on first startup, use an alt account for that. Did not add a way to skip it (yet)


Image FitXYZ?

Please complete the following information:

Library Version [e.g. v1.0.0]
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]

Describe the Bug:
Using the CoilImage
I can't get the image to load full size in box?
CoilImage(
imageModel = { dataRows.random() },
component = rememberImageComponent {
// shows a shimmering effect when loading an image.
+ShimmerPlugin(
baseColor = background800,
highlightColor = shimmerHighLight
)
},
imageOptions = ImageOptions(
contentScale = ContentScale.FillWidth.  Tried all types
alignment = Alignment.Center                  tried to remove this.
)
)
Add a clear description about the problem.
Expected Behavior:
A clear description of what you expected to happen.

You should pass Modifier properly.
modifier = Modifier.fillMaxSize()

ah ok il try it thx


add option to disapprove recipe for moderators

drop down with option to make private, make public, make public and request approval, approve(for moderators), disapprove(for moderators)


openpose not working after installing ControlNet 1.119

when setting preprocessor to openpose and model to control_v11p_sd15_openpose appears this error:
Loading model from cache: control_v11p_sd15_openpose [cab727d4]
Loading preprocessor: openpose
preprocessor resolution = 512
Error running process: E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "E:\AI\stable-diffusion-webui\modules\scripts.py", line 417, in process
script.process(p, *script_args)
File "E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1223, in process
detected_map, is_image = preprocessor(input_image, res=preprocessor_resolution, thr_a=unit.threshold_a, thr_b=unit.threshold_b)
File "E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\processor.py", line 211, in run_model
return self.model_openpose(
TypeError: OpenposeDetector.call() got an unexpected keyword argument 'json_pose_callback'
I've tried to find existing problem with this but failed to. Rest of the models seems to work fine.

I’m having a similar problem where controlnet won’t detect poses, it will return a void image. I saw that .150 is still able to detect poses. Is there a way to roll back to an earlier version?


[proposal] snippet for gitlab

Is your feature request related to a problem? Please describe.
my company uses gitlab, is there a way to use very_good_coverage in gitlanCI ?
Describe the solution you'd like
A snippet to add in gitlab's yaml
Describe alternatives you've considered
look elsewhere

Hi @aoatmon 👋
Really good question! As of now, very_good_coverage is strictly a GitHub Action written in JS; however, in the past, we also created this lcov-cop solution. You can get the necessary bash script from entrypoint.sh and use it on Gitlab.

@jorgecoca
thank you, I'll try it out
closing for now


Update build-system tools

Hi @alandefreitas,
Thank you for making pareto available!
Current pareto repository won't build on OSX/arm due to CATCH_TRAP issue in pareto's Catch2 version lacking support for instruction set.
PR will updates CPM, Catch2, pybind11 to use recent release versions. More recent CMake version would also make cotire obsolete.
Builds and tests fine on recent OSX arm.
Also tested python bindings:

3.9.10
3.9.11

Oh... Nice.

The PR looks excellent. It's not passing CI, but that's not the fault of this PR. CI is unmaintained. Let me know if you think this is good to go or if you want to look at CI first. It's up to you. Thanks.

Hi @alandefreitas,
sorry I've been busy the last few days but I will try to PR a fix for CI as soon as I have some time to figure out why Windows builds currently segfault on my branch (https://github.com/goraj/pareto/actions/runs/9481171577/job/26123365116).


Support python3

Looks like this would be fairly easy. There's even a fork that seems to already be working on this.

This should be supported in our fork that we plan to maintain: https://github.com/freelawproject/jsondate3-aware


Performance/RegexpMatch not safe for variables that may be numeric

Numerics can be used with =~ operator but not be used as argument for #match?
The code transformation applied can break the code.

For example if it takes a file with this content:
def has_an_o?(arg)
  if arg =~ /o/i
    true
  else
    false
  end
end

has_an_o?("one") # => true
has_an_o?(1) # => false

The file contents is turned into this
def has_an_o?(arg)
  if /o/i.match?(arg)
    true
  else
    false
  end
end

has_an_o?("one") # => true
has_an_o?(1) # => :2:in `match?': no implicit conversion of Integer into String (TypeError)

Which breaks as seen above.
RuboCop version
1.50.2 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.1, running on ruby 3.0.6) [x86_64-darwin22]

rubocop-performance 1.14.3
rubocop-rails 2.15.2

Note, the behavior of Object#=~ has changed in Ruby 3.2:
$ ruby -ve '42 =~ /regexp/'
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-darwin19]
-e:1: warning: deprecated Object#=~ is called on Integer; it always returns nil

$ ruby -ve '42 =~ /regexp/'
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin19]
-e:1:in `<main>': undefined method `=~' for 42:Integer (NoMethodError)

Ah, that's really good to know.
I will get to adjust that before get to version 3.2.
My config is set to 3.0 for now, though. I am using:
AllCops:
  TargetRubyVersion: 3.0

Would there be a way to mark a cop conditionally safe by TargetRubyVersion or is this a bad idea somehow?
I do understand it will be better getting the code shape to be ready for future versions, but I believe as me most developers may be disappointed by the tool when we are trying to get things right and the tool works against it.
BTW, I am asking if it is a good or bad idea so I dig further and help making a PR. I took a quick look at the code and it will take me a while to get there. I am just trying to save my time if it may be a silly idea.


AE - version change of sequence doesn't work

Loading a sequnce of files in AE works, but version change doesn't, it loads only single file.

Closed by #352


[BUG] Issue with longer thing names

Apart from the thing name length issue described in this other issue: [Feature Request] Misleading default config for otaconfigMAX_THINGNAME_LEN, there is another limit to thing name length in this code.
In ota-for-aws-iot-embedded-sdk/source/ota_mqtt.c, the thing name is added into string pPayloadParts[ 3 ], which is part of a message published to AWS topic $aws/things/[thing_name]/jobs/notify-next that ends up something like {"clientToken":"[decimal_value_of_reqCounter_in_a_string]:[thing_name]"}. Since the decimal value of reqCounter can be up to 10 characters, the  thing name can only be 64 - 10 -1 = 53 chars before there is (potentially) a problem with this request, as AWS complains (and does not send back the requested data) if a client token longer than 64 characters is used.
If the intention is to place a unique value in clientToken (to tie the request and response together), then surely the value of reqCounter is sufficient, without also including the thing name?
As a side note, the value of reqCounter is turned into a decimal string using function stringBuilderUInt32Decimal(), which returns an empty string when it is sent a value of 0, rather than "0", as might be expected.
That function may cause issues for other uses of the function, such as with versionMajorString, versionMinorString and versionBuildString.
Tested on an ESP32.

Hello @LozGMK,
Thank you for bringing this to our attention. I'll inform the development team about this and will get back to you soon.
Thank you for your patience,
Aniruddha

@dachalco and @LozGMK,
I have created a PR to fix the string builder issue: https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/461 can you please take a look?

I've had a look, put the same fix into my own code, and it seems to work fine.

Were there any thoughts on the other issues?
Just to clarify, those are:

that there is a misleading (and excessively limiting) default config value for otaconfigMAX_THINGNAME_LEN, limiting thing name length (value should be 128 - I think this is specified in two places in the code, though one may be #defined out)
that adding the thing name to the client token sent to AWS (added into string pPayloadParts[ 3 ], and published to AWS topic $aws/things/[thing_name]/jobs/notify-next, in file ota_mqtt.c), in the OTA demo, further limits the thing name length (no real need to add the thing name - use some other short string instead)

Regarding the thingname length restriction, I agree with you and the bug filed by @dachalco. This should match the maximum length defined by AWS IoT Core.
As for adding the string name to the client token, I think a happy middle ground might be truncating the ThingName down to the first 53 (or fewer) characters so that the client token length restriction is never longer than the allowed 64 characters.

I'm putting together a pull request (#468) to take a crack at fixing this. I have a couple more fixes to do - notably because I haven't worked with CMBC proofs before - and likely tweak my coding style a bit. I'll drop an update here when this is merged.

PR https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/468 to correct the thingname length is accepted and merged. PR https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/475, which fixes the integer to string conversion is submitted. I'm going to close this out as I expect this PR to be approved shortly.


Does not works from Windows\Webstorm

Windows+ Webstorm + Node v10.13.0:
Toolbox\apps\WebStorm\ch-0\182.5107.19\bin\runnerw.exe[17120]: src\node_file.cc:1599: Assertion `args[1]->IsInt32()' failed.
1: 000000013FEFECE5
2: 000000013FED8196
3: 000000013FED8261
4: 000000013FE9D557
5:<PHONE_NUMBER>702E52
6:<PHONE_NUMBER>7042ED
7:<PHONE_NUMBER>703349
8:<PHONE_NUMBER>70322B
9:<PHONE_NUMBER>65C5C1
but works from command line.
Hint earlier I used keypress it worked from Webstorm, but It blocked exiting my program

Hi @ujja, thank you for the comment.
So, do you mean that you executed a command in the terminal that was opened from WebStorm?
And, what is the terminal? i.e. What did you specify as terminal in WebStorm?
Also, could you show the command?

Hello @anseki,
If I use the webstorm terminal, and start "per hand", then it works. But if I start it in debug mode, then it does not work.

I see.
It seems that you called readlineSync in the environment that has no TTY, or TTY is disabled in the environment.
Since readlineSync is a module to read/write TTY, of course it doesn't work in environment that has no TTY.
See document: https://github.com/anseki/readline-sync
Therefore the error should be thrown, and that is correct and expected behavior.

ok, thank you!

:smile:


[FEATURE]  (styling)

Description
As I recently asked on Tailwind UI's discord, I have a styling issue for #59 with this Tailwind UI component.

Note: looks like these two commits fixed almost everything except for a few minor font differences:
https://github.com/ykdojo/defaang/commit/384436e0874019648c1258c8172f301e2c9165db
https://github.com/ykdojo/defaang/commit/9d1d8cdc962cade242d282a8fca013404d0111d3

Note: looks like these two commits fixed almost everything except for a few minor font differences:
384436e 9d1d8cd

Could you please elaborate on what font differences you're experiencing?

It's not a huge deal, but the font looks slightly different:

the fonts look slightly different, though?

the fonts look slightly different, though?

Oh no, that's an entirely different font-family. Let me dig into it.

I ended up asking Adam Wathan, the creator of TailwindCSS.

Essentially we need to add this:
html {
    font-feature-settings: 'cv03','cv04','cv11';
}

cool!
so we just need to add that in global css right?

Yes. I think the base layer in TailwindCSS would be an appropriate place to add it.
Let me send a PR.


Calling Disconnect() fails with error "not connected"

After connecting to a MQTT broker, I call Disconnect() and get the error "not connected". I then checked the implementation of the Disconnect() method.
if !c.lastRx.IsZero() {
    return errors.New("not connected")
}

Shouldn't the if-statement be like if c.lastRx.IsZero() { ... }?

Thanks for pointing that out. For my use case, a simple client implementation, this library is exactly what I was looking for. I've also implemented the basic message sequences for the different QoS levels already and it works nicely.

@brutella Is your implementation public?

No, the client is integrated into a private repo. Are you interested in the implementation?

I can confirm I would be interested in the implementation if it is not too much of a hassle for you.


Polysite Billing Calculations Need Some Adjustments

There are some weird issues with how the dev costs were being calculated for the poly sites.
// Poly Sites get two free dev environments per lot of 10 polysite groups
// See IDGSDF in BillingCalculations.test.ts
// EXAMPLE:   8 projects w/ 720 hours each dev site :
//            total dev hours = 720 * 8 ->  5760
//            Included free hours =  (1 x (720 x 2)) -> 1440
//            Dev Site Per Hour Cost = 0.0139
//            (5760 - 1440) * 0.0139 = 60.05

Solved in new billing system


🚀 [Feature]: My (simple) SSEFiber Package (for featuring on extensions page)

Feature Description
A very simple package to add SSE support for fiber
https://github.com/jsorb84/ssefiber
https://pkg.go.dev/github.com/jsorb84/ssefiber
Additional Context (optional)
No response
Code Snippet (optional)
// Example of usage, see package links for more info

package main

import (
"github.com/gofiber"
"github.com/jsorb84/ssefiber"
)

func main() {
  app := fiber.New(...)
  sse := ssefiber.New(app, "/sse")
  channelOne := sse.CreateChannel("Channel One", "/one") // /sse/one
  channelOne.SendEvent("name", "data")
}

Checklist:

[X] I agree to follow Fiber's Code of Conduct.
[X] I have checked for existing issues that describe my suggestion prior to opening this one.
[X] I understand that improperly formatted feature requests may be closed without explanation.

@jsorb84 Can you submit a PR to list your middleware on this repo?


Dates before year 1900 stored in Oracle as one hundred years earlier.

Observed on table with TIMESTAMP column type.
tm_year component of std::tm structure is negative then. The solution is to use Euclidean modulo instead of % operator when converting from std::tm to Oracle type..

Sorry, not on a Oracle expert by any means, so I don't really know what's going on here. If you can propose a PR fixing this, please do.


Conversion to Swift 4.2 is available

I'm running the latest Xcode Version 10.0 (10A255) and I'm using DeviceKit 1.8.1.
Podfile.lock
- DeviceKit (1.8.1)

The Swift language version is 4.2.
Xcode continues to tell me I should update it:

Any idea?

Hi @flexaddicted , thanks for reporting this, I will look into it!

I see two SWIFT_VERSION = 4.0; and two SWIFT_VERSION = 4.2; in the project file
Could we set all to 4.2?
ps: 4.0 is in general Project and the test target

We should yes. I'll do that now and try to release a new version with your other change :) Thanks so much for working on that!

This should be fixed with 53a1b35a58b9f084795a1a05dff47a8d14aa5698


spec-data/readonly/biblio/biblio-rf.data not updated?

spec-data/readonly/biblio/biblio-rf.data does not have an entry for eg RFC8949, yet the latter exists in https://www.specref.org/?q=8949

hm.  so https://raw.githubusercontent.com/tabatkins/bikeshed/master/bikeshed/spec-data/readonly/biblio/biblio-rf.data does not contain RFC8949, AFAICT.
However, after I locally did a bikeshed update --skip-manifest  it appears I now have proper data wrt RFC8949:
Source file modified. Rebuilding...
FATAL ERROR: Obsolete biblio ref: [rfc7049] is replaced by [rfc8949].
FATAL ERROR: Obsolete biblio ref: [rfc7049] is replaced by [RFC7049].
 ✔  Successfully generated, with warnings

...weird.

The built-in data files are only updated occasionally, when I think of it (and have the time to then verify that the changes in the test files are expected). So it's not unusual to run into this situation; I assume 8949 is a relatively recent publication?
(This is why all the instructions for running Bikeshed have you run bikeshed update immediately, too.)

thx @tabatkins

I assume 8949 is a relatively recent publication?

Yes.


Methods Missing From LighHandler in Python

Hi There,
Running below command...
import MaterialX.PyMaterialXRender as mx_render
light_handler = mx_render.LightHandler.create()
for i in dir(light_handler):
     print(i)

Gives the following output...
__...__
addLightSource
computeLightIdMap
create
findLights
getEnvIrradianceMap
getEnvRadianceMap
getLightIdentifierMap
getLightSources
registerLights
setEnvIrradianceMap
setEnvRadianceMap
setLightSources

although, PyMaterialXRender does have all methods listed:
https://github.com/materialx/MaterialX/blob/3f86b1222e2b82036ea9a86fd9eeaa53c518c1c8/source/PyMaterialX/PyMaterialXRender/PyLightHandler.cpp#L17
Am I missing something (except for the methods...)?

I get this, from current head of main. This is on Windows in case it makes any difference.
addLightSource
computeLightIdMap
create
findLights
getAlbedoTable
getDirectLighting
getEnvIrradianceMap
getEnvRadianceMap
getEnvSamples
getFirstLightOfCategory
getIndirectLighting
getLightIdMap
getLightSources
getLightTransform
registerLights
setAlbedoTable
setDirectLighting
setEnvIrradianceMap
setEnvRadianceMap
setEnvSamples
setIndirectLighting
setLightSources
setLightTransform

That is interesting. I am on Ubuntu 20.04. Is there anything that might have cause this ? I am on latest release tag. is it safe to use latest main ?

It should be, but I don't think anything has changed here for a long while though.
Wondering if it's a PyBind11 issue on Linux as a wild guess. (Unfortunately I don't have a Linux box to try out.)

Thanks, rebuilding from scratch helped.