Feature Request Barrel Upgrades

Can you make upgrades that can be applied to existing barrels, chests, and shulker boxes like the mods: iron chests and metal barrels?

I think there are some ways to do it.
The easy way is to use the fabric common tags. https://fabricmc.net/wiki/tutorial:tags
e.g. c:iron_chest, c:diamond_shulker_box, ...
However, it seems any mod doesn't register metallic storage as common tags.
So this way is not very effective..
By the way, I think iron chest mod and metal barrels mod are forge, but my mod is fabric:_(

Check out Fabric Iron Chests (Source)

Thank you, but it seems that the common tags are not registered.
e.g. iron_chest.json, means c:iron_chest tag, is not in https://github.com/TechnoVisionDev/IronChest/tree/master/src/main/resources/data/c/tags/items
It is difficult if the common tags are not in other mods like the iron chest mod.

Check out Fabric Iron Chests (Source)

Thank you, but it seems that the common tags are not registered.
e.g. iron_chest.json, means c:iron_chest tag, is not in https://github.com/TechnoVisionDev/IronChest/tree/master/src/main/resources/data/c/tags/items
It is difficult if the common tags are not in other mods like the iron chest mod.


The centre of the circle should be configurable

the position of the circle should be configurable in the settings screen.
The user should be able to move around the centre point on the keyboard canvas to best suit his/her needs.

The issue is partially fixed. Currently the keyboard view is not updated instantly as soon as the configuration changes. To view the changes, you need to either
switch the phone to landscape mode and back OR
switch to a different keyboard and back.

A different ticket will be raised for the bug, closing this issue.


Featuring mockit in Docusaurus

Hello, we would like to feature your project to the Docusaurus users page.
Would that be ok? Also can you provide your logo?
More info about this here

That sounds great @NishealJ!
Here is the logo.

Do you want me to PR it into Docusaurus? Or are you going to do that?

@boyney123 logo should same this

Hi @boyney123 & @Hongarc ,
I'll raised a PR, second logo looks fine :)
Thanks !

@NishealJ good job.
Done in facebook/Docusaurus#1415.
You should close this issue.

Hi,
has been added here
Thanks !


Separate xbar

Separate tile xbar into routing_xbar and fu_xbar as described in https://github.com/tancheng/VectorCGRA/issues/13.

Existing functionality is not affected as the new cgra/tile is modeled/provided additionally.
[ ] Will replace (remove) existing tile with the newly added tile in next PRs.
[ ] Can try to synthesize the newly added cgra to see whether it helps remove combinational loops @yyan7223.

Hi @yyan7223, I will merge this PR now but plz let me know if you have any concern when we deprecate the single xbar design. Thanks!


Navigate to another dashboard from image click

It would be very useful if there were an option to associate a url link with the image in order to navigate to the url when the image is clicked. My intention is create a dashboard menu based on images rather than text.

@almapab, version 2.3.0 released and submitted to Grafana for the review.
Meanwhile, you can install it and try using the custom URL: https://github.com/VolkovLabs/grafana-image-panel/releases/download/v2.3.0/volkovlabs-image-panel-2.3.0.zip
Be aware, Grafana has an issue with clicking on images, I hope it will be resolved soon: https://github.com/grafana/grafana/issues/41445

Perfect, thanks for your work.

@almapab, thank you for submitting the issue. I can add URL in the panel's options similar to links for other Grafana panels, is it what you are looking for?
Do you expect to use variables in the URL? I have to test to see how it works.

Perfect, thanks for your work.

@almapab, version 2.3.0 was added to the Grafana repository (https://grafana.com/grafana/plugins/volkovlabs-image-panel/), but it has the issue I mentioned before.
The new version 2.3.1 with proposed workaround was released and submitted to the repository: https://github.com/VolkovLabs/grafana-image-panel/releases/tag/v2.3.1
Please let me know if there is anything else.


LGPL Compliance for Wheels

opencv-python redistributes LGPL-licensed libraries with its wheels. I'm in a similar situation for one of my own projects, and I've been looking at opencv-python to get an idea of how to comply with the licences. One thing that struck me is the lack of distributed source code.
LGPLv2.1 §4:

You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.

(L)GPLv3 §6(d) (there are other options in §6 but §6(d) seems to be the easiest):

Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.

How is opencv-python complying with these sections of the licences? The wheels do not include the source code for the libraries under these licences, nor instructions for obtaining the source for the libraries under LGPLv3. If PyPI is the "designated place" from which object code is offered, then there's currently no offering of all the libraries' sources from PyPI.
Also, for LGPLv3, I think you need to include the GPLv3 licence text along with the LGPLv3 licence.

IANAL, but you are correct that we are missing proper download links for the source tarballs. For Qt and FFmpeg they can be found from the Dockerfiles (e.g. https://github.com/opencv/opencv-python/tree/master/docker/manylinux2014), but they should be probably listed in the README. Imho PyPI is not really suitable for redistributing the third party sources.

I think we need to add the information with links to description of the package and m.b. update readme every time, when release is published.

LGPLv2.1 is unfortunately a bit vague. I'm not sure if it allows linking to the source on an external server. I'm not qualified to offer legal advice so I don't know how to interpret it. The safest option would be to include the source in the wheels, but that would have unfortunate consequences on the file size.
And yeah, I think download links would constantly need to be updated to point to the exact sources (i.e. matching commit/tag/version). Furthermore, I believe the licenses require build instructions and scripts to be included too (IIRC v3 goes into more detail).


Support CEPH storage

Can imgproxy support get image from CEPH ?  https://ceph.com/

It looks like Ceph has S3-compliant API. Did you try to use it?

CEPH support requires imgproxy to be linked with additional libraries like libcephfs and librados. I don't think this is a good idea to add an additional requirement for such an uncommon feature. I'd rather recommend using S3-compliant API.


NIFI-7922: Added support for GET in ListenHTTP for health check

https://issues.apache.org/jira/browse/NIFI-7922
Description of PR
Adds support for GET in ListenHTTP for health check.
GET was not supported in ListenHTTP so when put behind a load balancer, the load balancer could not perform a health check on the HTTP server. This PR fixes that.
GET requests sent to <ListenHTTP_service_URI>/healthcheck return "200 OK" with an empty response body.
Accessing the health check service can be difficult if the processor is configured to use 2-way SSL, since some load balancers do not support client certificate handling. For this reason, it is also possible to specify a different port, where only the health check service is available. When accessing the health check service via its dedicated port, 1-way SSL is used at most, as follows:

If the processor is set not to use SSL, SSL is not used on the health check port, either.
If the processor is set to use one-way SSL, one-way SSL is used on the health check port.
If the processor is set to use two-way SSL, one-way SSL is used on the health check port.
When accessing the server via the dedicated health check port, no other service can accessed and no requests are supported other than GET and HEAD.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

The concept of a health check for deployment behind a load balancer is useful, but listening on a different port and having a different approach to TLS negotiation may not be the most intuitive or generally applicable implementation. Is there a specific reason that the health check port should not follow the same TLS negotiation requirements as the primary port? More importantly, listening on a different port could introduce other complications. For example, a firewall between the load balancer and ListenHTTP would have to allow both the primary port as well as the health check port. Some load balancing servers perform health checks on the same port as the one configured for primary communication, so that seems like a better implementation approach.

Main reason, I think, is in case the processor is configured with 2-ways SSL. Many load balancers cannot provide a client certificate for a health check.

The concept of a health check for deployment behind a load balancer is useful, but listening on a different port and having a different approach to TLS negotiation may not be the most intuitive or generally applicable implementation. Is there a specific reason that the health check port should not follow the same TLS negotiation requirements as the primary port? More importantly, listening on a different port could introduce other complications. For example, a firewall between the load balancer and ListenHTTP would have to allow both the primary port as well as the health check port. Some load balancing servers perform health checks on the same port as the one configured for primary communication, so that seems like a better implementation approach.

Main reason, I think, is in case the processor is configured with 2-ways SSL. Many load balancers cannot provide a client certificate for a health check.

That's a good point, and probably more common than being limited to HTTP 200 for successful responses.  As mentioned, there still seem to be some complicating factors with using an alternate port for checking health status.  If there is interest in moving this feature forward with a separate port for health checks, having one additional property for Health Check Client Authentication, using the available values of NONE, WANT, and REQUIRED would avoid hard-coding a particular implementation.  Depending on the network layout between the load balancer and the NiFi servers, it may be desirable to limit access based on an X.509 certificate that the load balancer provides.  It could also be useful to allow unauthenticated health checking, so providing an option with sensible defaults would address both potential use cases.

The concept of a health check for deployment behind a load balancer is useful, but listening on a different port and having a different approach to TLS negotiation may not be the most intuitive or generally applicable implementation. Is there a specific reason that the health check port should not follow the same TLS negotiation requirements as the primary port? More importantly, listening on a different port could introduce other complications. For example, a firewall between the load balancer and ListenHTTP would have to allow both the primary port as well as the health check port. Some load balancing servers perform health checks on the same port as the one configured for primary communication, so that seems like a better implementation approach.

Main reason, I think, is in case the processor is configured with 2-ways SSL. Many load balancers cannot provide a client certificate for a health check.

That's a good point, and probably more common than being limited to HTTP 200 for successful responses. As mentioned, there still seem to be some complicating factors with using an alternate port for checking health status. If there is interest in moving this feature forward with a separate port for health checks, having one additional property for Health Check Client Authentication, using the available values of NONE, WANT, and REQUIRED would avoid hard-coding a particular implementation. Depending on the network layout between the load balancer and the NiFi servers, it may be desirable to limit access based on an X.509 certificate that the load balancer provides. It could also be useful to allow unauthenticated health checking, so providing an option with sensible defaults would address both potential use cases.

The way it works in this implementation is: the health check functionality is always available on the primary port. So if the user has 2-way SSL configured on  the primary port, and has a LB that can provide a client certificate, then there is no need to configure a separate port for health checks. If the user's LB can't provide a client certificate, then they can configure a separate port where the health check can be performed without one.

@turcsanyip Looks good.

@exceptionfactory, @pvillard31 Thanks for the reviews. Merging to main.


Tutorial for using Firebase with Steroids

Not the highest priority with the docs team currently – if anyone wants to put something together, we'd be happy to review it and publish it on Academy!

:+1:


Unable to clone largish repository

I pushed the bodhi repo into repospanner. When I tried to clone it, the clone failed:
$ git clone --config http.sslcert=~/devel/bodhi/admin.crt --config http.sslkey=~/devel/bodhi/admin.key --config http.sslCAinfo=~/devel/bodhi/ca.crt https://n2.home.repospanner.electronsweatshop.com/repo/bodhi.git delme
Cloning into 'delme'...
remote: Welcome to repoSpanner 0.5+1293143, node n2.home.repospanner.electronsweatshop.com
remote: Building packfile
remote: Packfile built, sending
remote: Packfile sent
Receiving objects: 100% (43437/43437), 116.51 MiB | 18.86 MiB/s, done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

This is repeatable with the Bodhi repo, but does not seem to happen with a small repo I tested it with.

So, as we discussed, this is not a bug in repoSpanner, but a consequence of the fact that there's no master branch for Bodhi.
repoSpanner creates the HEAD ref by default to point to refs/heads/master, because figuring out what branch should be default is not really feasible.
Instead, repoSpanner sends a warning to the client, which the admin can fix with repospanner admin repo edit bodhi HEAD=refs/heads/develop.

Yeah I see that now - I think I'll turn this ticket into a doc issue and just document this instead. It will affect few projects since it's uncommon not to have a master branch.

I have no issue with git fetch when adding fedora's repo as a remote.


Feature suggestion: Animated backgrounds

Hey, i love this app but there is one feature i feel is missing, which is animated backgrounds.
It would be nice to be able to use webp, avif, gif or other video formats as the background. And maybe a few settings to go along with it like controlling the playback speed.

Im not good at C# but it seems like the library that cavalier is using for rendering images does not support animated pictures

Yeah I have to look into it. I believe we just use gtk to render the background, so it might be able to render the animated backgrounds.
But Cavalier will soon be rewritten in C++, so I have to see once I do that.


agent: Add sandbox level reference counter for sandbox storage

This PR adds sandbox level storage reference counter. The
first consumer of this reference counter is ephemeral type
storage
Fixes: #290
Signed-off-by: Harshal Patil<EMAIL_ADDRESS>

@bergwolf I have added a sandboxStorage struct in agent.go . For now, I have added only the path of the storage in the storage struct, let me know if you think we should have more fields in there. I  thought of adding storage mount but sandbox struct already has mounts field.
@WeiZhang555 ping.

@bergwolf @sboeuf @amshinde Thanks for your comments.

@harche it'd be great if you could fix the code coverage here as there's a 0.75% drop.

@harche Please fix code coverage and remove GetRefCount(). Then this PR is ready to be merged. Thanks for your work!

LGTM! Thanks @harche!

@WeiZhang555 please take a look at the updated PR, and merge if you're fine with it ;)

LGTM
The CI itself has some problem, I'm not sure if we should merge this without CI's guard.
Let's wait a moment to see if CI can resume.

This PR is ready to merge.
Anyone please merge this once CI is back (or without CI if we're confident enough)

Let's see if we can get the CI fixed - it is actively being looked at over on https://github.com/kata-containers/tests/pull/515.

rebased the changes onto latest in order to restart the CI.  Fingers crossed...


Set the EWMH property _NET_WM_ICON

The linux keybase client does not seem to set the EWMH property _NET_WM_ICON, which is how many applications display information about open windows:
https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472568384
It would be great if keybase started setting it, so that the keybase application window could more easily be identified.

I believe that all that needs to be done is something like this:
https://github.com/owcz/simplenote-electron/blob/e0e815bc70a3424aaade9c921509c53f0c7a071c/desktop/app.js#L48
here:
https://github.com/keybase/client/blob/194ff184d2725251ada4d59319abba9c3c41b4e1/shared/desktop/app/main-window.js#L30
I'm not super familiar with electron, or where exactly you assets are positioned, or I would make the change myself.


Static walkthrough

Add static walkthrough to the tutorial level.
Additional changes:

Add toy mouse models from Zelmore
Add new UI sprite elements (most not yet used)

To check:

Test walkthrough in Tutorial Room Scene
Fixed scoring (should now show progress bar filling correctly)
Update collectable prefabs

To fix later:

Fading does not yet work for walkthrough dialog and modal (currently immediate change).

 Cat Toy Model (Collectable)

 Connect Static walkthrough to a level


Disable progress bars

Would be nice to provide an option to disable Dask progress bars (they make log files from a non-interactive run hard to read). Seems like it is possible to unregister all that may have been registered (e.g. in monetio). Just need to implement a MM config option.

This is resolved in develop (#95).

And is now in main.


Easier to view Vars

Is your feature request related to a problem? Please describe.
If the request is really large, there is often the need to scroll down quite a bit until you can view the vars section. It currently happens when your query has lots of fragments that contain fragments etc.
Describe the solution you'd like
I can think of a few of solutions, sorted in order of difficulty and or functionality.

Make a new separate tab just for Vars
Move the vars to the top, above the query
Make it so clicking on the Copy Vars button, also jumps to the section where the vars are shown.

Also open to any other suggestions or ideas.

Fourth solution: #88

Are you working on this one @Odonno . I don't mind doing it if you haven't already started.

@warrenday Nope. You can take it. I am curious how you are going to do it. Are you planning to use headlessui or any kind of library for this?

thank you @warrenday and @Odonno


DEV: Add Heun 2, Ralston's 2, Kutta's, Heun 3, Ralston's 3

This is a resubmission of the failed pull.

@hsinjuctw Thanks for your contribution to the repository! I see you added four methods: Heun 2, Ralston's 2, Kutta's, Heun 3, Ralston's 3.
Two of them have been already added yesterday by another Pull Request: Heun 2nd order, and Ralston 3rd order. Kutta 3rd order and Ralston 3rd order are still missing. Please submit those two only and I will proceed with merging to the main branch.
Thanks!

@dcurreli I'm not sure if I'm doing the Pull Request correctly, but I've submitted another one! Thank you!

Looks good, I merged! We can close this one.


As a developer I want to create route 1A in entitiy addressTo in api.ai

i have done for this route.

Cool. Please continue your work for the other route.


Arrange videos in a bootstrap grid

Currently the videos are not positioned properly, arranging them in a bootstrap grid will make the videos section look better.

Done in pull request #32


Add more tests for Ubiquity Dollar custom smart contracts

Add more tests for:

src/ubiquistick/UbiquiStick.sol
src/ubiquistick/UbiquiStickSale.sol

File
% Lines
% Statements
% Branches
% Funcs

src/ubiquistick/UbiquiStick.sol
42.31% (11/26)
39.29% (11/28)
0.00% (0/12)
57.14% (8/14)

src/ubiquistick/UbiquiStickSale.sol
0.00% (0/13)
0.00% (0/15)
0.00% (0/6)
0.00% (0/6)

src/ubiquistick/LP.sol
src/ubiquistick/SimpleBond.sol
src/ubiquistick/UAR.sol

File
% Lines
% Statements
% Branches
% Funcs

src/ubiquistick/LP.sol
0.00% (0/1)
0.00% (0/1)
100.00% (0/0)
0.00% (0/1)

src/ubiquistick/SimpleBond.sol
84.91% (45/53)
86.44% (51/59)
44.44% (8/18)
85.71% (12/14)

src/ubiquistick/UAR.sol
0.00% (0/1)
0.00% (0/1)
100.00% (0/0)
0.00% (0/1)

src/dollar/UbiquityChef.sol
src/dollar/UbiquityFormulas.sol

File
% Lines
% Statements
% Branches
% Funcs

src/dollar/UbiquityChef.sol
88.41% (61/69)
88.16% (67/76)
61.11% (11/18)
100.00% (15/15)

src/dollar/UbiquityFormulas.sol
40.74% (11/27)
42.55% (20/47)
0.00% (0/2)
40.00% (2/5)

src/dollar/core/CreditRedemptionCalculator.sol
src/dollar/core/DollarMintExcess.sol
src/dollar/core/UbiquityCreditToken.sol

File
% Lines
% Statements
% Branches
% Funcs

src/dollar/core/CreditRedemptionCalculator.sol
0.00% (0/9)
0.00% (0/14)
0.00% (0/2)
0.00% (0/3)

src/dollar/core/DollarMintExcess.sol
0.00% (0/30)
0.00% (0/37)
0.00% (0/2)
0.00% (0/4)

src/dollar/core/UbiquityCreditToken.sol
0.00% (0/2)
0.00% (0/3)
100.00% (0/0)
0.00% (0/1)

I consolidated another similar bounty because it appears that these would need to be custom written. GitHub Copilot surely can help a ton with this!

I consolidated other similar bounties because it appears that these would need to be custom written. GitHub Copilot surely can help a ton with this!
It isn't clear to me why @rndquu grouped them the way that you did, so I preserved the grouping in my edit of the spec here. If the grouping is not significant, I suggest consolidating all of them into a single list for additional clarity.
I think we should also seek to specify a certain percentage of code coverage. I'll ask the DevPool to weigh in on this. I got one response suggesting 80%

I grouped them by small chunks of related contracts where each chunk is basically a 1 day bounty

I think we should also seek to specify a certain percentage of code coverage

ideally it should be 100%, but if some tests are hard to implement we can skip them

May I take this one?

May I take this one?

@rndquu If you have time after doing progress in other tasks that you agreed with Alex, then you can take this bounty :)

May I take this one?

@rndquu If you have time after doing progress in other tasks that you agreed with Alex, then you can take this bounty :)

Yes, I have time

0x336c033842fa316d470e820c81b742e62a0765dc

0x336c033842fa316d470e820c81b742e62a0765dc

https://etherscan.io/tx/0xf80b353a2e1856d298c9b79d061a6ab4125bbcfb976927ea63a626bdbecfbf1d
https://etherscan.io/tx/0xed778230ec778433fc0cbd6d01ff8756b869465a9defc62a2a45d2cdf6e36e3d


add run-count support in changeEntry persistence for those repeatable changeSets

Repeatable changeSets re-run updates their corresponding changeEntries in repository, thus a run-count field is helpful to record how many times a particular changeSet has been (re)applied.

run count added and feature merged to master branch


How to use this package?

It would be very helpful if you add some examples in the documentation regarding how to use this package to find some eigenvalues of a sparse matrix

Hi @archisman-panigrahi, this is actually part of this code which I wrote when taking a course. It is intended for practicing purpose and thus not for productive environment temporarily. But if you are still interested, could you check here on how it was used? Thank you!


Assign external IP and DNS name for GCP machines

What this PR does / why we need it:
Assign external IP and DNS name for GCP machines.
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #781
Optional Release Note:
Add external IPs and DNS name to .status.Addresses for the GCP machines. This fixes the issue with NodeCSRApprover controller refusing to approve CSRs for GCP worker nodes.

/retest

/retest

/hold
To prevent automatic retests, since RHEL tests are mostly like broken.

/retest

/hold cancel


HMPP support (hierarchical projects structure)

Kotlin 1.4.0 introduced HMPP. Investigate how to enable it.

Fixed with https://github.com/apollographql/apollo-kotlin/pull/4033

Available in v3.3.0.


Leaves Decaying During Fall/Winter

I use OTG with Biome Bundle for my world type and when the season changes to Autumn a ton of the leaves randomly decay for no reason. Even on normal trees that are player grown I see this happening. Why do the leaves decay, and can it be stopped?

Well, I don't use OTG anymore and I no longer see this issue. It probably has to do with all blocks suddenly updating and the game realizing that some aren't close enough to any logs.


[tool_crash] FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2

Command
flutter run

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:675:7)
#1      _File.openSync (dart:io/file_impl.dart:490:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:574:18)
#3      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:91:43)
#4      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:91:43)
#5      WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:963:57)
#6      ResidentWebRunner._updateDevFS (package:flutter_tools/src/isolated/resident_web_runner.dart:583:56)
<asynchronous suspension>
#7      ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:334:41)
<asynchronous suspension>
#8      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>

[✓] Flutter (Channel , 3.24.1, on Arch Linux 6.10.7-arch1-1, locale pt_BR.UTF-8)
    • Flutter version 3.24.1 on channel  at /usr/lib/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision archlinuxaur (unknown (arch linux aur package)), 2038-01-19 03:14:08
    • Engine revision c9b9d5780da3
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8
    • cmake version 3.30.3
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[✓] Android Studio (version 2023.3)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 79.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Arch Linux 6.10.7-arch1-1
    • Chrome (web)    • chrome • web-javascript • Google Chrome 127.0.6533.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel:
Creation framework version: archlinuxaur0000000000000000000000000000

Closing this as a duplicate of https://github.com/flutter/flutter/issues/68958

resolvi o meu problema removendo todos os arquivos e reinstalando de novo inclusive as versões de extensão para linux que tem na galeria package do arch linux remove todo o cache  e os bin depois de atualizar o meu começou a não abrir direto no linux


Payload schema is outdated

When I receive an alert from the "new" alerts in Azure, the payload properties all start with an upper case, which is not what is shown here in the docs.
Example of payload :
	"schemaId": "AzureMonitorMetricAlert",
	"data": {
		"Version": "2.0",
		"Properties": null,
		"Status": "Deactivated",
		"Context": {
			"Timestamp": "2018-09-14T14:59:22.7756225Z",
			"Id": "/subscriptions/fake-id/resourceGroups/fake-group/providers/microsoft.insights/metricAlerts/fake-name",
			"name": "fake name",
			"Description": "",
			"ConditionType": "SingleResourceMultipleMetricCriteria",
			"Severity": "1",
			"Condition": {
				"WindowSize": "PT5M",
				"AllOf": [{
					"MetricName": "Percentage CPU",
					"MetricNamespace": "Microsoft.Compute/virtualMachines",
					"Operator": "GreaterThan",
					"Threshold": "15",
					"TimeAggregation": "Average",
					"MetricValue": null,
					"Dimensions": [{
						"Name": "ResourceId",
						"Value": "fake-id"
					}]
				}]
			},
			"SubscriptionId": "fake-id",
			"ResourceGroupName": "fake-group",
			"ResourceName": "fake-name",
			"ResourceType": "Microsoft.Compute/virtualMachines",
			"ResourceId": "/subscriptions/fake-id/resourceGroups/fake-group/providers/Microsoft.Compute/virtualMachines/fake-name",
			"PortalLink": "https://portal.azure.com/#fake-link"
		}
	}
}```

---
#### Document Details

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

* ID: 7d191c7d-1448-447e-244f-2a3a775af259
* Version Independent ID: 18561191-8769-7788-37f2-b2f666f627b3
* Content: [Supported resources for newer Azure Monitor metric alerts](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-near-real-time-metric-alerts?toc=%2fazure%2fautomation%2ftoc.json#payload-schema)
* Content Source: [articles/monitoring-and-diagnostics/monitoring-near-real-time-metric-alerts.md](https://github.com/Microsoft/azure-docs/blob/master/articles/monitoring-and-diagnostics/monitoring-near-real-time-metric-alerts.md)
* Service: **azure-monitor**
* GitHub Login: @snehithm
* Microsoft Alias: **snmuvva**

Looks like I screwed up the Document Details section, sorry about that but I cannot get it to display correctly anymore

@FredFaust Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@FredFaust This shouldn't be the case. We are investigating this and will do a fix. What is in the docs is the right payload.

@FredFaust This is now fixed. You should see what is documented in the docs. Apologize for the confusion.

@snehithm What about the TimeAggregation property? In the docs it shows
"timeAggregation": "PT5M"

But I believe the value should be something like "Average"

@FredFaust This is yet another bug which we hope to get fixed. For now docs will stay as they are and when the issue is fixed, we will update the docs.

How is severity extracted from a webhook alert. Ideas?

I also notice that the severity mapping has changed, used to be severity was a string i.e "Severity": "critical", now it is a number i.e. "Severity": "0". The documentation does not reflect this;
Content Source: articles/log-analytics/log-analytics-api-alerts.md

Adding @bwren just FYI only. Per documentation here

#label:"TriagedFeb2021"

#please-close


Revert "Mass rebranding to KGB"

Reverts AbsaOSS/ohmyglb#137 .
Sorry guys. In the end no fun, no glory :)

will make it forward fix style


Hardening: Restrict cpu,memory,pids via cgroups

See comments in pam_session.py for details.
In short, uses systemd to manage settings on per-user cgroups.  Changes are applied with pam at the start of a session.  Currently only applied when a pam session is opened via sshd, but will apply to all tasks (processes) in that (user's) slice.
Resources are always fair shared across all users.  All uses (except uid 0 and 1000) also have maximums applied.
Specific settings are:

Memory:

512MB reserved for system (ie. not allocated to user.slice)
128MB max per-user (ie. per user-xxxx.slice)

Swap (more specifically, memory+swap):

Attempted but will quietly fail if swapaccount=1 is not enabled in kernel.
Same settings as Memory which effectively limits swap usage in the worst case.

CPU

10% minimum available for system - (uses cpu.shares, so % here is % of the entire system, not of a single CPU)
20% max per-user (this uses cpu.quota so 20% is 20% of a single core, but may be spread across many cores)

PID

100 max concurrent pids per user.

IO

fair shared, but no max or system reserve configured.

Important:  user crontab should be disabled to avoid easily breaking through these restrictions.  That is done by setting a default cron.allow whitelist to empty file (in ansible)

@al3xfulton @carlislemc This PR introduces a new resource restriction mechanism to the platform and it comes with some sensible default values for this repo. While the actual values in the 2018 deployment may be fine-tuned to better fit the reality (which @mikea1729 is current studying), the protection mechanism is here to stay. Can you please test this PR to see if there are showstoppers from your perspectives when you have time? Thanks!

@al3xfulton - the code looks good. Would you please make sure the web problems still run with this? (I'm guessing those will be the most memory intensive). Of course this means Bill's problem will need to run on another machine.

I will check this out this evening, I just got the bundling of the current problems working so I should be able to easily deploy them all to test.

@al3xfulton - fyi you can run systemd-cgtop to watch resource usage
separated by cgroup instead of per-process as in top/htop etc.
On Mon, Jul 30, 2018, 08:58 Alex Fulton<EMAIL_ADDRESS>wrote:

I will check this out this evening, I just got the bundling of the current
problems working so I should be able to easily deploy them all to test.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/picoCTF/picoCTF/pull/128#issuecomment-408854272, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATArmFgK_OpJ6Pcpjb0AXW8x7dYiZmL6ks5uLwMLgaJpZM4ViJZZ
.

Everything appears to be up and running correctly for the moment. I plan on being a bit more thorough with testing this evening.


Webpack not removing unused side-effect-free library from build

Bug report

I have a library file that is used by both the client and the server that contains utilities for working with routes
One utility used only by the client uses react-router-dom
What is the current behavior?
When compiling the server build webpack is correctly eliminating the dead code that uses react-router-dom but it is not removing the react-router-dom import
If the current behavior is a bug, please provide the steps to reproduce.
I believe that this is a bug because the react-router-dom library is tagged with sideEffects: false in its package.json
I have created a minimal reproduction here: https://github.com/MJez29/webpack-harmony-side-effect-evaluation
In the logs I see
    | external "react-router-dom" 42 bytes [depth 2] [dependent] [built]
    |   [no exports used]
    |   harmony side effect evaluation react-router-dom ./src/lib.js 1:0-45
    |   [inactive] harmony import specifier react-router-dom ./src/lib.js 4:9-18

What is the expected behavior?

I expect react-router-dom to be completely removed from the build output because it is not used and it is labeled as not having any side effects
Other relevant information:
webpack version:  5.92.1
Node.js version: v20.12.2
Operating System:
Additional tools:

Sorry for delay, yeah, we don't remove external side effect free modules right now, it is a feature, duplicate of https://github.com/webpack/webpack/issues/15486


Temporary assets do not appear in asset editor after changing the color palette in Horse Race game

To Reproduce
Steps to reproduce the behavior:

Go to https://arcade.makecode.com/
Scroll down to Multiplayer Games, click on "Horse Race" and then "Open in Editor"
Go to the Asset Editor and click on "Colors"
Change the color palette and click "Apply"
See the temporary assets no longer appear in the Asset Editor

Screenshots

Additional context
I have not been able to reproduce this behavior in other projects. There might be some incompatibility/conflict with the added extensions in the "Horse Race" game.

Worked through this race condition with Richard for quite a while yesterday. What's happening is that after hitting "apply" we reload the header to update the palette and then we go back to the asset editor view - but in this case, the headers aren't finished loading by the time the asset editor is open and therefore the temporary assets don't appear.
We tried adding a listener such that when the blocks project DOM is finished updating, the assets gallery will update the user assets, but it didn't fix the problem. The fields still were not being initialized.
Going forward, we will likely need to implement a data subscribe for the palette instead of calling reload header and then opening the asset editor. This approach would also close this issue of flashing to the blocks editor and back to the asset editor:  https://github.com/microsoft/pxt-arcade/issues/5496


support direct input subtitle(srt) text file

No description provided.

Do you mean RENDERING and EMBEDDING srt file to video? Have you check my repo?
For embedding srt file to video : https://github.com/botbahlul/embedsrt
For rendering srt file to video : https://github.com/botbahlul/rendersrt


feat: adds e2e test for k8s secret sync

Signed-off-by: Nilekh Chaudhari<EMAIL_ADDRESS>
Reason for Change:

This PR adds e2e test for k8s sync secrets of type tls and opaque.

Requirements

[x] squashed commits
[ ] included documentation
[x] added unit tests and e2e tests (if applicable).

Issue Fixed:

fixes: #107
Does this change contain code from or inspired by another project?

[ ] Yes
[x] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

/azp run pr-e2e-azure

Codecov Report

Merging #560 (e18a727) into master (72aa9fc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #560   +/-   ##
=======================================
  Coverage   61.49%   61.49%
=======================================
  Files           7        7
  Lines         535      535
=======================================
  Hits          329      329
  Misses        172      172
  Partials       34       34


Interactive Homepage

I am a beginner. I want to improve the overall homepage and make it good-looking and interactive for users. Adding a favicon to the website would also enhance the user experience.  I have experience with this. Please assign this issue to me.

please assign this issue to me

I believe that with my immense knowledge in UI/UX, i could bring you an attractive design. Could you please assign me this issue?

"Hi, I'm lavanya, a passionate web developer with hands-on experience in building interactive and responsive websites. I specialize in front-end technologies like HTML, CSS, JavaScript, and React, and have a keen eye for design and functionality.

please assign this issue to me


Implement TIP 0003: Subset Argument for Memory Consistency

Together with #77, this supersedes #24.

Closed by #88


UI/UX design overhaul

Hey all,
I've thought for some time that while I love FCC's content, the design (both UX and UI( could be better. For context, I used FCC about 18 months ago to learn frontend and have recommended the site to many people interested in learning programming. I recently revisited the site and noticed the potential for improvement.
I've rebuilt the site's main pages (landing page, home, curriculum, settings) in Figma (an awesome free online design tool), and you can check out the original and new designs here.
I've left content mostly the same (copywriting isn't my specialty), but have overhauled the UI and UX, particularly focusing on consistency and visual hierarchy in the UI, and for UX I've focused on improving navigation patterns within pages and helping users to get to relevant actions and information faster.
I'm happy to revise per feedback - I'm pretty new at this myself, so I know I still have a ton to learn. Very open to finding ways to do better!
Figma has a 'clone' feature where you can test whatever changes you want (much like forking a repo) - feel free to then add comments with suggestions on the original.
Look forward to hearing your thoughts!

@SamWoolerton The designs were all amazing. I think that the night mode could use a few changes. Also in the curriculum page for the topics, maybe we could use the same kind of progress bar you used to show the number of projects, challenges done.

Related issue thread: https://github.com/freeCodeCamp/freeCodeCamp/issues/16445

@SamWoolerton I love the designs that you've made,As @Nirajn2311 , the night mode could use some work, the colour of grey  isn't particularly 'night' if you get what I mean and maybe just leave this white:

The visual hierarchy is amazing! Overall I love it!

I, for one, think the design looks absolutely beautiful/functional

Our brand guidelines: https://design-style-guide.freecodecamp.org/

Thanks all for the feedback!
@Nirajn2311 Totally agree, curriculum with progress bars was actually one of the first things I tried there. I prefer the version without as it's a bit cleaner visually, but this is a good option too, and it's really nice to see progress at a glance.

@thecodingaviator yeah night mode colours are hard. Currently using background #333, cards #555, brand colour #7DB17D, text #aaa to #ddd depending on how prominent it needs to be. Let me know what your preferred colour palette would be (or better yet, clone Figma and give it a crack yourself, then share the link here)
@raisedadead cheers for the heads up, didn't realise that existed! I kept the brand font throughout, but chose to use a different brand colour - that's my personal preference to have a less dominant colour throughout the UI. I'd be happy to see the style guide updated, or to update the colours used in the design - unfazed which option we end up with.

Hi @SamWoolerton
Thanks a lot for investing your time and efforts in the UI/UX. First of all these look great! 👏
I really like the way the Challenge map looks.
I guess @QuincyLarson can attest this better but, we do have a brand tone that we adhere to.
Some pointers off the top of my head that we care about:

We have strong contrasting colors for the sake of simplicity and a11y.
The best example I can give you is of Quora (heavily inspired by their color scheme).
We think white spacing and larger font face make it really clean as well.
Finally, we also have done quite significant A/B testing on these colors.
And to stick to our simple/clean look we are not even using the full spectrum of colors.
Just these from the list:

darkgreen for primary
white for everything else
orange for call to action

I am pretty sure we can use your concepts and marry them to certain rules that we have established to achieve a really functional design.

@raisedadead Sweet as, fully get the a11y side of things. I'll aim to make some time over the weekend and play around with the colour scheme - will look to swap in the brand dark green and will test the orange.
I do think that the light gray page background with white background for content (kind of a card look) is another form of whitespace and helps to separate out content sections. Without this, the page's different sections tend to blend into each other a bit.

I given things a knock here .
@raisedadead / @QuincyLarson  I really think we should add the color #7DB17D to our styles because I've given different colours a try and none of them really seem to fit in the dark mode

@SamWoolerton First of all, thanks for taking the time to create these mock-ups and share them with us.
We get these kinds of redesign concepts often.
The main thing that informs our design is accessibility and unambiguity.
 Why haven't they changed it after all these years?
The fact is, it's fast, accessible, and it works.
This said, I think there is some room for incremental improvements in freeCodeCamp's UI, and there may be some ideas here we can incorporate.
What follows are my notes in screenshots for the sake of time and clarity (my apologies to anyone reading this with a screen reader).

Link about scrolling (a strong argument for not worrying about saving vertical space and just keeping everything single-column): https://uxmyths.com/post/654047943/myth-people-dont-scroll

@QuincyLarson Thanks for the detailed feedback, much appreciated!
There were probably 3 key UX prompts that started me on the redesign

Curriculum page dropdowns have been a pain point for me, as you can't tell if you've completed all lessons in a sub-course (say Applied CSS), without opening it and checking every lesson is green. A clear indication for if all lessons in a subcourse are complete, say green + tick, would be fantastic (also should be easy to implement)
Settings page is unbelievably long and I think the tabs concept makes it much easier to navigate (and more accessible!)
On the homepage for logged-in users, the progress bars make it easier to visualise progress at a glance.

I still think these are worth addressing, and should be doable within the existing FCC brand guidelines and current visual design. I'd be happy to look at implementing this at some point in the next month or so if you guys would accept a PR on them.
As for my proposed UI changes, happy to write those off. Once I'd made the above UX improvements I redesigned the rest in my preferred design style, thought it would be nice to have a facelift on a few things - I fully understand FCC having a focus on accessibility, and the current design clearly isn't holding you back. Unfazed either way.

Curriculum page dropdowns have been a pain point for me, as you can't tell if you've completed all lessons in a sub-course (say Applied CSS), without opening it and checking every lesson is green. A clear indication for if all lessons in a subcourse are complete, say green + tick, would be fantastic (also should be easy to implement)

Sure - we could definitely implement these to the right of the carets. Would you be interested in doing this?

Settings page is unbelievably long and I think the tabs concept makes it much easier to navigate (and more accessible!)

I don't think it's so long that it necessitates a tabbed approach. If anything we could have a "Jump to certifications" button at the top.
My philosophy has been - instead of adding more complicated interfaces, simplify the amount of elements you have to begin with. We may be able to pair back or simplify some of the content here.

On the homepage for logged-in users, the progress bars make it easier to visualise progress at a glance.

Agreed. Would you be interested in implementing these?

Once I'd made the above UX improvements I redesigned the rest in my preferred design style, thought it would be nice to have a facelift on a few things

We're open to this. We just want to make sure every change has sound reasoning behind it. We are not interested in chasing ephemeral design trends, but if they're changes that don't hurt usability, we can definitely consider them.


support-logging API do not work

Below GET and DELETE API do not work

/api/v1/logs/originServices/{{loggingService}}/{{start}}/{{end}}/{{limit}}
/api/v1/logs/logLevels/{{loggingLevel}}/{{start}}/{{end}}/{{limit}}
/api/v1/logs/logLevels/{{loggingLevel}}/originServices/{{loggingService}}/{{start}}/{{end}}/{{limit}}
/api/v1/logs/logLevels/{{loggingLevel}}/originServices/{{loggingService}}/labels/{{loggingLabel}}/{{start}}/{{end}}/{{limit}}
/api/v1/logs/logLevels/{{loggingLevel}}/originServices/{{loggingService}}/labels/{{loggingLabel}}/keywords/{{loggingKeyword}}/{{start}}/{{end}}/{{limit}}

GET API always return empty result [] , DELETE API can not delete logEntry .

I think query criteria doesn't match logEntry domain at
https://github.com/edgexfoundry/edgex-go/blob/master/support/logging/mongo.go#L65
// criteria
conditions = createConditions(conditions, "originservice", criteria.OriginServices)
conditions = createConditions(conditions, "level", criteria.LogLevels)

// domain
{
  "_id" : ObjectId("5b41d3f124aa9a0006ec9d1e"),
  "logLevel" : "WARN",
  "labels" : [ "label1", "label2" ],
  "originService" : "service1",
  "message" : "Hello, Logging Service!",
  "created" : NumberLong("1531040753529")
}

See my email

the URL of the logging service mongo.go is changed:
https://github.com/edgexfoundry/edgex-go/blob/master/internal/support/logging/mongo.go#L65

Fixed with above PR merge


Find the libdir directory of ghc at run-time

Fixes #1495
Finds the libdir directory of the appropriate ghc version at run-time.
Introduces the isCabalCradle predicate to complement the isStackCradle

[x] Documentation is missing.
[x] getProjectGhcVersion can be expressed with execProjectGhc

While it works in manual test-cases I have the following considerations:

Cradle initialisation happens in too many places. At least the one in "NotInitialized" can be skipped, imo.
We might select the wrong ghc version in certain circumstances.
I dont know what happens if the system lib dir is Nothing

@bubba thanks for fixing the tests!
PR is ready for merge, waiting for some reviews now.


No version 1.0.1 available

Hi,
Ansible Galaxy states that there are three versions of this role: 0.1.0, 0.2.0 and 1.0.1. But the last one doesn't exists. The problem is, that ansible-galaxy by default tries to fetch the highest version.
Cheers,
Max

That was fixed some time ago by adding new (greater) version...


One version for all Firebase pods

With the next major version, we plan to re-version all Firebase pods to 7.0.0 and then keep them in sync from then on.
This will align CocoaPods versioning with the Swift Package Manager, Carthage and zip distributions.
The implementation should replace all individual pod version handling and option processing with a call to the FirebaseCore pod to get the Firebase version.
Please add any comments or concerns to this thread.

@ryanwilson Should we add a public API to return the current Firebase version?


how to apply model

Dear Dr.huang,
Thank you for providing such a great package, well, i am quite new to all of this. Assumed that i got the well trained model for drug and target binding based on bindingDB database. And, i can upload like 100 drugs smiles by using dataset.read_file_target_sequence (drugs.txt),  at the same time, upload 100 targets using same dataset.read_file_target_sequence (targets.txt).   But, how to apply this to get a possible binding score of each pair?
like   "model.predict(drug,targets)"     but this returns TypeError: predict() takes 2 positional arguments but 3 were given
I am sorry for your time to look at such a silly question, but thanks a lot, anyway
Bests,
fan

for virtual screening mode, you should put target as three same protein sequence as a list, instead of just one. So
['MLGRNTWKTSAFSFLVEQMWAPLWSRSMRPGRWCSQRSCAWQTSNNTLHPLWTVPVSVPGGTRQSPINIQWRDSVYDPQLKPLRVSYEAASCLYIWNTGYLFQVEFDDATEASGISGGPLENHYRLKQFHFHWGAVNEGGSEHTVDGHAYPAELHLVHWNSVKYQNYKEAVVGENGLAVIGVFLKLGAHHQTLQRLVDILPEIKHKDARAAMRPFDPSTLLPTCWDYWTYAGSLTTPPLTESVTWIIQKEPVEVAPSQLSAFRTLLFSALGEEEKMMVNNYRPLQPLMNRKVWASFQATNEGTRS'] * 3

Thanks, one more question. Cause you choose the kd value from bindingDB as input? Normally, the lower Kd means the high affinity. What's the meaning of the binding score? Same as Kd? or they are different? What's the normal range of binding score? How big or small should consider as a good binding affinity? Thanks

Hi, yes, it is all depended on the training data. If the training data is Kd, then the inference value is all in Kd. I think in the one-liner mode, it is Kd, so lower the better. You can also transform it to pKd by setting convert_y. Note there are also a couple of models that are in IC50.

sorry to re-confirm this, by using the pre-trained model like virtual screen, the binding score was ranking from high to low, feels like, the top score equals to best affinity, why you chose that way to interpret data?


Unused positional embeddings

https://github.com/rese1f/MovieChat/blob/340bbde07f0d7fbbc8cfdfd6d7fd975d7ccc955f/MovieChat/models/moviechat.py#L309
is overwritten by
https://github.com/rese1f/MovieChat/blob/340bbde07f0d7fbbc8cfdfd6d7fd975d7ccc955f/MovieChat/models/moviechat.py#L319
Positional embeddings are expanded with p, u, and q, so the line 309 may be safely removed.

Thanks for your contribution to the code, I will fix it in the next version of MovieChat code.


Conditionally accept CSS versions of style property names

Animations would be much friendlier if they allowed background-image instead of requiring backgroundImage, etc. But I don't fancy writing that code, and I would really like to keep the number of dependencies to zero. Don't know how to square that circle.

If I'm going to make this work with CSS variables (#16), I might as well just mandate the CSS versions of property names. Will make my job a lot simpler.


Update database for 2.5 and 2.6

Just getting the database updated for the upcoming 2.6 release.
There's a couple of things left that I'll be able to do once 2.6 is out:

[x] confirm auxiliary drops from new artifact domain
[x] add new world boss
[x] use better images

@phosphene47 should be good to go now!


Cannot use prefix-specific overrides when using prefixfree

This is really more of an issue of how to correctly handle vendor-specific rendering problems, but I'm logging this issue so you're aware of this effect.
When using different vendor-spefic selectors, I can easily specify CSS attributes for different rendering engines:
-webkit-transform: rotate(15deg) rotateX(0); /* Force Chrome to render as 3D, enabling antialias */
-moz-transform: rotate(15deg);
-ms-transform: rotate(15deg);
-o-transform: rotate(15deg);
transform: rotate(15deg);

Using prefixfree, however, writing something like this:
-webkit-transform: rotate(15deg) rotateX(0);
transform: rotate(15deg);

...turns the resulting CSS on Chrome into:
-webkit-transform: rotate(15deg) rotateX(0);
-webkit-transform: rotate(15deg);

This negates the vendor-specific attribute spec and reverts it back to a non-antialiased view.
Now, I know that this could be solved by simply applying a Modernizr-like class name for specific browsers (and platforms, like IE), but the alternative would be to assign vendor-specific attributes a higher priority than unprefix ones, eg. if the rule exists prefixed in addition to the unprefixed one in source, do not transform the unprefixed one. This enables the override which would fix this issue.
Again, not sure if this is something that should be handled by prefixfree or not, just putting it out there.

I've been thinking about this issue for a while, trying to come up with different solutions.
The one I had come up was to use comments like /* don't expand / to not prefix a property or / expand */ to substitute a prefixed one with the current prefix.
I hadn't thought of the classes idea. That could be useful, although it would force you to use a separate rule, which I don't like, and it might encourage browser-specific CSS.

Well the issue here is that this case is a version-specific fix, so I'm not sure if it's the domain of prefixfree to fix it.
One possible solution would be to not expand the universal attribute if there's a vendor-specific attribute available for the currently running browser (eg. webkit will not expand the above example, while others will).

Yes, that would be ideal. But it would introduce too much complexity in the algorithm that makes the substitutions so I'm trying to avoid it. I don't want to end up having to code a full CSS parser, that would be quite slow.

For sure. Just close the issue if you think it's outside the scope of the current (or future) implementation, I'm just putting it out there in case someone else stumbles onto this issue.

I'm not closing it, cause I really want to come up with a solution for it. Just not sure which one.

I added the classes functionality you suggested, but I'm still not closing it, as that doesn't solve all issues.
For example, gradients will have different syntax once they become unprefixed and this won't solve that problem.

Why not just reverse the order of the selectors?  eg:
transform: rotate(15deg);
-webkit-transform: rotate(15deg) rotateX(0);

Yes, that's what I currently suggest people to do. But I don't like it much, as it's not future proof in most cases.

Actually using prefixed properties to bring specific css to specific browser, is actually the wrong path. If you want to apply a different transform on browsers which support transition (for example) then you should check for transition (Modernizr) and then change the transform.

@yuchi: That doesn't solve the problem at all; Chrome 14 cannot be differentiated in this manner. The specific case here being that that browser is the only one needing the additional forced 3D transform, but its capabilities match a wide variety of different browsers.
I've been thinking more about this issue – maybe I should just stick with a single transform including 3D which would render this issue moot for all browsers. Granted, all browsers would then force 3D rendering, but at least it would be consistent.

Do you mean that -webkit-transform: rotate(15deg) rotateX(0); it's an hack over Chrome 14?

It's a hack for Chrome 14 (jagged edges when rotating in 2D), but affects all webkits, yes. So far, I've been using this with positive outcomes, though it's a tradeoff between simplicity, convenience and targeting specificity.
If anyone has a better way of targeting (preferably not relying on browser sniffing), I'd love to hear it.

Specific for this example, but as the 3D transform doesn’t do anything and is only for WebKit, you could apply it to a nested element with a -webkit- prefix preventing -prefix-free from expanding it. Even an empty child span with a 3D transform will cause the parent text block to get the stronger anti-aliasing.
http://dabblet.com/gist/1569637

Yikes. Just read the chromium issue thread. Thanks for those pointers!


bug c#114: strip .enc extension suffix when decrypting attachments.

resolves https://github.com/opendatakit/central/issues/114

@lognaturel poke. should be quick.

thank you @issa-tseng and @lognaturel !


Changing swagger basepath.

Hi,
I'm having some trouble setting up swagger with resteasy. I'm also trying to package in swagger-ui in the war, by copying the contents of the swagger-ui's dist folder into my webapps folder.

web.xml
PetstoreApplication.class

Now the problem I have with this is the following, configured like this, the swagger spec is located at localhost:8080/swagger.json.
I'd like to have the swagger-ui sit at the root path and have the swagger.json be at /rest/api-docs (all other api's also start with /rest).
If I change the basepath in my application class nothing changes (the swagger.json still works at localhost:8080/swagger.json).
If I change my servlet mapping in the web.xml alongside the basepath change, the swagger-ui shows up at the root path, my rest end points work, but the swagger.json is nowhere to be found.
What am I missing here?
Thanks for the help,
Ewout.

The location of the swagger.json is not determined by the basePath configuration. The basePath points to the base path of your API.
The io.swagger.jaxrs.listing.ApiListingResource.class which you add as a resource is what exposes the swagger.json, and since it's loaded as part of your REST resources, it shares the same root as the other resources (in this case, as it seems "/").
If you want to change that, simply extend the class, add your own @Path("...") to it, and that should be hosted where you want.

Thanks, that did it.


Add dragTo funtionality between points.

point1 = ScreenPoint(pos=(23,67))
point2 = ScreenPoint(pos=(239, 88))
point1.dragTo(point2)

something like this wold be useful.
we can use the dragTo function present in pyautgui

oh okay, could you tell me which OS and python version you have?

Windowa 10 20H2 and python 3.7

@dingusagar  upon cloning it says that it cant find the module pyautoeasy as if its not installed

Okay, I am guessing it's because your current directory where pyautoeasy module is present is not added to the path where the python looks for whatever we are trying to import. This should have been taken care of usually by the IDE.
One thing you can try is to do relative imports.
for eg:
from .pyautoeasy import ScreenPoint
"." tells to look in the current directory.
If this doest work, another thing you can try is to programatically add the current directory in the python program.
for eg,
you can do something like this before importing the pyautoeasy,
import sys, os
sys.path.append('/path/to/pyautoeasy_repository)
from pyautoeasy import ScreenPoint
for reference : https://stackoverflow.com/questions/24722212/python-cant-find-module-in-the-same-folder

@dingusagar Thanks a lot, I'll give it a shot and let you know

@dingusagar Sorry man I was caught up in some personal matter so I didn't have the time to try it. I'll try to complete this as soon as I get free

Hey no worries. Take your time.

Hey, @dingusagar  I m sorry, I won't be able to continue, because of my college counselling schedule. But I would love to connect with you on any socials you have got available for future collaborations.

No worries @SaranshBaniyal . Will unassign you from this issue so that others can pick it up if interested. feel free to connect me via email or any other networks.

@dingusagar Can I take on this issue?

Thanks a lot @rajan88lal88 for the PR. Changes look good. Merging it.


Add debian 12 to create package

Additionally, allow the skip_checks flag to skip the new tag regex check

Thank you so much


Zoom and speaker notes window

Hello,
When two windows are opened (presentation and speaker notes), zoom function on any element works only on one window. I'm wondering if it a bug.
Regards,
Cédric.

I made a mistake. I have put my comment on the wrong project, sorry.


Installation Error in MAC OS

I am tryig to install ODAS in my MAC OS. But I am geting the followign error:

did you end up figuring it out? I got the same error

Yes, I have figured it out.
Check your node and npm version.

Yes, I have figured it out.
Check your node and npm version.  Try to use node v8.11.3 (which is stable for mac). and npm v5.6.0 which comes with node itself.
Then run npm install and npm start to run ODAS.


User ProfileColor can be a non-enum value

From some testing, I'm seeing that some users can have a non-enum based profile color. For example, from the following query:
{
  Media(id:1){
		recommendations(sort:RATING_DESC) {
      edges {
        node{
          rating,
          mediaRecommendation {
            id,
            idMal,
            title {
              romaji
              english
              native
              userPreferred
            },
            type,
            format,
          },
          user{
            options {
							profileColor
            }
          }
        }
      }
    }
  }
}

You will see:
"user": {
                "options": {
                  "profileColor": "#6E5DEF"
                }
              }

This may need a breaking change to handle, unless the option exists to provide a CUSTOM Enum that is a safe guard and add custom mapping logic.

I have a fix that does the mapping into a custom enum, if interested.

It might be beneficial to just return a string instead of an enum. This would be most flexible and would be minimal breaking since the enums are using string representation already.

I've changed it to your suggestion at this commit. I've tested it and it should be fixed now. Thanks!
If anything else, please create a new issue. 🙏


Timeout now configurable

Made it possible to configure the default timeout by adding an
“df-selenium-tools.properties” file next to the jar file. This file
must contain the “default.wait.timeout = ” property.
Please note this property is only read when loading the jar file to
optimise performance. When there is no file present it will revert to
the default of 30 seconds

Wouldn't a system property be much simpler? That's simpler to read and doesn't require all the file operations. Even if we would go for a properties file, I would prefer a simple load from classpath.
But my first option would be a simple system property.

Hi Wilfred,
I'll have a look at the system property approach. Hold off on the pull
request for a moment then.
Gr. Marcel
2015-11-09 15:24 GMT+01:00 Wilfred van der Deijl<EMAIL_ADDRESS>
Wouldn't a system property be much simpler? That's simpler to read and
doesn't require all the file operations. Even if we would go for a
properties file, I would prefer a simple load from classpath.
But my first option would be a simple system property.
—
Reply to this email directly or view it on GitHub
https://github.com/wvanderdeijl/adf-selenium/pull/20#issuecomment-155077541
.

Hi Wilfred,
I've updated the code to use a system property. Also I have added another component.
Greetings,
Marcel


Update changelog for v7.1.0 preview release

Updates changelog and version number
Formats driver source code for release

Codecov Report

Merging #789 into dev will decrease coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##                dev     #789      +/-   ##
============================================
- Coverage     48.24%   48.23%   -0.02%
- Complexity     2786     2789       +3
============================================
  Files           116      116
  Lines         27862    27862
  Branches       4641     4641
============================================
- Hits          13442    13438       -4
- Misses        12197    12201       +4
  Partials       2223     2223

Flag
Coverage Δ
Complexity Δ

#JDBC42
47.65% <100%> (-0.08%)
2735 <1> (-4)

#JDBC43
48.13% <100%> (-0.01%)
2786 <1> (+5)

Impacted Files
Coverage Δ
Complexity Δ

...osoft/sqlserver/jdbc/SQLServerSpatialDatatype.java
85.38% <ø> (ø)
290 <0> (ø)
:arrow_down:

...SQLServerColumnEncryptionJavaKeyStoreProvider.java
63.12% <ø> (ø)
10 <0> (ø)
:arrow_down:

...a/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
32.96% <100%> (+0.26%)
259 <0> (+3)
:arrow_up:

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
60.69% <100%> (+0.43%)
88 <1> (+1)
:arrow_up:

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
51.47% <0%> (-1.48%)
11% <0%> (-1%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
53.79% <0%> (-0.37%)
0% <0%> (ø)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.48% <0%> (-0.24%)
262% <0%> (-1%)

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
39% <0%> (+0.21%)
43% <0%> (ø)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


observability: bring back ocagent after updating to v0.0.7

Brings back the ocagent-exporter, after updating to
ocagent version v0.0.7 which uses newer dependencies of
the grpc-gateway, thus no longer needs the deprecated
"github.com/golang/protobuf/protoc-gen-go/generator"
package.
Fixes #466
Reverts #467

/assign @mikehelmick

/ok-to-test

/lgtm
/approve
I verified in the build log that the error no longer shows up.
Thanks for turning this around so fast in the upstream module!

Thank you for the review and approval, Mike!


Is the project abandoned?

I really want to see this mod on 1.20. At least just a port without new features

Nah, its only been a week since the 1.20 release and I have other mods to update as well

ok turns out I'm updating it now

Updates available on https://github.com/mrmelon54/extra_armor_info


Workaround flow bug parsing astral unicode characters

According to @mroch, "Flow is using CESU-8, not UTF-8. http://www.unicode.org/reports/tr26/ ". While this is being fixed in flow, we can easily work around it inside of prettier. The downside of this approach is that we can't convert those strings to single or double quotes anymore.

Cool, when do you think it will be fixed in Flow?

People are working on it right now, but there's a non trivial number of issues so it's likely going to take time.

The work needed to be done is basically properly supporting utf8 everywhere. Which has a ton of edge cases that need to be worked out. Babylon had it easy because it is running in JavaScript so can rely on the engine to do most of the heavy lifting.


[HW] SRIKANTA KUMAR SAHOO

Name: SRIKANTA KUMAR SAHOO
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/srikanta-sahoo-8921144/
Attach the homework screenshots below for both step II and step III:

Hey SRIKANTA KUMAR SAHOO, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/SfMzqpnkTDWAzrgly8H7ig


fixed qr-code but the option to change the URL later ?

Hi,
for example it was a qr-code created with the url:  srv01.domain.tld/partNumber
the qr-code is fix and could not be changed, may it is fixed on a device.
Is it possible that the dashboard get a option to redirect for example to: srv02.domain.tld/manuals/partNumber
so when the url: srv01.domain.tld/partNumber is accessed that the srv01.domain.tld redirect to srv02.domain.tld/spareParts/partNumber for example.
The Idea is attach a qr-code to a device
the User can scan the qr-code and the system: srv01.domain.tld
has a inventory that allows to change the URL
that a move of the server that offers the Manuals can be changed over the time
for example from:  srv01.domain.tld/partNumber
to: srv02.domain.tld/manuals/partNumber
Is this what dynamic QR Codes made ? Could not test because the DEMO System
did not allow to add or change a dynamic qr code

Yes, that's exactly what dynamic QR codes do. I invite you to follow one of the setup methods in the documentation to try the script


Length of table does not accurately reflect the split

Describe the bug
I load a Huggingface Dataset and do train_test_split. I'm expecting the underlying table for the dataset to also be split, but it's not.
Steps to reproduce the bug

Expected behavior
The expected behavior is when len(hf_dataset["train"].data) should match the length of the train split, and not be the entire unsplit dataset.
Environment info
datasets 2.10.1
python 3.10.11

As already replied by @lhoestq (private channel):

.train_test_split (as well as .shard, .select) doesn't create a new arrow table to save time and disk space. Instead, it uses an indices mapping on top of the table that locate which examples are part of train or test.

This is an optimization that we don't plan to "fix", so I'm closing this issue.


Feature/gulp server

@ouranos please review :balloon:
@cesar-tonnoir :beer:

Looks good.  Maybe add some doc in the readme?
If you want a more granular watch for later you can have a look at the mnoe Next project.

Docs added, @cesar-tonnoir this would be good to merge.. live reload :tada:

:beers: thanks @xaun and @leomao10 for your contribution!


vsphere fix authentications in case of timeouts before create or delete

Move authentications to create and delete

This will be a stop gap until better session management
// TODO finish implementing cached sessions and session management (s.SessionManager)


dub is hang on if view folder have nodejs init-ed project inside it

I develop web app. It's view-part is nodejs based. So I have in views folder nodejs project.
But when I trying to build project dub is hang on. I tried to remove content of views folder and only after it I was able to build project. It's seems that dub is trying to analyze this folder.
Just try to build it. https://ufile.io/0a9e9

The reason turned out to be that the views directory simply contains a lot of files and DUB had cubic runtime when collecting those files. The reason why it was collecting files in the "view" folder is that this folder is considered a string import folder by default. To avoid that, put stringImportPaths without arguments in dub.sdl.
I've propose a fix for DUB: https://github.com/dlang/dub/pull/1079

Fixed for DUB master.


Build error on pinpoint-agent-distribution 2.0.0-SNAPSHOT

I downloaded the latest snapshot yesterday and cannot seem to get past a build error on the pinpoint-agent-distribution.
The error was:
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:4.0.0:revision (get-the-git-infos) on project pinpoint-agent: Could not complete Mojo execution...: Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path? -> [Help 1]
I tried an edit on the pom.xml and added ${basedir}/.git and verified that directory existed.
Same error.   Any suggestions on how to get past that error?
Attached is the mvn debug log at the time of the error.
Thanks.
pinpoint-master.builderror.debug.trimed.log

@emeroad - Encountering the same failure as similar as above and build fails [INFO] pinpoint-agent-distribution ........................ FAILURE [  3.404 s]
[INFO] pinpoint-tools ..................................... SUCCESS [  1.462 s]
[INFO] pinpoint-agent-distribution ........................ FAILURE [  3.404 s]
[INFO] pinpoint-agent-it .................................. SKIPPED
[INFO] pinpoint-agent-it8 ................................. SKIPPED
[INFO] pinpoint-collector ................................. SKIPPED
[INFO] pinpoint-plugin-bom ................................ SKIPPED
[INFO] pinpoint-web ....................................... SKIPPED
[INFO] pinpoint-hbase-distribution ........................ SKIPPED
[INFO] pinpoint-hbase-schema-definition ................... SKIPPED
[INFO] pinpoint-hbase-schema .............................. SKIPPED
[INFO] pinpoint-hbase-schema-manager ...................... SKIPPED
[INFO] pinpoint-flink ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:54 min
[INFO] Finished at: 2019-12-23T17:38:49+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.1.1:single (make-distribution) on project pinpoint-agent: Execution make-distribution of goal org.apache.maven.plugins:maven-assembly-plugin:3.1.1:single failed: group id '533506962' is too big ( > 2097151 ). Use STAR or POSIX extensions to overcome this limit -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :pinpoint-agent

@dinesh4747 hi
Maven assembly-plugin “group id '1377585961' is too big” error
https://stackoverflow.com/questions/33819438/maven-assembly-plugin-group-id-1377585961-is-too-big-error
I think it's different from the first issue.
Is your build environment Mac?

$PINPONT_DIR/agent/pom.xml
<tarLongFileMode>posix</tarLongFileMode>
Please retry with posix option.


[Tool] Add -no-pie to CMAKE_EXE_LINKER_FLAGS

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[x] Tool

Which issues of this PR fixes ：
Fix a linker issue with PIE executable when running StarRocks build on gcc-11: (libhdfs.a) 'relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object
Problem Summary(Required) ：
PIE is the default for higher gcc versions. Explicitly adding "no-pie" to linker flags makes the build work on both low and high gcc versions.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

starrocks_be_unittest succeeded.

starrocks_be_unittest succeeded.

run starrocks_admit_test


Revert "Grab cluster->lock when modifying exec_env->module_inst (…

…#2685)"
This reverts commit 24c4d256b32465e2979d7d7fee358d1db6d90c90.
It has a deadlock issue like:
wasm_runtime_spawn_exec_env
wasm_cluster_spawn_exec_env (hold the lock)
wasm_runtime_instantiate_internal
wasm_instantiate
execute_post_instantiate_functions
wasm_exec_env_set_module_inst (grab the lock again)

Hi
Great catch!
Is there any small test that we can add which would detect this issue ? (in a separate PR)

Hi
Great catch! Is there any small test that we can add which would detect this issue ? (in a separate PR)

i don't have test cases. it's reported by a user.

Hi, in wasm_cluster_spawn_exec_env, seems that the cluster->lock is grabbed to check whether there is an exception was thrown and to add the new exec_env into exec_env_list, could we move wasm_runtime_instantiate_internal before grabbing the lock (instantiate first and then grab the lock) to resolve the issue?

maybe. i'm proposing a revert for now because it likely takes a bit for me to come up with a nicer fix.

Hi, I checked the calling of wasm_runtime_instantiate_internal in other two places (thread_spawn_wrapper in lib-wasi-threads and pthread_create_wrapper in lib-pthread), the cluster->lock isn't acquired in the module instantiation and it seems they work well, so I think here we don't need to grab the cluster->lock also. I believe you had thought the solution carefully when implementing the PR and it should be already a nice one, it should work for most cases except this. So I tend to not revert the PR, instead, I submitted PR  #2882 to fix it, could you help review and help ask the user to test again?
@Zzzabiyaka how do you think? You raised the issue in #2680.

Hi, in wasm_cluster_spawn_exec_env, seems that the cluster->lock is grabbed to check whether there is an exception was thrown and to add the new exec_env into exec_env_list, could we move wasm_runtime_instantiate_internal before grabbing the lock (instantiate first and then grab the lock) to resolve the issue?

maybe. i'm proposing a revert for now because it likely takes a bit for me to come up with a nicer fix.

Hi, I checked the calling of wasm_runtime_instantiate_internal in other two places (thread_spawn_wrapper in lib-wasi-threads and pthread_create_wrapper in lib-pthread), the cluster->lock isn't acquired in the module instantiation and it seems they work well, so I think here we don't need to grab the cluster->lock also. I believe you had thought the solution carefully when implementing the PR and it should be already a nice one, it should work for most cases except this. So I tend to not revert the PR, instead, I submitted PR #2882 to fix it, could you help review and help ask the user to test again?

i often prefer reverting problematic changes immediately and re-applying it later with a fix.
but after, all it's something for the project to decide.

Hi, I checked the calling of wasm_runtime_instantiate_internal in other two places (thread_spawn_wrapper in lib-wasi-threads and pthread_create_wrapper in lib-pthread), the cluster->lock isn't acquired in the module instantiation and it seems they work well, so I think here we don't need to grab the cluster->lock also. I believe you had thought the solution carefully when implementing the PR and it should be already a nice one, it should work for most cases except this. So I tend to not revert the PR, instead, I submitted PR #2882 to fix it, could you help review and help ask the user to test again?

i often prefer reverting problematic changes immediately and re-applying it later with a fix. but after all, it's something for the project to decide.

Reverting and re-applying make bigger code change, I am afraid it is not so friendly to developers, it may be better to fix the issue directly if we can. Let's merge PR #2882 to see whether things run good😊.

@Zzzabiyaka how do you think? You raised the issue in https://github.com/bytecodealliance/wasm-micro-runtime/issues/2680.

Yeah sure, fine with me


🏷 use Annotated type

Generated summary (powered by Graphite)

TL;DR
This pull request refactors the holding_portfolio function in controller.py to use Python's Annotated type hinting for better code readability and maintainability.
What changed
The holding_portfolio function's parameters investment_amount, brokerage, and trade_mode have been updated to use Annotated type hinting. This change allows us to include the typer.Option directly in the type hint, making the code cleaner and easier to understand.
Here's the diff:
-    investment_amount: float = typer.Option(..., help="The total investment amount"),
-    brokerage: BrokerageType = typer.Option(
-        BrokerageType.EBEST, help="The name of the brokerage to use"
-    ),
-    trade_mode: TradeMode = typer.Option(TradeMode.PAPER, help="The trade mode to use"),
+    investment_amount: Annotated[float, typer.Option(..., help="The total investment amount")],
+    brokerage: Annotated[
+        BrokerageType, typer.Option(help="The name of the brokerage to use")
+    ] = BrokerageType.EBEST,
+    trade_mode: Annotated[TradeMode, typer.Option(help="The trade mode to use")] = TradeMode.PAPER,

How to test
To test this change, you can run the holding_portfolio function with various parameters and ensure that it behaves as expected. The function's behavior should not have changed as a result of this refactoring.
Why make this change
This change improves the readability and maintainability of the code by making use of Python's Annotated type hinting. This allows us to include additional metadata (in this case, typer.Option) directly in the type hint, making the code cleaner and easier to understand.

Current dependencies on/for this PR:

main

PR #21

PR #22   👈

This comment was auto-generated by Graphite.

Merge Activity

Oct 7, 8:40 AM: @mingi3314 started a stack merge that includes this pull request via Graphite.


[PUI] Check user permission when viewing pages

User might not have "view" permission for a given page.
If not, redirect away, or show error message?

I would run a permission check and if it is a missing permission show an error, else log out (user might be unauthenticated).

Not stale

@SchrodingersGat we now have permission tests in PUI - is this still valid?

Yes this is still valid - we do not currently check if a user has the required permissions to view any particular page in PUI.


chore: automated PR to update VHDVersion for 202409.30.0 VHD

This is an automated PR to bump VHDVersion for the VHD release with image version 202409.30.0

tests are failing, will put in a fix

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.271%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
2590

Relevant Lines:
3634

💛  - Coveralls


Is there an easy way to temporarily disable colors? (hashtag578)

The colors are helpful but they get in the way when a terminal doesn't support it - in my case, VS Code's Python Debugger prints the color codes and makes it hard to read:
←[32m2022-01-26 12:10:13.464←[0m | ←[1mINFO    ←[0m | ←[36mapp.main←[0m:←[36m<module>←[0m:←[36m17←[0m - ←[1mmessage

Is there a simple way to disable them temporarily, eg setting an environment variable?

Great, I configured that variable in the debugger and it does exactly what I need.
Thanks for the help Delgan!


ResDiff Integration: Switch to Modulus Distributed Util

Modulus Pull Request
Description

Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[x] An issue is linked to this pull request.

Dependencies

/blossom-ci

/blossom-ci

/blossom-ci

Verified test.sh runs with these changes.

/blossom-ci

/blossom-ci

/blossom-ci


Port the Clifford and StabilizerState classes to Rust

What should we add?
This would have two benefits over the current Python code:

It may make the move of the relevant synthesis code more efficient (see issues #12232, #12233, #12234, #12235, #12236, #12237, #12241, #12242, #12243)

The rust code may be more efficient than Aer's C++ stabilizer simulator, and so it may replace it if needed

@ShellyGarion , Am I allowed to try this one?

@ShellyGarion , Am I allowed to try this one?

@MozammilQ - thanks for your suggestion, however Qiskit core team would like to start working on this first.
Could I suggest that you will choose another issue to work on ?


Pull + Bind => Ignore Consumer Lookup b/c accounts

https://github.com/nats-io/nats-architecture-and-design/issues/121

Will be addressed in simplification.


Use containerd.oci package

https://github.com/containerd/containerd/pull/1796 moved SpecOpts into a new package. This PR updates the vendoered version of containerd, and updates the code to use the new package.

/ok-to-test

/test

/retest
Seems to be something wrong with the bot.


Save-to-file in viewer needs to wait until drawing is complete

Reported by karl smith on 16 Feb 2012 18:30 UTC
With the PyQtCairo engines, a save-to-file command rapidly following a plot command (as in a script) will result in an error message indicating that it is trying to save-to-file while drawing-to-display is still happening.
With the PyQtViewer engine, a similar situation arises in that the saved drawing may not contain all the drawn elements.
If the save-to-file is done after a pause or outside the script, the save proceeds correctly.  This could be a related to ticket #1918 (update not getting triggered) or it may be that a save-to-file needs to check and wait on any drawing display in progress.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1920

Comment by andrew.wittenberg on 11 Dec 2012 21:02 UTC
Example.  The following commands work fine when issued interactively, but result in an image with lots of missing labels (TIME, DATA SET, Ferret logo) when run as a .jnl script.
set graphics/antialias high
use coads_climatology
shade/l=1 sst
frame/file=sst_1.ps

Modified by andrew.wittenberg on 11 Dec 2012 21:45 UTC

Comment by steven.c.hankin on 22 Jan 2013 19:39 UTC
I don't suppose it is as simple as getting the FRAME command to perform an "update graphics" (whatever that is -- see #1918) before trying to capture the hard copy ...

Comment by karl.smith on 22 Jan 2013 19:46 UTC
It might be.  Actually, I am hoping that is the problem.

Comment by karl.smith on 1 Feb 2013 21:23 UTC
Removed deferral of graphics updates when not at the base command level.


Wiki Content went missing

Our wiki page and section are still accessible but have empty content after we edit it. There is no deletion happened. Please help. Thank you.

@tjnicolas Could you please elaborate more on the issue you are facing? From how long are you seeing this issue?

I just experienced it yesterday.
Suddenly, all contents of 1 section went missing.
Is there a chance I can retrieve the wiki content?
From: Gousia-MSFT<EMAIL_ADDRESS>Sent: Thursday, November 7, 2019 1:14 PM
To: MicrosoftDocs/msteams-docs<EMAIL_ADDRESS>Cc: tj<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/msteams-docs] Wiki Content went missing (#1127)
@tjnicolashttps://github.com/tjnicolas Could you please elaborate more on the issue you are facing? From how long are you seeing this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/1127?email_source=notifications&email_token=ANWOPLP4CW3N34J7YPPZ2LLQSOPY7A5CNFSM4JKAGA42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDKDQ7A#issuecomment-550779004, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANWOPLLXKRO4TQMUO4XJSP3QSOPY7ANCNFSM4JKAGA4Q.

@tjnicolas I am checking this internally. Will get back to you on this. Thanks!

OK Thanks. Just in case, I have the wikiMetadata that you can reference if necessary.
From: Gousia-MSFT<EMAIL_ADDRESS>Sent: Thursday, November 7, 2019 1:24 PM
To: MicrosoftDocs/msteams-docs<EMAIL_ADDRESS>Cc: tj<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/msteams-docs] Wiki Content went missing (#1127)
@tjnicolashttps://github.com/tjnicolas I am checking this internally. Will get back to you on this. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/1127?email_source=notifications&email_token=ANWOPLITP7P24MGLWQR3XMTQSOQ7ZA5CNFSM4JKAGA42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDKHBAQ#issuecomment-550793346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANWOPLJSPLSI6CFBCU44WNDQSOQ7ZANCNFSM4JKAGA4Q.

@tjnicolas If the content was ever saved before being lost, maybe it is possible to recover the raw content from the eDiscovery portal. It is saved as a html there, so some of the formating might be lost, but that is an option to explore. Could you please check if this can help?


Run distiller on CPU

I'm trying to run the distiller on the CPU, but I'm getting a "keyerror" in the load_state_dict method. After debugging the code, I noticed that the error is in the state parameter of the method, which receives a dictionary with different name keys with each call, and when searching in that dictionary, the error happens. I already tried to execute the commands available in the README with the --cpu argument but did not get any positive results. What are the changes needed to run the master with cpu?

Hi @marcusvlc ,
Please send your exact command-line so we'll be able to recreate.
Thanks

The error is:
Log file for this run: /home/vinicius/testes/distiller/examples/classifier_compression/logs/2019.02.07-084425/2019.02.07-084425.log
==> using cifar10 dataset
=> creating resnet20_cifar model for CIFAR10

Logging to TensorBoard - remember to execute the server:

tensorboard --logdir='./logs'

=> loading checkpoint ../ssl/checkpoints/checkpoint_trained_dense.pth.tar
Checkpoint keys:
state_dict
epoch
arch
best_top1
compression_sched
optimizer
best top@1: 92.540
Log file for this run: /home/vinicius/testes/distiller/examples/classifier_compression/logs/2019.02.07-084425/2019.02.07-084425.log
Traceback (most recent call last):
File "compress_classifier.py", line 723, in
main()
File "compress_classifier.py", line 173, in main
model, compression_scheduler, start_epoch = apputils.load_checkpoint(model, chkpt_file=args.resume)
File "/home/vinicius/testes/distiller/apputils/checkpoint.py", line 97, in load_checkpoint
compression_scheduler.load_state_dict(checkpoint['compression_sched'])
File "/home/vinicius/testes/distiller/distiller/scheduler.py", line 213, in load_state_dict
masker.mask = loaded_masks[name]
KeyError: 'layer1.0.bn2.bias'

Thanks - I've recreated.
Sorry if this is delaying you - I'll try fixing in the next couple of days.
Neta

Hi @marcusvlc,
Please try this branch: https://github.com/NervanaSystems/distiller/tree/issue_148
Thanks!
Neta


Updated Win32 vcxproj: removed reference to missing cpp file; added r…

…eference to mixer_debug; resolve relative pathing to some libs to mitigate long path problems.  Also moved mixer_debug to standard public header location since it's included by interactivity.h
I found I needed these changes to get the UE plugin compiling against the latest.

Closing stale pull request.


Add ability to crop

Crop can be called like so: {{ 'image_name.jpg'|mediathumb_resize('crop', '$my_width|$my_height', $my_quality) }} e.g: {{ 'image_name.jpg'|mediathumb_resize('crop', '1200|500', 70) }}
Separate width and height with pipe (|) in quotes. It uses Intervention's "fit" as opposed to "crop" to make the best fit to the dimensions.

Hi Dobbler, thanks for your pull request. I'm a bit confused - did you open a branch "production"? The pull request wants to be made to this branch which I don't even remember opening. I was using only the master branch and nothing else (I'm not that professional in Git and Github). The problem ist, that the "production" branch seems to have been empty, so all changes made to master from the beginning are also in your pull request. Could you make the pull request to the master branch, so I can see your changes? Thanks a lot! Sebastian

Sorry, I'm not that professional in Git and Github either! I'll take a look..


EnumMember attribute ignored by StringEnumConvertor if CamelCaseText = true

Using
new JsonSerializerSettings
        {
            ContractResolver = new CamelCasePropertyNamesContractResolver(), Converters = new[] { new StringEnumConverter { CamelCaseText = true } }
        }

I get enum values converted to "camelCase" strings as expected, even though the actual enum fields in the C# definition are PascalCase.
But in some cases I need to override the default name, and normally [EnumMember(Value="UPPER_CASE_NAME")] does the trick - but not when CamelCaseText is true.
As such I wrote my own resolver that overrides WriteJson and checks for the attribute itself, but is this really the expected behaviour, and if so, is there a case for having a way of overriding it?

BTW I've confirmed this problem is still in the latest version of Json.NET - even though CamelCaseNamingStrategy has a property "OverrideSpecifiedNames" which can be set via the constructor (and defaults to false), it completely ignores this property when resolving.

Thanks for the investigation. Fixed.

Gotta love github :-)

You could just clone it? what happens if you change to a different serializer?


How can I build this library using toolchain for arm?

If the answer from @NightNightNight did not solve your problem, feel free to reopen this issue again.


add test cases for SoulSpringCloudClientConfiguration

fix #876

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #897 (3740366) into master (acbc283) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #897      +/-   ##
============================================
- Coverage     75.81%   75.68%   -0.14%
  Complexity     1828     1828
============================================
  Files           304      305       +1
  Lines          6906     6910       +4
  Branches        786      786
============================================
- Hits           5236     5230       -6
- Misses         1273     1285      +12
+ Partials        397      395       -2

Impacted Files
Coverage Δ
Complexity Δ

...soul/client/sofa/SofaServiceBeanPostProcessor.java
20.96% <0.00%> (-16.13%)
5.00% <0.00%> (-2.00%)

...pringcloud/SoulSpringCloudClientConfiguration.java
100.00% <0.00%> (ø)
4.00% <0.00%> (?%)

Continue to review full report at Codecov.

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