Feature Request - list_launch_points

Hi,
I've tried to extend the ApplicationControl to get "ssap://com.webos.applicationManager/listLaunchPoints".
Should be similar to 'list_apps()'. No success for me so far.
This array should contain URIs to usable icons for my app.
Anybody else been able to retrieve this information?

Hi there! I have a few questions:

Can you please create a PR, or point me to your fork? I'd just like to confirm a few things about how you extended it.
What do you mean by icons? IIRC the icons are already present in the resultant object that is returned by list_apps(). Search for the string "icon_url" in the README on the main home page.

Hi,
I'm still not able to get the data I'm aiming for. I might be on the wrong track here...
My assumption is that that sending the listApps command to the TV doesn't provide working icon URLs, but the listLaunchPoints command does.
The goal is to dynamically display these icons in my app running on a RPi.
My fork: https://github.com/mrDuplo/PyWebOSTV
Link to API ref.: https://www.webosose.org/docs/reference/ls2-api/com-webos-service-applicationmanager/#launchpoints
External discussion on this topic: https://stackoverflow.com/questions/62712131/get-icon-of-installed-apps-on-webos-tv-lg

If something doesn't work, it is always helpful to describe how it doesn't work. What do you see? Do you get an exception? Do you get an object that doesn't have the required field -- if so, show us what the entire hierarchy in the object looks like.
I remember seeing list_launch_points endpoint a long time ago, but I didn't include it in the library because it didn't have any value addition. Has something changed recently? My current stand is based on my recollection that listApps() already provides icons, and your assumption is wrong.
list_apps() already returns the icon for the app IIRC. I still don't fully understand why you'd want launch_points. Instructions on how to extract these icons exists in the README -- as I said, CTRL+F for "icon" on the readme page. Did you try doing this? Did it not work? How exactly did it not work? What fields did you get in the result? What field/fields were you expecting?
Assuming my stand above is wrong, and your assumption is correct (I don't have a TV to test now) -- I'd happily consider pulling in your changes. Also, I looked at your fork, you have a new class called LaunchPoint. Although, this looks cleaner, try the following for the initial iteration:

...
"return": lambda payload: payload.
}

Then say, print(application_control.list_launch_points()), and show us the returned dictionary. I typically use this as my starting point to understand what TV returns, and modify the expression accordingly to extract relevant fields.

I did try list_apps(). The resulting icon URIs could not be accessed from my computer.
However, your latest suggestions did give me the output I wanted:
{ 	'subscribed': False, 	'launchPoints': [ 		{'systemApp': True, 'removable': False, 'relaunch': False, 'largeIcon': 'http://'<IP_ADDRESS>:3000/resources/56b261a427827c78afecf92d780b4201b75e7ea2/icon_antenna.png','bgImages': [], 'userData': '', 'id': 'com.webos.app.livetv', 			'title': 'Live TV', 'bgColor': '', 'iconColor': '#a3c125', 'appDescription': '', 'lptype': 'default', 'params': {}, 'bgImage': '/usr/palm/applications/com.webos.app.livetv/assets/livetv.png', 			'unmovable': False, 'icon': 'http://'<IP_ADDRESS>:3000/resources/56b261a427827c78afecf92d780b4201b75e7ea2/icon_antenna.png', 'launchPointId': 'com.webos.app.livetv_default', 'favicon': '', 'imageForRecents': '', 'tileSize': 'normal'} 	], 	'caseDetail': {'change': ['NEWLIST_FROM_SDP']} }
I've revised my fork accordingly, returning only launchPoints. Not sure if the fields subscribed and caseDetail would be of interest.
The resulting icon URIs can indeed be accessed by my GUI app.
Let me know if you want me to do any specific testing in case you want this merged.
Your efforts are much appreciated! Thank you!

Awesome!

You mentioned that the URLs that got returned within list_apps() were not accessible? Could you maybe show me what the URL looks like? Please also include the code that shows how the response of list_apps() was used to extract the icon URL.
I would definitely welcome your PR into this repo. However, I was thinking we restructure the exposed APIs such that these details are part of the same Application object. The users of this library need not know that there are two underlying APIs -- one returns the apps, the other resources associated with apps. They should ideally be unified and returned as a part of the Application object. What do you think?

The URLs from list_apps() looks similar to the URLs from list_launch_points.
APP_TITLE = "netflix"
appObj = ApplicationControl(client)

launchPoints = appObj.list_launch_points()
netflixLp = [x for x in launchPoints if APP_TITLE in x["title"].lower()][0]
netflixLpIconUrl = netflixLp["icon"]
print(netflixLpIconUrl)
netflixLpIconImg = requests.get(netflixLpIconUrl).content
print(netflixLpIconImg)

apps = appObj.list_apps()
netflixApp = [x for x in apps if APP_TITLE in x["title"].lower()][0]
netflixAppIconUrl = netflixApp["icon"]
print(netflixAppIconUrl)
netflixAppIconImg = requests.get(netflixAppIconUrl).content
print(netflixAppIconImg)

This gives the output: (some of the byte code emoved)
http://<IP_ADDRESS>:3000/resources/c961f51043428d19ed3a962a43700a551ed5e4ce/SMALL_APP_ICON.png
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00P\x00\x00\x00P\x08\x06\x00\x00\x00\x8e\x11\xf2\xad\x00\x00\n=iCCPicc\x00\x00x\xda\x9dSgTS\xe9\x16=\xf7\xde\xf4BK\x88\x80\x94KoR\x15\x08'

http://<IP_ADDRESS>:3000/resources/3475c51ddf96d09f6ad0188528fb38eafd8ba0c4/SMALL_APP_ICON.png
b''

I agree with your thoughts on restructuring.

Perfect! Just as I thought -- I knew the URLs to the icons were available, I never actually checked if the resource served at that endpoint is valid. So, this is most likely a bug on the LG side.
As of now, to preserve your contributions, can you please send me a PR with LaunchPoints -- with perhaps the following changes?

LaunchPoint objects should be constructed for each of the element in the array "launchPoints".
Perhaps you can revert the lambda to the way it was before.

Thanks so much for your contribution! Cheers

Hi @mrDuplo, pinging here again to see if you'd be open to creating a PR with your changes so we can preserve your contributions.


demo.py

When I use my own data to train fasterrcnn model and run demo.py, the following error occurs，please help me analyze the error:
RuntimeError: Error(s) in loading state_dict for vgg16:
While copying the parameter named "RCNN_rpn.RPN_cls_score.weight", whose dimensions in the model are torch.Size([18, 512, 1, 1]) and whose dimensions in the checkpoint are torch.Size([24, 512, 1, 1]).
While copying the parameter named "RCNN_rpn.RPN_cls_score.bias", whose dimensions in the model are torch.Size([18]) and whose dimensions in the checkpoint are torch.Size([24]).
While copying the parameter named "RCNN_rpn.RPN_bbox_pred.weight", whose dimensions in the model are torch.Size([36, 512, 1, 1]) and whose dimensions in the checkpoint are torch.Size([48, 512, 1, 1]).
While copying the parameter named "RCNN_rpn.RPN_bbox_pred.bias", whose dimensions in the model are torch.Size([36]) and whose dimensions in the checkpoint are torch.Size([48]).

I have the same problem, have you solved it?

I have the same problem, have you solved it?

You should update the "pascal_classes" list in demo.py. Write the names of your own classes. It is around line number 168 in demo.py


add & apply pyproject-fmt

Changes
Describe changes in this PR
Related Issues
Closes # (add issue numbers)
Checks

[ ] updated CHANGELOG.rst
[ ] updated tests
[ ] updated doc/
[ ] update example/tutorial notebooks
[ ] update manifest file

great, it sorted everything :+1: As the file is basically a dictionary, there would be no need to sort it all. I used the same ordering as it used to be in setup.cfg.
Validation to a schema sounds great. Who is maintaining this schema? Earlier, potential problems about the file just popped out as setuptools warnings. This is a much better way.

great, it sorted everything :+1: As the file is basically a dictionary, there would be no need to sort it all. I used the same ordering as it used to be in setup.cfg.
Validation to a schema sounds great. Who is maintaining this schema? Earlier, potential problems about the file just popped out as setuptools warnings. This is a much better way.

We can also do away with the sorting but I guess for future comparability it might be usefull
I haven't looked into the schema verification, just saw it pop up over at the asdf repo

I'd opt out sorting, as sometimes it might be useful to place keys logically next to each other (e.g. pairs of settings, which belong together, but have different section names).

I'd opt out sorting, as sometimes it might be useful to place keys logically next to each other (e.g. pairs of settings, which belong together, but have different section names).

It don't think you can opt out of the sorting (but some keys also seem like manually sorted)

The tool also does not seem to handle comments, which is a bummer as I like to document this file a little bit.

So I'd just skip the formatting at all (PyCharm also does a good job in formatting it) and just use the validation.

So I'd just skip the formatting at all (PyCharm also does a good job in formatting it) and just use the validation.

sounds good for now, the formatting also removes comments which is not ideal imo

I'll open a new PR for this

closing this for #841


Change styles on index page content

Change the margin/padding/font-size/line-height/etc on the index page
Current display:

Shooting from the hip a little on the numbers, but we'd want closer to this:

Looks like making the h2 tag 3rem or so gets you there..


Let docker understand TLS and TCP connections

Use docker.from_env() instead of docker.DockerClient() and
use optional system environments DOCKER_HOST, DOCKER_TLS_VERIFY and
DOCKER_CERT_PATH.
This commits also builds docker with TLS support.

Nice! Thanks for this. Will clean it up and then push as a new tag w/ credit to you.


⚠ Beamable Leaderboards (Basic) has degraded performance

In 70b7af4, Beamable Leaderboards (Basic) (https://api.beamable.com/basic/leaderboards/platform/docs) experienced degraded performance:

HTTP code: 200
Response time: 1227 ms

Resolved: Beamable Leaderboards (Basic) performance has improved in 8cdae81 after 8 minutes.


SchemaRegistryClient does not support References for AVRO schemas

Even though explicitly allowed by the documentation, the RestService only sends the SchemaString without the references to the SchemaRegistry. This is done explicitly because of "backwards compatibility" reasons (I suspect to support SchemaRegistry < v5.5.0).

This isn't supported by the Avro .NET implementation. Generally, I would recommend using either Protobuf of Json with .NET.

What do you mean by "not supported by the Avro .NET implementation"? What else is not working with Avro schema references?


[refactor](rename active query) rename active queries to active query stats

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Imported CA-Signed Certificates Displayed as Self-Signed in OPNsense 24.7

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
The signed certificates are displayed as self-signed.
I created a certificate on firewall "a" and signed it with a CA for firewall "c." Then, I exported the configuration from firewall "b," which has Opnsense 24.4 Business Edition installed, and imported it into firewall "c," running version 24.7.
On firewall "c" I imported the CA and then the certificate for firewall "c." This certificate should be displayed as signed by the CA, but instead, it is shown as self-signed.
Even with a fresh installation of OPNsense 24.7, imported certificates are displayed as self-signed.
The certificate import works correctly on version 24.1.
Thanks
Marcin

it's only cosmetic, but https://github.com/opnsense/core/commit/1be63034603e53d5214db615ce0fad170458e473 should fix it


Why keras removed Graph model?

I am implementing a model with triplet loss according to  Recommendations in Keras using triplet loss.
I met some problems with Graph and my keras version is 1.0.1. So I went to the keras.io document.
However, Graph has been removed at version 1.0.3 and related documents have also been removed.
It seems that the framework is changed to functional API.
So why removed Graph? If I still want to use Graph, could I find the past keras.io document? Thanks!

Graph was deprecated in 1.0; it has been superceded by the new functional API.

could I find the past keras.io document?

Yes, you can git checkout to the 0.3.3 tag, and you will find the documentation for that version under docs/.

Thank you!


vcpkg_configure_meson does not support cross-compilation

Describe the bug
vcpkg_configure_meson function does not support cross compilation, even for simple header-only libraries that just require to disable sanity checks.
Environment

OS: Windows
Compiler: VS 16.6 Preview

To Reproduce
Steps to reproduce the behavior:

Comment the call to vcpkg_fail_port_install in tomlplusplus's portfile.cmake
./vcpkg install tomlplusplus:arm64-windows
See error

Expected behavior
./vcpkg install tomlplusplus:arm64-windows should work fine
Failure logs
$ cat buildtrees/tomlplusplus/config-arm64-windows-dbg-out.log
The Meson build system
Version: 0.53.2
Source dir: C:\src\vcpkg\buildtrees\tomlplusplus\src\v1.2.5-6c4dc93a44
Build dir: C:\src\vcpkg\buildtrees\tomlplusplus\arm64-windows-dbg
Build type: native build
Project name: tomlplusplus
Project version: 1.2.5

meson.build:1:0: ERROR: Could not invoke sanity test executable: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

A full log can be found at C:\src\vcpkg\buildtrees\tomlplusplus\arm64-windows-dbg\meson-logs\meson-log.txt

Additional context
Originally emerged in  https://github.com/microsoft/vcpkg/pull/10786 .

https://github.com/mesonbuild/meson/blob/master/docs/markdown/Cross-compilation.md
for reference

@Neumann-A
update meson to released 0.54.1 ?))

There are other issues with vcpkg_configure_meson (whatever that is and what it does).
While doing a vcpkg install fribidi:x86-windows-static --debug, it fails with:
...
    Error code: 1
    See logs for more information:
      F:\gv\VC_project\VCPKG\buildtrees\fribidi\config-x86-windows-static-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:161 (vcpkg_execute_required_process)
  ports/fribidi/portfile.cmake:10 (vcpkg_configure_meson)
  scripts/ports.cmake:90 (include)

The config-x86-windows-static-dbg-out.log contains a:
meson.build:1:0: ERROR: Executables created by c compiler cl are not runnable.
Oh really!? So I don't think it's only a cross-compilation issue. I'm on Win-10 using MSVC-2019 (x86).
I really need a fribidi to build a working Gtk/Gdk installation. So this is a real show-stopper for me.

@gvanem https://github.com/microsoft/vcpkg/issues/11248 was filed for fribidi, but it was just a duplicate of this issue. The problem is meson requires the cross compiled binaries (at least in case of MSVC) to be runnable on host (I fail to see how his could possibly be a valid assumption, but I'm no meson dev). In latest release, 0.54.0 they provide an option to disable this check, presumably to allow cross-compilation with MSVC: https://mesonbuild.com/Release-notes-for-0-54-0.html#skip-sanity-tests-when-cross-compiling

@janisozaur So I hope the VCPKG folks could help fix Meson and add a new & fixed Meson into VCPKG.

I tried to build glib with meson but it breaks arm64 : https://github.com/microsoft/vcpkg/pull/11477

update meson to released 0.54.1 ?))

In the meantime, meson has been updated to version 0.54.2 in vcpkg (#11380)

I tried to pass a cross file via --cross when configuring but it seems that meson ignores it, it still triés to execute sanitycheckc

Related https://github.com/mesonbuild/meson/pull/7021 ?

I'm not sure at all since the issue is still that sanitycheckc.exe can't run, which likely means it's an arm64 executable trying to be executed on a x64 machine.

https://github.com/mesonbuild/meson/pull/7190 to actually have control of the option to skip the sanity checks....

https://github.com/mesonbuild/meson/pull/7190 for sanity check

By the way does meson work at all with macOS ? When I tried to run a meson build it fails with a message:
  File "/usr/local/bin/meson", line 2
    PYTHONPATH="/usr/local/Cellar/meson/0.54.2/lib/python3.8/site-packages" exec "/usr/local/Cellar/meson/0.54.2/libexe\
c/bin/meson" "$@"

SyntaxError: invalid syntax

I see that meson is already at 0.58. Can this be closed then?

fribidi build still fails on arm64. See https://github.com/orgads/vcpkg-test/runs/3178635342?check_suite_focus=true

So to make meson work in cross context you need to pass a cross file via VCPKG_MESON_CROSS_FILE in the triplet which contains information about the exe_wrapper or configure results somehow.

i think this can be closed now.

Great, thanks to everyone that contributed!


Duplicate IDs in tex2svg output

In looking at the CUBIC revision XML, I discovered that the SVG created by mathjax isn't perfectly suited to use in an RFC.
For the most part, this is down to the use of <use> elements, which are allocated id attributes that collide.  Because SVG is inlined in the final HTML, the resulting HTML has a bunch of duplicate ID elements.
It seems like this tex2svg uses svgo to optimize the SVG it produces, but this doesn't extend to configuring it very much.  We would probably benefit from using the prefixIds plugin, with the prefix being set based on a simple counter or something like that.  The cleanupIDs might then reduce the image size.
Note that I was initially confused by the existence of this tex2svg project, which integrates svgo and provides options to control ID generation.  But it doesn't provide a command-line utility, where mathjax-node-cli does.
Not all SVG images need this sort of optimization, but it seems like many could benefit.

Since addressed with
    svg-id-cleanup: true

and the alternative, separate tool kramdown-rfc-clean-svg-ids
Documented in https://github.com/cabo/kramdown-rfc/wiki/SVG#svg-id-collisions


Before first time run 'npm start',should also run 'bower install'

Otherwise, Wiredep will throw an error about cant find bower packages folder.
Maybe you could mention this in Readme.

I'm sorry. Something was wrong with my npm yesterday.
Btw, could you add browser-sync?

I could but this is a boilerplate application, I leave tools such as those open ended to the users

Can you provide details on what you did to produce the error? @ShaneXie


Add foundation for each team member

Great code overall. The different images of the team members to navigate to their pages is a good idea.


[BUG] Need to add internalization settings for specific strings

Describe the bug
Some strings are not included in the en-us.yaml file and therefore cannot be localized.
To give some examples:

tableheaders.groupRoleNames
tableheaders.restart
tableheaders.data
management.cattle.io.nodedriver

Closing as they are already implemented via #7573. Thanks, @bisht-richa


Authorize RecordsRead with globalRole

This implements the first step in supporting protocol roles. This PR creates the concept of $globalRole. It allows RecordsRead to be authorized by a role. It does NOT yet implement revocation and retention lists for roles.

I'm not clear how this works.  Does the submitter of a request provide proof of being in a role with the access decision made based on that information?  Or, does the party in a role prove that to get an authorization that is then used when making the request?  The former can lead to a confused deputy vulnerability.

Hi @alanhkarp --
Let's say Bob is trying to get access to Alice's DWN. Alice writes a friend role record to her DWN with Bob's DID in the recipient field. Let's say that in this protocol configuration friends can read other types of messages. Bob sends Alice a request to read; he includes the field protocolRole: 'friend' in the authorization payload section of his request. Alice's DWN checks to see if Bob has in fact been assigned to the friend role. In other words, Alice checks her own DWN to see a list of role records.
This test demonstrates this example: https://github.com/TBD54566975/dwn-sdk-js/pull/512/files#diff-9fb19363159f93356a17db530c83de231c08f7c853522922fc6bc00d22164306R477-R524

This test uses Role-Based Access Control (RBAC), and there are no security issues with such a simple example.  However, when Bob is acting on a resource specified by somebody else, he is vulnerable to a confused deputy attack.
There is no need to get rid of roles in order to avoid this problem.  The test works as before, but Bob first makes a request to Alice's DWN that verifies he's in the role he claims and returns a capability granting access to the chat.  Bob can then use that capability to read Alice's chat record.  Even if Alice's DWN can't create the capability, Alice can include it in the friendRoleRecord when she tells her DWN that Bob is in the role.
RBAC has a long history, so we know its strengths and weaknesses.  While it is conceptually simple, there are issues managing granular access.  Every enterprise use of RBAC that I've ever heard of suffered from role explosion as more and more roles get introduced to manage different combinations of permissions.  (See From ABAC to ZBAC published in the Journal of Information Warfare, but the Journal's link is broken.)  On the plus side, experience with User Managed Access (UMA) shows that individuals can manage simple policies with RBAC.  (I haven't seen evidence one way or the other on even moderately complex policies.)

A few weeks ago, I mentioned that running a service on top of DWN could expose the service to a confused deputy vulnerability when using roles (or any other form of authentication for that matter) to make access decisions.  I was asked to provide an example.  Forgive the delay, but here is one I came up with.
@LiranCohen runs a service that adds captions to music videos using DWN for backend storage.  @andorsk signs up for songs by Adele.  When he wants captions added to the "Hello" video, he submits a request specifying the video and the record to hold the output.  Liran's service accesses the video, puts the captioned version where Andor said to, and updates the billing record.
There are some questions to be answered.

How does Liran's service get permission to read any video that Andor or any other user might specify?  Since it's Liran's service, we can assume the service has permission to read any video in Liran's collection.  That fact means Liran's service must make sure Andor's request isn't for a "Cruel Summer" video.

How does Liran's service get permission to create the output record?  Andor grants to Liran's service permission to create that record before making the captioning request.

How does Liran's service get permission to update the billing record?  We can assume it's in a role that has permission to update all billing records.

What happens if Andor specifies a billing record where Liran's service expects to see the output record designation?  The service will overwrite the billing record with the captioned video.  This mistake sounds silly, but it actually occurred as described in Norm Hardy's 1988 very short paper.

There are many ways Liran's service can implement checks to prevent this attack.  The real question is whether it should have to.  Let's look at the same example with capabilities.
Liran's has a capability granting access to every video the service can provide.  When Andor signs up for videos of Adele songs, Liran delegates to Andor a capability for the subset of records that apply to Adele videos and a capability to read Andor's billing record.  When Andor wants "Hello" captioned, he delegates to Liran's service a capability to read the record containing the video and a capability to write the record for the captioned version.  Andor can revoke those capabilities when the request has been completed.
Liran's service now has the least privilege needed to carry out the request.  Also, if Andor delegates a billing record capability in place of the one for the output record, the service's update request will fail as it should because Andor's capability only grants him permission to read his billing record.


How stagingProfileId is intended to work?

Nice plugin! Question: how does the stagingProfileId suppose to work?
My setup:
nexusPublishing {
    repositories {
        sonatype {
           stagingProfileId  = "my-custom-name"
        }
    }
}

Running /.gradlew initializeSonatypeStagingRepository yields:
* What went wrong:
Execution failed for task ':shipkit-demo-api:initializeSonatypeStagingRepository'.
> Failed to create staging repository, server responded with status code 404, body: {"errors":[{"id":"*","msg":"Cannot create Staging Repository, profile with id 'my-custom-name' does not exist."}]}

I could probably debug this but I figured an issue will serve a documentation :-) Ping @szpak

As a quick workaround just remove that line. The staging profile id will be fetch from Nexus automatically based on your project group name.
For longer answer you could refer to gradle-nexus-staging-plugin where you should configure:
nexusStaging {
    packageGroup = "org.mycompany.myproject" //optional if packageGroup == project.getGroup()
    stagingProfileId = "yourStagingProfileId" //when not defined will be got from server using "packageGroup"
}

and find one extra task:
 - getStagingProfile - gets and displays a staging profile id for a given package group. This is a diagnostic task to get the value and put it into the configuration closure as stagingProfileId.

In general, it is advised to set that value. While NPP and GNSP can ask Nexus about that value it can take even 10 seconds (twice).
However, in the context of a need to use both separate plugins, there is a good news for you. To avoid confusion like yours, together with Marc, we've just released a bran new plugin which integrates the functionalities of those two plugin - https://github.com/gradle-nexus/publish-plugin/ . I hope it will work well for you :-).

Really looking forward to trying the new plugin!

This plugin is now deprecated in favor of the new Gradle Nexus Publish Plugin which provides additional tasks to close and release staging repositories. Please refer to the migration guide for details on how to make the switch. If this issue is still relevant to you, please open a new issue in the new repository.


Fix crash in Zookeeper

Fix is easy, and the crash would be hard to repro, so this is just the fix. I can try to minimize the failure if we think it's critical to have a unit test. Stack trace started with:
  Exception: java.util.NoSuchElementException: No value present; java.util.NoSuchElementExc\
eption: No value present
        at java.util.Optional.get(Optional.java:135)
        at org.checkerframework.checker.objectconstruction.ObjectConstructionAnnotatedTypeF\
actory.getMustCallValue(ObjectConstructionAnnotatedTypeFactory.java:113)
        at org.checkerframework.checker.objectconstruction.MustCallInvokedChecker.checkMust\
Call(MustCallInvokedChecker.java:997)
        at org.checkerframework.checker.objectconstruction.MustCallInvokedChecker.handleSuc\
cessorBlocks(MustCallInvokedChecker.java:898)
        at org.checkerframework.checker.objectconstruction.MustCallInvokedChecker.checkMust\
CallInvoked(MustCallInvokedChecker.java:143)
        at org.checkerframework.checker.objectconstruction.ObjectConstructionAnnotatedTypeF\
actory.postAnalyze(ObjectConstructionAnnotatedTypeFactory.java:79)
        at org.checkerframework.framework.type.GenericAnnotatedTypeFactory.analyze(GenericA\
nnotatedTypeFactory.java:1506)
        at org.checkerframework.framework.type.GenericAnnotatedTypeFactory.performFlowAnaly\
sis(GenericAnnotatedTypeFactory.java:1352)
        at org.checkerframework.framework.type.GenericAnnotatedTypeFactory.checkAndPerformF\
lowAnalysis(GenericAnnotatedTypeFactory.java:1783)
        at org.checkerframework.framework.type.GenericAnnotatedTypeFactory.preProcessClassT\
ree(GenericAnnotatedTypeFactory.java:386)

@msridhar the original fix was insufficient to actually prevent a crash; it just changed the cause. I factored out a test case and included it here, along with the several fixes in our null-handling that lets the test pass.

The change looks ok in terms of preventing crashes, but I am concerned it may lead to false negatives. @Nargeshdb can you take a look?

These crashes are because of primitive types and can't lead to false negatives.

The change looks ok in terms of preventing crashes, but I am concerned it may lead to false negatives. @Nargeshdb can you take a look?

These crashes are because of primitive types and can't lead to false negatives.

I've tested this branch on hadoop and we didn't have any crashes.


Better support multi account

When using awless and moving between AWS accounts (that can be referenced by AWS profiles) to work between different infrastructure, the local cloud data are being overwritten only on the first sync.
This can cause issues such as: changing profile and auto completion returning resources from another account (i.e. profile) because a sync as not been done yet (autocompletion works with local synced data); etc.
(referencing @padilo originator of this issue)

Indeed, the fact that multi-account is not fully supported can causes issues. This has been on our roadmap for some time and should be completed in the next few months. That is paramount for a smooth usage of awless for people with multi-account
I have personally already tried a implementation to store the profile/account info as part of the local data file tree (under ~/.awless/aws/rdf/...). It did not work and scale well. We will give that another go and come up with some other solutions.
For instance, we might introduce a awless switch command, etc. Any ideas, solutions is welcome.

Even I am using multi-accounts with approx 7-8 and it's a pain to sync everytime for each account.

About having awless switch I'm a bit against that, because I prefer to explicitly specify the account I'm working on, to be sure where I'm doing things.

Indeed awless switch is not the multi account solution ;) , but merely a convenience with completion to switch to a region/profile (simultaneously even) instead of having each time the cumbersome awless config set aws.region .....
Anyway, the good news is that we are going to be focusing on the multi account in the 2 coming weeks and we will provide way of specifying clearly the account. What we want to avoid in a CLI is confusion!
Stay tuned!


Document Beam Schemas (forked PR)

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Website_Stage_GCS PreCommit

Run CommunityMetrics PreCommit

Run CommunityMetrics PreCommit

@TheNeuralBit I was forced to fork this PR as I've been unable to fix the old branch. This should be the same content you approved.

Run CommunityMetrics PreCommit

Run Website_Stage_GCS PreCommit

Run Website PreCommit

Run Website_Stage_GCS PreCommit


crash on launch when built and deployed directly to HoloLens 2 using Visual Studio 2019

I am trying to deploy and test the updated SceneUnderstanding-Samples release on HoloLens 2, OS 20348.1438. The earlier (prior to August 10 2021) example code ran on the HoloLens 2 just fine, but now I am experiencing an application crash on launch. The app gets as far as showing the generic scene object preview that displays during load, but then shuts down.
I should mention that I am not creating an app package as described in the README, but am building and deploying directly to the HoloLens 2 (with Developer Mode turned on) from Visual Studio 2019. Not sure whether that should make any difference. Otherwise I believe I'm following all the instructions correctly.
Attached is a screenshot of the error being generated at the point when the app crashes, which I got by running in debug mode in Visual Studio. If I select Continue from the Visual Studio debug menu, the application starts and seems to run correctly.

I'm fairly new to debugging with the HoloLens, so if there is additional output or logging I need to provide, let me know.

Hi Crystal, just to double check, if you do create the app package does the application still crash for you?

@jorgonz I have never done an install using an app package before, so was hoping to avoid that path :-) I will give it a try and post results here.

The packaged app launches just fine, actually. Is it possible to update the SU example code so that it works when following this deployment process as well? I pull out and modify code from this repo for a custom application that I work on with other developers who all use the build workflow that involves deploying directly from Visual Studio without packaging.

I'll take a look at this deployment process, my guess is that the new XR pipeline is giving us trouble here, but I'll have to investigate first. thanks for letting me know.
I'll get back to you when I have answers.

Any update on this? Having the same issue when trying to deploy and build without an app package.


Translation of UI

Hi
is the translation of UI planned ?
I volunteer for french language, if that can help :)
Thanks in advance.

https://github.com/yakyak/yakyak/issues/332

closing as duplicate of https://github.com/yakyak/yakyak/issues/332


Updated README.md

I've updated the README.md file with the appropriate documentation, rather than simple, vague instructions on how to install this system.
For example:

Install database

Please try to combine it in a single link not 2

Done! I reduced the number of links from 2 or more into 1.


[ ResNet ] Add Resnet18 Application

This PR includes ini configuration file for resnet18
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #907. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #907. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


Add margin top for headers in longer snippets

For example, in README files, we want headers to be nicely distanced at the top.


fix(transformer): arrow function transform: prevent stack getting out of sync

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5941  👈
#5940
#5850
#5933
#5932
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Need help regarding tvshows behaviour

Let's say a show is in watchlist, and I mark a single episode as watched.
The show is still in watchlist, and also in watched.
Is this correct or Iam missing something?
In my app, there are 3 states:

Nothing
Watchlist
Watched.

When it's nothing, you can:

Add to watchlist
Add to watched

When it's watchlist:

Add to watched
Remove from watchlist.

When it's watched:

Not watched
Rewatched

Is this correct or should I add more options?

I think you already asked this in #122? At the end of the day it’s up to you what your app shows, but you’re probably best off just checking what the Trakt website does if you’re trying to keep it similar. What you have sounds similar already.
You just need to remember that if an episode is added to history while the show is on the watch list, that show will be automatically removed from the watch list. Again, you should try making the change on the website and see if it matches your app in terms of what makes sense for your app.

Confusion starts when we add a watched show to watchlist.
Then it's in both watched and watchlist!


Linux path case issue

I'm not even sure you're supporting Linux with these templates, but skshaderc can't be found due to it being in dir tools and not Tools:
melis@juggle 16:20:/tmp/t$ dotnet new sk-net
The template "StereoKit: .NET Core project" was created successfully.

Processing post-creation actions...
Restoring /tmp/t/t.csproj:
  Determining projects to restore...
  Restored /tmp/t/t.csproj (in 269 ms).
Restore succeeded.

melis@juggle 16:21:/tmp/t$ dotnet run
/home/melis/.nuget/packages/stereokit/0.3.7-preview.9/build/SKShaders.targets(54,3): error MSB3073: The command ""/home/melis/.nuget/packages/stereokit/0.3.7-preview.9/Tools/skshaderc" -d -e -t xge -i "/home/melis/.nuget/packages/stereokit/0.3.7-preview.9/Tools/include" -o "obj/Debug/net7.0/Assets/" "Assets/floor.hlsl"" exited with code 127. [/tmp/t/t.csproj]

The build failed. Fix the build errors and run again.
melis@juggle 16:21:/tmp/t$ ls -l /home/melis/.nuget/packages/stereokit/0.3.7-preview.9/Tools/skshaderc
ls: cannot access '/home/melis/.nuget/packages/stereokit/0.3.7-preview.9/Tools/skshaderc': No such file or directory
melis@juggle 16:21:/tmp/t$ ls -l /home/melis/.nuget/packages/stereokit/0.3.7-preview.9/
total 46080
drwxr-xr-x 4 melis users     4096 Feb  7 11:36 android_openxr_loaders
drwxr-xr-x 2 melis users     4096 Feb  7 11:36 build
drwxr-xr-x 2 melis users     4096 Feb  7 11:36 images
drwxr-xr-x 3 melis users     4096 Feb  7 11:36 lib
drwxr-xr-x 9 melis users     4096 Feb  7 11:36 runtimes
-rw-r--r-- 1 melis users 47149853 Feb  7 11:36 stereokit.0.3.7-preview.9.nupkg
-rw-r--r-- 1 melis users       88 Feb  7 11:36 stereokit.0.3.7-preview.9.nupkg.sha512
-rwxr--r-- 1 melis users      980 Feb  4 20:17 stereokit.nuspec
drwxr-xr-x 3 melis users     4096 Feb  7 11:36 tools
melis@juggle 16:21:/tmp/t$ ls -l /home/melis/.nuget/packages/stereokit/0.3.7-preview.9/tools/skshaderc
-rwxr--r-- 1 melis users 6695648 Jan 16 02:06 /home/melis/.nuget/packages/stereokit/0.3.7-preview.9/tools/skshaderc

Edit: include dir as well
Edit 2: looking closer this is in /home/melis/.nuget/packages/stereokit/0.3.7-preview.9/build/SKShaders.targets so probably an SK issue rather than a template issue?

Closing and moving to https://github.com/StereoKit/StereoKit/issues/589


Create framework for email verification

Upon registration success. Should lead them to a page with some instructions, and the certificate (valid for several months)
Add this to the registration REST API done in #189 - if the implementation will be done in a different issue do it there, but make sure to do it

On hold until the new system is stabilized


Add a script that ensures all python files have a copyright notice.

All python files need to have a copyright notice at the top of the file. This script will make sure that all newly-added files follow that requirement.

Coverage remained the same at 94.398% when pulling 938235a031f9f48dedb39dbefc6f7e6a7c6c009b on ensure_copyright_lines into 1c02f349d71295e97146abe7daab4cd4396d81ec on master.


Add files via upload

Purpose

Fixes: https://github.com/wso2/docs-mi/issues/534

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


allow to provide certificate type to enable creation of hetzner manag…

this changes allows the user to request a hetzner managed certificate. integration tests are not feasible in this case because it would require a working hetzner DNS setup

The type is also missing in the Certificate class. Could you please add it there too?
Also, could you please fix your commit message to this scheme: <component>: <short summary in present>
E.g.: certificate: add missing type field


Backend files

Added backend files for basic structure

lgtm, just make sure to remove the .txt files in the folders once we have the actual javascript files in


Add MCCAS support to SwiftCaching.cpp

To materialize the object file correctly on a cache hit when MCCAS is enabled, if lib_InternalSwiftScan.dylib is used to detect the cache hit, we need to add MCCAS support to the replay code in SwiftCaching.cpp
rdar://134426931 ([MCCAS] FIx bug with swift caching where object files are incorrect on a cache hit)

@swift-ci please test

@swift-ci Please smoke test

Change LGTM. I think we can add a test for that. You can access the replay logic inside libSwiftScan via swift-scan-test -action replay_result. For example, see: test/CAS/swift-scan-test.swift

@swift-ci please smoke test

@swift-ci please test

Binary files /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/CAS/Output/swift-scan-test-mccas.swift.tmp/test.o and /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/CAS/Output/swift-scan-test-mccas.swift.tmp/test2.o differ

Binary files /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/CAS/Output/swift-scan-test-mccas.swift.tmp/test.o and /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/CAS/Output/swift-scan-test-mccas.swift.tmp/test2.o differ

@cachemeifyoucan they differ right now because https://github.com/swiftlang/llvm-project/pull/9164 needs to go in first, right now on a cache miss, the object files are 0 bytes in size.

Please test with following PR:
https://github.com/swiftlang/llvm-project/pull/9164
@swift-ci Please test macOS platform

Please test with following PR:
https://github.com/swiftlang/llvm-project/pull/9164
@swift-ci Please smoke test macOS platform

Please test with following PR:
https://github.com/swiftlang/llvm-project/pull/9164
@swift-ci Please test macOS platform

Please test with following PR:
https://github.com/swiftlang/llvm-project/pull/9164
@swift-ci Please smoke test macOS platform


Wrong date for latest version

Hi @paulhibbitts.
You recently released a new version of the theme and I was wondering if the date is correct. The changelog shows 2022 as the year, shouldn't it be 2024?

Hi @pmoreno-rodriguez , thanks for catching that! I will update the ChangeLog on GitHub but will likely not make another official Grav release at this time, hope that sounds ok🙂

I've been able to update the ChangeLog within the Release and the getgrav.org site picked up the change, so things are all fixed now without needing to do a another full release - thanks again @pmoreno-rodriguez

I've been able to update the ChangeLog within the Release and the getgrav.org site picked up the change, so things are all fixed now without needing to do a another full release - thanks again @pmoreno-rodriguez

I have wanted to do this in one of my themes before, but I couldn't. Can you tell me how you did it? Thank you very much.

Sure thing @pmoreno-rodriguez , to update the current release files (but NOT update existing installs as this would require a new version release) I do the following:

Update files in theme (in this case this was just the ChangeLog)
Delete latest release on GitHub
Delete the tag for this same release
Make a new GitHub release with the SAME release tag

Hope that helps!

Thanks so much.


No support for Nova Micro, Lite, Pro model from this.

@devloai resolve this issue

@devloai the new Nova Model family from AWS does not work and align with AWS Titan Model family. It use a different payload build. Message Schema, different body structure for the payload. The streaming event is also different to parse the streaming from the model. You previous implementation was not working as intended. It gave me error as I was not sending the right payload structure.

@devloai The new update you make did not work. It's better that you did create a separate class as NovaImplementation. However, you using the payload and the parsing response from Claude Model Family. This is not working for Nova at all. You should check it again.


Can someone explain how to access the local file system via this browser?

Basically, I am sitting in front of my workstation with a browser and am browsing to my docker-firefox browser and would like to upload a file buzt the upload mask only has accessto the "local" file system of the docker container.
Is there a way to give it access to my workstation's fiel system?
Hope I explained that in a way to convey the right question.

same problem for downloading files :)

Answered in issue https://github.com/jlesage/docker-firefox/issues/38.


[FLINK-18182][kinesis] Updating to latest AWS SDK for Kinesis connector

What is the purpose of the change
Update AWS SDK v1 and DynamoDB Streams Kinesis adapter to latest version
Brief change log
Bumped:

AWS SDK v1 from 1.11.754 to 1.12.7
DynamoDB Streams Kinesis Adapter from 1.5.0 to 1.5.3

Verifying this change
This change is already covered by existing unit/integration/e2e tests for Kinesis connector.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
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/Mesos, 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 approve all


[Question] Supported compute capabilities?

I've been working on porting FlashAttention-2 to pre-SM80 architectures (Turing and Volta) and was wondering if TK supports SM70 and SM75 hardware. Writing 100 lines of TK primitives sounds a lot easier than 1000 lines of CUDA...

Sorry for delay. TL;DR is that ThunderKittens as-is will NOT run on pre-SM80, but it would not be very hard to modify it to support down to SM_75 with a couple of targeted preprocessor directives within the codebase. SM_70 is definitely possible but would take a bit more work.
AFAICT there are just two things in the codebase that will break on SM_75.

All the load_async/store_async functions may refuse to compile. Since they're templates, if you simply don't instantiate them, the C++ compiler probably won't complain? But it would be safer to wrap them in an #ifdef so that people don't try to use them.
SM_75 doesn't do BF16, but I kind of half-assed the FP16 support in TK since BF16 is usually better. So the stuff in src/common/ that defines ops for bf16 would need to also be defined for FP16. The other thing that would need a wrapper is the base matmul instruction wrapper (you'd want the m16n8k8 shape)

The above looks fairly easy, although it's not a P0 for us at the moment. But if someone wants to submit a PR, happy to look it through and merge.
SM_70 is going to be a little bit more of a hassle, although still not hugely difficult. (Main difficulty being a lack of half-precision types.) The swizzling indexes (src/types/shared/st_layout) for FP32 would need to be checked and possibly extended, and MMA again would need some wrapping. Global to shared memory movement I think would also need a touch-up. But this reads to me like just a day or two of work, and again, happy to review or merge a PR if people want it enough to put it in.

Sorry for delay. TL;DR is that ThunderKittens as-is will NOT run on pre-SM80, but it would not be very hard to modify it to support down to SM_75 with a couple of targeted preprocessor directives within the codebase. SM_70 is definitely possible but would take a bit more work.
AFAICT there are just two things in the codebase that will break on SM_75.

All the load_async/store_async functions may refuse to compile. Since they're templates, if you simply don't instantiate them, the C++ compiler probably won't complain? But it would be safer to wrap them in an #ifdef so that people don't try to use them.
SM_75 doesn't do BF16, but I kind of half-assed the FP16 support in TK since BF16 is usually better. So the stuff in src/common/ that defines ops for bf16 would need to also be defined for FP16. The other thing that would need a wrapper is the base matmul instruction wrapper (you'd want the m16n8k8 shape)

The above looks fairly easy, although it's not a P0 for us at the moment. But if someone wants to submit a PR, happy to look it through and merge.
SM_70 is going to be a little bit more of a hassle, although still not hugely difficult. (Main difficulty being a lack of half-precision types.) The swizzling indexes (src/types/shared/st_layout) for FP32 would need to be checked and possibly extended, and MMA again would need some wrapping. Global to shared memory movement I think would also need a touch-up. But this reads to me like just a day or two of work, and again, happy to review or merge a PR if people want it enough to put it in.

given the post and the thing you said, It's probably pointless to implement thunderkittens  on ancient  GPU like P40/P100? just curious. what's your opinion

The reason to do it would be if you happen to really like the TK programming model of working with tiles. But there are no tensor cores, so the MMA wrapper would turn into actual sequential multiply+add instructions and you wouldn't really see any performance gains over naively writing raw CUDA.


Custom Keras RNN with constants changes constants shape when saving

Constants shape changes from rank 2 during inference to rank 3 tensor during model saving
System Info:

TensorFlow version (Cuda): 2.15
OS platform and distribution: Windows WSL
Python version: 3.11

from tensorflow.python.keras.layers.recurrent import (
    DropoutRNNCellMixin,
    _config_for_enable_caching_device,
    _caching_device,
)
import tensorflow as tf

class RNNWithConstants(
    DropoutRNNCellMixin, tf.keras.__internal__.layers.BaseRandomLayer
):
    def __init__(
        self,
        units,
        activation,
        recurrent_activation,
        dropout,
        recurrent_dropout,
        **kwargs,
    ):
        super(RNNWithConstants, self).__init__(**kwargs)
        self.units = units
        self.dropout = dropout
        self.recurrent_dropout = recurrent_dropout
        self.recurrent_activation = recurrent_activation
        self.cell = tf.keras.layers.GRUCell(
            units=units,
            activation=activation,
            recurrent_activation=recurrent_activation,
            recurrent_dropout=recurrent_dropout,
            dropout=dropout,
        )
        self.state_size = units
        self.output_size = units

    @tf.function
    def call(self, inputs, states, constants):
        print(f"inputs {inputs.shape}")
        print(f"states {states[0].shape}")
        print(f"constants {constants[0].shape}")
        inputs = tf.concat([inputs, constants[0]], axis=-1)  # error due to shape change
        h, _ = self.cell(inputs, states)
        return h, h

class ConstantsModel(tf.keras.models.Model):
    def __init__(self, units, **kwargs):
        super().__init__(**kwargs)
        self.units = units
        self.cell = RNNWithConstants(units, "sigmoid", "sigmoid", 0.1, 0.1)
        self.rnn = tf.keras.layers.RNN(self.cell)

    @tf.function
    def call(self, inputs, constants, training):
        return self.rnn(inputs, constants=constants)

const = ConstantsModel(10)
print("initializing...")
_ = const(tf.random.normal(shape=(100, 50, 10)), tf.random.normal(shape=(100, 10)))
print("\nsaving....")
const.save("./const_model")

Relevant Log Output
initializing...
inputs (100, 10)
states (100, 10)
constants (100, 10)
inputs (100, 10)
states (100, 10)
constants (100, 10)

saving....
inputs (None, 10)
states (None, 10)
constants (None, 10)
inputs (None, 10)
states (None, 10)
constants (None, None, 10)

Keras Issue

@sachinprasadhs,
I was able to reproduce the issue on tensorflow v2.15 with Keras2. Kindly find the gist of it here.
Triage Note: keras-v3 does not support adding constants to the call method, which is different from the tf-keras implementation.

Hi @claCase! Could you try using using the new Keras v3 (.keras) format for saving? Alternatively, we suggest you use .save_weights instead. In general saved model is not as recommended as newer methods.

Hi @grasskin
By utilizing the .keras extension and slightly refactoring the model I was able to successfully save it. Please see the reference code below.
Many thanks! I'm closing the issue.
import tensorflow as tf
from tensorflow.python.keras.layers.recurrent import (
    DropoutRNNCellMixin,
    _config_for_enable_caching_device,
    _caching_device,
)

tf.keras.saving.get_custom_objects().clear()

@tf.keras.saving.register_keras_serializable(package="custom_package")
class RNNWithConstants(
    DropoutRNNCellMixin, tf.keras.__internal__.layers.BaseRandomLayer
):
    def __init__(
        self,
        units,
        activation,
        recurrent_activation,
        dropout,
        recurrent_dropout,
        **kwargs,
    ):
        super(RNNWithConstants, self).__init__(**kwargs)
        self.units = units
        self.dropout = dropout
        self.recurrent_dropout = recurrent_dropout
        self.recurrent_activation = recurrent_activation
        self.cell = tf.keras.layers.GRUCell(
            units=units,
            activation=activation,
            recurrent_activation=recurrent_activation,
            recurrent_dropout=recurrent_dropout,
            dropout=dropout,
        )
        self.state_size = units
        self.output_size = units

    def build(self, inputs_shape, *args):
        print(inputs_shape)
        super().build(inputs_shape)

    @tf.function
    def call(self, inputs, states, constants, **kwargs):
        print(f"inputs {inputs.shape}")
        print(f"states {states[0].shape}")
        print(f"constants {constants[0].shape}")
        inputs = tf.concat([inputs, constants[0]], axis=-1)
        h, _ = self.cell(inputs, states)
        return h, h

@tf.keras.saving.register_keras_serializable(package="custom_package")
class ConstantsModel(tf.keras.models.Model):
    def __init__(self, units, **kwargs):
        super().__init__(**kwargs)
        self.units = units
        self.cell = RNNWithConstants(units, "sigmoid", "sigmoid", 0.1, 0.1)
        self.rnn = tf.keras.layers.RNN(self.cell)

    @tf.function
    def call(self, inputs, training):
        inputs, constants = inputs[0], inputs[1]
        return self.rnn(inputs, constants=constants)

const = ConstantsModel(10)
print("initializing...")
_ = const((tf.random.normal(shape=(100, 50, 10)), tf.random.normal(shape=(100, 10))), False)
const.save("./const_model.keras")

print("\nloading....")
const2 = tf.keras.models.load_model("./const_model.keras")
print("\ninitializing new model....")
_ = const2((tf.random.normal(shape=(100, 50, 10)), tf.random.normal(shape=(100, 10))), False)

initializing...
(100, 10)
inputs (100, 10)
states (100, 10)
constants (100, 10)
inputs (100, 10)
states (100, 10)
constants (100, 10)

loading....
(100, 10)
inputs (100, 10)
states (100, 10)
constants (100, 10)
inputs (100, 10)
states (100, 10)
constants (100, 10)

initializing new model....
inputs (100, 10)
states (100, 10)
constants (100, 10)


Local Interface Constraint throws errors with multiple multi node deployments

Issue and tracking information
If an application has an assembly that contains two components connected with a local client server connection and that assembly is replicated for deployment (i.e. multiple of these assemblies spread out across nodes to provide a map-reduce operation) The deployment plan will complain that the extra assembly facets are not local to the original receptacle. This was reproduced using our SignalProcessingDataModel.emx file which should be similar to the one here: https://github.com/ZeligsoftDev/CX4CBDDS/blob/master/examples/SNA_Examples/SignalProcessingDataModel_asm/Deployment/descriptors/SignalProcessingDataModel_asm.emx
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below

Fixed by pull request #52.


Add parthea as maintainer

@xylar PTAL

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

@conda-forge-admin, please rerender

@parthea, happy to have you as a maintainer!

Thanks, @xylar !


Fix compiler registration

Append the language to the compiler prefix
See https://github.com/TIBCOSoftware/jasperreports/blob/15a3228f9003af4da8666abde9b1d5cc47c309b9/jasperreports/src/net/sf/jasperreports/engine/JasperCompileManager.java#LL851C1-L851C1

Thank you!


Add printing capabilities for enums

Right now enums are C++ base enums. They lack the capability to print their names (and some other small features). We could create a "super_enum" class (please, feel free to change the name) that has enums properties + it prints its name (not a number). This class can be templated with Jinja or just C++ templates or both (depending on how many enums we have).

which enum are you talking about?


Support States within the key parameter

Currently the key option for the importing of the plugin only allows for State Tokens and strings. This causes an error (#123) if you pass in a StateModel.
It should be fairly easy to suppose a StateModel object since it has a name attribute which is the value that needs to be examined rather than the key itself.
for (const key of keys) {
    let val = nextState;
    if (key !== '@@STATE') {
        val = getValue(nextState, key);
    }
    try {
        this._asyncEngine.setItem(key, options.serialize(val));
    }
    catch (e) {
        console.error('Error ocurred while serializing the store value, value not updated.');
    }
}

Just check to see if the key is a StateModel and if it is, the "real name" is key.name rather than key.

@nvahalik do you mind creating a PR for this issue?

@marcjulian Sure. I'm working on it now.
Looks like this should already work based on how it's configured. It doesn't really make sense, but perhaps the issue here is a build problem and not a code problem?
When I use my locally built version of the plugin, using a StateModel works as expected. However, upon switching back to the latest release, it fails. The failure is in the transformKeyOption function:

It reports that StateModel is undefined.
I'm unfamiliar enough with how these modules are built to know where to go from here.

The above was tested w/ Firefox 79 and the project is being used with the IonicAsyncStorageService driver (um, copy-pasted from the repo...) on an Ionic 4 project using Angular 7.

Ah, OK. I figured out what was going on. PR submitted! #158

Note that I was still having problems with using StateToken directly in the key list, but this appears to be some sort of AoT issue and not related to any bug in this plugin. I will close out this ticket.


Enhance subcmd Add: Fix manifest serialization

Preserve table orders when adding dependencies to the manifest
Keep dependency entries as a single line table

Please update the PR title, what are you enhancing of subcmd Add?

done. But what's with the MacOS build? I didn't change any dependency versioning. :\

Please update the PR title, what are you enhancing of subcmd Add?

done.

Hmm, still vague, what did you fix of manifest serialization?

But what's with the MacOS build? I didn't change any dependency versioning. :\

Please see https://github.com/poac-dev/poac/pull/1032, not sure my code is compatible with tbb 2022 though.

Keep dependency entries as a single line table

Can you please clarify what this means?

Can you please clarify what this means?

When you add a dependency, before it was added like this.
[dependencies.x]
git = "...."

[dependencies.y]
git = "...."

Now:
[dependencies]
x = { git = "...." }
y = { git = "...." }

This sounds great, thanks. Would you mind adding a comment to the code as well just like you sent?

Please fix the CI error, then LGTM. Thanks for your work!


Adding Footer and Login/Sign up Page in "Villa Hotel Website" Project

Problem :
Without Login/Signup, we can't track the user which leads to poor communication and personalized experience. And without the footer, the website seems to be incomplete.
Solution
The solution I will provide is to add a good login/Signup page and add the footer.

I want to work over this issue. please assign it to me.

I want to work over this issue. please assign it to me.

Hello,
Is your feature request related to a problem? Please describe.
=> I will add an innovative login and sign up page to this website, so that all the users records are kept, and no unknown actions in the website goes unnoticed. It would also add to the security of the website, and also add to its UI.
Login/Register functionality:
https://github.com/TusharKesarwani/Front-End-Projects/assets/106022593/7fa5c918-d8c9-4389-bb4d-06c3c48fa568
I would also add a footer to the website in order to level up the UI of the website, so that it becomes more interactive and attract more users, and I would also add readily required information regarding the site like contact number and all on the footer, to make the users more comfortable while surfing through the website.
Describe the solution you'd like.
=> I would implement all the changes that I mentioned above using the fundamental languages of web development which include HTML5, CSS3 and Javascript.
Please assign this issue to me under SSoC Season 2

assign me this issue.


Doesn't support Servicebus with session enabled

It doesn't support Servicebus with session enabled.

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

ID: dbecafd0-c6db-9cb0-c5a4-328946446ec6
Version Independent ID: 40cea238-c2de-fd1d-fef7-c1a850b54158
Content: How to use the Spring Boot Starter for Azure Service Bus JMS
Content Source: articles/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-service-bus.md
Service: azure-java
GitHub Login: @seanli1988
Microsoft Alias: seal

@seanli1988 can you comment? Thanks.

@saurabhgangwar can you elaborate on how you are planning to use session in servicebus with Spring? code snippet will do.

Sorry for responding late. Actually, since this JMS starter kit wasn't useful for writing/reading to the Session Enabled Service Bus Queues so we had to update our implementation by using the service bus API in place of this starter kit. So there is not much information left with me but I am trying to put a summary of the issues we were facing.

@JmsTemplate wasn't able to write messages to the session enabled queue by default as there is no easy way to set up "SessionId" for the message. With some research we figured out that we had to set up a string property "JMSXGroupId" with the message that results in the session id, but strangely this is not documented.

@JmsTemplate doesn't support scheduling for delayed processing of the message. Please refer: https://stackoverflow.com/questions/45631740/how-to-send-scheduled-message-to-azure-service-bus-with-jms
Even the solution proposed in the answer doesn't work with the latest JMSTextMessage class.

Message Reciever doesn't work with the session enabled queue. Someone already reported it to you here: https://github.com/Azure/azure-service-bus/issues/326
but I see the ticket is closed but the last comment says that it did not work with JAVA. Please fix it for the future pickers of this started kit, if someone cares.

Thanks.
CC: @KarlErickson

Thank you for your feedback @saurabhgangwar . I've backlogged these feature requests in our enhancements for the service bus starter.

Thanks @saurabhgangwar and @seanli1988 - closing this issue.


python311Packages.tencentcloud-sdk-python: 3.0.1102 -> 3.0.1107

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1102...3.0.1107
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1107/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 295705 run on x86_64-linux 1

4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


[Bug]: 404 error at URL: /txns/N_iWc001T9AdZcS6RyqSAOUD-c276QknpRDknHHMD1Y

What happened?
A bug happened!
URL
URL: /txns/N_iWc001T9AdZcS6RyqSAOUD-c276QknpRDknHHMD1Y
What browsers are you seeing the problem on?
Chrome
Do you see the issue on Mobile or Desktop?
Mobile
Relevant log output
No response

There was an outage when you filed this issue. It should be resolved now. https://status.helium.com/incidents/kw1wv82pyhpt


feat(managing_deis): add platform SSL documentation

closes #25
pinging @krancour for review as he knows this field better than I do

This looks good to me. @helgi should look too

All changes addressed and ready for another round of reviews.


Files: [no src] error

Using the config in your example:
yslow: {
  options: {
    thresholds: {
      weight: 180,
      speed: 1000,
      score: 80,
      requests: 15
    }
  },
  pages: {
    files: [
      {
        src: 'http://andyshora.com'
      },
      {
        src: 'http://www.google.co.uk',
        thresholds: {
          weight: 100
        }
      }
    ]
  }
},

I get the following output when running grunt yslow -v:
grunt yslow -v
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK

Registering "grunt-yslow" local Npm module tasks.
Reading /node_modules/grunt-yslow/package.json...OK
Parsing /node_modules/grunt-yslow/package.json...OK
Loading "tasks.js" tasks...OK
+ yslow

Running tasks: yslow

Running "yslow" task

Running "yslow:pages" (yslow) task
Verifying property yslow.pages exists in config...OK
Files: [no src]
Files: [no src]
Options: thresholds={"weight":180,"speed":1000,"score":80,"requests":15}
>> Testing 2 URLs, this might take a few moments...
Fatal error: Unexpected end of input

Am using:
grunt-cli v0.1.13
grunt v0.4.2
node v0.10.23

Hi @andyshora,
Did you get anywhere with the Files: [no src] error, or can offer any pointers as to avoiding it? I've got 0.0.4 installed and I'm afraid I'm running into the same issue.
Current config looking like:
    yslow: {
      pages: {
        files: [{
          src: 'http://bbc.co.uk',
        }],
        options: {
          thresholds: {
            weight: 500,
            speed: 5000,
            score: 90,
            requests: 15
          }
        }
      }
    },

That outputs as:
Running "yslow:pages" (yslow) task
Verifying property yslow.pages exists in config...OK
Files: [no src]
Options: thresholds={"weight":500,"speed":5000,"score":90,"requests":15}
>> Testing 1 URLs, this might take a few moments...

Cheers!

Right, schoolboy error on my part: phantomjs wasn't installed globally, as it states at the top of the readme. My bad.
Carry on! :+1:


THRIFT-5152: introduce connect timeout and socket timeout

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

CI failed, need to fix
https://travis-ci.org/github/apache/thrift/jobs/667195333?utm_medium=notification&utm_source=github_status

CI failed, need to fix
https://travis-ci.org/github/apache/thrift/jobs/667195333?utm_medium=notification&utm_source=github_status

@Jens-G Sorry for the late reply, already fixed CI build.
Please review this mr :)

This is a breaking API change. Will it come with a major version bump?

This change should have been mentioned in CHANGES.md as it's a breaking change.
@directionless thrift doesn't follow semver and all versions in the form 0.x are major versions.

thrift doesn't follow semver and all versions in the form 0.x are major versions

That seems unfortunate given how go modules work.

Well, thrift predates not only Go modules but Go itself so not much we can do here.

While thrift itself predates go, the go library certainly does not. It's frustrating to encounter that level of end user hostility from a software project.

While thrift itself predates go, the go library certainly does not.

How is that relevant? Thrift supports dozens of languages, most of them predate the go library and they all share version numbers.

that level of end user hostility

The only hostility I'm seeing here is coming from your end.


Separation of concerns

Is it common practice to separate Heroku accounts for prod and non-prod (e.g. staging, dev, etc)?

I really don't think so. Instead you would use a Pipeline that has multiple apps such as myapp-staging which you then can promote to myapp-production without having to rebuild your application.
I believe that separate Heroku accounts only make sense if you have to keep the billing separate for these accounts. E.g. different customers or personal VS. business.


Use implicit-hie-<IP_ADDRESS>

To get the last patch and use it in hls

@Avi-D-coder thanks! could we release this to hackage too?

Released


"Clap files|buffers" fails when :term is the current buffer

Environment (please complete the following information):

OS: macOS, Linux
(Neo)Vim version: 0.4.x
vim-clap version: 97c8837
Have you reproduced with a minimal vimrc: yes

Describe the bug
When the neovim term (:term) is the current buffer, :Clap files and :Clap buffers only show an error message in the floating window:
provider.on_typed:
function clap#handler#on_typed[9]
..30[2]
..clap#impl#on_typed[6]
..<SNR>91_on_typed_async_impl[11]
..clap#dispatcher#job_start[2]
..<SNR>97_apply_job_start[1]
..<SNR>97_job_start, line 1
Vim(let):E475: Invalid argument: expected valid directory

To Reproduce
Steps to reproduce the behavior:

Create the minimal vimrc min.vim:

set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on

Start (neo)vim with command: vim -u min.vim

Type :term<CR>:Clap files<CR> or :term<CR>:Clap buffers ++ef=fzy +async<CR>

See error

Expected behavior
Show the list of openbuffers.

See if the latest commit fixes this issue. And if you really use :Clap buffers ++ef=fzy +async in daily life, I highly recommend you just using :Clap buffers as clap already supports filtering using fzy if your vim/neovim has the python support. The source of :Clap buffers is absolutely a small dataset, using async is an overkill.

Yes it works.  And thanks for the tip.  I'll try that. :)


Readme improvements

In trying to use Frodo for the first time, I think some of the following changes might be helpful for folks:

Note that you MUST end interface names with the keyword Service or it won't be found
It's not clear what the VERSION docopt does
Mention go generate ./... will "do the right thing" if you have multiple services defined
Mention that the responses MUST be structs (i.e. you can't return an array of objects, e.g. when you implement "get the list of all things")

Addressing each suggestion:

Definitely a good point to get across. I'll add something explicit to the docs, but I will also update the frodo CLI to output a more descriptive error when it doesn't find any. Currently it just tells you that it couldn't find any service interfaces. I will make the output include that nugget of info as well so that it's clear even if you didn't grok everything in the docs.
VERSION literally just regurgitates that value if you generate swagger documentation. Can you think of an actual legit case where that value would be useful elsewhere? If it is just to round out your swagger/OpenAPI docs, I might just move the nugget about the VERSION option to the swagger docs section so the info is closer to the more relevant area.
I like the suggestion about the go generate shortcut.
Just like the "Service" suffix, I can add a blurb to the docs that might be easy to miss, so I'll also look at having the CLI give you the feedback at the appropriate time as well.

I had a couple of other README updates I needed to make as well, so I'll include these with my in-process updates.

Thanks, Rob! Re:VERSION, seems like it'd be better as a variable you can pass along to the framework instead of needed it to live within the docs. Most apps embed a value at build time... which would be hard to pass along into a comment.

I've merged the README changes and CLI output updates into main. I'll tag them as part of a v1.1.1 once I knock off a few of the other things Brad found.


Native Class syntax breaks binding data-test-* ID from the Javascript file

I'm not seeing the expected behavior when binding the data-test-* ID within the Javascript file when using Native Classes
Taking your existing README.md example:
export default Ember.Component({
  comment: null,
  'data-test-comment-id': Ember.computed.readOnly('comment.id'),
});

Now convert to use native class syntax and observe that data-test-comment-id does not exist anymore.
Here is a very simple Ember Twiddle, inspect the DOM and you notice data-test-my-component attribute does not exist
https://ember-twiddle.com/7cf08b835afbcbba34f761bcf41930bc

@alexdiliberto any ideas how to fix this?

It would be pretty nice if ember-test-selectors shipped a class decorator that allowed you to do something like
import { testSelector } from 'ember-test-selectors';

@testSelector('comment-id')
class WhateverComponent extends Component {
}

I'm not sure what the syntax would look like if you wanted to bind to a specific value, but this would help get around the current issues.

@alexlafroscia what would that do?

In this example, set up the data-test-commend-id attribute on the outer element, and be stripped out of the build in production using babel-plugin-filter-imports or something

I'm not convinced. How to tagName: '' components work with native classes? Since the mid-term goal is to make tagName: '' the default it would be easy then to use <div data-test-comment-id>the content</div> in the template when needed. 🤔

I mean, you can pretty easily do tagName: '' with native class components:
import { tagName } from '@ember-decorators/component';

@tagName('')
class MyComponents extends Component {

}

I'm not sure why tagName and the ES6 classes would be entangled.

I don't think that removes the need for a solution here

I personally don't see the need here and won't put time into it, but feel free to come up with a PR. The constraints are that it needs to behave quite close to the current solution and be entirely optimized out in prod builds.

I'll close this - essentially dataAttributeBindings (which ETS adds all data-test- attributes to automatically) is only necessary as currently component templates define inner HTML rather than outer so that dataAttributeBindings is the only way to get the data-test attributes on the component's outer element. With the new component model where templates define the component's outer HTML that is no longer necessary and the data-test attribute can be added to the component's template directly.
In general, I'd advice against using a fixed data-test- attribute per component that is defined inside the component (be it the component's .js or .hbs) as that makes the tests using the attribute depend on internals of the component and the fact that a specific component is used. What you should do instead is pass data-test- attributes into the component from the context in that the component is invoked - after all, you would usually want to use different data-test- attributes for different invokations of the same component:
<Button data-test-delete-user-button>Delete</Button>
…
<Button data-test-save-record-button>Save</Button>


Typo in SummaryWriter?

Hello,
Should "log_dir" change to "logdir" at here: https://github.com/BIGBALLON/CIFAR-ZOO/blob/master/train.py#L133

Hi, @arkhodamoradi
the latest commit of tensorboardX use  logdir
https://github.com/lanpa/tensorboardX/blob/e9323109eab780a7444508e95f9d3a49e1f4f59f/tensorboardX/writer.py#L192
while the old version of tensorboardX  used log_dir.
https://github.com/lanpa/tensorboardX/blob/a15266e177c876d654f1062c37d0cf93abb7920f/tensorboardX/writer.py#L246
and I will update my code for the latest commit.

Thanks for the quick response.


UI disappeear

What is your question?
Is there a lua event for making the UI disappear?

doTweenAlpha('hud', 'camHUD', 0, (the time it takes to make the hud vanish), 'linear')

doTweenAlpha('hud', 'camHUD', 0, (the time it takes to make the hud vanish), 'linear')

setProperty('camHUD.alpha', 0) is more efficient

thanks to both of you!
On Sat, Apr 30, 2022, 3:30 PM BombasticTom @.***> wrote:

doTweenAlpha('hud', 'camHUD', 0, (the time it takes to make the hud
vanish), 'linear')
setProperty('camHUD.alpha', 0) is more efficient
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/8405#issuecomment-1114041692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVVLGLSPFU4WP6ZK2YWB4UTVHWC3RANCNFSM5UYWRRLQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

doTweenAlpha('hud', 'camHUD', 0, (the time it takes to make the hud vanish), 'linear')

setProperty('camHUD.alpha', 0) is more efficient

ah ok


Feature/renamepackages

This PR renames modules and packages to org.dependencytrack from org.hyades in an attempt to address issue:
https://github.com/DependencyTrack/hyades/issues/884
Please merge https://github.com/DependencyTrack/hyades-apiserver/pull/454 first before merging this one

Since this is only a rename package PR, the issues from sonarcloud can be ignored as they are from exiting code


Angular 1.4 ng-options with track by

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Using selects' ng-options directive without track by on a collection of key-value object works ok. If setting a default value, that value is taken into account. (demo: http://plnkr.co/edit/c6EK2chHDMF1HqujcuXp?p=preview)
But if in the same demo I use "track by", I am forced to select the initial value as an existing object in the collection + at first select change, that value is reset in the interface (demo: http://plnkr.co/edit/oORBDOlvvICYRIi5zQqN?p=preview)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Other information (e.g. stacktraces, related issues, suggestions how to fix)

This is expected behavior. As documented, there are some limitations when using select as + track by.

Georgios, thanks for the reply. You're right, it's documented. Still a bit weird to use; especially since the change function will receive the value as argument, not the object itself, as required by the initial select.
However, there's another issue in which when you change the selection from the interface, the select resets the value. Have a look at the "track by" plunker to see it. I doubt that this will actually be the expected behaviour. (http://plnkr.co/edit/oORBDOlvvICYRIi5zQqN?p=preview)

This is part of the above limitation - that is why you shouldn't use select as with track by unless you select the whole object. Using opt as opt.name restores the expected behavior: http://plnkr.co/edit/gjdi5O1Mq1zFyhqi9hLb?p=preview


live reload doesn't work when just modifying the css file

Problem
It just notices me the following messages when I am modifying the css file of style { include_str!("../../statics/client_style.css") }:
Connected to hot reloading 🚀
Rebuild needed... shutting down hot reloading.
Manually rebuild the application to view further changes.

Steps To Reproduce
Steps to reproduce the behavior:

add the code in main:

/bin/client.rs:
hot_reload_init!(dioxus_hot_reload::Config::new().with_paths(&["statics"]));
    dioxus_desktop::launch_cfg(
        client_lib::Client,
        Config::default().with_window(WindowBuilder::new().with_resizable(false).with_inner_size(
            dioxus_desktop::wry::application::dpi::LogicalSize::new(440.0, 450.0),
        ).with_title(win_title)),
    );

Client.rs
    render!(div {
        link { href:"https://fonts.googleapis.com/icon?family=Material+Icons", rel:"stylesheet" }
        style { include_str!("../../statics/client_style.css") }
        main {

cargo run --bin client
modify the file ../../statics/client_style.css

Expected behavior

the style can be changed after modified the css file without rebuild or reopen the app.

Environment:

Dioxus version: 0.4.0
Rust version: 1.75.0
OS info: MacOS
App platform: desktop

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

include_str is a macro that copies the contents of the file to a string literal. The git version of Dioxus has limited for hot reloading assets that are read at runtime, but it cannot hot reload arbitrary macros. That would likely need deeper integration with cargo itself
If you change your code to link to the stylesheet instead of embed the stylesheet within the code, it may hot reload in the latest git version of dioxus and the dioxus CLI

@ealmloff
I updated the version to 0.5.1
and use the link style, but it could not hot reload, too.
    rsx! {
        div {
            link { href:"https://fonts.googleapis.com/icon?family=Material+Icons", rel:"stylesheet" },
            link { href:"../../statics/client_style.css", rel:"stylesheet"},

the command line showed like this:
Rebuild needed... shutting down hot reloading.
Manually rebuild the application to view further changes.

Oh, I finally figured out how to load it. Just use link tag, but what's the use of the style key in Dioxus.toml?

The style key only works for the web/fullstack platforms. It should insert the link for you

Fixed in #2779


[help] redesign sorting icon

i already did a tweak in css but looking for the proper way

This seems to be related to v6, which is currently not maintained.

ok thank you so i think i will stick with my css fix

Please use the forum: https://spectrum.chat/react-table


cmd/vet: add check for Context.WithValue(_, string, _)

Using a context.Context Value key of type string is a terrible idea and walks into the minefield of a global namespace. We should've outlawed it from day 1.
All context value keys should be made from user-defined types.
Also disallow int, bool, etc. But string is what I usually see.

I'd be happy to give this a try.

Thanks.

Submitted an initial CL here: https://go-review.googlesource.com/c/30084/.
I suspect there's probably more I can do, but I would appreciate some review before I pursue this issue further.

This is not a correctness issue and so should not be fixed in vet. It's a better candidate for lint.

Merged as golang/lint@c6242afa6ced3be489e1184eb80bc2d85f1f5e7b


TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.

When trying to run train:
Original Traceback (most recent call last):
    File "/home/raph/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
      data = fetcher.fetch(index)
    File "/home/raph/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 41, in fetch
      data = next(self.dataset_iter)
    File "/home/raph/repos/CosyVoice/cosyvoice/dataset/processor.py", line 322, in padding
      for sample in data:
    File "/home/raph/repos/CosyVoice/cosyvoice/dataset/processor.py", line 283, in dynamic_batch
      for sample in data:
    File "/home/raph/repos/CosyVoice/cosyvoice/dataset/processor.py", line 237, in sort
      for sample in data:
    File "/home/raph/repos/CosyVoice/cosyvoice/dataset/processor.py", line 209, in shuffle
      for sample in data:
    File "/home/raph/repos/CosyVoice/cosyvoice/dataset/processor.py", line 172, in parse_embedding
      sample['spk_embedding'] = torch.tensor(sample['spk_embedding'], dtype=torch.float32)
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.

你怎么解决的啊

大佬是如何解决的呢？


Error when retrieving app on TV

Hi,
When I open Netflix on the TV, HA show that it's YouTube and when i open YouTube, it shows Netflix.
I have 4 different TVs in my home and the 4 of them do the same problem.

I think the problem comes from the link between HA and SmartThings as on SmartThings, the correct app is shown and not on HA.

Environment details:

HAOS 9.4 on generic x86-64
Home Assistant 2023.1.1
Samsungtv Smart v0.9.4
TV model: QE85Q60BAUXXC // QE65Q60RATXXC // UE55NU7470 // UE50NU7470

Did you try is last release fix the issue?

@ollo69 First of all, thank you for your work. RESPECT
Sadly, one tv is working and another one load only the output on HDMI and not applications

Did you try to manual configure application list. Not all TV provide the list of installed application.

Not yet, i'm doing it right now.
I think it was interesting to give you this feedback.

So, i did it.
All the application works (load on sources and can be controlled) but not Netflix.

Please share your applications list

@ollo69
app_list: '{"Netflix": "11101200001", "YouTube": "111299001912", "Spotify": "3201606009684"}'

I suppose that you edit JSON config in configuration.yaml, but app list now can be configured using UI options and configuration.yaml is deprecated.
The AppID that you use for Netflix is the old one, you could try using the new. And also is better to add the SmartThings AppID as backup.
So edit your list (using Integration option and not configuration.yaml that will be ignored after first import) in this way:
Netflix:<PHONE_NUMBER>807/org.tizen.netflix-app
YouTube:<PHONE_NUMBER>12/9Ur5IzDKqV.TizenYouTube
Spotify:<PHONE_NUMBER>684/rJeHak5zRg.Spotify

Thank you @ollo69
Great job


refine github code owners

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/yonzhan/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"


Internal: change runs-on from macos-12 to ubuntu-latest

What changed?
Change the OS which the playwright tests run on from MacOS 12 (Mac) to Ubuntu (Linux).
Why?
In TypeScript migration, yarn build in CI consistently finished, but not in Playwright. The yarn build for playwright sometimes get stuck. After some investigation, I realized that this is not independent to which tests we run, and only depends on which OS the yarn build runs on. Regardlessly if it's Playwright workflow (playwright.yml) or CI workflow (ci.yml), the build would get stuck MacOS 12 and MacOS 14 but consistently finish in Ubuntu.
To unblock TypeScript migration, I'd like to change the OS which Playwright tests run on from MacOS to Ubuntu.

LGTM!


502 error in plugins download

When i try to do plugins install I get a 502

servers seem crashed, we already restarted it and service is online now.


crystal RPM package should declare dependency on "gcc"

As per title. For example, with no gcc installed:
$ crystal hello.cr
--: cc: command not found
Error: execution of command failed with code: 127: `cc -o "/home/amit/.cache/crystal/crystal-run-hello.tmp" "${@}"  -rdynamic  -lpcre -lgc -lpthread /opt/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`

I would be happy to contribute the fix, if someone points me to where the build scripts exist.

We depend on a linker but not necessarily gcc. It can be clang for example.

On Debian we could depend on build-essentials I guess, but there's no such thing for RPM based distros. Does anybody have a way to depend on "some linker/C compiler"? If not, I'd vote won't fix.

Debian provides the c-compiler virtual package.

@jhass I can try and find an equivalent package for RPM based distros. The output I pasted above seems to be invoking cc. But you say, depends on "some linker/C compiler" - could you explain a bit more?

cc is by convention "some C compiler", you (or your system) may either symlink it to gcc, clang or something else even. Additionally we do respect the CC environment variable.

What if we default togcc and let the user overwride it by using CC to some other compiler?

This should be followed up on crystal-lang/omnibus-crystal#14

Closing. This is a distribution issue, as per above message.


[Feature Request] Support for embedded table in callouts

For example, the following two types of callouts are written
The obsidain-table-editor plugin cannot render:
> [!NOTE]
> | title | content |
 | ----- | ------- |
 | 1111      |    333     |

or
> [!NOTE]
> | title | content |
>  | ----- | ------- |
> | 1111      |    333     |

This is interesting! I wasn't aware of the fact that callouts can support tables

Can you check and confirm this in the latest version?

Thank you very much It seems to be working very well
But I found a little bug, if there is a blank row after the table, every time I update the table, a new blank row will be added
eg：
> [!NOTE]
|  1111  |  222   |
|:-------|:-------|
|   5555 |  5555  |

I have created a separate issue for the new line issue. Will fix it over the next weekend!


[Bug]: ilike not replaced in generate docs command

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
With a recent enhancement the TABLES statements have been modified to use = rather than ilike if the "dremio:exact_search_enabled": true is specified. https://github.com/dremio/dbt-dremio/issues/134
I am not sure if it was intended behaviour or not that is why marking it as a bug the dbt docs generate seems to be ignoring that and still fires requests with the ilike command.
/* {"app": "dbt", "dbt_version": "1.5.2", "profile_name": "data_product_demo", "target_name": "dev", "connection_name": "location"} */
with cte as (

      select (case when position('.' in columns.table_schema) > 0
            then substring(columns.table_schema, 1, position('.' in columns.table_schema) - 1)
            else columns.table_schema
        end) as table_database
        ,(case when position('.' in columns.table_schema) > 0
            then substring(columns.table_schema, position('.' in columns.table_schema) + 1)
            else 'no_schema'
        end) as table_schema
        ,columns.table_name
        ,lower(t.table_type) as table_type
        ,cast(null as varchar) as table_comment
        ,column_name
        ,ordinal_position as column_index
        ,lower(data_type) as column_type
        ,cast(null as varchar) as column_comment
        ,cast(null as varchar) as table_owner
      from information_schema."tables" as t
      join information_schema.columns
        on (t.table_schema = columns.table_schema
        and t.table_name = columns.table_name)
      where t.table_type <> 'SYSTEM_TABLE'
      and (ilike( t.table_schema, 'tablename'))
    )

    select *
    from cte
    order by table_schema
      ,table_name
      ,column_index

Expected Behavior
/* {"app": "dbt", "dbt_version": "1.5.2", "profile_name": "data_product_demo", "target_name": "dev", "connection_name": "location"} */
with cte as (

      select (case when position('.' in columns.table_schema) > 0
            then substring(columns.table_schema, 1, position('.' in columns.table_schema) - 1)
            else columns.table_schema
        end) as table_database
        ,(case when position('.' in columns.table_schema) > 0
            then substring(columns.table_schema, position('.' in columns.table_schema) + 1)
            else 'no_schema'
        end) as table_schema
        ,columns.table_name
        ,lower(t.table_type) as table_type
        ,cast(null as varchar) as table_comment
        ,column_name
        ,ordinal_position as column_index
        ,lower(data_type) as column_type
        ,cast(null as varchar) as column_comment
        ,cast(null as varchar) as table_owner
      from information_schema."tables" as t
      join information_schema.columns
        on (t.table_schema = columns.table_schema
        and t.table_name = columns.table_name)
      where t.table_type <> 'SYSTEM_TABLE'
      and  t.table_schem='tablename'
    )

    select *
    from cte
    order by table_schema
      ,table_name
      ,column_index

Steps To Reproduce
Just running dbt docs generate should do
Environment
- OS: Monterey 12.5.1
- dbt-dremio: 1.5.0
- Dremio Software: 23.1.5
- Dremio Cloud: N/A

Relevant log output
No response

Any update?

the dbt docs may be using the get_catalog macro :
https://github.com/dremio/dbt-dremio/blob/8143c81a4e357ac90d1539192a8a6ee047d7e555/dbt/include/dremio/macros/adapters/metadata.sql#L15C10-L15C29
which has to be adapted too.

There are a few places where ilike seems to be used, so I guess for the nature of the optimisation it should be changed in all of those, or maybe creating a central function that wraps the logic and gets called in all the other macros.