bug(cdk/menuitem): Combining cdkMenu and ngTemplateOutlet results in a NullInjectorError

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Combining cdkMenu and ngTemplateOutlet results in a NullInjectorError
<ng-template #menuItems>
  <button class="example-menu-item" cdkMenuItem>Refresh</button>
  <button class="example-menu-item" cdkMenuItem>Settings</button>
  <button class="example-menu-item" cdkMenuItem>Help</button>
  <button class="example-menu-item" cdkMenuItem>Sign out</button>
</ng-template>

<ng-template #menu>
  <div class="example-menu" cdkMenu>
      <ng-container *ngTemplateOutlet="menuItems"></ng-container>
  </div>
</ng-template>

Reproduction
StackBlitz link: https://stackblitz.com/edit/wnmde6?file=src%2Fexample%2Fcdk-menu-standalone-menu-example.html
Steps to reproduce:

Click the Click me! button

Expected Behavior
The menu opens
Actual Behavior
An expection is thrown and the menu won't open.
vendor.js:48536 ERROR NullInjectorError: R3InjectorError(Standalone[CdkMenuStandaloneMenuExample])[InjectionToken cdk-menu-stack -> InjectionToken cdk-menu-stack -> InjectionToken cdk-menu-stack]:
  NullInjectorError: No provider for InjectionToken cdk-menu-stack!
    at NullInjector.get (vendor.js:43804:21)
    at R3Injector.get (vendor.js:45185:27)
    at R3Injector.get (vendor.js:45185:27)
    at R3Injector.get (vendor.js:45185:27)
    at ChainedInjector.get (vendor.js:57008:32)
    at lookupTokenUsingModuleInjector (vendor.js:47751:31)
    at getOrCreateInjectable (vendor.js:47797:10)
    at ɵɵdirectiveInject (vendor.js:52429:17)
    at ɵɵinject (vendor.js:43272:59)
    at inject (vendor.js:43357:10)

Environment

Angular: 17.3.1
CDK/Material: 17.3.1
Browser(s): Brave 1.65.114 Chromium: 124.0.6367.60 (Official Build) (arm64)
Operating System (e.g. Windows, macOS, Ubuntu): macOS 14.4.1

Won't https://github.com/angular/angular/pull/55389 fix this?

This is just how DI works: it's based on the declaration location in the template, not where the component is inserted. Closing since we can't do much about it on our end.


Link to a parked domain

The line "For an interactive table, see .NET Standard versions." links to a parked domain and should be removed.

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

ID: 9eb8b774-c6f0-8235-6964-15219baf2ea7
Version Independent ID: 6819a4a7-7527-d8c7-e132-767f7344e00e
Content: .NET Standard
Content Source: docs/standard/net-standard.md
Product: dotnet
GitHub Login: @mairaw
Microsoft Alias: mairaw

The link to http://immo.landwerth.net/netstandard-versions/# works fine for me:

Hmmm... landwerth.net is parked.

@terrajobst can you comment on this? Are there any plans to move that page to a more official place such as dot.net?

Ping @terrajobst

I don't think we support raw JS and I don't think we will. @DuncanmaMSFT can you comment here?
@rowanmiller is this something we could host on https://dotnet.microsoft.com/ perhaps?

Ignoring the current implementation, the idea of moving this information to docs seems like a good idea. No, we won't just post up a set of random javascript though (despite it's source being @terrajobst )

Yep we could definitely put this on the .NET site. We could build a simple page that has a brief summary of what .NET Standard is (plus this table) and then follow the usual model of sending folks to docs for more technical details. Any push-back on that? If not, I'll get it started.

I like that approach @rowanmiller. @DuncanmaMSFT if we can't host random javascript, is there any solution that would allow us to get this into docs? Or should I go the dotnet.microsoft.com route?

Putting it on the .NET site seems appropriate to me

Thanks for the feedback @DuncanmaMSFT. @rowanmiller please proceed with your plan then!

Great. I'll work with @terrajobst on moving it.

For anyone reading this thread, the replacement page is at https://dotnet.microsoft.com/platform/dotnet-standard


[Shaders] Allow trailing comma in initializer lists

GLSL allows trailing comma in array constructors, and so does many languages, this brings Godot shaders to parity with that
I believe I have caught every case, but might have missed some, as this is quite complex code, it works for both declarations in global, function, and argument scope, so believe I've caught everything
Edit: To clarify this is the curly braces style initialization by initializer list, as supported from version 4.2, not the parenthesis form, i.e. float my_arr[3] = { 1.0, 2.0, 3.0, }; not float my_array[3] = float[3](1.0, 2.0, 3.0);

By my reading of the GLSL grammar (transliterated from the spec PDF into text here), array initializers shouldn't allow a trailing comma, but maybe I've read things wrong.

The parser we are using, glslang, does, I've confirmed it in the parsed code

The parser we are using, glslang

Maybe ShaderLanguage should use glslang's parser all in all, then?

this is GLSL 4.2 stuff

Good to know. Should the documentation for the shading language be updated to reflect this? It's saying it's based on GLSL ES 3.0.
https://github.com/godotengine/godot-docs/blob/f6d53d141edad708f2106f77723895c66c65b674/tutorials/shaders/shader_reference/shading_language.rst#L9-L11

It would need to, initializer style arrays are not, AFAIK, supported in GLSL ES 3.0

It would need to, initializer style arrays are not, AFAIK, supported in GLSL ES 3.0

Maybe ShaderLanguage should use glslang's parser all in all, then?

Not sure how feasible that would be, it's GLSL specific, also glslang is only used when not using the compatibility backend, so it'd add an unnecessary dependency, might be possible to leverage some of that code though

Keep in mind the compatibility backend is GL ES 3.0 based. So we mostly limit our syntax to what is supported by GLSL ES 300 / GLSL 330.

Yeah it seems the initializer syntax is the one major divergence from that

If it works in the compatibility backend to use initializer lists then it doesn't pass it like that
But the discussions aren't moot by that reason though

To update on this. From my perspective, we shouldn't be cherrypicking advanced features from newer versions of OpenGL without good reason. The shader compiler is already super complex and IMO this kind of change adds complexity without providing a real benefit to users.
Further, without adding significant compatibility code ourselves, we risk breaking the engine on older devices where this sort of behaviour is not guaranteed by the spec and whether it works is up to the driver

Closing based on the above for now, was mainly a change to improve compatibility with external code as it's listed as supported in the relevant versions of the language, but it's just a minor convenience
I'll reopen it if desired in the future


Hiding /special message

I would like the ability to hide the message "You have a special item available: 'Factions Collector's Edition Present'. Special items can be created only once per account using /special." I don't feel ready to claim it yet, but I would still like to prevent the message from showing up whenever I enter an outpost.

sounds reasonable, but I would need to get the message packet that generates that message, and I don't have an account with that message.
If you can compile from the source, you would have to uncomment the define here https://github.com/HasKha/GWToolboxpp/blob/master/GWToolbox/GWToolbox/Modules/ChatFilter.cpp#L20, run and check the console.
Otherwise, I can post a .dll for you to run, then you'll have to report back and I'll post a .dll with the filter for you to verify that its working.

I'm having issues cloning the GWCA dependency, so I can't compile
output.txt

GWCA-public isn't updated yet, but it should be there soon.

It is a problem, because it causes an abort, preventing other dependencies from being cloned as well.

I'm still unable to open the workspace after cloning it
output2.txt

I can't figure out how to add GWCA-Public to the solution, as it lacks a project file. From what I've read at https://docs.microsoft.com/en-gb/visualstudio/ide/how-to-create-and-remove-project-dependencies it seems something needs to be a project in the solution before I can add it as dependency, and I don't know how to make GWCA-Public a project in the solution.

my bad, you don't need to add it to the solution, you only have to adjust the include and library paths to GWToolbox project. Editing my answer above.

Sorry, I can't get it to work, I think I'll need to take your offer of posting a .dll that I can run

I'm getting errors related to imgui as well, so it's still not working

If I try to comment those out, compile and then try to run the game with it, the game crashes

about imgui, you must be on a different, probably more recent, version/commit of imgui. Make sure you're on v1.53. Submodules should automatically set to that, maybe git submodule update (and ignore the errors related to gwca repo).

I just tried to build and run it with latest versions of imgui and public gwca, it works for me. Did you replaced the .dll from ../Release in your C:/USERs/USER/AppData/Local/GWToolboxpp folder?

Well, I got it to run, but I don't know how to see the chat packets. If I try to run it in Visual Studio, it says Toolbox.dll is not a valid Win32 application. If I try to attach it to Gw.exe in Visual Studio, nothing noticeable happens to the game. And if I put it in AppData\Local\GWToolboxpp, I don't see a noticeable difference with a regular GWToolbox.dll, I don't see anywhere to read the chat packets.

log.txt
I used /bonusitems first, the first set of chat packets comes from that, the last one is related to the /special reward
Then I map travelled to trigger the /special message normally

TLDR: The option to block /special messages can be implemented by blocking messages starting with 0x8101 0x39CD 0x10A and with P082: id 5. Probably... I'm no expert.

good job getting it to work, and thanks again.
your tldr is most likely correct, I'll just double check when I find the time to do this.

adding this, will be in next release. Binding the toggle to the 'nine-rings' filter, since I don't want to make an extra option that is only needed by a handful of users, and I don't want to force hide it, in case anything is off and it hides more than what we want.
Since you have a local copy, you can test the change yourself as well. In order to do so, open ChatFilter.cpp again, go to line 353 and add:
        case 0x39CD: // you have a special item available: <special item reward>
            return ninerings;

as shown here: https://github.com/HasKha/GWToolboxpp/commit/766c305530ee5a73b5d58e852dd25bceb1f81dec


[Add] feature name of train and test dataset

Development
Description
add feature name after splitting train and test data
Implementation
split champ data into train and test according to the ratio
Required Hidden Data
train and test data
Checklist

[x] Detail implementation description at the top of notebook
[x] Data input and output paths are correct
[x] Free of spurious comments
[x] Free of unnecessary notebook updates (e.g. cell executions count)

something like this
    os.makedirs(f"../{cancer_type}/result/{data_source}/{result_folder}")
result_max_per_gene_single.to_csv(
    f"../{cancer_type}/result/{data_source}/{result_folder}/dbeta.csv", index=False
)```

我的意思是可以在輸出之前檢查目錄在不在


Reason for nodes not including themselves in the dyn_seeds config?

I was wondering what the reasoning for requiring nodes not to list themselves in their dyn_seeds config?
If nodes were allowed to contain themselves it would slightly simplify the cluster wide config by allowing a single value that all nodes can share, rather than having separate config on a per node basis.

I completely agree. There is no doubt this will simplify the process. But I
am guessing this was not done in the first place and thats why the config
is still being inherited.
It should not be a big deal to match one of the nodes in dyn_seeds to
dyn_listen and listen.
In fact, I know there is special handling in the code just because "self"
is not added in the dyn_seeds. Sad but true.
There will be good change across the board for this: dynomite-manager and
dynomite both. Honestly, our hands are more than full right now, but if you
want to contribute, feel free.
On Wed, Mar 1, 2017 at 11:16 AM, AlexBoyd<EMAIL_ADDRESS>wrote:

I was wondering what the reasoning for requiring nodes not to list
themselves in their dyn_seeds config?
If nodes were allowed to contain themselves it would slightly simplify the
cluster wide config by allowing a single value that all nodes can share,
rather than having separate config on a per node basis.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dynomite/issues/423, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALle5zXbfok1nEPkWsUbi8SYeFBG4US-ks5rhcQogaJpZM4MQFQa
.

I took a look and it should be relatively easy to make this change.
The one issue is that it looks like the node doesn't use it's external hostname, but rather something like "<IP_ADDRESS>" when referring to itself. I could be wrong on that front, so I'd need to do a bit more digging.
If that is the case though I see 2 options to implementing this.

Match on dc / rack / token, and skip adding self to the dyn_seeds / peer list when there is already one provided via dyn_seeds for the rack / dc / token of the local node.
or
Add a new config to toggle the behavior of adding the local node to the peer list.

I like option 1 a bit better as it doesn't require creating / setting a new config to prevent breaking backwards compatibility, but it is adding some hidden magic under the hood that would be unintuitive to someone trying to understand the dyn_seeds config without looking at the code.
If we had this change though, we could change the docs to specify that all nodes should be listed in dyn_seeds with a note that each node will insert itself into its local list if not present for backwards compatibility reasons.

I like the option 1 so that it is backward compatible. Eventually, we may
want to error out when the self node is not there in the dyn_seeds to
impose the config change, so that the code can be more clear.
On Wed, Mar 1, 2017 at 4:43 PM, AlexBoyd<EMAIL_ADDRESS>wrote:

I took a look and it should be relatively easy to make this change.
The one issue is that it looks like the node doesn't use it's external
hostname, but rather something like "<IP_ADDRESS>" when referring to itself. I
could be wrong on that front, so I'd need to do a bit more digging.
If that is the case though I see 2 options to implementing this.

Match on dc / rack / token, and skip adding self to the dyn_seeds /
peer list when there is already one provided via dyn_seeds for the rack /
dc / token of the local node.
or
Add a new config to toggle the behavior of adding the local node to
the peer list.

I like option 1 a bit better as it doesn't require creating / setting a
new config to prevent breaking backwards compatibility, but it is adding
some hidden magic under the hood that would be unintuitive to someone
trying to understand the dyn_seeds config without looking at the code.
If we had this change though, we could change the docs to specify that all
nodes should be listed in dyn_seeds with a note that each node will insert
itself into its local list if not present for backwards compatibility
reasons.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dynomite/issues/423#issuecomment-283519499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALle594QxXM14h2_MHyIkfdYdDimCVxYks5rhhCdgaJpZM4MQFQa
.

@AlexBoyd feel free to create a PR ;)


[cicd] Update versions, fix cache error

Summary

This updates action versions to avoid node 16 warning.
Removes unnecessary go install action
Swaps go install to prevent cache error

How was it tested?
CICD

I think you can ignore lapp stack failure (know issue we're fixing in another pr)


CAMEL-18761 camel-open-api - Warning log when using boolean type

Trivial change
The generation of the Schema produce a warn log when it should not for the boolean type :
WARN  RestModelConverters            - Encountered unexpected type boolean in processing schema.
The OpenApi spec says : https://swagger.io/docs/specification/data-models/data-types
string (this includes dates and files)
number
integer
boolean
array
object

Since it just an error log, it's hard to test, so I added a boolean in the User.java, the log is no longer there.

Thank you !


heading elements in nav flex-direction: column displaying odd in chrome

disabled margin-collapse on the parent container and seems to fix.
Will let breathe a bit before closing.

fixed in 1.3.6


Null Reference Exception in Nuget Package Manager

Hi.
The HtmlAgilityPack (version > <IP_ADDRESS>) breake the Nuget Package Manager. The Nuget Package Manager throws Null Reference Exception when the HtmlAgilityPack upper than <IP_ADDRESS> was installed.

Hello @DmitryDem ,
Do you have the latest version of the Nuget Package manager?
It should work fine with the latest version.
Best Regards,
Jonathan

Help us to support this library: Donate


New version: AOMEI.PartitionAssistant version 9.15.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Closed due to winget bot automatically updating aoemi


Z-Targeting: fox goes into the ground

After equipping the fox, it goes into the ground.
https://user-images.githubusercontent.com/104460803/176060735-b67d2854-6394-4340-9823-f9667d896930.mp4

Related:
https://github.com/webaverse/app/issues/3054
https://github.com/webaverse/app/issues/1949


tf.nn.embedding_lookup_sparse Converting sparse IndexedSlices Warning

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): r1.11
Python version: 3.6
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10/7.3

Describe the current behavior
Using embedding_lookup_sparse raises the following warning:

UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory. "Converting sparse IndexedSlices to a dense Tensor of unknown shape."

Looking at embedding_lookup_sparse implementation, the issue comes from the gather after embedding lookup.
...
ids = sp_ids.values
ids, idx = array_ops.unique(ids)

embeddings = embedding_lookup(params,ids,...)
...
embeddings = array_ops.gather(embeddings, idx)

Describe the expected behavior
I didn't expect the sparse gradients to be passed to an op that can't back-propagate them inside
embedding lookup sparse.
Is there a reason this op does not call embedding_lookup on sp_ids.values directly? As opposed to
looking up the unique ids and calling gather on those rows ?

It was an optimization to unique ids before sending the RPC calls. It came through here.
@jhseu any further comment?

Thank you for looking into it. I suspected it could be something like that, it does have the problem I described though. There's an implicit conversion to a dense tensor, so the gradients are not sparse.

Any development?

@davidenunes We see that you are using old version of tensorflow 1.x which is out of support window, We recommend that you upgrade to 2.6.0  and let us know if the issue still persists in newer versions .Thanks!

I am using TensorFlow 2.6 and the warning persists.

Why is this issue closed? We are still seeing the issue

@StarWang, please do try to answer the bot form. Hopefully, they will upgrade it, so the bot does not preemptively close issues when no solution is known yet.

Hi @davidenunes,
Looks like tf.nn.embedding_lookup_sparse() works fine with Tf v2.9.
import tensorflow as tf
params = tf.constant([10.0,20.0])
sp_ids = tf.sparse.SparseTensor(indices=[[0, 0], [1, 2]], values=[0,1], dense_shape=[2, 4])
tf.nn.embedding_lookup_sparse(params, sp_ids,sp_weights=None )

Output
<tf.Tensor: shape=(2,), dtype=float32, numpy=array([10., 20.], dtype=float32)>
import tensorflow as tf
params = tf.constant([10.0,20.0, 30.0, 40.0])
sp_ids = tf.constant([0,1,2,3])
tf.nn.embedding_lookup(params,ids)

Output
<tf.Tensor: shape=(4,), dtype=float32, numpy=array([10., 20., 30., 40.], dtype=float32)>

What is the minimum version for which this works now? Sadly in my computer science department, there are lots of machines with relatively old GPUs that will not support Tensorflow 2.9. Furthermore, do you have any idea what was the origin of the warning? How was it resolved? Or was it simply silenced?

Hi @LucaCappelletti94, Minimum Tensorflow version required is 2.4. Warnings are not just simply silenced, they have been taken care in latest Tf versions. Thank you!

I have just tested this in TensorFlow 2.9, and the warning  about the memory usage is still very much present. The method, of course, still works, but that was never the issue here.

@LucaCappelletti94, Request you to raise new issue by providing all the required details in the template. Thank you!

Since it is the same issue it would not make sense to create a new one. It is simply this same one, as reported by @davidenunes, and can be recreated by the code reported in the original issue.

Hi @davidenunes ,
This seems resolved already as I don't see any warning now with latest TF version.
Logs:
(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ python 23566.py
Metal device set to: Apple M1 Pro

systemMemory: 16.00 GB
maxCacheSize: 5.33 GB

tf.Tensor([10. 20.], shape=(2,), dtype=float32)

(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ cat 23566.py
# -*- coding: utf-8 -*-
"""23566.ipynb

Automatically generated by Colaboratory.

Original file is located at
    https://colab.research.google.com/drive/1nb1ysIMYPWWFpV4_ZoFyse16nHhkzJ0M?resourcekey=0-9tFQh4X0WTIx2P-lSMxsxw
"""

import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='1'

import tensorflow as tf
params = tf.constant([10.0,20.0])
sp_ids = tf.sparse.SparseTensor(indices=[[0, 0], [1, 2]], values=[0,1], dense_shape=[2, 4])
print(tf.nn.embedding_lookup_sparse(params, sp_ids,sp_weights=None ))


fix restTime bug

Ⅰ. Describe what this PR did
fix restTime bug
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #954 into develop will decrease coverage by 0.05%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #954      +/-   ##
=============================================
- Coverage      37.17%   37.12%   -0.06%
  Complexity      1027     1027
=============================================
  Files            225      225
  Lines           8906     8905       -1
  Branches        1070     1070
=============================================
- Hits            3311     3306       -5
- Misses          5209     5212       +3
- Partials         386      387       +1

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/seata/server/session/GlobalSession.java
84.91% <100%> (-1.2%)
50 <0> (ø)

...o/seata/server/coordinator/DefaultCoordinator.java
47.46% <0%> (-1.27%)
17% <0%> (ø)

Continue to review full report at Codecov.

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

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

I think that the unit of restTime is wrong.Should change it to nanosecond?

Or just change System.currentTimeMillis() to System.nanoTime(),and change the value of GLOBAL_SESSOION_LOCK_TIME_OUT_MILLS.

restTime

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

restTime

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

yes , i will fix it

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

i fix it, please review

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

i fix it, please review

The PARK_TIMES_BASE will be 1000 times of its original value,I'm not sure whether it is right or not.

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

i fix it, please review

The PARK_TIMES_BASE will be 1000 times of its original value,I'm not sure whether it is right or not
it is my mistake, PARK_TIMES_BASE_MILLS should be  1 ms

I think that the unit of restTime is wrong.Should change it to nanosecond?

why? mills is enough

long parkTime = backOffTime < restTime ? backOffTime : restTime;
LockSupport.parkNanos(parkTime);

The unit between backOffTime and restTime is different.

i fix it, please review

The PARK_TIMES_BASE will be 1000 times of its original value,I'm not sure whether it is right or not.

fix it PARK_TIMES_BASE_MILLS = 1


remove sp-staking from frame-support deps

and sorted the deps to make it easier to read

I don't get why you remove this dep?

I just want to reduce the complexity of the dependency graph and allow downstream projects to compile with minimal amount of code.
For example, why should a parachain need to compile sp-staking if it does not use staking?
I am building a tool to generate mock validation for parachain runtime testing purpose and the only dependency is cumulus sproof builder. I don’t feel it make sense to require such project to pull and build sp-staking.

Then these traits should be moved to some different crate and not just redefine the type here. And TBH, if you pull in sp-staking or not, it doesn't make any big difference for this small crate.

Closing as not super important and we likely need a proper refactor.


Add dashboard for AWS S3 Buckets

Relevant information
This is just a PoC where we try how much effort takes to move the old INFRA nerdlets into synthesis.
Overall it required some manual parsing of the files to use the public dashboard format instead of the mosaic one.
We should automate this parsing once we decide on migrating all of them.
For context there are around 200 entity types UI's that could be migrated to synthesis.
Note: After merging this PR nothing will actually change. We need to point infra-awss3bucket ui definition to use synthesis nerdlet instead of the infra one. I'll test that in staging once we merge this PR
Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

Merging since this will not have an effect on the UI and we are using it for a PoC


Can i get a photo after scan ?

after running  String barcode = await scanner.scan(); will return string, can i get a photo after scan ?

you can read this article
https://itnext.io/qr-code-in-flutter-9b7072343598


There is nothing can animate the page fault in the traditional OS

There is no data exchange between main context(memory) and external context(disk),
so there is nothing can animate the page fault in the traditional OS as described in your paper.

I'm not sure what you mean. If you're referring to #250, I have already told you that this is not the case, things are in fact stored in recall memory.
We have various examples of loading data into external context.


Cannot get a simple implementation to work, I must be doing something wrong

I have installed this on two different Laravel apps, one of them a fresh Laravel 8 + Sanctum install with solely this package and a simple Posts model. I have gone over the docs three times now, yet whatever I try to do, I always get 403 Forbidden as result. Calls to the same Posts model via standard Laravel returns the data and a 200 response. What am I doing wrong?

You most likely need a PostPolicy. This chapter is about Authorization:
https://laraveljsonapi.io/docs/1.0/requests/authorization.html
I'm aware I need to write a basic tutorial but haven't had time to do that yet.

Indeed it was as simple as adding a policy and registering it as per Laravel docs. Thanks for helping me out here.


populate_db:Add non-ASCII and non-BMP characters in username and streamname

THE ISSUE: https://github.com/zulip/zulip/issues/14991
I added non-ASCII and non-BMP characters in some usernames and stream names generated by populate_db. Also changed the way of naming "extra streams" by making a list of stream names and then selecting randomly from it (similar approach as creating extra usernames).
Testing Plan:
./manage.py populate_db --extra-users 500 --extra-streams 25
GIFs or Screenshots:

@anshgit101 can you fix the CI errors?

@anshgit101 can you squash the 2 commits?
(Read up on interactive rebase for doing that)

@amanagr is it fine now?

Yeah, you can wait for Tim to do a final review. Also, we should keep the first line of commit message to be less than 70 letters.

Closing as I think this is unfinished and I think not much progress towards https://github.com/zulip/zulip/issues/14991.


Why was the property BinPackResult.AllResults dumped?

This method allowed showing several solutions some of which were equally interesting?
I have implemented the Sharp3DBinPacking algorithm in StackBuilder and I believe most users were interested in having several solutions with same pallet height to compare.
Is there a workaround to this issue or should I create my own fork?
Regards,

The implementation in 1.0 will generate each result(multiple bins) from single algorithm+parameters, and compare all results to choose the best.
Since 2.0 the implementation is changed to generate each bin from single algorithm+parameters, and compare bins to choose the best, so one result can mixed from multiple algorithm+parameters, thus can't provide BinPackResult.AllResults as the previous version.
Actually I implement this months ago in my company, and it brings better volume rate except the last bin, it matched the situation my company wants.
The real problem is I can't find a best algorithm that apply to all combination, so I changed the way how to choose between them, the algorithm itself is unchanged so you can use them only in your project.

Thanks for taking the time to answer.

I believe you would obtain even better results if you tested combination between sets of identical boxes.

Also, I know from Puzzle author (Fraunhofer Institute commercial software) that one should try and built assemblies of identical boxes (i.e. if you have got 8 boxes: try 2x4x1, 4x2x1, 2x2x2...) before going through a variety of algorithm.

The real problem is I can't find a best algorithm that apply to all combinations
Check the following: https://github.com/wknechtel/3d-bin-pack
If I finally can successfully translate to C#, I will let you know.


Hey guys, does this package ready for production usage?

I've tried npm build, seems OK but there's no server running.
I've also tried setting NODE_ENV=production and it didn't do the trick.

Hi! The npm run build does what it says: Builds minified & production-ready files under /build directory. Files are static and no server whatsoever is involved within these files. You need to upload these files to your server and configure it to serve the files to browser from that location.

I have my production App with npm run build. Static files of the build folder are in a Static Server in Express Nodejs.
My problem is that the vue-router does not work. If I put /signin directly it appears Cannot GET /signin and '*' route does not work. What server do you use for production?
Thank you

@mimartinez could you please show your routes in Express?

My file server.js:
const express = require('express');
const path = require('path');
const serveStatic = require('serve-static');

const app = express();

app.use(serveStatic(path.join(__dirname, 'build')));

const port = process.env.PORT || 8080;
app.listen(port);
console.log(`Our app is running on port ${port}`);

In package.json script "start": "node server.js"
I do not have routes.

Hi, just tested with below code & the static build files work.
Note the omitting of serveStatic as Express has this method built in now.
const express = require('express');
const path = require('path');

const app = express();

app.use(express.static(__dirname + '/build'));

const port = process.env.PORT || 8080;
app.listen(port);
console.log(`Our app is running on port ${port}`);

If this does not work the error has to be in your Vue-router file.

Hi, just tested with below code & the static build files and this works.
Note the omitting of serveStatic as Express has this method built in now.
const express = require('express');
const app = express();

app.use(express.static(__dirname + '/build'));

app.get('*', function(req, res){
  res.sendFile(__dirname + '/build/index.html');
});

const port = process.env.PORT || 8080;
app.listen(port);
console.log(`Our app is running on port ${port}`);

If this does not work the error has to be in your Vue-router file.

Very good!

Great work ! @villeristi KEEP IT UP.


Error sending the email code.

I'm getting this error in Android version of my app. It works fine in iOS.

Everything is configured properly as mentioned in README.

@hzalaz Can you take look into this issue?

@naineshg if it's still an issue please contact us via https://support.auth0.com. It could be that either the email connection is disabled or not properly configured in your tenant so we need that information


yolov3 coverting failed!

Hi,
I  cloned the lastest version of the the Tengine-Convert-Tools from https://github.com/OAID/Tengine-Convert-Tools， the rebuild it successfully. Yet，error shows below.

Do you know what version of the covert code is good ?
Note: I have tried many version of  https://github.com/OAID/Tengine/tree/tengine-lite/tools/convert_tool. Yet it did not work also mostly!
Could you help me to have a deep look?
tks

hello，any one could have a look？


How to install cuda 11.3 in ubuntu 22.04

Hello, and thank you for providing excellent code.
I'm currently trying to conduct tests on Ubuntu 22.04, and I have a question regarding the CUDA version, which is set to 11.3.
As of my knowledge cutoff date in January 2022, CUDA 11.3 was available up to Ubuntu 20.04.
I'm curious about how you installed version 11.3 on Ubuntu 22.04. Thank you.

Use runfile.
The 20.04 installer can be used in 22.04 as well.

Use runfile.
The 20.04 installer can be used in 22.04 as well.

I see, thank you very much!! I appreciate your help.

Fine. I will close the issue.


Better documentation

It should be kinda obvious but it actually took me a while to figure out that I had to run cd recipes/meta/ && ./Recipe XXX.yml to build an AppImage from a yaml script. I think there should be a better documentation, with examples how to build them locally using chroot, schroot, docker or similar solutions.

You are right, this is an area that needs better documentation. Adding a short paragraph to the README.md for starters.

As for "chroot, schroot, docker or similar solutions", I am running the recipes in a trusty Docker environment on Travis CI. Do I get you right and you would like to be able to run them in a non-Ubuntu environment?

Not exactly. I'm using Ubuntu 16.04. But I want to build them on Ubuntu 14.04 or even 12.04, so I want to use schroot on my own computer to do that.

At least for .yml files that use debian repositories and/or Ubuntu ppas as ingredients, the recipe produces the same output regardless of the Ubuntu version you are running them on, since the ingredients specify the sources and debian/Ubuntu release to be used.
For other recipes where re run ldd it is a different story; I am using testappimage and a Live ISO most of the time.


[Question]: Difference between longcontextreorder and flagembeddingreranker

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Whats the difference between longcontextreorder and reranker. Can someone explain it to me clearly with some examples

@dosu-bot can they be used together


ansible_default_ipv4 variable not defined

Hello,
TASK [community.hashicorp.ansible-consul : Create configuration] ********************************************************************************************************************
task path: /---/ansible_collections/community/hashicorp/roles/ansible-consul/tasks/config.yml:4
fatal: [qpi.lan]: FAILED! => {
    "msg": "An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleFilterError'>, original message: Mandatory variable 'ansible_default_ipv4'  not defined."
}

I have an Rapsberry Pi with Ubuntu 20.04.1
I tried to changed in template to ansible_all_ipv4_addresses
But same error.
Thanks

I was able to setup client only with
 consul_datacenter: "dc"
if I leave empty or dc1 I get the same error

Does someone already try to install it on rapsberry already?

Hello,
My friend @wiseflat find the solution for me.
In inventory.ini, add this and ajust to your case:
[consul_instances]
vps02 consul_node_role=server consul_bootstrap_expect=true

[nomad_instances]
vps02

[server:children]
consul_instances
nomad_instances

Only one instance of consul in my case.
Or if you need many instances, all must be reachable and on same project
And it's work!

This role doesn't allow you to run the playbook with the --limit option. If you do use this, it will fail with this error message because it needs to be able to collect facts for all the consul hosts.

Hi all, I am getting same error as mentioned by @fred-gb in above post running on RHEL 8.1 on Azure. I already have the inventory ini file structured. It was working about a month ago with similar set up but now while running against a set of new hosts it is throwing up this error. Any ideas what the actual resolution was on it ?

Hi @bbarman4u
If you try this in your playbook?
  tasks:
    - name: Add host to consul group
      add_host:
        hostname: "{{ instance }}"
        group: consul_instances

Hi @bbarman4u
If you try this in your playbook?
  tasks:
    - name: Add host to consul group
      add_host:
        hostname: "{{ instance }}"
        group: consul_instances

@fred-gb Could you please explain how this solves the problem ? As I understand, it will help if some one has a dynamic inventory of the target hosts other than what is being worked upon from the static list in an inventory file. In my case my inventory file is static (pretty much mirrors the way the example in the README.md is).
Appreciate your help and response !

in my case, you need to set consul_bind_address in inventory file of consul server hosts, and it'll not looking for ansible_default_ipv4 anymore.
ref

You could also define consul_iface to suit your platform I believe.


Dark Mode: Settings

Summary of the new feature/enhancement
Add the system theme mode.
Proposed technical implementation details (optional)
Loads the windows ui theme mode.

Are you asking for this in FZ, WKSG, settings or something else?  Thanks

Because it's a web app inside Electron (or something similar), querying @media (prefers-color-scheme: dark) should be enough

It should respect the users setting of Light or Dark Mode

The only UI is the settings, so i mean settings.

It should respect the users setting of Light or Dark Mode

With CSS Variables and the media query, that shouldn't be a problem to implement

Simple theme creation should be standard across all these apps with ability to edit colors using HUE/RGB/HTML and saving theme to a file, with a simple location or double click to use. I propose for promotion purposes that MS would do well to officially make a Dracula theme in Power Toys to stand out.
https://github.com/dracula/dracula-theme

Dark mode should be added to Shortcut Guide too though (black tint and white text)

Yay! Dark theme for Settings with version <IP_ADDRESS>. Now, if only there was a dark theme for the Fancy Zones UI...

@lucknaumann
a dark theme for the FancyZones UI is coming soon ;)

Can we also get dark mode for the title bar?

We are working on it, it was reported in https://github.com/microsoft/PowerToys/issues/732

One more issue about dark mode, all setting buttons are always blue background and black foreground:

can we also refine the dark mode color?

Small interactive elements are supposed to have  a desaturated accent in dark theme so that's fine

We'll be be fixed with settings v2 since we'll be directly utilizing brushes from the OS

It's not fully supported in 0.18 https://github.com/microsoft/PowerToys/releases


Server-Error - Calliope mini v3

Describe the bug

The generation of the source code of a NEPO program (even if it only includes the start block) causes a server error. The error is visible when attempting to view the source code, run a simulation, or upload the program to the Calliope mini v3.
With the import of the SOS.xml file, everything works perfectly.

To Reproduce
Steps to reproduce the behavior:

Go to 'Calliope mini v3'
Click on 'Sim', 'source code view' or 'run program on system'
See error

Expected behavior

Code generation, download/run program on Calliope mini v3, etc.

Screenshots

Device information

Type: laptop
OS: Windwos 11
Browser: Chrome

this issue was already fixed and released with 36d05c53547bdb50970f41a8234896ccd95c5411


How should I make statistics viewable?

A button in the corner? A console system? Setting up a website with node.js and have it be synced? Having a banana type it out for me?

alerts, haha
Somewhere on the agar.io page.

Make a node.js website with a password-protected page where the stats can be typed in, to be displayed in an online console-themed page. Have a banana type into the password protected page all of the stats that need to be displayed. Then make a button in the corner of the agar.io site that takes you to the display page of the site you set up.

Okay, thanks!

I'll try to do the html for the display  but I might end up asking PJ to do it :P

How about stats where the ad is?

yeah

If you give me an easy way to get the stats with js (such as an object with properties for each stat), I'd be happy to display them.

YAYAYAY

Hey is this still a thing that exists?

doubtful

I'm working on an Ogar mod so yeah

The bufferless version really sucked compared to buffered

what is ogar

also gitter

K

Ogar is an agar server

Can you do me a favor and revert this back to the buffered?

you can, since I don't work on this any more

I don't either whatever


remove apidocs/layouts after build

Proposed changes
Edited Dockerfile to remove apidocs/layouts after build process.
It's not supposed to be displayed independently, and it generates broken link errors. ( #1068 )

@johndmulhausen Can you merge that one please?
It also fixes a problem in master (keywords in swarm_manager_locking.md)

Thanks, @aduermael :)


Old version, missing opcodes

Hi, it seems like the version of this library is old and out of sync with the official libraries.
Running a model with a few dense layers, the first one does a sub operation and it is missing.
Didn't find op for builtin opcode 'SUB' version '1'
Failed to get registration from op code  d

Looking into AllOpsResolver, there's no sub operation there, but it is present in the tensorflow github (AddSub)

I see the issues....
The most recent RC 2.4.0 doesn't make a build on esp32 because of bugs. They seem to have added esp32 to CI so that shouldn't happen again.
Previous versions higher than yours worked (i.e. the opcode SUB was present), but only when building with arduino. When building with espidf, there would be a byte alignment issue (8 bytes lost due to alignment. To avoid this loss, please make sure the tensor_arena is 16 bytes aligned.)
The byte alignment was fixed in september but due to the lack of a functional build, I'm using nightly as the most recent.
I ended up forking it for my own use https://github.com/tcirstea/Arduino_TensorFlowLite_ESP32
Note if you want to pull those changes in, I removed the examples (since import locations and namespaces changed), I changed the readme and changed the library.properties.
I have both v2.3.1 for arduino and v2.4.0-rc-nightly for espidf on there.
Feel free to close this issue if you like.

Thank you very much.
I would like to update it once it is officially released.


Roll engine 00e4abff84a6..db59088159a5 (1 commits)

https://github.com/flutter/engine/compare/00e4abff84a6...db59088159a5
git log 00e4abff84a6..db59088159a5 --no-merges --oneline
db5908815 Roll src/third_party/skia 7d2aae3165a2..2eccd58916ee (3 commits) (flutter/engine#6862)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll


update jupyter installation instructions

recommend the jupyterlab extension manager rather than install and activate commands in terminal. The extension manager seems to work really well.
Also remove explicit mention of R, octave and julia, and instead link to list of kernels

Thanks for adapting this!


Design GUI for media play area on starting page

User story

As a User
I want to be able to enter an area in the test app where all use cases for the media play are collected
So that I can easily switch between the use cases.

With this User story the graphical user interface of the media play area of the app is to be designed.
The implementation of entering the area will be done with user story #43.
Acceptance criteria

The graphical user interface of the media play area in the app is designed.
An XML for the GUI of the media play area in the app has been created in Android studio.

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Deleting Branches via pr accidently closes issue


Can we tag wasi-sdk-8?

I'd like to get a release that includes the new tarball layout (f967f43) and the cmake file (350d45b)

Go for it. You have the right privileges, right? If not lets get them for you...

Whats the release process?  git tag ... then upload the binaries via the web interface?  We don't have automatic uploading of assets yet do we?

If it's not too much trouble, would you mind looking at whether https://github.com/CraneStation/wasi-sdk/pull/72 and https://github.com/CraneStation/wasi-sdk/pull/73 can be pulled in? Thanks!

@sbc100 github releases require an "annotated tag" which for some reason is a different tag (fooled me at first), so git tag -a wasi-sdk-8. Then, for the github release page, I usually just hack together a change log out of the git commit names.
We really should setup automatic uploading of assets but I never got around to it. I usually just build the Linux binaries on my laptop and then ask Tyler to build the mac binary on his.

sgtm, I'll go through that process now, and maybe document it.

I'll wait for #72 which is about to land ..

OK I made the version 8 release.  Would you mind kicking the tires?

@tyler would you mind uploading the mac version?  (I do have access to mac so I could do this too if its a lot of trouble for you).

wasi-sdk-8.0-macos.tar.gz absent?

We don't have artifacts uploading from CI working, so we're waiting for a team member to do the build and upload from a macbook. We'll try to get it finished today

Gentle reminder.

I'm happy to try and create and upload the mac archive, but I've not done it before.  @tyler how to do you do it?  Presumably you can't use the docker script on mac?

Tyler uploaded it a few hours ago.
To build it you use the same make package target as we run inside the docker container.
I'll put some time into getting GH Actions to upload the built artifact for tags. @alexcrichton just did some work for that on Wasmtime and Cranelift that I can crib from.

Currently I think one needs to make package as root right?  It would be nice if we could fix this at some point.


PT Run: Reactivating it does not give focus to text input area

Environment
Windows build number: [run "ver" at a command prompt]
Microsoft Windows [Version 10.0.18363.900]
PowerToys version:
0.19.2
PowerToy module for which you are reporting the bug (if applicable):
PT Run

Steps to reproduce

Activate PT Run
Type a program name
Open the program
(PT Run closes)
Activate PT Run again
The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again

Expected behavior
When reopening PT Run, the list should clear and focus on the text area again to allow user to type new commands
Actual behavior
The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again

are you selecting the program via mouse or keyboard?
@somil55 as FYI, think we  (aka you) fixed this with .20

I can verify that I am having the same problem in 0.19.2

@crutkas I think it is same as #4897. @kingp0dd Can you please confirm if this is happening when you open a program by using keyboard (press Enter on the result) ?

In my case, the cursor actually flashes, but typing does not enter into the field. For instance, if I had notepad open and pressed the hotkeys, when I started typing, the text would go to notepad instead of Run, even though the cursor in Run was flashing.

I'm activating it through hotkey (Alt+Space).
I have to press Shift + Tab in order to focus the text area input

closing this as a duplicate of #4897, which has been fixed in upcoming 0.20 release!


Topic content filter fallback

Internal review

@fujitatomoya @Barry-Xu-2018
Could you help to do an internal review for these two PRs (this PR and https://github.com/iuhilnehc-ynos/rcl/pull/4)?

About the file name(such as DDSFilter[*].h/cpp), I wondered if we should keep them or update them? Do you have any suggestions?
For the first time internal review, I think we can focus on the basic logic.

@iuhilnehc-ynos wow, this is huge 👍 cannot promise when but i will try to do my best.

Partial comments. I will continue to review.

I'll continue to supplement
https://github.com/iuhilnehc-ynos/common_content_filter/blob/dff09f0751c6d46ae9572f72c01148018456d604/common_content_filter/src/api.cpp#L74-L76

Whether tao_pegtl_vendor  directory need to be moved to another repository finally?

Whether tao_pegtl_vendor directory need to be moved to another repository finally?

I'm not sure. It's better to let the community make the final decision.
I thought that before, but I also thought that the tao_pegtl_vendor might only use for common_content_filter in ros2 repositories.

I'm not sure. It's better to let the community make the final decision.
I thought that before, but I also thought that the tao_pegtl_vendor might only use for common_content_filter in ros2 repositories. (e.g. sqlite3_vendor in the rosbag2)

Yes. Let's hear the community's suggestions.

Thanks. I have no more comments.


Bump framework and inbound-oauth versions

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2100627008

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2100627008
Status: success


Document new build script location as a recommendation

See #13158 for something in the docs that should be checked.

We decided not to implement this now.


cellular sensitivity terms

Need to review text definitions and placement of cellular sensitivity terms.

is_a MP:0000313 ! abnormal cell death [DEF: "any anomaly in the cessation of function at the cellular level"]
>     is_a MP:0008942 ! abnormal induced cell death [DEF: "anomaly in the response to an agent that induces cessation of function at the cellular level"]
>      is_a MP:0008943 ! increased sensitivity to induced cell death [DEF: "decrease in the exposure level to an agent that is required to induce cessation of function at the cellular level"]
>       is_a MP:0004227 ! increased cellular sensitivity to ionizing radiation [DEF: "increased incidence of cell death following exposure to high levels of ionizing radiation"]
>        is_a MP:0002007 ! increased cellular sensitivity to gamma-irradiation ***  [DEF: "increased incidence of cell death following exposure to high levels of gamma-irradiation"]
>
>
> >> c- The response to radiation is not always death. Where did this definition come from?
> >>
> >> P
> >>
> >> Sent from my iPhone
> >>
>> >>> I made the following changes to better leverage GO and also to better mirror the textual definitions and MP hierarchy:
>> >>>
>> >>> [Term]
>> >>> id: MP:0002007 ! increased cellular sensitivity to gamma-irradiation
>> >>> -intersection_of: PATO:0001549 ! increased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010332 ! response to gamma radiation
>> >>> +intersection_of: PATO:0000912 ! increased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from GO:0071480 ! cellular response to gamma radiation
>> >>>
>> >>>
>> >>> [Term]
>> >>> id: MP:0002879 ! increased cellular sensitivity to X-ray irradiation
>> >>> -intersection_of: PATO:0001549 ! increased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010165 ! response to X-ray
>> >>> +intersection_of: PATO:0000912 ! increased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from GO:0071480 ! cellular response to gamma radiation
>> >>>
>> >>>
>> >>> [Term]
>> >>> id: MP:0003207 ! decreased cellular sensitivity to gamma-irradiation
>> >>> -intersection_of: PATO:0001550 ! decreased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010332 ! response to gamma radiation
>> >>> +intersection_of: PATO:0000911 ! decreased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from GO:0071480 ! cellular response to gamma radiation
>> >>>
>> >>>
>> >>> [Term]
>> >>> id: MP:0004227 ! increased cellular sensitivity to ionizing radiation
>> >>> -intersection_of: PATO:0001549 ! increased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010212 ! response to ionizing radiation
>> >>> +intersection_of: PATO:0000912 ! increased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from GO:0071479 ! cellular response to ionizing radiation
>> >>>
>> >>> [Term]
>> >>> id: MP:0004228 ! decreased cellular sensitivity to ionizing radiation
>> >>> -intersection_of: PATO:0001550 ! decreased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010212 ! response to ionizing radiation
>> >>> +intersection_of: PATO:0000911 ! decreased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from GO:0071479 ! cellular response to ionizing radiation
>> >>>
>> >>> [Term]
>> >>> id: MP:0004587 ! decreased cellular sensitivity to X-ray irradiation
>> >>> -intersection_of: PATO:0001550 ! decreased sensitivity
>> >>> -intersection_of: inheres_in GO:0005623 ! cell
>> >>> -intersection_of: towards GO:0010165 ! response to X-ray
>> >>> +intersection_of: PATO:0000911 ! decreased rate
>> >>> +intersection_of: inheres_in GO:0008219 ! cell death
>> >>> +intersection_of: results_from MP:0002879 ! increased cellular sensitivity to X-ray irradiation
Reported by: cindyJax
Original Ticket: obo/mammalian-phenotype-requests/936

Rather than changing the definitions or placement we may need to change the labels of these terms. The definitions fit for the placement of the terms.
Looking at annotations we may need the non-cell death terms


[SystemVerilog] Create style guide torture test

It would be nice to have a "parser torture test" for our SV style guide: a synthesizable design which uses all the features we're using in our style guide. We can then use this to quickly check if tools are able to understand our SV subset. Essentially, copying all code examples into a couple files ...
I'd not go beyond a parser test, i.e. it's out of scope if the tool actually understands and processes the constructs right.
The need for this showed up in https://github.com/lowRISC/ibex/issues/117. (Quartus Standard doesn't support some of the constructs we're using.)

Small tests for each feature might be more useful (though I appreciate they're not all totally separable), and may make it easier to see how "far away" a given tool is from supporting the feature we would ideally like to use. It does run the risk that the tool accepts the syntax but does the wrong thing in a hard to diagnose way, but that's going to be a risk with the larger design too.


catch passphrase password in diskutil command

related issue: #58

Codecov Report
Base: 67.07% // Head: 67.07% // No change to project coverage :thumbsup:

Coverage data is based on head (4873e77) compared to base (aeb1e1e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   67.07%   67.07%
=======================================
  Files          18       18
  Lines        1652     1652
=======================================
  Hits         1108     1108
  Misses        544      544

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

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


Android hashtag modal shows wrong thing

Describe the bug
On Android, after updating the app to 1.71, the first 2 entries of the hashtag modal (when tapping a hashtag) shows some ids instead of the "see #hashtag posts" and "see #hashtag posts by user".
It works fine on web.
To Reproduce
Steps to reproduce the behavior:

update the app to 1.71
find a post with a hashtag and tap on it

Expected behavior
Proper text is shown for these entries instead
Screenshots

Details

Platform: Android
Platform version: 14
App version: 1.71.0

Can repro. This is fascinating.

Even more fascinating that I can't repro it in the emulator, only on my device. Hey @corn-flour what's your phone are are you running LineageOS by some chance?

FYI there are multiple reports of this in the 1.71 thread too:
https://bsky.app/profile/dlvienna.bsky.social/post/3kn2lj65ns22j
https://bsky.app/profile/aenigmea.bsky.social/post/3kn4zkuruv22g
https://bsky.app/profile/schnauzerface.bsky.social/post/3kn2fpk5r5k2f
https://bsky.app/profile/bigbamboo.bsky.social/post/3kn2fw2x3v22n
https://bsky.app/profile/henkbulder.nl/post/3kn2foafs6k2t
https://bsky.app/profile/therealjimsanto.bsky.social/post/3kn2l3dlci22r
https://bsky.app/profile/beecham.bsky.social/post/3kn2lgjrbol2g
https://bsky.app/profile/ivanbea.bsky.social/post/3kn2gnyty2s2z
https://bsky.app/profile/merafera86.bsky.social/post/3kn2yec2cj22s
https://bsky.app/profile/maikel.dev/post/3kn2rr6bkfk2i

Even more fascinating that I can't repro it in the emulator, only on my device. Hey @corn-flour what's your phone and are you running LineageOS by some chance?

My phone is Pixel 6 running Android 14, not LineageOS

Will be fixed this week, was just a bit of a mistake when extracting/compiling the translations.


System.UnauthorizedAccessException in PackageExplorer\MefServices\PackageDownloader.cs:40

Error in NuGet Package Explorer
System.UnauthorizedAccessException in PackageExplorer\MefServices\PackageDownloader.cs:40
Access to the path 'C:\Program Files (x86)\Entity Framework Tools\NuGet Packages\EntityFramework.6.2.0.nupkg' is denied.
View on Bugsnag
Stacktrace
PackageExplorer\MefServices\PackageDownloader.cs:40 - PackageExplorer.PackageDownloader+<Download>d__9.MoveNext()
PackageExplorer\MefServices\PackageChooserService.cs:90 - PackageExplorer.PackageChooserService+<OnPackageDownloadRequested>d__27.MoveNext()
PackageExplorer\PackageChooser\PackageChooserDialog.xaml.cs:169 - PackageExplorer.PackageChooserDialog.ShowDialog(string searchTerm)
PackageExplorer\MefServices\PackageChooserService.cs:54 - PackageExplorer.PackageChooserService.SelectPackage(string searchTerm)
PackageExplorer\MainWindow.xaml.cs:342 - PackageExplorer.MainWindow+<OpenPackageFromRepository>d__48.MoveNext()
PackageExplorer\MainWindow.xaml.cs:310 - PackageExplorer.MainWindow+<OpenFeedItem_Click>d__46.MoveNext()
:0 - PackageExplorer.App.Main()

View full stacktrace
Created automatically via Bugsnag

Not sure why that path is showing up on a feed, but we should handle the exception.


SyntaxError: Unexpected token export

Not totally sure if this is a problem with this lib, but maybe someone can point me in the right direction.
I have the preprocessor/config setup like the readme and a .babelrc that works, but I still get this error when trying to run tests:
- SyntaxError: Unexpected token export
I am pretty sure it fails because of this statement in a file that I am importing:
export const VERSION = __VERSION__;
I had to get https://www.npmjs.com/package/babel-plugin-add-module-exports to get my imports/exports working properly with babel 6 and am wondering if I have to add anything to the preprocessor to get it working too?

I actually thought it might be because babel/register needs to be babel-core/register in babel 6, but still no luck.

@sambev make a sample repo i will take a look and fix it for you. There are just too many things that can possibly break

This may be fixed in v3.2.0, which adds support for webpack configs that are ES6 default exports.


share micro perf test invalid

The current code to micro perf share is testing the shared Rx4 observable one time, and then every other iteration it fails fast. This is because in Rx4, a "shared" observable cannot be "reshared" once it's complete.

oldShareWithImmediateScheduler is created and shared here, making it "hot".
The first subscription to oldShareWithImmediateScheduler happens here
The range from the source synchronously completes.
The second subscription to oldShareWithImmediateScheduler is subscribing to a published observable that has a "dead" Subject inside of it.

We're not testing apples to apples in this test. The Rx5 version of share will actually recycle the Subject on each new subscription after the internal Subject goes "dead". The Rx4 version will just fail fast on subsequent subscriptions to a completed, published observable.

Need to double check this again.

@blesh forgot about this one. seems like it's still a thing: https://github.com/ReactiveX/rxjs/blob/master/perf/micro/immediate-scheduler/operators/share.js#L5

The micro perf tests all need a complete overhaul. Closing this for now.


Add API#Unchecked methods that return unchecked Funtions

We should add these to javaslang.API after  pulling in #1500.
Goal:
// before
list.map(CheckedFunction1.of(elem -> ...).unchecked())

// after
list.map(Unchecked(elem -> ...))

We do this for Function0..8:
<R> Function0<R> Unchecked(CheckedFunction0<R> f) {
    return f.unchecked();
}

<T, R> Function1<T, R> Unchecked(CheckedFunction1<T, R> f) {
    return f.unchecked();
}

...

I don't think we need to widen the generic bounds of the function argument here.

PR #1500 has milestone 3.0.0, but this issue has milestone 2.1.0. It's incorrect.

Yes. We will not change existing methods. So let's target 2.1.0 :)


[FLINK-28764][table-planner] Support more than 64 distinct aggregate function calls in one aggregate SQL query

What is the purpose of the change
This pull request rewrite the FlinkAggregateExpandDistinctAggregatesRule to support more than 64 distinct aggregate function calls in one aggregate SQL query.
Brief change log

rewrite the FlinkAggregateExpandDistinctAggregatesRule to build the expand node by itself
introduce ExpandUtil.genExpandIdByIndex to using auto-increment id instead of grouping_id() to support more than 64 distinct call in one aggregate node.

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
This change is already covered by existing tests, such as testTooManyDistinctAggOnDifferentColumn.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

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

@flinkbot run azure


More mathutils

Several things around the math_utils component:

Adds a matrixFunc() function which can take a VectorFunction and apply it in a row-wise manner
Adds innerProduct() and euclideanDistance() methods that work similar to cosineSimilarity()
All of these new functions call matrixFunc() with the appropriate function from ml-distance
Added a normalize() function that works over a matrix
Other code refactoring

This also addresses issue #2113

Thank you!


Enqueue failed uploads, rather than uploading them simultaneously with the ongoing upload

What is the user problem or growth opportunity you want to see solved?
No response
How do you know that this problem exists today? Why is this important?
Failed uploads are automatically retried as soon as the user returns to the app. They are uploaded simultaneously with the ongoing upload. Enqueuing them gracefully will work more efficiently even when the internet speed is slow.
Who will benefit from it?
No response
Anything else you would like to add?
No response

I experienced this too. Whenever I close and open the app, the failed upload automatically started uploading again.
@RitikaPahwa4444
But I thought it was a user-friendly feature.

I'm so sorry for missing out on the context. This issue happens when, let's say, an upload fails after the user turns the screen off, and the app starts uploading the next contribution. Now when the user returns to the app, the failed contribution starts uploading again, even while another upload is in progress.

I tried to reproduce this issue, but the upload doesn't fail when I close the app and remove it from recent apps. Even on switching the screen off, the upload continues, and the image was successfully uploaded, though this couldn't be recorded as the recording was cut as soon as I turned the screen off. Am I missing something here?

@ShashwatKedia If I were to guess, I'd say that the "upload fails after the user turns the screen off" is likely caused by aggressive power saving on users device. The trend in recent phones is even more on stopping apps from running when screen is off, see e.g. https://dontkillmyapp.com/
So probably if you enable your power saving settings more aggressive, it increases the chances of such malfunctions. Also, phone vendor can make a big difference.
But if you need a method of reproducing network errors and seeing how app behaves, you can do that by turning your wifi/data while transfer is running, or (if you want to test while screen is off), rebooting/power-cycling your wifi router.

@ShashwatKedia If I were to guess, I'd say that the "upload fails after the user turns the screen off" is likely caused by aggressive power saving on users device. The trend in recent phones is even more on stopping apps from running when screen is off, see e.g. https://dontkillmyapp.com/
So probably if you enable your power saving settings more aggressive, it increases the chances of such malfunctions. Also, phone vendor can make a big difference.
But if you need a method of reproducing network errors and seeing how app behaves, you can do that by turning your wifi/data while transfer is running, or (if you want to test while screen is off), rebooting/power-cycling your wifi router.

Thanks @mnalis for clarifying this, I was long wondering why I couldn't reproduce this :) I'll try using the power saving mode, as I already tried turning off wifi/data and I did witness an erratic behaviour.

But, if we stay in the app, then the Failed images don't start uploading, even if there is no other image currently being uploaded (or others have finished and only the failed only is left).

Could you please share a screencast? The app does check if any uploads failed before ending the process, and so far, I've not faced this issue. This issue is about those failed uploads getting simultaneously uploaded with the ongoing uploads (which should ideally wait until they get uploaded and appear as Queued). However, if you mean "stuck" when you say failed, then they are not tracked by the database and start again only on reopening the app.

Could you please share a screencast?

Sure, here's the link to one.

The app does check if any uploads failed before ending the process, and so far, I've not faced this issue. This issue is about those failed uploads getting simultaneously uploaded with the ongoing uploads (which should ideally wait until they get uploaded and appear as Queued). However, if you mean "stuck" when you say failed, then they are not tracked by the database and start again only on reopening the app.

Um, the only way I could make an upload fail was by turning off my mobile data/wifi, does that cause the upload to be "stuck"? Also, by what factors are we saying that those failed uploads are getting simultaneously uploaded with the ongoing uploads, is it because of the not-started progress bar animation, or their past progress is shown (that is how much of the upload was complete before failing is shown)?

I'm not able to access the recording.

Turning the wifi off will make all the uploads fail. Are you able to reproduce partial failures?
Uploads do not get stuck when we turn the wifi off. I just asked because the other case, i.e. failed uploads, is already handled by the app.
Two or more progress bars move when I say they're getting uploaded simultaneously. This is the usual progress update, not the not-started progress animation you're referring to.

I'm not able to access the recording 😅

Um, I have given access to all. Here's the link again: https://drive.google.com/file/d/1uQcGYIf-8Sx7wCJIcWmHslAQVLiwI7Fr/view

Turning the wifi off will make all the uploads fail. Are you able to reproduce partial failures?

Yes, I can reproduce that.

Two or more progress bars move when I say they're getting uploaded simultaneously. This is the usual progress update, not the not-started progress animation you're referring to.

Oh, right, I have observed that sometimes, especially when I play with the pause and resume buttons

How long do those queued contributions remain queued? I expect them to get uploaded, this issue is a bit different.

Um, I think you are referring to "How long those Failed contributions remain Failed? " because, mostly, the Queued uploads start uploading when their turn comes. The Failed contributions (the ones in the last part of the recording) do not start until either the retry button is pressed or the app is closed and reopened.

Turning the wifi off will make all the uploads fail. Are you able to reproduce partial failures?
Uploads do not get stuck when we turn the wifi off. I just asked because the other case, i.e. failed uploads, is already handled by the app.

Yes, I can reproduce this. You are right, when I turn off the mobile data, then the uploads get Failed, and not stuck.

Two or more progress bars move when I say they're getting uploaded simultaneously. This is the usual progress update, not the not-started progress animation you're referring to.

Oh, right. I too have observed that, especially when playing with the pause and resume buttons and sometimes when Queued uploads are started again. But I have seen that only one progress bar moves, and the other only shows a particular progress (which is possibly the amount of progress before it failed). I'll test this more and get back to you

I think you are referring to "How long those Failed contributions remain Failed? " because, mostly, the Queued uploads start uploading when their turn comes.

No, I was referring to the Queued state only.

The Failed contributions (the ones in the last part of the recording) do not start until either the retry button is pressed or the app is closed and reopened.

I find that as the intended behaviour.

Yes, I can reproduce this. You are right, when I turn off the mobile data, then the uploads get Failed, and not stuck.

If you're able to reproduce partial failures, then I think you'll be able to reproduce this issue as well. This issue does not involve playing with pause and resume buttons, there are separate issues for them.

No, I was referring to the Queued state only.

Oh, sorry, my bad. The Queued contributions usually get queued only till there is a upload in progress, otherwise they start their upload.

The Failed contributions (the ones in the last part of the recording) do not start until either the retry button is pressed or the app is closed and reopened.

I find that as the intended behaviour.

If that's the intended behaviour, then it's okay. I thought that the app intended to start uploading the Failed items if no other pending upload was left.

Yes, I can reproduce this. You are right, when I turn off the mobile data, then the uploads get Failed, and not stuck.

If you're able to reproduce partial failures, then I think you'll be able to reproduce this issue as well. This issue does not involve playing with pause and resume buttons, there are separate issues for them.

Right, I understood what you are referring to here. Correct me if I am wrong, the issue here is what happened from 00:21 to 00:25 in the shared recording, right (that is the 2 images have a progress bar simultaneously)?

@RitikaPahwa4444 I tried reproducing this issue and I did get a state where two uploads were Simultaneously showing the progress indicator ( Not "In Progress" but actual progress bar) but at the same time I also added some logs and tried to monitor the the actual behavior of UploadWorker and Noticed that even though two uploads are "shown" to be simultaneously uploading at the same time there were no logs for processing two uploads at the same time, at one time only one upload was getting processing in that dispatcher. I also waited for the upload to complete (when two of them were showing simultaneously uploading indicators) and only one moved and eventually got uploaded. From this , I believe that the uploads are getting enqueued and what we are seeing is due to inconsistency somewhere with updating the UI.
https://github.com/commons-app/apps-android-commons/assets/126143257/72ad7413-89d6-48b1-97b0-58459f413f23
or am I missing something here?

I believe this has been fixed by GSoC 2024


Problem with build

I've got the following error during build from console (gradlew build):
/Users/vbauer/Documents/workspace/java/apkmaster/temp/3692/src/OpenWeatherMap-Android-master/library/src/main/java/com/androidfung/weather/OpenWeatherMapApiHelper.java:40: error: cannot find symbol
        mAppId = context.getResources().getString(R.string.api_key);
                                                          ^
  symbol:   variable api_key
  location: class string
Note: /Users/vbauer/Documents/workspace/java/apkmaster/temp/3692/src/OpenWeatherMap-Android-master/library/src/main/java/com/androidfung/weather/network/MultipartRequest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:library:compileReleaseJavaWithJavac FAILED

Please update the value of api_key in /library/src/main/res/values/secrets.xml.

I got it, but is it possible to build project without any changes with some default api key?

I've updated the repo. You should be able to build.

Thank you.


Update requirements.txt

I specified it here
https://github.com/catalystneuro/mousev1-to-nwb/blob/ca79778df3b3dd5cc20f7123313c586a9e078858/src/mousev1_to_nwb/hendricks_2024/hendricks_2024_requirements.txt#L3
But if you think it's better to have it in the general requirements.txt I'll move it there.


nested properties validation fails

@johandorland Hi!
I have nested properties in my json schema:
{   "properties": {     "info": {         "age": {           "type": "number"         },         "gender": {           "type": "string"         }     },     "name": {       "type": "string"     }   } }
but I pass
{   "info": {     "age": 12,     "gender": true   },   "name": "Tom" } and validation does not fail

https://jsonschema.dev/s/cw8E7

@johandorland thanks for your answer, not it works!
I am testing different cases, now I want to validate not json, but structs. Can u help me with it?
type User struct { 	Name stringjson:"name"	Age intjson:"age"} type Root struct { 	Users []Userjson:"users"`
}
data := Root{}
data.Users = append(data.Users, User{"John", 12})
data.Users = append(data.Users, User{"Tom", 13})
data.Users = append(data.Users, User{"Bob", 11})
 loader := gojsonschema.NewGoLoader(data)`
this data, I suppose, is document and loader is for document, and what is the schema?
How should I do validate?

Hi, here is not working on nested array :  https://jsonschema.dev/s/J66dD
am I doing something wrong in schema definition?


setting index when showPageAtIndex:animated: is called

also use this in my project

@flybrotherlixiang thanks!


Private deployment unsuccesful despite no blocked traffic.

Hello,
I'm struggling with the solution, i'm able to send max 2 questions, and quickly then, i cant get past the following error :
Error
An error occurred. Answers can't be saved at this time. If the problem persists, please contact the site administrator.

I can observe a lot of python errors on the logs like :

Like i mentioned, this is a private deployment.
openai, search, cosmosdb and the app service are deployed in the same VNET
app service has private endpoint and vnet integration.
NSG FLow Logs show no traffic denied
All outbound traffic to internet is routed via Azure Firewall and no traffic is denied as the following fqdn's were allowed prior to deployment of the app service :
        - sts.windows.net
        - dc.services.visualstudio.com
        - github.com
        - oryx-cdn.microsoft.io
        - pypi.org
        - files.pythonhosted.org
        - login.microsoftonline.com

This was tested against these two commits :

Any idea how i can debug further ?
And i forgot, when i run a question that stays a while in the generating state, then it shows the previous mentioned error :
Error
An error occurred. Answers can't be saved at this time. If the problem persists, please contact the site administrator.
From the container i observe that there are connections against both cosmosdb and search api. When this sessions drop, after 1 minute or two, the errror shows up in the UI.
I edited the data_preparation.py file in order to update the api version used (from 2023-07-01-Preview to 2023-10-01-Preview), but after the first 2 questions asked, it sends the usual error messages :

023-12-07T18:38:43.032086387Z: [ERROR]  ERROR:root:Exception in /history/update
2023-12-07T18:38:43.032104786Z: [ERROR]  Traceback (most recent call last):
2023-12-07T18:38:43.032108586Z: [ERROR]    File "/tmp/8dbf74ef72b825b/app.py", line 662, in update_conversation
2023-12-07T18:38:43.032111586Z: [ERROR]      if len(messages) > 0 and messages[-1]['role'] == "assistant":
2023-12-07T18:38:43.032114786Z: [ERROR]                               ~~~~~~~~~~~~^^^^^^^^
2023-12-07T18:38:43.032117486Z: [ERROR]  KeyError: 'role'

Any idea how i can troubleshoot this further @sarah-widder ?
Thanks
Originally posted by @keisari-ch in https://github.com/microsoft/sample-app-aoai-chatGPT/issues/209#issuecomment-1845547804

@sarah-widder - In our case, we are getting "The operation was timeout" error if Cog Search with private endpoint and public access disabled.  We have Azure OpenAI, Cog Search & Web App with private endpoints and public network access disabled. All these 3 components are sitting in their own vnets / private endpoint in the respective azure subs. We have also required firewall rules in place for communication between these three components.
Do we need to do anything specific to make Azure OpenAI, Cog Search, web app work with private endpoint connection?
Does OpenAI API make calls to Azure Cogs Search internally?

We ran into the same issues as @dilipdodiya. Details below.
Overview
We are deploying the sample-app-aoai-chatGPT application through Azure AI Studio. Everything works while over public networks, but when we try to create a private network between Azure App Services to Azure AI Search, the application fails with the following:

Invalid AzureCognitiveSearch configuration detected: Call to get ACS index failed. Check you are using correct index, instance and api_key.

Private networking details

Azure App Services is injected into a subnet (virtual network-integrated)
Azure AI Search has a private endpoint on a different subnet in the same virtual network
Azure AI Search has public access disabled

Troubleshooting

Via Kudu and nslookup, confirmed that DNS is resolving to the private IP address
If Azure AI Search's network has public access enabled, everything works
REST API calls to the Azure AI Search private endpoint returns expected results
Outbound access from Azure App Services to a private endpoint on Azure AI services works

Diagram

Example error

App Services logs
2024-02-05T16:18:53.465043284Z: [ERROR]  [2024-02-05 16:18:53 +0000] [79] [ERROR] Error handling request
2024-02-05T16:18:53.465111184Z: [ERROR]  Traceback (most recent call last):
2024-02-05T16:18:53.465117884Z: [ERROR]    File "/tmp/8dc1e90f6f97d9f/app.py", line 398, in stream_with_data
2024-02-05T16:18:53.465122784Z: [ERROR]      response["model"] = lineJson["model"]
2024-02-05T16:18:53.465126884Z: [ERROR]                          ~~~~~~~~^^^^^^^^^
2024-02-05T16:18:53.465130584Z: [ERROR]  KeyError: 'model'
2024-02-05T16:18:53.465134384Z: [ERROR]
2024-02-05T16:18:53.465152884Z: [ERROR]  During handling of the above exception, another exception occurred:
2024-02-05T16:18:53.465157184Z: [ERROR]
2024-02-05T16:18:53.465160484Z: [ERROR]  Traceback (most recent call last):
2024-02-05T16:18:53.465164184Z: [ERROR]    File "/opt/python/3.11.4/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 184, in handle_request
2024-02-05T16:18:53.465167984Z: [ERROR]      for item in respiter:
2024-02-05T16:18:53.465171484Z: [ERROR]    File "/tmp/8dc1e90f6f97d9f/antenv/lib/python3.11/site-packages/werkzeug/wsgi.py", line 256, in __next__
2024-02-05T16:18:53.465175184Z: [ERROR]      return self._next()
2024-02-05T16:18:53.465178684Z: [ERROR]             ^^^^^^^^^^^^
2024-02-05T16:18:53.465182184Z: [ERROR]    File "/tmp/8dc1e90f6f97d9f/antenv/lib/python3.11/site-packages/werkzeug/wrappers/response.py", line 32, in _iter_encoded
2024-02-05T16:18:53.465185984Z: [ERROR]      for item in iterable:
2024-02-05T16:18:53.465189484Z: [ERROR]    File "/tmp/8dc1e90f6f97d9f/app.py", line 425, in stream_with_data
2024-02-05T16:18:53.465193184Z: [ERROR]      yield format_as_ndjson({"error" + str(e)})
2024-02-05T16:18:53.465196884Z: [ERROR]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-05T16:18:53.465200384Z: [ERROR]    File "/tmp/8dc1e90f6f97d9f/app.py", line 170, in format_as_ndjson
2024-02-05T16:18:53.465203984Z: [ERROR]      return json.dumps(obj, ensure_ascii=False) + "\n"
2024-02-05T16:18:53.465207684Z: [ERROR]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-05T16:18:53.465211184Z: [ERROR]    File "/opt/python/3.11.4/lib/python3.11/json/__init__.py", line 238, in dumps
2024-02-05T16:18:53.465214984Z: [ERROR]      **kw).encode(obj)
2024-02-05T16:18:53.465218384Z: [ERROR]            ^^^^^^^^^^^
2024-02-05T16:18:53.465221884Z: [ERROR]    File "/opt/python/3.11.4/lib/python3.11/json/encoder.py", line 200, in encode
2024-02-05T16:18:53.465225484Z: [ERROR]      chunks = self.iterencode(o, _one_shot=True)
2024-02-05T16:18:53.465229084Z: [ERROR]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-05T16:18:53.465232484Z: [ERROR]    File "/opt/python/3.11.4/lib/python3.11/json/encoder.py", line 258, in iterencode
2024-02-05T16:18:53.465236184Z: [ERROR]      return _iterencode(o, 0)
2024-02-05T16:18:53.465239685Z: [ERROR]             ^^^^^^^^^^^^^^^^^
2024-02-05T16:18:53.465243085Z: [ERROR]    File "/opt/python/3.11.4/lib/python3.11/json/encoder.py", line 180, in default
2024-02-05T16:18:53.465246785Z: [ERROR]      raise TypeError(f'Object of type {o.__class__.__name__} '
2024-02-05T16:18:53.465250285Z: [ERROR]  TypeError: Object of type set is not JSON serializable
2024-02-05T16:18:53.496122015Z: [INFO]  fail: Middleware[0]
2024-02-05T16:18:53.496560416Z: [INFO]        Failed to forward request to http://<IP_ADDRESS>:8000. Encountered a System.IO.IOException exception after 32272.399ms with message: The response ended prematurely.. Check application logs to verify the application is properly handling HTTP traffic.
2024-02-05T16:18:53.542252109Z: [INFO]  fail: Microsoft.AspNetCore.Server.Kestrel[13]
2024-02-05T16:18:53.542295609Z: [INFO]        Connection id "0HN1554QM4OJH", Request id "0HN1554QM4OJH:00000002": An unhandled exception was thrown by the application.
2024-02-05T16:18:53.545071321Z: [INFO]        System.InvalidOperationException: StatusCode cannot be set because the response has already started.
2024-02-05T16:18:53.545093721Z: [INFO]           at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowResponseAlreadyStartedException(String value)
2024-02-05T16:18:53.545213221Z: [INFO]           at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.Microsoft.AspNetCore.Http.Features.IHttpResponseFeature.set_StatusCode(Int32 value)
2024-02-05T16:18:53.545217821Z: [INFO]           at Microsoft.Azure.AppService.Middleware.Forwarding.RequestForwarder.OnRequest(HttpContext context) in /__w/1/s/src/EasyAuth/Middleware.Forwarding/RequestForwarder.cs:line 90
2024-02-05T16:18:53.545238621Z: [INFO]           at Microsoft.Azure.AppService.Middleware.NetCore.AppServiceMiddleware.InvokeAsync(HttpContext context) in /__w/1/s/src/EasyAuth/Microsoft.Azure.AppService.Middleware.NetCore/AppServiceMiddleware.cs:line 140
2024-02-05T16:18:53.545834924Z: [INFO]           at Microsoft.Azure.AppService.MiddlewareShim.AutoHealing.AutoHealingMiddleware.Invoke(HttpContext context) in /__w/1/s/src/EasyAuth/Middleware.Host/AutoHealing/AutoHealingMiddleware.cs:line 59
2024-02-05T16:18:53.545862024Z: [INFO]           at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Any help or insight is appreciated.
Thanks!

Same problem here. We've opened a support ticket with Microsoft.

We opened a support ticket as well. Microsoft said we need to apply to enable private endpoint connectivity between Azure AI/OpenAI services to Azure AI Search. The relevant Microsoft Learn article/section is here:

https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/use-your-data-securely#disable-public-network-access-1

We are waiting for the application to be approved to confirm the resolution step.
That said, we are uncertain how Azure AI/OpenAI communicates directly with Azure AI Search (after the initial *Add your data step is done). We always assumed the application (on App Services) orchestrated the traffic between Azure AI/OpenAI and Azure AI Search, hence the diagram without any connections between the two.
We will provide an update if it works.
Microsoft said wider (open) support is on their roadmap.

@sarah-widder - In our case, we are getting "The operation was timeout" error if Cog Search with private endpoint and public access disabled. We have Azure OpenAI, Cog Search & Web App with private endpoints and public network access disabled. All these 3 components are sitting in their own vnets / private endpoint in the respective azure subs. We have also required firewall rules in place for communication between these three components. Do we need to do anything specific to make Azure OpenAI, Cog Search, web app work with private endpoint connection? Does OpenAI API make calls to Azure Cogs Search internally?

Quick update - We submitted [Private Endpoint connection request] (https://forms.office.com/pages/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbRw_T3EIZ1KNCuv_1duLJBgpUMUcwV1Y5QjI3UTVTMkhSVUo3R09NNVQxSyQlQCN0PWcu) to Microsoft. Microsoft reviewed / approved request and they created private endpoint connection for AI Search. I just went ahead and just approved Private endpoint in portal. Finally, web app started working as expected :)

Glad to hear it, @dilipdodiya! I am still waiting for our application to be approved/actioned.

After our private endpoint for Azure AI Search was provisioned and approved, the sample app was able to run as expected.
Here is an updated diagram:

Thanks everyone for their help!


TypeScript requiring variables based on types in v4 has incorrect behavior

Describe the bug
While recently working with the author of the vue-apollo-composable generator for graphql-code-generator I discovered that I made a bad assumption while bolting-on the types for v4 in #895.
That assumption was that you can use the types to determine if variables are required or not. This is wrong, because all of the GraphQL variables may be all optional, which means that requiring variables is incorrect TypeScript behavior.
The unfortunate side effect of this is that people using the raw composition API will not get type check warnings if they forget to specify variables, though it will correctly type check the variables if it is specified. That's a bummer, but it can be resolved something like the graphql-code-generator to create wrapper hooks that ensure that the hook functions expect the correct inputs.
Fixing this issue would also have a benefit of simplifying the Frankenstein of types, and fix a few issues that I listed at the bottom.
I will submit a PR for this ASAP.
To Reproduce
Given this query with optional arguments:
query projects($text: String) {
  projects(text: $text) {
    id
  }
}

And this vue-apollo-composable code:
  return VueApolloComposable.useQuery<ProjectsQuery, ProjectsQueryVariables>(
    ProjectsDocument,
    variables,
    options
  );

Variables is actually optional here, but the typing makes it required.
Expected behavior
At all times in the API, we must allow variables to be undefined, regardless of how it is typed. This will just have to be a shortcoming of the TypeScript typing.
Versions
@vue/apollo-composable: 4.0.0-alpha.8
Additional context
I believe this would resolve these issues:

https://github.com/dotansimha/graphql-code-generator/issues/3679
https://github.com/vuejs/vue-apollo/issues/948
https://github.com/vuejs/vue-apollo/pull/955
~https://github.com/vuejs/vue-apollo/issues/921~ Not related

+1


list cache keys

i don't see an api for listing keys in cache,  and think such api will be helpful for determining whether desired keys exist or not.

This does not make much sense to me given the multiple layers of cache, the discrepancies that may exist between them, the performance or feasibility challenges in retrieving/building this list even for L1/L2. Not opposed to the feature if the API is really well designed, keeps it simple, and is well implemented (e.g. perf).


added option to encode a local file

additional to remote files, its now possible to also encode a local file

appropriate test cases need to be added


[ MB-14736 ] Updating from GEXA to GEXB for HTTPS

Jira ticket for this change
Summary
According to my emails with the DLA agent, we are supposed to be using
GEXB for HTTPS and GEXA for SFTP. So this change reverts it. I've also
reverted the certificates to point to GEXB in
transcom/terraform-aws-app-environment#284 as well.

Messages

:book:
:link: MB-14736

  Generated by :no_entry_sign: dangerJS against 1c626fad320ed99611f3d586f3fa91d9c25f5a2a


allow to specify schedule time as a relative value

Closes #6373
I made sure the transaction version is not breaking.
Useful for propose a periodic changes via democracy where it is not possible to know for sure when the proposal will get dispatched.

(Manually format the code to fix line width requirement is a bit annoying...)

bot merge

@xlc @kianenigma This is my fault too, but lets try to remember to mark such changes as "D1-runtime-migration"

Can anyone tell my why this is marked as a runtime migration? @xlc @kianenigma

Not something that I am aware of.

This one requires runtime migration https://github.com/paritytech/substrate/pull/6387

@xlc  But why is this one marked as migration when #6387 is the actual migration? :thinking:

I am not very sure. @shawntabrizi ?


Web integration

Is it possible to get a web integration to list all of the stats and see what has bean used in this amount of time from the ores you have scanned?

Uh, I think I understand what you're asking -- generate some HTML in the script-output that could be used to watch YARM status (and collected statistics) from a browser; please correct me if I misunderstood -- but it seems awfully far out of scope for a Factorio mod.
Nonetheless, I like the idea and will keep it in mind -- it sounds like fun!

i would suggest outputing simple formated text (like csv/json), and let all people convert it to whatever they want.
@narc0tiq i agree with you, that generating full fledged html is out of mod scope, but saving current stats in configurable interval, doesn't seem too far fetched.

@mexmer Sounds good to me; it shouldn't be too tricky to then set up a static HTML piece with some javascript to automatically reload the data straight out of the JSON or CSV (probably the former), assuming it's published.
I really like this idea and will look into making it a reality for 0.8.

I'm going to drop this feature; for an alternative, take a look at graftorio, which can read from YARM, and provides data to a Grafana dashboard.


Memory Leaks test do not run in the unit test harness

The memory leak tests require the resharper unit test runner to run.
We should look into how we can get this to work without it.
Issue found as part of #1867

We need to follow potentially the instructions in here to run with Xunit 2 https://blog.jetbrains.com/dotnet/2015/09/15/memory-testing-on-a-ci-server-dotmemory-unit-standalone-launcher/

@glennawatson are these the unit tests that I removed recently, or something different?

There is a jet brains project


Could not create the embedder backing store.

I'm not exactly sure what's causing the issue but occasionally I'm getting into a state where the preview pane is stuck on one story. I can select other stories but the preview doesn't update. I also see this error in the console:
[ERROR:flutter/shell/platform/embedder/embedder.cc(1077)] Could not create the embedder backing store.

Here's my code for the story. I use get_it as a service locator so I'm trying to "set up" get_it before the story runs:
Widget dentist_header_all_details() {
  if (!GetIt.instance.isRegistered<LastUsedService>()) {
    GetIt.instance.registerSingleton<LastUsedService>(LastUsedService());
  }

  if (!GetIt.instance.isRegistered<LocationService>()) {
    GetIt.instance.registerSingleton<LocationService>(LocationService());
  }

  if (!GetIt.instance.isRegistered<SharedPreferences>()) {
    GetIt.instance.registerSingleton<SharedPreferences>(MockSharedPreferences());
  }

  return DentistHeader(
    getTestDentist(),
    showLocation: true,
    showRating: true,
    showYearsInPractice: true,
    showInfoButton: true,
    showBuffer: true,
    showDistance: true,
  );
}

Quick follow up, I get this error even without using get_it or trying to perform setup steps before the story.
I'm on a Mac with M1 chip if that helps.

I'll be looking at this soon.

I merged the fix into main branch. We will be running tests now. I'll re-open this PR until I release the fix.

Fix released with monarch 2.2.2, see release notes.


Update Cocoapods

Please create a new tag and push it to trunk so one can use the current version (Swift 2 compatibility) without specifying :head in the Podfile, thanks :+1:

:+1: