Task: Implement lazy loading

Overview
Implements #2228
Demo
Optional. Screenshots, curl examples, etc.

Chunks before lazy loading

Chunks after lazy loading
Notes
Currently, Graph Explorer is loaded in a single bundle. With the app growing, this bundle is also increasing in size. The current bundle has a size a little over 1MB. This has an impact on the app load time as the whole bundle has to be loaded first for the app to become usable
Lazy loading splits the original bundle into smaller chunks so that what is needed on first-load is what is loaded initially. The lazily loaded components will be in their own chunks and will be loaded on demand
Testing Instructions

How to test this PR
Load the app on your browser
Click 'Request headers' tab
Notice that it is loaded on demand
Click on other components (Modify Permissions, Access token, Response headers, Resources etc.)

You could also explore only lazy loading non-essential modules, then chunking and loading all essential modules. Multiple smaller files might load faster than a single large file due to parallel network downloads. However, the chunk size also plays a part. If the chunks are too small, you waste time in creating the connection before downloading.

Noticed a few typos

Nice spotting @thewahome
I'd suggest that everyone uses the CSpell extension for VSCode, it really helps catch those kind of typos early.

@gavinbarron I'll add it as a recommended extension


Base-Grid-Layout, Sprites for icons

Coverage increased (+0.9%) to 85.101% when pulling 9c00226de667f4db47ee404a36e4617b7cdcd67d on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.5%) to 85.714% when pulling c8cca899444b8aeecaaa53893d6dfc3e70cf1d94 on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.5%) to 85.714% when pulling db1b4a375fe2ef249dccc16e5e8c4b1e388363dc on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.2%) to 85.496% when pulling 7c4a626cc1b17e3ba06e59566fbe03a8367b17a0 on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.2%) to 85.496% when pulling cb6bdd911be05dbecf46e4f5b76364a44c11f55b on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.2%) to 85.496% when pulling 5d55f78de241b6f3957697d197712f4973684461 on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.

Coverage increased (+1.2%) to 85.496% when pulling a6aba80184a1628d87c9d12efdd1e0815d6eabd2 on dev into 578f6c064f78c0bd32eccfd8e37baa2561aa19ec on master.


[WFLY-6393] Tests for Elytron integration with IIOP-OpenJDK Subsystem

It's a configuration for testing IIOP over SSL with elytron enabled.
https://issues.jboss.org/browse/WFLY-6393
https://issues.jboss.org/browse/EAP7-559

Retest this please


Cannot use staff chat

Whenever we try and use the staff chat we are given the message "Staff chat is currently disabled and cannot be used at this time."
The channel is setup correctly, we have discordsrv running, we can use discordsrv features in the staff chat too, we switched the global channel to send messages to the discord staff chat to make sure.
There is no errors or warnings, or any information about why the staff chat is disabled.
[2024-06-06T05:19:36] ========== Starting Debugger ==========
[2024-06-06T05:19:36] [ManageStaffChatCommand] [Status: Debug Toggle (Initial)] Is DiscordSRV installed and enabled? true :: Is DiscordSRV hooked? true :: Is staff-chat channel ready? true (TC:🗯・staff-chat(1221208914247290951))
[2024-06-06T05:19:45] [ManageStaffChatCommand] [Status: Debug Toggle (30 Seconds)] Is DiscordSRV installed and enabled? true :: Is DiscordSRV hooked? true :: Is staff-chat channel ready? true (TC:🗯・staff-chat(1221208914247290951))
[2024-06-06T05:19:52] [MessageProcessor] [Discord: Message] from(padawanamy#0) message("test")
[2024-06-06T05:20:03] ========== Disabled Debugger ==========

DiscordSRV version: 1.27.0
DiscordSRV-Staff-Chat version: 1.4.5
Paper version: paper-497 1.20.4
DiscordSRV config: https://pastebin.com/TPDcW02E
DiscordSRV-Staff-Chat config: https://pastebin.com/dc18FmXa

"Staff chat is currently disabled and cannot be used at this time."

There's no message like that in this plugin. Do you have any other plugins installed that could be interfering with the staff chat command?

oh interesting, I will investigate thanks


the field checkBox is not reasonable

This is a general checkbox

it's not have label at left
if set enclosedByLabel false checkbox is not have name and Not aligned

I need the effect like this

and Another issue, radioList hint should appear at the bottom, not on the right

Can you specify a correct markup for this case?

look this

can you understand that? red background area is checkbox name, label like othe is normal

I meant: can you provide HTML code, which produces correct checkbox appearance?

i'm set 'layout' => 'horizontal' you say this code?

allowsignup

<input type="hidden" name="SignupForm[allowSignup]" value="">

          <input type="checkbox"> Allow signup

What makes it different from the one generated by ActiveField?

This is the code currently generated

<input type="hidden" name="CommentForm[needLogin]" value="0"><input type="checkbox" id="commentform-needlogin" name="CommentForm[needLogin]" value="1" 0="Users must be registered and logged in to post a comment">
Need Login

it's not have label

@qiangxue 你能给他解释下吗？
checkbox 没有label，其他的都有，


{AzureRecoveryServices} fixes Azure/azure-sdk-for-python#27977 recovery_point_id property description

fixes https://github.com/Azure/azure-sdk-for-python/issues/27977 recovery_point_id property description
The current description for recovery_point_id property says "ID of the backup copy to be recovered." This is very confusing. Users might confuse it for the resource ID. The description should be made clear that it is "Recovery Point ID Name of the backup copy to be recovered."
ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
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.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] 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 the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For 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 you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

Hi @navba-MSFT  there are some ModelValidation errors. Could you please fix it?

@ArcturusZhang  @qiaozha  As there are CI-BreakingChange for Go and JS, Can you take a look at it for me.

LGTM.  @lirenhe, @zzvswxy could you please approve and proceed with merge!

Hi @hiaga  , I also send the PR to JS and GO SDK owner to check the CI-BreakingChange. And I will approve the PR, when they  confirm that there is no problem.


Fix boostrap typo

Fixes a typo (boostrap to bootstrap).

Awkward! 😅
Thanks for this, I clearly have boostrap blindness.

Happy to help! 👻


Support sass errors in error pages

See: Sass errors are not obvious as the kit uses previously compiled sass in .tmp

Support restarting nodemon when sass files are in error or not in error
Display SASS error page correctly including the line where the error occurs
Add new SASS error acceptance test
Fix acceptance tests affected by this change

I've just tried to run this, the following attempt lead to the kit failing to start (failing to show the error in the browser):

npx govuk-prototype-kit create --version=alphagov/govuk-prototype-kit#2170-sass-errors-are-not-obvious-as-the-kit-uses-previously-compiled-sass-in-tmp broken-scss-kit
cd broken-scss-kit
echo "body {" >> app/assets/sass/application.scss
npm run dev

Creating the error after the kit has started leads to the error appears properly in the browser as expected but the same does not happen if the error existed before starting the kit.
@BenSurgisonGDS could you take a look at that case please?

I've just tested a few things manually and found that breaking app/config.json now leads to the kit not starting.  Steps to reproduce:

npx govuk-prototype-kit create --version=alphagov/govuk-prototype-kit#2170-sass-errors-are-not-obvious-as-the-kit-uses-previously-compiled-sass-in-tmp broken-scss-kit
cd broken-config-kit
echo "body {" >> app/config.json
npm run dev

To see how it should behave (which is still not technically correct but it's the existing behaviour) just replace step 1 with:

npx govuk-prototype-kit create broken-scss-kit

It would be good to put a test in for this, but up to you whether that's done as part of this ticket or not.


Fix broken docs & use ghp for homepage

Currently, the crates.io page for the azure_sdk_storage_table is broken. This PR points to the docs.rs page.
Also, since you have a lovely project page, I made that the homepage field. Hope that's alright!

Nice! Thank you!


FATAL Failed to initialize Bus

I'm trying to run satstack on myNode Raspberry Pi 4.  I donwloaed go and compile it and manged to get it runing but now I get the following erro on start up. Something to do with wallet.dat already being loaded.
admin@myNode:/home/lss $ ./lss
[2021/02/13 - 02:57:55]  INFO Ledger SatStack (lss) v0.12.0                 arch=linux arm build= commit= runtime=go1.15.8
[2021/02/13 - 02:57:55]  INFO Config file detected                          path=lss.json
[2021/02/13 - 02:57:55]  INFO Warming up...
[2021/02/13 - 02:57:55] FATAL Failed to initialize Bus                      error=failed to load wallet: -4: Wallet file verification failed. Refusing to load database. Data file '/home/bitcoin/.bitcoin/satstack/wallet.dat' is already loaded.

No satstack folder!
admin@myNode:/home/bitcoin/.bitcoin $ ls -al
total 187940
drwxr-xr-x  6 bitcoin bitcoin      4096 Feb 13 03:23 .
drwxr-xr-x 21 bitcoin bitcoin      4096 Feb  5 19:22 ..
-rw-------  1 bitcoin bitcoin    224355 Nov 28 08:02 banlist.dat
-rw-r--r--  1 bitcoin bitcoin       970 Feb  5 19:21 bitcoin.conf
-rw-------  1 bitcoin bitcoin         5 Feb  5 19:21 bitcoind.pid
drwxr-xr-x  3 bitcoin bitcoin    131072 Feb 12 21:30 blocks
drwxr-xr-x  2 bitcoin bitcoin    114688 Feb 13 03:10 chainstate
-rw-------  1 bitcoin bitcoin        75 Feb  5 19:21 .cookie
-rw-------  1 bitcoin bitcoin   7792060 Feb 13 03:12 debug.log
-rw-r--r--  1 bitcoin bitcoin         9 Feb  5 19:21 env
-rw-------  1 bitcoin bitcoin    247985 Feb  5 18:40 fee_estimates.dat
drwxr-xr-x  3 bitcoin bitcoin      4096 Aug 20 14:52 indexes
-rw-------  1 bitcoin bitcoin         0 Oct 20 23:00 .lock
-rw-------  1 bitcoin bitcoin 183364248 Feb  5 18:40 mempool.dat
-rw-------  1 bitcoin bitcoin       820 Feb  1 02:37 onion_private_key
-rw-------  1 bitcoin bitcoin        99 Feb  5 19:22 onion_v3_private_key
-rw-------  1 bitcoin bitcoin    513189 Feb 13 03:23 peers.dat
-rw-r--r--  1 bitcoin bitcoin         7 Feb  5 19:21 settings.json
drwx------  3 bitcoin bitcoin      4096 Feb  5 19:21 wallet.dat

I have tried both ./lss and sudo ./lss

Same issue here.
C:\Program Files\Ledger Live> .\lss.exe
[2021/03/08 - 18:43:28]  INFO Ledger SatStack (lss) v0.12.0                 arch=windows amd64 build= commit= runtime=go1.15.5
[2021/03/08 - 18:43:28]  INFO Config file detected                          path=C:\Users\User/AppData/Roaming/Ledger Live/lss.json
[2021/03/08 - 18:43:28]  INFO Warming up...
[2021/03/08 - 18:43:28] FATAL Failed to initialize Bus                      error=failed to load wallet: -4: Wallet file verification failed. Refusing to load database. Data file '/home/bitcoin/.bitcoin/satstack/wallet.dat' is already loaded.

Since ... recently bitcoind has automatically loaded used wallets... I believe.
Currently
listwallets
[
  "wallet.dat",
  "spectercc965c6d9e62fa00/simple_",
  "satstack"
]

This isn't even an error, just confirmation that the desired state exists.  Any chance this could be addressed please.

I'm having the same issue - I need to run
bitcoin-cli unloadwallet "satstack"
before starting lss

Same issue.
Launching LSS for 2nd time.
INFO config file detected path=/home/user/.config/Ledger Live/lss.json
FATAL Failed to initialize bus
error=failed to load wallet: -4: wallet file verification failed. Refusing to load database. Data file '/bitcoin/.bitcoin/satstack/wallet.dat' is already loaded

I'm having the same issue - I need to run
bitcoin-cli unloadwallet "satstack"
before starting lss

Thanks, putting this RPC command as ExecStartPre in my lss systemd service file actually works around this issue. Of course this should not be necessary to do.

I'm having the same issue - I need to run
bitcoin-cli unloadwallet "satstack"
before starting lss

Thanks, putting this RPC command as ExecStartPre in my lss systemd service file actually works around this issue. Of course this should not be necessary to do.

agree this could be run inside lss if necessary to automate for users.

How do we run bitcoin-cli unloadwallet "satstack"? I run a rode with a raspberry pi and don't have access to run the script on the node.

Same issue. reproduce:
run bitcoind until current blockheight is reached
connect using ./lss
at 3% of indexing, run out of disk space, resize partition reboot, restart bitcoind
./lss will pretend "wallet satstack is already loaded"
current workaround:
setup bitcoin-cli for rpc/local use and
run bitcoin-cli unloadwallet „satstack“
restart ./lss


HDH-320-add-front-matter-to-take-in-a-canonical-url-single-url

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66de56ebc492f2425b853a70--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66dea4cc14f944e7142d9b6c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66df1052a883ce2083f75a70--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66dfd19a4e187801f51cdb0e--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66e07655ff06c46c47add93a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66e0812132dd1472d58c19b1--harness-developer.netlify.app


Generate documentation dropdown of versions

This will show a nice dropdown to select other versions of the
documentation.
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>https://github.com/openshift-pipelines/pipelines-as-code/assets/98980/37c77a45-be9b-4a81-a953-9e1ee8493c6b

lgtm

:tada:


Camera node has to be after Code node when running with Test-Utility

In order to run the app with Test-Utility, Camera node has to be defined after code node, otherwise, node.video_in.get() API fails with Assertion failure.

I also hit this bug. The apparent reason is that panoramasdk.getgraphdata.getlistofnodes() method writes two times two different object for the key video_in (contained in the node_name_edge variable) in the returned dictionary.
https://github.com/aws-samples/aws-panorama-samples/blob/4541c56f3c25289499674d748693e9b71888d094/samples/common/test_utility/panoramasdk.py#L233-L242
If the nodes are connected in the "standard" way, i.e.:
{
    "edges": [
        {
            "producer": "camera_input.video_out",
            "consumer": "code_node.video_in"
        },
        {
            "producer": "code_node.video_out",
            "consumer": "display_output.video_in"
        }
    ]
}

in graph.json, then node_name_edge will take two times the value video_in, once for the code node, next time for the camera node. They are enumerated in the order of the node list in graph.json, so if the code node comes after the camera node, it will fill the video_in input incorrectly with the code node value.
I tried to decipher what this edge dict (and other "data structures" in the code) are supposed to contain, but it honestly the quality of this code is so low that I could not figure it out.
If the owners decide to rewrite the emulator from scratch at once, I would be happy to partecipate.

@mrtj
Thank you for your comment. I worked on the fix from last week, and created a pull-request. As you wrote, it was difficult to understand the original code and was easier to rewrite.
This is pending Pull-request I created, and will merge soon : https://github.com/aws-samples/aws-panorama-samples/pull/33

The pull request was merged, and I confirmed that it fixes this issue. Closing.


modem.enableGPS() might get stuck due to misinterpreting the OK response

After starting up the A7670 and enabling the GPS functionality, the library sometimes fails to interpret the "OK" response. It does not happen on every boot but happens fairly often.
I'm using a SoftwareSerial connection with 38400 baud rate on the Waveshare board.
A corresponding failure timeout is missing too.
[...]
[5341] ### Modem: A7670E-FASE
[5341] ### Modem: A7670E-FASE
AT+CTZR=0

OK
AT+CTZU=1

OK
AT+CPIN?

+CPIN: READY

OK
Modem initialized
Enabling GPS...
AT+CGNSSPWR=1

OK
[15472] ### Unhandled: OK
AT+CGNSSPWR=1

OK
[26977] ### Unhandled: OK
AT+CGNSSPWR=1

OK
[38482] ### Unhandled: OK
AT+CGNSSPWR=1

OK
[49987] ### Unhandled: OK
AT+CGNSSPWR=1

OK
[61492] ### Unhandled: OK
AT+CGNSSPWR=1

OK
[...]

Sometimes it works, but the response is different:
+CPIN: READY

OK
Modem initialized
Enabling GPS...
AT+CGNSSPWR=1

OK

SMS DONE

+CGEV: EPS PDN ACT 1

+CGNSSPWR: READY!
GPS enabled
Setup finished

After using AT+CGNSSPWR=1, you must wait for +CGNSSPWR: READY!, otherwise GPS is not turned on.

I think the problem has to do with a restart of the esp32. The Modem is still turned on (as well as GNSS) and thus responds differently when turning it on again.


udpate clusterrole and binding apiversion in busybox liveness yaml

Signed-off-by: aman gupta<EMAIL_ADDRESS>

Codecov Report

Merging #138 (3ad6f48) into develop (7a24b3c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #138   +/-   ##
========================================
  Coverage    38.37%   38.37%
========================================
  Files           36       36
  Lines         3289     3289
========================================
  Hits          1262     1262
  Misses        1947     1947
  Partials        80       80

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 ce3f9b2...3ad6f48. Read the comment docs.


chore: Remove codecov

Recently Codecov has had several availability issues which prevent us from merging PRs on time as the checks get stuck with no recourse to trigger them.

Signed-off-by: Simar<EMAIL_ADDRESS>

For real? That was an option? :)


DWC App & Controls Annotations

The PR implements the first set of basic annotations to allow configuring the app & custom control/widget meta data. The final goal is to have an annotation for most of the BBjWebManager methods.
Example:
import org.dwcj.App;
import org.dwcj.annotations.AppMeta;
import org.dwcj.annotations.AppTheme;
import org.dwcj.annotations.AppTitle;
import org.dwcj.annotations.Attribute;
import org.dwcj.exceptions.DwcException;

@AppTheme("dark")
@AppTitle("Playground custom title")
@AppMeta(name = "author", content = "Hyyan Abo Fakher")
@AppMeta(name = "description", content = "This is a test app")
@AppMeta(name = "keywords", content = "test, app, dwc, bbj")
@AppMeta(name = "custom name", content = "custom content", attributes = {
    @Attribute(name = "custom-attribute", value = "custom attribute value"),
    @Attribute(name = "custom-attribute2", value = "custom attribute value2")
})
public class Playground extends App {

  @Override
  public void run() throws DwcException {
    msgbox("this is a test");
  }
}

Currently implemented:

AppTitle: Set the application title on the fly.  (Not the most useful one)
AppTheme: Set the application them on the fly.
AppMeta: Set one or more meta tags on the fly.

Notes

The PR does not expose the  BBjWebManager instance directly and processes the annotations internally before the app is run. Should we expose it or proxy it.(I think we should proxy all methods we want to expose)
The PR re-defines App::run method to throw a DwcException instead of DwcAppInitializeException. DwcAppInitializeException extends DwcException. Added too DwcAnnotationException

Rebased on pre-0.009
Refactored and added new methods in App.java to configure meta data.
Added AppDarkTheme annotation
Added AppLightTheme annotation

Sample
import org.dwcj.App;
import org.dwcj.annotations.AppDarkTheme;
import org.dwcj.annotations.AppTheme;
import org.dwcj.annotations.AppTitle;
import org.dwcj.exceptions.DwcException;

@AppTitle("My app title")
@AppTheme("system")
@AppDarkTheme("dark-pure")
public class Playground extends App {

  @Override
  public void run() throws DwcException {
    msgbox(getTitle());
  }
}

Added attributes annotation and methods

import org.dwcj.App;
import org.dwcj.annotations.AppAttribute;
import org.dwcj.annotations.AppAttributes;
import org.dwcj.annotations.AppTitle;
import org.dwcj.exceptions.DwcException;

@AppTitle("Playground custom title")
@AppAttributes({
    @AppAttribute(name = "custom-attribute", value = "custom attribute value"),
    @AppAttribute(name = "custom-attribute2", value = "custom attribute value2", selector = "body")
})
public class Playground extends App {

  @Override
  public void run() throws DwcException {
    msgbox(getTitle());
  }
}

Added @JavaScript annotation
Added @InlineJavaScript annotation
Added @StyleSheet annotation
Added @InlineStyleSheet annotation

These set of annotations can be used on the app or controls level. All implemented annotations have their own methods in App.java
The following is a simple QR Control based on shoelace which utilizes some of these features and how to use them on app and control level.

/* resources/css/style.css */
.app-panel .BBjWindow > .BBjPanel {
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

import org.dwcj.App;
import org.dwcj.annotations.AppTheme;
import org.dwcj.annotations.AppTitle;
import org.dwcj.annotations.InlineStyleSheet;
import org.dwcj.controls.panels.AppPanel;
import org.dwcj.controls.textbox.TextBox;
import org.dwcj.exceptions.DwcException;

@AppTheme("dark")
@AppTitle("QR Code Generator")
@InlineStyleSheet(value = "css/style.css", local = true, id = "app-bundle")
public class Playground extends App {

  @Override
  public void run() throws DwcException {
    AppPanel panel = new AppPanel();
    panel.addClassName("app-panel");

    String defaultValue = "https://dwcj.org/";

    QRCode qr = new QRCode(defaultValue);
    panel.add(qr);
    qr.setSize(200);
    qr.setColor(Color.ORANGE);

    TextBox editBox = new TextBox();
    editBox.setText(defaultValue);
    editBox.setExpanse(TextBox.Expanse.LARGE);
    editBox.setAttribute("placeholder", "Enter a value");
    editBox.onEditModify((e) -> {
      qr.setValue(editBox.getText());
    });

    panel.add(editBox);
  }
}

package org.demo;

import java.awt.Color;
import java.util.UUID;

import org.dwcj.annotations.Attribute;
import org.dwcj.annotations.JavaScript;
import org.dwcj.controls.AbstractControl;
import org.dwcj.controls.htmlcontainer.HtmlContainer;
import org.dwcj.controls.panels.AbstractDwcjPanel;

/**
 * QRCode Generator using Shoelace QRCode component
 *
 * @author Hyyan Abo Fakher
 */
@JavaScript(id = "shoelace-qr-code", url = "https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>attributes = {
    @Attribute(name = "type", value = "module")
})
final public class QRCode extends AbstractControl {
  private HtmlContainer hv;
  private final String uuid = UUID.randomUUID().toString().substring(0, 8);
  private String value;
  private int size = 65;
  private Color color = Color.BLACK;

  public QRCode() {
    super();
  }

  public QRCode(String value) {
    super();
    this.value = value;
  }

  /**
   * Get the UUID of the toast.
   *
   * @return the UUID of the toast.
   */
  public String getUUID() {
    return uuid;
  }

  /**
   * Get the value of the QRCode
   *
   * @return the value of the QRCode
   */
  public String getValue() {
    return value;
  }

  /**
   * Set the value of the QRCode
   *
   * @param value the value of the QRCode
   */
  public QRCode setValue(String value) {
    this.value = value;
    hv.executeAsyncScript("document.querySelector(\"[data-hv='" + getUUID()
        + "']\").querySelector('sl-qr-code').setAttribute('value', '" + value + "')");
    return this;
  }

  /**
   * Get the size of the QRCode
   *
   * @return the size of the QRCode
   */
  public int getSize() {
    return size;
  }

  /**
   * Set the size of the QRCode
   *
   * @param size the size of the QRCode
   */
  public QRCode setSize(int size) {
    this.size = size;
    hv.executeAsyncScript("document.querySelector(\"[data-hv='" + getUUID()
        + "']\").querySelector('sl-qr-code').setAttribute('size', '" + size + "')");
    return this;
  }

  /**
   * Get the color of the QRCode
   *
   * @return the color of the QRCode
   */
  public Color getColor() {
    return color;
  }

  /**
   * Set the color of the QRCode
   *
   * @param color the color of the QRCode
   */
  public QRCode setColor(Color color) {
    this.color = color;
    hv.executeAsyncScript("document.querySelector(\"[data-hv='" + getUUID()
        + "']\").querySelector('sl-qr-code').setAttribute('fill', '" + toHexString(color) + "')");
    return this;
  }

  /**
   * Create the control
   *
   * @param p the parent panel
   */
  protected void create(AbstractDwcjPanel p) {
    super.create(p);

    hv = new HtmlContainer("<sl-qr-code value='" + value + "' size='" + size
        + "' fill='" + toHexString(color) + "'></sl-qr-code>");
    hv.setAttribute("data-hv", getUUID());
    hv.setTabTraversable(false);
    hv.setFocusable(false);

    // add the control to the parent panel
    p.add(hv);
  }

  /**
   * Convert a color to a hex string
   *
   * @param color the color to convert
   * @return
   */
  private String toHexString(Color color) {
    return String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getBlue());
  }
}

Add @Link annotation

package org.demo;

import org.dwcj.App;
import org.dwcj.annotations.InlineStyleSheet;
import org.dwcj.annotations.Link;
import org.dwcj.annotations.StyleSheet;
import org.dwcj.annotations.Attribute;
import org.dwcj.exceptions.DwcException;

@Link(url = Playground.AppFont, id = "pacifico-font", attributes = {
    @Attribute(name = "rel", value = "preload"),
    @Attribute(name = "as", value = "style"),
})
@StyleSheet(url = Playground.AppFont, id = "pacifico-font")
@InlineStyleSheet(value = ":root{ --bbj-font-family: 'Pacifico'}")
public class Playground extends App {

  static final String AppFont = "https://fonts.googleapis.com/css2?family=Pacifico&display=swap";

  @Override
  public void run() throws DwcException {
    msgbox("Hello World");
  }
}

@StephanWald The PR is complete: please review it when your time allows so I can merge.
Summery
Annotations are processed using the AnnotationProcessor.java. When any of the control annotations
is used then they will be processed only when the control is attached to a panel.
All annotations use the public API defined in App.java
The PR re-defines App::run method to throw a DwcException instead of DwcAppInitializeException. DwcAppInitializeException extends DwcException.
Supported Annotations

AppTitle: (App Only) Set the application title. This annotation is not working perfectly yet because AppPanel keeps overriding the title when it is focused (To be discussed later with Jim)
AppTheme: (App Only) Set the application theme.
AppMeta: (App Only) Set one or more meta tags
AppDarkTheme: (App Only) Set the name of the dark theme to be used by the application when the current theme is system
AppLightTheme: (App Only) Set the name of the light theme to be used by the application when the current theme is system
AppAttribute: (App Only) Set one or more attributes to the application (html tag or different target specified by a selector)
StyleSheet: (App & Controls) Set one or more stylesheets to be loaded by the application. The annotation is used for external stylesheets. Duplications can be avoided by providing an ID
InlineStyleSheet: (App & Controls) Inline one or more stylesheets in the application. The annotation accepts too a local path to a file or a string with the content of the stylesheet. Bundling can be achieved by providing an ID
JavaScript:  (App & Controls) Set one or more JavaScript to be loaded by the application. The annotation is used for external JavaScript.  Duplications can be avoided by providing an ID
InlineJavaScript: (App & Controls) Inline one or more JavaScript in the application. The annotation accepts too a local path to a file or a string with the content of the JavaScript.
Link: (App & Controls) Set one or more links to be injected in the application (for instance fonts)

Samples are provided previously

Duplications reported by sonarcloud cannot be reduced. sonarcloud is not able to figure out that these are two Seperated annotations

Leaving PR in place so we can grab the documentation from it. Assigned to @mhawkinsbasis  for that purpose.
@hyyan how would one load a custom theme file that is created with the DWC Themer? @mhawkinsbasis may also want to add some sample code and maybe later do a video on how to use https://hot.bbx.kitchen/webapp/DWCThemer with DWCJ.

@hyyan how would one load a custom theme file that is created with the DWC Themer? @mhawkinsbasis may also want to add some sample code and maybe later do a video on how to use https://hot.bbx.kitchen/webapp/DWCThemer with DWCJ.

The file can be loaded from the jar resource (location can be configured with maven) folder using the InlineStyleSheet annnotation.
@InlineStyleSheet(value = "css/them.css", local = true)

Or if the theme is hosted somewhere in a web server then the @StyleSheet(url=".../theme.css") can be used.

We will probably also want to create a sample that allows the user to pick a theme file from his disk, so it's not coming with the code.


UI Improvement: Standardize spellcasting iconography

Currently, when a spell is dragged onto a character sheet, four options are given: Potion, Scroll, Spell, and Wand, each with their own icon:

Once the spell has been added to the character, it is also accompanied by an icon. The Potion and Scroll icons are consistent between menus, but the wand changes appearance (it now has sparkles) and is used for both wands and known spells:

I propose using a single wand icon <i class="fa-solid fa-wand-magic-sparkles"> for all wand related actions, and using a single spell icon (I personally think <i class="fa-solid fa-sparkles"> is very clear and visible) for spells cast from the character's known spells list.

Unfortunately we can't use fa-sparkles as it's part of the Fontawesome Pro set which would mean we would need to buy a license.
If you can find an alternative from the free fontawesome collection we can certainly consider that.


Update dependencies

The current version of feedparser and dateparser are no longer compatible with the source code. The latest versions of both packages work fine.  I updated pyproject.toml (and subsequently poetry.lock using the poetry lock command) to reflect that. I have also added a new entry in .gitignore to ignore macOS-generated system files (I use macOS), and added a new line at the end of __init__.py (just a habit!).

For those who are unable to use the package due to the outdated dependencies, you can fix the issue by running:
pip install -U --no-deps "dateparser>=1.0.0"
pip install -U --no-deps "feedparser>=6.0.8"

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:
python -m pip install "beautifulsoup4==4.9.1"
python -m pip install "dateparser==0.7.6"
python -m pip install "requests==2.24.0"
python -m pip install "feedparser==6.0.8"
python -m pip install --no-deps pygooglenews

This should work. (If it doesn't, check if the versions have changed in pyproject.toml for some reason)


"inputNdArray.copyFrom(imgRgbTranValues)"  in android_deploy takes very long time

my image inputSize is 256x256x3, according to android_deploy in TVM ,I transformed it to  float[256x256x3],then I use  NdArray.copyFrom() method transform it to Ndarray， NdArray.copyFrom()   takes more than 200ms，why this method take so long time？？

Is there other method i can  use instead of NdArray.copyFrom()

Please open a new thread on https://discuss.tvm.ai/

Please open a new thread on https://discuss.tvm.ai/

Thanks for your reply!Open a new thread does work, it only take 30ms.


Appstudio update test-component-pac-vtgd

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-vtgd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
13 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
38 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
47 seconds
label-check

✅ Succeeded
47 seconds
optional-label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-vtgd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
35 seconds
build-container

✅ Succeeded
15 seconds
inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
14 seconds
optional-label-check

✅ Succeeded
14 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary


IC-1106: Generate unique reference numbers for referrals

What does this pull request do?
Changes the hardcoded reference number of HDJ2123F to be dynamically generated using the following rules:

two random letters
four random numbers
two letters, generated from the service category name
avoid ambiguous pairs: 0/O, 1/I, 5/S, 8/B
generate unique reference numbers

Main decisions

to avoid migration problems and to prioritise sending the referral over reference number integrity, uniqueness is not enforced on a database level (it's not as important as successful sending), however, an index now exists for efficient uniqueness checks
🔬 to avoid database concerns in the generator, the responsibility of checking uniqueness was put into ReferralService in bb8a23b952b260042504011f2772df417d5e0a3d
👀 for observability, reference number clashes are logged as warnings in 7bf16ae8cb93ea128f2ab8431ecd0faa37682fd1
🦺 for safety, avoid unbounded retries in a11fb9e6572e5d659b5aa84a72552750c2655f84

How should I review?
Please review commit-by-commit.
If this is too much, we can remove/split the ambiguity, unique checks, logs, etc. commits for a slimmer version.
What is the intent behind these changes?
Generate human-readable, unambiguous reference numbers, similar to https://psychologymarc.medium.com/why-are-uk-postcodes-so-memorable-b0457e2e8a0d.

Comment on demo time:

Remove I and O letters entirely to avoid ambiguity

Ready for review: e9cc276edb790aac841c988e78fcb251fc5a3b04 addresses demo comment


Exception: cannot search any markdown file, please check usage: python3 /data/HuixiangDou-main/huixiangdou/service/feature_store.py workdir repodir

放在根目录


Agent restart breaks some connectivity tests

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Repro Steps: I set up a Cilium cluster (on Kind) and initialize the connectivity disruption test. Then, I restart the cilium agent and run the cilium connectivity test. The following tests fail:

client-egress-l7/pod-to-world/http-to-one.one.one.one
client-egress-l7-named-port/pod-to-world/http-to-one.one.one.one
pod-to-ingress-service/pod-to-ingress-service

Other observations:

I have never seen these tests pass despite numerous runs, so I'm not sure if they are considered flakes.
The same testing setup works if I only restart the operator, so I assumed they should be passing (?)
Not sure if there's a configuration issue on my side. I was mainly using the default Helm values from the Github action.
I looked into the client-egress-l7 test a bit and it seemed like the CiliumNetworkPolicy's http rule is breaking external connectivity after a restart (if I remove those lines, it seems to resolve the issue). The error for the HTTP request is a 403 due to the CNP.

Context: I was investigating migration from CEP -> CES on a cluster and testing whether connectivity breaks. However, this connectivity break seems to be independent of enabling CES. The steps to initialize a cluster that I was working with were basically the ones here (https://github.com/cilium/cilium/actions/runs/9120715263/job/25078600023).
Cilium Version
1.16.0
Kernel Version
Linux 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP x86_64 GNU/Linux
Kubernetes Version
v1.29.2
Regression
No response
Sysdump
cilium-sysdump-conn.zip
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

So you're splitting set up and execution of the tests somehow? What commands are you running?
Might just be that you're doing things in a way that the test suite doesn't expect.

Piggy backing on this, but I'm happy to open a new issue if preferred.
Specifically for egress gateway I believe agent restart seems to be over eagerly clobbering the nat map. This results in clients/servers having orphaned connections as no RST was sent.

@jubrad I think a new issue would be best indeed. The present issue is not specific to the egress gateway. Please include a sysdump and more details in the new issue :pray:

@jshr-w Drive-by comment: how exactly are you running the connectivity disruption tests? Keep an eye on the CPU usage of your nodes, because they can be configured in a way that they'll just flood packets as fast as they can, so on a small cluster, behaviour will be unpredictable.

I'm having issues with the following tests
Test [to-fqdns]:
  ❌ to-fqdns/pod-to-world/http-to-one.one.one.one-0: cilium-test/client3-868f7b8f6b-844c7 (<IP_ADDRESS>) -> one.one.one.one-http (one.one.one.one:80)
  ❌ to-fqdns/pod-to-world/http-to-one.one.one.one-1: cilium-test/client-69748f45d8-dcbbv (<IP_ADDRESS>) -> one.one.one.one-http (one.one.one.one:80)
  ❌ to-fqdns/pod-to-world/http-to-one.one.one.one-2: cilium-test/client2-ccd7b8bdf-5t87g (<IP_ADDRESS>) -> one.one.one.one-http (one.one.one.one:80)

when I test it from the pods
❯ kubectl -n cilium-test exec -it client3-868f7b8f6b-844c7 -- nslookup one.one.one.one
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: 2606:4700:4700::1111
Name:	one.one.one.one
Address: 2606:4700:4700::1001

❯ kubectl -n cilium-test exec -it client3-868f7b8f6b-844c7 -- curl http://one.one.one.one

<title>301 Moved Permanently</title>

301 Moved Permanently

cloudflare

kubectl -n cilium-test exec -it client-69748f45d8-dcbbv -- nslookup one.one.one.one && curl http://one.one.one.one
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: 2606:4700:4700::1001
Name:	one.one.one.one
Address: 2606:4700:4700::1111

<title>301 Moved Permanently</title>

301 Moved Permanently

cloudflare

❯ kubectl -n cilium-test exec -it client2-ccd7b8bdf-5t87g  -- nslookup one.one.one.one && curl http://one.one.one.one
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: <IP_ADDRESS>
Name:	one.one.one.one
Address: 2606:4700:4700::1001
Name:	one.one.one.one
Address: 2606:4700:4700::1111

<title>301 Moved Permanently</title>

301 Moved Permanently

cloudflare

yet they seem to work fine.  Is this what your seeing? I'm if not I'll open a new issue


Problem with .put after using angular.copy

While converting from $resource to Restangular, I came across an issue. When using angular.copy on a Restangularized object, modifying the copy, then doing a .put on the copy, the .put sends the old data. Should I be copying the object in a different way or is this a bug?
Restangular.one('thing', id).get().then(
	function(thing) {
		// thing.name is "Old Name"
		var thingCopy = angular.copy(thing);
		thingCopy.name = "New Name";
		thingCopy.put(); // Puts thing.name as "Old Name"
	}
);

Also something like below will still not work.
Restangular.extendModel('elements', function(model) {
    var updateOnSuccess = function(element){
        return function(updatedElement,a,b){
            angular.copy(updatedElement, element);  // next put sends old data
            // Restangular.copy(updatedElement, element);  // not implemented
        };
    };
    model.save = function() {
        this.is_saving = true;
        if(this.is_new){
            this.post().then(updateOnSuccess(this));
        } else {
            this.put().then(updateOnSuccess(this));
        }
    };
    return model;
});

I want to "replace" element with updated version from server. I thought I could use angular.copy as it seems to be desinged for that:

angular.copy(source, [destination]);
If a destination is provided, all of its elements (for arrays) or properties (for objects) are deleted and then all elements/properties from the source are copied to it.
But I run into bug mentioned here. The problem is Restangular.copy doesn't support destination.


fix: juju 2.9 compatible cos stack

Applicable spec: N/A
Overview
To fix integration tests that rely on juju 2.9, the latest COS is not backwards compatible with juju 2.9.
Rationale
Our operator workflows use juju 2.9 and many of the prod environments are in 2.9.
Juju Events Changes
None.
Module Changes
None.
Library Changes
None.
Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated.
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

This charm isn't deployed anywhere in production yet, is it? If not, I think it'd be better for us to focus on only supporting juju 3.1 and later. IS have plans to deploy Juju 3 controllers in PS5 this cycle, and any new deployments I think can rely on being on Juju 3. I realise that may mean some extra work now to get our workflows working with Juju 3, but I'm not sure we should invest time in making COS work on Juju 2.9 because (for instance) even if you pin the charm to a specific revision, the OCI image resource will always be the latest in that channel, so it might well not work as expected.


Enabling null checks in compile time

@domaindrivendev Would you be intrested in accepting a PR for enabling null checks in compile time?
I could enabling <-Nullable->enable</-Nullable-> for all the projects and fix any nullabillity issues discovered?
I ran into a issue where I missed to check for null in the Nullable Reference type PR, and theese kinds if misses can be avoided by enabling nullable checks at compile time :)

Any updates?

We'd be open to a PR to accept this, but if it's a big change it might have to wait for a release or two to be merged as we'd likely want to get bug fixes out without causing breaking changes at the same time.

https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/45a2cb71996868e71dc5cad9aef6f5e7cac533ba/Directory.Build.props#L12-L15


Retarget for .net 7

Retain net6.0 for those on LTS release
Remove .net 5 and netcoreapp 3.1
Change net461 to net462 and drop netstandard2.1
Also upgrades third party dependencies - inc. Test frameworks
Addresses: #32

Thanks for the PR. I will take a look when I got time.

I'm closing this due to lack of response. This issue has been completed in #43


a bug in regex replace

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.72.2
OS Version: win 10

Steps to Reproduce:
string replace gives wrong result.
replace wtih:
(;|,|[|]|(|)|*|/(?!/)|+|-|=|>|<)\s+
text contents to replace:
;
void deriv_expfonc(T,v,psi40,psi41,psi42,dpsi_ddelt40,dpsi_ddelt41,dpsi_ddelt42,dpsi_dtau40,dpsi_dtau41,dpsi_dtau42,ddpsi_dddelt40,ddpsi_dddelt41,ddpsi_dddelt42,ddpsi_ddtau40,ddpsi_ddtau41,ddpsi_ddtau42,ddpsi_ddeltdtau40,ddpsi_ddeltdtau41,ddpsi_ddeltdtau42){
rho=1.0/v;
delt=1.0/(rho_cr*v);
replace with $1
The result is:
$1
void deriv_expfonc(T,v,psi40,psi41,psi42,dpsi_ddelt40,dpsi_ddelt41,dpsi_ddelt42,dpsi_dtau40,dpsi_dtau41,dpsi_dtau42,ddpsi_dddelt40,ddpsi_dddelt41,ddpsi_dddelt42,ddpsi_ddtau40,ddpsi_ddtau41,ddpsi_ddtau42,ddpsi_ddeltdtau40,ddpsi_ddeltdtau41,ddpsi_ddeltdtau42){
$1   rho=1.0/v;
$1   delt=1.0/(rho_cr*v);
each line is started with blank spaces.

(;|,|[|]|(|)|*|/(?!/)|+|-|=|>|<)\s+ doesn't match anything in the text you shared, can you please help with providing the right data or regex?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

(;|,|[|]|(|)|*|/(?!/)|+|-|=|>|<)\s+ doesn't match anything in the text you shared, can you please help with providing the right data or regex?

(;|,|[|]|(|)|*|/(?!/)|+|-|=|>|<)\s+ doesn't match anything in the text you shared, can you please help with providing the right data or regex?

I am so sorry!
Some symbols such as "" and white space are automatically deleted when I updated the report. I have updated my topic with a few snaps.

Is the intent of the find/replace to drop trailing spaces on specific lines?
Can you repro the same issue with a simpler scenario like replaceing (^\s)*\s+$ with $1?

For me, this just drops the trailing spaces correctly.

example.txt
search with pattern: "(;|/(?!/))\s+"
replace with $1

That file doesn't have any trailing spaces after those characters, unless you are hoping for a multi-line search as in https://github.com/microsoft/vscode/issues/108368.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


unalignment of classification result on imageNet

thanks for the contribution .
I trained the 224 x 224 imageNet classification model, while the acc has a gap between mine and yours. Hope there could be the pretrained model and related setting.
Thanks.

thanks for the contribution . I trained the 224 x 224 imageNet classification model, while the acc has a gap between mine and yours. Hope there could be the pretrained model and related setting. Thanks.

Hello，can you tell me what is the result of your training model？How much is the gap with the paper？Thank you.

Thanks for your concerns, the pretrained weights are committed. I was trying to train the models in a smaller batch-size and observed a bit of performance drop (81.8 vs 82.0) in a single node (8x V100 or 3090 GPU) with 1024 batch-size or less. In fact, the results in the paper are trained under a batch size of 4096 with 32 A100 GPU for faster iterations of the experiments. Could you report your training setup?

It should be the batch_size and gpu version, sorry for the late reply.


skeletons

A tasks similarly to MeshTask  has to be created that takes a chunk of segmentation a produces all skeletons fragments in that voulme.
A second task, SkeletonTaskManifest has to be created to create a list of all fragments for a given segment id.

I am working on it in
https://github.com/seung-lab/denthin


[http-plugin] Missing traceparent header if WHATWG URL is used

What version of OpenTelemetry are you using?
0.2.0
What version of Node are you using?
10.17.0
What did you do?
Use a WHATWG URL (https://nodejs.org/dist/latest-v10.x/docs/api/url.html#url_class_url) in http.get() instead an options object or string.
e.g. in https://github.com/open-telemetry/opentelemetry-js/blob/v0.2.0/examples/http/client.js#L22 replace
http.get({ host: 'localhost', port: 8080, path: '/helloworld' }
by
http.get(new url.URL('http://localhost:8080/helloworld').
Also when using WHATWG URL + options like this:
http.get(new url.URL('http://localhost:8080/helloworld'), { headers: { 'x-foo': 'bar' } }
traceparent header is missing.
What did you expect to see?
traceparent header should be present
What did you see instead?
traceparent header is missing
Additional context
a missing traceparent header is causing disconnected spans.
The current implementation handles WHATWG URL objects like an options object and attaches a headers property to it. But node core is ignoring a headers property on WHATWG URL objects (see https://github.com/nodejs/node/blob/v12.13.1/lib/_http_client.js#L96 and https://github.com/nodejs/node/blob/v12.13.1/lib/internal/url.js#L1257.
If wanted I can try to create a PR to fix this.

Thanks for reporting this! Feel free to attempt to write solution and open a PR. :)


The link for cropped youtube-bb dataest in Baidu Driver is unavailable now.

Could you please upload the croped youtube-bb dataest again?The old link (https://pan.baidu.com/s/1xvgzU0pjQXXgVeJnK7vHSg) of baidu driver is unavailable now.

Duplicates with #302


Hang on receive when frame >= 126 bytes received

Sending a payload larger than 125 bytes cause the receive to hang in my aleph server.
According to the spec, if the length field is 126 bytes, then the following two bytes are used as the length. If the field is 127, then the following 8 bytes indicate the length. I'm not familiar with how the defcodec logic works in src/aleph/http/websocket/protocol.clj, but I'm guessing that the length isn't being parsed out and used correctly. I'm still looking at it but figuring it might be obvious to you.

This has been reported, and fixed in 0.2.1-SNAPSHOT.  Can you let me know if you still see the behavior with the newer version?

Sure enough! I looked at the source tree and issues list to see if anything looked relevant and didn't find anything. But glad to see it's working. Thanks!


Code Folding is Unreliable in Atom 1.32.0 with Tree Parser

I filled out a report for erroneous code folding in the Tree Sitter Github repo, as I wasn't sure if I should report it there or here, but I'm placing the link to that report , in case that was the wrong place to report it.

@JosephTLyons Yep, the right place is in the Atom repo. Tree-sitter only makes a syntax tree for the code, how this is used for features like code folding is specific to Atom.
Could you move the contents here and close the other issue?

The correct place to report this is https://github.com/atom/language-c. Please open a new issue there will the full issue template.
Also please include the the example code that you can fold in text.


CSS: Responsive Design

Adapt the layout for mobile

Should we close this ticket since we implemented bootstrap? or should we discuss how mobile layout should look like?


Automated cherry pick of #6810: fix: 避免openstack磁盘和存储窜位

Cherry pick of #6810 on release/3.0.
#6810: fix: 避免openstack磁盘和存储窜位

Codecov Report

Merging #6814 into release/3.0 will decrease coverage by 0.38%.
The diff coverage is 9.87%.

@@              Coverage Diff               @@
##           release/3.0   #6814      +/-   ##
==============================================
- Coverage         6.92%   6.53%   -0.39%
==============================================
  Files              541     556      +15
  Lines            91753   98580    +6827
==============================================
+ Hits              6351    6444      +93
- Misses           84880   91613    +6733
- Partials           522     523       +1

Flag
Coverage Δ

#aFlag
6.53% <9.87%> (-0.39%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/policy/policy.go
1.58% <ø> (+<0.01%)
:arrow_up:

pkg/cloudcommon/policy/resources.go
0.00% <ø> (ø)

pkg/cloudprovider/objectstore.go
2.51% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudprovider/securitygroup.go
0.00% <0.00%> (ø)

pkg/compute/models/buckets.go
1.23% <0.00%> (ø)

pkg/compute/models/cloudproviders.go
0.97% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/disks.go
0.54% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/guestdisks.go
0.57% <ø> (+<0.01%)
:arrow_up:

pkg/compute/models/regiondrivers.go
20.00% <ø> (ø)

pkg/compute/models/secgrouprules.go
4.20% <0.00%> (ø)

... and 41 more

Continue to review full report at Codecov.

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


fix broken installation link in README

Codecov Report

Merging #1321 into master will decrease coverage by 5.49%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1321     +/-   ##
=========================================
- Coverage   52.07%   46.58%   -5.5%
=========================================
  Files         134      134
  Lines       13080    13080
=========================================
- Hits         6812     6093    -719
- Misses       5434     6209    +775
+ Partials      834      778     -56

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-79.93%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-75.35%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-73.9%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-65.6%)
:arrow_down:

internal/backend/swift/config.go
34.37% <0%> (-56.25%)
:arrow_down:

internal/archiver/archiver.go
65.36% <0%> (+0.16%)
:arrow_up:

internal/backend/test/tests.go
59.2% <0%> (+0.56%)
:arrow_up:

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 eb59d28...7975992. Read the comment docs.

Good catch, thanks!


Remove Due Dates

The due dates for the assignment are inconsistent. Some include the day (Monday, Tuesday, etc. ). Some also have incorrect (th), like April 25nd at 11:59pm.
We can make them all consistent to be: Friday, June 3rd at 11:59pm
Moving forward, the fellowship will be completely asynchronous, with students completing units at their own pace. Remove the due date from every unit in the fellowship.

Claim! :)

Hi @ramanxg, just wanted to clarify if I should be changing the due dates to the format "Weekday, Month Day(st, th, etc) at 11:59pm" or all to "Friday, June 3rd at 11:59pm"?

Actually we decided we are going to remove all of the due dates. Moving forward, the fellowship will be completely asynchronous, with students completing units at their own pace.
For this issue, would you mind deleting all due dates?
(sorry for the last second change!)

Since the course is changing to self-guided pace, should I remove these sections on the syllabus as well?

Oh yes please!


MSVCP140D.dll Missing in 1.0 Version

Looks like the 1.0 beta version was compiled into the NuGet package as a debug package and not a release package.
Can we get 1.0.1 as a release package?
This will result in an error on a machine that doesn't have Visual Studio installed.
System.TypeInitializationException: The type initializer for 'Grib.Api.GribFile' threw an exception. ---> System.Exception: Can't load DLL #####\Grib.Api\lib\win\x86\Grib.Api.Native.dll ---> System.ComponentModel.Win32Exception: The specified module could not be found
--- End of inner exception stack trace ---
at Grib.Api.Interop.Util.Win32.LoadWin32Library(String libPath) in c:\Users\eric\GribApi.NET\src\GribApi.NET\Grib.Api\Interop\Util\Win32.cs:line 36
at Grib.Api.GribEnvironmentLoadHelper.BootStrapLibrary() in c:\Users\eric\GribApi.NET\src\GribApi.NET\Grib.Api\GribEnvironmentLoadHelper.cs:line 13
at Grib.Api.GribEnvironment.Init() in c:\Users\eric\GribApi.NET\src\GribApi.NET\Grib.Api\GribEnvironment.cs:line 64
at Grib.Api.GribFile..cctor() in c:\Users\eric\GribApi.NET\src\GribApi.NET\Grib.Api\GribFile.cs:line 45
--- End of inner exception stack trace ---
at Grib.Api.GribFile..ctor(String fileName)
at ####ReadGribFile(FileInfo fileInfo, Boolean keepGeoSpacialData) in ####\DayAheadForecastJob.cs:line 517
Also yes this box does have the VCRedist 2015. (choco install vcredist2015)
Update - 6/27/2017
I feel I should update and clarify here. It is not specifically the .net solution that needs updating to be compiled in release but rather the Grib.Api.Native.dll that needs to be compiled in release and not debug.

An interim workaround is to include MSVCP140D.dll as part of your app. Try adding it here \Grib.Api\lib\win\x86\, on PATH, or a well-known location.

@0x1mason While definitely not an ideal solution. It does work. However, I would highly recommend NOT doing this.
You will also need to add:
mfc140d.dll
mfcm140d.dll
msvcp140d.dll
msvcsr140d.dll
vcamp140d.dll
vccorlib140d.dll
vcomp140d.dll

They don't make it easy, do they?
On Jun 30, 2017 5:49 PM, "IdahoSixString"<EMAIL_ADDRESS>wrote:

@0x1mason https://github.com/0x1mason While definitely not an ideal
solution. It does work. However, I would highly recommend NOT doing this.
You will also need to add:
mfc140d.dll
mfcm140d.dll
msvcp140d.dll
msvcsr140d.dll
vcamp140d.dll
vccorlib140d.dll
vcomp140d.dll
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/0x1mason/GribApi.NET/issues/64#issuecomment-312380321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEX_-1YPtLVzUY1kNy8OPBjnVnslc9UHks5sJW1egaJpZM4OF3aP
.

If it were easy I wouldn't have a job. :)

@0x1mason As a heads up the VC++ Redist 2013 will cover anyone whom has this issue. Unfortunately VC++ 2015 Redist version will not.

Should be resolved by the new 1.0.0-beta2 I pushed up.

@0x1mason Just as a heads up. I have a new 2016 and the VC++ 2013 redis does not solve the problem with the latest you must use VC++ 2015 redis .


Implicit grant flow v3 (rebased #271)

This PR rebases #271 with the dev branch.

Builds are failing with error oci runtime error: exec failed: container_linux.go:265: starting container process caused "could not create session key: disk quota exceeded". How can I fix that?

@adieuadieu Any chance you can get these changes in?

@mjsalinger Ah! Yes. This got lost in the shuffle. Will push some tests in the next day. Looks like there are also some new merge conflicts.

@mjsalinger tests added, conflicts resolved.

Hey @mjsalinger — anything else I can do to help get this merged / published to NPM?

@adieuadieu @conorot I'm sorry this has been taking so long. I plan on reviewing/merging pending PRs this weekend.

Any news on this?

@adieuadieu can u show some example how to implement implicit grant flow? I guess I found bug with authroization_code...

@miloszsobczak — Not sure exactly what you're looking for.
An implicit grant flow starts with a request like this:
https://your-oauth.com/oauth/authorize?response_type=token&client_id=FOOBAR&redirect_uri=https://somewhere.com&scope=SCOPES&state=STATE
Assuming that the user has already authorized the client, the response from the above request will be a redirect to https://somewhere.com#access_token=FOOBAR.
The authroization_code grant_type isn't involved in the implicit grant flow. In the implicit grant flow you don't need to exchange a code for an accessToken. The token you get back during the implicit grant flow is the accessToken.

@adieuadieu thanks for quick response. Yeah, I totally get it, but anyway I have problem with model for implicit flow. Can u provide some example?


[RFC] Code-gen AST types

This also adds __slots__ to AST nodes. (#30)

lgtm. only thing i see is that s += in __repr__ should be done with a .format() instead - but __repr__ really isn't a prod codepath anyways.

Looks like a lot of places self.loc isn't being compared or cloned.


Update "Usage with React"

This builds on top of https://github.com/rackt/redux/pull/1186 with some changes I wanted to make to the wording and structure. "Usage with React" looks done to me (although improvements are welcome!)
Right now I really want somebody to contribute a few things here:

Update https://github.com/rackt/redux/blob/___react-docs-update/docs/basics/ExampleTodoList.md to match the source code from the new "Usage with React"
Update https://github.com/rackt/redux/blob/___react-docs-update/docs/recipes/ComputingDerivedData.md to match the new example (should be just a few tweaks, e.g. it should feature VisibleTodoList rather than App component)
Update https://github.com/rackt/redux/tree/___react-docs-update/examples/todos-with-undo to also match that source code (except for the undo part, obviously)
Update https://github.com/rackt/redux/blob/___react-docs-update/docs/recipes/ImplementingUndoHistory.md to match the new todos-with-undo example

Help greatly appreciated because I'm busy but I really really want to ship this.
Please post in this thread if you'd like to take some part of this work.

cc @omnidan who owns todos-with-undo, maybe you've got some time to help?

I will go for the first bullet point: basics/ExampleTodoList.md

To make it super clear, the new "Usage with React" is here:
https://github.com/rackt/redux/blob/___react-docs-update/docs/basics/UsageWithReact.md

@gaearon @pedrottimark Perhaps this can be helpful. It is the source code used for the update to Usage with React. I didn't include tests, otherwise the code is complete.

@urbanvikingr Do you think it would be more efficient and less risk of error for you to do it? No offense taken, if you have time and want to.

Note there were mixed code styles in previous PR. I tried to amend those to match our code style enforced by the linter.

@gaearon So the goal is on ___react-docs-update branch: copy each chunk of code from UsageWithReact.md paste it where it goes in the order of ExampleTodoList.md but leave all other code there which is not in the intersection unchanged (for example, Action Creators and Constants).

@gaearon Hopefully the Pooh Bear brain of a hybrid writer-designer-developer doesn’t drive you crazy.

In Usage, the Presentational Components have two different orders.
It might help smooth things out if the order under Implementing Components changes to become consistent with the order previously established under Designing Component Hierarchy: TodoList, Todo, Link, Footer, App.
If you agree, should I include that in the pull request?

What do you think if the major and minor order of source for the components in the lower half of Examples becomes parallel with Usage?
That is, Presentational Components, Container Components, Other Components
Specific minor order depends on answer to preceding question.

So the goal is on ___react-docs-update branch: copy each chunk of code from UsageWithReact.md paste it where it goes in the order of ExampleTodoList.md but leave all other code there which is not in the intersection unchanged (for example, Action Creators and Constants).

For the rest of the code, use code from https://github.com/urbanvikingr/todo/. It's based on my Egghead tutorials.

It might help smooth things out if the order under Implementing Components changes to become consistent with the order previously established under Designing Component Hierarchy: TodoList, Todo, Link, Footer, App.

I agree order should be consistent. We should strive to maintain “first declared, then used” order. So Todo should be before TodoList.

What do you think if the major and minor order of source for the components in the lower half of Examples becomes parallel with Usage?

Yes, order everywhere should be consistent. Thanks for helping!

@gaearon Thank you as always for your patience to explain. Super, I will use “first declared, then used” order as the guiding principle when there is an inconsistency. Am keeping notes as other little things come up to ask as a batch tomorrow.

:+1:

@pedrottimark
I gave you the commit bit so please feel free to edit the branch right as part of this PR. I'd like if you could flush your temporary progress so we have some shared bits others could use for the rest of the bullet points.

@pedrottimark I can update source code for ToDo this weekend.

I'll take the second bullet: recipes/ComputingDerivedData.md

@jakegardner Thank you!

@gaearon Three questions about your house style for source code:

Quotation marks: Have previously been single. Videos use double. So now Usage has single in import statements and double in the updated code. Okay that way?

Constants for actions and filters: Videos and updated code in project from which I pasted use string literals instead of constants. Okay?

propTypes for component functions: So far I kept the existing propTypes and added it for one new function. Keep or remove?

For style, check what our linter settings allow. You can paste code into examples and npm run lint in the root to verify. From what I remember our settings prefer single quotes in JS but double quotes in JSX.
I don't mind string liberals in this example.
We should always use propTypes. If they are missing we should add them.

@gaearon You remember correctly about the quote marks. Am finished unless I find anything incorrect or inconsistent when I proofread the two files in Markdown viewer tomorrow with fresh eyes.
@urbanvikingr Decided to go ahead. Thank you for putting the ball in play by updating according to the videos. The smaller chunks make these pages even easier to understand than before.

@pedrottimark Thank you very much. Can we check off the first item from the todo list?

(I meant the todo list in the first post in this thread :-)

@gaearon Yes!

:+1:
@jakegardner Still up for the second point? We've got the sample code you can base the article update upon in https://github.com/rackt/redux/blob/___react-docs-update/docs/basics/ExampleTodoList.md now. You could just concentrate on these functions:
const getVisibleTodos = (todos, filter) => {
  switch (filter) {
    case 'SHOW_ALL':
      return todos
    case 'SHOW_COMPLETED':
      return todos.filter(t => t.completed)
    case 'SHOW_ACTIVE':
      return todos.filter(t => !t.completed)
  }
}

const mapStateToProps = (state) => {
  return {
    todos: getVisibleTodos(state.todos, state.visibilityFilter)
  }
}

and show how to re-implement them with Reselect efficiently.

Sure, working on it now.

@pedrottimark Thank you.
@gaearon I will update todos-with-undo example. It is very similar to my update of the todo example.

@jakegardner @urbanvikingr Awesome, thx!

Ok, pretty much ready for review, just one part I'm not sure about.
Should the visibleTodosSelector still be added to the connect function, and assign todos to visibleTodos -OR- just use visibleTodosSelector directly in the todos assignment?

Can you show how code is different for these cases?

Using connect:
import { visibleTodosSelector } from '../selectors/todoSelectors'

const mapStateToProps = (state) => {
  return {
    todos: state.visibleTodos // ?
  }
}
...
const VisibleTodoList = connect(
  visibleTodosSelector,
  mapStateToProps,
  mapDispatchToProps
)(TodoList)

Without:
...
import { visibleTodosSelector } from '../selectors/todoSelectors'

const mapStateToProps = (state) => {
  return {
    todos: visibleTodosSelector.visibleTodos // ?
  }
}
...
const VisibleTodoList = connect(
  mapStateToProps,
  mapDispatchToProps
)(TodoList)

Neither of these seem exactly right to me. If we add visibleTodosSelector to connect, that should expose visibleTodos and visibilityFilter to props, right? Then would just need to update TodoList to accept visibleTodos, but not sure how visibilityFilter then maps to FilterLink.
You can see my progress so far at https://github.com/rackt/redux/commit/5ccf18b0e1055e7b89f10456d4057b124ad5302a

I'd imagine something like this: (pardon the renames)
import { getVisibleTodos } from '../selectors'

const mapStateToProps = (state) => {
  return {
    todos: getVisibleTodos(state)
  }
}
...
const VisibleTodoList = connect(
  mapStateToProps,
  mapDispatchToProps
)(TodoList)

I don't see the value in *selector suffix.

I agree terse names are better, but then it would be the same as the non-memoized version. What do you suggest?
Maybe I'm missing something. The output of createSelector() is a function that returns the memoized state. In the previous version of this document, that output was mapped as props to the child components of App. Now that we're doing the filtering in VisibleTodoList without a render method, I'm not sure how to map the output of createSelector() (via visibleTodosSelector) to child props.

Doesn't my example show how? Call selector from mapStateToProps. I think :-)

Ok, I was trying to not modify the selector definition. But as you wish :-)
Have a look: https://github.com/rackt/redux/pull/1295

Found a bug https://github.com/rackt/redux/pull/1332

@gaearon I'm updating todomvc example first. Already updated the source code, just need to complete tests. Check https://github.com/rackt/redux/pull/1334 for progress.

@gaearon I suggest that I rename todomvc example to todos. When I update the todos-with-undo example, I will use the file structure as in the todos example. Agree?

The problem is that todomvc has more "stuff" than todos-with-undo. But I agree it's weird they are so different. Do as you think is best, and I'll take a look later!

OK, I'm going to rename todomvc to todos and fix the tests. Then we can decide whether to add additional functionality or not. Right now, I think that we need to align examples with documentation, so newcomers can follow.

Decided to keep the todomvc example and add todos. I could use some help with unit test of components and containers in the todos example.

@urbanvikingr Where can I find the latest version you were working on?

bug in doc https://github.com/rackt/redux/pull/1332
todos https://github.com/rackt/redux/pull/1334 (just saw that it now has merge conflicts)
Perhaps we can merge doc updates?

@urbanvikingr I’ll take care of merge conflicts, thanks. Let me take some time and I’ll merge todos in this PR.

@gaearon Awesome. Thanks. Then todos are merged, I will update doc references from todomvc to todos. Perhaps this weekend, I have time to look into unit testing of components and containers.

Thanks to everyone involved! This is up: http://redux.js.org/docs/basics/UsageWithReact.html


memoize-async throwing exception when ECONNRESET occurs

So I am running into this on Windows 8.1 x64 w/ node latest. I suppose one of the URL's I am hitting his causing it, but is there any way to catch an error w/ one URL and continue?
D:\MadGlory\cap\node_modules\pageres\node_modules\memoize-async\index.js:91
        throw err;
              ^
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at TCP.onread (net.js:558:19)

@chiefy ping.

@kevva sorry. So yeah I guess my point wasn't so much that an exception was getting thrown, but I was trying to write a script that takes an input of a bunch of site URLs and then loops through them and grabs a screenshot. What is happening is that I have no way of catching that exception (correct me if I am wrong). I was working on a possible solution, but haven't had a chance to finish.

@chiefy He was pinging for this:

Can you please include the full stacktrace (meaning the full output from the terminal)?

We need the full stacktrace to debug this.

@chiefy, are you still seeing this?

@kevva I haven't had a chance to really get into it, so I will close. Thanks for pinging me though.


Implement LINQ extensions

https://github.com/iivchenko/Darch/blob/master/Shogun.Utility/Extensions/EnumerableExtensions.cs

Well done!


What is the License of this project?

Hello, sorry for disturbing you. I would like to know the license of this project, and whether I can use this code as the basis for another of my projects.
The license on that project is LGPLv3.
Of course, I will credit you.
Thanks!

I would like to add: Perhaps it may be wise to add a license on your projects, especially if someone wants to use them, or their code, as legally no one is allowed to use it.
https://choosealicense.com/no-permission/

I've assumed permission for now, as this project is used in GTCE, and someone who knows you said you shared it out so others can use it.
If this is not the case, feel free to comment!

Hi, I added a license (Unlicense), feel free to do whatever you want :)

Thanks!


Update vista3d to use MONAI components

Fixes # .
Description
A few sentences describing the changes proposed in this pull request.
Status
Ready/Work in progress/Hold
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build

/build

Hi @KumoLiu ,
Yes, I tested with multiple sample images and visualize the results

/build

/build


[doc] updated JS Framework & virtual-DOM specs

added third-party JS Framework registration
updated virtual-DOM APIs description

separated: (public) members, internal members, read-only members
details supplement

@yuanyan @terrykingcha @luics please have a check in order.
Thx.

This branch is too old and I will repick another clean branch to pr again later


hotfix: add defer

Coverage increased (+6.6%) to 87.087% when pulling 0a7acca9047bbb2a7812ca3bc8a63ec1bcb2b06f on hotfix into 53bc741a02206a7bea8228eb750e2d3a57b3a1a1 on master.


GEODE-9322: Fix possible race condition on new ITs

Solved a potential race condition in TransactionCleaningTest TS
due to the fact that no checks were performed after starting/stopping
the server.
Added gmock_actions helper to avoid gmock actions duplication.
Modified RegisterKeysTest to use gmock_actions helper.

If @pdxcodemonkey @pivotal-jbarrett @mreddington @alb3rtobr @mkevo @mivanac @jvarenina could take a look at this, I'd appreciate it quite much!
Also note that PR #806 depends on this PR, given the fixed IT fails pretty frequently.

Looks good - though I don't fully understand the nature of the race condition you mention, I trust you've been over the details and fixed.

Regarding this, basically it solves race condition in which the test proceeds before the server is actually stopped. Note that gfsh command "stop server" is not synchronous, so after its execution the server could be still up.

Quick question - this part of your description: "Modified RegisterKeysTest to use gmock_actions helper." I see no changes to RegisterKeysTest. Are they missing, or is your PR description just out of date?

Thanks for noticing this. As it seems to me, I made this fix along with PR #809, so in order to make the changes work there was some duplicity on both PRs, as #809 was merged I guess the delta doesn't show the RegisterKeysTest anymore. I'll update the description.
Just a comment: I would like to improve the readability for the code in general and ITs in particular. So do you think it is possible to add a comment on ITs with a short description of what it does, as well as what's the test for?

I agree it'd probably be a great idea to document the tests intent in Doxygen comments or similar.  Perhaps bring this up on the dev list or just file a JIRA ticket.  I don't think we wish to bother with the "old" tests, but for sure everything in the new suite should be properly understood.


ERROR: CreateProcessEntryCommon - unable to login to WSL after import

Windows Version
Microsoft Windows [Version 10.0.22631.3296]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[X] WSL 1

Kernel Version
Linux version 4.4.0-22621-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #2506-Microsoft Fri Jan 01 08:00:00 PST 2016
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
New computer, new Windows 11 Pro instance, no insider versions.
I have one distribution installed, Ubuntu WSL1, previously created in Windows 10. It was created manually using "the server method" outside the system disk.
Distro imported by:
wsl.exe --import distro "<path>\distro" "<path>\distro.tar"
There is a /etc/wsl.conf with
[user]
default=username
Expected Behavior
wsl ~ -u username
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 4.4.0-22621-Microsoft x86_64)
...
Actual Behavior
wsl ~ -u username
<3>WSL (95) ERROR: CreateProcessEntryCommon:496: chdir(/home/username) failed 13
<3>WSL (95) ERROR: CreateProcessEntryCommon:505: execvpe /bin/bash failed 13
<3>WSL (95) ERROR: CreateProcessEntryCommon:508: Create process not expected to return
Diagnostic Logs
No response

The first error seems to be while trying to change WSL directory to the current directory of execution.

Logging in as root with
wsl.exe ~ -u root
works as expected.

I also tried to create a new user account by as root issue
useradd --create-home --shell /usr/bin/bash --user-group --groups  adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev --password $(read -sp Password: pw ; echo $pw | openssl passwd -1 -stdin) newuser
then
wsl ~ -u newuser
Same result.

Thank you @BeErikk. Based on the output it looks like your distro might be missing some files.
What's the output of wsl -d <distro> -u root file /bin/bash  and wsl -d <distro> -u root ls -la /home  ?

Thanks for answering @OneBlue!
wsl.exe -d ubuntu-wsl1 -u root file /bin/bash
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 4.4.0-22621-Microsoft x86_64)
...
wsl.exe -d ubuntu-wsl1 -u root ls -la /home
total 0
d--------- 1 root    root    4096 Mar 22 15:20 .
drwxr-xr-x 1 root    root    4096 Jan  1  1970 ..
drwxr-x--- 1 BeErikk BeErikk 4096 Mar 22 15:20 BeErikk
d--------- 1 root    root    4096 Mar  2 12:09 <realuser>
BeErikk is the extra user account I tried to add,  is my Windows account name. Computer and I as a user are also part of Active Directory.

Ok so it looks like 'username', which is what wsl.conf points to doesn't exist. You need to update /etc/wsl.conf to map to a user that actually exists and that has a home directory (like BeErikk or ).

What was the output of:

useradd --create-home --shell /usr/bin/bash --user-group --groups  adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev --password $(read -sp Password: pw ; echo $pw | openssl passwd -1 -stdin) newuser
``` ?  This command might have just failed and ended up not actually creating the account

Thanks very much @OneBlue!
I think even if I now have a new machine and upgraded to Windows 11, my Windows username is exactly the same since it is stored in Active Directory (if it matters) and that name is also the name I used in WSL. Everything in WSL should be as I left it on my old Windows 10 machine. The migration should work as I understand it. It didn't and I resorted to installing a new WSL 1 Ubuntu instance.
Again thank you for your effort!


Installation Steps Ubuntu 16

Hello,
Thank you for the great work on this project!
I am new to C, and the time saved in using the notebooks vs compile then run, is very noticeable.
It also makes for a much nicer work flow.
These are the steps I used to install the jupyter-c-kernel.
The only difference is using pip3 and install ipykernel.
sudo pip3 install jupyter-c-kernel
git clone https://github.com/brendan-rius/jupyter-c-kernel.git
cd jupyter-c-kernel/
jupyter-kernelspec install c_spec/
sudo pip3 install ipykernel
jupyter-notebook

Thank you for your contribution!
I am closing this as this is not really an issue that has to be solved, and also because installation method has changed :)


text_detection remove setBatchSize()

IE doesn't recomend using setBatchSize() and for that demo using it leads to errors.

Jenkins please retry a build


Rebranding Camel Labs to Rhiot

Here are some things we need to cover in order to change the name of the project from Camel Labs to Rhiot:

create new logo (#142)
rename camel-labs-iot-foo artifacts to riot-foo i.e. flatten the project structure
we should rename Java packages and Maven groupIDs com.github.camellabs to io.rhiot
in general we should search project we the labs word and perform the necessary refactoring
move projects from camel-labs GitHub organization to rhiot
add note in the camel-labs/camel-labs README file that the project has moved
rename Travis CI build
rename project in licenses

We do own the rhiot.io domain.

Sonatype account for io.rhiot created.

I hope you guys were aware of RIOT OS when deciding the new name? I fear the similarity of the two names brings some confusion :( At least it confuses me, for sure.

Actually we were not. Many thanks for bringing this up.
I personally think that "JBoss Rhiot" is still pretty distinguishable from the "Riot OS", but let me check this with out product management team.

@hekonsek do you mind updating the information in the readme.md that refers to camel-labs, eg so that the migration is done for this file.

Here's another riot thingy: https://riotgear.github.io/

@davsclaus I will continue the migration efforts when I'm back from the
vacation.
On Tue, Aug 4, 2015, 15:26 Geert Schuring<EMAIL_ADDRESS>wrote:

Here's another riot thingy: https://riotgear.github.io/
—
Reply to this email directly or view it on GitHub
https://github.com/rhiot/rhiot/issues/147#issuecomment-127610714.

--
Henryk Konsek
http://about.me/hekonsek


Remove web, interactive default, tox, linting, mypy

Depends-On: https://github.com/ansible/ansible-zuul-jobs/pull/852
Remove the web socket support
Add pylint and mypy
Move what could be moved into pyproject.toml
Linting as needed
Remove lint script from POC
just tox works for a pre PR check locally

recheck

recheck

recheck

recheck

recheck

recheck


Switch to go-swagger for client lib and checks for IRON_TOKEN

This is just for review, to see if this looks like the right way to do the auth.

@treeder
Could we replace IRON_TOKEN for just AUTH_TOKEN?
I guess some enterprise users would like to have their own authentication and might use that environment var as well.

@pedronasser looks like I didn't answer your question, the IRON_TOKE N iss there because that's what all Iron users use right now.

@pedronasser can you fix conflicts, then I'll review.

@pedronasser conflicts?

@treeder fixing it

@treeder Waiting for this #476 to be merged


fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away

SUMMARY
[sql lab][tool tip] Tooltip of "copy link' button does not disappear when mouse move away
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before

After

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


React Joyride bug: Node info pop-up dynamic issues on a smaller screen

Describe the bug
Node Info pop up – The pop up appears over the highlighted section that it's trying to display, I would have thought the pop up would be below with an arrow pointing up so you can see the whole section (This does move when you scroll down so maybe just needs to be made more dynamic)
To Reproduce
Steps to reproduce the behavior:

Go to the Status page
Click on the help text icon
Click next until you hit page 3
View the position of the help text over the highlighted area

Expected behavior
If your looking on a big screen, the help text will be displayed above the highlighted area (if there's enough space on the screen, so it doesn't, get blocked
If you're on a smaller screen as I am then it will be displayed underneath again so the highlighted are doesn't get blocked.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 (Laptop 14" Screen)

This is a React Joyride issue, but the visual impact is significant enough that we should see if it's something we can work around on our end. Marking for later prioritization, but if anyone wants to take a bash in the meantime, more than welcome!
NOTE: There's also a related issue in https://github.com/ipfs-shipyard/ipfs-desktop/issues/1445.


fix textarea autosize bug

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

#497

Coverage decreased (-0.02%) to 37.559% when pulling 75405b0d16139652b270f2a4567c2b4b8fb8d815 on baiyaaaaa:feat-input into 815bdd47d0edae8856cc94674c8683fd285d4428 on ElemeFE:master.

冲突了

Coverage decreased (-0.03%) to 39.172% when pulling 3f935a2aac2eeb2f435270c99dfdec2853bbdc36 on baiyaaaaa:feat-input into 0e8873b0f67b0a7e7eb5860acb1bd356b93e1d85 on ElemeFE:master.


Stuck on "Flutter: Hot restarting..."

Steps to reproduce

Attempt to start a (larger ?) app in debug mode.
Make some code changes
Click "Restart" - sometimes a few times

Expected results
It should restart every time without issues
Actual results
It's often stuck in "Flutter: Hot restarting..." when making changes and then restarting.
It happens several times a day, seriously hindering developer productivity - and has done so for at least 12 months - on different (mainly ARM) setups, both to me and colleagues.
Related: https://github.com/flutter/flutter/issues/139651
Code sample
I am willing to share our code-base with a flutter contributer, but apart from that I don't think theres anything concrete I can share to reproduce this issue.
Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/3786627/458be893-bbe4-4377-b746-adba6dd411b7

Logs
It's run through vs code - not sure how I can share the logs
Flutter Doctor output
Doctor output
❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.13.1, on macOS 14.1.1 23B81 darwin-arm64, locale en-DK)
    • Flutter version 3.13.1 on channel stable at /Users/mf/fvm/versions/3.13.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e1e47221e8 (6 months ago), 2023-08-22 21:43:18 -0700
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mf/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more
      details.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.86.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (2 available)
    • iPhone (mobile) • 00008120-000210C63420C01E • ios            •
      iOS 17.1.2 21B101
    • Chrome (web)                         • chrome                    • web-javascript •
      Google Chrome 121.0.6167.139

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

! Doctor found issues in 1 category.

@simplenotezy Hello again :)
Revisiting this issue, I think this maybe similar to https://github.com/Dart-Code/Dart-Code/issues/4958 which seems to have been fixed per https://github.com/Dart-Code/Dart-Code/issues/4958#issuecomment-1910990796, so please try upgrading to latest stable and check if you still get same behavior or not.
If you still get same behavior on latest stable, you will probably need to report in vscode's plugin dedicated repo.

I'll continue the conversation here https://github.com/Dart-Code/Dart-Code/issues/4958
Thanks @darshankawar


Add separate page for adding new models

This task includes discarding the dialog for adding new models, and moving the same functionality and more to a separate page.
Derived from https://github.com/equinor/pepm-ui/issues/257.
Link to Figma design spec:
https://www.figma.com/file/Ddi81R6qGJINS1M9aPk8dv/PEPM---UI-design?type=design&node-id=3344-78531&mode=design&t=fBIjHky9jaBo93kk-11

@o-jorgensen Missing "Group" after strat.column.
Should be Country -> Field -> Strat.Column -> Group -> Formation -> Zone

Closing, duplicate of #265


Shawi: order of elements in cit type example

In cit type example often a usg element occurs before quote which causes errors at the moment. Analogous to other parts of the dictionary, would it be possible to put the usg type geographic after quote or after cit type translations?

@dasch124

In today's meeting we have decided that <quote> should be the first element within <cit>, as it is also for the other @types of <cit> elements. Of course, we can make an exception for examples, but I feel that it would be better to keep the encoding of the various types as close to each other as possible to not overcomplicate the schema. I would propose to move <usg> to the end, i.e. before <fs> so the <quote> and its translations are kept together. Would that be ok, @charlymo ?

I agree to the principle. But, cit/quote only exists in examples, or am I overlooking something?
Oh, just found 69 sense/cit/quote. Die dürfte es eigentlich gar nicht mehr geben. Da müsste das Schematron doch eigentlich schreien?
Yes, usg after quote, before fs. I am not happy with @.***=”geographic”] there anyway.
From: dasch124 @.>
Sent: Tuesday, July 30, 2024 5:52 PM
To: acdh-oeaw/generic-dict-schema @.>
Cc: Mörth, Karlheinz @.>; Mention @.>
Subject: [EXT] Re: [acdh-oeaw/generic-dict-schema] Shawi: order of elements in cit type example (Issue #5)
External Email: please use links and attachments from trusted sources only
In today's meeting we have decided that  should be the first element within , as it is also for the other @types of  elements. Of course, we can make an exception for examples, but I feel that it would be better to keep the encoding of the various types as close to each other as possible to not overcomplicate the schema. I would propose to move  to the end, i.e. before  so the  and its translations are kept together. Would that be ok, @charlymohttps://github.com/charlymo ?
—
Reply to this email directly, view it on GitHubhttps://github.com/acdh-oeaw/generic-dict-schema/issues/5#issuecomment-2258676571, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEMKJBYN3PPKYMZU36TM5ZLZO6ZBHAVCNFSM6AAAAABLWRQO6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGY3TMNJXGE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

In our meeting last Tuesday we discussed that we should simply add a possibility for usg before quote and cit, which I added recently (https://github.com/acdh-oeaw/generic-dict-schema/commit/9ab52cce9c975e74c4f455a56b023625544aa0e8)

we have decided that  should be the first element within

So, there should be no usg before quote?

Die dürfte es eigentlich gar nicht mehr geben. Da müsste das Schematron doch eigentlich schreien?

Due to issue #6 the constraint rules are currently not applied. I will check this when I can create a compiled odd again (I have an error with odd2odd.xsl)


Add mappings for CloudWatch NetworkELB metrics

👍 Thanks for working on this!!

👍 Thanks for working on this!!

Glad to help!


NO MRG, TST, MNT: Re-rendered with conda-smithy 3.0.0.rc2.post.dev15 and pinning 2018.03.18

Test re-rendering to see if we can fix Windows.

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


Changes regarding MuTect1 concatenation

It is a collection of changes, mainly due to

TeX file / pictures added to the sprint review documentation
excluding the decoy sequence from realignment
refactoring some parts of the MuTect1 VCF file generation
fixing Strelka path

@MaxUlysse if you are happy with these changes, we can rename MultiFQtoVC.nf to main.nf so it can be started without cloning the whole directory.

No problem at all with anything.
Just one question, is it useful to have the docs from the meeting in the repository ?


Add update_selection/1 to dynamically change the selection

Closes https://github.com/maxmarcon/live_select/issues/68.
This allows updating the selection by passing a function with 1 arity to :update_selection.
It can be used to add/filter values from the existing selection without passing the whole selection as a value.

Thanks @shamanime for your efforts! I will take a look at this soon