Wrong syntax highlighting for SQL comments

The syntax highlighting for SQL is probably derived form PowerShell and recognizes # as a start of a comment. However, in SQL comments start with -- and # is used for temp tables (at least in T-SQL). An example of the wrong highlighting is below.
Online example
Source .md file

The markdown tag for the block of code from the example is sql.

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

ID: ee18deab-78f8-757b-eb4b-6717c7809595
Version Independent ID: 202d83ce-0f47-d6ec-02a3-bb46b1460ad8
Content: Use temporary tables with Synapse SQL - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql/develop-tables-temporary.md
Service: synapse-analytics
Sub-service: ****
GitHub Login: @XiaoyuMSFT
Microsoft Alias: xiaoyul

@nikolapeja6 Thanks for the feedback! We are currently investigating and will update you shortly.

#assign:julieMSFT

@nikolapeja6  Hello I have reviewed this issue. Thank you for the feedback. I have filed a work item to have this resolved. I let you know when this has been resolved.

DevOps item https://dev.azure.com/ceapex/Engineering/_workitems/edit/234350

@nikolapeja6 I have filed the bug and will use that work item to track this issue going forward. I will let you know when this has been resolved. For now, I will proceed with closing this issue. The @notification mechanism continues to work even after an item is closed, in case further communication is needed. Thank you for your contribution to Microsoft Docs! We hope to hear from you again.

#please-close

@nikolapeja6 Hi, The bug for the # in the sql colorizer has been fixed. Thank you for your contribution to Microsoft Docs.


Support for Charp Text.Json lib from .net 6 using kotlin as example #1347

I have merged the code for System.Text.Json support from @doggy8088 together with the old newtonsoft based generator using the kotlin code as a guideline/template. see #1347
Changes seem to relatively minor.
I'm making this PR to get feedback. I don't think it will be accepted as is as it is lacking test. I don't know how to add those as I am not a typescript/nodejs/npm developer. It's more or less easy enough to read and understand, but that gets one only so far. The normal newtonsoft code still test succesfully using de test docker stuff. Any pointers on needed stuff to add are welcome Most test succeed, I'm still working on about 18, but they might share a failure mode.
p.s. this is my first PR to a public project, be nice :)

I'd be interested in using this right now, but I have little experience outside my Unity/C# bubble.
Would you be able to tell me how to get this fork setup for myself? I'd really like to be able to generate C# code for System.Text.Json instead of Newtonsoft Json. 🙂

Would love to see this one merged.
It is starting to become a blocker, as other frameworks adopt System.Text.Json and ends up with middleware conflicts.

@bzuidgeest our CI is fixed and this is running now.

@bzuidgeest congratulations and thank you. Thank you @doggy8088 as well.

@dvdsgl Thank you to, it's really nice to know to have been able to add back to a project. Usually I'm just another consumer of code.

Cheers @bzuidgeest! You may want to take a look at #2097 next.

Cheers @bzuidgeest! You may want to take a look at #2097 next.

Already added a comment to that, with an observation


Finished private rating system

DummyTestActivity is an activity only for test purposes. We use this to generate a bundle of a product and add it to this activity's intent in order to navigate to RatingFragment from the RatingFragmentTest.


nginx: Strip off request headers which might affect S3's behaviour.

Clients making requests to Zulip with a Authorization: Basic ... for an upload in S3 pass along all of their request headers to the S3 backend -- causing errors of the form:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  InvalidArgument
  <Message>Only one auth mechanism allowed; only the X-Amz-Algorithm
  query parameter, Signature query string parameter or the
  Authorization header should be specified</Message>
  <ArgumentName>Authorization</ArgumentName>
  <ArgumentValue>Basic ...</ArgumentValue>
  <RequestId>...</RequestId>
  <HostId>...</HostId>
</Error>

Strip off all request headers which AWS reports that S3 may read^1.
Fixes: #30180.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!

Backported in https://github.com/zulip/zulip/pull/31113.


[BUG] kubernetes_state.cronjob.complete service check reporting incorrect check values

We have a monitor set up using kubernetes_state.cronjob.complete service check, which alerts us when N successive jobs of a cronjob have failed. However, we noticed that we were seeing the monitor fire even when we did not have N successive failures. Upon further investigation and after reading the check code, it seems like there may be an inherent bug in how we calculate the check value.
Look at the accumulate method calls here: https://github.com/DataDog/datadog-agent/blob/917318b9604f05d54b92b5121bb8a4ad616113c1/pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go#L193-L199
Both the lastCronJobCompleteAggregator and the lastCronJobFailedAggregator use the same instance of lastCronJobAggregator under the hood and call accumulate on it with the same cronjob name, but operate on different KSM metrics kube_job_complete and kube_job_failed and provide a different service check value. What this means is that instead of aggregating the last job's run status across all job instances, we end up aggregating the last job run status across all the successful jobs (lastCronJobCompleteAggregator.accumulate()) as well as across all the failed jobs (lastCronJobFailedAggregator) separately, but store them on the same accumulator map which is only mapped by the cron job name. This means that depending on which accumulator is called last, we will end up sending that accumulator's check status on flush instead of the real last job's check status.
Agent Environment

Currently running on agent version 7.36.1
Describe what happened:
See explanation above
Describe what you expected:
Would expect the actual last job's status check instead.
Steps to reproduce the issue:
Run a cronjob with successful history limit and failure history limit set to 2. Randomly pass / fail the job. You should see the kubernetes_state.cronjob.complete service check flap.
Additional environment details (Operating System, Cloud provider, etc):
Cloud: Amazon EKS

Hello,
Thank you for reaching out to us. Currently, the KSM check does not have a metric that can be used to determine whether the last N consecutive jobs of a cronjob had failed. Our existing metric only tracks the status of the most recent job of the cronjob. To keep track of this status, we make use of the job name holding a counter, which is incremented following each execution. Unfortunately, we don't exploit the value to track previous jobs.


ENH: Add RPC support

The design is still being threshed out.

Note that, thankfully, there is no real difference between working with this "simpler interface":
@0xbd1f89fa17369103;

# Design kanged from eOn v4 C-style structs
# TODO(rg): Should be more object oriented

struct ForceInput {
 natm   @0 :Int32; # TODO(rg): Do we really need this..
 pos    @1 :List(Float64);
 atmnrs @2 :List(Int32);
 box    @3 :List(Float64);
}

struct PotentialResult {
  energy @0: Float64;
  forces @1: List(Float64);
}

interface CuH2Pot {
  calculate @0 (fip :ForceInput)
    -> (result :PotentialResult);
}

Or this redundant one:
struct Position {
  x @0 :Float64;
  y @1 :Float64;
  z @2 :Float64;
}

struct AtomMatrixRPC {
  positions @0 :List(Position);
}

struct BoxMatrix {
  box @0: List(Vector);
}

struct Vector {
  x @0: Float64;
  y @1: Float64;
  z @2: Float64;
}

struct AtomTypes {
  atomTypes @0: List(Int32);
}

struct PotentialResult {
  energy @0: Float64;
  forces @1: List(ForceVector);
}

struct ForceVector {
  x @0: Float64;
  y @1: Float64;
  z @2: Float64;
}

interface CuH2Pot {
  calculate @0 (positions :AtomMatrixRPC, atomTypes :AtomTypes, boxMatrix :BoxMatrix)
    -> (result :PotentialResult);
}

Which is essentially the design in 0e3d99c and 1dd36ad.
Basically there is no time difference for running two servers.

Command
Mean [ms]
Min [ms]
Max [ms]
Relative

python oclient.py localhost:12345
108.8 ± 12.7
98.9
143.3
1.00

python pyclient.py localhost:12346
109.4 ± 18.3
99.0
182.8
1.01 ± 0.21

Where oclient is the ForceInput variant, and pyclient is the redundant form.
Essentially this seems to suggest that more nested structures are OK, which is better (needs testing of course for buffer size).


MatStepper breaks in MatDialog if selectedIndex is changed while first animations are running

What is the expected behavior?
When a MatStepper is used in a MatDialog, and the user changes tab while first animations are running, then the MatStepper should switch to that tab correctly.
What is the current behavior?
MatStepper breaks if the user changes tab while the first animation is running (500ms) ( but only if it is located in a MatDialog ).
It does not recover from this state, the user is no longer able to switch tabs.
What are the steps to reproduce?
Minimal Stackblitz example
To reproduce the behaviour click on Open No Animations Await Dialog and after that try to switch between tabs.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.2.8
Material 7.3.1
Is there anything else we should know?

thanks to show a workaround at the demo, great

Problem still persists in Material 9.0.0 Demo.

Problem still persists in Material 13.2.4.


kubeflow-lite bundle references to charm-store

Hello,
Deployment of kubeflow-lite with bundle failed with the "argo-controller" not being found.
Pretty sure that's related to the cs -> ch migration, since I was able to fix it overlaying  with the argo-controller referencing ch, i.e.:
  argo-controller:               { charm: ch:argo-controller,         channel: latest/stable, scale: 1 }
I'm using juju version 2.9.22-ubuntu-amd64
There's a proposed PR to workaround this.

Hi @paulomach, thanks for the report. This looks like a transient issue, but just to be sure, do you mind sharing the logs or error msg you are getting when deploying the bundle as well as the steps to reproduce? Logs from juju status or juju debug-log are helpful.
I tried reproducing the issue running juju deploy kubeflow-lite without success.

There was an issue with argo-controller during the migration from Charmstore to Charmhub, this was fixed by the Charmhub team yesterday. Therefore it should not be an issue anymore.
Please reopen if it occurs again.


Is it read only memory or writable functions there?

Which features are read only memory ....

yep

ESP, aimbot can do u make with mouse event, but this source use writememory to aim

@E0x00000 why not make aimbot read  only...?

ESP, aimbot can do u make with mouse event, but this source use writememory to aim

isnt even working.


3774 new binaries introduced into VMR

main build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2449450&view=logs&j=fa5c2909-0e29-5671-d5eb-16d6c40e0c4a&t=2a0bd486-3f67-5c59-da0c-b84d88848a4b
New binaries:
  src/sdk/.dotnet/dotnet
  src/sdk/.dotnet/host/**
  src/sdk/.dotnet/packs/**
  src/sdk/.dotnet/sdk/**
  src/sdk/.dotnet/shared/**
  src/sdk/.dotnet/templates/**
  artifacts/bin/**
  artifacts/obj/**

More information:
NewBinaries.txt
allowed-sb-binaries.txt
allowed-vmr-binaries.txt

@ellahathaway - PTAL. These binaries don't exist in the repo.

Potentially regressed with https://github.com/dotnet/sdk/commit/d5cb00f7dcb79b9cfc6c528f5b574ba4fd5ffd7a?

The BinaryToolKit binaries make sense. I'll add those to the ignore file.
As far as the rest of the binaries, it looks like the Initialize Tooling step of Tag & Scan installs dotnet into src/sdk in order to use darc: Adding to current process PATH: /mnt/vss/_work/1/s/src/sdk/.dotnet To fix that, I'll make the ignored .dotnet/ be **/.dotnet/.

@ellahathaway hm interesting, the --tool-manifest option looks a bit pointless then :)
You can make it work if you run the commands in the src/sdk directory but with the dotnet from the root:
source eng/common/tools.sh
InitializeDotNetCli true

cd src/sdk
../../.dotnet/dotnet tool restore
../../.dotnet/dotnet darc


Fixed javadoc for ObjectId(timestamp, counter) and exception message for ObjectId(timestamp, randomValue1, randomValue2, counter)

The javadoc for ObjectId(timestamp, counter) states that it "Creates an ObjectId using the given time, machine identifier, process identifier, and counter", but the constructor only takes two parameters, timestamp and counter.
The exception message in ObjectId(timestamp, randomValue1, randomValue2, counter) states that "The machine identifier must be between 0 and 16777215", although the exception is thrown when (randomValue1 & 0xff000000) != 0.
When running tests the following two failed:
> Task :driver-scala:integrationTest
Running Test task using scala version: 2.13.6

org.mongodb.scala.gridfs.GridFSObservableSpec > The Scala driver should not create indexes if the files collection is not empty FAILED
    org.scalatest.concurrent.Futures$FutureConcept$$anon$1 at GridFSObservableSpec.scala:280

org.mongodb.scala.gridfs.GridFSObservableSpec > The Scala driver should use the user provided codec registries for encoding / decoding data FAILED
    org.scalatest.concurrent.Futures$FutureConcept$$anon$1 at GridFSObservableSpec.scala:304
<=========----> 75% EXECUTING [17m 19s]
> :driver-scala:integrationTest > Executing test org.mongodb.scala.gridfs.GridFSObservableSpec
> IDLE
> :driver-scala:integrationTest > 986 tests completed, 2 failed, 593 skipped

However, these failures seem to be related to this issue: https://jira.mongodb.org/browse/JAVA-4126, and not to the changes, which were only made to the javadoc and exception message.

Thanks for your contribution, @clara0!


Test "production" container on Travis

This fixes Travis build setup (but not tests).
https://github.com/containers/podman/issues/8257

@abitrolly To me it looks like the upstream cheat sheets were not fetched. Is it right?

@chubin if we talk about GitHub Actions test https://github.com/chubin/cheat.sh/runs/1389777947 then there are no steps to fetch cheat sheets. Just to run the tests.
https://github.com/chubin/cheat.sh/blob/ee0f4c494b82e6b66226c611d8e14b99c3177ff9/.github/workflows/tests-ubuntu.yml#L15-L19

Yes, you are right.
Now it misses the log directory:
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.cheat.sh/log/fetch.log'

Strange, I thought we created it automatically

@chubin I bet logger can create the file, but it doesn't create directories.

@chubin I'd move the config dir to ~/.config/cht.sh and the log to ~/.config/cht.sh/fetch.log.
https://unix.stackexchange.com/questions/24347/why-do-some-applications-use-config-appname-for-their-config-data-while-other
What'd you say?

I meant the log directory. We created it expliciltly in the code if I remember it correctly

I've found it; we do it only in bin/srv.py

Ok, now the logdir should automatically be created

For me the right place way to create all those dirs is at some central place, like config object, after it is clear that logging is enabled.

Now sheets in #250 are fetched successfully, but test don't pass yet.

Yes we could create directories there, or in the installation script even.
Regarding the tests: do you see any difference in those lines?
They look absolutely identical to me. Probably they contain some ANSI formatting?

@chubin see raw logs https://pipelines.actions.githubusercontent.com/LRxDA6zDbjIX7FN9r9pNO1vpvCOU4YHfbKRBK26SfybxLIIjOp/_apis/pipelines/1/runs/24/signedlogcontent/3?urlExpires=2020-11-12T14%3A01%3A59.7481059Z&urlSigningMethod=HMACV1&urlSignature=pARRKrrgi%2Bf4Ormt%2BEb6Ip4o0t82ZBZmIoJq7QvYPfg%3D

Looks like raw logs URLs don't work. Here them attached.
rawlog.txt
2020-11-12T12:03:52.2933039Z   btrfs
2020-11-12T12:03:52.2933674Z -# create the subvolume /mnt/sv1 in the /mnt volume
2020-11-12T12:03:52.2934222Z +# create the subvolume /mnt/sv1 in the /mnt volume
2020-11-12T12:03:52.2934899Z  btrfs subvolume create /mnt/sv1
2020-11-12T12:03:52.2935215Z

There is an additional ANSI suffix. Haven't looked into what it means yet. Maybe it sets background explicitly.

@chubin in this particular case it looks like italic attribute (03) is removed. Who produces this ANSI output? Maybe the lib got update?

Yes, that is true. Compare:
$ # Pygments==2.7.2
$ echo "# hello" | ve/bin/pygmentize -f terminal256 -l bash -P style=native | hexdump -C
00000000  1b 5b 33 38 3b 35 3b 32  34 36 3b 30 33 6d 23 20  |.[38;5;246;03m# |
00000010  68 65 6c 6c 6f 1b 5b 33  39 3b 30 30 6d 0a        |hello.[39;00m.|
0000001e

vs
$ # 2.2.0+dfsg-1
$ echo "# hello" | pygmentize -f terminal256 -l bash -P style=native | hexdump -C
00000000  1b 5b 33 38 3b 35 3b 32  34 36 6d 23 20 68 65 6c  |.[38;5;246m# hel|
00000010  6c 6f 1b 5b 33 39 6d 0a                           |lo.[39m.|
00000018

vs
# 2.3.1
$ echo "# hello" | pygmentize -f terminal256 -l bash -P style=native | hexdump -C
00000000  1b 5b 33 38 3b 35 3b 32  34 36 6d 23 20 68 65 6c  |.[38;5;246m# hel|
00000010  6c 6f 1b 5b 33 39 6d 0a                           |lo.[39m.|
00000018

We need to check the version of pygmentize that is used in the test

@abitrolly :tada: It works and it is green now!
We managed it. Very cool! Thank you Anatoli!
There is some minor problem in the Travis checks, probably the same that I've fixed today in Actions.
Do you have some arguments why we should keep both Travis and Github Actions? Or should we switch completely to Github Actions in your opinion?

@chubin Travis syntax is shorter. I just didn't have time to see how GitHub Actions run containers. Until that time Travis tests server + client, while GitHub Actions tests only client for now.

But Travis has currently the same problem with the dependency version

I will fix it; also I noted that in PRs in our current setup, Travis takes Dockerfile from master and not from the PR branch


[WIP]Added edge GCP loadbalancer

@pon0marev
Please review this and add similar services to other platforms.


How to disable dtls,  just send rtp without encryption

as title

see  broadcast demo  https://github.com/medooze/media-server-demo-node/blob/master/index.js#L522


Please warn when a dictionary entry has any non-alphabetic character

It appears that a dictionary entry that any non-alphabetic character is ignored. (Please correct me if I'm wrong.) For example, adding cert-dcl58-cpp to https://github.com/InsightSoftwareConsortium/ITK/blob/042d42327bd299e66a3cfd5c6fed169fd5c8aa95/.github/workflows/itk_dict.txt did not help to stop the detection of misspellings in a text like:
// > warning: modification of 'std' namespace can result in undefined behavior [cert-dcl58-cpp]

In order to reduce the time spent on trial and error, it would be helpful if CommentSpellCheck would produce a warning when a dictionary entry has any non-alphabetic character. It would be nice if CommentSpellCheck  would then specifically mention the dictionary entry.

@N-Dekker
The following PR addresses this issue;
https://github.com/SimpleITK/CommentSpellCheck/pull/55


Regression test of splash.evap does not pass

After the hot fix in #171, the assertion in tests/regression/test_evap.py fails.

Good catch - that is odd, given that the higher level test of the whole SPLASH process passes.

OK - got it. The AET component of the water balance equation is the evapotranspiration loss calculated from the previous day's soil moisture. Need to prepend the spun up initial wn and drop the last day on the inputs to estimate_aet.


Atomic acquisition counting, slice assignment (+scalars), overlapping memory, broadcasting, more memoryview object methods, optimized with gil block

Very cool! I gave my comments on the broadcasting, perhaps that should be taken to the mailing list if there's a longer discussion of the issue -- but, I think this should be a meritocratic decision, i.e., if you don't support my reasoning you just ignore me.
(I didn't actually review the code in full, just skim for things I care about. Is there something remaining that prevents a push?)

On 20 January 2012 12:16, Dag Sverre Seljebotn
<EMAIL_ADDRESS>wrote:

Very cool! I gave my comments on the broadcasting, perhaps that should be taken to the mailing list if there's a longer discussion of the issue -- but, I think this should be a meritocratic decision, i.e., if you don't support my reasoning you just ignore me.
(I didn't actually review the code in full, just skim for things I care about. Is there something remaining that prevents a push?)

No it's all tested and working, there is only a segfaulting test with
numpy 1.4 reported by a user (NULL suboffsets). It's good to go
through a pull request -> quick review/discussion sequence though :)
I did some testing last time and everything seemed a lot faster than
plain numpy. I'll do some more thorough performance analysis later.

Reply to this email directly or view it on GitHub:
https://github.com/cython/cython/pull/82#issuecomment-3582122

It would also be interesting to see how it compares to numpypy. It seems everyone is reimplementing numpy these days...

I did some testing and here are some timings:
100 million times assigning a slice to another slice (which is one increment and one decrement):
1. atomics with alignment check: 2.65s
2. atomics without alignment check: 2.56
3. locks: 11.58

So not doing an alignment check results in a speedup of ~3.5%
Testing scalar -> slice assignment gives the following results:
1. cython iteration + indexing                                        0.040007
2. cython scalar assignment                                         0.040773
3. numpy scalar assignment                                         0.065408
4. cython scalar assignment to memoryview object  0.323624

The scalar assignment to the memoryview object is so slow because of all the calls to memcpy() (so it should instead pass in a pointer to a function that fills a 1D strided chunk with a scalar value when coercing a slice to an object).
This test is also with C ordered (strided) data, it should still sort the slice into "forward C order".

Regarding alignment, I was mostly thinking about that it seemed to complicate the code, rather than performance. But it seems to get difficult anyway so just leave it...
I guess a way to do it safely, not making any assumptions about the struct layout or object memory allocator would be to use "size_t acquisition_count[2]", and then use &acquisition_count[1] and-ed with a mask to get an aligned address. But that's complicated to, so I'd just leave it...

On 22 January 2012 17:13, Dag Sverre Seljebotn
<EMAIL_ADDRESS>wrote:

Regarding alignment, I was mostly thinking about that it seemed to complicate the code, rather than performance. But it seems to get difficult anyway so just leave it...
I guess a way to do it safely, not making any assumptions about the struct layout or object memory allocator would be to use "size_t acquisition_count[2]", and then use &acquisition_count[1] and-ed with a mask to get an aligned address. But that's complicated to, so I'd just leave it...

Reply to this email directly or view it on GitHub:
https://github.com/cython/cython/pull/82#issuecomment-3604227

That's a good idea, the pointer can be saved as a member as the atomic
intrinsics take a pointer anyway. However, the problem is how to do
arithmetic on a pointer. What you want to do is cast to uintptr_t and
operate on that, but uintptr_t is optional in C99 (yes, it seems the
people who draft these standards are very intent on making our lives
miserable). So that's why __pyx_atomic_unaligned is a little weird
(but it should be branch-pruned by the C compiler anyway hence the
minimal performance overhead).

I'll merge it now and later we can add the sorting of the slice order to C order.


[Reopen of 24966 to refresh CLA check] check both returned length and allocated pointer

This is a re-opened PR of #24966 for refreshing CLA check, following the instruction of the CLA email.
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Hmm, tests failing - is this related?
====
../../util/wrap.pl ../../apps/openssl req -config "../../test/ca-and-certs.cnf" -x509 -precert -keyout newkey.pem -out newcert.pem -days 365  -section userreq -key ../../test/certs/ee-key-3072.pem
==> 256
====
../../util/wrap.pl /usr/bin/perl ../../apps/CA.pl -precert -extra-req '-section userreq -key ../../test/certs/ee-key-3072.pem' 2> /dev/null => 1
not ok 6 - creating new pre-certificate

Hmm, tests failing - is this related?
====
../../util/wrap.pl ../../apps/openssl req -config "../../test/ca-and-certs.cnf" -x509 -precert -keyout newkey.pem -out newcert.pem -days 365  -section userreq -key ../../test/certs/ee-key-3072.pem
==> 256
====
../../util/wrap.pl /usr/bin/perl ../../apps/CA.pl -precert -extra-req '-section userreq -key ../../test/certs/ee-key-3072.pem' 2> /dev/null => 1
not ok 6 - creating new pre-certificate

I investigated the test case: in crypto/x509/v3_conf.c, the ext_len in the following code snippet may be 0, and meanwhile the ext_der is NULL. That indicates the item to encode method->it is actually an empty item.
        ext_len =
            ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it));
        if (ext_len < 0 || ext_der == NULL) {
            ERR_raise(ERR_LIB_X509V3, ERR_R_ASN1_LIB);
            goto err;
        }

I further investigated the type definition for method (from include/openssl/x509v3.h):

struct v3_ext_method {
    int ext_nid;
    int ext_flags;
/* If this is set the following four fields are ignored */
    ASN1_ITEM_EXP *it;
/* Old style ASN1 calls */
    X509V3_EXT_NEW ext_new;
    X509V3_EXT_FREE ext_free;
    X509V3_EXT_D2I d2i;
    X509V3_EXT_I2D i2d;
/* The following pair is used for string extensions */
    X509V3_EXT_I2S i2s;
    X509V3_EXT_S2I s2i;
/* The following pair is used for multi-valued extensions */
    X509V3_EXT_I2V i2v;
    X509V3_EXT_V2I v2i;
/* The following are used for raw extensions */
    X509V3_EXT_I2R i2r;
    X509V3_EXT_R2I r2i;
    void *usr_data;             /* Any extension specific data */
};

From the code comment, it seems that it can indeed be empty. Therefore, I revert my change to crypto/x509/v3_conf.c and all tests pass now on my local machine.

ack, approval holds

24 hours has passed since 'approval: done' was set, but as this PR has been  updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

@paulidale could you reconfirm?

Squashed and merged to the master branch. Thank you for your contribution.


sorting tags to be saved in to txt files

When creating txt files at the end, the sorting of captions isn't optimal.
batch edit captions > extras > Sort tags in the images displayed. > frequency (if same frequency, alphabetical order as next)
example below:
frequency sorting:
1girl [107], brown_hair [107], realistic [107], woman [107], solo [105], long_hair [88]
class identifier for TI for example (a woman) sorting expected:
woman [107], 1girl [107], realistic [107], brown_hair [107], solo [105], long_hair [88]
applied workarounds:
changed tag "woman" to "a woman". This moved "a woman" tag to second position after 1girl. Not sure if I need "1girl" or "a woman" as first tag.
proposed solutions:

adding weights to tags within dataset tag editor
adding selected tags to extra sorting order group (prepend always to the beginning)

thank you.

Regex is useful for this kind of things.
The following is an example of moving the "1boy" tag to the first position in the caption.

Thank you, gonna try that.


ENH:  Trace failure of writing area detector output to whether or not callback is enabled.

Expected Behavior
Instead of indicating that the capture PV did not change to 1, see if you can look at some common reasons as to why it did not change to 1.
In this instance XF:23ID1-ES{FCCD}HDF1:EnableCallbacks_RBV  was not enbled ( i.e,., = 0)
Current Behavior
In [5]: RE(count([fccd]))
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
<ipython-input-5-fd7b9c6b7612> in <module>()
----> 1 RE(count([fccd]))

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/run_engine.py in __call__(self, plan, subs, raise_if_interrupted, **metadata_kw)
    644                     # it (unless it is a canceled error)
    645                     if exc is not None:
--> 646                         raise exc
    647
    648             if raise_if_interrupted and self._interrupted:

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/run_engine.py in _run(self)
   1084             self.log.error("Run aborted")
   1085             self.log.error("%r", err)
-> 1086             raise err
   1087         finally:
   1088             # Some done_callbacks may still be alive in other threads.

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/run_engine.py in _run(self)
    982                         resp = self._response_stack.pop()
    983                         try:
--> 984                             msg = self._plan_stack[-1].send(resp)
    985                         # We have exhausted the top generator
    986                         except StopIteration:

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in __call__(self, plan)
   3325         plan = monitor_during_wrapper(plan, self.monitors)
   3326         plan = fly_during_wrapper(plan, self.flyers)
-> 3327         return (yield from plan)
   3328
   3329

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in fly_during_wrapper(plan, flyers)
   1482     plan1 = plan_mutator(plan, insert_after_open)
   1483     plan2 = plan_mutator(plan1, insert_before_close)
-> 1484     return (yield from plan2)
   1485
   1486

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    162                     continue
    163                 else:
--> 164                     raise ex
    165         # if inserting / mutating, put new generator on the stack
    166         # and replace the current msg with the first element from the

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    115             ret = result_stack.pop()
    116             try:
--> 117                 msg = plan_stack[-1].send(ret)
    118             except StopIteration as e:
    119                 # discard the exhausted generator

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    162                     continue
    163                 else:
--> 164                     raise ex
    165         # if inserting / mutating, put new generator on the stack
    166         # and replace the current msg with the first element from the

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    115             ret = result_stack.pop()
    116             try:
--> 117                 msg = plan_stack[-1].send(ret)
    118             except StopIteration as e:
    119                 # discard the exhausted generator

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in monitor_during_wrapper(plan, signals)
   1424     plan1 = plan_mutator(plan, insert_after_open)
   1425     plan2 = plan_mutator(plan1, insert_before_close)
-> 1426     return (yield from plan2)
   1427
   1428

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    162                     continue
    163                 else:
--> 164                     raise ex
    165         # if inserting / mutating, put new generator on the stack
    166         # and replace the current msg with the first element from the

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    115             ret = result_stack.pop()
    116             try:
--> 117                 msg = plan_stack[-1].send(ret)
    118             except StopIteration as e:
    119                 # discard the exhausted generator

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    162                     continue
    163                 else:
--> 164                     raise ex
    165         # if inserting / mutating, put new generator on the stack
    166         # and replace the current msg with the first element from the

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    115             ret = result_stack.pop()
    116             try:
--> 117                 msg = plan_stack[-1].send(ret)
    118             except StopIteration as e:
    119                 # discard the exhausted generator

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in baseline_wrapper(plan, devices, name)
   1763         return (yield from plan)
   1764     else:
-> 1765         return (yield from plan_mutator(plan, insert_baseline))
   1766
   1767

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    162                     continue
    163                 else:
--> 164                     raise ex
    165         # if inserting / mutating, put new generator on the stack
    166         # and replace the current msg with the first element from the

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    115             ret = result_stack.pop()
    116             try:
--> 117                 msg = plan_stack[-1].send(ret)
    118             except StopIteration as e:
    119                 # discard the exhausted generator

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in count(detectors, num, delay, md)
   2081         return (yield from infinite_plan())
   2082     else:
-> 2083         return (yield from finite_plan())
   2084
   2085

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/utils.py in dec_inner(*inner_args, **inner_kwargs)
    920                 plan = gen_func(*inner_args, **inner_kwargs)
    921                 plan = wrapper(plan, *args, **kwargs)
--> 922                 return (yield from plan)
    923             return dec_inner
    924         return dec

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in stage_wrapper(plan, devices)
   1609         return (yield from plan)
   1610
-> 1611     return (yield from finalize_wrapper(inner(), unstage_devices()))
   1612
   1613

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in finalize_wrapper(plan, final_plan, pause_for_debug)
   1110     cleanup = True
   1111     try:
-> 1112         ret = yield from plan
   1113     except GeneratorExit:
   1114         cleanup = False

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in inner()
   1606
   1607     def inner():
-> 1608         yield from stage_devices()
   1609         return (yield from plan)
   1610

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in stage_devices()
   1599     def stage_devices():
   1600         for d in devices:
-> 1601             yield Msg('stage', d)
   1602
   1603     def unstage_devices():

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    187         try:
    188             # yield out the 'current message' and collect the return
--> 189             inner_ret = yield msg
    190         except GeneratorExit:
    191             # special case GeneratorExit.  We must clean up all of our plans

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    187         try:
    188             # yield out the 'current message' and collect the return
--> 189             inner_ret = yield msg
    190         except GeneratorExit:
    191             # special case GeneratorExit.  We must clean up all of our plans

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    187         try:
    188             # yield out the 'current message' and collect the return
--> 189             inner_ret = yield msg
    190         except GeneratorExit:
    191             # special case GeneratorExit.  We must clean up all of our plans

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    187         try:
    188             # yield out the 'current message' and collect the return
--> 189             inner_ret = yield msg
    190         except GeneratorExit:
    191             # special case GeneratorExit.  We must clean up all of our plans

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/plans.py in plan_mutator(plan, msg_proc)
    187         try:
    188             # yield out the 'current message' and collect the return
--> 189             inner_ret = yield msg
    190         except GeneratorExit:
    191             # special case GeneratorExit.  We must clean up all of our plans

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/run_engine.py in _run(self)
   1033                         # exceptions (coming in via throw) can be
   1034                         # raised
-> 1035                         response = yield from coro(msg)
   1036                     # special case `CancelledError` and let the outer
   1037                     # exception block deal with it.

~/conda_envs/dev/lib/python3.6/site-packages/bluesky/run_engine.py in _stage(self, msg)
   1962         if not hasattr(obj, 'stage'):
   1963             return []
-> 1964         result = obj.stage()
   1965         self._staged.add(obj)  # add first in case of failure below
   1966         yield from self._reset_checkpoint_state_coro()

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/trigger_mixins.py in stage(self)
    119     def stage(self):
    120         self._acquisition_signal.subscribe(self._acquire_changed)
--> 121         super().stage()
    122
    123     def unstage(self):

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/base.py in stage(self, *args, **kwargs)
    155
    156     def stage(self, *args, **kwargs):
--> 157         ret = super().stage(*args, **kwargs)
    158         try:
    159             self.validate_asyn_ports()

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/device.py in stage(self)
    574                 device = getattr(self, attr)
    575                 if hasattr(device, 'stage'):
--> 576                     device.stage()
    577                     devices_staged.append(device)
    578         except Exception:

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/plugins.py in stage(self)
    100
    101     def stage(self):
--> 102         super().stage()
    103
    104     def enable_on_stage(self):

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/base.py in stage(self, *args, **kwargs)
    155
    156     def stage(self, *args, **kwargs):
--> 157         ret = super().stage(*args, **kwargs)
    158         try:
    159             self.validate_asyn_ports()

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/filestore_mixins.py in stage(self)
    342
    343     def stage(self):
--> 344         super().stage()
    345         res_kwargs = {'frame_per_point': self.get_frames_per_point()}
    346         logger.debug("Inserting resource with filename %s", self._fn)

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/filestore_mixins.py in stage(self)
    315         set_and_wait(self.file_name, filename)
    316         set_and_wait(self.file_number, 0)
--> 317         super().stage()
    318
    319         # AD does this same templating in C, but we can't access it

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/areadetector/filestore_mixins.py in stage(self)
    231         self._locked_key_list = False
    232         self._datum_uids.clear()
--> 233         super().stage()
    234         if self.enable.get() and self._reg is None:
    235             raise RuntimeError('The plugin {!r} is enabled, but '

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/device.py in stage(self)
    565                 logger.debug("Setting %s to %r (original value: %r)", self.name,
    566                              val, original_vals[sig])
--> 567                 set_and_wait(sig, val)
    568                 # It worked -- now add it to this list of sigs to unstage.
    569                 self._original_vals[sig] = original_vals[sig]

~/conda_envs/dev/lib/python3.6/site-packages/ophyd/utils/epics_pvs.py in set_and_wait(signal, val, poll_time, timeout, rtol, atol)
    418             raise TimeoutError("Attempted to set %r to value %r and timed "
    419                                "out after %r seconds. Current value is %r." %
--> 420                                (signal, val, timeout, current_value))
    421
    422

TimeoutError: Attempted to set EpicsSignalWithRBV(read_pv='XF:23ID1-ES{FCCD}HDF1:Capture_RBV', name='fccd_hdf5_capture', parent='fccd_hdf5', value=0, timestamp=1503958492.302405, pv_kw={}, auto_monitor=False, string=False, write_pv='XF:23ID1-ES{FCCD}HDF1:Capture', limits=False, put_complete=False) to value 1 and timed out after 10 seconds. Current value is 0.

Setting 'enable callbacks' as part of the stage process is probably a better fix here.  Instead of trying to sort out why it is broken after the fact, just make sure it is configure right on the way in.

Agreed. @ambarb, do you know how to do that?

Are you guys suggesting that this is best remedied by changing the startup files?

@ambarb which version are you using of ADCore?
Without having enable callbacks active, can you write to the capture PV as you are trying to do using caput?

@ambarb Yes. Possibly this setting should move upstream into ophyd and become the default... I'd have to think about that. But fixing it in the startup files is the right place to start.

I am going to close this as 02ID is currently running happily with XIP correcrtly set up.


[kmac] Entropy ready bit error

Record an offline discussion with Eli:
If we do not set the entropy_ready bit:
1). In app mode, we will see keymgr interface error bit set to 1. --> But there is no error code.
2). In sw mode, there isn't any error if we do not set the entropy_ready. And all kmac operations can continue as it is.
For the first case, Eli confirmed that Keymgr side will report errors, so KMAC side does not need to report anything.
For the second case, we think it might be better to report a SW error.

Duplicate this issue : https://github.com/lowRISC/opentitan/issues/10933

Close as #15240 implemented


Admin CLI: Delete history before delete execution records in  delete …

…command
For https://github.com/uber/cadence/issues/1594
Tested in local:
longer@~/gocode/src/github.com/uber/cadence:(delHist)$ ./cadence --do samples-domain adm  wf del -w 'child_workflow:a32d32d3-4a9f-4395-ad4b-883425d25641' -r ae52382d-8d5b-433f-9147-563ea4c92e05 --address <IP_ADDRESS> --port 9042 --keyspace cadence
deleting history events for ...
{
  "treeID": "ae52382d-8d5b-433f-9147-563ea4c92e05",
  "branchID": "4cd151d5-27e3-4378-8745-b34bd1c18b31"
}
delete current row successfully
delete mutableState row successfully

plz also delete the concrete execution record before delete the current execution record


[Bug Report] Use after move in run_operation.cpp

Describe the bug
This is a bug discovered by clang-analyzer following a long discussion on discord. In run_operation.cpp. The operation object is moved before calling operation.compute_output_shapes(). Causing a UB. I am not sure weather if it is causing any actual trouble now, but probably worth fixing.
Due to the nature of non-const functions. I am unable to fix myself as I lack the low level understanding of how this part of program works.
To Reproduce
In ttnn/cpp/ttnn/run_operation.cpp, line 372-374 and 437-437

Expected behavior
Should not trigger UB.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following environment information:

Commit: 3b8fb6c4766fb8767b859f5d9d94da1b6f7b8c95

Additional context
Add any other context about the problem here.

Thank you! On it!

Thanks @ayerofieiev-tt ! <3

Fixing this specific issue.
Then we should enable the clang-tidy check and fixing any issue that it surfaces.
https://github.com/tenstorrent/tt-metal/blob/008c50a744ab398526f12992f9f4902283f9215a/.clang-tidy#L28
CC @blozano-tt @afuller-TT

Thanks for the quick patch! There shouldn't be any more as of now. I ran clang-analyzer over the entire codebase and this is the only use after move.

Close as patch merged.


Replaced Contig with ContigName in AlignmentRecord

Related to issue #983 in adam repo
Pulls 'Contig' out of 'AlignmentRecord' for efficiency issues, and replace it with 'ContigName' which is used as an index into the 'SequenceDictionary' which contains the Contig metadata details

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-formats-prb/79/
Test PASSed.

LGTM! If no one has an objection, I will merge tomorrow PM.

Thanks @jpdna! Manually merged as https://github.com/bigdatagenomics/bdg-formats/commit/2229115fa4b81dec7459c5bfa4fb18c059c02d4c.


macOS Monterey stopped working after qemu update

Which operating system are you trying to install?
macOS Monterey
Describe the bug
After updating qemu on ArchLinux to version 7.1.0-8 and Linux kernel to 5.19.13 my macOS Monterey 12.6 won't boot anymore. I'm using a laptop with Ryzen 5 5500u CPU inside
Screenshots

Somehow it was fixed after disabling and enabling Virtualization in bios


Registry mutli-tenancy

Refactored the auth wrapper to prevent a loop when using the service client for the runtime clients. Now a token is generated when a service starts and the auth wrapper will only refresh it once it expires.
The registry now uses the service client when making RPC's so that the registry service can register it in the correct namespace.

Approved by Asim.


Project homepage seems broken

SSL cert is fine, but nginx is returning a 502 error:
curl -v https://projects.gw-computing.net/projects/dfc
*   Trying <IP_ADDRESS>:443...
* Connected to projects.gw-computing.net (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile<EMAIL_ADDRESS>*  CApath<EMAIL_ADDRESS>* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=projects.gw-computing.net
*  start date: Nov  9 18:29:01 2020 GMT
*  expire date: Feb  7 18:29:01 2021 GMT
*  subjectAltName: host "projects.gw-computing.net" matched cert's "projects.gw-computing.net"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /projects/dfc HTTP/1.1
> Host: projects.gw-computing.net
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 502 Bad Gateway
< Server: nginx
< Date: Fri, 25 Dec 2020 08:58:45 GMT
< Content-Type: text/html; charset=UTF-8
< Content-Length: 150
< Connection: keep-alive
<

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx

Thanks for the heads-up, the problem should be resolved now.


Expose remaining rate limit

The header x-ms-ratelimit-remaining-subscription-reads contains the remaining allowed read request quota, and would be use very useful. See https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits.
I'm happy to implement this, but would like some feedback on this approach:

In AzureClient.getMetricValue read and parse the header if present
Return the value as a third value (this is the major question mark, could also bundle it into AzureMetricValueResponse)
In Collector.Collect, check the min value returned from all get:s, and finally create a metric from this min.

Sounds reasonable?
There is a write quota header too, but it is only returned on writes, so to collect it we'd need to make some form of write and the service principal would need to be allowed to do so. I'd consider this out of scope initially. Main concern for us at least is reads.

Another option would be storing the most recent value inside AzureClient.
This sounds useful.

Yes, that is an even better idea!
When going at this, should we additionally start respecting the Retry-After if we get a HTTP 429? And/or even proactively failing scrapes if the rate limit is getting close to depleted? That might be hard to do well, though, and would probably require a lot of flags for user tweakability.

Let's get the data in first.

@carlpett any progress on this? Or is it passé for You?

@lukasmrtvy Sorry, I left the client where we used Azure before it could be finished. Hopefully someone with an Azure account could pick up the PR.


Adding a table to a custom page leads not working

Package
filament/tables
Package Version
v2.12.2
Laravel Version
v9.12.0
Livewire Version
v2.10.5
PHP Version
PHP 8.1.4
Bug description
When adding a table to a custom page with minimum options the following happens:
Typed property App\Filament\Resources\PostResource\Pages\ManagePost::$cachedTableFilters must not be accessed before initialization

Steps to reproduce
Using a custom page that holds multiple forms.
Now we add a table in there.
Using the following excerpt:
namespace App\Filament\Resources\PostResource\Pages;
use App\Filament\Resources\PostResource;
use Filament\Resources\Pages\Page;
use Illuminate\Database\Eloquent\Builder;
use Filament\Tables;

class ManagePost extends Page implements Tables\Contracts\HasTable
{
   use Tables\Concerns\InteractsWithTable;

    protected function getTableQuery(): Builder
    {
        return Postrequirement::query();
    }
}

In the respective blade the follwing is inserted:
{{ $this->table }}

Now refreshing the page leads to the mentioned error message above.
Relevant log output
No response

Please send the code for the forms on that component as well, because I can't replicate the issue just with the table code you sent

Please check if #2410 fixes this.

Hi, thanks for coming up with a fix (in such a short time).
How do I require a specific PR to be included? It's rather a branch to be included right? If so which is it?
Thank you!

You can follow the Contributing guide in the README to set up a local version of the codebase, you can use the branch associated with that PR for testing.
I do believe I have fixed your issue though, so the PR is going to be merged. Let me know if that's not the case.

I just updated to v2.12.8 and still have the same issue, here is the entire code after removing most of the content (other forms, form content etc.) from it:
<?php

namespace App\Filament\Resources\AssessmentResource\Pages;

use App\Filament\Resources\AssessmentResource;
use Filament\Resources\Pages\Page;

use Illuminate\Database\Eloquent\Model;
use App\Models\Assessment;
use App\Models\AssessmentRequirement;

use Illuminate\Database\Eloquent\Builder;

use Carbon\Carbon;

use Closure;

use Filament\Tables;
// use Filament\Tables\Columns\TextColumn;

use Filament\Forms;

use Filament\Pages\Actions\ButtonAction;

class ManageAssessment extends Page implements Tables\Contracts\HasTable
{
    protected static string $view = 'filament.resources.assessment-resource.pages.manage-assessment';

    protected static string $resource = AssessmentResource::class;

    protected static ?string $model = Assessment::class;

    public $record;

    public function mount(Assessment $record)
    {
        $this->record = $record;

        $this->requirementsForm->fill([
            //
        ]);
    }

    protected function getForms(): array
    {
        return [
            'requirementsForm' => $this->makeForm()
                ->schema($this->getRequirementsFormSchema())
                ->model($this->record),
        ];
    }

     protected function getRequirementsFormSchema(): array
    {
         return [
             Grid::make([
                 'default' => '1',
             ])
             ->schema([
                 Placeholder::make('')
                     ->content(new HTMLString('blablabla.')),
             ]),
         ];
     }

    use Tables\Concerns\InteractsWithTable;

    protected function getTableQuery(): Builder
    {
        return AssessmentRequirement::query();
    }

}

It still returns
Typed property App\Filament\Resources\AssessmentResource\Pages\ManageAssessment::$cachedTableFilters must not be accessed before initialization

It's not been released yet

Works!


Re-authorization problem.

I can not find any way to reauthorize Rainbow Stream with Twitter. It looks like authorization on Twitter is done only when you run the Rainbow Stream for the first time. What if you already run it and it needs to be re-authorized again?
Also, it would be great to be able to do it without need to get out of console at all - I mean without going to firefox or other graphical browser to get the keys etc.

Remove .rainbow_oauth and run the app again.

Thanks @emprovements.


freeplaysong list is empty

The songs should still be in Freeplay if not maybe you need to beat them first.
But other than that it is normal that the freeplaysonglist file is empty

you have to create a new week, name all the songs according to your freeplay songs, and then click this

The songs are added in Weeks now, this still works but it's pretty much useless at the point i'm considering removing it.


Nomic binary shown with the link to Akash

https://github.com/cosmos/chain-registry/blob/master/nomic/chain.json

Hi @mgialong215 thanks for raising this. Afaik they don't have their binaries listed yet, correct? Couldn't find any under releases.

ah yes. They are using develop branch to compile. Will reopen when their is one available.


[project] - scan www for css selector usage

to be more specific - I'd like to scan the top 1000 (10000?) sites, extract the css from them, and count the number of rules in them. this will give as indication as whether we should use more stylesheets behind-the-scenes, or whether we're fine with just one.

this is solved - http://cssstats.com/ - lovely site, has just what I needed, and validates the need for potentially more tags. (sites have anwhere for 2000 to 20000 rules)glamor now automatically generates multiple tags behind the scenes, so no user intervention is required.


chatterino2: 2.1.7 -> 2.2.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/nix/store/kb9fqca9sy62537pig7hjbdnffdsda04-chatterino2-2.1.7    448.8M
/nix/store/vpxp3j7gb4rvld3gj4bjjjzqlp1gry95-chatterino2-2.2.2    449.1M

If you're updating, this package could use a little bit of formatting (e.g. nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt ./pkgs/.../chatterino2/default.nix". Could also add meta.changelog = "https://github.com/Chatterino/chatterino2/blob/master/CHANGELOG.md";

Done. Thanks.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/232

@marsam help merging this please

Thank you very much


In 'ios' directory, ran flutter build ipa --export-options-plist ERROR: Encountered error while building IPA: error: Couldn't load -exportOptionsPlist

At Flutter 3.0.0, macos Monterey 12.3.1, arm64 architecture
Steps to Reproduce

Directory structure

(flutter project root directory = yyyyyy)

ios

ExportOptions

adhoc.plist

Podfile...etc

cd ios  from flutter project root directory
flutter build ipa --export-options-plist=ExportOptions/adhoc.plist

Logs

Logs

Changing current working directory to: /Users/*******/StudioProjects/yyyyyy
Archiving com.zzzz.vvvvvv...
Automatically signing iOS for device deployment using specified development team in Xcode project: WF7V3AYTQP
Running Xcode build...
 └─Compiling, linking and signing...                        10.2s
Xcode archive done.                                         48.4s
Built /Users/******/StudioProjects/yyyyyyy/build/ios/archive/Runner.xcarchive.

💪 Building with sound null safety 💪

Building App Store IPA...
Encountered error while creating the IPA: error: Couldn't load -exportOptionsPlist: The file “adhoc.plist” couldn’t be opened because there is no such file.

Try distributing the app in Xcode: "open /Users/******/StudioProjects/yyyyyy/build/ios/archive/Runner.xcarchive"

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale ja-JP)
    • Flutter version 3.0.0 at /Users/******/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (4 weeks ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/******/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Users/******Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/******/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/******/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.2)
    • IntelliJ at /Users/******/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 221.5787.30

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.2)
    • IntelliJ at /Users/******/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5787.30/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
    • IntelliJ at /Users/******/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5591.52/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

P.S.
If I run flutter build ipa --export-options-plist=ios/ExportOptions/adhoc.plist at 2. , the tool warns "ios/ExportOptions/adhoc.plist" property list does not exist.  .
Thus, I think that file existence check should be executed after Changing current working directory to: /Users/*******/StudioProjects/yyyyyy or should be executed with given argument with prefixed with ios/.

Hi @MenEnger,

After commenting out, IPA was successfully built.

thanks for the update closing as solved based on the above response.

This issue had been closed, but a fundumental solution is not found yet.
https://github.com/flutter/flutter/issues/105313#issuecomment-1146093023 is temporary workaround!!
The path for File existance check and the path for real build process are mismatch.
I think that flutter_tools has the bug even now.


Revisit MiAIRR non-nullable fields

Creating this issue to replace the specific issue around cell_storage in #307 (which I will close).
In the current spec the following are required and non-nullable. Note sample_type, tissue, and single_cell  are missing from the original list in #96
Are these still the "correct" fields to be required and non-nullable?
        synthetic:
            type: boolean
            description: TRUE for libraries in which the diversity has been synthetically generated (e.g. phage display)
            x-airr:
                miairr: true
                required: true
                nullable: false

        organism:
            $ref: '#/Ontology'
            description: Binomial designation of subject's species
            example:
                id: 9096
                value: Homo sapiens
            x-airr:
                miairr: true
                required: true
                nullable: false

        cell_storage:
            type: boolean
            description: TRUE if cells were cryo-preserved between isolation and further processing
            example: TRUE
            x-airr:
                miairr: true
                required: true
                nullable: false

        template_class:
            type: string
            enum:
                - DNA
                - RNA
            description: The class of nucleic acid that was used as primary starting material for the following procedures
            example: RNA
            x-airr:
                miairr: true
                required: true
                nullable: false

        library_generation_method:
            type: string
            enum:
                - "PCR"
                - "RT(RHP)+PCR"
                - "RT(oligo-dT)+PCR"
                - "RT(oligo-dT)+TS+PCR"
                - "RT(oligo-dT)+TS(UMI)+PCR"
                - "RT(specific)+PCR"
                - "RT(specific)+TS+PCR"
                - "RT(specific)+TS(UMI)+PCR"
                - "RT(specific+UMI)+PCR"
                - "RT(specific+UMI)+TS+PCR"
                - "RT(specific)+TS"
                - "other"
            description: Generic type of library generation
            example: RT(oligo-dT)+TS(UMI)+PCR
            x-airr:
                miairr: true
                required: true
                nullable: false

        complete_sequences:
            type: string
            enum:
                - partial
                - complete
                - "complete+untemplated"
            description: >
                To be considered `complete`, the procedure used for library construction MUST generate sequences that
                1) include the first V segment codon that encodes the mature polypeptide chain (i.e. after the
                leader sequence) and 2) include the last complete codon of the J segment (i.e. 1 bp 5' of the J->C
                splice site) and 3) provide sequence information for all positions between 1) and 2). To be considered
                `complete & untemplated`, the sections of the sequences defined in points 1) to 3) of the previous
                sentence MUST be untemplated, i.e. MUST NOT overlap with the primers used in library preparation.
            example: partial
            x-airr:
                miairr: true
                required: true
                nullable: false

        physical_linkage:
            type: string
            enum:
                - none
                - "hetero_head-head"
            description: >
                Describes the mode of linkage if a method was used which physically links nucleic acids derived from
                distinct loci in a single-cell context.
            example: hetero_head-head
            x-airr:
                miairr: true
                required: true
                nullable: false

@bussec comment from #307:

I understand that this makes it hard to third-party annotators, if this information is not passed on in the original publication. We can discuss whether nullable:false should be reserved for those cases where that have an undeniable relevance for the interpretation of the study (i.e. species). The original list of non-nullable fields is in #96 (comment) . We will discuss this in the next MiniStd call, all input welcome.

From the call:

Could be pushed back to v2.0.

I would say that if we are done with them I would prefer to have them in v1.3. There isn't a change to the physical_linkage field name, just the controlled vocabulary, correct. And there is an addition to the possible terms rather than a deletion, so I think it is OK for v1.3

Closed via #319.


Error downloading datasets

Hi! I would like to test and validate your work. However, I am experiencing some issue with the datasets. Here is the error I get when extracting the zip file:

I am working with Ubuntu 20.04.

Hi, I double-check the download link and it looks okay. I upload it to google drive and put it in the readme: https://drive.google.com/drive/folders/18of5Tr6BlEg316IxusnJmo514mPCV8MI?usp=sharing.

The issue is resolved and closed.


Half black curve screen on startup - before splash screen

Hi Team,
overtime on startup my app is showing this black screen and after this my app is stack
React Native version:

info
React Native Environment Info:
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
Memory: 159.13 MB / 4.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz => 0.59.8
npmGlobalPackages:
react-native-cli: 2.0.1

Device : Iphone 10 IOS 13 Beta
Steps To Reproduce
I don't know ho to reproduce... I tried but I have not understand why this is happing..
Describe what you expected to happen:
Snack, code example, or link to a repository:

After refreshing my app multipal time using Expo app.... error has been changed... and after hitting  OK button now my app is woking..... but I am worried becuae I din't k now why this is happing.


target offset commit

#437 target offset feature

Cool work @muratcim thanks for sharing! Will not be merging this PR, because TagUI v5 already has provision for handling offsets for visual automation. It is done using the helper functions (more details below), and not inline as your implementation. This retains the text-like format of TagUI scripts for easy maintenance and readability by non-developer users.
https://github.com/kelaberetiv/TagUI#helper-functions

mouse_xy(), mouse_x(), mouse_y() require visual automation and can be used to interact with UI (user-interface) elements on the screen by specifying their (x,y) coordinates, eg clicking to the right of an UI element by 200 pixels -

// example of using mouse_xy(), mouse_x(), mouse_y() functions
hover element.png
echo mouse_xy()
x = mouse_x() + 200
y = mouse_y()
click (`x`,`y`)


[FEATURE] Aggregations to be supported with Hybrid Search

Is your feature request related to a problem?
Currently the aggregations returned from Hybrid Query corresponds to doc_count 0 for all the buckets.
{
  "Index": {
    "meta": {},
    "doc_count": 0,
    "model": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "index",
          "doc_count": 0
        }
      ]
    }
  }
}

What solution would you like?
Aggregation's bucket count should be evaluated and returned correctly on the basis of hybrid queries.

Hi!  I'm confused by this issue being open and #422 being closed.  Do aggs work properly with Hybrid search now?

@binarymax I closed the #422 issue by commenting its a duplicate of this issue. I could have kept the older issue open, but seems like I forgot to check the dates and closed the older issue.
You can see my comment here: https://github.com/opensearch-project/neural-search/issues/422#issuecomment-1841221854
I updated the description of this issue to tag the older one.

Do aggs work properly with Hybrid search now?

The ans is no.

@vamshin @navneet1v
This is a very common use case. We index documents in Opensearch. Documents have title, description and Actual File Content, which is big in size. So AWS recommends splitting the content into chunks and save multiple records in OpenSearch and duplicate metadata for each chunk.
Now, if we have to search with a keyword, we have to search in Document's title, description and content. Content search is neural search and title/description is keyword search. So we have to have a Hybrid query with Aggregation.
Please suggest if there is an ETA on this issue.

Hi @vamshin , are there any documentation implications for this feature in 2.13? Thanks!

Hello, can you confirm that it will be available in 2.13 ?

We have the documentation going out in 2.13: https://github.com/opensearch-project/documentation-website/pull/6661.

@martin-gaievski can we close this issue now?

Hi, it seems that there is still some things to look at regarding this issue.
I tried aggregations with hybrid search with 2.13 and had results that i could not explain.
I have an index of products which contains 16K products.
Let's focus on a specific category called "Mug" (id: 5)
GET product_1_bedrock/_search
{
  "size": 0
  "query": {
    "match": {
      "category.id_category": 5
    }
  }
}

Result
{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 566,
      "relation": "eq"
    },
    "max_score": null,
    "hits": []
  }
}

Basic match query with aggregates

GET product_1_bedrock/_search
{
  "aggs": {
    "categories": {
      "terms": {
        "field": "category.name.keyword",
        "size": 100
      }
    }
  },
  "size": 0,
  "query": {
    "multi_match": {
      "query": "Mug",
      "type": "most_fields",
      "fields": [
        "category_name^2",
        "name^4"
      ]
    }
  }
}

Result
{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 591,
      "relation": "eq"
    },
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "categories": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "Mug",
          "doc_count": 566
        },
        {
          "key": "Mug take away",
          "doc_count": 18
        },
        {
          "key": "Coffret",
          "doc_count": 7
        }
      ]
    }
  }
}

Neural query with aggregates

GET product_1_bedrock/_search
{
  "aggs": {
    "categories": {
      "terms": {
        "field": "category.name.keyword",
        "size": 100
      }
    }
  },
  "size": 0,
  "query": {
    "neural": {
      "search_description_v": {
        "query_text": "Mug",
        "model_id": "xxxxxx",
        "k": 200
      }
    }
  }
}

Result
{
  "took": 616,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 2686,
      "relation": "eq"
    },
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "categories": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "Mug",
          "doc_count": 555
        },
        {
          "key": "Sweatshirt homme",
          "doc_count": 147
        },
        {
          "key": "Hoodie homme",
          "doc_count": 144
        },
        ... // + 89 other categories
      ]
    }
  }
}

Hybrid query with aggregates

GET product_1_bedrock/_search?search_pipeline=nlp-search-pipeline
{
  "aggs": {
    "categories": {
      "terms": {
        "field": "category.name.keyword",
        "size": 100
      }
    }
  },
  "size": 0,
  "query": {
    "hybrid": {
      "queries": [
        {
          "neural": {
            "search_description_v": {
              "query_text": "Mug",
              "model_id": "xxxx",
              "k": 200,
            }
          }
        },
        {
          "multi_match": {
            "query": "Mug",
            "type": "most_fields",
            "fields": [
              "category_name^2",
              "name^4"
            ]
          }
        }
      ]
    }
  }
}

Result
{
  "took": 616,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 2686,
      "relation": "eq"
    },
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "categories": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "Mug",
          "doc_count": 555
        },
        {
          "key": "Sweatshirt homme",
          "doc_count": 147
        },
        {
          "key": "Hoodie homme",
          "doc_count": 144
        },
        // ... + 89 other categories
      ]
    }
  }
}

Hybrid query without aggregates

GET product_1_bedrock/_search?search_pipeline=nlp-search-pipeline
{
  "query": {
    "hybrid": {
      "queries": [
        {
          "neural": {
            "search_description_v": {
              "query_text": "Mug",
              "model_id": "xxxx",
              "k": 200,
              "_name": "neural_search"
            }
          }
        },
        {
          "multi_match": {
            "query": "Mug",
            "type": "most_fields",
            "fields": [
              "category_name^2",
              "name^4"
            ]
          }
        }
      ]
    }
  }
}

Result
{
  "took": 577,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 98,
      "relation": "eq"
    },
    "max_score": 0.2407519,
    "hits": []
  }
}

Hybrid query without aggregates gives a total of 98 results while the same query with aggregates exceeds by far this value.
So my understanding is that neural subquery is returning to much results but why is it ? Any idea @navneet1v ?

@qmauret thank you for reporting the problem. I was trying to replicate your steps locally, but with small dataset of 10 docs everything works correctly for me.
I suspect it can be dataset dependent. Is there a chance you can try your scenario on a smaller subset of your 16K docs, so that subset can be shared via github?
Please also share your cluster and index configuration.
One more question about the hybrid query, why you use size == 0? Typically it should return empty list even in case there are hits.


Passion is 3 syllables and should be 2, Anyone is 2 and should be 3

You’re right, thanks. PRs are welcome!

Fixed passion with [gnst]ion$ in https://github.com/words/syllable/pull/40

Fixed anyone too. Tested ^any|one$


disable left view completely?

Hi, First I wanna say good job making this.
However I didn't find a good doc for this.
I only want right side view. In the setup I set self.leftViewEnabled = NO;
I am using storyboard. It spits exception at
[self performSegueWithIdentifier:LGSideMenuSegueLeftIdentifier sender:nil];
Do I have to set a segue for left view? How do I disable left view, since I don't need it.

If you don't want a left view controller don't create it. And delete the exception breakpoint, if you don't want the app to break.

+1

The problem is the code checks the existence this way:
@try {
  [self performSegueWithIdentifier:LGSideMenuSegueLeftIdentifier sender:nil];
}

So, if you don't have leftView, it will always throw an exception.

@NoctizJ one way is actually creating a left segue and select the option to disable left menu. that's far from a good solution, but it stops the problem

Should be fixed in the new version. Please validate.
Feel free to reopen if the issue is still reproducible.


micropyhon implementation of BLE mouse

would be amazing to get your help here, bascially trying to implement your work in micropython (which would probably be insanely easy for someone who knows what they are doing...). Otherwise, please close / delete this asap I guess
https://github.com/micropython/micropython/issues/6557

Im not sure what do you expect, it seems you have good support from micropython devs.

no expectations, just a hint/link to this, in case someone feels an like contributing, as said, if this is time consuming for experts, close. I'm mainly trying to understand the enormously-seeming frameworks, but if I can contribute by linking/googling... it's the minimum I can do


ls -w should reject invalid values

This option does the following:
       -w, --width=COLS
              set output width to COLS.  0 means no limit

$ ls -w8 > /dev/null; echo $?
0

$ ls -w08; echo $?
ls: invalid line width: '08'
2

$ ./target/debug/coreutils ls -w08 > /dev/null; echo $?
0

Tested by GNU here:
https://github.com/coreutils/coreutils/blob/master/tests/ls/w-option.sh#L30=

Fixed by @Ganneff


Fix panic when some operator values are null during "manifest generate" or apply

Resolves https://github.com/istio/istio/issues/23562

In response to a cherrypick label: new pull request created: #23657


Update PhoneBook.java

I have made a correction by replacing the word 'is' with 'if'

Thank you :)


Whitelist metrics for MCG addon

Whitelist metrics for MCG addon, based on following document:

https://docs.google.com/document/d/19JST--IQyxTa_330D7mjJZUTEi2dqJ9NXcJ9J0SrhyY/edit?usp=sharing

This would enable us to create a dashboard in staging and production
telemeter datahub environments to realize our achieved SLIs in the defined SLO
range.
SLI metrics required by the MCG addon:

NooBaa_num_buckets_claims
NooBaa_num_namespace_buckets
NooBaa_num_unhealthy_bucket_claims
NooBaa_num_unhealthy_namespace_buckets
noobaa_accounts_num
noobaa_total_usage
odf_system_health_status
odf_system_iops_total_bytes
odf_system_throughput_total_bytes

Signed-off-by: Pranshu Srivastava<EMAIL_ADDRESS>

I think that the PR should to be reverted since we want https://github.com/openshift/cluster-monitoring-operator/pull/1700 be merged first then rhobs/configuration can be synced from CMO's master branch (with make whitelisted_metrics).


Archive Action Items

Action items are not currently being archived and at just left on the retro page. They should be getting archived and shown on the archive page.
Mockups

Finished


Not working, no error in console

I'm also working on a large file, but I never get the prompt to enter a path. Nor do I even see a message in the console.

same issues here file size is 91 MB


Image resizing fundamentally not working in most basic page setup

To reproduce, do the following:

Make a fresh virtualenv
Install django and django-cms from pip (latest versions)
Install django-cms using the djangocms installer tool
Add a superuser using manage.py
Launch django-cms and login as admin
Add a new page
Click "Edit"
Click "Structure"
Add a new "Text" content
In the WYSIWYG editor, insert some text and then insert an image plugin
Add a really big image (e.g. photo 4k x 4k or something)
Click the image for the detailed properties and make sure Crop and Upscale are checked, and Automatic resize is unchecked. Click "Ok" to close again
Resize the image in the WYSIWYG editor to a small size (like really small, try something around roughly 150 pixel) using the resize handlers and click "Save" on the text content
Publish changes on the overview edit page

Expected result:
The image is as small as in the WYSIWYG editor
Actual result:
The image will be huge again on the resulting site (expected behavior is obviously: it remains small).
If you click "edit" again and click the edit button on the text content, in the WYSIWYG editor the image is small again. If you right-click > "Inspect" in your browser, you will see width/height tags with exact pixel dimensions is set on the  instance displayed as part of the WYSIWYG content area. If you now return to the published page, no width/height tags are present on the  rendered as part of the resulting page which seems to be really weird.

Hello @JonasT , I believe this is an issue with the image plugin you're using.
If it's cmsplugin-filer or djangocms-picture, please create a ticket there in those apps.
Thanks!

I used your default install with your default choice of Image insertion. (I literally just clicked the button for content to insert and chose "Image".) I did zero work beyond just running the default installer with no extensions, other packages or anything
Do you expect me to know your internal project structure?? If this needs to be forwarded to some party, please do it yourself since I am just a user. You should really deal with bug reports of such basic functionality differently...

Checking again in the editor, it seems to be in a "Filer" section, so I am going to assume it's "cmsplugin-filer"?
However, just to stress this: there is literally no other option available, and this is the most default install I could have done with pretty much zero changes, and inserting images is a super basic behavior in a CMS - I can file it somewhere else if you tell me where exactly, but I certainly can't guess the correct responsible component myself..

Hello @JonasT,
Thanks for looking into it.
I apologize for the confusion. There's the cms core and then all the other third party integrations, as such we are constantly making sure to only file cms core issues here and distribute the other issues to their respective party. That said, I can see that we need a better strategy for this as it can sometimes be tricky to know which party the issue originates from.
Regarding this specific issue, seems like the problem comes from the WYSIWYG editor, the resize handles are added by the editor js but I don't think these are hooked up to the backend, an oversight on our part.
I've filed a ticket for this https://github.com/divio/djangocms-text-ckeditor/issues/362.


[WIP] Bug 1810008: Use the new tls-server-name option in kubeconfig

This will make sure every client, even the hidden ones, get the correct client info with SNI.
Requires:

[ ] client-go bump with https://github.com/openshift/origin/pull/24629

/cc @soltysh @deads2k

/retest

/retest

/lgtm

/bugzilla refresh


Expand the cosigned webhook to support attestations, plus cue policy for CIP.

This is a follow on work for the Cosigned API task force. Idea being is to bring parity between 'cosign cli' and being able to specify attestation policies just like we can do with 'verify-attestation' flag.
This document was created as a starting point for the discussion by few folks, @mlieberman85 @mattmoor @hectorj2f
I've been playing with it, and the policy bits are probably way too verbose because I don't quite know enough of cue to create sensible policies, but at least I was able to create a what I see a real world example demonstrating cases like:

need to support multiple attestations
need to support an image that must be signed by N different signatures
need to support that attestations of same type (say vuln scan) is attested by multiple signatures, and specifying the exact allowed signatures.

This document is a copy of the original cosigned api document, and the changes to it have been made in 'suggestion' mode to hopefully make the differences be easier to review.
https://docs.google.com/document/d/1p51OYNT1Qegc20aIwcchzXbLv7-PN8iip3OHtTOXWew/edit?usp=sharing

@vaikas I think it is a great approach ❤  to build this solution as part of functionalities that can be used by the CLI itself. I like the idea of adding support for matching attestations as part of the same policy definition.
Also if we develop it as a SDK functionality, other integrations could benefit by using it to ensure other type of resources (custom CRs) are also signed/attested using CIPs to define the policies.
We're happy to help here.


Flow-type

Hi!
Any plans about flow-type?

I am interested in supporting Flow, but I don't have the bandwidth to implement this myself. I'm going to close this issue out, but if anyone comes here and wants to add types for this library, then that would be awesome! Leave a comment here and I'll reopen this :v:


Added alternative ui - utorrent-ui

@bradcornford two questions:

is ui of 9 years old is useful ?
where you found utorrent-webui.2013052820184444.zip ? It does not listed on site https://sites.google.com/site/ultimasites/utorrent-miniui#download

Yes, its a great improvement over the stock Web UI, with multiple fixes in place for issues since the development for the UI stopped.

See: https://forum.utorrent.com/topic/49588-µtorrent-webui/


Please add note about premium capacity metrics app being deprecated and add the link to download fabric capacity metrics app.

Please add a note on the page for information about "The PBI Premium Metrics app will be deprecated in Fall of '23. After 10/1 please install the Fabric version of the metrics app to ensure accuracy of analysis for all platform features."
Click on the below link to install the Fabric version of capacity metrics app.
https://appsource.microsoft.com/en-us/product/power-bi/pbi_pcmm.microsoftpremiumfabricpreviewreport?exp=ubp8

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

ID: 4843cde8-6191-2773-7500-272b87ad8084
Version Independent ID: 27ff08bc-43e8-4c8d-2cf5-ad096b6f11ff
Content: Monitor Power BI Premium capacities with the Premium metrics app. - Power BI
Content Source: powerbi-docs/enterprise/service-premium-metrics-app.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Thanks for your comment, @rishigautam11. This issue has been assigned to the doc author for review.

Resolved.


MapFragment fixing

working on https://github.com/mapzen/android/issues/58

@ecgreb good catch. fixed.


redissonClient getPriorityBlockingQueue poll

hi, When I use redissonClient getPriorityBlockingQueue , there is a problem, this is the source code:
redissonClient.getPriorityBlockingQueue("xxxxxx").poll();
When poll was called, it blocked，

This thread 2 is WAITING, threads 1 and 3 are normal, Unless restarted。
This thread 2 remains in the WAITINGstate until it is restarted，
redisson 3.11.5 redis 2.1.9

Unable to reproduce with the latest version.


Uncaught SyntaxError: Unexpected token <

I frequently get this error after running "yarn run dev" and running the server.
This is the only error output :
app.b8da97e0aa7de58fcb04.js:1 Uncaught SyntaxError: Unexpected token <
vendor.b8da97e0aa7de58fcb04.js:1 Uncaught SyntaxError: Unexpected token <
However sometimes it works when I ran "yarn run dev", not sure what im missing or why this occurs sometimes?

Please be sure you're using node LTS and that you have no error in the build process.

Im using node v6.11.3 and there is no error in the build process. When i use docker to run everything I dont run into this problem?

So it means you have something in your system that is causing the problem. That's why we use docker, to make sure everyone has a stable environment.
We use same version of nodejs but no errors :)
What browser is showing the error?

Same error on firefox and chrome

Ok I think I've got it working but still not sure why. Doing the following steps seems to get it working most of the time:

npm run dev
python manage.py collectstatic
sudo systemctl restart gunicorn

Ok, I see you're using gunicorn, you need to restart it every time you rebuild the js.
In dev we run
./manage.py runserver

Closing this as you're not running the server as suggested in README. If you run the commands from README and still have problems please reopen.


added hold time constraint and corrected pack patterns for each mode

added hold time constraint otherwise setup time constraints is being used in timing analysis
corrected pack patterns to introduce unique pack pattern for each mode.

already merged


main.hand_drawn

[ ] Have you followed the contributing guidelines?
[ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

User:
Password:


won't compile

I went down a rabbit hole of adding libraries but nothing solved it.
In file included from ./glfw/src/internal.h:188,
                 from ./glfw/src/context.c:30,
                 from ../../go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20211204153444-caad923f49f4/c_glfw.go:4:
./glfw/src/x11_platform.h:36:10: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
   36 | #include <X11/Xcursor/Xcursor.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

$ uname -a
Linux snowbox 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Hii @scalefree  , This has nothing to do with Sandman . pls create a issue at @fyne-io/fyne


Android: AppState.memoryWarning never called for Android

Description
The memoryWarning event of AppState appears to be iOS-only, as it is never called on Android.
Android has an onTrimMemory callback that seems to be analogous to the iOS didReceiveMemoryWarning. Could that be used?
React Native Version
0.70.6
Output of npx react-native info
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 4.65 GB / 23.86 GB
Binaries:
Node: 18.14.2 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: 16.11.31729.503 (Visual Studio Community 2019), 17.4.33122.133 (Visual Studio Professional 2022)
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.3 => 0.71.3
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Subscribe to the AppState.memoryWarning event.
Snack, code example, screenshot, or link to a repository
I have an app in the field (We Ski and Snowboard Tracker) where memoryWarning events are logged to firebase. 100% of those events are iOS.

In v0.71.4, if I invoke a send-trim-memory event via adb, I get a memoryWarning event. Was this added recently to Android?


SelectAcceleratorCode: strip pointer casts when examining a call

At a call-site, the callee may not directly be a pointer to the
function; it can also be a cast expression even that points to the
actual function. This can happen even without an indirect call. The
traversal of the call-graph needs to be aware of such pointer casts.

@AlexVlx could you please take a look at this merge request? This is a simple way to handle function calls where the argument types don't match due to aliasing of global and generic pointers in HSA. The heavy gun would be run instcombine, but this is too early in the flow for that.
FYI: @b-sumner

@ssahasra, sorry I missed this:
a) I retain the objections I expressed elsewhere about allowing bitcasted calls in general, especially since what you're addressing is PRECISELY what HLLs define as UB - I'd have rather preferred if ROCDL was truly generic and bit the bullet of doing address space casts in the definition of a function, leaving the interface untainted by explicit address spaces, however that's a different kettle of fish; however, nobody else seems particularly bothered, so this is fine on that account;
b) The convergent / OptNone noise should go elsewhere, be it a different pass or a different function with some context as to why this is done, so that future generations who were not there when "Matt said so" can at least have a hope of understanding the why; also, hopefully this pass is going away sooner rather than later, so you'll have to find a new house anyway.
So modulo (b) I'm fine with this.

Oops. The convergent "noise" was not meant for your eyes! Moved it elsewhere.
Regarding (a), I have found no evidence that the bitcast invokes UB. On the contrary, it seems to be a well-supported pattern that is handled correctly and explicitly by InstCombine. Even if it really were UB, allowing the bitcast in the select... pass does not introduce any new bug in the program. It just means that an occasional function that should have been replaced with undef, will instead make it to the list of device functions. Both situations are covered by the UB, if that's what it is.
LGTY?

Bump! I would like to close this ASAP, so that I can move on to the next change to be reviewed!

You still need a second review IIRC. I already said that without the noise it's fine as far as I'm concerned, since I do not see the discussion about UB as going anywhere and we'll just have to agree to disagree. So can you ask @scchan to review so that you can move on to the next change to be reviewed? Thanks.

ping: @scchan


There are no new 1.21 music discs in miscellaneous.

Legacy4J Version
1.21-1.7.2
Mod Loader Version
Fabric loader 1.15.11
Bug/Glitch Occurrence Context

Crash Report
No response
What happened wrong?
No music. :(

Replace the creative json file inside the jar of the mod in assets\legacy
creative_tab_listing.json

Fixed in version 1.7.3, thanks for reporting.


mtb -source "source" -target "./"  : mtar created in subfolder of source

Environment:

MBT Version: Cloud MTA Build Tool version 1.2.7
OS Version:  docker image: "devxci/mbtci-java11-node14"
Project: https://github.com/rodibrin/cloud-cf-helloworld-nodejs/tree/GPP-MtaBuild-Source
Build on JAAS/Jenkins: https://d046169piperj383.jaas-gcp.cloud.sap.corp/job/ADMTemplatePiperBinScript/7/console

Steps to Reproduce:
The project sources are within the project's subfolder "source"
The configuration is done by the Piper OS .pipeline/config.yaml
The target folder isn't specified. Therefore, the piper step passes "./".
The working directory is the project's directory (".")
The pipeline runs
mbt build --mtar com.sap.piper.node.hello.world.mtar --platform CF --source source --target ./
The outcome is
${jenkins workspace}/source/com.sap.piper.node.hello.world.mtar
although the target points to the project directory
Additional combinations:

--source "./" --target "target"
leads to the mtar location: target/com.sap.piper.node.hello.world.mtar

--source "source" --target "./"
leads to the mtar location: source/com.sap.piper.node.hello.world.mtar

--source "source" --target "target"
leads to the mtar location: source/target/com.sap.piper.node.hello.world.mtar

confusing source and project path


fix(Jenkinsfile): disables systemtests because of version conflicts

dcos-system-test-driver dependency six has a wrong version and i dont have time to fix it right now 😢

I'd either fix it or disable the Jenkins file job until we're done with 1.11