[Settings]: Radio buttons are not associated with its main label throughout the settings page.

Windows Terminal version (or Windows build number)
1.10.2383.0
Other Software
Test Environment:
OS: Windows 11 Version 21H2 (OS Build 22000.168)
Screen Reader: Narrator
Tool: Accessibility Insight for Windows
Steps to reproduce
Repro Steps:

Open Windows Terminal.
Open Settings page using "Ctrl + ',' ".
Open Narrator using 'Win + Ctrl+ Enter' key.
Navigate through all radio groups through Settings page and observe the issue.

User Experience:
Screen Reader user are impacted here as they will not be able to know the exact purpose of radio buttons as main label is not announced to them.
Guideline Reference:
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships
Attachments:
Radio buttons are not associated with its main label..zip
Expected Behavior
Radio buttons should be associated with its main label throughout the Settings page. i.e. For 'Default' radio button with group label 'Launch mode' Screen Reader should announce 'Launch mode group Default radio button selected 1 of 5'
Actual Behavior
Radio buttons is not associated with its main label throughout the Settings page. i.e. For 'Default' radio button with group label 'Launch mode' Screen Reader is announcing 'Default radio button selected 1 of 5'
Observation: Same issue repro with NVDA Screen Reader.

This looks like #9567 which is actually tracked by the upstream https://github.com/microsoft/microsoft-ui-xaml/issues/3183. @v-rpundir can you confirm?

@v-rpundir I believe this was fixed in Preview v1.12.2922.0/Stable v1.11.2921.0, could you confirm?

Closing as the bug as fixed in Windows Terminal Preview Version: 1.12.3472.0

Closing the bug as UI has been changed.


Added Kadane's Algorithm -- Issue No -#759

Added About Kadane Algorithm

Explained the Problem Statement
Brute Force Approach
How to Optimize using Kadane's algorithm
Time Complexity
Added in All languages

Pls Assign this to me.


⚠ SceneTime has degraded performance

In 083dc1b, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1416 ms

Resolved: SceneTime performance has improved in d6b69f8 after 5 minutes.


Update views.py

Currently, the /getdata/ endpoint does not require any authentication. To reproduce, deploy the project locally and run:

curl http://localhost:8000/api/v1/getdata/

That works. It shouldn't. It should require the JWT since it's returning protected data.

The user should be redirected to root if they are already logged in. I think it should be included to round out the bare minimum logic needed for auth.

Thanks for this, merged


Change Request: GUI v4 Dashboard

Last transaction showing detail by default - should only show if you click Details button. Doesn't hide/show if you click Details toggle like newer transactions in list.
Option in Setup to show either Transactions or Coins as default (I prefer to see Coins and select Transactions if I need more detail). Remember selection when returning/selecting Dashboard - always defaults to transactions.
Avatar using first two letters of friendly name - just use first letter - two looks odd

Last Transaction in list is now closed.
feel free to open a new issue for Coins-Tap selected as default and new Issue for odd look


MouseRegion behavior is inconsistent when upgrading from 3.16.9 to 3.22.1

Steps to reproduce
The issue appeared after upgrading from Flutter 3.16.9 to 3.22.1

Use code from sample
Try resizing the black box by dragging its right side
See cursor cycling between resizeRight and basic

Expected results
The cursor should remain SystemMouseCursors.resizeRight while dragging.
Or at least the Flutter engine should provide some alternative way to achieve old behavior.
Actual results
Cursor cycles between resizeRight and basic
Code sample
Code sample
double width = 50;

    runApp(MaterialApp(
      home: Scaffold(
        body: StatefulBuilder(builder: (_, setState) {
          return Align(
            alignment: Alignment.topLeft,
            child: Stack(children: [
              Container(width: width, height: 50, color: Colors.black),
              Positioned(
                top: 0,
                bottom: 0,
                right: 0,
                child: Listener(
                  onPointerMove: (event) {
                    setState(() {
                      width += event.delta.dx;
                    });
                  },
                  child: const SizedBox(
                    width: 10,
                    child: MouseRegion(cursor: SystemMouseCursors.resizeRight),
                  ),
                ),
              ),
            ]),
          );
        }),
      ),
    ));

Screenshots or Video

Screenshots / Video demonstration

With Flutter 3.16.9:
https://github.com/flutter/flutter/assets/35242233/510ee74d-70ec-4032-9353-1f9a54adde83

With Flutter 3.22.1:
https://github.com/flutter/flutter/assets/35242233/075cb564-b9bb-423a-b77a-a0d23f6a9113

Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.22631.3593], locale pl-PL)
    • Flutter version 3.22.1 on channel stable at C:\tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (4 hours ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

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

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Program Files\Chromium\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22000.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Community Edition (version 2024.1)
    • IntelliJ at C:\Users\Gieted\AppData\Local\Programs\IntelliJ IDEA Community Edition
    • Flutter plugin version 79.1.3
    • Dart plugin version 241.17502

[√] IntelliJ IDEA Ultimate Edition (version 2023.1)
    • IntelliJ at C:\Users\Gieted\AppData\Local\Programs\IntelliJ IDEA Ultimate 2
    • Flutter plugin version 78.2.1
    • Dart plugin version 231.9414.10

[√] VS Code, 64-bit edition (version 1.89.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3593]
    • Chrome (web)      • chrome  • web-javascript • unknown
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 125.0.2535.51

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

! Doctor found issues in 2 categories.

I've just checked and Flutter 3.19.6 still behaved in the same way that 3.16.9, so the issue was most likely introduced in 3.22.0

@KevinBrendel That's weird, I'm using 3.19.6 now and don't see this issue there

Maybe to add to this: On macOS. Maybe it was not present on Windows.


Why? If the secrets and certificates are not in use, be sure to clean them up.

This has the best SEO when searching for dotnet dev-certs --clean
Why would you want to remove the cert? Typically, certs are cleaned when there is a problem. See Troubleshoot certificate problems
Add a link to this doc with #tcp  see https://github.com/dotnet/AspNetCore.Docs/pull/22380/files as H2 is subject to change.

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

ID: 129ac9c9-bab2-7ae0-75f8-cf3b7ad16a56
Version Independent ID: 19debb34-1672-c5bc-395b-2ec523c25b8f
Content: Generate Self-Signed Certificates Overview - .NET
Content Source: docs/core/additional-tools/self-signed-certificates-guide.md
Product: dotnet-fundamentals
GitHub Login: @angee
Microsoft Alias: dotnetcontent

This has the best SEO when searching for dotnet dev-certs --clean

They know cert is not working and suspect they need to clean them.
Need better motivation and linking to why you'd clean them.  Say something like certs ae typically replaced when they are not trusted. See Troubleshoot certificate problems such as certificate not trusted


Properly resolve index.html and other entrypoint links

This PR fixes an issue where index.html and other entrypoint links in the extension would not properly resolve to workspace folders. This PR adds a setting to allow users to set the entrypoint of their site, otherwise it defaults to index.html. This causes links like "http://localhost:8080/" from the devtools to now properly resolve to "${workspacefolder}/index.html"

resolves #420

Moving this back to draft. I want to rebase this off Vidal's incoming error message handling PR


In App messaging doesn't compile with last Xcode 10.3

I just updated to the last Xcode version and get error from in app messaging.

Xcode version: 10.3
Firebase SDK version: 6.1.0
Firebase Component: In App messaging
Component version: 0.15.2

Steps to reproduce:
Add in app messaging on your app, open Xcode and try to compile it
Interface Builder Storyboard Compiler Error Group on FIRInAppMessageDisplayStoryboard.storyboard

Any workaround would be appreciated as I can't compile anymore :/

Hey @jaumard, funnily enough the old 'turn it off and on again' trick worked for me here, was having the same issue and just restarted my mac, all good now!

Thx for the tips @garyodonoghue ! look like it was that ! Mac OS look more and more like windows lool


Wrong Intent classification of short terms

Rasa NLU version: 0.12.3
Operating system (windows, osx, ...): windows
Content of model configuration file:
language: "C:/...../de_core_news_sm-2.0.0"
pipeline:
- name: "nlp_spacy"
- name: "tokenizer_spacy"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_spacy"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_classifier_sklearn"

Issue:
Hi,
i am a very big fan of rasa and for us it works fine in long sentences intent classification.
We have big trouble in "short term" classification.
For example if we try to recognize "accept" and "deny" (in german: akzeptieren / ablehnen) than we get wrong confidence.
The query was "akzeptieren" (our training model is attached and contains this word)
Query: "akzeptieren"
intent: "deny", confidence: 0.7709115983848002
{     "intent": {         "name": "deny",         "confidence": 0.7709115983848002     },     "entities": [],     "intent_ranking": [         {             "name": "deny",             "confidence": 0.7709115983848002         },         {             "name": "accept",             "confidence": 0.22908840161519992         }     ],     "text": "akzeptieren",     "project": "default",     "model": "model_20180716-101727" }
What can we do in this case? What did we wrong?
We also tried this with an older rasa version and got same experience.
Thanks for your help.
Here is the training data
rasa-data.json.txt

This is to do with the fact that the spacy 2.0 german model doesn't contain any word vectors. There are two options here:

downgrade to spacy 1.9 and download the medium sized model from there (should work with spacy -m download de)
use the tensorflow_embedding pipeline with the latest master - that doesn't require any word vectors

@donnercody since we didn't hear back I am hoping that solved your problems. Let us know if that is not the case. I'll close for now.


Allow changes to the first created instance, or let us completely delete it if we have others set up.

Feature request

Allow changes to the first created instance, or let us completely delete it if we have others set up.
I had to reinstall WLED on a blank D1 mini and point my first instance at that, then never turn that d1 on.
I wasn't happy with the led's behind my monitor, added better colour strips and more led's and the first instance kept re-initialising itself (while tied to the same IP of the new working instance). It wouldn't let me change the led's of the first instance which was all I really needed to do to accommodate the changes. I would have been fine either pointing it to an IP that it could never resolve or if I could remove the instance entirely, or if changes I made to disable the instance remained disabled between sessions.
What problem does this feature solve?
What does the proposed API look like?
How should this be implemented in your opinion?
Are you willing to work on this yourself?

I advise you to delete the Hyperion database and start over. You can find the database in your home directory under ".hyperion/db".


Why batch normalization layers's output depend on batch_size while testing

I have a model using batch normalization layer.what confuse me is:
print(model.predict(x)) #return [0.9, 0.8, 0.7]
print(model.predict(x[1:])) #return [0.83, 0.73]
I know the layer normalize the input and with increasing the batch_size, the difference wil be smaller.
But according to  Batch Normalization: Accelerating Deep Network Training by Reducing
Internal Covariate Shift.
In test, the batch normalization use running_mean and running_variance which are caculated in train.
So why batch normalization layer normalize the input depending on the batch_size and other inputs in the batch?
Does it use the batch_mean and batch_variance to normalize the input?

Hi~ any idea on solving this issue please? Thanks a lot!

Tried and Tested
@maoshengyang
I'm guessing you might've already solved this by now, but in-case you're still wondering:
You should explicitly mention training=False during validation and testing. Only then it would use population statistics to make the predictions, and not the batch statistics(mean and variance).
After you've mentioned training=False, no matter what batch_size of files you send for testing, predictions (logits) for respective individual test-data-points will always be same.

Hi, I wonder where can I set the option 'training=False ' in Keras?


[Event Request] Table 7347 Internal Movement Line - CheckQtyItemTrackingLines - "OnCheckQtyItemTrackingLinesOnBeforeGetWhseItemTrkgSetup"

Can we please get the following events?
  local procedure CheckQtyItemTrackingLines(): Boolean
    var
        WhseWorksheetLine: Record "Whse. Worksheet Line";
        TotalWhseItemTrackingLine: Record "Whse. Item Tracking Line";
        ItemTrackingMgt: Codeunit "Item Tracking Management";
        SourceQuantityArray: array[2] of Decimal;
        UndefinedQtyArray: array[2] of Decimal;
    begin
        IsHandledL := true;
        OnCheckQtyItemTrackingLinesOnBeforeGetWhseItemTrkgSetup("Location Code", IsHandledL); <-- NEW EVENT
        if IsHandledL then begin
            exit(true);
        end;
        if ItemTrackingMgt.GetWhseItemTrkgSetup("Item No.") then begin
            WhseWorksheetLine.InitNewLineWithItem(
              "Warehouse Worksheet Document Type"::"Internal Movement", "No.", "Line No.",
              "Location Code", "Item No.", "Variant Code", "Qty. (Base)", "Qty. (Base)", "Qty. per Unit of Measure");
            exit(
              ItemTrackingMgt.UpdateQuantities(
                WhseWorksheetLine, TotalWhseItemTrackingLine, SourceQuantityArray, UndefinedQtyArray, DATABASE::"Internal Movement Line"));
        end;
        exit(true);
    end;

[IntegrationEvent(false, false)]
local procedure OnCheckQtyItemTrackingLinesOnBeforeGetWhseItemTrkgSetup(LocationCode: Code[10]; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add pillow-simd as requirement if it is installed

As discussed in #367, this PR allows visdom to work with Pillow-simd if the end user has it installed.
What this PR does, is that upon installation it checks if pillow-simd is installed and adds it to the requirements if it is. Otherwise, regular pillow is added.
Pillow-simd is a drop-in replacement that uses the same namespace, so no further changes are required.
Disclaimer:
I did not figure this one out on my own, but saw this solution in pytorch/vision.
This solution might have some problems I am not aware of, as I am no guru when working with setuptools. One thing I do know, is that this will cause a problem when creating pip wheels, so that should be taken into consideration. (I dont think that this is a concern for this project)

Seems good to me! Thanks @0phoff for the fix and the detailed PR explanation.


Set up the cron job for automatic validation of the URLs

Also make the results available via http

@andreskytt wrote a script for this, we should set it up as a daily cron job so that any issues with files/URLs are caught early.


Quickstart download does not work correctly in Safari on OS X

If you hit the download link for the quickstart in Safari on OS X you will either get
a) nothing
b) a web page that appears to be a string rendering of the bytes in the zip
Need to figure out what is going on here. Temporary workaround in the meantime is to use Chrome on OS X.

Pending deployment - waiting on vendor OGFs


Okay. Bugfix with syntax :P

P. S. Forgot to revert Makefile commit. Please, revert it after merging (if you want)

@handicraftsman git rebase -i HEAD~5

I don't think this is really a bug. HTML, plist, and all those other filetypes are forms of XML so the syntax highlighting does correctly apply to them.

Zyedidia, it's glitchy. If 2 syntax files targets 1 file extension, problems can start. For example, syntax highlighting switches on each saving.

Ah, are you referring specifically to html? Because that is the only filetype that seems to have 2 syntax files, which I agree is a problem. But I don't understand the removal of the other extensions from the list.

Ohhh. Lel. Didn't notice.

Check now...


mod loading shittt

Describe your bug here.
so i load in a mod. it restarts the game. it loads the custom title assets and json. it loads the menu bg, menu music, and credits. but when it tries to load MOD week and song json files with the SAME NAMES as ones in the base game, it doesnt load them. only the ones with original names.
this mod is its own separate folder in the mod folder btw

the mod does work when all the files are in the OG mod folder tho, i just want it to be able to be its own folder.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope

Also Ik I’ve probably issued something like this before it’s just everyone stops commenting on it, then it gets buried in new issues.


disable manageStatus

controller and ui will probably need api versions adjusted. Old settings seem forward compatible, so shouldn't be a problem to update them. This should get velero/restic working at least, back to 3.7.

Special thanks to @fabianvf for saving our bacon.

Will test this on a 4.x cluster, then add approval if it works :zap:

Works on 4.1

The scc clusterrole isn't working on 3.7. Let me see what I can find.


kdePackages: fix under strictDeps

Description of changes
Supersedes https://github.com/NixOS/nixpkgs/pull/329822, includes https://github.com/NixOS/nixpkgs/pull/318226 and https://github.com/NixOS/nixpkgs/pull/324951 so should be merged after those. Everything builds except Qt5 stuff (expected) and possibly Kalzium (blocked by openbabel Python 3.12 breakage)
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Supersedes #329822, includes #318226 and #324951 so should be merged after those.

thanks for fixing! could #318226 and #324951 get dropped from the change set and then this just merged into staging? the changes you made should be fine with or without the fixed cmake. i've made some modifications to #318226 in the interface into cmake which probably will cause conflicts with this PR when merged

Yeah, let's do that.


Wave Tour Navigation bar is not working as expected

Wave SDK Version, OS
Wave - 0.16.0
OS - Mac OS Big Sur
Browser - Chrome Version 91.0.4472.114
Actual behavior
Nav pane is rest when clicked on an example while the browser search is opened.
https://user-images.githubusercontent.com/12434380/125587273-68585857-db87-4db2-97f4-ab1a28e35fab.mov
Expected behaviour
The selected example should be opened in the Tour app irrespective of the browser search is opened or not.
Steps To Reproduce

Open the Wave tour app
Open the side navigation pane of examples
Press Cmd + F and search for a component
Click on the search result on the nav pane
The Nav pane resets to the top but the clicked example is not opened

Closing since the Tour app has been reworked already and the described flow no longer exists.


Methodology behind Slack integration?

Sorry for entering this as a ticket here, I just prefer a less realtime option (looked for a Discourse or forum option, but no luck).  I'm no fan of Slack and I'm frankly not entirely familiar with the methodology behind it.  I have several companies that we need to interact with both individually via direct or private messages as well as channels/rooms.  So far the howto doc for Slack isn't really clear as far as the initial setup - or perhaps background and concept - goes.
Let's say we get a domain from a group or organization that we need to chat with like slack.somedomain.tld.  Are we supposed to set up the bot functionality as per this for each organization's own Slack team or channel or whatever it's called?  Subsequently would we need to follow your steps here for each of these slack.somedomain.tld instances?
In terms of different kinds of Slack messages such as direct or personal messages and then groups in a room or channel, what are the options for this?  Are we able to have one-to-one messages or does that require a Mattermost channel to be set up that's private and set to allow certain participants?  What options exist for usernames - can we define a map for X username in Mattermost to be Y username in Slack?  This kind of username mapping would also be helpful in IRC... but I digress, #1 for me at the moment is to get our team interoperating with some of our Slack using associates so we don't have to keep fighting over wanting them to come over to Mattermost directly... :)

I feel for you -- I have a ton of slack teams I'm trying to manage too. The bot instructions feel very onerous for that use-case, and legacy approach is simpler imho:
https://github.com/42wim/matterbridge/wiki/Slack-bot-setup#legacy-setup
can be set up by any unprivileged user (without doing heavy social negotiating with admins on each slack) by visiting:
https://api.slack.com/custom-integrations/legacy-tokens
Tactic is that you create any old user account on that system, you get the legacy token, you create a new channel or grab an existing one, and you add it to a bridge. If you don't want it shared by all slacks, you'll need one channel in your mattermost per bridged channel in your client's [?] slack.
DMs aren't really supported right now.
I recall, username mapping is more complicated and in flux right now...!
If you have further support questions, I might suggest bending your principles a bit, to enter one of the chat spaces where maintainers prefer to support high-level questions like this <3
Cheers!

Also, despite the tone of that warning, I don't expect legacy support will go away in matterbridge unless it goes away in slack proper. Their docs don't make it seem that this will happen anytime soon. but there might be risk of this approach breaking if slack changes things. (My use-case will also be quite inconvenienced if this goes away.)

Hello @ylluminate. Did @patcon's answers provide you with the necessary information? If not, please don't hesitate to follow-up. If you have everything you need though feel free to close this GitHub issue.
I'll pass around at a later point to close it in case there's no further reaction. 🙂


Potential tracing docs inconsistency

Our app config docs/examples indicate that the way you turn tracing sample rate is using samplingRate
spec:
  tracing:
    samplingRate: "1"

But our tracing docs/samples show more verbose config which does not include the samplingRate
spec:
  tracing:
    enabled: true
    exporterType: zipkin
    exporterAddress: "http://localhost:9411/api/v2/spans"
    expandParams: true
    includeBody: true

Few questions after reviewing the tracing docs:

Is the union of these two what's required?
Is enabled to turn it on and samplingRate to set the rate?
What are the defaults expandParams and includeBody?
Can exporterAddress point to zipkin service in a different namespace?

The sample doc must be updated. the config in samples is out-dated.
Also we will migrate trace config to opentelemetry collector config. please look at https://github.com/dapr/dapr/issues/2337
cc/ @tcnghia

There is no union, this spec is wrong and should be removed from docs:
spec:
  tracing:
    enabled: true
    exporterType: zipkin
    exporterAddress: "http://localhost:9411/api/v2/spans"
    expandParams: true
    includeBody: true

Which docs/sample are you referring to with this error? Can you add a link to the offending files?

Here is one example where tracing is "enabled" in Configuration kind
https://github.com/dapr/docs/blob/master/daprdocs/content/en/operations/troubleshooting/setup-tracing.md

In general, the entire Troubleshooting section hasn't been updated since 0.2.

Yes, we missed this one! This is where we need another pass across the docs for accuracy. Can we move this issue into the docs repo?


fix(amplify-category-function): fixing headless params

Issue #, if available:
Fixes #1826
Description of changes:
Fixes issue when headless init does not pass function category or any categories.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kaustavghosh06 are you aware of when this will be published?  thank you.


when i use spark, this error occurs: Failed to connect to MetricsMasterClient

1. error:
when i use spark-shell to fetch file from alluxio, this error occurs......
scala> val s = sc.textFile("alluxio://<IP_ADDRESS>:18998/LICENSE")
s: org.apache.spark.rdd.RDD[String] = alluxio://<IP_ADDRESS>:18998/LICENSE MapPartitionsRDD[1] at textFile at :24
scala> s.count()
2019-04-12 03:22:36 WARN  AbstractClient:296 - Failed to handshake (1) with MetricsMasterClient @ spark-master/<IP_ADDRESS>:19998: Failed to handshake with master spark-master/<IP_ADDRESS>:19998 to load cluster default configuration values
2019-04-12 03:22:36 ERROR ClientMasterSync:66 - Failed to heartbeat to the metrics master:
alluxio.exception.status.UnavailableException: Failed to connect to MetricsMasterClient @ spark-master/<IP_ADDRESS>:19998 after 1 attempts
at alluxio.AbstractClient.connect(AbstractClient.java:322)
at alluxio.client.metrics.MetricsMasterClient.heartbeat(MetricsMasterClient.java:84)
at alluxio.client.metrics.ClientMasterSync.heartbeat(ClientMasterSync.java:63)
at alluxio.heartbeat.HeartbeatThread.run(HeartbeatThread.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2. deploy:
I use docker to deploy alluxio and spark
alluxio version: 1.8.1          1 master  2 workers
alluxio image:
https://hub.docker.com/r/alluxio/alluxio
master docker run:
docker run -d --net=host -e ALLUXIO_MASTER_HOSTNAME=<IP_ADDRESS> -e ALLUXIO_MASTER_PORT=18998 -e ALLUXIO.MASTER.WEB.PORT=18999 -e ALLUXIO_UNDERFS_ADDRESS=s3a://testfile/zzz -e ALLUXIO_UNDERFS_S3_ENDPOINT=http://<IP_ADDRESS>:9000 -e ALLUXIO_USER_FILE_WRITETYPE_DEFAULT=CACHE_THROUGH -e ALLUXIO_UNDERFS_S3_DISABLE_DNS_BUCKETS=true -e ALLUXIO_UNDERFS_S3A_INHERIT_ACL=false -e AWS_ACCESSKEYID=admin1 -e AWS_SECRETKEY=wJalrXUtnFxxxxxxxxx alluxio/alluxio master
worker docker run:
docker run -d  -e ALLUXIO_MASTER_PORT=18998 --net=host -v /mnt/ramdisk:/opt/alluxio/ramdisk  -e ALLUXIO_UNDERFS_ADDRESS=s3a://testfile/zzz  -e ALLUXIO_WORKER_MEMORY_SIZE=100G -e ALLUXIO_UNDERFS_S3_ENDPOINT=http://<IP_ADDRESS>:9000 -e ALLUXIO_USER_FILE_WRITETYPE_DEFAULT=CACHE_THROUGH -e ALLUXIO_UNDERFS_S3_DISABLE_DNS_BUCKETS=true -e ALLUXIO_UNDERFS_S3A_INHERIT_ACL=false -e AWS_ACCESSKEYID=admin -e AWS_SECRETKEY=wJalrXUtnxxxxxxxxxxxxxxxx  -e ALLUXIO_MASTER_HOSTNAME=<IP_ADDRESS> -e ALLUXIO_RAM_FOLDER=/opt/alluxio/ramdisk    alluxio/alluxio worker
under stores:
minio
https://www.alluxio.org/docs/1.8/en/ufs/Minio.html
I also used local storage
spark version: 2.4.0           1 master
master docker run:
docker run --name spark-master -h spark-master -e ENABLE_INIT_DAEMON=false -p 8080:8080 -p 7077:7077 -p 6066:6066 -v /home/sre/software/alluxio/alluxio-1.8.1-hadoop-2.8/client:/jar -d bde2020/spark-master
spark image:
https://github.com/big-data-europe/docker-spark
Please help me, I have spent two days - -！

Hi @felixglow Can you check what the master logs say? From the spark-shell docker container, can it connect to the master container (<IP_ADDRESS> from the error message)? It is strange that the alluxio URI has the port 18998, but the client is trying to connect to different port 19998.
Also, is the worker able to connect to the master? You can check by looking into the worker log, or by seeing the master UI to see if the worker is registered.
Lastly, you can try disabling the client metrics by adding this Java option to the spark-shell alluxio.user.metrics.collection.enabled=false

I tried it as you said, it doesn't work. i redeploy an alluxio cluster without docker,  it's okay,  i don't konw the reason, alluxio's configure is the same.

@felixglow has this issue been resolved?

@felixglow has this issue been resolved?

I deployed it with a virtual machine, it's ok, the problem has not appeared again.

I will close this issue for now. Feel free to reopen it if you see this happen again

/reopen
Keeps happening with even v2.8.1.

ERROR ClientMasterSync - Failed to get master address during initialization alluxio.exception.status.UnavailableException: Failed to handshake with master <IP_ADDRESS>:19998 to load cluster default configuration values: UNAVAILABLE: io exception

Tried all sorts of baseless "hacks" since there's no "solution" from Alluxio community, @alluxio-bot ...
alluxio.user.metrics.collection.enabled=false
alluxio.master.mount.table.root.ufs=/mnt/foo
save_world_dont_use_alluxio=true
or .. whatever..
Nothing works.
Please help otherwise we tend to feel that this is not a good quality software and not ready compared to numerous other data orchestration solutions.


switch to python3 only syntax

removed the __future__ imports
removed the #coding:utf8
changed shebang to #!/usr/bin/env python3
switched io.open to just open and removed encoding='utf-8' argument
no longer need to use unicode function to encode
ensured no explicit use of str.encode/str.decode

NOTE I did not get a chance to thoroughly test this PR by building and running a model.

great! @AlJohri


Fails to compile helloworld example

What version of gRPC and what language are you using?
protobuf:x64-osx                                   3.15.8#1
grpc:x64-osx                                       1.37.0#2
What operating system (Linux, Windows,...) and version?
OSX, Catalina
What runtime / compiler are you using (e.g. python version or version of gcc)
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
What did you do?
Followed the instructions, except that I use vcpkg for the dependencies:
cmake -DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR ../..  -DCMAKE_TOOLCHAIN_FILE=/Users/amir/projects/github-code/vcpkg/scripts/buildsystems/vcpkg.cmake
What did you expect to see?
Compilation successfully finishes
What did you see instead?
[ 72%] Building CXX object CMakeFiles/greeter_callback_client.dir/greeter_callback_client.cc.o
/Users/amir/projects/github-code/grpc/examples/cpp/helloworld/greeter_callback_client.cc:64:12: error: no member named 'async' in 'helloworld::Greeter::Stub'
    stub_->async()->SayHello(&context, &request, &reply,
    ~~~~~  ^

Anything else we should know about your project / environment?

I also failed to compile, but I don’t know where

I see that vcpkg's port is based on the gRPC 1.37 release, and the C++ Callback API was moved out of the experimental namespace after the 1.37 branch was cut (8aff94558c7). You might be compile incompatible code, and you could try checking out the v1.37 branch and build the hello world project again. If that fixes it, it's probably worth submitting a PR or filing an issue with the vcpkg team to update their gRPC port.

Thanks for the reply @drfloob, I confirm that it compiled with the 1.37 release. So I will create an issue for vcpkg. This can be closed.


Updated 019 to rescheduled time

This is ready to go live - I was trying to do them all in a single request but I can't see how.

Please hold off on publishing this one for a while. I have just noticed a clash with the RSE AGM and have asked if there is another day we could run this.

alright @catsmith, I changed this to a draft PR. Make it ready for review again when you are happy with the timing (and consider that you need to change the format how you add the times, see https://github.com/SORSE/sorse.github.io/pull/288#discussion_r477546965

I'm not sure how to remove the work in progress but this is now ready to go and I think I fixed the problem with the formatting as well.


Add documentation for client policies

Adding docs for client policies. This includes

Changes to the config
Errors and Warnings
trusted-signers command

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/reference/Errors-and-Warnings.md
:warning:Warning
View
Details

docs/reference/errors-and-warnings/NU3034.md
:warning:Warning
View
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3004.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3040.md
:white_check_mark:Succeeded
View

docs/reference/nuget-config-file.md
:white_check_mark:Succeeded
View

docs/tools/cli-ref-trusted-signers.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md

Line 38: [Warning] Invalid file link:(~/reference/erorrs-and-warnings/NU3040.md).

docs/reference/errors-and-warnings/NU3034.md

Line 22: [Warning] Illegal link: trustedSigners -- missing bookmark. The file reference/nuget-config-file.md doesn't contain a bookmark named trustedSigners-section.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3004.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3034.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3040.md
:white_check_mark:Succeeded
View

docs/reference/nuget-config-file.md
:white_check_mark:Succeeded
View

docs/tools/cli-ref-trusted-signers.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3004.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3034.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3040.md
:white_check_mark:Succeeded
View

docs/reference/nuget-config-file.md
:white_check_mark:Succeeded
View

docs/tools/cli-ref-trusted-signers.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3004.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3034.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU3040.md
:white_check_mark:Succeeded
View

docs/reference/nuget-config-file.md
:white_check_mark:Succeeded
View

docs/tools/cli-ref-trusted-signers.md
:white_check_mark:Succeeded
View

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


Peer to Peer Review (Eric, Raphael, Sami)

Hi @zhorabay, great work on the project. The leaderboard has a nice UI and meets all requirements.
Issues Noticed

In your README, kindly consider adding Use of an API to your Key Features section.
In your README, kindly consider adding a Live Demo link.

You have used type="submit" for your buttons, but it's unclear whether these buttons are intended to submit forms or trigger JavaScript actions. If they are meant for form submission, it's good practice. If not, you might want to use type="button" for buttons that do not submit forms.


Problem when running with ArchR

Hello,
I am trying to use cPeaks with the ArchR workflow, and for that I am following the instructions described here: https://github.com/MengQiuchen/cPeaks/blob/main/Tutorials/docs/cPeaks_ArchR.md
When I run the line proj <- addIterativeLSI(ArchRProj = proj, useMatrix = "FeatureMatrix", name = "IterativeLSI", force=TRUE) I get the following error:
Error in h5read(x, paste0(useMatrix, "/Info/Units")) :
Object 'FeatureMatrix/Info/Units' does not exist in this HDF5 file.
I am using the file cpeaks_hg38.bed.
Any ideas on how to fix this error?
Thank you!
Kind regards,
Nathan

Sorry, I don't know what was causing the error but I tried again from the beginning and now it worked so I am closing the issue.


Made additional changes to the notebook

Cell output resolution has been improved, loss functions have been
improved, more numpy code has been replaced with better TF code, and the
"Cycles" variable makes better use of the log scale now.
The previous PR actually contained a notebook with only one line difference between the new and original notebook. This was in part due to a naming error. This has been fixed.

Additional changes were made. it turned out the attributions at the top and bottom of the notebook were inaccurate. This has been changed.


Fix functions-challenges.md

this takes the higher priority than context
if this is not present while calling the function, context is used

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#securing_javascript

... Thus for a strict mode function, the specified this is not boxed into an object, and if unspecified, this will be undefined


Add Zalando SE as one of the users

extend docs

Thanks @iCubeDm - it's nice to have you on the list!
One of the example tests failed inexplicably - obviously nothing to do with your change. I've restarted the build, then I think we can merge.

👍

@iCubeDm thanks, merged!


Model general not found in TOKEN_COSTS

Bug description

when I successfully run some command such as "metagpt "write a snake game", it warns me that "metagpt "write a snake game". Will this warning affect effects of my project?
Environment information

LLM type and model name: spark
Python version: 3.10
MetaGPT version or branch: main(?)

installation method: git clone https://github.com/geekan/MetaGPT.git

Screenshots or logs

It will not affect your project as it is just a calculate the cost of api call.

使用阿里云qwen-max模型时，也出现类似错误，估计是个bug

https://github.com/geekan/MetaGPT/pull/1284
@geekan

使用阿里云qwen-max模型时，也出现类似错误，估计是个bug

https://github.com/geekan/MetaGPT/pull/1284 fixed this

when you use free models,it will happen.


chore(deps): Bump stackrox version and fix usage of removed package

This PR bumps the stackrox version.
A newer version for stackrox does not contain sliceutils anymore.

/retest

/retest

/retest


metrics - migrate tests from Junit4 to Junit5

PR description
metrics Tests
Added dependency for junit.jupiter (junit5) and Removed dependency on junit 4
Migrated test from junit4 to junit5
Fixed Issue(s)
https://github.com/hyperledger/besu/issues/5562

@macfarla Can you plz review?

thanks @NickSneo


Not working on mobile devices

Any /e2ee command on Android or iOS generate dialog with text:
Error execution command

Here is some information about this from another issue:
https://github.com/quarkslab/mattermost-plugin-e2ee/issues/12


The development server returned response error code: 500

Hello,
I'm getting an error. Its screenshots in here;

and also the output is:

`The development server returned response error code: 500

URL: http://<IP_ADDRESS>:8081/index.delta?platform=android&dev=true&minify=false
Body:
{"originModulePath":"C:\Users\Burak\Desktop\AwesomeProject\node_modules\native-base\dist\src\basic\Tabs\index.js","targetModuleName":"react-timer-mixin","message":"Unable to resolve module react-timer-mixin from C:\\Users\\Burak\\Desktop\\AwesomeProject\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\index.js: Module react-timer-mixin does not exist in the Haste module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n  1. Clear watchman watches: watchman watch-del-all.\n  2. Delete the node_modules folder: rm -rf node_modules && npm install.\n  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.\n  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.","errors":[{"description":"Unable to resolve module react-timer-mixin from C:\\Users\\Burak\\Desktop\\AwesomeProject\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\index.js: Module react-timer-mixin does not exist in the Haste module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n  1. Clear watchman watches: watchman watch-del-all.\n  2. Delete the node_modules folder: rm -rf node_modules && npm install.\n  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.\n  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*."}],"name":"Error","stack":"Error: Unable to resolve module react-timer-mixin from C:\\Users\\Burak\\Desktop\\AwesomeProject\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\index.js: Module react-timer-mixin does not exist in the Haste module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n  1. Clear watchman watches: watchman watch-del-all.\n  2. Delete the node_modules folder: rm -rf node_modules && npm install.\n  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.\n  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.\n    at ModuleResolver.resolveDependency (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:183:15)\n    at ResolutionRequest.resolveDependency (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:52:18)\n    at DependencyGraph.resolveDependency (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\node-haste\DependencyGraph.js:273:16)\n    at Object.resolve (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\lib\transformHelpers.js:261:42)\n    at dependencies.map.result (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:391:31)\n    at Array.map ()\n    at resolveDependencies (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:388:18)\n    at C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:261:33\n    at Generator.next ()\n    at asyncGeneratorStep (C:\Users\Burak\Desktop\AwesomeProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:87:24)"}
processBundleResult
BundleDownloader.java:296
access$200
BundleDownloader.java:37
onResponse
BundleDownloader.java:174
execute
RealCall.java:206
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1167
run
ThreadPoolExecutor.java:641
run
Thread.java:764
`

I was able to get it working using the same method. I am hoping the effort to fix these breaking changes is not so hard.
Would it not make sense to just add the react-timer-mixin as a dependency to native-base?

how did you do it i still cant remove my error and what is this command rm -rf node_modules
its not recognizing it any help?

Thanks for all the above inputs, the following helped sovle
rm -rf node_modules && npm install react-timer-mixin
react-native run-ios

rm -rf node_modules how do you use it

@javeriazubair : node_modules is a folder at root of your project. It can be removed and installed back using yarn install or npm install. But since you're asking this question, I recommend you to get help from seniors before proceeding doing rm -rf node_modules because not every project has the same setup

npm install react-timer-mixin
This fixed me up.

Worked for me too.

still not working for me though

I'm getting this issue in 2020, I've tried npm install react-timer-mixin but it doesn't work and it keeps saying there is a reference error with one of the screens. A friend and I double checked the code and everything should be working.

@JoeLimewire
Would you write your,
npm --v
node --v

and react, react-native versions?

NPM --v 6.14.2
Node -v v13.9.0
React: 16.9.0
React-native: 0.61.5

Okay, I've solved it on my end. I had to re-install the CLI
npm i @react-native-community/cli

I'm getting this issue in 2020, I've tried npm install react-timer-mixin but it doesn't work. Please help me!

I'm getting this issue in 2020, I've tried npm install react-timer-mixin but it doesn't work. Please help me!

reinstall yarn, yarn install and then yarn start
its work for me.

npm install react-timer-mixin
This fixed me up.

is it really working?

npm install react-navigation --save

npm install react-navigation --save

Im facing the above-mentoioned screenshot issue. Neither the project is working on macbook nor on my windows laptop. But it is working on my friend's laptop. We are using expo and react native. We have made a general button as mainButton and using it. The error says mainButton does not exist. The path is imported correctly and none of the above mentioned fixes work. Please help. Thanks in advance

Im facing the above-mentoioned screenshot issue. Neither the project is working on macbook nor on my windows laptop. But it is working on my friend's laptop. We are using expo and react native. We have made a general button as mainButton and using it. The error says mainButton does not exist. The path is imported correctly and none of the above mentioned fixes work. Please help. Thanks in advance

i had an error with bottom-tabs.I tried to uninstall and install again .It worked successfully.Maybe it will help you.

how to i solve this error please help me

none works

i had an error with bottom-tabs.I tried to uninstall and install again .It worked successfully.Maybe it will help you.

How to uninstall it

I got this issue by a silly mistake. I install a library and removed it right after but didn't remove the import line. Hope this help

Wrong version of node, when running the project, I also have this problem

This error is also due to some files. In my case Body:{
//here it shows name of a file where error is
}
so just delete that file create it again that's work for me


Error in NLCD40 Land Use Mapping for Inline Windblown Dust Calculations

Description
The current inline windblown dust (WBD) code can cause excessive WBD emissions when using WRF simulations with NLCD40 land use (LU). The excessive emissions are caused by mapping two NLCD40 categories (“shrub/scrub” and “dwarf scrub”) to the wrong internal BELD3 LU class (“barren or sparsely vegetated” instead of “shrubland”) that is being used in the WBD module to assign parameter values controlling erodibility.
Scope and Impact
When enabling the inline WBD module and using WRF simulations with NLCD40 LU as input, 2018 annual domain total WBD emissions over the 12US1 domain were reduced by about factor of 3-4 after correcting the erroneous LU mapping with the code fix described below, with the exact reduction depending on the approach to specify vegetation fraction in the WRF simulations and likely also depending on the domain and year being simulated.
Additional context
Users wishing to correct the erroneous NLCD40 mapping prior to a future release in the v55+ branch should make the following modification to file lus_data_module.F:
In lines 310 - 311, change
  &              3,       ! barrenland
  &              3,       ! barrenland

to
  &              1,       ! shrubland
  &              1,       ! shrubland

so that the entire NLCD40 to BELD3 mapping block looks as follows:
        integer :: dmap_nlcd40( n_dlcat_nlcd40+1 ) = ! land use type desert map to BELD3
 &           (/ 1,       ! shrubland
 &              1,       ! shrubland
 &              3,       ! barrenland
 &              1,       ! shrubland
 &              1,       ! shrubland
 &              3,       ! barrenland
 &              3 /)     ! ag landuse surrogate

Then, should the values at line 302 and 303 be updated too?

Then, should the values at line 302 and 303 be updated too?

Good question. No, these lines do not have to be updated because the dmsk_nlcd40 array (mapped to dmsk in centralized_io_module.F) is a vestige from earlier code versions that is no longer used in any WBD calculations. Therefore, the LU-specific dmsk_* arrays in lus_data_module.F and their mapping to dmsk in centralized_io_module.F should arguably be removed in future code updates, but in the meantime, the erroneous mapping defined in these arrays will not affect any calculations and does not require any update (though it could be updated for aesthetic reasons).

Resolved with PR #222.


defaultCountryCode did not update the flag despite its value changing

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/react-native-phone-number-input/lib/index.js b/node_modules/react-native-phone-number-input/lib/index.js
index b89c388..a57a6ba 100644
--- a/node_modules/react-native-phone-number-input/lib/index.js
+++ b/node_modules/react-native-phone-number-input/lib/index.js
@@ -48,6 +48,15 @@ export default class PhoneInput extends PureComponent {
     }
   }

+   async componentDidUpdate(prevProps) {
+    if (prevProps.defaultCode !== this.props.defaultCode) {
+      const { defaultCode } = this.props;
+      if (defaultCode) {
+        const code = await getCallingCode(defaultCode);
+        this.setState({ code, countryCode: defaultCode });
+      }
+    }
+  }
+
   getCountryCode = () => {
     return this.state.countryCode;
   };

This issue body was partially generated by patch-package.

I have this issue also the main reason is the state doesn't be updated when props change but commenting this line solves the problem but there won't be default code
https://github.com/garganurag893/react-native-phone-number-input/blob/ccd16fc20d8a0a476867417279932db0e41fdb2b/lib/index.js#L21

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-phone-number-input/lib/index.js b/node_modules/react-native-phone-number-input/lib/index.js
index b89c388..a57a6ba 100644
--- a/node_modules/react-native-phone-number-input/lib/index.js
+++ b/node_modules/react-native-phone-number-input/lib/index.js
@@ -48,6 +48,15 @@ export default class PhoneInput extends PureComponent {
     }
   }

+   async componentDidUpdate(prevProps) {
+    if (prevProps.defaultCode !== this.props.defaultCode) {
+      const { defaultCode } = this.props;
+      if (defaultCode) {
+        const code = await getCallingCode(defaultCode);
+        this.setState({ code, countryCode: defaultCode });
+      }
+    }
+  }
+
   getCountryCode = () => {
     return this.state.countryCode;
   };

This issue body was partially generated by patch-package.

Bro Your code works Aweeeesooommmmeeee,
Thankssssss a lotttttt

Thanks Alooot bro
I was wondering and trying to achieve this
Thanks alot

Thanks Alooot bro
I was wondering and trying to achieve this
Thanks alot

Glad it helped!
Would like to make it into a PR, but maybe i can just fork it into a patch


Adding cylindrical shape for persistant volume

Providing cylindrical shape :
fixes #31
Special notes for your reviewer:
I have tried to add the cylindrical shape, please let me know for any modifications if required.

Please add relevant screenshot reflecting the changes your code does.
DCO check is failing, please sign your commits before raising PR.
Provide proper commit message, will be handy for reviewers to review.


Deno.test Not Recognized

Given a module internally calls Deno.test
When deployctl runs a JSX that imports that module
Then the following error is shown:
error: TS2339 [ERROR]: Property 'test' does not exist on type 'typeof Deno'.
      return Deno.test(testName, () => assert(assertion.evaluate()));

Thanks for contributing by opening an issue.
This project is being archived because you can now use deno run to run your Deploy scripts locally: https://deno.com/deploy/docs/running-scripts-locally/. As such, I will close this issue.
If you have feedback about Deno Deploy, please open an issue on this repo: https://github.com/denoland/deploy_feedback


Add version: TTKN.CNKIExpress version 0.1.13

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


After debug stopped with some errors vscode change my code in one file to code from another file

VSCode Version:1.1.1
OS Version: windows 10

Steps to Reproduce:

I run my code with node.js environment in vs code, I have 3 files app.js, task.js and repo.js
Before I try start debug, I selected task.js and start when my code stopped with some errors in app.js then I stopped debug(clicked stop button in debug). And happen some mysteries my code in app.js change part of code from task.js

@aaskat I don't understand this problem. Could you please make a video showing your problem? Thanks.

Ok.

@aaskat any update on this?

Hello. I made video for this problem.
https://www.dropbox.com/s/e07m581qicygpnk/Untitled.mp4?dl=0

I wanna contribute to project. how can I start? if you give me small tasks, like bugs fixing i can resolve  it.

I made new video. can you check this video available for you.
https://www.dropbox.com/s/4jp06ucrk4ka8a1/bug2.mp4?dl=0

I lost my changes in code several time in this way, and I can't undo changes after this bug.

@aaskat could you please attach your project (or the three files and the launch configuration) here and I will investigate.

@aaskat sorry, but I do not understand what error you are showing me in your second video.
I've create the three files in a VS Code workspace and debugged it.
But everything looks good to me.
Please provide detailed steps that make clear what you would expect and what you get.

https://www.dropbox.com/s/0emdvm57z18qv0w/project.zip?dl=0

@aaskat Thanks for the video and the zipped project. But after trying for more than hour I was not able to reproduce the problem. Since nobody else has reported this or a similar problem, I'm running out of ideas how to help you.
But a few days ago you said that you want to contribute to VS Code and fix some bugs. This problem would be a good opportunity! You could help us (and yourself ;-) by doing the following:

find a minimal reproducible case and write down clear steps so that everyone can reproduce it. Your videos are somewhat OK but they don't include precise steps, e.g.:

I don't know how you've started the debug session,
you have turned off auto-save. Can you reproduce the problem with auto-save turned on?
when you launch the debug session, both app.js and repo.js are dirty. Does the problem occur when they are not dirty or when only one of them is dirty.

verify that the problem exists on a different system. This would rule out that something very specific is broken on your system. In similar cases where only a single user saw a problem, it was almost ever a problem with the underlying system, or a broken installation and not a problem with VS Code itself.
try to identify the underlying problem in VS Code.
fix the problem
create a pull request.

/cc @isidorn

Thank you! on another machine I did not reproduce this problem. I reinstall vscode after this problem gone.

@aaskat great to hear that!

Thank you for your time

I really want contribute. if you give me small tasks I can do.


[BEAM-59] Delete old restrictions on output file paths

These predate Apache Beam and are no longer relevant now that Text and Avro are implemented
in the SDK.

R: @jkff

Coverage decreased (-0.02%) to 69.837% when pulling def9e069844633eebb4cbb33f7bb60db3f91745c on dhalperi:remove-old-validation into ae72456b7125a28f2db4b8dad2990b2bb063ca9b on apache:master.

R: @lukecwik also knows about this.

LGTM modulo green.

Coverage decreased (-0.02%) to 69.862% when pulling a1bd45c8fd1e98b7786cf1de7a9bab892264e506 on dhalperi:remove-old-validation into 3bd8a0f9f2c0fa4676c090f70a8053de5275de8a on apache:master.


Enhance UX by Adding Shortcut Keys

Using shortcut keys can eliminate the need for a mouse thus improving the overall contribution experience and speed.

Is your feature request related to a problem? Please describe.
The current interface requires frequent use of the mouse, which can slow down the user’s workflow and reduce efficiency. Shortcut keys can significantly enhance the user experience by allowing for faster and more streamlined interactions.
Describe the solution you'd like
Implement shortcut keys for common actions within the application (e.g. submit, failed, media controllers etc.). This will reduce the dependency on the mouse and improve the overall speed and efficiency of the user’s workflow.
Describe alternatives you've considered
An alternative solution could be to provide customizable shortcut keys, allowing users to set their own preferences for key bindings. Another option is to enhance the existing UI to make frequently used actions more accessible without shortcuts.
Additional context
Adding shortcut keys will require updates to the frontend code to handle keyboard events. This enhancement aims to improve the overall user experience and productivity, especially for users who perform repetitive tasks frequently.


Allow client to opt out of using namespace

Is your feature request related to a problem? Please describe.
We have a legacy system that has keys on the form cce-integration-layer-compressed:StateShortner-${randomId} that we need to be compatible with (we read/write to a shared redis instance with that legacy system) so there is no room for a namespace colon...
However, not only is namespace defaulting to keyv, even if you give it empty string you still get ':' which messes up our ability to use keys on the expected form!
We really want/need to migrate to keyv, we are blocked due to namespace. The reason we want to use this project is because it is the recommended cache backend for Apollo Server 4
For all our other use cases of keyv the namespace is great, but in this case it is really causing problem that cannot be worked around...
Describe the solution you'd like
I wish I could pass in e.g. const keyv = new Keyv({ store: keyvRedis, namespace: false }) and get rid of the whole <namespace>: part.
PS: Related to #120 but this is 3 years old so I reckoned it was better to open a new issue.

Adding vote option

This was turned down due to some of the complexities of the system. We are looking at this feature for a new Redis driver specifically. Are you using Redis as your primary?

@klippx - going to look at adding this feature to Redis storage adapter in another issue: https://github.com/jaredwray/keyv/issues/455

We are using Redis as our primary, yes. Basically, it is a "keyv+redis" combo, that comes as a package deal with Apollo Server 4.

Great. we are working on an updating version on the branch redis-next and will look to make the namespace for redis an option with a couple other features.


Notes with lines longer than 256 character truncated, declared corrupt, after upgrade to 0.28

openSUSE 15.1 x86_64
tomboy-ng 0.28 (upgraded from 0.27), GTK2 x86_64 version
I saw the note about the updated version and decided to upgrade.  I backed up my notes first as I always do, and then upgraded the RPM and restarted Tomboy-ng.  Upon startup I was presented with a screen indicating I could not go on because of corrupt notes.  Going in to view the corrupt notes I found a few things which are disturbing.

The XML for the first one is valid.  The problem appears to be that two of the lines are no longer separated by a newline, but the XML (per xmllint) is still valid.
The joining of those two lines is new, meaning my backed-up copy does not have the two lines joined; its XML is also valid (per xmllint).
I have dozens of files with updated timestamps as of the time I loaded Tomboy-ng 0.28 for the first time, including these two which are marked as corrupt (see screenshot showing install time and timestamp of dozens of files).
The second file marked corrupt has data lost at the point where I had two ampersands (&&amp) and now where I only have &amp (no semi-colon or subsequent data).

Consequently I think this release should be pulled.  I'm reverting to my 0.27 release for now and restoring from my backup.  Sorry.

The files I meant to attach before; the first shows the corrupt line which is not corrupt; the second shows the files modified on the first load along with the install timestamp from the RPM system, and the third shows a screenshot of the errors received when starting Tomboy-ng.
20200418-231A.txt
20200418-file-mods-on-first-load.txt

I comparing my backup with my originals and lines longer than 256 character (e.g. the expected semicolon from the screenshot above) are truncated.

oh, thats just about as bad as it gets.
I have some code in there that corrects a bad date stamp that I have seen in a number of notes and was reported by another user.  Needless to say, I tested and tested and saw no problems and really don't expect anyone else to have that bad date stamp anyway (it came form a bug in an early release).
Could you send me one of the notes it appears to be changing ?  Ideally both the unchanged one and the changed one. But they will have the same file name so, just the unchanged one will do. Without that, I am afraid its going to be very hard to replicate the problem.
From memory, you use windows ?  You should be able to grab one note and attach it to an email, send direct to me rather than to this issues list for privacy.
David

I have put big warning on release pages, if I withdraw that release, people will just get previous one thing its new.

Looks to me as if the monospace tag has had a couple of spaces inserted into it.  But that may be an artifact of how you pasted it in perhaps ?   I see -
.... mon    ospace....
and thats going to generate bad xml.  I really need to see one of your notes that has not been changed but will be if v0.28 has its evil way with it.   Does not look like its associated with that date fixing thing I mentioned.

OK, I got it.
Yes, it was the code correcting an unimportant mistake in the date stamp.
Problem related to the use of a traditional 255 character Pascal string rather the the unlimited length string we have been using by default for, perhaps 20 years ??
I am so sorry and incredibly grateful you picked this up so quickly !  (hmm, and it means you had some notes with that minor error in their date...)
Watch for version 0.28a in an hour or so.
Davo

0.28a seems to be better, though I must admit I wish the reformatting of these 105 notes (of mine) would have at least resulted in the same timestamp value since the only change was metadata.  Oh well; it's done now and I do not expect you'll want to fix it again adding in parsing of old dates just to preserve them at this point.  I'll do some more comparisons and testing, but at least so far I do not see the 255 character truncation, or the resulting corruption errors, that I noticed before.  Thanks for the quick fix.
I'm not closing just since I do not want to interfere with your workflow, but I consider this bug closed now.

yes, I could have done a lot better with this particular problem. In hindsight what I should have done was leave the existing date, hours and minutes and then just added the necessary milliseconds and timezone information based on 'now'. ....

OK, ver 0.28b is a bit more sensitive about the historical data.
  I have updated the linux and Mac packages, pretty sure there was not a Mac version of -ng when the cause of this problem was around.  Will do Mac later today just for consistency.
dajoke, not sure if you want to do yet another restore, upgrade cycle .....

Thanks for taking the time to do that; I appreciate it.
I reverted to the backed-up notes, upgraded Tomboy-ng, and compared again and now the timestamps are back as they were but with the fixed formatting so now the metadata are the same in meaning which is great as my notes are showing correctly in the tray icon again.  A sample of the 'diff' output follows just to make it clear what changed on the files:
diff --minimal -r tomboy-ng-20200418/0380ed61-784e-4dec-ab52-16ab40a6b9ec.note tomboy-ng/0380ed61-784e-4dec-ab52-16ab40a6b9ec.note
333c333
<   <last-change-date>2019-12-15 20:33:16</last-change-date>
---
>   <last-change-date>2019-12-15T20:33:16.3790000-06:00</last-change-date>
343c343
< </note>
\ No newline at end of file

Yep, thats correct, thanks for that confirmation. I have added in a 'T' between date and time and I have added milliseconds and timezone at the end.  Obviously the number of milliseconds is wrong but having them there with a correct timezone is important when syncing.
But you have rocked me to the core with the date, that original error was added to your note late 2019 ?   Any chance you were using a very early tomboy-ng about then ?   I was quite sure that this problem was introduced in the very early stages ......

Nope, no chance, but in fact I was using the original Tomboy (mono-based) from my first use whenever many years ago until I upgraded to tomboy-ng with my system upgrade on 2019-12-30 or so.  Here is another diff snippet that may shed more light on this:
diff --minimal -r tomboy-ng-20200418/f740753b-ebe9-445a-9ed3-1cf4446a7132.note tomboy-ng/f740753b-ebe9-445a-9ed3-1cf4446a7132.note
83c83
<   <last-change-date>2017-08-27 06:15:49</last-change-date>
---
>   <last-change-date>2017-08-27T06:15:49.3590000-06:00</last-change-date>
93c93
< </note>
\ No newline at end of file
---
> </note>
Now I have looked a bit more at this note above and am surprised that its format changed at some point after my upgrade to tomboy-ng on 2019-12-30.  The metadata from my pre-tomboy-ng backup (taken because I was upgrading my whole system, so I have that backup still) follows:
  <last-change-date>2017-08-27T06:15:49.1096530-06:00</last-change-date>
  <last-metadata-change-date>2017-08-27T06:15:49.1103110-06:00</last-metadata-change-date>
  <create-date>2017-08-24T07:35:50.3592290-06:00</create-date>
  <cursor-position>7429</cursor-position>
  <selection-bound-position>8730</selection-bound-position>
  <width>573</width>
  <height>813</height>
  <x>1306</x>
  <y>83</y>
  <open-on-startup>False</open-on-startup>

I've confirmed that all 105 of the notes that were changed had correct timestamps prior to my first use of tomboy-ng on 2019-12-30 or shortly thereafter:
On my backup directory prior to the change the following command returns nothing, but on my backup directory from last week it returns the 105 shown:

grep 'last-change-date' * | grep -v 'T' | wc -l
105

Wow, love people who keep backups !
I will now have to trawl through git and see just when that problem code existed.
Thanks

Just in case you're not familiar with it, 'git blame path/to/object' is just wonderful, showing line-by-line commits, and dates, and stuff.  You can also specify a particular commit and have it show the "blame" output from that point back too:
git blame commit-id-here path/to/object

OK, well, I really don't understand. The code causing the underlying problem of  the bad dates  had been fixed before I made my first commit to github, November 2017.   I have been back through my early backups and my incidents of this problem are all prior to this date.
Indeed, two actually predate tomboy-ng itself.  So, I am really stumped !
I have to wonder now if there is something else causing a this problem.  I will try and find it because a bad date us just not on ....

This is definitely all fixed now, bad mistake on my part !
Thanks for prompt report.
Davo


Marker issue

When using Marker all work fine visually but when saving/restoring a *.scopesession the markers are broken with invalid values(negatives) and when the scopesession is loaded nothing is displayed (even the waveform).
Issue reproduced with latest version of glscopeclient https://github.com/glscopeclient/scopehal-apps/commit/af2c022e85fbb9905960ebc272c86d3319ccc196 on windows 10 (using https://github.com/glscopeclient/scopehal-apps/suites/6973742607/artifacts/272626580)
File used are based on Rigol MSO5K import (with 2 chan) I can provide them if required

Please attach test files and screenshots.

Also, please check if the "nothing displayed on waveform" issue is related to https://github.com/glscopeclient/scopehal-apps/commit/524c645edb20eccabaa7e463b915af3647d72aea.
Does reverting to prior to this commit fix it?

It seems this issue is also affected by the new bug https://github.com/glscopeclient/scopehal-apps/issues/436 (newly introduced in latest fix ?? as I have never seen that in older glscopeclient used 1 week ago), so I will wait this bug to be fixed before

Please check if f1d109bbd4c8d4d3553beab9bfa08da5f1638c5d fixes the rendering issue.

This issue is related to https://github.com/glscopeclient/scopehal-apps/issues/436

Closing this and tracking #442 as a separate issue for "markers don't work in sessions without an attached scope".


Historical Qiskit API docs have bad "permalink" text

See https://github.com/Qiskit/documentation/pull/424.
This also looks like some instances of plain ¶ lines.

I regenerated the docs in https://github.com/Qiskit/documentation/pull/418, so this isn't a problem.


Upgrade bugsnag to version 5.5.0

Libraries.io has found that there is a newer version of bugsnag that this project depends on.
More info: https://libraries.io/rubygems/bugsnag/5.5.0

Dup  #2069  #2070 #2071 ?


Cannot create a new version

I'm using this library in a Typescript project to get and modify issues, and I've been successful with those. However, I can't find a way to create a version.
I tried this, but it shows the error "Property 'version' does not exist on type 'JiraClient'.ts(2339)".
import * as JiraApi from 'jira-connector';
let jira = new JiraApi({
    host: 'memrise.atlassian.net',
    strictSSL: true,
    basic_auth: {
        email: "email",
        api_token: "apiToken"
    }
  });
...
await jira.version.createVersion({ name: versionName })

I tried another approach to use api/version.js directly, but I'm getting the error code 400
import * as JiraVersionApi from "../node_modules/jira-connector/api/version.js";
let jiraVersion = new JiraVersionApi(jira)
...
await jiraVersion.createVersion({
    version: "1.0.0"
})

Error:
{
    "statusCode":400,
    "body":{"errorMessages":["Can not instantiate value of type [simple type, class com.atlassian.jira.rest.v2.issue.version.VersionBean] from JSON String; no single-String constructor/factory method"]
}

Take a look at the documentation. You need to pass an object with parameters to the version field, and not a string, like yours

Added typescript definitions in 3.0.0 version


Test cases in "internal/tests" failed due to mismatch of the modTime

Note that when other developers clone the repo, the modification time of each file will be the time when the clone occurs, so the modTime mismatch.
I just checked that the modTime included in all bindata.exp are not the commit time, so I guess it's the time in your local computer or your development environment.
Anyway, we need to figure out some way to fix this or workaround this.
$ diff bindata.exp bindata.go
104c104
< 		modTime: time.Unix(1586263518, 0),
---
> 		modTime: time.Unix(1594778652, 0),
134c134
< 		modTime: time.Unix(1586263518, 0),
---
> 		modTime: time.Unix(1594778652, 0),

@ahrtr Did it cause the test become fail? If you have any suggestion, we would happily merge it.

@ahrtr Did it cause the test become fail? If you have any suggestion, we would happily merge it.

Yes, the. test failed.  I just submitted a PR to fix workaround this issue,
https://github.com/shuLhan/go-bindata/pull/43/files


Better Persian Translation

Thanks for your contribution to Homebrew!  You rock!


chore: add docker section to readme

Ref https://github.com/ipfs-shipyard/ipfs-webui/issues/1420
Please fix my copy @jessicaschilling 🙏

Thanks much @rafaelramalho19, just made some tiny tweaks. I'll merge once CircleCI is done spinning.


[BEAM-242] Enable and fix checkstyle in Flink runner examples

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[X] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[X] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[X] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[X] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Enable and fix checkstyle in Flink runner examples.

R: @aljoscha
R: @mxm

Looks good to me!

LGTM

Thanks guys. I'm preparing the merge.


Modifier -> SwiftUI -> View configuration: redacted(reason:)

Doc: https://developer.apple.com/documentation/swiftui/view/redacted(reason:)

[ ] Swift implementation
[ ] Elixir implementation

duplicates #211


Add JWT auth via headers and RS256 signing option

Description
It's more common to use JWT tokens via headers. (e.g: Authorization Bearer token11)
Also added the RS256 signing method which is used a lot too.
By default everything works like before 👍
How Has This Been Tested?
Manual testing + lot of new UT
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Linter is different on the CI?
gometalinter --config=.gometalinter.json ./pkg/... returns no error locally

Codecov Report

Merging #146 into master will decrease coverage by 0.92%.
The diff coverage is 89.65%.

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
- Coverage   94.22%   93.29%   -0.93%
==========================================
  Files          29       23       -6
  Lines        1333     1193     -140
==========================================
- Hits         1256     1113     -143
- Misses         54       57       +3
  Partials       23       23

Impacted Files
Coverage Δ

pkg/config/middleware.go
95.83% <89.65%> (-4.17%)
:arrow_down:

pkg/entity/autogenerated_flag.go

pkg/entity/autogenerated_distribution.go

pkg/entity/autogenerated_constraint.go

pkg/entity/autogenerated_segment.go

pkg/entity/autogenerated_variant.go

pkg/entity/autogenerated_flag_snapshot.go

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 63e6952...03aa433. Read the comment docs.

Thanks for the PR! Welcome to Flagr! Want to collect some feedback on how are you going to use Flagr, for example, are you building your own UI or simply run it through some generated clients?
Changing to RS256 and sending through headers also requires some changes to the Flagr UI, but I guess you can put it in another pr.

Changing to RS256 and sending through headers also requires some changes to the Flagr UI, but I guess you can put it in another pr.

What changes need to be done?

how are you going to use Flagr

I'm going to use Flagr using https://github.com/checkr/jsflagr on our backend and manual changes via the UI.


Differentiate hover for terminal link providers

Currently hovering a validated local link and a word (that opens quick access) look exactly the same, this is important as they do different things.
Showing the URL would also be needed for when the terminal supports the hyperlink escape sequence https://github.com/xtermjs/xterm.js/issues/1134

This is also useful for extensions, the VS Code API https://github.com/microsoft/vscode/issues/91290 should probably have a label it can provide as well

This will be covered in the links test plan item.


Execution of iep-miner-master

I have downloaded the code from the link https://github.com/GitHug/iep-miner and i have installed eclipse and the required software mentioned. When i try to run the program no output is shown.
I am keenly interested to explore and execute code.
There is another program called suffix tree in the link above but not able to integrate it and run the entire program.please give the detailed steps to execute the programs.
Thank you.

The same request from me either as @bcps4 !
i couldnt even link the stanfordpostagger! and i couldnt even get the datasets from yahoo..
it would be very helpful if you could help with it!
Thank you!

The same request from me either as @bcps4 !
i couldnt even link the stanfordpostagger! and i couldnt even get the datasets from yahoo..
it would be very helpful if you could help with it!
Thank you!

I have downloaded the code from the link https://github.com/GitHug/iep-miner and i have installed eclipse and the required software mentioned. When i try to run the program no output is shown.
I am keenly interested to explore and execute code.
Thank you!
it would be very helpful if you could help with it!

I have downloaded the code from the link https://github.com/GitHug/iep-miner and i have installed eclipse and the required software mentioned. When i try to run the program no output is shown.
I am keenly interested to explore and execute code.
please give the detailed steps to execute the programs.
Thank you.

@NagaSubhash could you plz give your email id ...iam having doubts so that i can clear with u
Thanks

@armanmalik  Its<EMAIL_ADDRESS>.. Thank You for your interest.. I am glad you could make it with me. :)

Thank you for the interest in the application. The application will replaced in the near future with a better one that will also include better documentation for how to use it.


Dead letter storage account behind firewall

I'm trying to allow dead lettering to a storage account that's behind a firewall. I don't want to allow the Trust Azure Services option. Instead I tried to add an exception by using the resource instances and adding the managed identity of the event grid, however that's not working.

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

ID: 2ad5c953-fa75-9944-5539-111bfc52e892
Version Independent ID: 00d37a17-4f7d-779e-8243-786c1d4dba7d
Content: Dead letter and retry policies - Azure Event Grid
Content Source: articles/event-grid/manage-event-delivery.md
Service: event-grid
GitHub Login: @spelluru
Microsoft Alias: spelluru

Thanks for the question! We will review and get back to you shortly.

I did some checking- the dead letter delivery won't attach while the firewall is on, or if "trusted Azure services" is not selected. However, once the dead letter was setup, I could successfully receive dead letter messages in the storage account with only the resource-specific exception, not the generic "trusted services" exception. The downside of this is updating the subscription gets a bit harder, as any attempt to re-validate the endpoint will fail.


JS: some getAResponseDataNode improvements

The NodeJS model used to treat server responses as untrusted remote flow sources. This PR migrates that implementation to the getAResponseDataNode model instead. This eliminates some results on default.slugs, but I am not unhappy to lose any of them, most of them seem to be FPs anyway. Generally, we could get the results back if we treat more getAResponseDataNodes as untrusted, but that is prone to FPs due to responses from hosts that can be trusted.
For the time being, I think the only query that can reasonably use getAResponseDataNode indiscriminately as an untrusted source is js/command-line-injection.
I have included AdditionalSources:RemoteServerResponse for exploratory purposes. It helps flagging a good number of XSS TPs. It preserves status quo in regards to flagging the malicious packages that do obfuscation with eval, as seen in the existing eslint-escope-build.js test. Unfortunately, all new non-malicious js/code-injection are FPs for the core of dynamic module loaders.
Evaluation with an extra security query shows no performance degradations. The lost results are due to the NodeJS model change mentioned above, the new results are a mix of TPs and FPs, caused by using AdditionalSources:RemoteServerResponse as a source for js/xss.

js/http-to-file-access turned out to rely on the  remote flow sources that were migrated to getAResponseDataNode. Instead of re-adding those sources, I have changed the sources of the query entirely to only include network data, and renamed the query to match its intention (and id) better.
I will start an evaluation of this query in isolation.

Evaluation for js/http-to-file-access done:

a few additional results due to some axios and request usages
we also lost one results since we do not treat the error event on streams as an responseDataNode, that can be fixed when we support streams better.

Conflicts resolved.


pylint bump

Closing this PR, this is to demonstrate that github CI fails with the latest version of pylint


how to host llama 7b contineously

Hello all , working on tensorrt-llm to host the model, llama 7b-hf
At present, with run.py I can send input and get the output back
However, I want it to be permanently hosted
At present can see the memory usage only goes up during the inference, I am assuming the model will be loaded and inferencing is done.
I want the model to be loaded continuously,
Any suggestions?

You can go through these 2 links that would be helpful to you to understand the process of how to use tensorRT compiled model with triton inference server
https://github.com/hamelsmu/llama-inference/tree/master/triton-tensorRT
https://developer.nvidia.com/blog/optimizing-inference-on-llms-with-tensorrt-llm-now-publicly-available/

Appreciate the help, yes it solves my problem,
with triton I can keep the model loaded and using tensorrt-llm as backend.
need help with stress testing triton and  tensorrt-llm pair, will open new issue.
thanks


Hi, how can I jump to floating window when showing current line diagnostic? <c-w><c-w> doesn't work.

Hi, how can I jump to floating window when showing current line diagnostic? <c-w><c-w> doesn't work.
Originally posted by @sandangel in https://github.com/glepnir/lspsaga.nvim/discussions/365

now you can press the shortcut twice to jump in.

hi @glepnir , I think it's throwing error. BTW, can we make it work with all floating windows that lspsaga create? (hover, definition preview, etc...)

yeah in plan .press twice jump in

fix it later.

thanks a lot for working on this. 🙇🏼♂. It's a really useful plugin

Could we reopen this issue until it's fixed?


[Portuguese] CONTRIBUTING.md: Broken link "artigo de exemplo sobre elementos HTML aqui"

Describe your problem and how to reproduce it:
Link is broken on "artigo de exemplo sobre elementos HTML aqui".
Add a Link to the page with the problem:
https://github.com/freeCodeCamp/freeCodeCamp/blame/61071b8afc39f5128c29c76cf15757f4b099dbee/docs/portuguese/CONTRIBUTING.md#L60
Tell us about your browser and operating system:

Browser Name: FireFox
Browser Version: 68.0
Operating System: Windows 10 Professional

The same issue is happening for spanish translation:
https://github.com/freeCodeCamp/freeCodeCamp/blame/61071b8afc39f5128c29c76cf15757f4b099dbee/docs/spanish/CONTRIBUTING.md#L60


Pass event channel directly to Renet functions

It's convertible into id. This is how users will write their own functions.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (27e2199) 91.15% compared to head (1eb6ebb) 92.07%.
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   91.15%   92.07%   +0.91%
==========================================
  Files          14       14
  Lines         871      871
==========================================
+ Hits          794      802       +8
+ Misses         77       69       -8

Files
Coverage Δ

src/network_event/client_event.rs
97.82% <100.00%> (ø)

src/network_event/server_event.rs
92.85% <100.00%> (ø)

src/replicon_core/replication_rules.rs
100.00% <ø> (ø)

src/server.rs
97.37% <ø> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Keras Integration doesn't work with multiple inputs

This code breaks:
def build_model():
    grey = Input(shape=(34,34,1), name="input_grey")
    # ...

    red = Input(shape=(34,34,1), name="input_red")
    # ...

    merged = concatenate([maxpoolg2, maxpoolr2])
    # ...
    softmax1 = Activation('softmax')(dense2)

    model = Model(inputs=[grey, red], outputs=[softmax1])

    model.compile(loss='categorical_crossentropy', optimizer='adadelta', metrics=['accuracy'])

    return model

Xg_train = np.array(Xg_train).astype("float32") / 255.0
Xr_train = np.array(Xr_train).astype("float32") / 255.0
Xg_test = np.array(Xg_test).astype("float32") / 255.0
Xr_test = np.array(Xr_test).astype("float32") / 255.0

Xg_train = np.reshape(Xg_train, (len(Xg_train), 34, 34, 1))
Xr_train = np.reshape(Xr_train, (len(Xr_train), 34, 34, 1))
Xg_test = np.reshape(Xg_test, (len(Xg_test), 34, 34, 1))
Xr_test = np.reshape(Xr_test, (len(Xr_test), 34, 34, 1))
Y_train = to_categorical(Y_train)
Y_test = to_categorical(Y_test)

classifier = KerasClassifier(build_model())

n_initial = 1000
initial_idx = np.random.choice(range(len(Xg_train)), size=n_initial, replace=False)
Xg_train = Xg_train[initial_idx]
Xr_train = Xr_train[initial_idx]
Y_train = Y_train[initial_idx]

Xg_pool = np.delete(Xg_train, initial_idx, axis=0)
Xr_pool = np.delete(Xr_train, initial_idx, axis=0)
Y_pool = np.delete(Y_train, initial_idx, axis=0)

from modAL.models import ActiveLearner

learner = ActiveLearner(
    estimator=classifier,
    X_training=[Xg_train, Xr_train],
    y_training=Y_train,
    verbose=1
)

n_queries = 10
for idx in range(n_queries):
    query_idx, query_instance = learner.query([Xg_pool, Xr_pool], n_instances=200, verbose=1)
    learner.teach(X=[Xg_pool[query_idx], Xr_pool[query_idx]], y=Y_pool[query_idx],
        verbose=1
    )

    Xg_pool = np.delete(Xg_pool, query_idx, axis=0)
    Xr_pool = np.delete(Xr_pool, query_idx, axis=0)
    Y_pool = np.delete(Y_pool, query_idx, axis=0)

In the last line with this error:
File "/usr/local/lib/python3.5/dist-packages/modAL/models.py", line 43, in __init__
    self._fit_to_known(bootstrap=bootstrap_init, **fit_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/modAL/models.py", line 93, in _fit_to_known
    self.estimator.fit(self.X_training, self.y_training, **fit_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/wrappers/scikit_learn.py", line 209, in fit
    return super(KerasClassifier, self).fit(x, y, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/wrappers/scikit_learn.py", line 138, in fit
    **self.filter_sk_params(self.build_fn.__call__))
TypeError: __call__() missing 1 required positional argument: 'inputs'

I think this happens because of the multiple inputs but I'm not sure.
What else could be wrong?

Hi!
Yes, it is the input. Instead of passing [Xg_train, Xr_train], you can use numpy.concatenate((Xg_train, Xr_train), axis=3), which returns a numpy.ndarray of shape (n_images, 34, 34, 2).
In general, the ActiveLearner follows the scikit-learn conventions in terms of the data, so you should always use a numpy.ndarray.
Let me know if it works!

Hey,
ok, I changed the creation of learner to
learner = ActiveLearner(
    estimator=classifier,
    X_training=np.concatenate((Xg_train, Xr_train), axis=3),
    y_training=Y_train,
    verbose=1 #line 174
)

Unfortunately I'm still getting the same error here.
Traceback (most recent call last):
  File "./architecture.py", line 174, in <module>
    verbose=1
  File "/usr/local/lib/python3.5/dist-packages/modAL/models.py", line 43, in __init__
    self._fit_to_known(bootstrap=bootstrap_init, **fit_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/modAL/models.py", line 93, in _fit_to_known
    self.estimator.fit(self.X_training, self.y_training, **fit_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/wrappers/scikit_learn.py", line 209, in fit
    return super(KerasClassifier, self).fit(x, y, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/wrappers/scikit_learn.py", line 138, in fit
    **self.filter_sk_params(self.build_fn.__call__))
TypeError: __call__() missing 1 required positional argument: 'inputs'

When I remove the verbose parameter the error still occurs (with line 173 instead). So it must be this constructor of ActiveLearner.
Any more ideas?

Can you write your complete build_model() function here? I'll try to exactly replicate the problem.

def build_model():
    n_classes = 34

    stride1 = (1,1)

    grey = Input(shape=(34,34,1), name="input_grey")
    convg1 = Conv2D(6, (3,3), strides=stride1, padding='valid', name='conv_grey1')(grey)
    batchg1 = BatchNormalization()(convg1)
    actg1 = Activation('relu')(batchg1)
    maxpoolg1 = MaxPooling2D(pool_size=(2,2), strides=None, padding='same', name='mp_grey1')(actg1)
    convg2 = Conv2D(12, (3,3), strides=stride1, padding='valid', name='conv_grey2')(maxpoolg1)
    batchg2 = BatchNormalization()(convg2)
    actg2 = Activation('relu')(batchg2)
    maxpoolg2 = MaxPooling2D(pool_size=(2,2), strides=None, padding='valid', name='mp_grey2')(actg2)

    red = Input(shape=(34,34,1), name="input_red")
    convr1 = Conv2D(6, (3,3), strides=stride1, padding='valid', name='conv_red1')(red)
    batchr1 = BatchNormalization()(convr1)
    actr1 = Activation('relu')(batchr1)
    maxpoolr1 = MaxPooling2D(pool_size=(2,2), strides=None, padding='same', name='mp_red1')(actr1)
    convr2 = Conv2D(12, (3,3), strides=stride1, padding='valid', name='conv_red2')(maxpoolr1)
    batchr2 = BatchNormalization()(convr2)
    actr2 = Activation('relu')(batchr2)
    maxpoolr2 = MaxPooling2D(pool_size=(2,2), strides=None, padding='valid', name='mp_red2')(actr2)

    merged = concatenate([maxpoolg2, maxpoolr2])
    dense1 = Dense(80)(merged)
    flatten1 = Flatten()(merged)
    dropout1 = Dropout(0.5)(flatten1)
    dense2 = Dense(n_classes)(dropout1)
    softmax1 = Activation('softmax')(dense2)

    model = Model(inputs=[grey, red], outputs=[softmax1])
    model.compile(loss='categorical_crossentropy', optimizer='adadelta', metrics=['accuracy'])

    return model

So, the problem seems to be that the scikit-learn wrapper of Keras supports only Sequential models. According to the documentation:

You can use Sequential Keras models (single-input only) as part of your Scikit-Learn workflow via the wrappers found at keras.wrappers.scikit_learn.py.

Can you try to implement the same model using Sequential? In principle, this should work.

Anyway, since the problem seems to be connected to Keras, I'll close the issue. Let me know if it is not the case!


Route for healthcheck

How can I configure a route for healthcheck of container? I mean something like:
notenant.my-doamain.it/healtcheck
where notentant is not a real tenant, and .my-doamain.it and www.my-doamain.it point to another container

Please use our Discord for support questions, and add a bit more context regarding what exactly you're trying to achieve.


Template merge 110

:tada:

Codecov Report

Merging #546 (0318942) into development (6d1ed65) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development     #546   +/-   ##
============================================
  Coverage        41.92%   41.92%
============================================
  Files               34       34
  Lines             2526     2526
============================================
  Hits              1059     1059
  Misses            1467     1467

Flag
Coverage Δ

unittests
41.92% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 6d1ed65...0318942. Read the comment docs.


Is continuous measurement possible?

Hi, I am looking for a continuous measurement scale I can integrate in HA or better already integrated. To clarify the need, I put a plant on the scale and trigger when the weight has decreased some amount after watering, for new watering (I use also in addition a soil humidity sensor).
It looks like domestic scales which power on when you stand on it and then put itself on standby do not fit my needs.
But I wonder if the API of those scales include some mode management to enable it. So eventually, can ESPHome-Smart-Scale manage my use-case and if yes, what are the scales with which it is possible?

Hi @lalebarde !
Yes that's possible with some minor modifications to the yaml config. See also #3 .
Regarding scale models, this repository is meant to be used with simple load cells, so there is no "API". It works with any old simple scale by essentially replacing the brains with an ESP board, at which point ESPHome becomes your API. If you are looking for a scale that already does this without the need for hardware modifications this project is not the right one for you and you have to look into smart scales.

No you probably won't. The precision is a result of the designed range of the load cells, so cells which can only hold less total weight will be more precise as well. However, all load cells operate on pretty much the same principal, so it should be possible to use a smaller scale as well pretty easily.

Closing due to inactivity.