Can not navigate through $H_2SO_4$ in MathCAT Demo site

In MathCAT Demo, type $H_2SO_4$ in Math Input Area, press Generate Speech and Braille,
click into Display Math rectangle, we CANNOT navigate through formula and the web page can not response any more.
But if replace $H_2SO_4$ with $h_2so_4$,  we can navigate through.

Thanks. I found the problem in the navigation that caused the crash, but the real problem is a bug in the code corrects the output to be correct for Chemistry -- it is generating some garbage MathML and that caused the navigation code to crash because an assumption it had wasn't true for the bad code.


Added uppercase to algorithm name

I had a problem with algorithm name when I got a response from asterisk after INVITE request.

Digest username="xxx", realm="asterisk", nonce="1729103338/662d65a084b88c6d2a745a9de086fa91", uri="sip:+xxxxx@yyyyy", algorithm=md5, cnonce="ef88a365ed38df27", opaque="753d1a557579147b", qop=auth, nc=00000001, response="3681b63e5d9c3bb80e5350e2783d7b88"

Asterisk returned me 'md5' instead "MD5" and digest doesn't recognize a response and return false instead true. I made a small hack and upper all entry.

The algorithm value is case-sensitive so we can't simply uppercase the value. Also md5 is not valid according to the specification: https://datatracker.ietf.org/doc/html/rfc2617#section-3.2.1 so I won't add support for it in the library.
However, you can work around this issue by providing your own FindChallenge function when creating the Transport:
digest.Transport{
	// ...
	FindChallenge: func(h http.Header) (*digest.Challenge, error) {
		header := h.Get("WWW-Authenticate")
		if header == "" {
			return digest.ErrNoChallenge
		}
		chal, err := digest.ParseChallenge(header)
		if err != nil {
			return nil, err
		}
		chal.Algorithm = strings.ToUpper(chal.Algorithm)
		return chal, nil
	}
}


The reason of applying patch size to moving mnist dataset?

In experiments on moving mnist dataset, shape img data (64641) to (161616). I'm confused about it, is it because of gpu memory and is it appropriate of this way? Thanks!

Yeah, although many codes run it the same way but this isn't a good trick.
Try conv + deconv(or upsample &conv) to shrink the image size instead.


Add safetyAndEnvironmentalInformationDetails[] to LogisticsDeliveryNoteById.lineItems[], and DeliveryInstructionById.sequences[].lineItems[]

In XML, the element is called SafetyAndEnvironmentalInformation (XML). It's a bit annoying as (1) we want to have it as an array, and (2) there is no plural form of "information" in English. A way - to be discussed/approved later - to fix this is to add the suffix (...)Details. We will then use safetyAndEnvironmentalInformationDetails (JSON).
We will not JSON-ify the complete structure of the XML element SafetyAndEnvironmentalInformation, but only select the following parts:

SafetyAndEnvironmentalType [attribute] (XML) will be used as type (JSON) with the same enumeration list:

Agricultural
Biodegradable
CarbonFootprint
Certified
...

Agency [attribute] (XML) will be used as assignedBy (JSON) with the same enumeration list:

AFPA
...

WARNING: This list probably needs to be restricted dependending of the context, i.e. safetyAndEnvironmentalInformationDetails.

ChainOfCustody (XML) and CertificationBody [attribute] (XML) will be used as chainOfCustody.value (JSON) and chainOfCustody.assignedBy (JSON).

The complete structure will look like the following:
{
  "safetyAndEnvironmentalInformationDetails": [
    {
      "type": "FSCMixCredit",
      "assignedBy": "FSC",
      "chainOfCustody": {
        "value": "INS-COC-100054"
        "assignedBy": "..."
      }
    },
    { }
  ]
}

Done, see commit a3218cf.

I missed the Lars' proposal for the JSON-ification of SafetyAndEnvironmentalInformation (XML).
Here it is: (from email sent on Wed, Jun 26, 8:20 PM)
safetyAndEnvironmental:
  type: object
  required:
    - type
    - assignedBy
  properties:
    # quantity and freeText existing in XML not added
    # certification now limited to a percentage, in XML a measurement value.
    type:
      type: string
      enum:
        - Deforestation
        - FSC100%
        - FSCControlledWood
        - FSCMix_x%
        - FSCMixCredit
        - FSCRecycled_x%
        - FSCRecycledCredit
        - PEFCControlledSources
        - X%_PEFCcertified
    assignedBy:
        type: string
        enum:
          - EU
          - FSC
          - PEFC
    licenceNumber:
      type: string
      minLength: 1
    chainOfCustoty:
      type: object
      required: value
      properties:
        certificationBody:
          type: string
          minlength: 1
        value:
          type: string
          minlength: 1
    certificationPercentage:
      type: Number
      exclusiveMinimum: 0
    references:
      type: array
      minItems: 1
      items:
        type: object
        required:
          - identifier
        properties:
          identifier:
            type: object
            required:
              - type
              - value
            properties:
              type:
                type: string
                enum:
                  - EUDRDueDiligenceStatementReferenceNumber
              value:
                type: string
                minlength: 1
          subReference:
            type: object
            required:
              - identifier
            identifier:
              type: object
              required:
                - type
                - value
              properties:
                type:
                  type: string
                  enum:
                    - EUDRDueDiligenceStatementVerificationNumber
                value:
                  type: string
                  minlength: 1

(I have just corrected a little indentation issue).

Change it to an array. Several instances are needed.
My proposal safetyAndEnvironmentDetails
chainOfCustoty: is misspelt. Should be  chainOfCustody:

Done, see commit 338dbaa.


[K12]  Add New Picklist Values To Existing Contact Fields To Match EDA's TSO

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Testing Notes

Create trial org and run trial_org flow

@lifewithryan @jstvz - looks like you two are the last to approve this PR.

Tested/Passes QE. Updated RN's for @juliesnow's review.


Exceptions cleanup, removing all unneeded trival exception subclasses

:+1: from me. Probably best to merge the other PR's first, though.


Refactor SQLServerColumnEncryptionAzureKeyVaultProvider usage in SQLServerConnection

This refactors the usage of SQLServerColumnEncryptionAzureKeyVaultProvider into private methods.
This is useful for the native-image compilation GraalVM's optimizations, allowing these methods to be dynamically substituted when the Azure classes are not in the classpath
See https://github.com/quarkusio/quarkus/pull/24010 for more information

hi @gastaldi
thank you for this the team will take a look.


Automates torch installation

Currently, having torchsde as a dependency creates problem while installing in isolated environments.
The problem is when installing a repo, it collects all the dependencies before it installs them. TorchSDE while being collected checks for torch. This creates problems in isolated envs as torch would not be there by default.
In this PR, I have removed the raising of the exception with a warning and have dynamically installed torch at runtime.
This should solve the build problems.

@googlebot I signed it!

@googlebot I signed it!

@googlebot I fixed it.

Hi - thanks for your contribution.
As it turns out, this has already been fixed on the dev branch. If this is an issue for you now (before we make our next release) then you can install from the dev branch instead; usual stability caveats apply.

Awesome! Looking forward to the release! Thanks!


Testing uTP protocol

See this: https://github.com/ethereum/portal-network-specs/issues/122

I'm currently working on this issue and I'm researching various alternatives.

one minor comment, I would be carful with this https://github.com/meqif/rust-utp/, as I saw that it do some weird things like for example: https://github.com/meqif/rust-utp/blob/main/src/socket.rs#L478.
Imo it pretty unusual for transport level protocol to do something like sending 3 consecutive duplicated acks and treat it like some kinda request, not to mention in amplifies network traffic unnecessary.
I am not saying this library in necessary all bad, but it probably requires thorough review.

Imo it pretty unusual for transport level protocol to do something like sending 3 consecutive duplicated acks and treat it like some kinda request, not to mention in amplifies network traffic unnecessary.

Isn't this part of the "Fast retransmit" modification in TCP?

yep fast retransmit is pretty standard thing, but the case is it is not triggered intentionally by sending 3 duplicated acks, but it is triggered when 3 duplicated acks are received due to network conditions like packet loss or delays.

yep fast retransmit is pretty standard thing, but the case is it is not triggered intentionally by sending 3 duplicated acks, but it is triggered when 3 duplicated acks are received due to network conditions like packet loss or delays.

Hm, you are right, I think this is some kind of a hack to deal with packet loss. This is from the library readme:
"The current implementation is somewhat incomplete, lacking a complete implementation of congestion control. However, it does support packet loss detection (except by timeout)..."
So I guess we should implement the packet loss detection by timeout by ourselves, does Fluffy have this implemented already?

Yep, we follow reference implementation in that regards. When we send first packet we start a timer based on current calculated timeout, if the timer runs out (packet wont be acket in rto time) we resend oldest packet.  The whole logic starts here https://github.com/bittorrent/libutp/blob/master/utp_internal.cpp#L1147.


Fix auto start choosing wrong app path on macOS

I'm releasing my fork into production on noor.to, will report back if it indeed worked as I expect or needs further refinement.
More description in the code comments

It worked.


updated missing check

Hi @kfiross, could you please explain what the patch is supposed to fix?
I'll merge it then.
Thanks.

Hi @dmiedev,
This fix resolves the problem of rendering the sliding number when context is defunct, which leads to an error


__values(..) does not handle Iterable protocol. Infinite loop on older browsers.

TypeScript Version:  2.6.2
Code
    console.log('Starting testForTypescriptIssue()');
    // Trivial generator function.
    const generatorFn = function*() {
      yield 1;
      yield 1;
      yield 1;
      yield 1;
    };
    console.log('  Created generator function.');

    // THIS WORKS!! TESTED BACK TO ANDROID 16.

    // Construct an iterable and iterate it.
    const iterable: Iterable<number> = generatorFn();
    console.log('  Created Iterator')
    for (var i2 of iterable) {
      sum += i2;
      console.log('  . sum = ' + sum); // Infinite
    }
    console.log('  Completed second loop: sum == ' + sum);  // Never runs.

Compiled with:
  "compilerOptions": {
      "target": "ES5",
      "lib": [
        "ES5",
        "ES2015.Generator",
        "ES2015.Iterable"
      ],
      "downlevelIteration": true
    }

Results in:
    console.log('Starting testForTypescriptIssue()');
    // Trivial generator function.
    var generatorFn = function () {
        return __generator(this, function (_a) {
            switch (_a.label) {
                case 0: return [4 /*yield*/, 1];
                case 1:
                    _a.sent();
                    return [4 /*yield*/, 1];
                case 2:
                    _a.sent();
                    return [4 /*yield*/, 1];
                case 3:
                    _a.sent();
                    return [4 /*yield*/, 1];
                case 4:
                    _a.sent();
                    return [2 /*return*/];
            }
        });
    };
    console.log('  Created generator function.');
    // THIS WORKS!! TESTED BACK TO ANDROID 16.

    // Construct an iterable and iterate it.
    var iterable = generatorFn();
    console.log('  Created Iterator');
    try {
        for (var iterable_2 = __values(iterable), iterable_2_1 = iterable_2.next(); !iterable_2_1.done; iterable_2_1 = iterable_2.next()) {
            var i2 = iterable_2_1.value;
            sum += i2;
            console.log('  . sum = ' + sum); // Infinite
        }
    }
    catch (e_3_1) { e_3 = { error: e_3_1 }; }
    finally {
        try {
            if (iterable_2_1 && !iterable_2_1.done && (_a = iterable_2.return)) _a.call(iterable_2);
        }
        finally { if (e_3) throw e_3.error; }
    }
    console.log('  Completed second loop: sum == ' + sum);  // Never runs.

Expected behavior:
The code should output four dots and complete, printing the sum.
Actual behavior:
On desktop Chrome and Android emulators APIs 22 and above, the code works as expected. The second loop's printed sums are 5 through 8, as expected.
On APIs 21 and below (>20%), the loop will never completes. The loop's printed sums are undefined because i2 (from iterable_2_1.value) is undefined. iterable_2_1.done is always false.
Proposed solution
iterable_2 is assigned this function from __values(..)
function () {
  if (o && i >= o.length) o = void 0;
  return { value: o && o[i++], done: !o };
}

In this case, o is iterable, which is not an array and is always defined: { values: undefined, done: false}. Checking o instanceof Array first works:
var __values = (this && this.__values) || function (o) {
    var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
    if (m) return m.call(o);
    if (o instanceof Array) {
        return {
            next: function () {
                if (o && i >= o.length) o = void 0;
                return { value: o && o[i++], done: !o };
            }
        };
    }
    // .next() of the Iterable protocol
    return (typeof o.next === "function") ? o : {done: true};
};

The iterator interface depends on Symbol polyfill. The emitted code assumes the existence of one (similar to Promise for async..await emit).
https://github.com/zloirock/core-js would be a possible candidate

My understanding is the Iterable protocol depends on the Symbol.  The iterator itself should not. Function generators return IterableIterators, and so should act as iterators in downlevel environments without Symbol.
This is the __values(..) I see from tsc:
var __values = (this && this.__values) || function (o) {
    var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
    if (m) return m.call(o);
    return {
        next: function () {
            if (o && i >= o.length) o = void 0;
            return { value: o && o[i++], done: !o };
        }
    };
};

The code after if (m) return m.call(o); (where m is the iterator when there is a Symbol) implies there was an intention to solve this when Symbol was not there, such as my compiled case.
The fix above the is a trivial solution, looking for the iterator's .next() method.

Okay.  I see my mistake.
Since the generator function returns an IterableIterator, the solution I proposed found the Iterator protocol. However, since I was attempting to use this in a for( .. of ..) loop, the expectation is an Iterable and should not expect the .next().
It would be great if the downlevel could rewrite a for..of that receives a IterableIterator as a valid Iterator loop.  That would be sufficient.  Of course, my solution implicitly does that, at a minor cost to all __value(..) calls.  There is certainly a more local solution.

chatted with @rbuckton about this today, the helper should throw an exception to let you know it expects to find Symbol but did not find it. should help users look reach the solution faster.

With respect to the __values(..) helper, sure. That sound fine to address any misuse of for(item of myIterator).
However, for the narrower case of for(item of myIterableIterator), it be really really nice if the downlevel compiler would recognize the loop pattern and rewrite it as an Iterator loop that doesn't depend on Symbol.  As my original suggested patch demonstrates, there is no technical reason why and ES5 can't run such code.

However, for the narrower case of for(item of myIterableIterator), it be really really nice if the downlevelIteration mode would recognize the loop pattern and rewrite it as an Iterator loop that doesn't depend on Symbol.

That would depend on type-directed emit which we generally try to avoid. There's no way to know at runtime that an object that has a next method is actually an iterator without type information that isn't available at runtime.

I don't understand what you mean by "type-directed emit". Adapting the output by the compiler's type information?
If you know it is an IterableIterator, such as a return value from a function generator, then don't you know it has the .next() method because of the Iterator half of that class? (...assuming the object wasn't manually casted by the developer, which is kind of their own fault.)
From a user/developer perspective, it seems strange to support the function*() syntax without the for( .. of .. ) equivalent when the downlevel browsers are technically capable of the behavior.

I don't think this is a change we want to make. Using --downlevelIteration essentially requires a usable Symbol.iterator, either natively or through a polyfill. We previously made a change that throws an error if Symbol.iterator is not found, and support creating a pseudo-iterator over array-likes (such as Array, arguments, typed arrays, and strings). If we were to naively wrap any object with a .next and treat it as if it were an iterable, that would go against the runtime semantics of ES6 that --downlevelIteration is attempting to emulate.
Basing whether to change for..of based on the type of the iterator at compile time rather than what is known about its value at runtime is also a change we do not want to make, as that is what is known as "Type Directed Emit", which is something we expressly want to avoid.
Basing whether to change for..of based on whether we can trace the source of the iterated value to a call to a generator is prohibitively complex in anything more than the most trivial of cases, and is not likely something we will invest in.
I'm closing this issue as there is nothing further we can do here. There are already two options that address this:

We now throw an error if the object is not array-like and Symbol.iterator cannot be found.
This error can be overcome by using a polyfill for Symbol.iterator (as mentioned earlier in the thread).


Bump version to 1.0.0-alpha02

Compose 1.0.0-alpha02 introduced binary breaking change. Library must be recompiled to work with this version of the compose compiler plugin.

Thanks for the PR 🙌 . I'll take a look at this on Monday when I'm back from vacation

Merged, and staged the release. Should be out later today.


ci: removed not needed flows

🚨 Proposed changes
I removed no more needed CI flows.
⚙ Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[x] Refactor

Why removing matrix tests?

This is a frontend plugin, why do I need it ?


Macro-generated structs/enums are not indented properly

For example, this enum whose definition is supplemented by an enum, which is indented correctly:
enumerate! {
    pub enum IoctlCode: u32 {
        PlatformReset = 0,
        PlatformStatus = 1,
        PekGenerate = 2,
        PekCertificateSigningRequest = 3,
        PdhGenerate = 4,
        PdhCertificateExport = 5,
        PekCertificateImport = 6,
        GetIdentifier = 7,
    }
}

will be formatted like this after running cargo fmt:
enumerate! {
    pub enum IoctlCode: u32 {
    PlatformReset = 0,
    PlatformStatus = 1,
    PekGenerate = 2,
    PekCertificateSigningRequest = 3,
    PdhGenerate = 4,
    PdhCertificateExport = 5,
    PekCertificateImport = 6,
    GetIdentifier = 7,
    }
}

Here is enumerate!'s definition.

Okay, not sure if this is a bug at all. We determined it's because my editor was using tabs, not spaces, and cargo fmt was replacing the tabs with4 spaces but not performing any other work inside the block enclosed by the macro invocation.

We determined it's because my editor was using tabs, not spaces, and cargo fmt was replacing the tabs with4 spaces

Yup that'd do it. If you haven't seen it already, note you can leverage the hard_tabs config option to control that.

but not performing any other work inside the block enclosed by the macro invocation.

I'm not entirely clear what all other work inside the block would entail in the context of the snippet, but guessing you may be seeking something similar to #3445?

but not performing any other work inside the block enclosed by the macro invocation.

I'm not entirely clear what all other work inside the block would entail in the context of the snippet, but guessing you may be seeking something similar to #3445?

Yes, I think that issue you linked describes what indentation I'd expect to happen.
Duplicate of #3445.


jtreg artifacts contain incorrect contents

The https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/ job produces several artifacts, some of them contain incorrect contents.

jtreg4.2.0 doesn't contain 4.2.0 (see Slack conversation)
this job used to produce 5.0.1b but started producing a 6+1 (test.getDependency and job is failing due to this change... was expecting the other version)
the name of the jtreg 6 file is 'problematic' jtreg--6+1 (and doesn't follow previous naming convention)

The Jenkinsfile and jtreg.sh files are in: https://github.com/adoptium/ci-jenkins-pipelines/tree/master/tools/code-tools

@jerboaa - looking for some assistance with this one if you have time to take it or advise on it, please :)

Looking at the code both buildJTRegTip() and buildJTRegLastTag() are calling buildJTReg(), which built jtreg by  make/build-all.sh ["$JAVA_HOME"](https://github.com/adoptium/ci-jenkins-pipelines/blob/master/tools/code-tools/jtreg.sh#L141). So no different version information is passed in or considered. All builds (including build using the former scripts  before migrated to github) are building the latest jtreg.

This could be fixed by checkout preferred release version https://github.com/adoptium/ci-jenkins-pipelines/blob/master/tools/code-tools/Jenkinsfile#L70 https://github.com/openjdk/jtreg/releases

@smlambert Are you still looking to get this fixed? If yes, I'll take a look later in the week.

If you can, that would be great thanks @jerboaa.

ok

Note that JDK head now requires jtreg 6, which isn't backwards compatible. I.e. JDK 17+ will have to use jtreg 6 and other JDKs stay with jtreg 5 (should work for JDK 8 and 11). As such, I'm going to update the code to build jtreg 5 and jtreg 6.
See also:
https://bugs.openjdk.java.net/browse/JDK-8266254

Related: https://github.com/adoptium/aqa-tests/issues/2642

I have successful builds available using specific releases https://github.com/openjdk/jtreg/releases https://ci.adoptopenjdk.net/view/work-in-progress/job/GetNode/46/
The tricky thing is the build is build from my personal jtreg branch. https://github.com/sophia-guo/jtreg
The reason for that is jtreg set the latest tagged version by default , which also doesn't support passing in extra tag information:
if [ "$#" -ne 1 ]; then
    echo "Usage: $0 /path/to/jdk/1.8/image" >&2
   exit 1
fi

get_tag_info() {
    case $SCM_TYPE in
        HG)  hg tags | grep jtreg | head -1 ;;
       GIT) git tag | grep jtreg | tail -1 ;;
          *) echo "Error: unknown SCM" >&2 ; exit 1 ;;
   esac
}

## Set version and build numbers to the latest tagged version by default
TAG_INFO=`get_tag_info`<br class="Apple-interchange-newline">

https://github.com/openjdk/jtreg/blob/master/make/build-all.sh#L287-L288
https://github.com/openjdk/jtreg/blob/master/make/build-all.sh#L31-L34
https://github.com/openjdk/jtreg/blob/master/make/build-all.sh#L84-L90
So looks like we need to set up a separate repo if we'd like to build versions other than the latest. Thought?

So looks like we need to set up a separate repo if we'd like to build versions other than the latest. Thought?

I'm not sure we need to.
@sophia-guo These two lines look like as if they would respect BUILD_NUMBER and BUILD_VERSION environment variables. Only if they're not set it would use TAG_INFO. Have you considered using something like this:
# explicitly build jtreg 5.1
export BUILD_NUMBER=b01
export BUILD_VERSION=5.1
bash make/build-all.sh
[...]

@jerboaa Thanks! Didn't bother to go further once I saw the line TAG_INFO=get_tag_info .

Just a note that for jtreg 6+ we don't need to export build_number and build_version any more. Specification of version info was added in different version-numbers.txt files. When building use build.sh for jtreg6+ while buildall.sh for jtreg5. Though buildall.sh stays in the jtreg6+, which is confusing.


Added disk form_factor meta label

The requirement from field engineers is knowledge of the form factor of the device, i.e. 3.5", 2.5". Not always possible to determine where is device is installed. When device is 2.5 in 36-disk 4U chassis is definitely in rear cage, for example

updated EXAMPLE.md
fixed copy-paste issue Starting systemd_exporter

@SuperQ

Moved release changes to #87

smartctl --json reports "rotation_rate": 7200 and "rotation_rate": 0 for my two disks, so the data is in the source.

Another related feature that I don't see is a way to tell if its an ssd or hdd. Would that be easy to add too?

HDD: smartctl_device{interface="sat"} * on(device) group_left() (smartctl_device_rotation_rate > 0)
SATA SSD: smartctl_device{interface="sat"} * on(device) group_left() (smartctl_device_rotation_rate == 0)
NVMe: smartctl_device{interface="nvme"}

@SuperQ, can you look this? Seems we at finish line with couple of PR's to make a 0.9.0 release 🙏


Several fixes & devspace render

Changes:

Fix panic, if image yaml is empty (#847)
Fix issue where permissions where not set during sync (#848)
Fix issue in sync where file pipes would not be correctly cleaned up (#851)
New devspace render command that outputs the created yamls (#846)

Awesome!

BTW -- are there instructions for building/installing master branch anywhere?

@shaunc instructions how to build the master are given in the Contribute section in the readme (https://github.com/devspace-cloud/devspace#contributing). However, we also will make a new release till the end of next week!

Ok -- great!


add new devices and tests

Pull Request Test Coverage Report for Build 1621

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

Totals

Change from base Build 1614:
0.0%

Covered Lines:
821

Relevant Lines:
821

💛  - Coveralls


Add libcaliptra (SOC C Integration API Library) into hw release archieve

Do we expect the libcaliptra examples to build from within the release directory?

Do we expect the libcaliptra examples to build from within the release directory?

Not necessarily

Then we may want to exclude the libcaliptra/examples/ subdirectory from the release as it doesn't have required inputs to do so.

I don`t think it is necessary...It will only create complexity IMHO


started to make changes to git start and forked the same

this guy is spamming hacktoberfest, please mark as spam


Remove aliases for multi_head_attention layers

These aliases, when combined with the saving change below, breaks all saving involving the MultiHeadAttention layer and .keras style weights. https://github.com/keras-team/keras/blob/f97e3c7963c3c82e6a8bcea49e20ad6063054ed7/keras/saving/saving_lib.py#L290-L294
We either need to remove these alises, or change the linked saving logic

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

Comparison is base (dfadf6a) 79.88% compared to head (3f05fb8) 69.36%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19092       +/-   ##
===========================================
- Coverage   79.88%   69.36%   -10.53%
===========================================
  Files         339      339
  Lines       35680    35671        -9
  Branches     7011     7012        +1
===========================================
- Hits        28504    24742     -3762
- Misses       5588     9445     +3857
+ Partials     1588     1484      -104

Flag
Coverage Δ

keras
69.31% <ø> (-10.43%)
:arrow_down:

keras-jax
?

keras-numpy
57.10% <ø> (-0.01%)
:arrow_down:

keras-tensorflow
64.65% <ø> (-0.04%)
:arrow_down:

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

I think this was a false alarm. Misunderstood the code, and the error messages can be strange in the fail case.


Metadata API is not retrieving data from the backend

Below is my code:
MetadataService.MetadataPort service = createService();
MetadataService.PermissionSet ps =
(MetadataService.PermissionSet) service.readMetadata('PermissionSet',
new String[] { 'PermissionSetTest' }).getRecords()[0];
system.debug(ps);
Output what i got:
?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">soapenv:Body<records xsi:nil="true"/></soapenv:Body></soapenv:Envelope>
When i'm trying to get the permission set values, I'm getting "nil" value in the output, please anyone help me to resolve this issue.

Hi Team,
I'm too facing the same issue with "PermissionSet", Please refer the webservice CAll out response below.
16:08:31:231 CALLOUT_RESPONSE [11038]|<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">soapenv:Body<records xsi:nil="true"/></soapenv:Body></soapenv:Envelope>
Kindly can help to get rid of this issue and let me know, if any additional details are required

You can use SOQL in Apex to query Permission Sets


QGIS fails to install

$ brew cask install qgis
==> Satisfying dependencies
==> Installing Formula dependencies from Homebrew
matplotlib ... already installed
==> Installing Cask dependencies: gdal-framework
gdal-framework ...
already installed
complete
==> Downloading http://www.kyngchaos.com/files/software/qgis/QGIS-2.12.0-1.dmg
Already downloaded: /Library/Caches/Homebrew/qgis-2.12.0-1.dmg
==> Running installer for qgis; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
==> installer: Error - QGIS requires the Matplotlib python module (kyngchaos build).
Error: Command failed to execute!

==> Failed command:
["/usr/bin/sudo", "-E", "--", "/usr/sbin/installer", "-pkg", "#<Pathname:/opt/homebrew-cask/Caskroom/qgis/2.12.0-1/Install QGIS.pkg>", "-target", "/"]

==> Output of failed command:

==> Exit status of failed command:
#<Process::Status: pid 5199 exit 1>

$ brew info matplotlib
homebrew/python/matplotlib: stable 1.4.3, HEAD
http://matplotlib.org
/usr/local/Cellar/matplotlib/1.4.3 (2996 files, 78M) *
  Built from source
From: https://github.com/Homebrew/homebrew-python/blob/master/matplotlib.rb
==> Dependencies
Build: pkg-config ✔
Required: freetype ✔, libpng ✔, homebrew/python/numpy ✔
Optional: ghostscript ✘, homebrew/dupes/tcl-tk ✘, gtk+3 ✘, pygtk ✘, pyside ✘, pyqt ✘, pyqt5 ✘
==> Options
--with-cairo
	Build with cairo backend support
--with-ghostscript
	Build with ghostscript support
--with-gtk+3
	Build with gtk+3 support
--with-pygtk
	Build with pygtk backend support (python2 only)
--with-pyqt
	Build with pyqt support
--with-pyqt5
	Build with pyqt5 support
--with-pyside
	Build with pyside support
--with-python3
	Build with python3 support
--with-tcl-tk
	Build with tcl-tk support
--with-tex
	Build with tex support
--without-python
	Build without python2 support
--HEAD
	Install HEAD version
==> Caveats
If you want to use the `wxagg` backend, do `brew install wxpython`.
This can be done even after the matplotlib install.
If you use system python (that comes - depending on the OS X version -
with older versions of numpy, scipy and matplotlib), you may need to
ensure that the brewed packages come earlier in Python's sys.path with:
  mkdir -p /Users/username/Library/Python/2.7/lib/python/site-packages
  echo 'import sys; sys.path.insert(1, "/usr/local/lib/python2.7/site-packages")' >> /Users/username/Library/Python/2.7/lib/python/site-packages/homebrew.pth

$ brew doctor
Your system is ready to brew.

This is on El Capitan, but it looks like the issue is that QGIS expects a particular distribution of matplotlib that differs from what homebrew/python currently provides. I'm not familiar enough with the homebrew/python packaging/distribution situation to effectively troubleshoot this at the moment. It looks like the qgis formula used to depend on a casked version of matplotlib, but switched to a formula-provided version with #14043. It has also been updated since that change with #14881.

This may just be a bug with the QGIS installer having a hardcoded path. A possible (untested) workaround appears to be creating a symlink:
ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /Library/Python/2.7/site-packages/matplotlib-override

( via http://gis.stackexchange.com/a/163512 )

I'd be curious to know if either @scarnecchia or @MatzFan have encountered this issue.

Update: after creating the symlink, brew cask install qgis completed successfully.
$ sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /Library/Python/2.7/site-packages/matplotlib-override
Password:
$ brew cask install qgis
==> Satisfying dependencies
==> Installing Formula dependencies from Homebrew
matplotlib ... already installed
==> Installing Cask dependencies: gdal-framework
gdal-framework ...
already installed
complete
==> Downloading http://www.kyngchaos.com/files/software/qgis/QGIS-2.12.0-1.dmg
Already downloaded: /Library/Caches/Homebrew/qgis-2.12.0-1.dmg
==> Running installer for qgis; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.

==> installer: Package name is QGIS
==> installer: Installing at base path /
==> installer: The install was successful.
🍺  qgis staged at '/opt/homebrew-cask/Caskroom/qgis/2.12.0-1' (6 files, 182M)

This seems less than ideal, but does appear to work.
I'll let the maintainers decide whether or not to consider this issue closed.
Thanks! :smile:

Depending on the severity, we can either add a caveat, or actually execute that command automatically after install, something along the lines of
  # Symlink matplotlib so that QGIS's hardcoded path requirement is satisfied
  # Original discussion: https://github.com/caskroom/homebrew-cask/issues/15131
  postflight do
    system '/usr/bin/sudo', '-E', '--', '/bin/ln', '-s', '--', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/Library/Python/2.7/site-packages/matplotlib-override'
  end

Is this command always required for a working install?

My limited experience (documented above) is that the QGIS installer will not even run without the symlink. Would a postflight stanza execute before or after the package installer runs? I think it would need to run beforehand to be effective. I'm also wary of creating such symlinks without a user's explicit permission.
I'd personally be more comfortable with a caveat, but are there many other examples of caveats for dependency workarounds or do they primarily address runtime issues after the software is installed?

That could be done as a preflight stanza, which would be run before the install.
The caveat would look like:
caveats <<-EOS.undent
  #{token} requires matplotlib in a specific location. Please run the following to finish install:

    sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /Library/Python/2.7/site-packages/matplotlib-override
EOS

I'll wait for some feedback from some of the other maintainers before we make a decision. Thanks for the detailed reporting.

I'm also wary of creating such symlinks without a user's explicit permission.

Bingo.

I'd personally be more comfortable with a caveat

And that is exactly what we should do in this case.

This may just be a bug with the QGIS installer having a hardcoded path.

Ideally, this should be fixed upstream (at which point we’ll remove the caveat).

Fixed by https://github.com/caskroom/homebrew-cask/pull/15173


Connection failed from Android to Mac

I have updated my neardrop app on my mac and since yesterday i am facing a new issue of connection failure from my phone Samsung Galaxy S21 FE. I don't know why

Firewall

I'm having the same problem with Pixel 7 Pro.  Mac firewall is off.

It has stopped working for me for a bit over a month now, I think there's a more fundamental issue - everyone at my office that used to use it has the same problem. I'm surprised there aren't more issues about this? It fails with multiple different Android phones across several different MacBook types too.

Just wanted to update - I installed the latest release from May 22 and it is working for me now! Going to share this with everyone at my office.

Using latest and not able to connect to mac.
A pin code flashes briefly on android and then goes to Failed

Having the same problem on pixel 7 pro, see below:

Also not working for me any more. Same issue as detailed above.

I'm also still experiencing this issue. Reinstalling 2.1.0 did not work for me.
Phone is a Google Pixel 7 Pro, like a lot of people here...


Small typo (modification of "g_logging" by "g_logger") in amcache.py

Small typo (modification of "g_logging" by "g_logger") in amcache.py  to avoid the error
    g_logging.error("doesn't appear to be an Amcache.hve hive")
NameError: name 'g_logging' is not defined

great catch, thanks!


Log a warning for uneditable automate instances

The automate methods
$evm.instance_delete
$evm.instance_update
$evm.instance_create
Have been returning a false for uneditable instances and the
caller can check the return value and log an error. Based on
the request from this ticket we will now log a warning if the
instance is not editable
https://bugzilla.redhat.com/show_bug.cgi?id=1212411

@gmcculloug @tinaafitz
Please Review


[FIX] Issue #137 Errors when running on Windows

Adding the 'encoding' parameter to the open() function in the file handler allowed for proper book building as expected in a Windows 10 environment.
I went through the code base and found a few other file handle operations that do not declare the encoding when reading. While this is unlikely to be an issue when writing (especially since the output is formatted using the yaml library), this type of bug may be possible on the other read operations.

very nice! thanks! I don't think we can really test this specifically since it's windows-specific and we don't have access to those build environments, so I'll give this a few hours to see if anyone has thoughts and, if not, will give it a merge!

merge! thanks :-)

@kirstieJane this might solve some of your local build problems ! If you don't feel like using containers :smile_cat:


[AVCe] Add missing checks of libva return statuses to AVC encoder

Introduced some more VA sts checks for libVA calls. Only AVC and FEI Encode for now

@mgonchar Please make a rebase on top of master. Android CI will be fixed.


[Hacktoberfest '24]: Added JS callback  (Issue: #68)

Added JS Callback, Issue: #68
This PR introduces an example demonstrating the use of async/await in JavaScript for handling asynchronous API requests. The implementation includes:
HTML: Basic structure with a button to trigger data fetch and a section to display results.
CSS: Simple styling for layout and button aesthetics.
JavaScript: Fetches data from an API using async/await, displays the result in the DOM, and handles potential errors.
This example improves readability and maintainability compared to traditional callback-based methods.

@neerajrathore please review the PR, updated accordingly


Intermittent errors pushing to heroku (502: Bad Gateway)

This issue was originally filed by @Andersmholmgren

Today I've experienced problems pushing my dart app to heroku. It happens roughly two out of every three times
git push heroku master
Fetching repository, done.
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 509 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Dart app detected
-----> ENV_DIR is /tmp/d20140624-330-1omsqd
-----> ENV_DIR contains file AC_ADDON_SECRET
-----> ENV_DIR contains file AC_BASE_URL
-----> ENV_DIR contains file AC_ENV
-----> ENV_DIR contains file AC_MONGO_HOST_URL
-----> ENV_DIR contains file BUILDPACK_URL
-----> ENV_DIR contains file DART_SDK_URL
-----> ENV_DIR contains file MONGOHQ_URL
-----> ENV_DIR contains file PATH
-----> Welcome, this machine is: Linux 228e6378-0d43-4d98-b17f-c3501cf31ba2 3.8.11-ec2 #1 SMP Wed Jun 4 21:19:02 UTC 2014 x86_64 GNU/Linux
-----> Installing Dart VM via URL https://github.com/selkhateeb/heroku-vagrant-dart-build/releases/download/1.3.0/dart-sdk.tar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.5M  100 11.5M    0     0  2604k      0  0:00:04  0:00:04 --:--:-- 2849k
-----> Copy Dart binaries to app root
-----> Dart cmd found at -rwx------ 1 u31501 31501 11468640 Jun 24 05:25 /app/dart-sdk/bin/dart
Dart VM version: 1.3.0 (Tue Apr 15 03:03:20 2014) on "linux_x64"
-----> Dart reports version:
*** Found pubspec.yaml in /tmp/build_432855fd-3084-47d2-ab9e-0e0145b20b04/.
*** Running pub get
Pub 1.3.0
Resolving dependencies... (11.2s)
Downloading atlassian_connect_shelf 0.5.2...
Downloading browser 0.10.0+2...
Downloading git 0.4.1+1...
Downloading logging 0.9.1+1...
Downloading atlassian_connect_config 0.3.1...
Downloading mock 0.11.0+1...
Downloading mustache 0.1.8...
Downloading option 0.3.3...
Downloading shelf 0.4.0...
Downloading shelf_route 0.3.1...
Downloading bot 0.27.0+2...
Downloading path 1.2.1...
Downloading collection 0.9.3+1...
Downloading atlassian_connect_host 0.3.1...
Downloading matcher 0.10.1+1...
Downloading either 0.1.7...
Downloading http_parser 0.0.2+3...
Downloading stack_trace 0.9.3+2...
Downloading uri 0.9.2...
Downloading atlassian_connect_jwt 0.2.1...
Downloading http_server 0.9.2...
Downloading mongo_dart 0.1.42...
Downloading quiver 0.18.2...
Downloading xml 1.0.0...
Downloading crypto 0.9.0...
Downloading string_scanner 0.0.2...
Downloading unittest 0.11.0...
Downloading utf 0.9.0...
Downloading dart_jwt 0.1.0+2...
Downloading mime 0.9.0+3...
Downloading bson 0.1.18...
Downloading mongo_dart_query 0.1.12...
Downloading source_maps 0.9.1...
Downloading more 1.2.1...
HTTP error 502: Bad Gateway
../../home/vagrant/1.3/dart-repo/dart/sdk/lib/_internal/pub/lib/src/http.dart 79  PubHttpClient.send.<fn>.<fn>
dart:isolate                                                                      _RawReceivePortImpl._handleMessage
This is an unexpected error. Please run
    pub --trace 'get'
and include the results in a bug report on http://dartbug.com/new.
 !     Push rejected, failed to compile Dart app
To git@heroku.com:jira-releasetab-aholmgren.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:jira-releasetab-aholmgren.git'

This issue has been moved to dart-lang/pub-dartlang#280.


Sila Solar V2000M

Hi! does my Sila Solar V2000M inverter support this?
I tried using two different RS232 converters on each of them, the result is the same. I checked all the wires with a multitester, everything is fine with the connection. Below is a photo of the wires:

Why did you attach 4 wires? Please remove the black one and compare your setup with this one:
https://github.com/syssi/esphome-pipsolar#schematics

You have to swap the red and white wire!

This is the cable included with the inverter in the box. I'm all
I did as you said, but the result does not change, I tried everything, used pins gpio1/gpio3 and gpio5/gpio4, tried to connect through different cables and other max32 modules. The inverter does not send any data

Did you try a loopback test? Connect the orange and orange-white wire and have a look at the debug output of the uart component. Do you see outgoing and incoming traffic?

sorry, I didn't understand )  I need to disconnect the brown wire from max3232 or connect orange and orange-white  wires directly  to wemos?

No. Just connect the orange wire to the orange-white wire (RX to TX). In this case the transmission is routed back to the receiver and you should see outgoing traffic as incoming bytes (too).

I connected two wires on the board and nothing happened

please )
For now, I'll try to do the same on another module. I have a couple rs 232 to ttl
logs_wemos-03-solar_logs.txt

look, here's a new module, but nothing new in the logs

logs_wemos-03-solar_logs (2).txt

Please enable the debug mode of the uart TTL. You cannot see any incoming raw traffic without this setting.
logger:
  level: DEBUG
  # Don't write log messages to UART0 (GPIO1/GPIO3) if the inverter is connected to GPIO1/GPIO3
  baud_rate: 0

uart:
  id: uart_0
  baud_rate: 2400
  tx_pin: GPIO1
  rx_pin: GPIO3
  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      delimiter: "\r"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);

logs_wemos-03-solar_logs (3).txt
and log with looped wires
logs_wemos-03-solar_logs (4).txt

Okay. There is no incoming traffic in all logs. In this case the issue is located between the RS232 converter and your ESP. Please connect GPIO4 to GPIO5 as next step. In this case we ignore the RS232 converter and are creating the loopback at the ESP.

ok, I attached the log and my yaml
logs_wemos-03-solar_logs (5).txt
wemos-03-solar.txt

Let's use the protocol test for the different loopback scenarios: https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml
Please flash this YAML and provide another log. I guess the log will be more clear here.

this log with lopped GPIO4 to GPIO5
logs_wemos-03-solar_logs (6).txt
and this log with connected  RS232 and inverter
logs_wemos-03-solar_logs (7).txt

Please unplug the inverter. Connect/bridge the RX/TX pin of the RS232 converter again to create the loopback and provide another log.

Please unplug the RS232 converter now and connect GPIO4 to GPIO5 + provide another log.

here it is )
logs_wemos-03-solar_logs (10).txt

Did you connect GPIO4 & GPIO5 for sure?

I just learned a software serial connection (GPIO4/GPIO5) doesn't supported full duplex and the loopback test doesn't work here. Please change the protocol test to GPIO1/GPIO3 + set the baud rate of the logger to 0:
substitutions:
  name: pipsolar
  tx_pin: GPIO1
  rx_pin: GPIO3

esphome:
  name: ${name}

esp8266:
  board: d1_mini

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

ota:

logger:
  level: DEBUG
  baud_rate: 0

api:
  reboot_timeout: 0s

uart:
  id: uart0
  baud_rate: 2400
  tx_pin: ${tx_pin}
  rx_pin: ${rx_pin}
  debug:
    direction: BOTH
    dummy_receiver: true
    after:
      delimiter: "\r"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);

interval:
  - interval: 80s
    then:
      # PI30/PI30MAX/PI30REVO/PI41
      - logger.log:
          level: INFO
          format: "Testing PI30/PI30MAX/PI30REVO/PI41 commands..."
      - logger.log:
          level: INFO
          format: "This is the set of commands supported by the pipsolar component!"
      - uart.write: [0x51, 0x50, 0x49, 0xBE, 0xAC, 0x0D]  # QPI\xbe\xac\r
      - delay: 1s
      - uart.write: [0x51, 0x44, 0x49, 0x71, 0x1B, 0x0D]  # QDIq\x1b\r
      - delay: 1s
      - uart.write: [0x51, 0x46, 0x4C, 0x41, 0x47, 0x98, 0x74, 0x0D]  # QFLAG\x98t\r
      - delay: 1s
      - uart.write: [0x51, 0x4D, 0x4E, 0xBB, 0x64, 0x0D]  # QMN\xbbd\r
      - delay: 1s
      - uart.write: [0x51, 0x4D, 0x4F, 0x44, 0x49, 0xC1, 0x0D]  # QMODI\xc1\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x49, 0x47, 0x53, 0xB7, 0xA9, 0x0D]  # QPIGS\xB7\xA9\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x49, 0x52, 0x49, 0xF8, 0x54, 0x0D]  # QPIRI\xF8T\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x49, 0x57, 0x53, 0xB4, 0xDA, 0x0D]  # QPIWS\xb4\xda\r
      - delay: 1s
      - uart.write: [0x51, 0x54, 0x27, 0xFF, 0x0D]  # QT'\xff\r
      - delay: 1s

      # PI41 split phase
      - logger.log:
          level: INFO
          format: "Testing PI41 split phase / multiple strings commands..."
      - uart.write: [0x51, 0x50, 0x49, 0x47, 0x53, 0x32, 0x68, 0x2D, 0x0D]  # QPIGS2h-\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x32, 0x47, 0x53, 0x30, 0x14, 0x05, 0x0D]  # QP2GS0\x14\x05\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x32, 0x47, 0x53, 0x31, 0x04, 0x24, 0x0D]  # QP2GS1\x04$\r
      - delay: 1s

      # PI18
      - logger.log:
          level: INFO
          format: "Testing unsupported PI18 commands..."
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x35, 0x50, 0x49, 0x71, 0x8B, 0x0D]  # ^P005PIq\x8b\r
      - delay: 1s
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x35, 0x47, 0x53, 0x58, 0x14, 0x0D]  # ^P005GSX\x14\r
      - delay: 1s
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x36, 0x4D, 0x4F, 0x44, 0xDD, 0xBE, 0x0D]  # ^P006MOD\xdd\xbe\r
      - delay: 1s

      # PI17
      - logger.log:
          level: INFO
          format: "Testing unsupported PI17 commands..."
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x33, 0x50, 0x49, 0x0D]  # ^P003PI\r
      - delay: 1s
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x34, 0x4D, 0x4F, 0x44, 0x0D]  # ^P004MOD\r
      - delay: 1s
      - uart.write: [0x5E, 0x50, 0x30, 0x30, 0x35, 0x46, 0x4C, 0x41, 0x47, 0x0D]  # ^P005FLAG\r
      - delay: 1s

      # PI16
      - logger.log:
          level: INFO
          format: "Testing unsupported PI16 commands..."
      - uart.write: [0x51, 0x50, 0x49, 0x0D]  # QPI\r
      - delay: 1s
      - uart.write: [0x51, 0x4D, 0x4F, 0x44, 0x0D]  # QMOD\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x49, 0x47, 0x53, 0x0D]  # QPIGS\r
      - delay: 1s
      - uart.write: [0x51, 0x50, 0x49, 0x52, 0x49, 0x0D]  # QPIRI\r
      - delay: 1s
      - uart.write: [0x51, 0x4D, 0x4F, 0x44, 0x0D]  # QMOD\r

      - logger.log:
          level: INFO
          format: "Done. Repeating..."

Connect GPIO1 to GPIO3 and try again.

in this case, the log is definitely different)))
logs_wemos-03-solar_logs (11).txt

after change
logger:
level: DEBUG
baud_rate: 0
logs_wemos-03-solar_run (1).txt

This logs goods:
[11:14:55][D][uart_debug:158]: >>> "QPI\r"
[11:14:55][D][uart_debug:158]: <<< "QPI\r"
[11:14:56][D][uart_debug:158]: >>> "QMOD\r"
[11:14:56][D][uart_debug:158]: <<< "QMOD\r"

If we send ">>> QPI\r" we are receiving the same message at the next line (<<< "QPI\r"). Please attach the RS232 converter to GPIO1/GPIO3 now and connect the RX+TX pins (orange + orange-white) of the RS232. Do you see the local echo again? Please provide the log.

if I understood correctly, I connected  the converter as usual, but without the brown wire
logs_wemos-03-solar_logs (12).txt

Could you provide a photo of your cables between the ESP and the RS232 converter? The received messages are garbage.

Good! Please bridge the RS232-TX/RX lines (orange-white <-> orange) again and provide another log.

photo and log)

logs_wemos-03-solar_logs (13).txt

This looks good!
[12:30:17][D][uart_debug:158]: >>> "QMN\xBBd\r"
[12:30:17][D][uart_debug:158]: <<< "QMN\xBBd\r"
[12:30:17][D][uart_debug:158]: >>> "^P005GSX\x14\r"
[12:30:17][D][uart_debug:158]: <<< "^P005GSX\x14\r"
[12:30:18][D][uart_debug:158]: >>> "QMODI\xC1\r"
[12:30:18][D][uart_debug:158]: <<< "QMODI\xC1\r"

The ESP is connected properly to the RS232 converter. You are able to transmit and receive at the logic level of RS232 now. Please remove the bridge and attach the inverter again (don't touch the YAML).

If the inverter doesn't respond immediately please swap the orange and orange-white cable.

swapping the orange and orange-white cable does not give results (( the logs are the same, there is no answer
logs_wemos-03-solar_logs (14).txt

maybe the uart is not involved in the inverter itself? The watchpower application works on the computer...

Do you use the same port if you use watchpower or are you talking about a USB port?

for whatchpower I use usb, and it working correct.
But port rs232 looks like not turned on.

As a last try I would try to use watchpower + rs232 to make sure the RS232 port of the inverter is functional.

Do you have a computer with a 9p D-SUB serial port? Could you attach your inverter to this port instead of the USB cable?

Wow! you puzzled me :)))
But there is a chance, maybe next weekend I will be able to find a couple of such old-school monsters  in my garage. I would like to run it again)))
And tell me, have you thought about improving pipsolar and using usb to uart converter instead of off ttl of uart, theoretically is this possible?

And tell me, have you thought about improving pipsolar and using usb to uart converter instead of off ttl of uart, theoretically is this possible?

The ESP8266 and ESP32 doesn't provide a USB stack. There are new ESP32 modules with USB host support. So there is a chance in a few years.

Cool, I'll follow your news :))

HI ! you will laugh, below in the photo is the reason for all the failures

The second one shows that I decided to connect the wires directly to the board.
The logs have changed, but I still can't extract the correct data. I attached two logs with a normal pipsolar code and a test debugcode  from the messages above
logs_pipsolar_logs.txt
logs_pipsolar_debug.txt

We should start from scratch and try to identify wiring issues between the ESP, RS232 converter and your communication board. The captured traffic is just garbage probably because of bad grounding.

I don't even know where to start, all the wires are now soldered. looks reliable


CPU to 100%

Hello, first of all thank you for your share. Do you know how can I improve the CPU usage? I need use this on Raspberry pi3 but the CPU go immediately to 100%. Do you have any suggestion?
Thank you

I have not tried to run this on my Pi3 yet, but my guess is that it is relatively hard on the limited CPU power.
First thing you might want to try is to reduce the image size that is used to do the actual face recognition on.


[Gekidou] refactor clean notifications

Summary
This PR refactors the way we clean push notifications that have been received.
Fixes the logout Android crash when attempting to clean notifications
Try and keep the app icon badge in sync with remaining mentions across servers.
NONE

@anurag6713 please re-review, I've added a few changes and split them in commits to ease the review...


Check the linter output before writing to console.

We should write the output only to console if the formatter actually returns something meaningfull. This should fix https://github.com/panuhorsmalahti/gulp-tslint/issues/75.

Thanks 👍

You are welcome! Looking forward to a new release ;)


add formated date

#129 format date Tue, 07 Mar 2023 15:39:07 GMT to 07 Mar 2023

@fiskryeziu Can you update this PR pulling all the changes from my feature-format-date branch? I've resolved the conflicts and applied the date formatting reflecting changes made on challenge detail page.

@fiskryeziu I apologize for not providing the complete context earlier. In reference to issue #133, I have made a change where I moved the "challenge data sourced" field from the ChallengeProgress component to the ChallengeInfoSection component, which is situated within the ChallengeDetail view. Consequently, the "challenge data sourced" field will now be displayed at the top of the challenge detail page.

Commit from this PR has been picked into #139.


asm.js fallback not working on IE11

Hi,
Since my last update of source code (0.3.0), Blazor don't work anymore on Internet Explorer 11.
Of course i know this is not yet officially supported, but i was able to make it work with babel-core polyfill and fetch.
I don't expect this to be resolved fast, as Internet Explorer 11 is not your goal.
However, here is the Stacktrace i have with Blazor when crashing. I had the same error/issue using other polyfill implementation too.

WASM: Services are configured...
WASM:
WASM: Unhandled Exception:
WASM: Microsoft.AspNetCore.Blazor.Browser.Interop.JavaScriptException: Espace pile insuffisant
WASM: Error: Espace pile insuffisant
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Interop.RegisteredFunction.InvokeUnmarshalled[T0,T1,T2,TRes] (System.String identifier, T0 arg0, T1 arg1, T2 arg2) <0x1dfc088 + 0x00056> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Interop.RegisteredFunction.InvokeUnmarshalled[T0,T1,TRes] (System.String identifier, T0 arg0, T1 arg1) <0x1dfbfa0 + 0x00022> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.UpdateDisplay (Microsoft.AspNetCore.Blazor.Rendering.RenderBatch batch) <0x1dfbeb8 + 0x00020> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Rendering.Renderer.ProcessRenderQueue () <0x1bf2c58 + 0x0009e> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Rendering.Renderer.AddToRenderQueue (System.Int32 componentId, Microsoft.AspNetCore.Blazor.RenderFragment renderFragment) <0x1befde0 + 0x00080> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.RenderHandle.Render (Microsoft.AspNetCore.Blazor.RenderFragment renderFragment) <0x1befac0 + 0x00042> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.BlazorComponent.StateHasChanged () <0x1bef9b0 + 0x00060> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.BlazorComponent.SetParameters (Microsoft.AspNetCore.Blazor.Components.ParameterCollection parameters) <0x1bef230 + 0x000bc> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.AddComponent (System.Type componentType, System.String domElementSelector) <0x1bb1778 + 0x0005e> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.AddComponent[TComponent] (System.String domElementSelector) <0x1bb1468 + 0x00020> in :0
WASM:   at Allogaia.Web.Client.Program+d__3.MoveNext () <0x1b9afc8 + 0x00048> in :0
WASM: --- End of stack trace from previous location where exception was thrown ---
WASM:   at Allogaia.Web.Client.Program+<>c+<b__4_0>d.MoveNext () <0x1b95b28 + 0x000bc> in :0
WASM: --- End of stack trace from previous location where exception was thrown ---
WASM:   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_1 (System.Object state) <0x1e183d8 + 0x00014> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x1e18388 + 0x00022> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x1e17ee0 + 0x000f0> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x1e17b80 + 0x00020> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x1b411f8 + 0x00046> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x1b3f180 + 0x000f4> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x1b3ed70 + 0x00000> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM: [ERROR] FATAL UNHANDLED EXCEPTION: Microsoft.AspNetCore.Blazor.Browser.Interop.JavaScriptException: Espace pile insuffisant
WASM: Error: Espace pile insuffisant
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:    at Symbol()_t.u5o0ubgkph8.set (https://www.gzahra.fr/lib/ie/browser-polyfill/5.6.15/browser-polyfill.min.js:14:262)
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Interop.RegisteredFunction.InvokeUnmarshalled[T0,T1,T2,TRes] (System.String identifier, T0 arg0, T1 arg1, T2 arg2) <0x1dfc088 + 0x00056> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Interop.RegisteredFunction.InvokeUnmarshalled[T0,T1,TRes] (System.String identifier, T0 arg0, T1 arg1) <0x1dfbfa0 + 0x00022> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.UpdateDisplay (Microsoft.AspNetCore.Blazor.Rendering.RenderBatch batch) <0x1dfbeb8 + 0x00020> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Rendering.Renderer.ProcessRenderQueue () <0x1bf2c58 + 0x0009e> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Rendering.Renderer.AddToRenderQueue (System.Int32 componentId, Microsoft.AspNetCore.Blazor.RenderFragment renderFragment) <0x1befde0 + 0x00080> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.RenderHandle.Render (Microsoft.AspNetCore.Blazor.RenderFragment renderFragment) <0x1befac0 + 0x00042> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.BlazorComponent.StateHasChanged () <0x1bef9b0 + 0x00060> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Components.BlazorComponent.SetParameters (Microsoft.AspNetCore.Blazor.Components.ParameterCollection parameters) <0x1bef230 + 0x000bc> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.AddComponent (System.Type componentType, System.String domElementSelector) <0x1bb1778 + 0x0005e> in :0
WASM:   at Microsoft.AspNetCore.Blazor.Browser.Rendering.BrowserRenderer.AddComponent[TComponent] (System.String domElementSelector) <0x1bb1468 + 0x00020> in :0
WASM:   at Allogaia.Web.Client.Program+d__3.MoveNext () <0x1b9afc8 + 0x00048> in :0
WASM: --- End of stack trace from previous location where exception was thrown ---
WASM:   at Allogaia.Web.Client.Program+<>c+<b__4_0>d.MoveNext () <0x1b95b28 + 0x000bc> in :0
WASM: --- End of stack trace from previous location where exception was thrown ---
WASM:   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_1 (System.Object state) <0x1e183d8 + 0x00014> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x1e18388 + 0x00022> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x1e17ee0 + 0x000f0> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x1e17b80 + 0x00020> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x1b411f8 + 0x00046> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x1b3f180 + 0x000f4> in <44d04a8d2b4a4027ae601aa5d288e318>:0
WASM:   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x1b3ed70 + 0x00000> in <44d04a8d2b4a4027ae601aa5d288e318>:0
SCRIPT5022: ExitStatus: Program terminated with exit(255)
mono.js (1,268)

At first sight, i look like a Stackoverflow to me, somehow only occuring on Internet Explorer 11.

IE 11 is not supported atm

...As stated at the top of my post ?
I know, but i thought it would be useful to report this error, as i was able to run my app on the previous official build.
I don't expect a resolution atm

You're correct that we're not prioritising IE11-specific issues, as it's undecided whether it will be a supported target. However if we are eventually going to investigate this, would you be able to post repro steps (i.e., how to create a new project and add the minimum polyfills necessary to get it failing at this point)?

I will try to send you a working and failing repro project, with the minimum polyfills.

@Daddoon Instead of sending a project, could you please simply write the steps to convert a clean new project into a repro? For example, "1. Add the following polyfill script tag to index.html: <script... "... Thanks.

Alright !
Here the steps:

Creating a new project with the following commands:

dotnet new -i Microsoft.AspNetCore.Blazor.Templates
dotnet new blazor -o BlazorApp1
cd BlazorApp1
dotnet run

Calling dotnet run, then connecting to the given URL:

Chome: OK!
Internet Explorer 11: KO !

Opening index.html:

Adding this appPreroutine "onload" method on Body tag for lack of document.baseURI on IE11
Adding browser-polyfill from babel-core (5.8.38) and fetch (2.0.3)

The code should look like this:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>BlazorApp1</title>
    <base href="/" />
    <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="css/site.css" rel="stylesheet" />
</head>
<body onload="appPreroutine()">
    <app>Loading...</app>

    <script>
        function appPreroutine() {
            if (/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
                //Additional checks for Internet Explorer"
                if (document.baseURI == null || document.baseURI == undefined) {
                    //IE case
                    var port = "";
                    if (location.port != undefined && location.port != null && location.port != "")
                        port = ":" + location.port;

                    document.baseURI = location.protocol + "//" + location.hostname + port + "/";
                }
            }
        }
    </script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.38/browser-polyfill.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.3/fetch.js"></script>
    <script src="css/bootstrap/bootstrap-native.min.js"></script>
    <script type="blazor-boot"></script>
</body>
</html>

Calling dotnet run, then connecting to the given URL:

Chome: OK!
Internet Explorer 11: OK !

Updating NuGet packages on project to 0.3.0-preview1 (i don't know the exact build), from NuGet packages generated via sources.

Rebuild...

Calling dotnet run, then connecting to the given URL:

Chome: OK!
Internet Explorer 11: KO !

Conclusion:

Working on IE11 with given changes with Blazor 0.2.1
Failing on IE11 with given changes with Blazor 0.3.0-preview1

Thanks @Daddoon, that's very helpful.

Great! Any info you can give on the cause and resolution would be really useful.
Please note that we are not planning to include polyfills directly in the Blazor.JS project at this stage, but information about what you think we should suggest people use would be valuable.

Hi Steve,
I have made my own repository and release for the polyfill fix.
You can see it here.
Actually, the problem is with the polyfills (and Internet Explorer 11 of course), and it occur with babel / core-js and other compatible polyfills.
It seem that IE11 have some difficulties with deep setter recursion on Symbol, and it get a Stack memory exceeded error.
core-js actually implement a workaround with setters (useSimple), and IE11 seem to not throw anymore if using the option instead of the full setter implementation.
So in this scenario, setter is maybe not totally compliant, but it prevent the crash.
My library actually set the polyfills to useSimple if Internet Explorer is detected at start. Otherwise, it include polyfills, but doesn't change the default behavior if it's not Internet Explorer.

I just forgot to add the document.baseURI overload, i will try to fix this shortly.


Does not whitelist players.

The whitelist function is enabled, the website API link is right. But it doesn't seem to whitelist the players. The plugin just kept repeating these again and again:
[NamelessMC] Starting auto-whitelist
[NamelessMC] Done, updating bukkit whitelist...
[NamelessMC] Done, now retrieving a list of banned users so we can remove them from the whitelist...

I am using username mode. Might be a bug. But here is my config.yml:
# Nameless Plugin configuration
# Something not working? Please see our troubleshooting guide: https://docs.namelessmc.com/en/integrations/plugin-troubleshooting

# For example http(s)://yoursite.com/index.php?route=/api/v2/API_KEY
# Enable the API and obtain the API URL in StaffCP > Configuration > API
# After setting this, you need to do a full server restart, because the plugin's reload command won't work.
api-url: "REMOVED"

# Enter this if you wish for the plugin to send data about this server
# and its players to the website. This is required for many features like placeholder uploading,
# group synchronization, username synchronization, online status, ...
# You can find this in StaffCP > Integrations > Minecraft > Minecraft Servers
server-id: 1

# This feature sends information about the server and online players to
# your NamelessMC website. This value is in seconds. Increase to lower
# the frequency that data is sent. Decrease to send data more frequently.
# Setting this too low can cause lag. Set to 0 to disable.
server-data-upload-rate: 10

# You can add PlaceholderAPI placeholders here, they will be sent to the website to be used by NamelessMC or modules.
# Requires entering server-id above.
upload-placeholders:
  enabled: false
  # global placeholders to send to the website (list of placeholder names without %%). Currently not used by the website.
  global: []
  # player-specific placeholders to send to the website (list of placeholder names without %%)
  player: []

# Enable retrieving PlaceholderAPI placeholders (NOT the same as sending placeholders to the website!)
# https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#nameless-plugin
enable-placeholders: false

# Number of milliseconds in between notifications request
# Lower number means more frequent updates of placeholders, but higher
# network usage.
placeholders-request-delay: 2000

# Turn on debug mode for the underlying NamelessMC Java API
api-debug-mode: false

# Send a message to players who don't have a NamelessMC account when they join
not-registered-join-message: false

# For a list of valid languages, check file names in the 'languages' directory.
# To help translate the plugin to your language, visit https://translate.namelessmc.com
# If you want to customize messages for your server you can edit the language files.
# WARNING: The language file will be replaced with the default when new messages are added in a plugin update
language: en_UK

# EXPERIMENTAL: Use usernames instead of UUIDs to identify players. Not recommended.
api-usernames: true

user-sync:
  # Number of seconds in between syncs
  poll-interval: 30
  log: true
  # List of UUIDs to exclude (never add to or remove from the whitelist or ban list)
  # These UUIDs must be written with dashes. If you've enabled api-usernames, enter usernames instead.
  exclude: []

  # Auto whitelist registered players.
  #
  # When enabled, the plugin will automatically whitelist players that are registered on the website.
  # Warning: Anyone who is not registered on the website will be removed from the whitelist, also
  # if they were added before enabling this option!
  whitelist:
    enabled: true
    # Only whitelist verified users
    verified-only: true

  # Ban players who are banned on the website, and pardon players who are not banned on the website.
  bans:
    enabled: false

# Periodically send website announcements in chat
announcements:
  # Every <interval> minutes a random announcement is chosen (if there are any) and sent to the player
  # Set to 0 to disable
  interval: 0
  # If specified, it will only show announcements with the respective display.
  # see https://github.com/NamelessMC/Nameless/wiki/v2-API#getannouncements-get
  # display: Forums

Any help would be great.

Logs with api-debug-mode on (Latest commit: c165671):
[7:46:07 AM INFO] [NamelessMC] [Nameless-Java-API] Making connection GET to url https://www.sapmc.ga/index.php?route=/api/v2//*/*API/_KEY/_REMOVED/*/*/info
[7:46:07 AM INFO] [NamelessMC] [Nameless-Java-API] Using User-Agent 'Nameless-Plugin'
[7:46:08 AM INFO] [NamelessMC] [Nameless-Java-API] Website response below
-----------------
{
    "nameless_version": "2.0.0-pr12",
    "language": "EnglishUK",
    "version_update": {
        "update": false
    },
    "modules": [
        "Core",
        "Forum",
        "Forms",
        "Rules",
        "Vote",
        "Infractions"
    ],
    "error": false
}
-----------------
[7:46:08 AM INFO] [NamelessMC] [Nameless-Java-API] Making connection POST to url https://www.sapmc.ga/index.php?route=/api/v2//*/*API/_KEY/_REMOVED/*/*/serverInfo
[7:46:08 AM INFO] [NamelessMC] [Nameless-Java-API] Using User-Agent 'Nameless-Plugin'
[7:46:08 AM INFO] [NamelessMC] [Nameless-Java-API] Post body below
-----------------
{"tps":20,"time":1634514367038,"free-memory":713643088,"max-memory":4244635648,"allocated-memory":1063256064,"server-id":1,"maintenance":false,"players":{}}
-----------------
[7:46:08 AM INFO] [NamelessMC] [Nameless-Java-API] Website response below
-----------------
{
    "error": false
}
-----------------

These are unrelated requests, can you check for debug messages after 'Starting auto-whitelist'


TN-936 psa-tracker strategy

Hello @pbugni! Thanks for submitting the PR.

In the file portal/models/intervention_strategies.py, following are the PEP8 issues :

Line 564:80: E501 line too long (80 > 79 characters)

@mcjustin not just a typo in test_diag_changed_strategy - found during manual testing, that the strategy function observation_check was not correctly handling a history of observations.  Added this test to confirm the fix there sticks.


python310Packages.jupytext: 1.13.8 -> 1.14.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.jupytext is: "Jupyter notebooks as Markdown documents, Julia, Python or R scripts"
meta.homepage for python310Packages.jupytext is: "https://github.com/mwouts/jupytext"
meta.changelog for python310Packages.jupytext is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.14.0 with grep in /nix/store/sxbfzk5m1j80cqshp4aa8yivr42n49aa-python3.10-jupytext-1.14.0
found 1.14.0 in filename of file in /nix/store/sxbfzk5m1j80cqshp4aa8yivr42n49aa-python3.10-jupytext-1.14.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.jupytext
python39Packages.jupytext

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sxbfzk5m1j80cqshp4aa8yivr42n49aa-python3.10-jupytext-1.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.jupytext https://github.com/r-ryantm/nixpkgs/archive/a6ec23497e1899667e8d5e7549bc5fa01d08219c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sxbfzk5m1j80cqshp4aa8yivr42n49aa-python3.10-jupytext-1.14.0
ls -la /nix/store/sxbfzk5m1j80cqshp4aa8yivr42n49aa-python3.10-jupytext-1.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.jupytext
python39Packages.jupytext

Maintainer pings
cc @timokau for testing.

I need this merged to send a PR to fix the build on darwin.

Actually, #181124 is better. I'm closing this one.


[BUG] [nRF52840] nRF52840dongle build error

Reproduction steps
I follow below URL and set up environment (native shell).
https://github.com/project-chip/connectedhomeip/tree/v1.0-branch/examples/lighting-app/nrfconnect#using-native-shell-for-setup
cd $matter-dir/examples/lighting-app/nrfconnect
rm -rf build
west build -b nrf52840dongle_nrf52840

However, it cannot finish building.
west build -b nrf52840dk_nrf52840 could finish without error.
Bug prevalence
always
GitHub hash of the SDK that was being used
commit 7f2b0a5920d1a7acc202c2932ac4c626c54cd31e (HEAD -> v1.0-branch, origin/v1.0-branch)
Platform
nrf
Platform Version(s)
No response
Anything else?
Log
nRF52840 dongle cannot finish building with error.
nrf52840dongle_nrf52840.txt
I tried ubx_evkninab3_nrf52840, and it had error.
it cannot finish building.
ubx_evkninab3_nrf52840.txt
nRF52840-DK can finish building normally.
nrf52840dk_nrf52840.txt
Environment
OS : ubuntu 20.04
~/ncs/nrf$ git log -1
commit<PHONE_NUMBER>98659278f957e5f58000cc0491a88d (HEAD, tag: v2.0.2)
~/ncs/zephyr$ git log -1
commit be360e7db2db7e1f0e9fcac686a08e62e350bf55 (HEAD, tag: v3.0.99-ncs1-1, manifest-rev)
arm toolchain
gcc-arm-none-eabi-10.3-2021.10

This is because nRF52840 dongle doesn't have external flash required for DFU, so you cannot use default configuration that enables DFU with this board. Please try to use prj_no_dfu.conf build. You can do that by invoking: west build -b nrf52840dongle_nrf52840 -- -DCONF_FILE=prj_no_dfu.confcommand. See documentation for more details: https://github.com/project-chip/connectedhomeip/tree/v1.0-branch/examples/lighting-app/nrfconnect#example-build-types

@kkasperczyk-no
Thank you for your advice.
it can finish building without error.


How to convert doc to PDF

I've tried to create a demo for converting the doc file to PDF with Libreoffice, but it can't work successfully. How should I do is right？Here are my code.
use Breadlesscode\Office\Converter;

$file =  './aaa.doc';
Converter::file($file)
    ->save('./demo.pdf');

In addition, the README.md has an error. The word 'conveter' of the composer command composer require breadlesscode/office-conveter is missing a 'r'. It should be 'converter'.
Thanks for your package!

I update the README file for this.


pageserver: unexpected left-over task in test_ondemand_download_large_rel

The code by this log says -- so let's investigate this as a bug
                    // warn to catch these in tests; there shouldn't be any

Job: https://github.com/neondatabase/neon/actions/runs/6657929721/job/18094020427
Allure: https://neon-github-public-dev.s3.amazonaws.com/reports/main/6657929721/index.html#suites/b97efae3a617afb71cb8142f5afa5224/1db8a49eab2cfec3/
Error:
2023-10-26T18:13:48.1669061Z ERROR test_runner/regress/test_ondemand_download.py::test_ondemand_download_large_rel[release-pg14-real_s3] - assert not ['2023-10-26T18:08:02.470566Z  WARN shutdown_pageserver{exit_code=0}: stopping left-over name="remote upload" tenant_id=Some(273e26df756e8f8eb5a7c62e1b4bd2dd) timeline_id=Some(2fad4a0c931f2b16092750345b9c3e45) kind=RemoteUploadTask\n']

Yes recognized in https://github.com/neondatabase/neon/pull/4938#issuecomment-1780124562 -- however I was thinking the problem had already gone been hidden by deletion queue changes; it just failed to happen for me on the rebase-balooza.
Quoting myself in case the comment is hidden by default:

Failures on Posgres 14

test_ondemand_download_large_rel[local_fs]: release

This now keeps failing because we never actually stop the remote timeline client, and deletes happen late.

Fixing this is rather involved, I think we need a new queue operation which we would call from
https://github.com/neondatabase/neon/blob/85f4514e7d1fb151fe6067a47563657c9df9c76c/pageserver/src/tenant/timeline.rs#L995
like, wait_for_completion_and_stop. If anything is even needed because of the https://github.com/neondatabase/neon/pull/4960. I think I'll just leave it not done, and we'll need to remember this if some flakyness arises.

test_runner/regress/test_tenant_delete.py and test_runner/regress/test_timeline_delete.py are also affected by this nagging in shutdown, but it is not because of struct Layer but the deletes which are spawned just late.


Fix dragging issue on frameless window

Close button was overlapping other widgets and thus interferring with mouseDrag thus preventing widget to be dragged around.

Sorry for forgetting to add my .venv folder to .gitignore.... :(

Sure do will take a look tomorrow.

Removed .venv folder from pr.
Will work on fixes you asked for.

Added another commit for stuff you asked. I also created you a possible_solution.py file so you can check it out (separate QLabels and update them one by one). I am not so advanced to know why HTML makes issues so I gave my best lol. 👯♂


feat: migration kpi,status grid support

Description

Adding support for KPI and status grid conversion
There are some differences between Monitor and this application with how the widgets are handled

In Monitor, KPI or status grid widget is one widget that creates many sub widgets for each property added
In Application, one property corresponds to one KPI or status widget
So we need to convert each KPI/Status grid from Monitor into many KPI/Status widgets (one-to-many relationship)

The conversion isn't perfect but I tried to best match visually, see attached screenshots.

Monitor uses a grid system where each square in a grid has a value of 1 in the x,y,width,height system. So when doing the conversion I am laying out the KPI widgets in a way that follow that system, then converting out of that system into the application values (a 1x1 monitor square is similar to ~ 33x14 cells in the application).

Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Unit and manual tests

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Legal
This project is available under the Apache 2.0 License.
KPI

Status

Awesome PR, handling the coordinate calculation for customer so it translate seamlessly 👏


When only one controller method exists in an URL

If there're only one controller method in an URL, it would better not to separate the matched SDK function to an independent TypeScript file. Therefore, only one controller method exists in an URL, gather the matched SDK function into its parent URL's namespace scope.
Example Case
@nest.Controller("markets/sellers/authenticate")
export class SellerAuthenticateController
{
    @helper.EncryptedRoute.Post("join")
    public async join
        (
            @helper.EncryptedBody() input: ISeller.IJoin
        ): Promise<ISeller>;

     @helper.EncryptedRoute.Post("login")
    public async login
        (
            @helper.EncryptedBody() input: ISeller.ILogin
        ): Promise<ISeller>;
}

Ordinary SDK
await api.functional.markets.sellers.authenticate.join.join();
await api.functional.markets.sellers.authenticate.login.login();

New SDK
await api.functional.markets.sellers.authenticate.join();
await api.functional.markets.sellers.authenticate.login();

Such relocation should be done only when controller method name and last path of the URL are exactly same.


Template

Register the template of Human spinal cord tracts https://github.com/neuropoly/spinalcordtoolbox/tree/master/data/atlas on the cat.
Extract metrics tract by tract.

In fact we should use the high resolution atlas that was used to produce the template:
https://github.com/neuropoly/spinalcordtoolbox/tree/master/dev/atlas/raw_data

http://www.mathworks.com/matlabcentral/fileexchange/20057-b-spline-grid--image-and-point-based-registration


Rewrite plugin for v0.3

This will serve as the main tracker for progress on v0.3. Currently, it's stored in a branch called OverhaulUi, but that branch has evolved into another massive rewrite of the plugin internals. They have shaped out to be much cleaner than in the past (thanks to using the lua language server). Once the work listed is complete, v0.3 will be the official branch and pointed to at the top level (instead of v0.2).
Engineering
General

[X] Split functionality into distant-core and distant modules
[x] Fix telescope integration (it's broken from refactoring)
[x] Fix Dockerfile and associated tests

Distant

[x] Create primary plugin entrypoint (more things at top-level of distant)
[x] Revamp settings

[X] Move server-specific settings to a field within the setup opts
[X] Add cwd support to server settings
[x] Move dir and file mappings out of server * and into a top-level mappings (we don't need server-specific keybindings for navigation, it should always be the same)
[x] Allow user to specify edit/up/mkdir/etc nav action by key instead of a map so they don't need to import nav actions and editor to assign them (e.g. settings.mappings.dir.edit = '<Return>')

[x] Create UI windows to visualize better

[x] "Main Window" - hosts connections, system information, etc.

[x] Connections tab

[X] Show manager information
[X] List active connections you can be from the manager
[X] List available hosts from server settings
[X] Be able to switch active connections
[X] Be able to launch from available hosts
[x] Be able to connect from available hosts
[x] Be able to jump to next or previous server connection using <C-n> and <C-p>

[X] System information tab

[X] Show system information
[X] Update information whenever a connection is made/switched

[x] Log tab (???)

[x] Show log output (last X lines?)

[x] Debug tab (???)

[x]  Show detailed manager information (pid, uptime, capabilities, pre-existing info?)
[x] Show detailed client information (uptime, capabilities, process list including shells, api, lsp, etc)

[x] Help tab

[x] Show keybindings similar to lazy.nvim style as I like it more than mason.nvim
[x] Make keybindings changeable in settings reflect within help tab

[x] "Metadata Window" - displays metadata for a file/directory/symlink
[x] "Toast" - port of nvim-notify

[X] Replace errors with vim.notify with vim.log.levels.ERROR to be friendlier
[x]  Support enabling/disabling "toast" for vim.notify in case user has another plugin (like nvim-notify) that they want to use
[x] Move search state from plugin to editor since there is only one search at a time (maybe?)
[x] Support file watching

[x] Detect changes to files outside of neovim (similar to FileChangedShell, or triggering it if possible)
[x] Understand if buffer has changed and prompt for reloading if so, otherwise reload
[x] Use metadata to check for things like mtime change, file len change, etc. (cache those locally)

[x] Support batch requests

Distant Core

[X] Create a user interface library within distant-core ported from mason.nvim
[X] Rewrite job api from utils into its own module
[X] Rewrite authentication handling into its own module
[X] Rewrite API abstraction to be cleaner and work better with language server
[X] Add an event emitter (also from mason.nvim) so we can better capture when actions take place
[X] Migrate installation logic into its own module
[X] Create abstraction for version parsing and data
[X] Create abstraction for destination/URI parsing and data
[X] Create abstraction for client
[X] Create abstraction for manager
[X] Create abstraction for server
[X] Rewrite CLI builder into standalone module with cleaner design and support for language server
[X] Clean up utils module by removing unused functions, inlining single-use

Tests

[x] Update driver to use new plugin API
[x] Fix existing e2e tests
[x] Fix existing unit tests
[x] Write async versions of e2e API tests

Bugs

https://github.com/chipsenkbeil/distant.nvim/issues/49
https://github.com/chipsenkbeil/distant.nvim/issues/35
https://github.com/chipsenkbeil/distant.nvim/issues/16
https://github.com/chipsenkbeil/distant.nvim/issues/116
https://github.com/chipsenkbeil/distant.nvim/issues/115

Documentation

[ ] Set up vimdoc generation from markdown via panvimdoc
[ ] Write updated plugin documentation in markdown to host on distant.rocks

[ ] Provide overview of plugin (what is it? what does it do?)
[x] Quickstart (basic setup, usage) - the existing quickstart can be repurposed
[x] Installation guide (vimdoc is outdated, still referencing the library file instead of CLI)
[ ] Explain health coverage via :checkhealth distant
[x] Documentation of settings (needs to be completely rewritten)
[x] Documentation of navigation - the existing doc can be reused (need to add metadata and check that up-to-date)
[x] Documentation of vim commands like :Distant and :DistantInstall - the existing doc can be reused with tweaks
[ ] Documentation of extensions - telescope can be reused
[ ] Documentation of Lua API (e.g. require('distant')) - needs to be completely rewritten

[x] Event subscriptions and kinds of events
[ ] API field and methods
[x] Buf field and methods
[x] Settings field and methods
[ ] Launch method
[ ] Connect method
[ ] Connections method
[x] Wrap method
[ ] Utility methods (get/set active client, retrieve manager, retrieve client, cli/cli path)

[x] FAQ - can be reused
[ ] Changelog - can be reused, but need to add v0.3 information
[ ] Credits - can be reused
[ ] License - can be reused

[ ] Record video overview of plugin

[ ] Explain what it does and why
[ ] Show UI to connect to a server
[ ] Pull up the diagram to explain how it works
[ ] Highlight shell usage
[ ] Highlight LSP server usage
[ ] Highlight multiple connections usage

Realized I didn't explain the servers configuration setting in distant.dev, which is a very important one.


JTACMonth View is Unselectable on tvOS

**(Required) Version Number: 8.0.3 **
Description
When my app with a JTAppleCalendar boots up, the JTACMonth view is unselectable. I am running it on tvOS, and the Apple TV Remote is unable to select any date cells despite having the code added to show where the current selection is. I tried tapping the arrow keys and swiping the touchpad of the remote, but there was no reaction.
Steps To Reproduce
I followed steps 1, 2, and 3-2 from the Patch the Code guide, and followed the Migration Guide for version 8. The code is the same as in the guide.
Expected Behavior
The calendar(_ didSelectDate) function should be configuring the cell that is selected with a view that indicates where the view is.
Additional Context
Any help would be appreciated.

Well thank you for being one of the few TVOS users :D !
As there are few users, they might be some missed issues.
First, are you saying that this worked with version 7 and has stopped working in version 8?
Or did you just encounter this in version 8 only.

Well thank you for being one of the few TVOS users :D !
As there are few users, they might be some missed issues.
First, are you saying that this worked with version 7 and has stopped working in version 8?
Or did you just encounter this in version 8 only.

Version 8 only. Should I try re-starting my app in version 7?

oh, i am just trying to determine where the error could have started.
I'll look into it.
Do you have a very very minimal app which reproduces this issue?

Right now the app is just the calendar view, the code is virtually identical with the tutorial with a few minor changes.

got the link to which tutorial? I think i had a couple up there.
I'll look at it after work

I went through steps 1, 2, and 3 (parts 1 & 2) here.

Thanks!

Here is a screenshot of my app. I tried placing a Segmented Control at the top, and so the focus starts on Sun. However, when I hit the down arrow, the focus vanishes and cannot return to any other part of the app. It would seem the calendar "consumes" the focus, but nothing can be done once it is selected.

Any thoughts?

Thanks!

Any updates on this issue?

Going on vacation tomorrow.
Will be free to work on this.
I got caught up with work.

@Danchat5
can you paste me your didSelect functions?

After looking at it, i have a sneaking suspicion that you used the 7.0 tutorial to build a 8.0 project.
Without realizing that the function names have been changed? as shown here -> https://patchthecode.com/jtapplecalendar-version-8-0-0-migration-guide/

`   func calendar(_ calendar: JTACMonthView, didSelectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {
configureCell(view: cell, cellState: cellState)
}
func calendar(_ calendar: JTACMonthView, didDeselectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {
    configureCell(view: cell, cellState: cellState)
}`

This seems to match up with the migration guide.

is there a chance i can get your specific sample project?

Let me know if there is any difficulty sending it.
Part of the reason i am asking for the sample tvOS app is because I am more used to creating iOS apps.

I just emailed you my project.

Ok thats one of the reasons i hate working with tvOS... maybe because i do not know how to use that remote thing.
Using your project, i am able to select dates.
test.mov 2.zip

the code to have a cursor appear over a day to indicate the selection is not functioning properly.

Are you saying that a hovering cursor should appear over the area where the remote is moving?
If yes, then I will need help to do this code. I have never coded on tvOS before.

Interesting, so it's working for you but not me... this was the intended effect I wanted to see, but for some reason the selection is invisible for me. Regarding your second paragraph, that's not what I was hoping for. I will also need to be able to scroll between months... but before that, how do we get this working for me? I'm assuming you didn't touch any of the code?

You are right.
I didnt touch any code.

I had to read tutorials on how to use it.
You have to keep your finger on the Option button while pressing the blank area of the remote.

I am aware of that, but you can also make selections by hitting the arrows on the remote, which can be accessed in the simulator with the arrow keys. But either way, the selection does not appear for me.

I am using XCode Version 12.2
tvOS 14.2 simulators.
If its working for me then it should work for you.
Can you let me know your version?

I can confirm XCode is on Version 12.2 and the simulator is on version 14.2.

closing this issue.
assuming resolved.
If you still have an issue with this let me know.


fix info life location for tests target

Hello. Looks like the location of info.plist for tests target was incorrect and I couldn't run the test suite locally. This change fixes it.
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] I have only one commit in this pull request.
[ ] New extensions support iOS 8 or later.
[ ] New extensions are written in Swift 3.
[ ] New extensions were created in development branch.
[x] Pull request was created to development head branch.
[ ] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[ ] All comments headears have the word SwifterSwift: before description.

@pawurb merged into development branch, will be merged into master in the next release.
Thank you!