Please provide support for AngularJs apps

I tried using diff in one of my angular apps but it didn't work.

I installed using the command "bower install deep-diff --save".
I included the script in my index.html - ""
Last I injected it in my app as ['deep-diff']

Console gives an error - "Module 'deep-diff' is not available!"

Have you tried DeepDiff?

for me it's working, I use npm and require the module with browserify, works like a charm

check out this plunk : http://plnkr.co/edit/dIVOcs
here I tried to integrate as an angular module.
Or you can simply use  DeepDiff  directly inside your angular controllers after including
the deep-diff script in your index.html. DeepDiff is attached to the global scope and can be used
as is in angular ,but is not a good practise since you may have global scope name collisions.
Example use:
vas app = angular.module('myApp', []);
app.controller('MainCtrl', function($scope) {
var difference = DeepDiff.diff(obj1, obj2);
});

Definition of service:
(function (name) {
    'use strict';

    angular.module('myapp.shared').service(name, service);

    function service() {
        return function (left, right) {
            return DeepDiff.diff(left, right);
        };
    }

})('MyDeepDiffService');

Usage:
(function (name) {
    'use strict';

    angular.module('myapp.controller').controller(name, controller);

    controller.$inject = [ 'MyDeepDiffService' ];
    function controller(MyDeepDiffService) {
       .....
    }

})('MyController');

No issues here - see the thread. Can be imported in a script tag. Has a .noConflict feature.


Beginning of port to Spring Boot

This is just the beginning of work to clean up the codebase and move it to Spring Boot as the foundational platform.
The goal is to make the project simpler and more standard.
This PR will compile however it has many tests marked as @Ignore and ALL the functional tests disabled via commenting out the logic of the gradle task.
The intention of this PR is to allow others to begin work on this large task in parallel not to be a fully functional commit.

A good starting point to convert Metacat to Spring-boot.


Vickel: Watch hospitalhub.com.pk

Vickel requests the watch of the watch_keyword hospitalhub\.com\.pk. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

hospitalhub\.com\.pk has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Modify example output in automated-tasks-with-cron-jobs.md

This PR fixes output of kubectl get jobs --watch in following content.

https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/

NAME               COMPLETIONS   DURATION   AGE
hello-4111706356   0/1                      0s
hello-4111706356   0/1   0s    0s
hello-4111706356   1/1   5s    5s

In v1.17.0, the command outputs like the below. So, this PR adds spaces into the line to fit the column.
$ cluster/kubectl.sh version
Client Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.0-rc.1.25+39bb6d68d8e525-dirty", GitCommit:"39bb6d68d8e525fa7180e9848a2ec3a20706c504", GitTreeState:"dirty", BuildDate:"2019-12-02T09:37:33Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.0-rc.1.25+39bb6d68d8e525-dirty", GitCommit:"39bb6d68d8e525fa7180e9848a2ec3a20706c504", GitTreeState:"dirty", BuildDate:"2019-12-02T09:37:33Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}

$ cluster/kubectl.sh create -f https://k8s.io/examples/application/job/cronjob.yaml
cronjob.batch/hello created

$ cluster/kubectl.sh get jobs --watch
NAME               COMPLETIONS   DURATION   AGE
hello-1575279660   0/1                      0s
hello-1575279660   0/1           0s         0s
hello-1575279660   1/1           14s        14s

Thanks for the fix @k-toyoda-pi !!!
checked the output here: https://deploy-preview-17906--kubernetes-io-master-staging.netlify.com/docs/tasks/job/automated-tasks-with-cron-jobs/
/lgtm
/approve

@Rajakavitha1 Thank you for the review and approval!


Add basic load functionalities

-basic load functionalities
-relevant tests

Codecov Report

Merging #16 (2e6338f) into main (5aac7d9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          135       149   +14
  Branches        15        17    +2
=========================================
+ Hits           135       149   +14

Impacted Files
Coverage Δ

src/easygrid/microgrid.py
100.00% <100.00%> (ø)

src/easygrid/types.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update bw2io req for bw2=2.4.5

@cmutel bw2io pin to 0.8.12 needs to be done here too.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


utf8 bug when npm fails to install

not sure what the bad character is, but:

maybe another thing that would be "fixed" with #200


 adding Techo to profile collector

@rbreddy Do you want to continue with this PR? You can mark it as ready for review (currently a draft), there is a conflict as well to resolve.


Aeropotul Satu Mare - Logo not displayed.

Fixed logo and to fix graphic @davidmondoc change company name same as file

@DeedeeDL please retest after update


Complete implementation of weekdays early close

Completes #247 implementation of regular early closes for specific weekdays.

Adds documentation.
Adds tests.
Fixes precedence issue #253 so that if more than one description of special dates defines the same date,  time for that date will be assigned as earliest declared description.

Great work. Give me a chance to run against some external tests I have, before you merge.

@ValueRaider, if you haven't any objections I'm going merge this and cut a new release...

Go ahead with the merge, but consider #256 before a release.

@gerrymanoim, you happy for me to merge this one?

@gerrymanoim, you happy for me to merge this one?

Yep - looks great to me. Thanks for grabbing this!


How to make same RYR calendar in ANDROID

I am trying to make same as IOS , but didn't get proper information .
Please help me , Thanks in advance

You can start from this repository and work your way through the problems

I am using same repository , but facing issues when I am applying two different images on  Fly date and Fly back date.
Its only one image at one time.


Add FactoryBot/AssociationStyle cop

Recreated from the following pull request:

https://github.com/rubocop/rubocop-rspec/pull/1414

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[x] Added the new cop to config/default.yml.
[x] The cop is configured as Enabled: pending in config/default.yml.
[x] The cop documents examples of good and bad code.
[x] The tests assert both that bad code is reported and that good code is not reported.
[x] Set VersionAdded: "<<next>>" in default/config.yml.

If you have modified an existing cop's configuration options:

[ ] Set VersionChanged: "<<next>>" in config/default.yml.

lib/rubocop/cop/factory_bot/association_style.rb:174:25: C: InternalAffairs/UndefinedConfig: NonImplicitAssociationMethodNames is not defined in the configuration for FactoryBot/AssociationStyle in config/default.yml.
            (cop_config['NonImplicitAssociationMethodNames'] || [])
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Locally 🧐
$ rubocop -v
v1.50.2

Updated to the latest 1.51.0, but still the same. It seems to be a bug to me.
Green on ci, so no problem.

@ydah Are you ok with this?
We can merge and release everything we have stacked up in a minor version, as it's the last PR remaining.

Thank you, @r7kamura ! :combo: 1⃣ 2⃣ 3⃣ 🥇


new miga version not working for conda env

Hello Team,
I was using the conda version according to the tutorial to install miga in a conda environment. Since 1.3.1 or later, I always have this error when running whatever commands:
(miga) [jianshu@c391 Manganese_nature]$ time miga quality_wf --mytaxa-scan -c -t 12 -j 2 -o ./MAG_quality_miga ./MAG/*.fasta
[2023-08-27 09:09:26 -0500] Saving log to: /condo/ieg/jianshu/Manganese_nature/MAG_quality_miga/daemon/MiGA:MAG_quality_miga.output
Traceback (most recent call last):ts: 0.0% (0/2)
27: from /home/jianshu/data/miniconda3_new2/envs/miga/share/rubygems/bin/miga:23:in <main>' 	26: from /home/jianshu/data/miniconda3_new2/envs/miga/share/rubygems/bin/miga:23:in load'
25: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/bin/miga:12:in <top (required)>' 	24: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli.rb:177:in launch'
23: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action.rb:32:in launch' 	22: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/quality_wf.rb:33:in perform'
21: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/wf.rb:250:in run_daemon' 	20: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/wf.rb:237:in call_cli'
19: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli.rb:177:in launch' 	18: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action.rb:32:in launch'
17: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/daemon.rb:91:in perform' 	16: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:139:in daemon'
15: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:139:in fork' 	14: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:139:in block in daemon'
13: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:170:in launch_daemon_proc' 	12: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons.rb:198:in run_proc'
11: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons/cmdline.rb:124:in catch_exceptions' 	10: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons.rb:199:in block in run_proc'
9: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons/controller.rb:59:in run' 	 8: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons/application.rb:307:in start'
7: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons/application.rb:286:in start_proc' 	 6: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/daemons-1.4.0/lib/daemons/application.rb:277:in block in start_proc'
5: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:170:in block in launch_daemon_proc' 	 4: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/with_daemon.rb:194:in in_loop'
3: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/daemon.rb:99:in daemon_loop' 	 2: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/daemon.rb:314:in flush!'
1: from /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/daemon.rb:356:in launch_job' /condo/ieg/jianshu/miniconda3_new2/envs/miga/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/daemon.rb:356:in spawn': No such file or directory - cpus (Errno::ENOENT)
It seems there are some problems to find the daemon spawn module.
Thanks,
Best,
Jianshu

I am not sure the conda version ever worked. There are a lot of conda recipes not built by the authors of the programs, and most of these do not work.
If you want to try miga, check out the Docker version. See instructions beginning with https://miga.gitbook.io/main-1/10WEtzu06EHwzW762VwX/miga-docker/installing-docker.
John Quensen

Hello @jianshu93,
This doesn't look like an installation issue, but a configuration problem. Could you please share the file ~/.miga_daemon.json either here or privately?
One simple solution might be to re-build the daemon definition file using miga init, but please let me check the existing one first so I can track the issue down.
Thanks!
Miguel.


Remove TagHelper package reference from MVC samples as per Announcement #161

MVC Samples should react to this change
https://github.com/aspnet/Announcements/issues/161
By removing TagHelper references as this is now bought in transitively.
I was just looking at the project.json for another reason and noticed it.

Closing this as it has already been cleaned up.
src\Microsoft.AspNetCore.Mvc\project.json:27:    "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
test\Microsoft.AspNetCore.Mvc.TagHelpers.Test\project.json:10:    "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*"

The only places where it appers are the above files. This is the query that I've used:
```Get-ChildItem -Recurse project.json | select-string "Microsoft.AspNetCore.Mvc.TagHelpers"````

Right, I fixed this w/ a60cce1 -- wasn't aware an issue existed or was assigned to @javiercn.

Self-assigning since I did this trivial fix. My thanks to @javiercn for confirming I did all the projects.


developing the java component

Simple question that might be useful for others:
Because pycro-manager and micro-manager are separate repositories, how does one develop and test pycro-manager on the java side?
The Java component appears to have modules (remote and internal.zmq) that are added to the Studio.  So I assume that running micro-manager from IDE (IntelliJ) in debug mode needs to include files from both repos during compilation of the Studio.
I can add both sources to the project, but run into the following error:
java.io.FileNotFoundException: /Applications/Micro-Manager-2.0.0-gamma1-20200914/plugins (Is a directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at org.micromanager.internal.zmq.ZMQUtil.getPackagesFromJars(ZMQUtil.java:399)
	at org.micromanager.internal.zmq.ZMQServer.<init>(ZMQServer.java:75)
	at org.micromanager.internal.MMStudio.runZMQServer(MMStudio.java:941)

The Studio depends on PycroManagerJava.jar, which includes both remote  and internal.zmq packages. The only explicit call to either package is here to instantiate a ZMQ server. All other objects from these packages are generated by interacting with this server (or subsequent servers that it spawns).
So if you want to develop the Java side, that's correct, you need to include the source of these packages. In addition many of the features used by Pycromanager live in seperate repositories. Specifically NDViewer, the image display window, NDTiffStorage, the disk storage, and AcqEngJ, the acquisition engine. PycroManagerJava depends on all of these. So depending on what you're trying to do you might want to add the source for these as well.
Here is how I set everything up in IntelliJ. Under File-project structure I have a module for each one. Also shown are Magellan, which is not necessary and micromanager, which contains the studio source code and is also not necessary (i.e. you could just use MMJ_.jar instead).

Sources and dependencies are set up for pycromanager as shown:

mmLibraries contains all the Jars within the plugins/Micro-Manager folder of a micro-manager install, except for the ones that you're running from source (i.e. NDViewer, AcqEngJ, NDTiffStorage, and MMJ_, which is the compiled version of studio source code though its name may change in the future). MMCoreJ is separated out here even though it's also in this folder so that it can be separately used as a dependency for the other three libraries without having to include everything else in that folder.
NDTiffStorage and AcqEngJ are set up similarly. Their only dependency is MMCoreJ. NDViewer has an extra dependency, and has a resources folder as shown:

Lastly, you need to setup a run configuration. Here the working directory is the root of your micro-manager install:

I got everything set up as above, but launching the pycromanager or micromanager configuration does not run micro-manager (but does open ImageJ).  I've done the "command-drag-to-desktop" trick to get around OSX security, but MM still won't launch.

I would guess this a problem with either your working directory in the run configuration or the MMJ_.jar library or micro-manager studio source as added to the project.
Do you see Micro-Manager in the IamgeJ plugins menu?

Indeed I can see micro-manager in the ImageJ plugin menu.  But when I select the Studio it gives me this error (in IntelliJ console)

I added the MMJ_.jar from my nightly build installation to the mmLibraries -- then everything worked perfectly.  So clearly the problem is somewhere during my compilation of studio from source.

Ok I solved it.  My micro-manager config did not include resources as a content root.  Including resources fixed it.
Thanks for all the help!  Looking forward to contributing.

Great!


Changing versions of dependencies

In this commit @willu47 and @EmiFej have changed the versions of some dependencies within the openentrance-env. This is to allow the resultify.py script to run by using the .append method, which is no longer supported by Pandas version 2 or newer. By using pandas less than 2 (such as 1.5) one must use a Python version smaller than 3.11.
After running the snakemake workflow and specifying --use-conda in the shell command, the openentrance-env will install all dependencies. When this is completed, run:
pip install -e  git+https://github.com/openENTRANCE/openentrance.git@main#egg=openentrance
in the terminal while in the openentrance-env environment.

To this PR I also added the previous changes in solar potential, as well as the representation of solar potential in Latvia. Some rounding up of numbers which had many decimals have also been done.


update deCONZ

add aarch64 version

add armv7 version

So how would that work?

Considering the fact this file isn't changed? https://github.com/home-assistant/hassio-addons/blob/master/deconz/build.json
armv7 is added, but what is the use case? Since deCONZ is shipped for armhf. armv7 devices for Hass.io will fall back to armhf...
The aarch64 is beta... Not sure if we want to ship that, especially since Hass.io is able to fall back to armhf on (most of) those devices

Sorry I rushed this pull request this morning because I realized @pvizeli is working on the same thing. I should have put WIP into the description

@agners are fine with this?

@pvizeli after that last fix looks good to me! Thanks for picking this up!

@pvizeli I haven't seen aarch64 to become available (although 3.5 is), do I have to do something to refresh container metadata or something?

It fetches all time the best arch match on every update. So if you click on update, they should see that the new aarch64 match better and take this image

@pvizeli you are right, checked again on the device, and it indeed installed the right image: homeassistant/aarch64-addon-deconz. What confused me is that on the plugin page it still shows that aarch64 | no badge...


Make error due to zenon

I followed   procedure from Readme  and came across following build error:
dune build
File "deps/zenon/dune", lines 2-5, characters 0-108:
2 | (rule
3 |  (deps "Makefile" (source_tree "zenon-src"))
4 |  (targets zenon)
5 |  (action (run "make" "-C" "." "zenon")))
make[1]: Entering directory '/home/sten/workspace/tlapm/_build/default/deps/zenon'
TARGET_DIR=/home/sten/workspace/tlapm/_build/default/deps/zenon && cd zenon-src && ./configure -coqc : -prefix "${TARGET_DIR}/zenon-install"
make[2]: Entering directory '/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-src'
echo '(* This file is automatically generated. *)' >config.ml.tmp
echo 'let libdir = "/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-install/lib";;' >> config.ml.tmp
if ! cmp -s config.ml config.ml.tmp; then cp config.ml.tmp config.ml; fi
make[2]: Leaving directory '/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-src'
Configuration summary for zenon:
EXE=
INSTALL_BIN_DIR=/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-install/bin
INSTALL_LIB_DIR=/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-install/lib
BYT_DEBUG_FLAGS=
BIN_DEBUG_FLAGS=
SUM=sum
CONVERT=convert
GS=gs
CAMLBYT=ocamlc.opt
CAMLBIN=ocamlopt.opt
CAMLLEX=ocamllex
CAMLYACC=ocamlyacc
CAMLDEP=ocamldep
COQC=:
COQDEP=:
make -C zenon-src all
make[2]: Entering directory '/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-src'
echo '(* This file is automatically generated. *)' >config.ml.tmp
echo 'let libdir = "/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-install/lib";;' >> config.ml.tmp
if ! cmp -s config.ml config.ml.tmp; then cp config.ml.tmp config.ml; fi
make[2]: Leaving directory '/home/sten/workspace/tlapm/_build/default/deps/zenon/zenon-src'
make[1]: Leaving directory '/home/sten/workspace/tlapm/_build/default/deps/zenon'
cp: cannot create regular file 'config.ml': Permission denied
make[2]: *** [Makefile:141: config.ml] Error 1
cp: cannot create regular file 'config.ml': Permission denied
make[2]: *** [Makefile:141: config.ml] Error 1
make[1]: *** [Makefile:20: zenon] Error 2
make: *** [Makefile:34: build] Error 1

Is this an intermittent failure or does it happen every time?

Okay. Please confirm that this happens after a clean build as well.
Also please post all details of your system setup that are relevant. Err on the side of too much information as every back-and-forth we have takes up more time.

I succeded in building tlapm. This kind of error occured likely because I  had  executed also make inside zenon subdir. When I cleaned all object files from that dir build succeded. Please invalidate this issue.


Private

Hey guys,
I have the issue that i want the rp-radio to be only private for cops, EMS etc.
Do you guys know how i tried to add a item and setting has on false
but do you guys know how?

Yeah, but as police or EMS i can't join those frequency.
Is there any place inside config.lua to add job names?

use the exports


[styles] Use memoized context in StylesProvider

Closes #34603.

[x] I have followed (at least) the PR section of the contributing guide.

The failing test here seems to be because it relies on incorrect behavior (breaking the "rules of hooks"). Also, react-hot-loader has been deprecated for quite some time now. In my case, when using react-refresh, the page seems to always reload anyway when editing JSS styles, with or without this PR.

The failing test here seems to be because it relies on incorrect behavior (breaking the "rules of hooks"). Also, react-hot-loader has been deprecated for quite some time now. In my case, when using react-refresh, the page seems to always reload anyway when editing JSS styles, with or without this PR.

react-hot-loader seems to be at about 10% of react-refresh, and the latest release was two years ago, so I agree, we could drop this test. I've tested that hot module replacement works with the latest create-react-app and a vite project, so I believe we are good to go. @oliviertassinari do you have some concern with this?

do you have some concern with this?

@mnajdova Not really since we don't encourage the use of @mui/styles and react-hot-loader is legacy.


Optimize config-ui Pipelines page

Description

The page of Run New Pipeline is long, so users cannot know at a glance what they need to do.
The input box of Pipeline Name looks complicated.

The position of Advanced Mode button makes it not intuitive enough.

Describe the solution you'd like
Users can know at a glance what they need to do on a screen without having to scroll down more.
Design of the solution

Shorten the space for Data Providers section and get the Run Pipeline button seen asap.
Simplify the Pipeline Name format by moving some content out of the input box.
Move the Advanced Mode button to the beginning of Data Providers section.

will be handled in new design


Camera is always on when the Wyze exposed software power button in Wyze app is off

Not reporting a bug but trying to understand the Wyze cam behavior.
It seems that the Wyze camera is always on even when the the software power button in the Wyze app is turned off.
So the only thing that is really off is motion/sound detection and therefore any recording of it. But the camera itself is always on and seeing the world. Would that be right thing to say?

It would be nice if they put the camera in deep sleep on power off but I seem to recall measuring power in the on and off states and there was no change.


Smoothing group export

Hi,
Is it possible to export mesh with a few smoothing groups?
I've created simple scene in blender with sphere and made half of sphere with sharp edges (Edit Mode: Mesh ‣ Edges ‣ Mark Sharp). You can see more information in blender docs. See rendered example bellow:

Then I've exported glTF file with default settings and got next renderer image via glTF Extension for Visual Studio Code. Sharp edges are absent:

JFYI: I've also tied to export the scene as Collada:

It looks as expected.

Generally, it is working (this is another, similar scene):

But when I export your scene, the information gets lost. Let me check.

Okay, got it. I am setting the faces smooth, not the edges.

Okay, this should fix it:
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/d9451cd3ed30a83a73cbc0c7b7d96d854a0e0cf0

Thanks for the fix!
I've tested it on me scenes and it works but I faced with another issue. In case of I'm disabling auto smooth then time of export significantly increases. For instance: I have the scene with 71k faces (26 objects) export auto smooth takes about 5 seconds and with auto smooth takes about 15 minutes.
Could you please take a look at it? Maybe we need to create another issue?

The problem is - if auto smooth is enabled - the exporter has to scan each edge of the polygon.
I will create a ticket for this, as an enhancement.
Also, please note, that smoothing the faces has the same effect and the export should be much faster:

Issue added here:
https://github.com/KhronosGroup/glTF-Blender-Exporter/issues/26

Also, if you can share the scene, please go ahead.
If you can not chare the scene, maybe you can profile yourself, where the real bottle-neck is?
With profile_start() and profile_end() you can instrument the Python code. The result is printed out in the Blender console.

I've add some profilers in exported code and figured out that the bottle-neck is:
if blender_mesh.use_auto_smooth:
    for edge_key in blender_polygon.edge_keys:
        blender_edge = blender_mesh.edges[blender_mesh.edge_keys.index(edge_key)]

        if blender_edge.use_edge_sharp:
            use_sharp = True
            break

In case of disabled auto smooth time to convert polygon to primitive indices is 9.5367431640625e-07 seconds and with enabled auto smooth is 0.01264810562133789 seconds. So if we have scene with 2048 polygons that we get next timings:
2048 * 9.5367431640625e-07 = 0,001953125
2048 * 0.01264810562133789 = 25,9033203125

Also, please note, that smoothing the faces has the same effect and the export should be much faster

I actually use next pipeline: 3d Max -> export FBX -> Blender -> Import FBX -> Export glTF; I'm not sure that FBX accept smoothing the faces I will check it.

I added an option (not uploaded yet), where you can disable the auto smooth check.
At a later point of time, I will check, how this can be made faster.

This scene seems have incorrect normals after export. Could you take a look?

In the above two images (Blender render and my internal renderer), auto smooth is disabled. The output seems to be correct. We will have a look at it, when auto smooth is enabled. But it will be an enhancement, as you can get the same result with another approach.


Generate CSV reports for collections, by orgs

As a departmental editor I need to know which of my collections contain a significant amount of history-mode'd, or archived, content so that I can set them as 'history mode'.

[x] Code review
[ ] Product review on output (happening here)

LGTM :+1:

Very minor thing that isn't enough to block merging - if you don't specify an OUTPUT_DIR, the CSV files are generated in the app root directory. Might be better if it either defaulted to somewhere specific (tmp?) or raises an error if OUTPUT_DIR is not set. Also, rake tasks can be written to accept arguments instead of relying on an environment variable - see https://github.com/alphagov/whitehall/blob/master/lib/tasks/broken_link_reporting.rake for an example.

Thanks @tekin. I've updated the default dir to be tmp.
I'm going to leave the args as ENV variables to be consistent with the other tasks in the reporting namespace.


Sending to an ios device and lldb issue

Sorry for the somewhat vague title. If I do:
ionic run ios --device

I can't exit lldb by typing exit. I can type, but nothing happens. I have to ctrl+c and then kill the process.
Doing:
cordova run ios --device

lets me exit lldb cleanly.

I can confirm the above is correct. If you launch from within Ionic keystrokes are not being passed through to the lldb application.

same here

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


[Rating] Custom Icons

Hi,
For ratings, can we have:

Other shapes besides hearhs and stars. I need simple circles and squares
How can I specify the fill colors, say I want black hearths?

Thanks.

You can adjust fill colors and icons with css variables, but there are no variations yet that adjust this.

Would love to see this addition - Currently I'm tweaking the CSS to display trophies rather than stars,

It would be great to see that option.

Available since 2.7.0
https://fomantic-ui.com/modules/rating.html#icon


Add a generic OrderedDictionary class

Moved from corefx#26634.
Often times I've come across places when needing a Dictionary where the insertion order of the elements is important to me. Unfortunately, .NET does not currently have a generic OrderedDictionary class. We've had a non-generic OrderedDictionary class since .NET Framework 2.0 which oddly enough was when generics were added but no generic equivalent. This has forced many to roll their own solution, typically by using a combination of a List and Dictionary field resulting in the worst of both worlds in terms of performance and resulting in larger memory usage, and even worse sometimes users instead rely on implementation details of Dictionary for ordering which is quite dangerous.
Proposed API
namespace Microsoft.Collections.Extensions {
    public class OrderedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IList<KeyValuePair<TKey, TValue>>, IReadOnlyList<KeyValuePair<TKey, TValue>> {
        public struct Enumerator : IEnumerator<KeyValuePair<TKey, TValue>> {
            public KeyValuePair<TKey, TValue> Current { get; }
            public void Dispose();
            public bool MoveNext();
        }
        public sealed class KeyCollection : IList<TKey>, IReadOnlyList<TKey> {
            public struct Enumerator : IEnumerator<TKey> {
                public TKey Current { get; }
                public void Dispose();
                public bool MoveNext();
            }
            public int Count { get; }
            public TKey this[int index] { get; }
            public Enumerator GetEnumerator();
        }
        public sealed class ValueCollection : IList<TValue>, IReadOnlyList<TValue> {
            public struct Enumerator : IEnumerator<TValue> {
                public TValue Current { get; }
                public void Dispose();
                public bool MoveNext();
            }
            public int Count { get; }
            public TValue this[int index] { get; }
            public Enumerator GetEnumerator();
        }
        public OrderedDictionary();
        public OrderedDictionary(int capacity);
        public OrderedDictionary(IEqualityComparer<TKey> comparer);
        public OrderedDictionary(int capacity, IEqualityComparer<TKey> comparer);
        public OrderedDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection);
        public OrderedDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection, IEqualityComparer<TKey> comparer);
        public IEqualityComparer<TKey> Comparer { get; }
        public int Count { get; }
        public KeyCollection Keys { get; }
        public ValueCollection Values { get; }
        public TValue this[int index] { get; set; }
        public TValue this[TKey key] { get; set; }
        public void Add(TKey key, TValue value);
        public void Clear();
        public bool ContainsKey(TKey key);
        public int EnsureCapacity(int capacity);
        public Enumerator GetEnumerator();
        public TValue GetOrAdd(TKey key, TValue value);
        public TValue GetOrAdd(TKey key, Func<TValue> valueFactory);
        public int IndexOf(TKey key);
        public void Insert(int index, TKey key, TValue value);
        public void Move(int fromIndex, int toIndex);
        public void MoveRange(int fromIndex, int toIndex, int count);
        public bool Remove(TKey key);
        public bool Remove(TKey key, out TValue value);
        public void RemoveAt(int index);
        public void TrimExcess();
        public void TrimExcess(int capacity);
        public bool TryAdd(TKey key, TValue value);
        public bool TryGetValue(TKey key, out TValue value);
    }
}

Perhaps one of the reasons there was no generic OrderedDictionary added initially was due to issues with having both a key and index indexer when the key is an int. A call to the indexer would be ambiguous. Roslyn prefers the non-generic parameter so in this case the index indexer will be called. If the user needs to access elements by key they can use the explicit GetValue and SetValue methods.
API Details

Insert allows index to be equal to Count to insert the element at the end.
The key indexer will insert if needed, similar to the Dictionary indexer.
Performance will be the same as Dictionary for all operations except Remove which will necessarily be O(n). Insert and RemoveAt which aren't members of Dictionary will also be O(n).

Performance Characteristics Comparison

Operation
Dictionary<K,V>
SortedDictionary<K,V>
SortedList<K,V>
OrderedDictionary<K,V>

this[key]
O(1)
O(log n)
O(log n) or O(n)
O(1)

this[index]
n/a
n/a
n/a
O(1)

Add(key,value)
O(1)
O(log n)
O(n)
O(1)

Remove(key)
O(1)
O(log n)
O(n)
O(n)

RemoveAt(index)
n/a
n/a
n/a
O(n)

ContainsKey(key)
O(1)
O(log n)
O(log n)
O(1)

IndexOf(key)
n/a
n/a
n/a
O(1)

Insert(index,key,value)
n/a
n/a
n/a
O(n)

Space efficiency
good
worst
medium
good

Open Questions

Should the non-generic interfaces ICollection, IList, IDictionary, and IOrderedDictionary be implemented?

Updates

Added constructor overloads for IEnumerable<KeyValuePair<TKey, TValue>>.
Added ContainsValue method due to being needed for the ValueCollection.Contains method.
Proposal no longer advocates for throwing an exception when using an indexer while the key is an int.
Changed namespace for corefxlab.
Removed IDictionary<TKey, TValue> constructor overloads as they can be handled in the IEnumerable<KeyValuePair<TKey, TValue>> overload.
Removed ContainsValue method as it's being implemented in the ValueCollection.Contains method.
Made KeyCollection and ValueCollection's CopyTo method use explicit interface implementation.
Added EnsureCapacity(int capacity) and TrimExcess(int capacity) methods.
Added Move and MoveRange methods.
Added the SetAt(int, TKey, TValue) method overload.
Added ref returning methods.
Removed ref returning methods as the ref return values become invalidated when the internal array resizes.
Made KeyCollection and ValueCollection constructors internal as it doesn't seem valuable.
Added getter-only indexers to KeyCollection and ValueCollection.
Removed GetAt, GetValue, SetAt, and SetValue methods as they're unnecessary with the indexers.

I've implemented an OrderedDictionary<TKey, TValue> in my dev branch. It still needs tests and documentation but it's a start.

@TylerBrinkley as you say several mutation operations are O(n) because they keep the entries array ordered. Did you decide against a binary tree because of O(log(n)) lookup? It depends on the application of course, but if the size becomes large, mutations would be slow and allocatey.

Yes, O(1) lookups are very important to me. Most of the time for me collections are initialized and aren't modified after that point.
It would have the same performance characteristics except for remove as Dictionary which is p

@danmosemsft Hello, when this change will be available in .net core?

@MelnikovIG right now you need to get the nuget package
https://www.nuget.org/packages/Microsoft.Experimental.Collections
As with anything in corefxlab, it may go into .NET Core proper in future. It depends on things like how widely used the package is, whether we feel good about the implementation and API, whether it feels like a good fit (eg is there a reason why a package couldn't be used indefinitely)
We welcome any feedback or PR's meantime. (In a new issue)
Hope this helps.

@MelnikovIG right now you need to get the nuget package
https://www.nuget.org/packages/Microsoft.Experimental.Collections

I don't see where the documentation for this package says anything about an OrderedDictionary class. Did I miss it?
BTW, here's the code I came up with. But seems like it should be part of .NET.
public class OrderedDictionary<TKey, TValue> : IEnumerable<TValue>
{
    private readonly Dictionary<TKey, int> IndexLookup;
    private readonly List<TValue> Items;

    public OrderedDictionary()
    {
        IndexLookup = new Dictionary<TKey, int>();
        Items = new List<TValue>();
    }

    public OrderedDictionary(IEqualityComparer<TKey> comparer)
    {
        IndexLookup = new Dictionary<TKey, int>(comparer);
        Items = new List<TValue>();
    }

    public int Add(TKey key, TValue value)
    {
        int index = Items.Count;
        IndexLookup.Add(key, index);
        Items.Add(value);
        return index;
    }

    public void AddRange(IEnumerable<KeyValuePair<TKey, TValue>> collection)
    {
        foreach (var pair in collection)
            Add(pair.Key, pair.Value);
    }

    public void AddRange(OrderedDictionary<TKey, TValue> collection)
    {
        AddRange(collection.GetKeyValuePairs());
    }

    public TValue this[int index]
    {
        get => Items[index];
        set => Items[index] = value;
    }

    public TValue this[TKey key]
    {
        get => Items[IndexLookup[key]];
        set => Items[IndexLookup[key]] = value;
    }

    public bool TryGetValue(TKey key, out TValue value)
    {
        if (IndexLookup.TryGetValue(key, out int index))
        {
            value = Items[index];
            return true;
        }
        value = default;
        return false;
    }

    public void Clear()
    {
        Items.Clear();
        IndexLookup.Clear();
    }

    public int Count => Items.Count;

    public bool ContainsKey(TKey key) => IndexLookup.ContainsKey(key);

    public int IndexOf(TKey key) => IndexLookup.TryGetValue(key, out int index) ? index : -1;

    public List<TKey> Keys => new List<TKey>(IndexLookup.Keys);

    public List<TValue> Values => new List<TValue>(Items);      // Don't return original list

    public IEnumerable<KeyValuePair<TKey, TValue>> GetKeyValuePairs() => IndexLookup.Keys.Select(k => new KeyValuePair<TKey, TValue>(k, Items[IndexLookup[k]]));

    #region IEnumerable

    public IEnumerator<TValue> GetEnumerator() => Items.GetEnumerator();

    IEnumerator IEnumerable.GetEnumerator() => Items.GetEnumerator();

    #endregion

}

@SoftCircuits the OrderedDictionary is in that package. Not sure what documentation you're referring to.

@SoftCircuits the OrderedDictionary is in that package. Not sure what documentation you're referring to.

I clicked https://www.nuget.org/packages/Microsoft.Experimental.Collections and then clicked Project Site. And the documentation on that page (README.MD) says nothing about OrderedDictionary.

@SoftCircuits ah right. 😸 If you find the type useful and would like to offer a PR to fix that README.md, we'd welcome it. DictionarySlim is also in there but not mentioned in the readme.


Initial directory structure

@jdongian Review please

There's nothing here, so there's nothing to review.


Wish: Accept input from STDIN, provide output to STDOUT

Is your feature request related to a problem? Please describe.
I use swappy as a screenshot editing tool. Swappy accepts the image data on STDIN, so it's convenient to use it with grimshot, which saves screenshots to STDOUT. Together they are used like this:
  grimshot save area - | swappy -f -

Describe the solution you'd like
I'd like a variation of this to work:
grimshot save area - | squoosh | swappy -f -

squoosh seems like a natural fit to work as a Unix filter since it transforms images.
Does other service/app have this feature?
Yes, as seen above, there are other Linux tools that pass image data through STDIN and STDOUT. Another example is wl-copy:
grimshot save area - | squoosh | wl-copy --type image/png

Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), the CLI and libsquoosh packages are no longer actively maintained. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing. The squoosh.app web app will continue to be supported and improved.


L5R Ring columns fix

Changes
I made some small fixes to the CSS of the ring columns in the character sheet so they have a consistent height and bottom-padding.
Before

After

Additional comments
Additionally, I ran js-beautify (https://www.js-beautify.com/) on the CSS file.
Note that I don't have a paid account on Roll20 so I couldn't test my changes. I manually edited the CSS and HTML from the Firefox console in order to do that.

Greetings @olivier-grech ,
We actually require a Roll20 Pro account in order to submit to the repo so that changes can be tested in app using the Custom sheet. An alternative could be making a post and asking for help on the  Character Sheets forum. There are a number of helpful sheet authors who may be willing to test your changes and submit them.
Thanks,
Cassie

I understand. Then ignore my other pull requests for the moment.

@olivier-grech
Sorry for the inconvenience. I'll keep an eye on the character sheet forum for your post. This is the sort of thing I like to help with in my off work hours. These looks like quality improvements.
Thanks,
Cassie

Greetings @olivier-grech
I'm going to go ahead and close these PRs. I see Jacob is helping on the character sheet forum. He'll need to combine all the changes after testing and submit them as one pull request. :)
Thanks,
Cassie


How to print env as "rez-config package --print-env" in prior versions

This is not a issue, but I can not find a way to do this in current version. In version 1.7, we can use "rez-config package --print-env", but "--print-env" has been removed in current version, is there a way to do the same thing?

Heya, I can't remember exactly what this printed, but Rez-context should give same info and more.
A
Sent from my iPhone

On Jun 17, 2016, at 7:32 PM, hongloull<EMAIL_ADDRESS>wrote:
This is not a issue, but I can not find a way to do this in current version. In version 1.7, we can use "rez-config package --print-env", but in current "--print-env" has been removed, is there a way to do the same thing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi nerdvegas, thanks a lot and with your help, I got it(rez-context -i).


Upload manual builds for release v0.5.0.

For mac binaries:

There is not legitimate way to get an mac iso image without having a mac ....
Mac Os can not be simulated in docker.

I uploaded a manual build of v0.5.0 for Mac M1.


Fix go validation check

Fixes https://github.com/netobserv/flowlogs-pipeline/issues/461

like I said on slack, I wonder if we should keep maintaining this MIN_GO_VERSION, as it sounds the same as the built-in go.mod go version

More discussion here..will see what to do next.
https://github.com/netobserv/netobserv-ebpf-agent/pull/164


Add Feedback link

I want to add feedback link to the website so that you can have reviews from the user.
Please assign this issue to me under gssoc-extd and hacktoberfest.

@Kajalmehta29 if we create anew website you can raise this issue at that time as right now the website is static and don't have much features in it.


Init runtime metadata documentation

Fix https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/issues/34
The PR is to add the custom document for srml-metadata.
TODOs:

[ ] Add Rust reference doc

@kaichaosun My general feedback here is that this documentation does not really teach or document anything. What is the takeaway you want a user to read from this page? Why is it important to the user to read this?

Thanks for the feedback. @shawntabrizi
The issue that this PR referred is documenting the Metadata in SRML in a runtime module way, like srml-sudo, but srml-metadata is not meant to be a runtime module.

What is the takeaway you want a user to read from this page?

It takes me a lot of time to understand what metadata means in Substrate and what's the scenario to integrate with it, also how is srml-metadata used. So the takeaways for a new user to read this page is:

Understand what metadata means in Substrate.
List scenarios the user can integrate with it. For now, I only find one scenario,

Frontend uses metadata to introspect the runtime.

Why is it important to the user to read this?

Metadata and srml-metadata are important to understand how Substrate works, even it's not heavily mentioned, probably used like other functional runtime modules.
Given the importance of metadata and srml-metadata, there are not many resources around them, I try to understand it by reading the source code of Substrate and polkadot-js/api. I don't want other devs to take similar effort like me.
Substrate dev hub is not only served to teach devs to write code, another mission is to help devs understand blockchain and Substrate IMO.

I'm still groping for the way to write such documents, I was taking every effort to make it right, easy to understand, and as completable as possible, but thoughts could be wrong from me. I'm looking forward to learning more from your perspective.

@kaichaosun I think that issue is referring to writing "reference level" documentation as is done with all the other SRML modules.
Metadata is a bit different in nature since it is NOT like the other modules, and thus a new format is needed to make sense for it.
What we should really look to do here is not create a new substrate.dev page, but to go through the code and write low level documentation about what the crate provides.

I'm not clear what #34 was asking for, and I've commented as much over there.
I would prefer to see two docs emerge here.

Rustdocs in the metadata module's lib.rs in a format similar to the other srml modules
A further-from-code explanation of what metadata is and how it can be used. Examples like the js snippet in this PR, apps-ui, bonds-ui. Good formats for this doc could be a substrate.dev article, tutorial, or video walkthrough.

@JoshOrndorff I completely agree the content in #34 is totally wrong, and meant for what we were initially trying to do with SRML docs.
I will update now.

@joepetrowski Thanks for all the comments, it does help me think about what pages in the developer hub should look like.

I don't know what the point of this page is. Needs more thought into objectives, structure, and what code is useful to show.

The points/objectives of this page are:

Clear the definition of metadata and srml-metadata
Show how to use the metadata
The structure and my expression may not reach these objectives yet. Happy to discuss if you have other ideas.

In general I would say that you should not show any rust code in here. There is no reason to have it as the user will never see it. Describe how you can get the Metadata of your runtime and the general encoding. (prefixed with the metadata identifier + version). Then maybe some js example.
If someone wants to implemented a parser for language x, they need to look at the structures anyway.

@kaichaosun Because this PR was opened before we added the branch protection rules, you'll have to add another commit to trigger the build-check.

From this discussion here, we agree that we need to revisit this page and improve the content to better describe how we decode the metadata in the future.


Relayer Stops After throwing error EOF.

Relayer stopped automatically after throwing EOF error.Attached screenshot for reference.

I couldn't see the error you have described, but I have had issues with the relayers crashing on me. It happens when I am both locking up tokens on Ethereum for movement to Cosmos, and vice versa. The common thread is it is all in the "ebrelayer" executable.
I have not found a resolution yet. At the risk of exaggerating, I have found that the relayer is quite "unstable" in both the unlock and lock flows... I will be looking into resolving why the crash occurs, but am still trying to understand Cosmos better first.

https://github.com/cosmos/peggy/pull/106 addresses these issues


Issue #201: Add missing logs and documentation

Few keywords have slipped during rebase, fixing them now.
Documentation hints at Issue #270.
Signed-off-by: Vratko Polak<EMAIL_ADDRESS>

Coverage decreased (-0.06%) to 51.476% when pulling 0aa2590d35948f0a4d916cddcdeabd70c81abbae on vrpolakatcisco:contiv201_15 into 99bec2762cd57337ff7cc5bb7f8ce3e99655f794 on contiv:master.


Usage in Frontity framework (NextJs like framework for a wordpress frontend)

🔦 Context
I'm trying to create a frontend for wordpress. The frontend is based on the framework Frontity, that provides an SSR rendering for React, coupled with some webpack/babel generation. I have integrated React Spectrum, and the result is that the CSS is not rendered. I'm trying to figure out what is missing. I saw that for NextJs, there is a special configuration. Any help would be appreciated.
💻 Code Sample
To reproduce what I'm seeing, you might run the following
git clone -v git@github.com:emexal-company/emexal-website.git
cd emexal-website
git checkout 6bd7bea9a1d98286307b34483ace0795d2222edb
yarn
yarn frontity dev

Actually, everything is building OK, and I have no error message. So, I don't think it is the same issue as #1156. Also, the Frontity framework is not based on NextJs, so the integration might be different. I think the problem is mainly related to how to integrate external css files inside the project. It is described in this link, but I'm not sure how to apply it to React Spectrum.

Actually, everything is building OK, and I have no error message. So, I don't think it is the same issue as #1156. Also, the Frontity framework is not based on NextJs, so the integration might be different. I think the problem is mainly related to how to integrate external css files inside the project. It is described in this link, but I'm not sure how to apply it to React Spectrum.

So, short of trying to write your own plugin to walk all of our packages and bring the CSS up as a Global, I'm not sure how much we can actually do. It seems like it might make more sense to open an issue on Frontity to allow importing CSS.

So, short of trying to write your own plugin to walk all of our packages and bring the CSS up as a Global, I'm not sure how much we can actually do. It seems like it might make more sense to open an issue on Frontity to allow importing CSS.


Missing confirm to exit unsaved binding changes

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open https://master--toolpad.mui.com/_toolpad/app/cld06azhx0001k59tpypy3aoy/pages/mu03mbo
Select the Text element
Click on "Update value binding"
Make a change
Press Escape

Same behavior for:

custom components editor
page module editor

Current behavior 😯
No confirmation to exit.
Expected behavior 🤔
Confirmation before exiting.
Context 🔦
I lost some of my changes because of this behavior. I press escape to hide this popup:

expecting that it would hide it? But instead, it exited the binding modal. This is how I found this regression (I assume it's one). And yes, it would be great for an escape to not trigger the exit action in this case, as it does with this different popup:

Your environment 🌎
v0.0.35

Possible road to a solution: disableEscapeKeyDown on the dialog, when the monaco editor has focus, or, if possible, only when it's displaying an autocomplete menu

confirmation when the dialog closes without saving

I think that this one would be a great start since the data isn't saved in live.

I have added the "regression" label because I thought it was behaving like this before.

This dialog hasn't had a confirmation before. it's not a regression, but worthy of an integration test anyway

The binding editor also disappears when you click on the background.

the alert box was not working correctly

Can you specify more about this please?
I couldn't get some parts of the discussion because my connection has been so bad :D

Thanks! My current approach should be able to fix all of these.
But I'm also seeing if I can split the DomLoader in two separate files/concepts, because since we added undo/redo it's also handling "app state" instead of just the DOM save state.

The query editor: I should be able to press cancel in the dialog without getting the confirmation

It feels useful to me that a draft query (one that hasn't been saved for the first time yet) shows a confirmation to the user if there are unsaved changes? So I won't change anything for queries unless I misunderstood.

My reasoning would be that by pressing "cancel", the user did a conscious action to discard the unsaved work and close the editor. Unlike clicking the background, or a browser gesture, or the Esc key. So a confirmation on that specific action only adds friction in most of the cases. But it could be opinionated.

My reasoning would be that by pressing "cancel", the user did a conscious action to discard the unsaved work and close the editor. Unlike clicking the background, or a browser gesture, or the Esc key. Which may have been activated inadvertedly. So a confirmation on that specific action only adds friction in most of the cases. But this could be opinionated.

Ah, I see your point, because clicking "Cancel" is a bit more explicit than just switching to a different view or clicking the background. Ok, we can start by assuming than clicking "Cancel" is always intentional, I think that's fair.


Add "Button Label" to README

I really love your implementation! It's very useful, even if it just installed it :)
I'm not quite shure what the "Button Label" does. The README doesn't contain any information about it.

Button Label allows you to set a label on the button and has the same functionality as the default title option, although it allows me to programmatically set the title to the current entries' duration. I'll update this with the rewrite I'm currently working on.


fix(instance): rework command side for instance elements

@stebenz can we close this?

@stebenz can we close this?

Just merged back main, PR is related to #5111 , just need someone to review it.

will check it probably tomorrow


Fix typo in axios get url for farewell-workflow solution

What was changed
Fixed typo bug in axios get url for solution of farewell-workflow
Why?
This is necessary so that the workflow works.
Checklist

Closes

How was this tested:

Tested in Gitpod when running the exercises there.

Any docs updates needed?

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

Thank you for making that fix!


buefy css

let say i want to remove bulma css from buefy.css. how can i customize this?
i already have customized bulma.css and buefy.css generate big file size because it include with default bulma css.

found it on doc


Do you take donations?

This is by far my favorite mod as it actually allows me to play the game in small chunks. I just wanted to know if there is a way to send you a donation as thanks :)

Thank you. No, currently there is no way for that. Maybe I will set up something for that in the future.

Did set up a donation page: https://www.buymeacoffee.com/KingEnderBrine


Deploy to beta as well as stable

@gmcculloug Please review.  Not sure if this is the specific set we want to push to, but it's a start on the beta line.

Codecov Report

Merging #114 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   46.31%   46.31%
=======================================
  Files          61       61
  Lines         570      570
  Branches       44       44
=======================================
  Hits          264      264
  Misses        284      284
  Partials       22       22

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 31224c4...7121568. Read the comment docs.

@gmcculloug Only way to really test this is to merge and see what happens.


Update UserGuide

Coverage remained the same at 85.653% when pulling c4aeccb178e791f91083bfca8af3903647a4f3a0 on Li-Shicheng:master into fbf8cdf3b739e07105831df84f7a3ef95df20d43 on CS2103JUN2017-T4:master.

Coverage remained the same at 85.653% when pulling c4aeccb178e791f91083bfca8af3903647a4f3a0 on Li-Shicheng:master into fbf8cdf3b739e07105831df84f7a3ef95df20d43 on CS2103JUN2017-T4:master.


Error: "Share persistence queue backlog has crossed 1024"

Description
Shares and blocks not being reported to the DB (running multiple pools connecting to the same DB)
Error: "Share persistence queue backlog has crossed 1024"
Steps to Reproduce

Run the pool
See all the rigs connecting
Share persistence queue backlog has crossed 1024

Expected behavior
Shares registered for each miner, blocks registered and updating
Actual behavior
Shares/s drops down, blocks not being reported
Reproduces how often
Once the error message comes up "Share persistence queue backlog has crossed 1024"
I restart the pool and same thing happens again
Version
https://github.com/aionnetwork/aion_pool2/tree/master/aion_pool
Ubuntu 18.04 LTS"

@Knevil This would happen if the ShareRecorder cannot keep up with inserting received shares into the database. Miningcore already uses the fastest PostgreSQL batch insert strategy possible. So if that's not enough you need faster storage for your database.

Possible, did you check if MC saturates the network interface to the db server?

Resolved externally.


remove t3 from campaign page

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Re-design the landing page.

The first contact plays a very important role in a human's perception, so, the landing page should be more appealing, one idea of redesigning would be to get inspired by https://dribbble.com/shots/12163011-Online-Education-Platform but in place of the bear, to be an illustration of a persons that it's working on the laptop, or something like this.

I agree with you, a lot of pages on the website could use a redesign. I really love the dribble you sent, it's way nicer than our landing page.
However, I think this task should be handled as part of a bigger Redesign Effort, so the new landing is in sync with all (most) other pages. Create a kind of design-system that we keep using throughout the website.
Some things I'd like to achieve with a redesign:

website should be friendly, people should not be intimidated to start progamming
custom illustrations (if possible) so we don't look like any other website. That's why if you look at the lessons, all the covers are "hand drawn" by us.

Coming back to the landing page, what do you think it's missing right now? Is it clear what we do, or should we add some more info? Maybe the login/register buttons right there? I'm asking because maybe we can tackle some small things first, before a full redesign.

Make sure to add Link to the "Resources" page


Fix image download within Grafana

Something about having Plotly inside of Grafana is causing issues trying to download an image of the graph:

I think the URL it generates is not matching the domain, or something along those lines.
I re-wrote the file download using the same library that Plotly uses and got it to work. I had to add a custom modebar button that looks exactly the same as the built-in one. Now when you click the download button, it will directly download it to the file system instead of redirecting the browser. It will also use the panel's title as the filename and match the width/height of the panel.

@jacksongoode Yes, we had to add a custom button to the modebar that uses the file-saver package to perform the download.

Great, it seems like the same method work's for our plugin as well! Thanks for open-sourcing :)!


rust-{lib-}src: deprecate phases

Motivation for this change
#28910
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

we could add dontFixup = true; to be certain.

we could add dontFixup = true; to be certain.

fixupPhase was just an example, stdenv runs several phases.  Probably easier to rewrite these as a runCommand than explicitly disabling the phases.

you prefer it this way?

Either:

use stdenv and disable the phases that are newly enabled.
use runCommand and manually unpack the source.

@Stunkymonkey Neither of these build with the current change, are you testing these at all?

Still doesn't build ... I don't understand why you aren't testing it first before pushing changes?

Sorry, I was just very tired yesterday. I will continue on the weekend.

If you prefer I could do this myself but I probably won't get to it for a couple of weeks.

i just ran nixpkgs-review rev HEAD and it worked, but I think the rust-src.nix is not tested.

... rust-src.nix is not tested.

Yeah, with the way these packages work nixpkgs-review doesn't really help, I'll check them manually in a day or two.

did you test it yet?

Sorry for the delay.


Issue using xcode iPhone simulator with new M1 chipset

Describe the bug
Attempting to use iPhone simulator using xcode using an M1 Mac Mini gives the following error:
[PROJECTPATH]/ios/App/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_a8eeba373b74508311b8b22b8d3202a6.o), building for iOS Simulator, but linking in object file built for iOS, file '[PROJECTPATH]/ios/App/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture arm64
I have found this - https://github.com/firebase/firebase-ios-sdk/issues/6520 which may be of some help, but I'm not knowledgeable about any ios stuff at all

I don't have any idea 😅 but maybe this helps: https://stackoverflow.com/questions/64171400/xcode-12-firanalyticsconnector-build-error/64183786#64183786

I don't have any idea 😅 but maybe this helps: https://stackoverflow.com/questions/64171400/xcode-12-firanalyticsconnector-build-error/64183786#64183786

I don't have any idea 😅 but maybe this helps: https://stackoverflow.com/questions/64171400/xcode-12-firanalyticsconnector-build-error/64183786#64183786

sadly this brings other issues for me :( (css of the app doesn't load etc). I guess I'll have to wait for a fix

I don't have any idea 😅 but maybe this helps: https://stackoverflow.com/questions/64171400/xcode-12-firanalyticsconnector-build-error/64183786#64183786

sadly this brings other issues for me :( (css of the app doesn't load etc). I guess I'll have to wait for a fix

This is not an issue with capacitor-community/firebase-analytics, please see https://github.com/firebase/firebase-ios-sdk/issues/6520 for workarounds and discussion of fixes in later versions of FirebaseAnalytics for ios.


Fix brevent

Please help me brevent about error Retrieving process status, just a moment. .

Its a brevent bug

Its a brevent bug

And how fix it??


Implement Abstract Nav

Parent (merge first): #40
Description
This pull request implements a reusable NavBar that follows the template provided in the prototype.
Screenshots:

@RafaelPiloto10 I have updated the nav bar implementation. Let me know if there's anything not clear.

@DDavid233, nice job! everything looks good

All the comments I had for this were the same I had for #56. Not sure if either of them were reliant on eachother


Allow setting parameters on disconnected cameras

Currently, when setting parameters the camera checks if it is connected and simply drops the values if it is not (with the idea that if we cannot set the values on the camera then we cannot do anything).
This PR now saves the values to cache if the camera is disconnected so that upon a reconnect, the values will be applied.

As with #159 I will test this on Monday


Galleria: Load first image earlier

Galleria triggers loading of the main gallery iamge via javascript
which has two problems. It only triggers the load when javascript
has been processed and loads it at the same time as the second and
third image which means it's competing with background images for
bandwidth. We know that the first image will always be seen, so
trigger a load in the document rather than waiting for js to do it.
Comparison (this patch is the only difference between the two runs): https://webpagetest.org/video/compare.php?tests=180303_KS_87bf0854a5a346d90d71fad871ae423c,180302_9A_ff950fed21454ed20fd5e9750d3157ca

I agree it would be useful to optimize the page loading for albums with many images, but your solution sounds too hacky and I think we could get better results with galleria loading JSON data:
https://docs.galleria.io/article/18-quick-start
It should not be too difficult to modify the current template to produce the list of images in JSON format, and then I think galleria can also load the images lazily which would be great.

Loading an asset in a hidden div, or a suppressed element is an established method for prioritised loading without javascript. It’s inelegant, to be sure, but until preload gets wider support, I don’t think there’s a nicer way.
I’ve done a quick prototype of json loading with lazy loading of thumbnails: https://github.com/edwinsteele/sigal/commit/552db1e172cdafed7f5d17d83b9d3cad1bf331b6
From that I can see that json+lazyload does delay the thumbnail loading, so does reduce contention however the image loading only begins after js has been loaded and even then it triggers a download of the first 3 images in parallel.
I think the json work will give a win, and I think this will give us an improvement too. Is it possible to get this in? I’ll followup with the json work.

Yes, the json approach seems actually much cleaner, it would be great to get this if you are ready to finalize your patch (which seems already quite good).

I’ve opened #312 for the switch to json. Are you happy to merge this too? I would prefer to use this solution for loading the first image earlier, but I can rebase with the (less supported) preload tag if you feel strongly about it.

preload seems to have poor support currently, sadly, so I guess we could integrate this for some time. Does it make a big difference even with the json method ?

Yes, it still makes quite a difference. On my test I saw the json branch have the first image loaded after 1.3s compared to 0.7s with json + this patch. I would also like to move to preload once there’s more support. I’ll make a note to look at preload support in 6 months for review.
https://webpagetest.org/video/compare.php?tests=180311_D6_5fd54c4fc9e1b198f6c89000963fa9c9,180311_3H_8c3a4271a573410657849a86e517b7b4

Ok, let's go with this for now, thanks.


HAWQ-621. Fixing tuple descriptor leak in split_rows during an ALTER TABLE SPLIT PARTITION.

During split_rows, we may create new tuple table slot inside reconstructMatchingTupleSlot() if the descriptor of the new target relation does not match the source relation. We then cache this slot inside the target relation's ri_resultSlot. This process pins the tuple descriptor of the new target relation. However, at the end of split_rows, when we are finished with this "cached" tuple table slot, we don't free them. This results in a WARNING that we leaked a tuple descriptor.
Solution:
Following the call path of split_rows, the method split_rows() is only called from
split_rows(Relation, Relation, Relation) : void
	ATPExecPartSplit(Relation *, AlterPartitionCmd *) : void
		ATExecCmd(List * *, AlteredTableInfo *, Relation *, AlterTableCmd *) : void
			ATPExecPartAlter(List * *, AlteredTableInfo *, Relation, AlterPartitionCmd *) : void
			ATRewriteCatalogs(List * *) : void

By the time we call split_rows, we know precisely the two relation where we will be inserting into. We create ResultRelInfo for both of these relations (the two target relations) at the beginning of split_rows(), called rria, and rrib. Both of these ResultRelInfo only have lifespan of the containing method split_rows(). We use the ri_resultSlot of these two rria and rrib to cache the TupleTableSlot inside reconstructMatchingTupleSlot() where we create additional TupleTableSlot using the tuple descriptors of the two target relations, therefore pinning these two target relation's TupleDesc. As the rria and rrib only live during split_rows() and only used for all the tuples in ONE CALL of split_rows(), we can easily drop the additional TupleTableSlot ri_resultSlot of both rria and rrib, and that will also unpin underlying TupleDesc.

Looks fine. +1.

@foyzur , merged into master branch. please close this PR. Thank.

@foyzur could you close this PR. thank!


Cannot use whereBetween

Hi,
i cannot use whereBetween in laravel
CODE:
$hitting_time = $date->format('H:i:s');
$hitting_time_plus = strtotime($hitting_time) + 900; // 1560 = 900
$hitting_time_minus = strtotime($hitting_time) - 900; // 1560 = 900
$is_founded = Task_answers::where('question_id', '==', $val->id)
->whereBetween('reading_time',[$hitting_time_minus, $hitting_time_plus])
->where('date', '==', $hitting_date)
->first();

It looks like there was a syntax issue with whereBetween. This has been resolved in v0.1.1. Please update to the latest version and let me know if you continue to experience issues.


Firewall windows show every time test is run

Instructions
Prevent firewall windows from bombarding the user while running tests.  They appear every time a test runs and eventually (at least on mac) the whole screen is full of them with a large test suite.
Problem
Firewall windows show every test run
Steps to Reproduce
Run any test
Acceptance Criteria
Firewall windows don't show

Fix has been merged to emulator and will be available in newest version


feat: Add Mitre Techniques mapping section

CYS-2935

Could you add the steps or a link to the steps on how to update the T&Ts in the readme, please?


lnrpc+sweep: properly remove any unconfirmed descendant chains a to-be-swept input is spent

In this PR, we address issue #6241 by ensuring that if someone sweeps an anchor output of ours after 16 blocks, then we recursively remove any transactions descendant from the set of outputs created by our sweep attempt. Along the way, we add a new LockedBalance output to the WalletBalance command that allows users to keep track of teh total sum of locked outputs more easily. Anytime we do a funding attempt, the outputs get locked, so if a user has a funding transaction that was invalidated by an input double spend, those funds would show as missing until the lease expired.
One quirk with the current solution is that end up cross checking every transaction the sweeper has ever published. This is due to the fact that right now the sweeper's store doesn't remove any prior sweeps even once they're confirmed. If we just looked at the last published sweep, then it's possible that we'd miss a set of relevant transactions.
The methods use in this PR can likely be used elsewhere to remove any weird transactions from the ListTransactions output.
TODO Items

[x]  Write integration test reproducing the issue to show solution resolves issue
[ ] Look into deleting past "well confirmed" sweeps to prune database state (just 32 bytes per element so not thaaat much data)

I'm a bit worried about reorgs. What if the foreign tx that steals my anchor is confirmed, your new code removes a bunch of outputs, but then there's a new block that un-confirms the foreign transaction?

Great question! I have a TODO there about only doing this after a certain "epoch", which would be an interval N blocks after the conflicting transaction confirms. Even w/o this, you'd have those issues when spending unconfirmed change for a funding input as anything can happen until confirmation.
So there's a bit of a tradeoff here: do we do this as soon as we see a conflicting confirmation, which can allow us to immediately free up those outputs, or do we wait for 12 blocks (or w/e) and then do this, which ends up leaving your transaction state (assuming unconfirmed outputs) in a weird state for a longer period of time? I think the change to start showing the leased/locked UTOXs in WalletBalance will make these scenarios easier to account for, as you'd be able to make sure all funds are safu even when weird stuff happens.

@carlakc: review reminder

Ok I added ain integration test that does the following:

Open channel between Alice and Bob
Force close the channel
Use custom block generation to mine only the commitment transaction (Alice's anchor sweep is in the mempool at this point)
Have Alice spend the unconfirmed anchor sweep output into a random address (it's the miner's address)
Mine 16 empty blocks (so the anchor is up for grabs)
Make a custom spend to sweep the anchor output using the csv path
Restart Alice, wait for her to detect what happened
Assert that neither the original anchor sweep, nor the transaction that spent the sweep to another addr is found in Alice's wallet

With that, we've confirmed the scenario as well as the fix. The final thing I think we need to address is @C-Otto's point to either wait a few blocks until we remove the transactions, or do it immediately so the wallet UTXO state is correct sooner.

It's worth noting that this fix won't remove the now invalid pending channel, but will ensure that those outputs are now free from the wallet's PoV. The pending channel fix is here: #5567.

PTAL! All review comments addressed. I'll pull out that sweeper garbage collection question to a new issue, as it isn't 100% critical we do so, but depending on how frequent operations like this happen, will make the conflict removal process more efficient (as there're be less transactions we need to scan).

Github Actions is having sone issues, but I've run the itests+lint locally and confirmed they all pass. Given nothing major changd on this PR since the last run (just adding some newlines mainly), I think this can land.


Add fmt command

This add terraform fmt command with default --show-diff and --check options by default, which will simply fail the task is code is not formatted appropriately.

@charleszipp LGTM. If you're ok with this one, we can merge it I guess?

@favoretti LGTM as well. Will push release in the morning.


Separate page rendering for each answer submission result

Currently, only submit page is rendered after answer submission.
The case should be separated as follows:

when submission is blocked, render, say, submit-blocked page.
when answer is incorrect, submit-incorrect page.
when correct, submit-correct page.

This issue is closed; left unimplemented. Dividing render pages may cause duplicate codes.


Create general slider controller for map and graphs

At the moment the map has a time slider created with SliderControl.js (https://github.com/dwilhelm89/LeafletSlider/blob/master/SliderControl.js) that is anyway bound to the map and has some limitations.
Aim of the issue is to create an indipendent slider with ticks and range as wide as current filtering under the second map; the slider should work as a controller for the map (moving its slider) and the graphs (showing a vertical line)

Solved with https://github.com/informatici/survethi-monitoring-tool/commit/934b5b5e2651b2618d9d205950c8cddcb916030c


[mariadb] update description and LTS

MariaDB's release model has changed since this was originally written.
The current description is from
https://mariadb.org/new-innovation-release-model/.
The fork from MySQL happened many years ago so emphasise the new development.

Thank you.


Accesing Stylistic Sets

Consider the following MnWE:
\documentclass{scrartcl}
\usepackage{unicode-math}
\setmathfont{MinionPro-It}[range={scr,bfscr,cal,bfcal},StylisticSet={1}]

\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{equation}%
\mathscr{AB} = \mathcal{AB}AB
\end{equation}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}

While the output is set in Minion Pro, the swashes are not used. This worked until recently. I have an up-to-date MikTex. Is there a possibility to access the swashes?
E: also on stackexchange:
http://tex.stackexchange.com/questions/269064/accesing-stylistic-sets-with-unicode-math

Are you using XeLaTeX or LuaLaTeX? I can't guarantee a quick fix I'm afraid... Does the log file provide any information about what features are selected (or not) with the font?

LuaLaTeX 0.80.0.
See the log @ http://pastebin.com/uZ4HKnV4

Commenting here rather than posting a duplicate bug, but I get this too. The problem occurs in LuaLaTeX but not XeLaTeX.
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\setmathfont[range=cal,Contextuals=Swash]{Minion Pro Italic}

\begin{document}
$\mathcal{F}^{-1}\{i\mathbfit{k} \mathcal{F}\{\psi\}\} = \mathbfup{\nabla}\psi$
\end{document}

LuLaTeX beta-0.80.0:

XeLaTex 3.14159265-2.6-0.99992:

I can't use XeLaTeX due to to other bugs, so for the moment I'm using this workaround:
\documentclass{article}
\usepackage{unicode-math}

\usepackage{mathtools}
\newfontface\swash[Contextuals=Swash]{Minion Pro Italic}
\renewcommand\mathcal[1]{\mathmbox{\textrm{\swash #1}}}

\begin{document}
$\mathcal{F}^{-1}\{i\mathbfit{k} \mathcal{F}\{\psi\}\} = \mathbfup{\nabla}\psi$
\end{document}

Which defines a text font face and overrides \mathcal to use it in math mode (the mathmbox is required for sensible alignment with superscripts etc). It only works for one character at a time this way though, since using swashed contextuals on text mode only applies to initial and final characters in a word.


pass username to webchat

fixes #1350
Fixed

[client] Pass along user name to webchat in PR #1353

Pull Request Test Coverage Report for Build 2159

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 54.967%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/app/client/src/ui/editor/emulator/parts/chat/chatContainer.ts
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

packages/app/client/src/ui/editor/emulator/parts/chat/chat.tsx
2
85.42%

Totals

Change from base Build 2149:
0.0%

Covered Lines:
4866

Relevant Lines:
8314

💛  - Coveralls


Overwrite styles from the outside

Imagine a title
const StyledTitle = styled('div')`
  color: cornflowerblue;
`;

that is used in a template and exported as a component Title:
<template>
  <StyledTitle>
    I am a title
  </StyledTitle>
</template>

Now, when overwriting the StyledTitle, it works as expected. It's color changes from blue to red:
const OverwrittenStyledTitle = styled(StyledTitle)`
  color: crimson;
`;

Although when overwriting the Title, it keeps it's original blue color and does not become green:
const OverwrittenTitle = styled(Title)`
  color: forestgreen;
`;

Is this expected behavior? In such instances, is it the "correct" approach to style via props (e.g. a prop type: 'main' | 'secondary, ...). Or is this a bug?
Also, I am not sure if this is related to either vue-emotion or emotion. So pardon me if this has nothing to do with vue-emotion.
Thank you for your time :)

I believe you need to use https://github.com/emotion-js/emotion/tree/master/packages/babel-plugin-emotion to target another emotion component, sadly we haven't managed to get this working with vue-emotion

By any chance, did anyone of you find a way to properly apply style overrides to the Title component? 🙏 😇


About the speed influenced by the NVlink

How can I use  accelerate  when my GPUs are not linked with NVlink ? I have seen the same problem in the Issues, does that mean the speed may be slower when the GPUs are not linked with NVlink? Is there any solution to slove it?

Please use the forums for questions like this as we keep issues for bugs and feature requests only.
Accelerate is just a wrapper around PyTorch distributed, it's not doing anything different behind the scenes. So the same limitations apply and in particular, without an NVLink, you will get slower speed indeed.


test: remove no longer relevant test assertions

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10454 (bea0b48) into master (ae11bf1) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10454   +/-   ##
=======================================
  Coverage   46.67%   46.67%
=======================================
  Files         713      713
  Lines       35361    35361
  Branches     7162     7162
=======================================
+ Hits        16503    16504    +1
+ Misses      17054    17053    -1
  Partials     1804     1804

Impacted Files
Coverage Δ

...li/src/domain/amplify-usageData/getUsageDataUrl.ts
100.00% <0.00%> (+12.50%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


PEF implementation and related functions

This is to insert the Pseudo Earth Fixed (PEF) coordinate frame in the common frames.
It can be obtained by rotating the TOD frame about its Z axis (along the true equatorial plane) by Greenwich Apparent Sidereal Time (GAST). The detailed transformation is:

where 𝑆 is the rotation due to sidereal motion and 𝝎 is the true Earth rotation vector.
Linked to resolution of #29.

[ ] Implement transformation in Orient
[ ] Implement convenience method in Frames

Implemented and tested in https://github.com/JuliaSpaceMissionDesign/FrameTransformations.jl/commit/62ecd2a0d41accab7730f93abbf47341541a332f


cURL: make "copy headers" button actually copy headers

Description
I noticed the "Copy Headers" button does not actually copy headers, but rather acts like a second "Copy Response" button. I went ahead and fixed it so it actually copies the headers.
Screencast
N/A
Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Thanks for the update @lumap 🔥
Could you add an entry in the CHANGELOG.md file? Here's our guidelines about that: Version History.

added it 👍


semver vulnerable to Regular Expression Denial of Service

Our Dependabot scans have raised the below (this is the case for 5.0.3 as well)

Dependabot cannot update semver to a non-vulnerable version
The latest possible version that can be installed is 5.7.1 because of the following conflicting dependencies:
<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>via a transitive dependency on<EMAIL_ADDRESS><EMAIL_ADDRESS>requires<EMAIL_ADDRESS>via a transitive dependency on<EMAIL_ADDRESS>No patched version available for semver
The earliest fixed version is 7.5.2.

There is an open PR for a fix for nodemon - https://github.com/remy/nodemon/pull/2118
simple-update-notifier has fix in release v2.0.0 - https://github.com/alexbrazier/simple-update-notifier/releases/tag/v2.0.0
See https://nvd.nist.gov/vuln/detail/CVE-2022-25883

nodemon has now been updated, but as far as I can tell, it is govuk-prototype-kit that has a decency on nodemon; govuk-prototype-components lists this as an optional dependency.
So, I think, once govuk-prototype-kit has been updated to use nodemon 3.0.0, the security warning against this project will go away.

govuk-prototype-kit has been updated to use nodemon 3.0.1, and this package has updated this and some other dependencies in 5.0.4. So this should now be fixed. Let me know if not!


Not Launching

As soon as I launch the app starts for a second then quits. If I try again it starts, but nothing in menu bar, and no app opens.
To reproduce you can simply click the app
I expected it to open
I am running macOS sequoia 15.1

same ！ M系列的mac吗？

same!

Same here. The icon appears in the menu bar, but nothing happens after you click it.

Has anyone solved this issue? I'm running into the same problem.

Not solved on  my end

I just solved the issue for my situation. It seems the OnlySwitch menu bar icon was hidden under the notch (14" MacBook Pro). I closed enough of the programs with menu bar icons and the OnlySwitch icon eventually appeared.
New Feature idea:
Given that one of the primary features of OnlySwitch is to manage menu bar icons, it would be very helpful if it can be updated to reveal its menu bar icon all of the time or at least include a "Settings" option in the System setting pane.
I hope this helps others with their issue.


Implement swap-or-not shuffle

What is wrong?
Spec issue: https://github.com/ethereum/eth2.0-specs/issues/563
Spec PR: https://github.com/ethereum/eth2.0-specs/pull/576
How can it be fixed

Add constants: SHUFFLE_ROUND_COUNT = 90
eth2.beacon._utils.random.py

Implement get_permuted_index: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#get_permuted_index
Implement the optimize version for shuffling the whole validator registry: https://github.com/ethereum/eth2.0-specs/commit/70e482be28a10ca0d37de34fb3a0b5cd94108ad3

p.s. the benefit of #271 refactoring will reduce the cost of adding SHUFFLE_ROUND_COUNT to EVERYWHERE.

Also need to fix this together https://github.com/ethereum/eth2.0-specs/pull/641


about training and sampling cvfm

Hello. First of all, thank you for your great work!
First of all. I have a question about CVFM.
Your tutorial showed how to move from one moon distribution x0 to another moon distribution x1 with a 270-degree turn.
However, in reality, we usually train flow matching from Gaussian distribution x0 to Moon distribution x1. When x0 is Gaussian, does CVFM still work properly considering its principle? I wonder this method still work in real condition like text to image or something. I experienced that the optimal transport(Tong et al.) does not work at real world CFM problem...
Thanks.

Thanks for taking the time to look through our work. The development of CVFM is primarily targeted towards learning dynamical systems from measurements at discrete marginal distributions across time, where it would not be possible to choose a simple base density (e.g., Gaussian).
Theoretically, OT-FM should still work with conditioning from a base N(0,1) distribution as shown in their Conditional MNIST Notebook example. In contrast to CVFM, this is just because we can choose any arbitrary value for $y_0$ to coincide with $y_1$ and just call it $y$ into the network. That being said, I've encountered more challenging convergence issues when applying conditioning to OT-FM (Tong et al. (2023)) in comparison to the original FM paper (Lipman et al. (2022)), which I suspect is due to the noise scheduling on the paths, although this would be something interesting to look into further.
To further help, I've pushed this CVFM/COT-FM Notebook, which discusses limitations of COT-FM (something distinct to OT-FM), and later on has 2 examples of mapping from $\mathcal{N}(0,1)$ to $\hat{p}_1$.
Hope this helps!


Lifetime issue when #[pin_project] is used

Playground link
This code:
use pin_project::pin_project;

trait Bar<X> {
    type Y;
}

struct Example<A>(A);

impl<X, T> Bar<X> for Example<T> {
    type Y = Option<T>;
}

#[pin_project]
struct Foo<A, B> {
    x: <Example<A> as Bar<B>>::Y
}

Fails to compile with the error:
error[E0309]: the parameter type `A` may not live long enough
  --> src/main.rs:13:1
   |
13 | #[pin_project]
   | ^^^^^^^^^^^^^^
14 | struct Foo<A, B> {
   |            - help: consider adding an explicit lifetime bound...: `A: 'pin`
   |
note: ...so that the reference type `&'pin mut std::option::Option<A>` does not outlive the data it points at
  --> src/main.rs:13:1
   |
13 | #[pin_project]
   | ^^^^^^^^^^^^^^
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

It's possibly a compiler bug, because if I change Option<A> to A it compiles fine, which is really weird...
This is the expanded code produced by pin-project:
#![feature(prelude_import)]
#[prelude_import]
use std::prelude::v1::*;
#[macro_use]
extern crate std;
use pin_project::pin_project;
trait Bar<X> {
    type Y;
}
struct Example<A>(A);
impl<X, T> Bar<X> for Example<T> {
    type Y = Option<T>;
}
struct Foo<A, B> {
    x: <Example<A> as Bar<B>>::Y,
}
#[allow(clippy::mut_mut)]
#[allow(dead_code)]
struct __FooProjection<'pin, A, B> {
    x: &'pin mut (<Example<A> as Bar<B>>::Y),
}
#[allow(dead_code)]
struct __FooProjectionRef<'pin, A, B> {
    x: &'pin (<Example<A> as Bar<B>>::Y),
}
impl<A, B> Foo<A, B> {
    fn project<'pin>(self: ::core::pin::Pin<&'pin mut Self>) -> __FooProjection<'pin, A, B> {
        unsafe {
            let Foo { x } = self.get_unchecked_mut();
            __FooProjection { x }
        }
    }
    fn project_ref<'pin>(self: ::core::pin::Pin<&'pin Self>) -> __FooProjectionRef<'pin, A, B> {
        unsafe {
            let Foo { x } = self.get_ref();
            __FooProjectionRef { x }
        }
    }
}
#[allow(single_use_lifetimes)]
#[allow(non_snake_case)]
#[deny(safe_packed_borrows)]
fn __pin_project_assert_not_repr_packed_Foo<A, B>(val: &Foo<A, B>) {
    &val.x;
}
#[allow(non_snake_case)]
fn __unpin_scope_Foo() {
    struct __Foo<'pin, A, B> {
        __pin_project_use_generics: ::pin_project::__private::AlwaysUnpin<'pin, (A, B)>,
    }
    impl<'pin, A, B> ::core::marker::Unpin for Foo<A, B> where __Foo<'pin, A, B>: ::core::marker::Unpin {}
}
trait FooMustNotImplDrop {}
#[allow(clippy::drop_bounds)]
impl<T: ::core::ops::Drop> FooMustNotImplDrop for T {}
#[allow(single_use_lifetimes)]
impl<A, B> FooMustNotImplDrop for Foo<A, B> {}
#[allow(single_use_lifetimes)]
impl<A, B> ::pin_project::__private::PinnedDrop for Foo<A, B> {
    unsafe fn drop(self: ::core::pin::Pin<&mut Self>) {}
}

And here is the result of reducing that expanded code:

trait Bar<X> {
    type Y;
}
struct Example<A>(A);
impl<X, T> Bar<X> for Example<T> {
    type Y = Option<T>;
}
struct Foo<A, B> {
    x: <Example<A> as Bar<B>>::Y,
}
struct __FooProjection<'pin, A, B> {
    x: &'pin mut <Example<A> as Bar<B>>::Y,
}

It looks like the compiler is giving the correct error here. From the infer_outlives rfc:

In turn, if this associated type were used in a struct, where-clauses would be required. As we'll see in the reference-level explanation, this is a consequence of the fact that we do inference without regard for associated type normalization, but it makes for a relatively simple rule -- explicit where clauses are needed in the preseence of impls like the one above:

struct Foo<'a, T>
  where T: 'a // still required, not inferred from `field`
{
  field: <Vec<T> as MakeRef<'a>>::Type
}

I think the solution is for pin-project to always generate T: 'pin for each type parameter T.

@Aaron1011 it might be safer to add this bound instead:
 where Foo<A, B>: 'pin
This also seems to fix the problem.

@Diggsey: That's a good idea - I'll do that instead.

Published 0.4.9 which fixes this issue.

Nice! 👍


Default names of some headers should be pascal case

Clear and concise description of the problem
When people define header like below:
@header
contentType: string

The serialized name is content-type, instead of Content-Type. For the purpose of maximize compatibility, we'd better use Content-Type if the name is not specified in @header. Although the services should use case insensitive matching when handling header names (per HTTP spec), it's possible their implementation is not 100% correct and normally it takes quite some time to deploy a fix.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I think this issue has been closed following the discussion in sync. Please reopen if there is still something you'd like to talk about, thanks!


[Feature request] to Create a Log File Like system's default Notepad

Describe the solution you'd like
When you next open the file, note that the date and time have been appended to the end of the log, immediately preceding the place where new text can be added. You can use this functionality to automatically add the current date and time to each log entry.
Describe alternatives you've considered
How to Use Notepad to Create a Log File

I do not think this is a feature that will benefit the majority of the user base at this moment. I can keep this thread open to hear more from the community.

Describe the solution you'd like
When you next open the file, note that the date and time have been appended to the end of the log, immediately preceding the place where new text can be added. You can use this functionality to automatically add the current date and time to each log entry.
Describe alternatives you've considered
How to Use Notepad to Create a Log File

I have implemented it in this PR.