ESP is extremely sensitive to AC Loads

Hello
A few days ago, I had opened up a forum post on the ESP 32 forum regarding an issue I had with Interrupts being triggered when AC Load was toggled nearby.
The code I have used to test this is in the first post of the thread.  I have tried the suggestions mentioned there, and still had no success, still having random interrupts being triggered.
I have tried many debouncing methods I both software and hardware , all failed.
I have also tested using ESP-IDF code (instead of arduino as on the forum) and the issue still persisted. (Will post code if required, it is quite a simple logic, so didn't post it here)
I have tried all the various power supplies too , a dedicated adapter, laptop's USB port , issue remains, so I assume it's not a power line problem.
There was also another reply today to the thread with another person experiencing similar (and worse) issues as mine which leads me to think that there  probably could be  an issue fundamentally with the esp32 itself.
Any suggestions or comments on this issue would be great.
Thanks.

Please post your hardware setup and code, please, so we can see if we can replicate it.

Hey @Spritetm thanks for the response.  Here are the details.
Hardware Setup

I use this ESP 32 Dev Board
I have in use two GPIOs,

GPIO34 for the input from a button which is hardware debounced by this circuit
GPIO17 which is an output pin connected to a 2 channel Relay module (of which I use only 1)

The relay output is connected to a standard 15W 230V lamp
Currently using a very good quality USB Cable as a power source for my ESP32 as it makes my debugging easier

Code
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"

#define LED_GPIO 17
#define GPIO_INPUT_IO_1     34 //Button
#define GPIO_INPUT_PIN_SEL  ((uint64_t)(((uint64_t)1)<<34))
#define ESP_INTR_FLAG_DEFAULT 0

volatile bool shouldPrint = 0;
volatile int state = 0;
volatile unsigned long int current,last = 0;

static void IRAM_ATTR gpio_isr_handler(void* arg)
{
  //we wait for debounce
  current = xTaskGetTickCountFromISR();
  if(abs(current - last) > 20){
    shouldPrint = 1;
    state = !state;
  }
  last = current;
}

void app_main()
{
  gpio_config_t io_conf;

  //interrupt of rising edge
  io_conf.intr_type = GPIO_PIN_INTR_POSEDGE;
  //bit mask of the pins, use GPIO4/5 here
  io_conf.pin_bit_mask = GPIO_INPUT_PIN_SEL;
  //set as input mode
  io_conf.mode = GPIO_MODE_INPUT;
  gpio_config(&io_conf);

  //install gpio isr service
  gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
  //hook isr handler for specific gpio pin
  gpio_isr_handler_add(GPIO_INPUT_IO_1, gpio_isr_handler, (void*) GPIO_INPUT_IO_1);

  gpio_pad_select_gpio(LED_GPIO);
  /* Set the GPIO as a push/pull output */
  gpio_set_direction(LED_GPIO, GPIO_MODE_OUTPUT);

  while(1){
    if(shouldPrint){
      gpio_set_level(LED_GPIO,state);
      printf("Set LED state to: %d\n",state);
      shouldPrint = 0;
    }
  }

}

Issue Reproduction Steps

Simply plug and unplug the bulb adapter into/from the socket
Plug something else into a neighbouring socket
When either of the above is done, an Interrupt is triggered and the Bulb toggles/message is printed on the monitor

Hope this makes it easier for you to replicate the issue

That isn't really software debouncing, that just limits how close two interrupts can occur.  You are using an opto isolated relay, so that's good.  What are you using to power the relay board?

@negativekelvin  I have connected the V5 pin of the ESP32 to the Vcc of the Relay

Software debounce usually samples the input multiple times to filter out short spikes/noise. You should try to disconnect one wire at a time and see which eliminates the problem.

I have absolutely no problem when an AC Load is not connected ( i.e when the bulb is not placed in it's holder) . I have tried various AC Loads. All of them have the issue.

I have connected the V5 pin of the ESP32 to the Vcc of the Relay,

I would provide a separate power supply to the relay board.

It is forbidden to connect a GPIO directly to a relay you can kill the MCU
with such wrong usage !!
See a good schematic from Olimex ESP32-EVB to do that correctly:
https://github.com/OLIMEX/ESP32-EVB/blob/master/HARDWARE/REV-B/ESP32-EVB_Rev_B.pdf
See the part Relays in the PDF schematic you shall do that mainly using a
transistor to drive the relay and the relay shall have some diode to avoid
feedback ...
On 31 July 2017 at 13:05, Pranav Cherukupalli<EMAIL_ADDRESS>wrote:

I have absolutely no problem when an AC Load is not connected ( i.e when
the bulb is not placed in it's holder) . I have tried various AC Loads. All
of them have the issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/859#issuecomment-319037126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaaRanrXYSzAXnoGbj364wxYHZ1UUAhks5sTbUCgaJpZM4On8b9
.

@bvernoux relax that relay board has optos on it
@Raienryu97  you should still see if you can prevent it with the ac load present by disconnecting a single jumper

@negativekelvin @krzychb thanks for the suggestions.  I will try that and let you guys know.
I would also like to know ( maybe to use as a workaround) if it is possible to control the sensitivity at which a pin could be triggered. If the noise which causes the interrupt has a lower value than what would occur from a button , I guess I could circumvent the issue.

One more guess: Did you tried another pin instead of GPIO34? another one out of 34-39 range?

Hello.
Thank you very much for the advice. I have tested the suggestions provided.

I have tried pins outside of 34-39 (specifically 16 and 17) and the issue persists

I have tried removing various jumpers trying to isolate the issue and what I have observed from this is that there is no issue when the AC load is not connected to power (the issue doesn't occur when bulb adapter is not plugged in), but obviously that defeats the purpose of the application.

I have also tried using a separate power source for the relay board and have made an observation
regarding this. Issue persists but is a bit lesser

The observation  is that when the code is running on Arduino Uno board and relay is powered by ESP32 (esp32 is ONLY used to power relay) , then there is absolutely no issue
BUT when the code is running on ESP32 and relay is powered by Arduino Uno (Uno ONLY for powering relay), the issue persists.

are you using a pullup resistor (4.7k) for button ? perhaps this issue is related to this !

@feredy2011 , I am using this circuit for the button. Sorry for the late response. But I had gotten a solution and have forgotten to close the comment in time. Thanks to everyone for their inputs. They helped in further decreasing the issue.
Note to the people in the future who have been troubled with this issue just like me
My issue was reduced A LOT in fact almost completely nullified simply by adding an RC series (snubber) to the contacts of the relay. Note that this will cause a bit of leakage current to be flowing even when the relay switch is turned off.

@Raienryu97
If you would like to get rid of this snubber circuit, maybe have a look at bistable relays (e.g. ADW1103), which are only driven for a few milliseconds to change the relay contact position.
Of course, this problem might persist. BUT: it is mainly caused by the PCB design.
I have currently a board with 6 bistable and 2 "normal" relays, no problems at all, even if you switch on all relays at one.

@benjaminaigner, definetely will take a look. Getting rid of the snubber will prevent the leakage. Thanks for the suggestion.

@Raienryu97  I am having similar issues as you described when using a solid state relay to drive a motor. Whenever the motor stops some inputs will get triggered.
My question is: how have you connected your snubber? Is it on the relay contacts in parallel or on the load ( e.g motor)?

I was having similar issue where the blinker set for half a second interval would slow down noticeably eventually shutting down the webserver not responsive. The problem dissappeared after after l changed to a different USB power supply. I came to notice that the problem only occurred when l remove the esp32 from my development lapton USB to a standalone power supply.


Add bibtex references to metadata

Would be nice to be able to grab any included references from the metadata. To do so, would need to include them in the descriptors.
@nx10 said to mention bibtex

This is implemented in IR and styxdefs, but still missing in all front- and Backends.


Align BytesMut to page boundary (4096 bytes)

Is there a way to align BytesMut to page boundary?
My app uses buffers that are a multiplicity of 4 KiB. I guess that might help with fragmentation.
The default allocator doesn't seem to align them.

No, see #601.

PR #684 illustrates one way in which it might be possible to create a Bytes with arbitrary alignment.

I think the new Bytes::from_owner makes that possible, right?


✨ Support different outputs and status code

Codecov Report

Merging #2 (80dff39) into main (6a06669) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         2    +1
  Lines           13        20    +7
=========================================
+ Hits            13        20    +7

Impacted Files
Coverage Δ

fastapi_health/route.py
100.00% <100.00%> (ø)

fastapi_health/__init__.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

I need to update the documentation.

i used it locally, seems to be working fine.

Cool! I'm going to update the documentation tonight and release it! Thanks! :tada:


UI Unresponsive with Scroll Issue

ITS-Pro time category: https://its-pro.ucsd.edu/projects/MA/issues/MA-34?filter=allopenissues
Could not reproduce, but when the app launched, the UI was unresponsive. Was not able to tap down into any details or features. Data was displayed in the cards. Scrolling down displayed more white background above the first card and scrolling up displayed white background after the last card.
This is complete when:

[ ] The issue can be reproduced
[ ] A fix is implemented

@a6wu do you know which version this was in? I see that the TWOW banner is up for these screenshots.

@kevdesilva01 I believe it was Prod. TWOW was a special event that has since passed and will no longer be seen in the app. If you cannot reproduce with different approaches with the app, then we can table this issue.

@a6wu I've been unable to reproduce the issue. I think we can close this out but I'll just always keep an eye out if I ever run into this bug somehow.


Stream Template crd not served

Hi,
While working on a project that was supposed to use stream templates for dynamic stream creation we found out that stream templates are declared in crds file, but marked as not served. Are they not served due to some issue directly in NACK or are they missing version v1beta2? Because, as I see, all other resources have versions v1beta1 and v1beta2, but stream templates only have v1beta1.
https://github.com/nats-io/nack/blob/552472d50455e84ee5bda90298c0aab1ef0963a7/deploy/crds.yml#L677-L692

Hi @oshkiole the streamtemplate feature from JetStream does not work in clustering mode so we decided to remove them from the v1beta2 CRDs.

@wallyqs Thank you for your reply. Do you know does this issue going to be fixed in future? In my project we already moved to a different solution, but this would be good to know.


[LightGBM] How to use downloaded synapseml jar packages in other environment?

SynapseML version
0.10.2
System information

Language version (e.g. python 3.8, scala 2.12): python3.9
Spark Version (e.g. 3.2.3): 3.3.1
Spark Platform (e.g. Synapse, Databricks): EMR on EKS

Describe the problem
Hello, I'm using synapseml package to learn LightGBM model in my emr on eks cluster.
Sometimes, downloading synapseml related jar packages takes time too long. So I want to re-use locally downloaded jar packages in the emr on eks cluster. If the files were downloaded before, spark using cache so the goal is move jar files to the cluster and make spark use that cache. Is it possible? Any reply would be appreciated.
Code to reproduce issue

Other info / logs
No response
What component(s) does this bug affect?

[ ] area/cognitive: Cognitive project
[ ] area/core: Core project
[ ] area/deep-learning: DeepLearning project
[ ] area/lightgbm: Lightgbm project
[ ] area/opencv: Opencv project
[ ] area/vw: VW project
[ ] area/website: Website
[ ] area/build: Project build system
[ ] area/notebooks: Samples under notebooks folder
[ ] area/docker: Docker usage
[ ] area/models: models related issue

What language(s) does this bug affect?

[ ] language/scala: Scala source code
[ ] language/python: Pyspark APIs
[ ] language/r: R APIs
[ ] language/csharp: .NET APIs
[ ] language/new: Proposals for new client languages

What integration(s) does this bug affect?

[ ] integrations/synapse: Azure Synapse integrations
[ ] integrations/azureml: Azure ML integrations
[ ] integrations/databricks: Databricks integrations

Hey @jovis-gnn thanks for reaching out. This is moreso a question for your cluster administrator but i will give you some of my best guesses as to how to achieve this. First off, if you are using a version without any SNAPSHOT suffix's switch from our custom resolver to maven central. as we publish nnamed versions like v0.11.1 to central as well as our custom resolver. Central might have a better CDN set up.
Secondly what are the characteristics you want in your soluition? Because pre-installing synapseml into your cluster's ivy cache will require a mvn install which will have the same kinds of downloading times just at pre-install time. Is it okay for your pre-install job to take a long time, or is this a short lived cluster and you want pre-install + install to be fast?


Character encoding bug copying from Math (KaTeX) in Markdown preview window

Issue Type: Bug
Copying symbols from rendered math in Markdown does not work correctly. Basic alphanumeric characters copy fine, but most others don't, suggesting a character encoding problem.
To reproduce:
With Settings > Markdown > Math enabled, create a markdown document, and enter
$a\ne b$

Enable the preview pane. In the preview pane, select the not-equals-to symbol only. Copy and paste it into a UTF-8 encoded text file, such as the original markdown file.
Expected behaviour
The unicode NOT EQUAL TO character will be pasted, ≠.
Actual behaviour
An empty square will be displayed, which when investigated, appears to indicate a broken Unicode sequence, 
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-15T02:58:26.441Z)
OS version: Linux x64 5.15.0-40-generic
Restricted Mode: No

I believe this is an issue with KaTeX itself, if you look on their website (https://katex.org/docs/supported.html) and inspect the HTML, some symbols have corresponding Unicode characters and other's don't.

Thanks @purplecomet1. In the KaTeX online documentation link you provided I took a look at the example I gave above of markup indicating not-equal-to (\ne). This appears to be rendered by KaTeX as a Unicode EQUALS SIGN (=), overlaid visually by a codepoint U+E020 ( from my original post). This codepoint lies in the "Private Use" range, and so is not standard Unicode and has no meaning outside its use by KaTeX. It looks like KaTeX is rendering this codepoint as a forward slash using a custom font - which is not going to do anything sensible when copy-pasted as Unicode text somewhere else that has no knowledge of whatever font KaTeX was using. This is the cause of the copy-paste issue I encountered. This is not good on multiple fronts (semantics, accessibility, etc.), especially since in this case there is a specific Unicode symbol available for NOT EQUAL TO (U+2260): ≠
So, having looked at this closer, I agree that it appears to be a problem with KaTeX and not vscode. I'll close the issue.

Maybe I opened this too soon...

The relevant KaTeX option is output: https://katex.org/docs/options.html

It looks like it would be necessary to set "output":  markupLanguage when defining options at https://github.com/microsoft/vscode/blob/main/extensions/markdown-math/src/extension.ts#L27, where markupLanguage is "html",  "mathml" or "htmlAndMathml". This would need to a corresponding configuration parameter defined for it.
Personally, I'd be looking to use "mathml" to improve copy-paste.

I tried rendering the output as "mathml" a few days ago, but it just renders the symbol as plaintext ("\ne"), which sort of defeats the purpose of using a markdown language in the first place

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

@purplecomet1 I know this was a while ago, but thank you for trying out the mathml option. I somehow missed your last post completely. I don't know why it displayed as "\ne" for you in vscode. That's not what happens with KaTeX:
https://katex.org/?data={"displayMode"%3Atrue%2C"leqno"%3Afalse%2C"fleqn"%3Afalse%2C"throwOnError"%3Atrue%2C"errorColor"%3A"%23cc0000"%2C"strict"%3A"warn"%2C"output"%3A"mathml"%2C"trust"%3Afalse%2C"macros"%3A{"\\f"%3A"%231f(%232)"}%2C"code"%3A"\\ne"}
It's a shame that it didn't work, because that would have been a simple workaround/fix otherwise.

@mattok
That link renders as plaintext for my browser (Brave 1.4.100)

What OS are you on @purplecomet1? It must be a font availability issue. For me, it renders correctly, looking something like this

on all of the following:

Edge 109.0.1518.49 on Windows 10. It is computing font-family: math and I can't figure out from dev tools what font it is loading.
Chromium 109.0.5414.74 on Ubuntu 22.04. It is computing font-family: math and I can't figure out from dev tools what font it is loading
Firefox 108.0.2 on Windows 10. It is computing font-family: serif, and loading font "Cambria Math"
Firefox 108.0.2 on Ubuntu 22.04. It is computing font-family: serif and loading font "Latin Modern Math"
Firefox 109.1.0 on Android 13. No idea about font-family and actual font selected.

Given the Edge and Chromium results, I would hopeful that it would render fine in vscode.

Once chromium 109 is being used by the version of electron being used by vscode, the fix could simply be to switch the KaTeX rendering mode to MathML by default. See https://github.com/microsoft/vscode/issues/153258#issuecomment-1208726657. It would be a simple one-line change.
Can this issue be reopened until then please?


Feature: Preview Image Update Event

I want to update the preview image once it's been set. It would be really useful to have more events thrown by the cropper so that this is possible.

Why not just custom the preview?

https://github.com/fengyuanchen/cropper/blob/master/examples/customize-preview.html

Is the crop handler called after the preview images have been drawn up? I want to make use of the width/height that the cropper is setting on the preview image div containers. What I'm finding is that often I'm accessing the elements as they're still being changed.
I'll give it a go.

Hmm..it seems the problem is maybe elsewhere:
$(".picture-frame-border .img-preview").width(); //357
$(".picture-frame-border .img-preview")[0].style.width; //"500px"

I've written a workaround:
var width = parseInt($(".picture-frame-border .img-preview")[0].style.width, 10);
I think this is a jQuery problem, not a cropper problem. Closing.


Uses a deprecated Node.js version

This uses an old version :

The following actions use a deprecated Node.js version and will be forced to run on node20<EMAIL_ADDRESS>For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

This is already fixed in main with https://github.com/Madrapps/jacoco-report/pull/78, and is available in the 1.7.0-alpha version

Yes. v1.7.0 is now publicly available.


added static handler

Hello, i'm fairly new to TS, but i like the deno ecosystem and didn't "relate" to the other 3rd party modules involving routing and such (yours seemed simple enough)
I added a static resource handler similar to express.
Maybe it'll help people using the http-wrapper :)
Thanks :)
PS: maybe we could grow this wrapper a bit more :)

Love it, thank you! Merging pull request. I had been working on my own implementation for static files, but this was a lot cleaner than I had come up with.
Also, thanks for the cleanup on Server.ts and Router.ts, appreciate it.


Run unit and integration tests in parallel on two different nodes.

We can speed up the CI by running the unit and integration tests in parallel on two different nodes.

I suspect this will have almost no noticeable impact. unit tests (once you've compiled) take 36 seconds. Spinning up another node and compiling again to run the tests will likely enter a queuing delay > 2 min.
This is not worth the effort.

Unit test take > 4 Minutes on Jenkins.

This isn't true: https://jenkins.mesosphere.com/service/jenkins/view/Marathon/job/public-test-marathon-phabricator/1107/consoleText
test (which in this particular job includes compile etc) has the tests completing in just 28 seconds.
Run completed in 27 seconds, 192 milliseconds. Total number of tests run: 2767 Suites: completed 239, aborted 0 Tests: succeeded 2767, failed 0, canceled 0, ignored 1, pending 2 All tests passed. [info] ScalaTest [info] Run completed in 27 seconds, 192 milliseconds. [info] Total number of tests run: 2767 [info] Suites: completed 239, aborted 0 [info] Tests: succeeded 2767, failed 0, canceled 0, ignored 1, pending 2 [info] All tests passed. [info] Passed: Total 2767, Failed 0, Errors 0, Passed 2767, Ignored 1, Pending 2 [success] Total time: 269 s, completed Jan 27, 2017 3:59:49 PM

I think a higher priority item would be adapting my original prototype of a phabricator jenkins pipeline and maybe adding support for things like "apply the review stack, apply vs master, apply vs named branch (e.g. for release cherry-picks) where the diff has some encoding of "this actually targets releases/1.4"

Sure. This is not on my priority list. I was hoping that it is a low hanging fruit but it's not. Hm, how come the unit test stage takes more than 4 minutes? I wonder what the overhead is.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4691. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Pass on iframe construction & rendering chapters

This PR doesn't have too many code changes or very significant text changes---I broke up and reordered a few code blocks and shortened the text, but that's about it.
Some questions for discussion:

Does CSP block iframe loading? If so, we need to add code to do that.
Why increment the window ID in the Frame constructor? I'd rather do it when the Frame is constructed. Any objections?
I added a sentence on the order in which you need to lay out frames. Can you confirm my logic?

All of these should be easy fixes.

Does CSP block iframe loading? If so, we need to add code to do that.

It seems yes: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-src

Why increment the window ID in the Frame constructor? I'd rather do it when the Frame is constructed. Any objections?

What does "when the frame is constructed" mean, and how does that differ from the constructor?

I added a sentence on the order in which you need to lay out frames. Can you confirm my logic?

Yes, that is correct. However, it seems I got lucky, as I didn't think about this detail..

Ok, I added CSP blocking and fixed the nits. Regarding window IDs, I meant computing and updating the window ID in load. It does mean duplicating the window ID, so maybe you'd rather not.

Re window id in load: if it makes the code better I don't oppose it, send as a separate PR?

Agreed, let's merge this and do a separate PR.


Update gen_fsm_compat

riak_core copied the code for the gen_fsm behaviour into the code base. gen_fsm is deprecated and needs to be replaced with the new gen_statem behaviour.

[x] riak_core_vnode_worker_pool

[x] Additional tests

[ ] riak_core_vnode

[ ] Additional tests

Currently being worked on by @WoelkiM :
https://github.com/WoelkiM/riak_core_lite/tree/19_Update_gen_fsm_compat


ci: build release binaries outside of docker

Summary
The current release workflow has recently been timing out, apparently during the arm64 'generate' make target.
This workflow builds the controller inside Docker, for both linux/amd64 and linux/arm64. The arm64 build is emulated using QEMU, and based on the logs from previous workflow runs, it may be up to 10x slower than the amd64 build:

run #
amd64
arm64

519
81.5s
852.2s

518
177.7s
1545.9s

517
80.2s
853.7s

516
79.5s
848.1s

(elapsed time of the RUN CGO_ENABLED=0 make build-go step)
However, I don't think we actually need to run the entire build process under emulation. We don't appear to use cgo, so I think it should be equivalent to build on the host with GOARCH=arm64, and reduce the Docker build step to just copying the resulting binary into the base image.
Also, it looks like the 'generate' target isn't needed except when running the tests, so I think we can skip that bit entirely.
Related issues

https://github.com/pomerium/ingress-controller/issues/776

Checklist

[x] reference any related issues
[ ] updated docs
[ ] updated unit tests
[ ] updated UPGRADING.md
[ ] add appropriate tag (improvement / bug / etc)
[ ] ready for review

Also, it looks like the 'generate' target isn't needed except when running the tests, so I think we can skip that bit entirely.

generate target also builds manifests. https://github.com/pomerium/ingress-controller/blob/a417d90540d50954ee2b7d236cb77c3e5779bb13/Makefile#L63
those manifests are additionally bundled together for older versions of kubectl into a single deployment.yaml.
we can remove generate from build process provided we move it into pre-commit checks, to make sure the manifests are not out of sync with CRD definition in apis/ingress/v1.

generate target also builds manifests.

Thanks, somehow I missed that. I've put back the generate step. I assume it can run just once, on the host architecture?


Add RSS support. Close #5

According to https://gohugo.io/templates/rss/ added default RSS layot

Thanks


CRAYSAT-1769: Rewrite "SAT in CSM" section

Description
Rewrite the "SAT in CSM" section of the documentation now that SAT is fully included in CSM, and there is no longer a separate SAT product moving forward.
Also rename the operations folder from sat to system_admin_toolkit for more consistency with other folder names which use unabbreviated component names.
Special Note
Note that this targets a feature/CRAYSAT-1667 branch. I hope to also include the changes for STP-3667 (merging docs-sat into docs-csm) in the feature branch before merging it into release/1.6. I expect Jessica Dehn will be assisting with those changes.

Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

I talked with @jld-dehn-hpe today, and I'm actually going to take the first pass at migrating docs-sat content into docs-csm due to her other priorities for the next couple weeks.
As a result, I'm just going to do the entire migration against CRAYSAT-1782 in a single pull request directly targeting release/1.6. So I'm closing this pull request without merging, and I will delete the feature/CRAYSAT-1667 feature branch. Sorry for the noise.


style: Address warnings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

50 of 73 (68.49%)  changed or added relevant lines in 11 files are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 66.679%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/toml/src/map.rs
2
3
66.67%

crates/toml/src/value.rs
18
19
94.74%

crates/toml_edit/src/de/table.rs
2
4
50.0%

crates/toml_edit/src/de/value.rs
0
3
0.0%

crates/toml_edit/src/ser/map.rs
11
14
78.57%

crates/toml/src/ser.rs
6
10
60.0%

crates/toml_edit/src/parser/value.rs
3
12
25.0%

Files with Coverage Reduction
New Missed Lines
%

crates/toml_edit/src/parser/value.rs
1
66.67%

crates/toml_edit/src/document.rs
2
57.41%

crates/toml_edit/src/inline_table.rs
11
45.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
3562

Relevant Lines:
5342

💛  - Coveralls


Fix circuit equivalence

Fixes #1019. Avoids LP and instead compares circuit matrices block-by-block up to per-block phase factor. Crucially, blocks are formed using measurement subspaces. Adds more tests.
This is a second attempt at #1036. First one was lost to github incident on October 21st. Includes changes to address comments in the original review.

We'll have to wait for github to re-enable hooks then poke this branch to get travis to run it.


Create a new sitemap based on the current user journeys

When I am planning to improve the usability of my website, I want to make sure it's structure is well thought out and easy to follow, so that I can offer the users a flawless journey through the website.
Acceptance criteria

[ ] list of user journeys (e.g. in google docs)
[ ] new sitemap (based on the user journeys)
[ ] a list of materials to produce (e.g. in google docs or spreadsheets)

Tasks

[ ] create a list of their user journeys
[ ] generate a new sitemap (based on the user journeys)
[ ] create a list of materials to produce

For comparison, take a look at the sitemap for Linked Data Fragments. IMHO it might not be ideal, but it seems easy to find what you want (my own comments in parenthesis):

Concept (show me what it is :thinking:)
Data (show me some real world examples :mag_right:)
Software (what tools can I use with it :hammer_and_wrench:)
In depth (more like a FAQ, just digging deeper into "what it is", actually :bulb:)
Specification (show me the docs :book:)
Publications (scholarly stuff :microscope:)

This could serve as inspiration for the new sitemap.

I started drafting a mix of sitemap with a table of contents/needs in the scratchpad. Planning on finishing a first version, and to move to a Google Doc for collecting feedback, tomorrow. https://hackmd.io/@rufuspollock/B1kTsCJAS#14-Jan-2020---Draft-of-sitemaptable-of-contents


[Redux] Can't get dropdown to work properly on Statelesswidget

I using redux for flutter so every presentation is stateless but i can't get dropdown menu to work property since i can't change it's state to trigger flutter to rebuild the dropdown part when choose value from dropdown.
I trying to implement dropdown menu for this screen.
My code look something like this:
List<String> _suppliers = <String>['Apple', 'Google'];
  String _supplier = 'Apple';

DropdownButton(
                  key: _supplierKey,
                  value: _supplier,
                  items: _suppliers.map((String value) {
                    return new DropdownMenuItem<String>(
                      value: value,
                      child: new Text(value),
                    );
                  }).toList(),
                  onChanged: (String newValue) {
                    _supplier = newValue;
                  }),

I don't know if i implemented it right or anyway to workaround? Any help would be appreciate. Thanks you.

Key @ekevjn, did this help out? If so, I'll close this out. If not, happy to keep it open and help a bit more.


k8s: fix ciliumpodippools CRD controller-gen version

This commit fixes the outdated version in the annotation controller-gen.kubebuilder.io/version of the CRD ciliumpodippools by updating it to v0.11.4.
Fixes: https://github.com/cilium/cilium/issues/25974

/test

removed review-request from @youngnick - as sig-k8s is already covered by @sayboras

Go-related checks / generate-k8s-api (pull_request) is green :green_circle:
Let's not wait on CI to finish, since this prevents other PRs from becoming green.


Code server reported an error when using it. Is this my browser's problem?

Web Browser:Chrome
Local OS:Mac os big sur
Remote OS:Mac os
Remote Architecture:amd64
code-server --version:3.7.4

In my use, this error often appears:
加载 Web 视图时出错: Service Workers are not enabled in browser. Webviews will not work.

Hope someone can help me to answer, this is my browser problem? How to solve it?

You'll need to access code-server over HTTPS. Browsers only allow
service workers (and other things) when the context is secure.


ARTEMIS-3581 - allow max-size-bytes=0 configuration force pagingindep…

…endent of the page-size-bytes

full test looks good, nothing seems to mind that that illegal state relating to page-size < max-size-bytes has gone!


Add CLU 2022-05-01 GA version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@heaths , the LintDiff failed due to this property name: ISO4217. I don't think this should be reported, correct? We used the same name in 2022-03-01-preview. Do you have any ideas? Thanks!

You'll need to fetch and rebase on the release branch to fix the merge conflict:
# on your clu-ga topic branch
git fetch upstream release-cognitiveservices-Language-2022-05-01-GA
git rebase FETCH_HEAD
git push --force

Thanks! Resolved conflicts.

@ChongTang, regarding the ISO issue: https://github.com/Azure/azure-rest-api-specs/pull/18759/checks?check_run_id=6200976822, is it possible / feasible to use lowercase "iso"? That should also resolve this.
@akning-ms @jhendrixMSFT @tjprescott any idea if that error can also be suppressed if they can't change it?
@ChongTang also, you have an Avocado validation error likely caused by a missing analyzetext-authoring.json from the readme.md: https://github.com/Azure/azure-rest-api-specs/pull/18759/checks?check_run_id=6200976973

@ChongTang, regarding the ISO issue: https://github.com/Azure/azure-rest-api-specs/pull/18759/checks?check_run_id=6200976822, is it possible / feasible to use lowercase "iso"? That should also resolve this.
@akning-ms @jhendrixMSFT @tjprescott any idea if that error can also be suppressed if they can't change it?
@ChongTang also, you have an Avocado validation error likely caused by a missing analyzetext-authoring.json from the readme.md: https://github.com/Azure/azure-rest-api-specs/pull/18759/checks?check_run_id=6200976973

We would need more time to discuss if lowercase iso works here. Can we suppress it or override it this time?

@ChongTang the linter error can be suppressed if renaming isn't an option. See https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/cosmos-db/data-plane/readme.md#suppressions (find "R3016").

@ChongTang the linter error can be suppressed if renaming isn't an option. See https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/cosmos-db/data-plane/readme.md#suppressions (find "R3016").

Thanks! I just added it to our readme file. Looks like it works.


Unable to import predicate field from referenced document

Given two document types:
Document A (global):
search A {
    document A {
        field availability type predicate {
            indexing: summary | attribute
            index {
                # 1970-01-01
                lower-bound: 0
                # 2100-01-01
                upper-bound:<PHONE_NUMBER>
                arity: 8
            }
        }
    }
}

Document B:
search B {
    document B {
        field a_ref type reference<A> {
            index: attribute
        }
    }
    import field a_ref.availability as availability {}
}

Results in the error message on preparing the application:
Invalid application package: default.default: Error loading model: This aspect is not meaningful or relevant for an imported field.

I can not find any place in the documentation where it says this is not possible, unless predicates are secretly handled as tensors (see top of this), which in case the docs should be updated to include predicates. If this should be possible it would be nice to know what is wrong in the case above.
Also IMHO the error message is too vague.

Also IMHO the error message is too vague.

Agree. I just fixed that. @geirst will have to answer the rest.

Update: This is some missing functionality and @geirst is working on fixing it. I think his current plan is to first to complete all the work and afterwards update this ticket.

Handling of imported predicate fields in the config model has been fixed (https://github.com/vespa-engine/vespa/pull/4373) and it is possible to deploy the application. There are still some problems in the search core that must be addressed for this to work end-to-end.

Status @geirst ?

@bratseth This work has not been prioritised and the status is the same. Supporting this requires a lot more work than when we added support for importing tensor attributes.


Unable to submit the form for data access

When I fill out and go to submit the form for data access, a box appears in the corner that says "failed to fetch."
As well, in the developer console there's an error saying:
Failed to load resource:
net::ERR_CONNECTION_RESET
I've never had similar problems when submitting forms on other websites.

They've fixed the problem.


[FEATURE] Add Batch search button

Is your feature request related to a problem? Please describe.
The links next to Quick search are not clickable with the middle mouse button, therefore, you cannot open each of the tabs in the background in succession.  You have to click one, get taken to a new tab, go back, click another link, get taken to a new tab, etc.  You can't quickly search all at once
Describe the solution you'd like
A button just like the Batch transfer, but will be named Batch search and will open all the search links at once
Describe alternatives you've considered
Middle clicking the search links to have them load in the background but that wasn't possible
Additional context

I filled out the template correctly.  Please re-open

@techmovie Can you re-open this? I dont know what I did wrong to not fill it out correctly

@newadventure079 may because you delete something

I dont remember removing anything.  I double checked with a blank template and it looks identical

There might be a bug in the bot lol

I just saw this at https://github.com/techmovie/easy-upload/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B
IF YOU CLICK "QUICK SEARCH" ON THE FAR LEFT, YOU CAN SEARCH IN BULK FOR THE PRESENCE OF THE SAME SEED IN ALL NP SITES. RED REPRESENTS NON-EXISTENCE AND GREEN REPRESENTS EXISTENCE.

I tried that and clicked the Quick search link but nothing happened

@newadventure079 Just support Nexus sitez


Preferences -  The description of Priority mode does not match the logic

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open setting
Preferences
Priority mode, Observe that explainer text does not match focus mode

Expected Result:
The description of the focus mode must match the logic including: pined, unread and draft item
Actual Result:
Explainer text does not match logic focus mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690654739888759
View all open jobs on GitHub

Proposal by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690654739888759
Proposal
Please re-state the problem that we are trying to solve in this issue.
The description of the focus mode must match the logic including: pined, unread and draft item
What is the root cause of that problem?
Currently, the logic of the show report on LHN of focus mode is unread, pined, and drafted but the description for focus is incomplete and confusing for users.
What changes do you think we should make in order to solve the problem?
We need to update the description for focus mode here:
https://github.com/Expensify/App/blob/eb020063789091eb2e3086b5b54af3ead8436645/src/languages/en.js#L667
Can be like this:
Choose whether to show all chats by default sorted with most recent with pinned items at the top, or #focus on unread, pinned, and draft items, sorted alphabetically.
https://github.com/Expensify/App/blob/eb020063789091eb2e3086b5b54af3ead8436645/src/languages/en.js#L675
Show unread, pined, and draft sorted alphabetically
And Spanish translation
What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.

Explainer Text doesn't match Priority modes description.

What is the root cause of that problem?

The description was changed in the below commit.

PR: https://github.com/Expensify/App/pull/14591
Commit: https://github.com/jeet-dhandha/Expensify-App/commit/4384921f0e48bb382d72d1af8dbfc93ecc460b5b

What changes do you think we should make in order to solve the problem?

We can first update explainer text as below:

BEFORE: Choose whether to show all chats by default sorted with most recent with pinned items at the top, or #focus on unread pinned items, sorted alphabetically.
UPDATED: Choose whether to show all chats sorted with the most recent and pinned items at the top by default, or #focus on unread and pinned chats sorted alphabetically. (Fixed some writing issues using grammerly)
UPDATED SPANISH: Elige si mostrar todas las conversaciones ordenadas con las más recientes y los elementos anclados en la parte superior de manera predeterminada, o #enfocarse en las conversaciones no leídas y ancladas ordenadas alfabéticamente.

Now we also need to update #focus mode's description:

BEFORE: Only show unread sorted alphabetically
UPDATED: Only show unread and pinned chats, sorted alphabetically.
Updated SPANISH: "Mostrar solo chats no leídos y anclados, ordenados alfabéticamente."

What alternative solutions did you explore? (Optional)

N/A

Now i forgot about the draft items will update that shortly. 👍

Determining whether we assign copy updates externally. Discussing here.

I'm going to close this out as it's more of an improvement suggestion rather than a bug preventing someone from using the app.


Change text with mouse over event on activities

Hi,
Is possible to change text content or add a new column with mouse over event on activities?
e.g. default card  with mouse over a activity shown
| Name
| Start
| End
| ID
many thanks.

You have in config some attributes that allow changing the display of contents :

tooltip for HTML contents
tooltipProperties for building tooltip with object properties

see Guides / Miscellaneous / Renderers


:arrow_up: update multiprocess(ing)

[x] update dill & multiprocess dependencies
[ ] enable multiprocessing on Windows

TODO:

[ ] look into consequences of upgrading dill dependencies

Codecov Report

Merging #91 (075379a) into main (8ac5086) will increase coverage by 0.00%.
The diff coverage is 98.59%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   97.91%   97.91%
=======================================
  Files          23       23
  Lines        1245     1247    +2
=======================================
+ Hits         1219     1221    +2
  Misses         26       26

Impacted Files
Coverage Δ

tsflex/processing/utils.py
74.19% <50.00%> (ø)

tsflex/__init__.py
100.00% <100.00%> (ø)

tsflex/chunking/__init__.py
100.00% <100.00%> (ø)

tsflex/chunking/chunking.py
98.07% <100.00%> (ø)

tsflex/features/feature.py
97.91% <100.00%> (ø)

tsflex/features/feature_collection.py
99.52% <100.00%> (ø)

tsflex/features/function_wrapper.py
100.00% <100.00%> (ø)

tsflex/features/integrations.py
98.48% <100.00%> (ø)

tsflex/features/logger.py
100.00% <100.00%> (ø)

tsflex/features/segmenter/strided_rolling.py
98.29% <100.00%> (ø)

... and 10 more

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


Update error message on home page to include link to lorax-composer.service

When the following message displays, the error message provided by the api doesn't provide much information about why the error occurred. In the Web Console, the Services > lorax-composer.service page provides information that's useful for troubleshooting why the error occurred.
We should provide a link to this page. An example where this is currently implemented is here: https://github.com/weldr/cockpit-composer/blob/master/components/EmptyState/EmptyStateInactive.js#L130

Osbuild-composer and lorax-composer can be distinguished by the result of /api/status


Add 'Unstable' trigger to the other extendedEmail signature

I missed this when I submitted #58

:+1:

@marcesher can you rebase please, and  I will merge.

@imuchnik conflicts resolved. I also changed the implementation of one of the functions to simply call the other addExtendedEmail(), rather than the block of code.


Astro purgecss integration removes rules with top level :where()

Describe the bug
Purgecss purges :where() top level rules from the astro build.
To Reproduce
Steps to reproduce the behavior:
Write this in your css:
:where(h1, h2, h3) {
  border: 1px solid red;
}

Then npm run build in your Astro project. Inspect the bundled CSS file and the rule will be gone.
One potentially helpful detail, if your :where() is not at the top level, then it won't be purged, so something like this for instance will work as expected:
body :where(h1, h2, h3) {
  border: 1px solid red;
}

Looks like a purgecss issue: https://github.com/FullHuman/purgecss/issues/1282

Thanks for reporting on this issue. I think this is a purgecss issue, and since this plugin is a wrapper around purgecss will wait to be fixed.

You can circumvent this by adding the * or global selector before it and it will be purged correctly. The only issue with this is that it may decrease performance

https://github.com/FullHuman/purgecss/issues/1282#issuecomment-2394928496


"dotnet new blazor" creates a server-side-blazor project (instead of client-side) starting with preview6

Inside of VS it works -- what is the according CLI command?

Sorry, the topic Get Started isn't on my daily read-schedule.

I'm trying to create a client side blazor app with dotnet core preview 6 from terminal/vscode but it creates a server side app.
I've followed the steps from the Get Started page linked above.
Is there a way to do this in preview 6?

For me it worked after executing dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview6.19307.2 once.

Wonderful, thank you.
Wow, that is quite obvious in the get started, don't know how I missed it.

With the latest release, the entire process of setting up a Blazore client-side progect solution is just a mess. I spent five hours today, going down numerous different paths, each one ending in failure. There were missing templats, project created, but with multiple errors including missing references, mismatched .Net Core versions, generated code that did not know how to find http references, some Nuget package hell, referenes to other classes that were generated, not knowing withat App means and on and on...
I had started with a fresh download of VS Preview, .Net Core SDK and Blazore templates.
In two decades of using Visual Studio, I have never used the command line to create a project. In complete frustration, I found this page and decided to try the command line to create a Blaozr Client Side application. After a couple of tries as I figured out the syntax to create the solution/app, it worked and it worked perfectly. I suspect that some of the things I did to get the IDE path to work helped to set the stage for the command line approach to work.
Mabye my journey was atypical and I inadvertently did all of the wrong things, but at the mment using the IDE to create a Blazore client side app is an unhappy experience. Hopefully it will get a bit of love and soon morph into something useable.


inspect: rename ImageID go field to Image

The json field is called Image while the go field is called ImageID,
tricking users into filtering for Image which ultimately results in an
error.  Hence, rename the field to Image to align json and go.
To prevent podman users from regressing, rename Image to ImageID in
the specified filters.  Add tests to prevent us from regressing.  Note
that consumers of the go API that are using ImageID are regressing;
ultimately we consider it to be a bug fix.
Fixes: #4193
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

LGTM

Rerunning tests.

Found some cycles to look into the test failures which are fixed now.

@baude @TomSweeneyRedHat @rhatdan PTAL

/lgtm

Looks like the gating job is stuck.

Repushed to retrigger the blocked gating test.

Needs another lgtm :^)

Suffering from the --rm flakes. Restarted.

@rhatdan @TomSweeneyRedHat mind (re)dropping the final lgtm for merging?

/lgtm


Accessible View comments navigation not working when screen not maximized

Testing #210598
VS Code: latest 1.89.0-insider
OS: Windows_NT x64 10.0.22631
GHPR extension: v0.87.2024042204 (pre-release)

Open VS Code, not maximized
Checkout PR with multiple comments
Open Comments pane
Open accessible view with Alt+F2
Buttons to navigate to the next and previous comment do nothing
Maximize the VS Code window -> comments navigation works correctly

I cannot reproduce. A gif would help if you still can
https://github.com/microsoft/vscode/assets/29464607/0b8f3f92-1d61-4d72-8519-d6496d576a8b

Thanks for the gif! I see what you mean now.
Since this requires a user to resize the window while the accessible view is shown, it's a rare edge case that I will not fix.

The problems occurs whenever the window is not maximized, regardless if the AV was already open or not.

The window is not maximized for me here and they work.
https://github.com/microsoft/vscode/issues/211074#issuecomment-2075710230

Maybe it's a windows only issue. I will try.

Ok, might be a glitch on my machine then. Thanks for checking.

thanks for the thorough testing. strange re your machine. here's my recording on windows.

Ha, I figured out why it sometimes works:

Adjust the width such that the AV is larger than the Search box that sits below (in the title) -> buttons don't register mouse
Widen the window such that the AV is smaller than the Search box -> mouse clicks registers and the buttons work
If the overlap is partial, only one of the buttons work (see video below)

https://github.com/microsoft/vscode/assets/1908215/3d4dc55a-41d1-4f7b-a5be-e846697850fd

Thanks for figuring this out. Since screen reader users will use the keyboard shortcuts, alt+[ ], instead of the mouse, this seems fine.


Flutter TextFormField keyboard reloads all the bloc even with the proper TextEditingController

I am creating a form where, for now, I have one dropdown button and TextFormField . Each time I click on the TextFormField and the keyboard comes out I notice all the bloc are reloaded. I read some place to set the TextEditingController done, but still its the same yet. Below is my code snippet. How else to resolve, so that it does not reload the bloc when I click open and close the keyboard on any TextFormField.
class _RegisterPageState extends State<RegisterPage> with SingleTickerProviderStateMixin {

  CountyListRepository _repo;
  RegisterNewUserRepository _registerRepo;
  GlobalKey<FormState> _key = new GlobalKey();
  final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();

  List titles =
  ["Mr", "Mrs", "Miss", "Madam"];

  List<DropdownMenuItem<String>> _titledropDownMenuItems;
  List<DropdownMenuItem<String>> _countydropDownMenuItems2 = new List();
  String _currentTitle;
  String _currentCounty;
  String title,firstName, middleName, surName, lastName, countyID, email, contactNo;
  bool isChecked = false;
  ApiBloc apiBLoC;
  TitleBloc titleBLoC;
  RegisternewUserBloc registernewUserBLoC;
  TextEditingController _searchController1;
  @override
  void initState() {
    _searchController1 = TextEditingController();
    _titledropDownMenuItems = getDropDownMenuTitleItems();
    _currentTitle = _titledropDownMenuItems[0].value;
    super.initState();
    _repo = new CountyListRepository();
    apiBLoC = new ApiBloc(_repo);
    titleBLoC = new TitleBloc();
    _registerRepo = new RegisterNewUserRepository();
    registernewUserBLoC = new RegisternewUserBloc(_registerRepo);
    //print("Login initstate check one signa id is "+widget.localOneSignalID);
  }
  List<DropdownMenuItem<String>> getDropDownMenuTitleItems() {
    List<DropdownMenuItem<String>> items = new List();
    for (String title in titles) {
      // here we are creating the drop down menu items, you can customize the item right here
      // but I'll just use a simple text for this
      items.add(new DropdownMenuItem(
          value: title,
          child: new Text(title)
      ));
    }
    return items;
  }

  void changedDropDownItem2(String selectedCounty) {
      _currentCounty = selectedCounty;
      apiBLoC.setSelected(selectedCounty);
  }
  void changedTitleDropDownItem(String selectedTitle) {
      _currentTitle = selectedTitle;
      titleBLoC.setSelected(selectedTitle);
  }

  @override
  void dispose() {
    apiBLoC.dispose();
    titleBLoC.dispose();
    registernewUserBLoC.dispose();
    super.dispose();
  }

  Widget build(BuildContext context) {
	return BlocProviderTree(
        blocProviders: [
          BlocProvider<ApiBloc>(
            bloc: apiBLoC,
          ),
          BlocProvider<TitleBloc>(
            bloc: titleBLoC,
          ),
    ],

    child: Scaffold(
      backgroundColor: Colors.white,
      key: _scaffoldKey,
        body: SafeArea(
             child: SingleChildScrollView(
              padding: EdgeInsets.symmetric(horizontal: 30.0),
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.center,
                  crossAxisAlignment: CrossAxisAlignment.stretch,
                  children: <Widget>[
                    Form(
                      key: _key,
                      //autovalidate: _validate,
                      child: formUI(),
                    ),
                  ],
                )
             )
        )
    )
  );
	}
  Widget formUI() {
    return new Column(
      children: <Widget>[
                   BlocBuilder(
                      bloc: titleBLoC,
                      builder: (BuildContext context, TitleState state) {
                        print("Build title dropdown "+state.toString());
                        if(state is TitleInitialState){
                          return DropdownButtonFormField(
                            //hint: Text('Select County'),
                            onChanged: changedTitleDropDownItem,
                            items: _titledropDownMenuItems,
                            value: _currentTitle,
                            decoration: InputDecoration(
                              labelText: 'Title',
                            ),
                            validator: validateDropDown,

                          );
                        }
                        else if(state is SetTitleSelectedState){
                          title  = state.selectedTitle;
                          return DropdownButtonFormField(
                            //hint: Text('Select County'),

                            onChanged: changedTitleDropDownItem,
                            items: _titledropDownMenuItems,
                            value: state.selectedTitle,
                            decoration: InputDecoration(
                              labelText: 'Title',
                            ),
                            validator: validateDropDown,

                          );
                        }
                        return Container(height: 0, width: 0,);

                      }
                    ),
                    SizedBox(
                      height: 10.0,
                    ),
                    TextFormField(
                      onChanged: (value) => firstName = value,
                      validator: validateName,
                      maxLength: 20,
                      decoration: InputDecoration(
                        labelText: 'First Name ',
                        //errorText: "Enter First Name",
                      ),
                      controller: _searchController1,

                    ),
                    SizedBox(
                      height: 10.0,
                    ),
                    TextFormField(
                      onChanged: (value) => middleName = value,
                      validator: validateName,
                      maxLength: 20,
                      decoration: InputDecoration(
                        labelText: 'Middle Name ',
                        //errorText: "Enter First Name",
                      ),
                      controller: _searchController1,
                    ),
                    SizedBox(
                      height: 10.0,
                    ),

Hello @newbieflutter !
Thank you for posting an issue.
Can you please also provide additional information such as an output of the flutter doctor -v command?
Also, it would be very helpful if you could create a self-contained repository with provided code. So that your issue could be easily reproduced.
Your question seems to be a good question for the StackOverflow as well. Flutter has a very active and helpful community there, so feel free to post it there too.
Thank you.

Hi Janmoppel,
Sorry I missed you earlier message here is the flutter doctor -v output.
flutter doctor -v
[✓] Flutter (Channel dev, v1.10.5, on Mac OS X 10.14.6 18G95, locale en-GB)
• Flutter version 1.10.5 at /usr/local/flutter
• Framework revision 3cf88fed6d (3 days ago), 2019-09-18 23:09:41 -0400
• Engine revision 33ad6757e8
• Dart version 2.6.0 (build 2.6.0-dev.0.0 cb80ea7ba9)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/shaisingh/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
! CocoaPods 1.5.3 out of date (1.6.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade:
sudo gem install cocoapods
pod setup
[!] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
! Doctor found issues in 2 categories.

Hi @newbieflutter
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Pull Dev

Changes:
"Added option to fortify buildings when using auto-garrison module.",
"Fixed issue where EZM factions would override new DLC factions. Now finds faction index by localized names.",
"Fixed script errors with Warning Systems.",
"Fixed script errors when using SIDES dialog row type.",
"Fixed various issues with auto missions. Specifically the convoy system.",
"Fixed script error when using building interior system."

Thanks code testing monkey!


Add semantic validation for vendor extensions

We need a way to register validators for vendor extensions.  An example is to be able to validate missing controller definitions for swagger-router.

Moving this to #140 since I think solving one should solve the other.


Get photo after liveness verify

I'm implementing the liveness system but I need to get the photo taken at the time of verification, but I didn't find a way to do this, I even tried to get a "print" of the preview on Android but it is displayed on a surfaceview, every attempt I make I did always return a blank image.
Is there any way to get this image still on android while checking this?

Hello, we have this feature in our v1.2-preview.1 APIs, you will need to update all your endpoints to specify v1.2-preview.1 for this to work:
For example: https://(endpoint)/face/v1.2-preview.1/detectliveness/singlemodal
Here’s the steps:

Set the “enableSessionImage” boolean to true when creating the session:

Get the “sessionImageId” from the session result:

Call the session/sessionImages/{sessionImageId} endpoint to get the image:

Hello, we have this feature in our v1.2-preview.1 APIs, you will need to update all your endpoints to specify v1.2-preview.1 for this to work: For example: https://(endpoint)/face/v1.2-preview.1/detectliveness/singlemodal
Here’s the steps:

Set the “enableSessionImage” boolean to true when creating the session:

Get the “sessionImageId” from the session result:

Call the session/sessionImages/{sessionImageId} endpoint to get the image:

What is the ID I give in step 2 in: /sessions/ID
I tried the sessionId using the bearer token that comes with the session creation, but I get this error:
{
    "error": {
        "code": "PermissionDenied",
        "message": "Access denied due to request URL not permitted by scopes specified within the token."
    }
}

@nabilat
I'm receiving "Access denied due to request URL not permitted by scopes specified within the token" when I request this "session/sessionImages/{sessionImageId}" URL.
Can you tell me the permissions?
I will use this in production, is it ok?

Works for us the only issue is the quality is all messed up. Not sure if encoding is weird but we did as a jpg. Is it base64 image or what is best format we should be doing to display this.
The image is pixelated oddly.

@sca1235 you know something about "Access denied due to request URL not permitted by scopes specified within the token"?

@sca1235 hello! can i see the code you used to format and see the image from the session/sessionImages/{sessionImageId} call

You can download it like this:
const axios = require('axios');
const fs = require('fs');
const path = require('path');
const url = 'https://YOUR_ENDPOINT/face/v1.2-preview.1/session/sessionImages/IMAGE_SESSION_ID';
const apiKey = 'YOUR_KEY';
const outputFilePath = path.resolve(__dirname, 'downloaded_image.png');
axios({
method: 'get',
url: url,
responseType: 'arraybuffer',
headers: {
'Ocp-Apim-Subscription-Key': apiKey
}
})
.then(response => {
fs.writeFileSync(outputFilePath, response.data);
console.log('Image downloaded successfully!');
})
.catch(error => {
console.error('Error downloading the image', error);
});

@cheymonty So I did some more debugging the problem appears only with certain device. Iphone, mac etc work fine.
Using an Microsoft Surface Laptop Studio 2 has this issue. Not sure if this is hardware or some software setting thats disrupting.
This is example of the pixelation


Issue with running gdb on ESP32 Wrover Dev Kit

Environment

Development Kit:   ESP32-Wrover-Kit

esp-idf-v3.0.3

openocd-esp32-win32-0.10.0-esp32-20180724

Development Env:		Command line

Operating System:	Windows

Problem Description
It appears that to run gdb on the ESP32 DevKit C, it's necessary to do things in this order:

Make and flash the program
Run OpenOCD
Run xtensa-esp32-elf-gdb

If OpenOCD is running before flashing the program nothing works.
The Espressif documentation says that OpenOCD should be running, then the program should be flashed, then gdb should be run: https://esp-idf.readthedocs.io/en/latest/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-command-line
So there's either a bug in the code or a bug in the documentation
Expected Behavior
OpenOCD should be running before flashing and starting gdb
Actual Behavior
If OpenOCD is running the gdb fails
Steps to reproduce
Using a ESP32WroverKit with built-in JTAG, follow the Espressif instructions to debug with JTAG in Windows to the letter, build and flash one of the IDF examples (for example blink), and you should see that dbg does not work.
Flash the program, then run OpenOCD, then run the xtensa gdb and hardware debugging should work.
Here is the gdb log:
GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/blink.elf...done.
0x400d1ffa in app_main () at C:/msys32/home/Robert/esp/blink/main/blink.c:45
45 vTaskDelay(1000);
JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
cpu0: Current bits set: BreakIn BreakOut RunStallIn
cpu1: Current bits set: BreakIn BreakOut RunStallIn
esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000
esp32: Core was reset (pwrstat=0x1F, after clear 0x0F).
Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400
Hardware assisted breakpoint 1 at 0x400d1fdb: file C:/msys32/home/Robert/esp/blink/main/blink.c, line 43.
Target halted. PRO_CPU: PC=0x400D1FDB (active) APP_CPU: PC=0x400D1816
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[New Thread<PHONE_NUMBER>]
[Switching to Thread<PHONE_NUMBER>]
Temporary breakpoint 1, app_main ()
at C:/msys32/home/Robert/esp/blink/main/blink.c:43
43 xTaskCreate(&blink_task, "blink_task", configMINIMAL_STACK_SIZE, NULL, 5, NULL);
(gdb)
(note that it says temporary breakpoint at app_main (as per the 'thb app_main' parameter)
----> Now some gdb commands
(gdb) n
Note: automatically using hardware breakpoints for read-only addresses.
Target halted. PRO_CPU: PC=0x400D1FF4 (active) APP_CPU: PC=0x40080340
[New Thread<PHONE_NUMBER>]
45 vTaskDelay(1000);
(gdb)
2nd N
(gdb) n
... nothing for quite a while then every 5 seconds or so one of these lines is printed:
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
and here is the OpenOCD log:
Open On-Chip Debugger 0.10.0-dev (2018-07-24-09:39)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
esp32 interrupt mask on
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
cpu0: Current bits set: BreakIn BreakOut RunStallIn
cpu1: Current bits set: BreakIn BreakOut RunStallIn

now run app

Info : accepting 'gdb' connection on tcp/3333
Info : Target halted. PRO_CPU: PC=0x4009170E (active) APP_CPU: PC=0x400D1816
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 23 KB
Info : Flash mapping 1: 0x20018 -> 0x400d0018, 77 KB
Info : Target halted. PRO_CPU: PC=0x4009170E (active) APP_CPU: PC=0x400D1816
Info : Auto-detected flash size 4096 KB
Info : Using flash size 4096 KB
Info : Target halted. PRO_CPU: PC=0x4009170E (active) APP_CPU: PC=0x400D1816
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 23 KB
Info : Flash mapping 1: 0x20018 -> 0x400d0018, 77 KB
Info : Using flash size 80 KB
Info : Target halted. PRO_CPU: PC=0x4009170E (active) APP_CPU: PC=0x400D1816
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 23 KB
Info : Flash mapping 1: 0x20018 -> 0x400d0018, 77 KB
Info : Using flash size 24 KB
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
cpu0: Current bits set: BreakIn BreakOut RunStallIn
cpu1: Current bits set: BreakIn BreakOut RunStallIn
Info : esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000
Info : esp32: Core was reset (pwrstat=0x1F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400
Info : Target halted. PRO_CPU: PC=0x400D1FDB (active) APP_CPU: PC=0x400D1816
----> After pressing 'N first time:
Info : Target halted. PRO_CPU: PC=0x400D1FF4 (active) APP_CPU: PC=0x40080340
----> After pressing 'N' 2nd time:
nothing for quite a long time then every 5 seconds or so a line is printed:
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816
Info : Target halted. PRO_CPU: PC=0x400D1FFA (active) APP_CPU: PC=0x400D1816

and here is the Blink code:

1	/* Blink Example
2
3	This example code is in the Public Domain (or CC0 licensed, at your option.)
4
5	Unless required by applicable law or agreed to in writing, this
6	software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
7	CONDITIONS OF ANY KIND, either express or implied.
8	/
9	#include <stdio.h>
10	#include "freertos/FreeRTOS.h"
11	#include "freertos/task.h"
12	#include "driver/gpio.h"
13	#include "sdkconfig.h"
14
15	/ Can run 'make menuconfig' to choose the GPIO to blink,
16	or you can edit the following line and set a number here.
17	*/
18	#define BLINK_GPIO 2
19
20	void blink_task(void pvParameter)
21	{
22	/ Configure the IOMUX register for pad BLINK_GPIO (some pads are
23	muxed to GPIO on reset already, but some default to other
24	functions and need to be switched to GPIO. Consult the
25	Technical Reference for a list of pads and their default
26	functions.)
27	/
28	gpio_pad_select_gpio(BLINK_GPIO);
29	/ Set the GPIO as a push/pull output /
30	gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);
31	while(1) {
32	/ Blink off (output low) /
33	gpio_set_level(BLINK_GPIO, 0);
34	vTaskDelay(1000 / portTICK_PERIOD_MS);
35	/ Blink on (output high) */
36	gpio_set_level(BLINK_GPIO, 1);
37	vTaskDelay(1000 / portTICK_PERIOD_MS);
38	}
39	}
40
41	void app_main()
42	{
43	xTaskCreate(&blink_task, "blink_task", configMINIMAL_STACK_SIZE, NULL, 5, NULL);
44	while(true){
45	vTaskDelay(1000);
46	}
47	}
Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
sdkconfig.zip

[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)

blink.zip

I was asked to run this again with -d3 on openocd. I attach the log.
OpenOCDLog.zip

This issue was moved to espressif/openocd-esp32#58


added file named aldhanekaa-get-number-of-words-and-number-of-sentences.js

added file aldhanekaa get number of words and number of sentences.js
If you are not satisfied with this file or algorithm,  I can create a new one!

@Aldhanekaa function name should match with the function name in filename and also add a single line description of the function


small refactoring of findOne func

combined two if statements into one: made quick research, since we use filepath.WalkDir, there is no need in returning fs.SkipDir value
removed strings.TrimPrefix. Under the hood it makes additional check, if string has pefix. Since we sure, that we always get file extension with dot, we don't need this check

Thank you @SkobelkinYaroslav for another great PR!


Component Framework global components are not correctly loaded when using pug + scoped style

Describe the bug
With Quasar I'm using the @quasar/vite-plugin v1.1.1 and the plugin property autoImportComponentCase: 'pascal'
When using this in combination with a template lang=pug and style scoped I get warnings and a blank white page with no rendered content.
At Quasar Land (Discord) we (@yusufkandemir, @patak-dev and me) already found out that there is a new incompatibility coming from @vitejs/plugin-vue >= v3 and that the template also gets applied a scoped query param where as when not using pug it does not.
 https://discord.com/channels/415874313728688138/902518756436226079/1002122942852902964
 https://discord.com/channels/415874313728688138/902518756436226079/1002127704138715176

Current workaround:
Using a css class named like the component and use that instead of scoped keyword.
Reproduction
https://stackblitz.com/edit/vitejs-vite-llrb6t?file=src%2FApp.vue,package.json,src%2Fmain.ts,vite.config.ts&terminal=dev
System Info
System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 4.91 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.4.0 - ~/.nvm/versions/node/v18.4.0/bin/node
    npm: 8.12.1 - ~/.nvm/versions/node/v18.4.0/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 15.5
  npmPackages:
    @vitejs/plugin-vue: ~3.0.1 => 3.0.1
    vite: ~3.0.3 => 3.0.3

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

The value of the autoImportComponentCase doesn't affect the behavior. (as long as you match it in your code of course)
Also, let me move over my text from Discord to here so that it's more readable and copyable.

If you use scoped css but not pug, it still works.
For some reason, when you pug and scoped css at the same time, the template also gets &scoped=... in the resource URL. And, the regex targeting the template can't match it, so the auto-loading gets disabled on that template.
HTML + Regular SCSS:
template: http://localhost:5173/src/App.vue
style: http://localhost:5173/src/App.vue?vue&type=style&index=0&lang.scss
HTML + Scoped SCSS:
template: http://localhost:5173/src/App.vue
style: http://localhost:5173/src/App.vue?vue&type=style&index=0&scoped=7a7a37b1&lang.scss
Pug + Regular SCSS:
template: http://localhost:5173/src/App.vue?vue&type=template&lang.js
style: http://localhost:5173/src/App.vue?vue&type=style&index=0&lang.scss
Pug + Scoped SCSS:
template: http://localhost:5173/src/App.vue?vue&type=template&scoped=7a7a37b1&lang.js
style: http://localhost:5173/src/App.vue?vue&type=style&index=0&scoped=7a7a37b1&lang.scss
The solution is to update to regex to allow it, but the question is whether this behavior of Vite is intended or not.

https://github.com/quasarframework/quasar/blob/bb44635a8e97210937eb3539968a6b6aa37ae778/vite-plugin/src/vue-transform.js#L6
export const vueTransformRegex = /\.vue(?:\?vue&type=(?:template|script)(?:&setup=true)?&lang\.(?:j|t)s)?$/

When using Pug + Scopes SCSS, if it's intended for the template resource query to also get scoped, I'll update the regex above to allow it. Do you know if it's intended?
Also, by any chance, do you know if there is a more future-proof solution than just doing this in our Vite plugin:
transform (src, id) {
  if (vueTransformRegex.test(id) === true) {
    return {
      code: vueTransform(src, opts.autoImportComponentCase),
      map: null // provide source map if available
    }
  } else if // ...

or perhaps loosen up the regex, or have a better way of following the changes on this kind of stuff? Any input is welcome!

the question is whether this behavior of Vite is intended or not.

This is intended. When lang or src attribute is not defined on <template>, it is inlined in the main request. So the URL ends with .vue.
https://github.com/vitejs/vite/blob/cd69358177dd3d93bc19084ad0ee09f6b85c047c/packages/plugin-vue/src/main.ts#L253-L255
When using pug, it is not inlined and scope=$id was added for build --watch (https://github.com/vitejs/vite/pull/7989).
When the template is inlined in the main request, this is not needed. So pug one includes scoped=7a7a37b1 but html one does not include it.

do you know if there is a more future-proof solution than just doing this in our Vite plugin

I think doing something similar to this would be more future-proof.
https://github.com/vitejs/vite/blob/cd69358177dd3d93bc19084ad0ee09f6b85c047c/packages/plugin-vue/src/index.ts#L180-L197
const f = id => {
  if (id.endsWith('.vue')) return true

  const { query } = parseVueRequest(id)
  return (
    query.vue &&
    (query.type === 'script' || query.type === 'template')) &&
    ('lang.ts' in query || 'lang.js' in query)
  )
}

@sapphi-red I wonder if plugin-vue should export some utilities to handle these cases. It could be easier to change internals later


Fixing panic when config file not found in core-data

Also removed double logging of the error.

I addressed this as well in all 3 core services with PR #17. Note that in PR #17 rather than removing the logging altogether, logs are written to the console if a config file can't be found. Also, "file not found" error isn't logged twice, but delineated between file being missing and json not being parse-able.
https://github.com/edgexfoundry/edgex-go/pull/17
Would suggest closing this PR and going with the one above.

Did you tried to run without a configuration.json file in your branch?
This is the result:
feclare@serrano:~/projects/gopath/src/github.com/edgexfoundry/edgex-go$ go run cmd/core-data/main.go
Error reading configuration file: open ./res/configuration.json: no such file or directory
ERROR: 2018/03/02 18:06:26 logger.go:135: Could not read configuration file(./res/configuration.json): open ./res/configuration.json: no such file or directory

There is double logging of the same problem. The printf calls inside the function can be removed as the error is always printed when there is an error.

Extra logging was removed from PR 17 per Fede's comment above. Therefore closing this PR.


Update raiseevent-statement.md

The previous code wasn't compileable in VBA. Edited the code to allow it to run.

Use vbNullString in place of  "" to make clear an empty string was intended.
Shorten delta time between raising the event to show updating textboxes as it runs.
Rename events to reflect their use.
Update to current worlds fastest time.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Language/Reference/User-Interface-Help/raiseevent-statement.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


client filter

can i ask whether mvc.grid support client filter now? for example:  when do filter, do not need to pull data from server again. do the filter based on current client data list.

This grid is only for server side rendering/data fetching.
If you need client side grid I would recommend using one of javascript based ones.

ok, i got. thx!


Add release

Would be neat to have a GitHub release where people can pull binaries without having to install the whole MS suite.

I compiled the program yesterday. I thought I would leave a link to it so others can use it without compiling it themselves. ProductivityTools.zip
It would be nice to have an official release though,

@afspeirs how can you add a file to this repo? https://github.com/ArthurHub/Productivity-Tools/files/ gives 404