build: fail to build intel-idxd-config-initcontainer and intel-vpu-plugin images

Fail to build intel-idxd-config-initcontainer with the following error:
Step 1/18 : ARG FINAL_BASE
Step 2/18 : FROM debian:unstable-slim AS builder
unstable-slim: Pulling from library/debian
Digest: sha256:4194b0c0134addd46bea437c8094a53131da2b17cb79d05c0fe9f365e5338288
Status: Image is up to date for debian:unstable-slim
 ---> d39e7782c1b2
Step 3/18 : RUN echo "deb-src http://deb.debian.org/debian unstable main" >>         /etc/apt/sources.list.d/deb-src.list &&     apt update && apt install -y --no-install-recommends         gcc make patch autoconf automake libtool pkg-config         libjson-c-dev uuid-dev curl ca-certificates
 ---> Running in 77b7f3670c4a

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian unstable InRelease [165 kB]
Err:1 http://deb.debian.org/debian unstable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists...
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://deb.debian.org/debian unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://deb.debian.org/debian unstable InRelease' is not signed.
The command '/bin/sh -c echo "deb-src http://deb.debian.org/debian unstable main" >>         /etc/apt/sources.list.d/deb-src.list &&     apt update && apt install -y --no-install-recommends         gcc make patch autoconf automake libtool pkg-config         libjson-c-dev uuid-dev curl ca-certificates' returned a non-zero code: 100
Makefile:176: recipe for target 'intel-idxd-config-initcontainer' failed
make: *** [intel-idxd-config-initcontainer] Error 100

Same for building intel-vpu-plugin image:
...
Step 15/17 : RUN apt update && apt -y install libusb-1.0-0
 ---> Running in b3ee94d3a3d6

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian unstable InRelease [165 kB]
Err:1 http://deb.debian.org/debian unstable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists...
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-buster-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/unstable/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://deb.debian.org/debian unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://deb.debian.org/debian unstable InRelease' is not signed.
The command '/bin/sh -c apt update && apt -y install libusb-1.0-0' returned a non-zero code: 100
Makefile:176: recipe for target 'intel-vpu-plugin' failed
make: *** [intel-vpu-plugin] Error 100

@ttzeng this looks like a temporary glitch. intel-vpu-plugin built OK for me this morning. Are you able to reproduce today?

@ttzeng this looks like a temporary glitch. intel-vpu-plugin built OK for me this morning. Are you able to reproduce today?

@mythi , I am still able to reproduce the error while building intel-vpu-plugin on my Ubuntu 16.04 with Docker version 18.09.7.

@ttzeng I tested again and both build OK for me right now.

It looks like this issue only observed on my Ubuntu 16.04 system, I can build all plugin images successfully on a Ubuntu 20.04 system, so I'm closing this for now.


Support regular expresssion config in settings.json to not fetch data from https://bundlephobia.com

For some reason, I don't want to expose some package names.

Thanks for the feedback. Try updating to v0.2.0 and 'pkg.inspector.disableBundlephobia': string is available in .vscode/settings.json now ;)
(Don't forget to reload VS Code after the settings are changed)


Fix - remove minor part in toml

Brief description
Causes issue in create_env and new Poetry

Yeah, this is just temporary band aid until automation is fixed.


The QR Code reader is too FAST!

The QR Code read is too fast, I can't even position my phone correctly, so it often get a nil result back.
Is there any way to set a delay or a NSTimer to give the app more time to focus and positon the phone correctly?

Hi,
Sorry for the late, I just added a startScanningAtLoad parameter in the init methods to allow you to delay the start of scanning.
You can use it like that:
var reader = QRCodeReaderViewController(metadataObjectTypes: [AVMetadataObjectTypeQRCode], startScanningAtLoad: false)

reader.modalPresentationStyle = .FormSheet

presentViewController(reader, animated: true, completion:  { (finished) in
  reader.startScanning()
})

Best,
Yannick


feat(UX): provide all-mpnet-base-v2 as local embed_model

Description
Usage:
service_context = ServiceContext(embed_model="local")

For the choice of all-mpnet-base-v2, see the cost performance analysis here. Just eyeballing suggested that this embed model running locally on CPU is faster than calling the text-embedding-ada-002 model (although, perhaps this was due to calling this API sequentially? Still, it was really fast for ~40 nodes). Further benchmarks will be performed in https://github.com/jerryjliu/llama_index/issues/6804
Partially fixes: https://github.com/jerryjliu/llama_index/issues/6720
There are two questions here:

Is the API ok?
Is this way of instantiating the local model (using langchain) ok, or should we define our own HuggingFaceEmbedding class?

In fact, I am inclined to think this is the better default than OpenAIEmbedding. So one should have to explicitly pass in an OpenAIEmbedding
If we are OK with moving forward with this, we can get rid of the embed_model="local" API. Perhaps we can hold for the benchmark results before making a final decision.

Type of Change

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

How Has This Been Tested?

[X] I stared at the code and made sure it makes sense

Suggested Checklist:

[X] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes

I think one difference between mpnet (and tbh, almost all open source embeddings) is the context length, which has a few implications if the default is changed.
OpenAI will embed sequences up to 8196 tokens. This is super useful for when users have extra metadata that they want to use for embeddings only, they usually don't have to worry about context size issues.
In comparison, mpnet has a context size of 512 tokens. So the difference in semantics the two can capture is pretty different.
Further, changing the default model will be a breaking change for any existing user. Vector indexes only work if the same model is used for both indexing and querying (because of vector lengths and the general semantic space the embeddings themselves capture)

In comparison, mpnet has a context size of 512 tokens. So the difference in semantics the two can capture is pretty different.

Hmm yeah, that's true. And so far, it does not seem to give any warning or error when the 512 context length is exceeded. So you may be right that it may not be a good default. Since the accuracy is expected to fall off outside of the training time context length, I guess we should definitely warn or error, even on other models.

TODO:

As a next step, I believe that in addition to local model, we should provide out of the box functionality for multiprocessing the embeddings, in order to speed up the dev cycle in e.g. https://github.com/jerryjliu/llama_index/pull/6825. This should work with minimal dependencies.

Added docs. PTAL @logan-markewich

Btw, should we prefer this in our examples/docs to OpenAI? I feel that this is a good practice to encourage as it saves users costs. Perhaps after we've implemented "local-fast" and benched.


$(Build.QueuedBy) is not dev friendly.

Here is a user case
User A:
username : "Git Hub" and email<EMAIL_ADDRESS>User B:
username : "Git Hub" and email<EMAIL_ADDRESS>I want to use $(Build.QueuedBy) to create a folder and then deploy this folder. What if User B do the same thing. Currently, $(Build.QueuedBy) is not unique and it overwrites the files that User A deployed
What I want is the variable should be unique not an numeric id and it has some meaning. So I would suggest expose something which is unique such as email
$(Build.QueuedByEmail)

I found it


Documentation for azure-native front door is wrong (does not compile)

Problem description

I saw a product documentation issue on the following URL: https://www.pulumi.com/docs/reference/pkg/azure-native/network/frontdoor/

Trying to build the example files with
# main
./azure-native.go:11:4: cannot use []network.BackendPoolArgs{...} (type []network.BackendPoolArgs) as type network.BackendPoolArrayInput in field value:
        []network.BackendPoolArgs does not implement network.BackendPoolArrayInput (missing ElementType method)
./azure-native.go:12:5: cannot use &network.BackendPoolArgs{...} (type *network.BackendPoolArgs) as type network.BackendPoolArgs in slice literal
./azure-native.go:56:4: cannot use []network.FrontendEndpointArgs{...} (type []network.FrontendEndpointArgs) as type network.FrontendEndpointArrayInput in field value:
        []network.FrontendEndpointArgs does not implement network.FrontendEndpointArrayInput (missing ElementType method)
./azure-native.go:57:5: cannot use &network.FrontendEndpointArgs{...} (type *network.FrontendEndpointArgs) as type network.FrontendEndpointArgs in slice literal
./azure-native.go:66:5: cannot use &network.FrontendEndpointArgs{...} (type *network.FrontendEndpointArgs) as type network.FrontendEndpointArgs in slice literal
./azure-native.go:71:4: cannot use []network.HealthProbeSettingsModelArgs{...} (type []network.HealthProbeSettingsModelArgs) as type network.HealthProbeSettingsModelArrayInput in field value:
        []network.HealthProbeSettingsModelArgs does not implement network.HealthProbeSettingsModelArrayInput (missing ElementType method)
./azure-native.go:72:5: cannot use &network.HealthProbeSettingsModelArgs{...} (type *network.HealthProbeSettingsModelArgs) as type network.HealthProbeSettingsModelArgs in slice literal
./azure-native.go:81:4: cannot use []network.LoadBalancingSettingsModelArgs{...} (type []network.LoadBalancingSettingsModelArgs) as type network.LoadBalancingSettingsModelArrayInput in field value:
        []network.LoadBalancingSettingsModelArgs does not implement network.LoadBalancingSettingsModelArrayInput (missing ElementType method)
./azure-native.go:82:5: cannot use &network.LoadBalancingSettingsModelArgs{...} (type *network.LoadBalancingSettingsModelArgs) as type network.LoadBalancingSettingsModelArgs in slice literal
./azure-native.go:110:8: cannot use "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" (type string) as type *string in field value
./azure-native.go:110:8: too many errors

Affected product version(s)

Suggestions for a fix

@iwahbe I saw you opened a few issues in pulumi/pulumi - I believe it's better to track them there, since there isn't anything to be done in the docs repo. What do you think?

This is probably a combination of: pulumi/pulumi#8072, pulumi/pulumi#8073 and pulumi/pulumi#8074.


Return correct types for Enumerable methods like min() and max() when a key is supplied

Larastan Version: dev-master
Pull request with failing test: https://github.com/nunomaduro/larastan/pull/1128

Description
When using min() and max() (and maybe other Enumerable methods) only the TValue is returned, even when a key or callback is provided as a parameter.
When no parameter is provided, I think this should be TValue|null, and when a parameter is provided, it should be float|int|null.
Because the Collection class inherits from Enumerable, this causes collection methods to suffer this problem.
Laravel code where the issue was found
// should return int|null
// actually returns int
$result = collect([1, 2, 3, 4, 5])->max();

// should return float|int|null
// actually returns non-empty-array<string, int>
$result = collect([['id' => 1], ['id' => 2], ['id' => 3]])->max('id');

// should return float|int|null
// actually returns non-empty-array<string, int>
$result = collect([['id' => 1], ['id' => 2], ['id' => 3]])->max(function($object) { return $object['id']; });

This is because of the docblocks on the Illuminate\Support\Enumerable class in Laravel:
    /**
     * Get the max value of a given key.
     *
     * @param  (callable(TValue):mixed)|string|null  $callback
     * @return TValue
     */
    public function max($callback = null);

Is there something we can do in Larastan to overwrite this (i.e. the Enumerable.stub file) or does this need to be done in Laravel? If someone can give me some pointers then I'd be happy to try and fix this in the PR I've submitted to show this issue.

Hello Stephen!
// should return int|null
// actually returns int
$result = collect([1, 2, 3, 4, 5])->max();

Which is said by PHPStan? What is the error message?

I see. What is the downside of PHPStan saying int?

Hi,
Yes this should be fixed in Laravel. All the Collection types are now moved to the core.
And I agree, the return type can be TValue|null So please send a PR to Laravel. You can link this issue or my comment.

And I agree, the return type can be TValue|null

@canvural Could you help me understand how null comes in?

@szepeviktor If there is no element in the collection, or the given key does not exist, it'd return null.

@totov Actually even TValue|null is not enough. Because when you do collect([['id' => 1], ['id' => 2], ['id' => 3]]) the items of the collection are array<string, int> So we'd assume max returns  array<string, int>
So I guess return type should be mixed And we'd need a new extension here to support the specific types. If it's possible to do so.

@totov Actually even TValue|null is not enough. Because when you do collect([['id' => 1], ['id' => 2], ['id' => 3]]) the items of the collection are array<string, int> So we'd assume max returns array<string, int>
So I guess return type should be mixed And we'd need a new extension here to support the specific types. If it's possible to do so.

When specifying a key, it doesn't return the TValue, it returns the max value of the key you specify.
collect([['id' => 1], ['id' => 2], ['id' => 3]])->max();  returns ['id' => 3]
collect([['id' => 1], ['id' => 2], ['id' => 3]])->max('id');  returns 3

@totov Yes. That's why I suggested mixed Cause type wise we can't know what is the type of the maximum element.


webpack-dev-server binds only on ipv6

Expected behavior:
Given the following configuration in webpacker.yml:
development:
  dev_server:
    host: localhost
    port: 3035

After running the following commands:
bin/webpacker-dev-server

After running:
netstat -an | grep "[.]3035 .*LISTEN"

I expected to see webpack-dev-server listening on both IPv4 and IPv6:
tcp46       0      0  *.3035               *.*                    LISTEN

Actual behavior:
When booting, I can see:
<i> [webpack-dev-server] Loopback: http://localhost:3035/, http://[::1]:3035/

After running:
netstat -an | grep "[.]3035 .*LISTEN"

I can see webpack-dev-server listening only on IPv6:
tcp6       0      0  ::1.3035               *.*                    LISTEN

A workaround would be to replace host with <IP_ADDRESS>, but in that case it listens only in ipv4 which might cause other issues. Ideally, I would rather have it to bind on both 4 and 6.
In my case, I have an issue because I am proxying traffic with puma-dev, and it does not proxy to the ipv6 address.
It seems the issue occurs when initializing the TCPServer in dev_server_runner.rb.
After reading the following blog post :
https://blog.cmol.me/ipv6-ruby-part-3-dual-stack-ipv4-ipv6-tcp-sockets-f0ed9e210de7
I tried to use '::' as host in webpacker.yml, which effectively binds to both ipv4 and ipv6:
$ netstat -an | grep "[.]3035 .*LISTEN"
tcp46      0      0  *.3035                 *.*                    LISTEN

I am not sure if it would be a good idea to use that as the default value. I have not tested it, but I suppose it could cause issues when used on a stack without ipv6 support.
Small, reproducible repo:
https://github.com/ybart/shakapacker-ipv6-only-binding-issue (last commit contains the workaround listed earlier)
Setup environment:

iMac M1 on macOS 13.4
Ruby version: 3.1.4
Rails version: 7.0.5
Shakapacker version: 6.6.0

Thanks for your report and your update for the workaround. The issue seems to be related to the system configurstion. Though one solution would be to change the default value for host, but I think a better approach is to add this in the documentation.
@justin808 why do you recommend?

I think this is a documentation issue. @ybart could you throw in a PR for that?

Isn't this actually a webpack-dev-server issue?

This is already explained in detail on webpack devServer.host documentation. Since the Shakapacker config file supports the standard webpack configuration for devServer, I don't think we should repeat the same documentation here.
@ybart Thanks again for raising the issue and sharing the solution.


Added .markdownlint.json file

Add .markdownlint.json file to check best practices on MD file, rule applied actually in this file:
{
    "default": true,
    "MD029": {
        "style": "one"
    },
    "MD024": false,
    "MD034": false,
    "no-hard-tabs": true
}

This change is

I removed the MD013 rule (80 char by line), what do you think ?

@mhendric I leave it to you if the MD013 should be enforced in this repo. It is in other resource modules, but initially there are some work to update the .md files.
@luigilink Please rebase this PR.

I had the rule MD013 and updated README and CHANGELOG files.
I hope it's good for everyone 😃

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


User can create an event that starts after it ends

Summary
You can create an event that has a start date/time that is after its end date/time
Severity
Medium
To Reproduce
Steps to reproduce the behavior:

Go to create a workshop
Enter a start date/time that is after end date/time
Submit

Expected behavior
Form would be blocked if start and end are not in logical order
Screenshots / Stack trace

Desktop (please complete the following information):

OS: MacOS
Browser Chrome

Suggestion
Preform some form validation on the inputs

Not reproducible on current build. Considered as fixed.


Accordion Example is not working.

Your “Accordion” example component on your kitchen sink page is not working. I’m on a Mac with the current version of Chrome.
http://foundation.zurb.com/sites/docs/kitchen-sink.html

Pull request https://github.com/zurb/foundation-sites/pull/9882 fixes this.
Dupe of https://github.com/zurb/foundation-sites/issues/9876

@ercmert i think you should close this buddy ... cheers .... thanks a lot for reporting though!!

This has been fixed


Agilex arm sip svc driver

Arm SiP services (aka sip_svc) provides a generic interface to send
the SMC/HVC call from kernel running at EL1 to hypervisor/secure monitor
firmware running at EL2/EL3.
SiP SVC service supports multiple clients. The client need to "open" before
sending any SMC/HVC request. And, the client must "close" after completion, so as to
release the interface for other client. The client can input any
SMC/HVC a0~a7 register value according to their application.
Besides, sip_svc service also provide 'sip_svc' shell command for testing and
debugging purpose.

Hi , could the stale label be removed .I will update the PR with the refactored code

@maheshraotm I really would like to see how this looks from the user prospective. Can you add a test or sample to exercise this subsystem?

@maheshraotm I really would like to see how this looks from the user prospective. Can you add a test or sample to exercise this subsystem?

for testing and as a sample we have added two shell based command interface sip_svc_agilex_mailbox_shell.c and sip_svc_shell.c. Do you want something something as a sample application apart from these?

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

I have updated the PR, could you remove the stale tag?

@maheshraotm do you think you could introduce this driver and subsystem to the next dev review meeting?

Added to the agenda for next week (Apr 6)

Architecture WG:
Presentation by @maheshraotm.

@carlocaione asks why the split driver/subsystem. He also raises the similarity with the PSCI code
@maheshraotm states that there are differences between PSCI and communication with the SDM manager
@bjarki-trackunit claims that the driver API seems to be extremely generic. @maheshraotm clarifies that this is only for the supervisory call API.
@carlocaione states that there will be duplication in Devicetree between PSCI and this
@galak asks if there is a standard. SMC messages are standard, as per @carlocaione.

Seems like devicetree should be intel,socfpga-agilex-sip-svc, not arm,sip_svc.

Hi @galak , I have made the required changes now the driver for sip_svc on agilex for smc calles will depend on "intel,agilex-socfpga-sip-smc"

@galak , @nashif , @carlocaione and @povergoing , I have updated the driver implementation specific to EL3 communication for agilex platform according to the review comments and also added more comments in the code. Can you please review the PR?.


Build proper documentation for our Python Code API

We used to have basic Sphinx docs for our Python code. We removed it in #4274 because it was out of date and incomplete, likely more harmful than useful.
We're considering putting up another version of an API listing for our Python code. My thought would be to use the autoapi package to do this. I did an initial proof of concept in #4178, which worked reasonably well. It wouldn't be too hard to integrate this again.
I'm not 100% convinced that a straight API reference is useful. The main reason I see value in it would be dogfooding our own code with autoapi, and being able to reference code objects when we're writing documentation in other places.

By itself, I don't think a developer API (classes, functions) is useful unless it is used as part of an explanation of our data modeling. I actually think Django does this fairly well. For example, if we build something along the lines of Django's Form API docs except for say the builders, I think that becomes useful.

Yeah, I think the generated docs are most useful for libraries rather than applications. It would be great to have something like @davidfischer mentions.

I agree with David, but writing that amount of docs by ourselves is a ton of work and keeping them updated is probably a nightmare. As an example, in the last few months, we changed several times the way that the UpdateDocsTask works and how the Environment (Docker, Local, etc) are handled.
I find more value in having a good set of developer questions/answers organized by topic explaining things like "How Builders work?", "What parts are involved in the repo checkout step?", "When and why we contact the user via email?", "What's the cold storage?", etc. Questions that we have been seeing in our daily chat that even sometimes the answer is "Yes/No" but to give that answer we spend 1 hour or so.

In case we ended up with our Python code documented by sphinx-autoapi, I think it could be a really good example to mention on our guide My build is ussing too many resoures

I don't think this will ever happen because we don't have the time or resources to jump into this work and it's not going to give us a ton of value anyways, so I'm closing this issue. Feel free to reopen if you consider valuable and we can prioritize it.

Yea, I don't see this happening soon, so 👍


Cache improvements

The old BeatmapByHash method was uppercasing all hashes but then when they were added to the cache the api response was used which is currently always lowercase. This renders the cache useless.
Happy to standardise either way but this causes all hashes to be cached uppercase in BeatSaverSharper.
Additionally when maps have been updated they were only cached against their new hash. This PR adds a cache key for the hash used for the lookup.

test machine broke

Oops

YO P;OG

Ok, made the dictionary's case insensitive so that users can use lower or uppercase hashes freely

neat


Make handshake timeout configurable

The handshake timeout is currently fixed in https://github.com/lucas-clemente/quic-go/blob/master/protocol/server_parameters.go#L131, we should make it configurable via quic.Config.

I think this should be part of SetDeadline for whatever stage the handshake happens (I am unfamiliar with how quic works but I suspect it's at Accept() Dial() stages)

I think I answered your question in #514? Feel free to ping me if I didn't do a good enough job ;)

This would allow us to have a very nice integration test (when fixing #538) where we could assert the handshake timeout by setting it shorter than 3 times the RTT.

Fixed by #630.


Revert changes to file.

Looks like this change was not required, reverted.

I was also wondering what was that doing there. Merging.


long running process crashed here

Describe the bug
long running process crashed
To Reproduce
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xb80ca2]

goroutine 359534 [running]:
github.com/cloudwego/hertz/pkg/network/standard.(*Conn).Len(...)
        /root/go/pkg/mod/github.com/cloudwego/hertz@v0.6.0/pkg/network/standard/connection.go:438
github.com/cloudwego/hertz/pkg/network/standard.(*Conn).Read(0x44a693?, {0xc000edce78?, 0x1?, 0x0?})
        /root/go/pkg/mod/github.com/cloudwego/hertz@v0.6.0/pkg/network/standard/connection.go:82 +0x22
io.ReadAtLeast({0x7fcbc1083e90, 0xc000e95780}, {0xc000edce78, 0x9, 0x9}, 0x9)
        /usr/local/go/src/io/io.go:332 +0x9a
io.ReadFull(...)
        /usr/local/go/src/io/io.go:351
github.com/hertz-contrib/http2.readFrameHeader({0xc000edce78?, 0x9?, 0xc00174a880?}, {0x7fcbc1083e90?, 0xc000e95780?})
        /root/go/pkg/mod/github.com/hertz-contrib/http2@v0.1.5/frame.go:253 +0x6e
github.com/hertz-contrib/http2.(*Framer).ReadFrame(0xc000edce40)
        /root/go/pkg/mod/github.com/hertz-contrib/http2@v0.1.5/frame.go:503 +0x95
github.com/hertz-contrib/http2.(*serverConn).readFrames(0xc000ba1500)
        /root/go/pkg/mod/github.com/hertz-contrib/http2@v0.1.5/server.go:526 +0x91
created by github.com/hertz-contrib/http2.(*serverConn).serve
        /root/go/pkg/mod/github.com/hertz-contrib/http2@v0.1.5/server.go:625 +0x4d2
child 1 exited with error: exit status 2

Expected behavior
pls check the code
Hertz version:
0.6.0

I suspect that the use of conn after the request has ended is causing this problem.

If you have time, please take a look. cc @Duslia  @wzekin

What is the HTTP2 version or commit?

@Duslia
    github.com/hertz-contrib/http2 v0.1.5

cc @Duslia

It's hard to debug if it cannot reproduce. You can first update http2 to the latest commit and watch it for a while. If it produce again, you can construct a minimal reproduced demo based on your biz logic. Usually it's with high concurrency or some handler or connection error.

Do you use ctx.GetConn().Close() to close connection?

Hello, this issue was caused by coroutine calling the write interface after the connection was closed. Today, we reviewed the exposed interfaces and found that the problem may be caused by your call to ctx.GetConn().Close() which closes the connection. Therefore, we have implemented a fallback version that can completely solve this issue. Currently, this branch can be used for urgent repairs, but if you are not in a hurry, you can wait for us to verify and release a new version before using it.

@wzekin ok i can wait. pls update it.
@Duslia
yes i used ctx.GetConn().Close() a lot of places. almost everywhere.
pls do mention when the update will happen. coz it's being used in production now.

Hello. If you are using it in production environment, could you pls register here?

@Duslia i will after this issue is fixed because now it's crashable.

when is this fix? it's kind of a serious bug actually.

@kolinfluence  Could you register now? We can set up a Lark group to support.

@kolinfluence Could you register now? We can set up a Lark group to support.

@kolinfluence Hi~ Please let me know if you have hertz in your production environment🤗


Bonded validator error when bondedAtoms < 1

Description:

I bonded to a validator which I have 0 < steak < 1 bonded due to slashes showing that My Stake is NaN:
committedDelegations{
        cosmosaccaddr18thamkhnj9wz8pa4nhnp9rldprgant57ryzag7:  4.7e-9
...
}

Discussion:
What should we do with the leftover bonded atoms ?

On the validator page, I showed < 0.01. Would that be sufficient?

yeah but the thing is that you can't do anything with < 0.01, not even with < 1

I remember that we discussed to not be able to redelegate if the bonded amount was < 1

You can undelegate and redelegate < 1 token (because we are undelegating and redelegating shares not tokens) but you can't delegate < 1 token. This is how it is currently implemented in the SDK.
We could be hiding validators with < 1 token delegation and hide decimals completely. This would already implement future SDK changes.

You can undelegate and redelegate < 1 token (because we are undelegating and redelegating shares not tokens)

ohh, I thought you were also talking about redelegation when you mentioned about not allowing users to put decimals on the ModalStake amount input.
We'll have to add a condition then on the submission button depending if it's delegation or redelegation to check those cases, change the input step and add some tests.

Maybe this is all to complicated. Let's discuss in the Tuesday meeting.

What did we decide in the meeting?

We can't hide tokens for now. So we go with the < 0.01 term. This may already be solved.

Fixed on develop


bugfix: updated scaling factor for SDXL

Updating the scale factor for SDXL. Using the prior scale factor results in hazy images. Updated scale factor is from https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/vae/config.json
with updated scale factor (0.13025):

with prior scale factor (0.18215):

Thank you for your interest in contributing to Core ML Stable Diffusion! Please review CONTRIBUTING.md first. If you would like to proceed with making a pull request, please indicate your agreement to the terms outlined in CONTRIBUTING.md by checking the box below. If not, please go ahead and fork this repo and make your updates.
We appreciate your interest in the project!
Do not erase the below when submitting your pull request:
#########

[x] I agree to the terms outlined in CONTRIBUTING.md

any chance this is getting merged soon?


Python 3 is here!

Few notes:

I am no bash expert so please update un/installation scripts accordingly.
No tests took place yet

I have to look.

I can't commit this.

Please be more descriptive!
Im currently working on splitting the whole project to multiple files (in multiple categories)


Kindly Bump build target to 33

Cordova recently bumped their version (and package install installs that one instead of the mentioned version) and building this repo causes Error, since the official cordova now requires 33

simply modifying these files fix it. (idk if it causes any issue since I got none yet)
https://github.com/RaSan147/Acode/commit/229b6358aa2b0117b0d34244ea4ea903f61d8f3a

It's not very easy to uodate to latest cordova. And it's also not needed to update. you need to install cordova 10 to build the app.


Unexpectedly disconnected from serial port

When launching "roslaunch roverrobotics_driver zero2_teleop.launch", I receive a fatal error message "Unexpectedly disconnected from serial port. Check connection to robot and reset Estop" and the roverrobotics_driver shuts down.
Ubuntu 18.04 / ROS Melodic
librover: 3.1.1
roverrobotics_ros1: 3.1.1

Hi max
This error show up when (your robot is disconnected, estop is triggered, or your VESC is disconnected)
Based on your ls dev output. It is likely that your vesc is disconnected internally.

Thanks a lot for the fast response @drhieu. I will open the chassis and check if the VESC is connected.

The battery was not connected to the VESC. It might be nice to have a hint on the packaging. Maybe it was there and I simply oversaw it. Again thank you for your fast response and help.


PropertySpecificationBuilder.nullable() does not work

Hi thanks for the lib! However PropertySpecificationBuilder.nullable() does not work. For example,
            context.getSpecificationBuilder().nullable(true);

does not have any effect. I do not see anything like nullable: true in the /v3/api-docs.

Please take the time to search the repository, if your question has already been asked or answered.

[x] What version of the library are you using? Is it the latest version? The latest released version is

What kind of issue is this?

[ ] Question. Is this a question about how to do a certain thing?

[x] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests or
steps to reproduce get fixed faster. Here’s an example: https://gist.github.com/swankjesse/6608b4713ad80988cdc9

[ ] spring xml/java config that is relevant
[ ] springfox specific configuration if it makes sense
[ ] include any output you've received; logs, json snippets etc.; and what the expected output should be
[ ] if you have a repo that demonstrates the issue for bonus points! See this example

[ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.

Please do consider starring this repository if you do like this project and find it useful.

not stale

not

bump

bump


Impossible to handle variable from local data and vuex in custom button

Hello!
I've run into problem when I need to change variable from custom button. Looks like impossible to change var from custom button function. I tried to make it with Vuex, it doesn't work as well.
Some code from project:
config: {
          defaultView: 'month',
          showNonCurrentDates: false,
          editable: true,
          eventLimit: true,
          allDaySlot: true,
          selectHelper: true,
          selectOverlap: false,
          fixedWeekCount: false,
          displayEventTime: true,
          header: {
            left: 'prev,next today, status',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
          },
          customButtons: {
            status: {
              text: "Event",
              click() {
                  .....HERE NOT WORKING
              }
            }
          }

when I want to change state in click() function, it didn't change anything from outside.
I mean even if you have in your data() textTest var and try to make in click() this.textTest = "New Text" it didn't change. I also tried with vuex it didn't help. And I tried to import whole store in component and change with local store. It seems work but not correct.
In short: I want trigger modal from click(), I have a boolean var and I need to change its state but I can't.
I'll be glad any information or advice.
Thanks!

This sounds like a scoping issue. I am guessing that this.textTest doesn't exist in the scope of the click method.
I have had success with using an arrow syntax function as opposed to the shorthand you are using in your example. This should inherit it's scope from the enclosing method.
click: () => {
  this.textTest = "New Text"
}

Though if this fails, you can proxy this to a local variable at the top of data method and use that local variable in the click method.
data() {
  const self = this
  return {
    config: {
    ...
    click() {
      self.textTest = "New Text"
    }
    ...
    }
  }
}

@BrockReece Thank you very much! Arrow syntax function works good! You helped me a lot! Thank you again!

No problem


feat: add copy button to address list

Adds a "Copy to clipboard" button to the accounts list.
This required a nudge on the "Copied" text so that it doesn't cut off by the surrounding list.
Also changes the tooltip text to a description of what the button does.
Fixes https://github.com/near/near-wallet/issues/2620

@Patrick1904 Thanks for the quick review, and nice catch! Fixed and added an event to the ClickToCopy component.

@1bitl the issue still persists for me while testing - basically no copy and the dropdown closes.
I'm also noticing that the success toast for the ClickToCopy component gets cut off at the top - can we please avoid style changes to the ClickToCopy component?

Great job @1bitl - it works well now! 👍


Hide --test-product option

This option is only useful when in cases where SwiftPM offers more than a single test product. Currently that requires either using XCBuild or a multi-root data file which are both hidden and experimental, so this option should be hidden, too, in order to not confuse users.
It could be interesting to investigate changing the build model so that we would always build a test product per test target and if that happens we could publicize this option again.

@swift-ci please test


what is the license of the repo?

It seems interesting, i do want to fork and play around.
Thanks

@nile649 I have added a LICENSE. You can do anything you want to do.


Enhancement Request: Add Check License tab to spdx-online-tools

The online tool https://spdx.org/spdxweb compares license text to the SPDX listed licenses.  It uses a text box input and output a list of matched licenses as a dialog box.
Adding this feature to the spdx-online-tools would allow us to consolidate the tools into one UI (not to mention the UI is better for the spdx-online-tools).
The code is currently implemented as an SPDX servlet, but simply calls the SPDX tools library.
The Java code that calls the library is the following:
LicenseCompareHelper.matchingStandardLicenseIds(licenseText)

where license text is the text in the textbox.
@rtgdk If you prefer, I can create a pull request with the Python code to implement this.

@goneall  Sure, go ahead with the Python code.
Yes, it would be better to have all the online tools under one app. I'll create a separate url for this license search and will work on the UI once it is linked with JPype.

@rtgdk I just pulled the latest.  I'll add the Python code and create a pull request

@rtgdk I added the code changes to a branch licensecheck-go, however I was not able to test it on my local machine.  I ran into issues trying to test on my local machine.  They may be JPype related.  The JVM is crashing at JPJavaEnv::GetArrayLength(_jarray*)+0x20.
I also tried the existing validate functionality and terminated the python runtime without any error message.  I wonder if I have a configuration issue with the JVM or JPype.
If you could try the license check code and see if it works in your environment.  If it does, feel free to merge it in.

@goneall  I'll go through the licensecheck code. Can you send the file you tried the validate tool with ?

I have update the python code. The JVM Thread was being detached before calling len function on matching_licenses. It works fine now.
But it takes a lot of time( atleast 2 minutes ). When I tried the same on Eclipse, it again took the same amount of time. Whereas the java servlet returned the same result in less than 10 seconds. The input was the whole license text of AFL-1.1 in all the cases. I hope JPype returns the result much faster in production.

Thanks for finding the bug.  I'll pull the changes tomorrow and check it out.  The performance issue is the licenses being downloaded from spdx.org/licenses website.  This is only done once and cached as a static field in the ListedLicenses class.  I don't know if the caching will work with JPype.  We would want the class to stay loaded in the JVM so that the cached licenses are available for the subsequent calls to the Check License function.  If we can't cache the licenses, there is an option where the licenses are loaded locally from files which is faster, but it isn't kept current with the published listed licenses.

@goneall  I tested whether there was a cache or not. It took about 3 minutes for the first search. Later on, it didn't take more than 3 seconds. So I guess, the cache is working.

@rtgdk I updated with your fixes and it works reasonably well.  On I am getting subsecond response times on the second request (about 3 minutes on the first search), so the caching is working well.
If you are OK with the code, go ahead and merge the PR.

@goneall Merged. I'll just add ajax form submisson and result display in a pop up modal.


Closing while still dragging wont close completly

left \ right must be disabled for this, cant have both menus available.
When dragging menu you can "play" with it open\close  left\right.
if try open and without leaving mouse close fast it (Without leaving the finger\mouse) it wont close completely and stuck half way even if mouse reaches the close point.

Would you mind trying to reproduce your issue here: http://jsbin.com/toxeke/1

you are right bro, need to have left disabled or right disabled to reproduce it.

Ok, mind trying this one? http://jsbin.com/toxeke/2

surely reproduced. tried it same problem..
try Holding mouse going right (to open) and not leaving it try close.. it wont reach close stuck in middle like my picture above.

must move mouse fast. if do it slow there are only few pixels stuck it is almost unnoticable.

OK. I wasn't able to reproduce the issue myself but the example above just uses Snap.js without the angular-snap wrapper. It seems like your issue lies with Snap.js itself. I did a quick scan through their open issues and didn't see anything resembling what you're describing so you might want to create an issue there. This repo is really a thin wrapper around Snap.js to make it play nice with Angular.

thx.


Update MD file on new branch 2017-11-17_05-33-03

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

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


Remove python 3.8 from tests

Description
This is a minor PR to remove Python 3.8 from tests, which is no longer supported by the project as of #74 .
What kind of change(s) are included?

[ ] Documentation (changes docs or other related content)
[ ] Bug fix (fixes an issue).
[x] Enhancement (adds functionality).
[ ] Breaking change (these changes would cause existing functionality to not work as expected).

Checklist
Please ensure that all boxes are checked before indicating that this pull request is ready for review.

[x] I have read and followed the CONTRIBUTING.md guidelines.
[x] I have searched for existing content to ensure this is not a duplicate.
[x] I have performed a self-review of these additions (including spelling, grammar, and related).
[x] These changes pass all pre-commit checks.
[ ] I have added comments to my code to help provide understanding
[ ] I have added a test which covers the code changes found within this PR
[x] I have deleted all non-relevant text in this pull request template.

Thanks @jenna-tomkinson ! Merging this in.


Documentation needs to be more clear

The doc https://opensource.adobe.com/asset-share-commons/pages/getting-started/set-up/ talks about logging a ticket with support to set up email for AEMaaCS. It's not super clear what needs to be done, but setting up email on AEMaaCS is self service and you should direct them to this document instead of logging a case:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/security/configuring-advanced-networking.html

Thanks! Updated the doc


Supporting Dutch Language

Hi,
Is there a way to make the assistant understand the "Dutch" language ?
Using the following command :

googlesamples-assistant-pushtotalk --device-id  'FD...0FD4F8'  --device-model-id 'pi.....it'  --lang 'es-ES'

I could make the assistant understand Spanish, but when I tried it with the language options 'nl-BE' or 'nl-NL' (for "Dutch - Belgium" and "Dutch - Netherlands") it gives an error indicating that it is an unsupported language code.

grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.INVALID_ARGUMENT, Invalid 'dialog_state_in': unsupported language_code.)>

If the Dutch language is currently not supported, do you have an idea when it will be supported ?
many thanks
Jan.

I believe that the supported list of languages lines up closely with the Actions on Google list of locales. Dutch currently is not one of them.
There's no public timeline for when future languages are being released. But when it is, then using nl should work as expected.

Hi,
I have facing same issue for Thai language 'th-TH'. May I have confirm Google Assistant support this language?
Thank you
Panya

It seems like Assistant now supports th-TH and nl-NL.

I'm running on AIY google, it still not support. there is error showing "no support this language:" after ran command pushtotalk.py --lang th-TH

I'm running the assistant on python SDK google on a Raspberry PI 3b, it still not support. there is error showing "no support this language:" after ran command pushtotalk.py --lang nl-NL

This reference page shows all of the supported languages right now.

Ok, thanks!
I will monitor that reference page for update. Anyone an idea when dutch will be added?


chore: upgrade to stable typescript release

Summary
We're currently on a nightly, this upgrades to yesterday's stable release

Test plan
Green CI

Codecov Report

Merging #8244 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8244      +/-   ##
==========================================
- Coverage   62.28%   62.27%   -0.01%
==========================================
  Files         265      265
  Lines       10573    10573
  Branches     2572     2572
==========================================
- Hits         6585     6584       -1
- Misses       3398     3399       +1
  Partials      590      590

Impacted Files
Coverage Δ

packages/jest-reporters/src/coverage_reporter.ts
59.54% <ø> (ø)
:arrow_up:

...ckages/jest-reporters/src/generateEmptyCoverage.ts
88.88% <ø> (-1.12%)
:arrow_down:

packages/expect/src/toThrowMatchers.ts
86.23% <ø> (ø)
:arrow_up:

packages/jest-reporters/src/notify_reporter.ts
71.73% <ø> (ø)
:arrow_up:

packages/jest-runner/src/runTest.ts
2.43% <ø> (ø)
:arrow_up:

packages/babel-plugin-jest-hoist/src/index.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


What about queues?

Does it work in shared mailbox queues with AutoTrackSentFolderItems settings?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b81252da-b618-2814-3644-094981a66ff1
Version Independent ID: c4bef3a2-d2ab-d877-3741-f63c88b0cc8e
Content: Automatically track sent folder items with server-side synchronization - Power Platform
Content Source: power-platform/admin/track-sent-folder-items.md
Service: power-platform
Sub-service: admin
GitHub Login: @DanaMartens
Microsoft Alias: dmartens

Thanks for your comment, @mehmetsirincelik. This issue has been assigned to the doc author for review.


Add image_tag snippet

Add source.js to scope to allow snippets when embedding Ruby in JavaScript.
I want to resolve matthewrobertson/ERB-Sublime-Snippets#19 by adding a snippet for image_tag.

Hi Matthew, sorry about the delay!  I didn’t notice your comments until recently. I made the requested changes.


Offline Render Eventually Stops Working After N Renders - iOS

Describe the bug
Tone 14.7.77
Due to performance issues with pitch shift on iOS, we have decided to pre-render our audio, rather than do it real time.
This works great on chrome desktop, and works well the first 14-24 renders on iOS, but eventually stops working.
Refreshing the page after getting the error results in the error occurring immediately.  You have to open a new tab to get out of the error state.
To Reproduce
I put together a simple pen to demonstrate the issue.  Pressing the Test1 button will start a loop of rendering audio using the offline context.
On iOS 14.1, the rendering succeeds the first 14 times, but crashes and refreshes the page on the 15th iteration.
On iOS 14.4.2, the rendering succeeds the first 24 times, but throws a NotSupportedError on the 25th iteration.

https://codepen.io/jasonmcaffee/pen/RwKgzdj
Outside of Tone, creating audio buffers via context.createBuffer(...) also stops working after the initial error is thrown.
"NotSupportedError: Channel was not able to be created"

Expected behavior
Rendering offline should be able to be called as many times as wanted without breaking.
Additional Context
Here is the applicable code from the codepen:
async function renderOffline(durationSeconds: number, audioBufferSource: AudioBuffer, offset: number, rate: number, channels = audioBufferSource.numberOfChannels){
  const start = performance.now();
  const context = new OfflineContext(channels, durationSeconds, getAudioContext().sampleRate);
  const player = new Player({context, url: audioBufferSource});
  player.playbackRate = rate;
  const amount = player.playbackRate;
  let pitch = 0;
  if(amount <= 1){
    pitch = Math.abs(shiftToSemitones(amount));
  }else{
    pitch = Math.abs(shiftToSemitones(amount)) * -1;
  }

  const pitchShift = new PitchShift({context});
  pitchShift.pitch = pitch;
  player.connect(pitchShift);
  pitchShift.toDestination();
  player.start(0, offset);
  const toneAudioBuffer = await context.render();
  console.debug(`offline render took ${performance.now() - start} ms`);
  //@ts-ignore
  const result = toneAudioBuffer.get() as AudioBuffer;
  player.disconnect();
  pitchShift.disconnect();
  player.dispose();
  pitchShift.dispose();
  context.dispose();
  toneAudioBuffer.dispose();
  return result;
}

I've seen where audio buffer source nodes have a memory leak on iOS, and you have to assign a scratch buffer to get iOS to release the buffer.  Not sure if that's what's going on here:
let scratchBuffer = audioContext.createBuffer(1,1,22050);
export function getScratchBuffer(){
  return scratchBuffer;
}

export function cleanupSource(source: AudioBufferSourceNode | undefined){
  if(!source){ return; }
  try{
    source.stop();
  }catch(e){}
  source.onended = null;
  source.disconnect(0);
  try{source.buffer = getScratchBuffer();}catch(e){}
}

I investigated more and found that pitchshift and context.render don't need to be used in order to demonstrate the issue.  Simply using an OfflineContext and passing it to the player, then calling player.start causes the issue:
https://codepen.io/jasonmcaffee/pen/VwPzQzN?editors=1010
I tried cleaning up the source nodes, to see if it was a memory leak issue, but that had no effect.

I have filed a webkit bug for this:
https://bugs.webkit.org/show_bug.cgi?id=224279
Calling startRendering only works N times on Safari desktop and iOS before it either crashes the page or starts erroring:
https://codepen.io/jasonmcaffee/pen/GRrvLxX


Add reStructuredText README

reStructuredText README for pypi

Coverage remained the same at 47.95% when pulling 87e506a4b792a39b300927d02dbb3cbd59b01262 on Pi3R1k:master into ae48536d52e97c6992eae8a9fec255752785599f on nanpy:master.

wow thanks a lot!! :)

Badges should be added
README.md should be removed

@Pi3R1k can you provide badges please? :)
@ponty looks like license badge remains unknown, why?

The  license was not set in the last PYPI release.
It will be OK after the next release. (458d7bf190629e02d14c20c679d687f9befbf2ba)

@ponty fixed and added flat style ;)


Unable to pass an array as a variable in AQL for WHERE ..... MATCHES

Before reporting an issue

[X] I have searched existing issues
[X] I have reproduced the issue with the latest release

Environment information
2.6.0 2.15.0 3.3.0 Eclipse Adoptium 21.0.4+7-LTS Linux amd64 6.5.0-1024-azure PostgreSQL 16.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
Steps to reproduce
Execute the following query. The need is to pass an array of strings as an input to the query using $hiTypeArray variable
{     "q": "SELECT c1/uid/value as uid, c4/items[at0009]/items[at0010]/value/value as encounterId, c4/items[at0014]/items[at0016]/value/value as hiType FROM EHR e CONTAINS COMPOSITION c1 CONTAINS CLUSTER c4[openEHR-EHR-CLUSTER.ehrn_metadata.v1] WHERE c4/items[at0009]/items[at0010]/value/value MATCHES {$EncounterIdArray} and c4/items[at0014]/items[at0016]/value/value MATCHES {$hiTypeArray}",     "offset": 0,     "fetch": 10,     "query_parameters": {         "EncounterIdArray": "Encounter/ee2c037d-c499-4aa0-9097-03f6c7e7aa74",         "hiTypeArray": "Prescription, DischargeSummary"     } }
The actual executed query is
  "_executed_aql": "SELECT c1/uid/value AS uid, c4/items[at0009]/items[at0010]/value/value AS encounterId, c4/items[at0014]/items[at0016]/value/value AS hiType FROM EHR e CONTAINS COMPOSITION c1 CONTAINS CLUSTER c4[openEHR-EHR-CLUSTER.ehrn_metadata.v1] WHERE (c4/items[at0009]/items[at0010]/value/value MATCHES {'Encounter/ee2c037d-c499-4aa0-9097-03f6c7e7aa74'} AND c4/items[at0014]/items[at0016]/value/value MATCHES {'Prescription, DischargeSummary'}) LIMIT 10 OFFSET 0
The server ignores the comma in the variable value and identifies as a single string. It then puts it inside a single quote an executes the query
Expected behavior
A better way to handle the variable input so that arrays can be passed using variables
Option1 - Do not add the single quoted to the variable value so that the full value that goes inside the curly brackets can be passed inside the variable(including the single quotes for each string in the array)
Option2 - define the comma (or some other character) as a delimiter so that the server can identify the end of each string and add sinmgle quotes as required around each string separately.
Actual result
The entire variable value is takes as single string
Further information
No response

@dileep-ehr - For me it looks like an enhancement, not an issue.
The same format you defined in query_parameters "hiTypeArray": "Prescription, DischargeSummary" is applied in resulted query: ... MATCHES {'Prescription, DischargeSummary'}.
@stefanspiska , @HolgerReiseVSys - what do you think?

@vladislavploaia I agree that the behaviour in handling parameters is consistent. However in the case of MATCHES which takes an array of values, the expectation is different. Ideally the handling of parameters should be decided by the context in which it is used, so that it works always as expected.

@vladislavploaia @dileep-ehr Interpreting the parameter string as array is no option because the intention of a comma in is not clear, e.g. it could just happen be part of the string to be matched.
We have, however, already thought about allowing json arrays as parameter values, so it could be queried as
{ "q": "SELECT c1/uid/value as uid, c4/items[at0009]/items[at0010]/value/value as encounterId, c4/items[at0014]/items[at0016]/value/value as hiType FROM EHR e CONTAINS COMPOSITION c1 CONTAINS CLUSTER c4[openEHR-EHR-CLUSTER.ehrn_metadata.v1] WHERE c4/items[at0009]/items[at0010]/value/value MATCHES {$EncounterIdArray} and c4/items[at0014]/items[at0016]/value/value MATCHES {$hiTypeArray}",
"offset": 0, "fetch": 10,
"query_parameters": {
  "EncounterIdArray": "Encounter/ee2c037d-c499-4aa0-9097-03f6c7e7aa74",
  "hiTypeArray": ["Prescription", "DischargeSummary"] }
}

Thanks @HolgerReiseVSys!
@dileep-ehr - please check the option provided by Holger.
If it's producing what you was expecting for, then I will close this ticket.
Thank you!

@dileep-ehr @vladislavploaia This is just an idea and not yet implemented :)

@HolgerReiseVSys Yes. I realized that, as I am getting error. Is this scheduled for any recent release

@dileep-ehr
please check https://github.com/ehrbase/ehrbase/pull/1399

@stefanspiska I have done one round of testing and it seems to work.
Will do further testing and revert if any issues are noticed.

Hello @dileep-ehr ,
Please let us know when you finish testing this part, so we can close (or not) this issue.
Thank you!


Improve JavaxValidationPlugin and JakartaValidationPlugin

Describe the feature
Improves supporting @Digits in JavaxValidationPlugin and JakartaValidationPlugin
Objective

supports @Digits annotation property fraction
supports @Digits annotation property integer

fraction
An object generated by Fixture Monkey should satisfy given fraction.
It is not supported now.
integer
JavaxValidationIntegerConstraint or JakartaValidationIntegerConstraint generated by @Digits should be more precisely.
@Value
public class TestSpec {
    @Digits(integer = 2)
    private int digitsValue;
}

For example, digitsValue should be between -99 ~ -10, 10 ~ 99.
But JavaxValidationIntegerConstraint or JakartaValidationIntegerConstraint created now represents -99~99.

@seongahjo i want to contribute to the issue. Can you elaborate for better understanding ?

@coderr01
Hello, thank you for your interest in this issue.
I have updated the issue.
Please check it out, and let me know if you need any more information.


Azure monitor statsbeat small updates / cleanup

API change check
API changes are not detected in this pull request.

Close this PR. changes are migrated to #37176


Unneeded Check for Semicolon

Describe the Issue
Why are we checking for a semicolon in this challenge again? The check leads to somewhat confusing test output, and I thought we were pushing towards 'any valid syntax must be allowed to pass'?
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/increment-a-number-with-javascript
Your code
myVar++

Expected behavior
Test output should mention required semicolon or test should be relaxed.
Screenshots
No response
System
All
Additional context
No response

Thanks, Jeremy.
I agree. We should change the tests in this file to not check for the ;

https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/increment-a-number-with-javascript.md

An issue with the first timers only label is open for contribution to first-timers. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.
If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum


sstableloader should fail ASAP if trying to import MV tables

Scylla will not support importing MV tables from Cassandra.
If anyone tries, we should fail preemptively, instead of waiting for an exception to happen.
@elcallio

We don't really know the "type" of the underlying table in a sstable file, esp. not one from 2.x series.
The schema is derived from info in scylla, so technically you could have a normal table named as a materialized view in the original server, and we will be none the wiser. Otoh, iff schema and name match, but it is not a view, why not allow import?
I've sent a patch to just be more verbose about not finding a table (maybe because it is a view). The import should fail (and already does) if the target either does not exist or is a view (to the driver - which I hope we present as).

@elcallio I closed it, if it's still relevant please reopen


pass alternative stores to TalsecConfig

After this is merged and released, we need to bump version in hello app


Somewhat cryptic SyntaxError for seemingly ok attribute name

Some attribute nams which are ok for python are not ok for attrs:
>>> import attr
>>> @attr.s
... class A(object):
...     _1 = attr.ib()
...
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File ".../lib/python2.7/site-packages/attr/_make.py", line 302, in attributes
    return wrap(maybe_cls)
  File ".../lib/python2.7/site-packages/attr/_make.py", line 274, in wrap
    cls = _add_init(cls, frozen)
  File ".../lib/python2.7/site-packages/attr/_make.py", line 453, in _add_init
    bytecode = compile(script, unique_filename, "exec")
  File "<attrs generated init 59333f495b05c926d5d0a4a1c3ea144621198fa1>", line 1
    def __init__(self, 1):
                       ^
SyntaxError: invalid syntax

I know what's going wrong here, but the error is still somewhat cryptic. So I guess this is mostly a documentation issue. But it puzzled me for some time, because I started out with column names in a CSV file - one of them starting with a "2". So pycharm alerted me of the fact that python names cannot start with a number. A "_" prefix made pycharm happy, but upon import of the module, I ran into this issue.
The error I get for a similar case with namedtuple seems more transparent:
>>> from collections import namedtuple
>>> c = namedtuple('c', ['1'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/collections.py", line 337, in namedtuple
    'a number: %r' % name)
ValueError: Type names and field names cannot start with a number: '1'

fwiw, on py3 this may help:
import keyword

def is_valid_attribute_name(s):
    return s.isidentifier() and not keyword.iskeyword(s)

fixed in #370


Fix : Error occurs when dismissing QuickOpen dialog when no document is open

Add null checks for the same.
ping @niteskum @narayani28 for review.

LGTM 👍


Add parseValue and isColumnOriented options

Adds two options. One to be able to generate a
JSON object based on the columns of the excel
file, and the second to be able to parse values
into integer or booleans when they have such
shape.
Also removes some eslint properties which are n
suported any longer.
Updated readme accordingly.

Awesome! I will look at this commits on a days

Checking the build errors. It is something with the dependencies.

sorry. I was bussy and forgot about PR


gekko creates a new order until it can't be executed within 1 minute, but under other conditions.

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

LOG
2017-12-25 19:34:27 (INFO):	Attempting to SELL 11550.00942 XDG at kraken price: 0.000000730
2017-12-25 19:34:27 (DEBUG):	[kraken.js] (addOrder) SELL 11550.00942 XDG @ 0.00000073 XBT
2017-12-25 19:34:49 (DEBUG):	[kraken.js] (addOrder) added order with txid: XXXXXX-XXXXX-XXXXXX
2017-12-25 19:35:50 (INFO):	SELL order was not (fully) filled, cancelling and creating new order
2017-12-25 19:35:57 (INFO):	Attempting to SELL 11550.00942 XDG at kraken price: 0.000000730
2017-12-25 19:35:57 (DEBUG):	[kraken.js] (addOrder) SELL 11550.00942 XDG @ 0.00000073 XBT
2017-12-25 19:36:15 (DEBUG):	[kraken.js] (addOrder) added order with txid: XXXXXX-XXXXX-XXXXXX
2017-12-25 19:37:16 (INFO):	SELL order was not (fully) filled, cancelling and creating new order
2017-12-25 19:37:29 (INFO):	Attempting to SELL 11550.00942 XDG at kraken price: 0.000000730
2017-12-25 19:37:29 (DEBUG):	[kraken.js] (addOrder) SELL 11550.00942 XDG @ 0.00000073 XBT
2017-12-25 19:37:53 (DEBUG):	[kraken.js] (addOrder) added order with txid: XXXXXX-XXXXX-XXXXXX
2017-12-25 19:38:56 (INFO):	SELL order was not (fully) filled, cancelling and creating new order
2017-12-25 19:39:21 (INFO):	Attempting to SELL 11550.00942 XDG at kraken price: 0.000000720
2017-12-25 19:39:21 (DEBUG):	[kraken.js] (addOrder) SELL 11550.00942 XDG @ 0.00000072 XBT
2017-12-25 19:39:36 (DEBUG):	[kraken.js] (addOrder) added order with txid: XXXXXX-XXXXX-XXXXXX
2017-12-25 19:40:37 (INFO):	SELL was successfull

Temporary solution? (NOT TESTED!!!)
Increase time for re-check?
/gekko/plugins/trader/portfolioManager.js
- setTimeout(this.checkOrder, util.minToMs(1));
+ setTimeout(this.checkOrder, util.minToMs(10));

Be careful with this. On ccxt-luno I made quite a big loss because it kept on trying and somehow it sold for far below market value. I have an existing issue similar to this one open: https://github.com/askmike/gekko/issues/1536

Why not fork and PR?


feat: add error policy

Whenever a Graphql response contains an error, the library starts throwing the response. Wrapping the Client in a try and catch makes the response model different (returning ClientError instead of the expected type)
I also think this goes against the principles of Graphql since partials of the schema can still resolve. Also sometimes you don't want it to resolve, so it should be possible to maintain the current implementation (error policy: "none" / default in this PR).
Inspired on Apollo Error policy (https://www.apollographql.com/docs/react/data/error-handling/) I've added this feature in which people can opt-in these 3 types of policies.
Let me know what you think!

Hey Jason, I've added the test, and docs. Can you check if this is alright with you? Thanks.

Thanks, @wesley079. Do you have a date to publish this feature?

Can you try the preview release?

In my case, it works like a charm!


The helm chart (0.12.9) for Superset points to 4.0.0 version instead of 3.1.3

Bug description
Hello,
I think there is a mistake on helm chart version because the chart since the version 0.12.9 points to 4.0.0 instead of 3.1.3. For me superset 4.0.0 should be associated to helm chart in version 0.13.0.
The other things:

There is no helm  chart that allows to use directly a superset 3.1.3.
The helm chart associated to branch the 3.1 points to 3.1.0 instead of superset 3.1.3.

How to reproduce the bug
Go to
https://artifacthub.io/packages/helm/superset/superset/0.12.10  and check version
https://github.com/apache/superset/blob/b477abd1ca8dde4ef6d8d8a19c6bdb4d51cbe8eb/helm/superset/Chart.yaml#L18
https://github.com/apache/superset/blob/3.1.3/helm/superset/Chart.yaml#L18
Screenshots/recordings
No response
Superset version
3.1.3
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
[ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
[ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Helm charts are not part of official release, hence the versioning is not updated when a new superset release is made. They are updated by the community.
The releases themselves also (usually) do not contain the last available commit to the charts, example: 4.0.1 branch does not contain this commit.

If it is not officially supported, why the recommended installation on official documentation point to use the Helm chart.....?
https://superset.apache.org/docs/installation/kubernetes

If it is not officially supported, why the recommended installation on official documentation point to use the Helm chart.....?

This is a fair point we should consider, @mistercrunch @eschutho @michael-s-molina @villebro
The Quick Start says to use Docker for local, but to use K8s for production, linking to these helm instructions. If it's our recommendation to use, we should consider supporting the assets/workflow officially. Otherwiwse, we should consider the recommendation and encourage people to choose freely between Docker, K8s, pip install, etc.


feat(linter/eslint): improve no-duplicate-case rule

ignore parethesis when comparing case test expressions
make labels in diagnostics more friendly
add more examples to documentation

#4943
#4942  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on  Graphite


Remove the sidetiq scheduler, switch to sidekiq cron

See: https://github.com/zooniverse/panoptes/pull/3938
As we update rails and other packages, sidetiq (because it has been archived and no longer is actively being developed) will be a blocker.


Outlook Owa - coroutine Error

Hi,
I am trying to send emails via Outlook owa. I am able to get the mails successfully so authentication works well.
When I try to send email by just specifying recipient value as static mail like<EMAIL_ADDRESS>having this error in app logs.
No matter what I pass recipient value, having this error. Any recommendation about this?
2023-01-10 14:34:04,965 - Owa - INFO - [DEBUG] CHECKING multi execution list: 0!
2023-01-10 14:34:04,966 - Owa - INFO - [DEBUG] OUTER VALUE:
2023-01-10 14:34:04,966 - Owa - INFO - [DEBUG] Returned with newparams of length 1
2023-01-10 14:34:04,966 - Owa - INFO - [INFO] Running normal execution (not loop)
2023-01-10 14:34:04,966 - Owa - INFO - [DEBUG] Got exec type error: Owa.send_email() missing 1 required positional argument: 'ccrecipient'
2023-01-10 14:34:04,966 - Owa - INFO - [DEBUG] Not in coroutine (1)
2023-01-10 14:34:04,966 - Owa - INFO -
"Results for send":{3 items
"success":false
"reason":"You may be running an old version of this action. Try remaking the node, then contact us at<EMAIL_ADDRESS>if it doesn't work with all these details."
"exception":"TypeError: Owa.send_email() missing 1 required positional argument: 'ccrecipient'"

Hi @frikky,
Thanks for the reply. There is no "Outlook exchange" in the official app list. Only app called "Outlook Owa" exist - which I am using it in my current flowchart.

Hi @frikky,
Thanks for the reply. There is no "Outlook exchange" in the official app list. Only app called "Outlook Owa" exist - which I am using it in my current flowchart.

Hey!
You need to force update your apps to get it. "Outlook OWA" was the old naming, but it became rather confusing, hence the update.
https://shuffler.io/docs/apps#updating_apps_remotely

Hi @frikky, update fixed the issue. many thanks.


Undocumented change - Encased shafts and chain drives can no longer be strongly powered

Describe the Bug
In Create 0,5.0g, it was possible to strongly power encased shafts, chain drives, adjustable gearshifts (and probably other similar items like encased gears). In 0.5.0i (in patch 3 at least), this is no longer possible.
This change was not documented in either the Fabric or Forge side, so I expect this might have been unintentional?
Reproduction Steps

Attempt to strongly power encased shafts

Expected Result
Encased Shafts and other similar blocks, like Andesite Casings, can be strongly powered
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 10 (server running on BSD)
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

This was intentional and fixed parity with forge


New version: OpenWhisperSystems.Signal version 6.32.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Reset PR


[hdf5tree] Rework it using the low level API from h5py

I would be good to rework some part of the code to use the low level API.
It should be a little more efficient.

Closing as not being contemplated in 4 years.
Please reopen if needed.


Non-Contiguous Time slots

Can Octoblock be updated to identify a non-contiguous set of time slots that sum to a defined time length ? Let me explain, like many people I have a set of devices which I want to power for 'n' minutes in a certain time window but I don't need those time slots to be contiguous, these happen to be my big users of power i.e. hot water immersion tank , electrical storage heaters etc.
I imagine the soultion looking something like this:
blocks:
- durationMinutes: 60
slotwidthMinutes: 30
start_period: today
name: ImmersionTank
limits:
start_time: '05:00'
end_time: '07:00'
which would return - possibly as an array- the two cheapest time slots within the four available in the time window given that 'slotwidth'.I don't know how well HA handles array values or even if HA/python has an Ismember type function that you could easily call in your automations condition to return a boolean value Alteratively you could create a set of entities based on the name each representing a time slot ( ImmersionTank1 and ImmersionTank2 - in this case ) that you could then refer to using the documented syntax. Thanks a lot - I know it might sound self serving - but I think this would meet a widespread need.

I believe this is available in https://github.com/markgdev/home-assistant_OctopusAgile already, as such I'm not looking to develop it myself. But if you want to put up a pull request for review, I'll happily look at it and add it in.


Ugly Color in all themes

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:15:57.756Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

better-comments
aar
0.1.3

include-autocomplete
ajs
0.0.4

file-templates
brp
1.2.0

CppSnippets
har
0.0.12

auto-comment-blocks
kev
0.3.2

cpptools
ms-
0.12.3

vscode-code-outline
pat
0.0.8

platformio-ide
pla
0.6.0

vscode-icons
rob
7.12.0

vscode-todo-highlight
way
0.5.9

debug
web
0.21.2

(1 theme extensions excluded)

Steps to Reproduce:

see screenshot, the light green color (#98C379) is present in every theme

Reproduces without extensions: Yes/No

I can't reproduce that. Please make sure extensions are disabled. Also, please add a code snippet.
To see why the color appears, put the cursor in the colored area and run the command Developer: Inspect TM Scope. When I try this I don't see any special scope for that line, its all comment.block.c

Thank you for that advice, it was the "Better Commands" Extension which causes the problem.


Select box doesn't inherit Bootstrap rounded corners

My code is here: https://github.com/xKairu/CoD-eSports-VODs/blob/master/templates/index.html#L8
Screenshot: http://i.imgur.com/Fd9mE4R.png
As you can see, the corners aren't rounded, unlike every other input element in Bootstrap.
I'm currently using 1.6.4. 1.6.3 had the right hand corners rounded, but they didn't link together like elements in input groups should.

This is caused by #756, where .form-control was permanently added to the button. This causes other issues as well, and will be fixed in an update.


ArrayDataget_slice_memory_size   or similar

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of implementing an Arrow flight client, we have observed that there is a maximum message size for gRPC messages, and thus while encoding the Arrow flight client has a way to limit the size of the messages (see https://github.com/apache/arrow-rs/pull/3391)
However, apparently there is currently no way to get the memory size used by a sliced (aka the array only points to a portion of the overall underlying allocation), which will result in overly conservative re-splitting in the arrow-flight client
Describe the solution you'd like
As suggested by @tustvold  on https://github.com/apache/arrow-rs/pull/3391#discussion_r1058288317

It is worth noting that this method does not take into account already sliced arrays, we likely need to add a get_slice_memory_size or something to ArrayData to provide this, it should be relatively straightforward

Describe alternatives you've considered
We could leave the users of the client to worry about batch splitting
Additional context

Thank you @askoa

label_issue.py automatically added labels {'arrow'} from #3501

label_issue.py automatically added labels {'arrow-flight'} from #3391


AVL Tree [Java]

AVL tree is a self-balancing binary search tree.
To know more : AVL Tree

Can anyone tell me please, Why I cannot add lables and assign myself?

@Hsankesara The rights of iiitv/algos have modified to read-only, so only admins can do that now.

@Hsankesara Please read the CONTRIBUTING.md carefully, I will point it out First make sure you are not suggesting a duplicate.
Always check if the algorithm you are trying to implement is already implemented or is an open issue.
This algo has an open issue created by @amany9000 in #131 .


User page, checkout, and readme

Adding User Page, Checkout, and Readme files

Nice work, bro. I think, instead of copy-pasting the same repetitive code on different pages, you are using iframe to load the file. But I think there is some problem with the linking, check this
And the same thing is coming Page not found on clicking the Account tab.

Live Link Shows The file which already has been merged, after merging this pull request they will not give this issue.
Thanks, Himanshu for the detailed PR Review

I think 2s is a lot of time for transitioning it should be in between 200ms to 600ms should give a better transition effect.
as most values are 2s you can use CSS variables to declare this value it would be faster in checking which ones working

I think 2s is a lot of time for transitioning it should be in between 200ms to 600ms should give a better transition effect. as most values are 2s you can use CSS variables to declare this value it would be faster in checking which ones working

Okay, I'll do that change. Thank's Yashwant for Pointing that out.


haproxy configuration fails when maxips=1 and path_ips flushes

just after I set my maxips count to 1 I noticed random disconnections, so I investigated further into 429 errors
Haproxy container logs showed a loop of connection - flush - disconnection
I'd share the log if anyone is interested

Sorry for the delay. Please share the log.

No problem, unfortunately I don't have the logs any more. I also used and modified your lua script to implement a way to limit ips without timeouts during this time, users are able to connect as soon as another one disconnects, so thanks for the idea.
I don't know lua, but I read the script at the time for several hours and figured out what's wrong with it;
so if ip_limit is x and x users are connected, whenever we flush the table:
https://github.com/VZiChoushaDui/Libertea/blob/b07ff615e6c0c85a675578c31f58e3443b3aa066/haproxy/script.lua#L162
the username isn't in the path_ips_list[1], so these lines happen:
https://github.com/VZiChoushaDui/Libertea/blob/b07ff615e6c0c85a675578c31f58e3443b3aa066/haproxy/script.lua#L175-L178
and we'd look path_ips_list[2] for the length of ips, which is indeed equal to x.
so the function returns and the user is banned until the next flush happens.


makes button a react bs component and makes tests use consistent "expect" syntax

in index.js, makes the button a react bootstrap component
updates tests so that they use consistent "expect" syntax

That pesky NPM. Thanks for putting this together. I'll take a peek this week and get it merged :)

merged in TMC changes. current changes in this pull request:
in index.js, makes the button a react bootstrap component
updates tests so that they use consistent "expect" syntax


Adaptive Lighting

Please explain your feature request in a one or two sentences.

Is there a way through scripting to enable the Govee light strips to work light the new Adaptive Lighting features appearing in HomeKit and other vendor specific apps?  I'm new to this platform so I'm not sure if there's another space where this would have been addressed in the past.

Is your feature request related to a problem? Please describe.

No problem, just an enhancement request.

Any particular Govee devices that this relates to?

I'm not sure of specific model but I have the Alexa enabled 32 and 16 ft RGBIC wifi/Bluetooth strips.

Anything else?

Any questions, please feel free ask.

Hi @smcarlsonpdx adaptive lighting is a new feature of Homebridge 1.3 beta, so you need to have this beta version installed...
https://github.com/homebridge/homebridge/issues/2765
If you use config-ui-x, you can easily update to the beta by clicking on the Homebridge version on the main page and choosing a different version to install.

Hi @smcarlsonpdx adaptive lighting is a new feature of Homebridge 1.3 beta, so you need to have this beta version installed...
https://github.com/homebridge/homebridge/issues/2765
If you use config-ui-x, you can easily update to the beta by clicking on the Homebridge version on the main page and choosing a different version to install.

I'm currently running a HOOBS setup on their Rasp Pi 3 as I'm somewhat new to this project.  Any suggestions of how to do this update without disrupting their nice HOOBS interface?

Hi @smcarlsonpdx adaptive lighting is a new feature of Homebridge 1.3 beta, so you need to have this beta version installed...
https://github.com/homebridge/homebridge/issues/2765
If you use config-ui-x, you can easily update to the beta by clicking on the Homebridge version on the main page and choosing a different version to install.

I'm currently running a HOOBS setup on their Rasp Pi 3 as I'm somewhat new to this project.  Any suggestions of how to do this update without disrupting their nice HOOBS interface?

Hi @smcarlsonpdx adaptive lighting is a new feature of Homebridge 1.3 beta, so you need to have this beta version installed...
https://github.com/homebridge/homebridge/issues/2765
If you use config-ui-x, you can easily update to the beta by clicking on the Homebridge version on the main page and choosing a different version to install.

Ah I didn't realise you use HOOBS. I don't think it's possible to change the version of Homebridge with HOOBS.

Ah I didn't realise you use HOOBS. I don't think it's possible to change the version of Homebridge with HOOBS.

Ah I didn't realise you use HOOBS. I don't think it's possible to change the version of Homebridge with HOOBS.

What are advantages of using the Homebridge over the HOOBS (which includes Homebridge) projects?

Ah I didn't realise you use HOOBS. I don't think it's possible to change the version of Homebridge with HOOBS.

What are advantages of using the Homebridge over the HOOBS (which includes Homebridge) projects?

Of course, it's completely up to you whether you use Homebridge or HOOBS. There are many posts on reddit comparing the 'differences'. Although if you're already set up with HOOBS, is it really worth it... switching... for adaptive lighting?
I assume that when Homebridge 1.3 is released, that HOOBS will update their system in turn.

Of course, it's completely up to you whether you use Homebridge or HOOBS. There are many posts on reddit comparing the 'differences'. Although if you're already set up with HOOBS, is it really worth it... switching... for adaptive lighting?
I assume that when Homebridge 1.3 is released, that HOOBS will update their system in turn.

OK, thank you for that response , it was very helpful.  I’ll hang tight for the HOOBS team to update to hb 1.3 within their distribution.
Regards,

On Jan 6, 2021, at 09:40, Ben<EMAIL_ADDRESS>wrote:

Of course, it's completely up to you whether you use Homebridge or HOOBS. There are many posts on reddit comparing the 'differences'. Although if you're already set up with HOOBS, is it really worth it... switching... for adaptive lighting?
I assume that when Homebridge 1.3 is released, that HOOBS will update their system in turn.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

OK, thank you for that response , it was very helpful.  I’ll hang tight for the HOOBS team to update to hb 1.3 within their distribution.
Regards,

On Jan 6, 2021, at 09:40, Ben<EMAIL_ADDRESS>wrote:

Of course, it's completely up to you whether you use Homebridge or HOOBS. There are many posts on reddit comparing the 'differences'. Although if you're already set up with HOOBS, is it really worth it... switching... for adaptive lighting?
I assume that when Homebridge 1.3 is released, that HOOBS will update their system in turn.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


segmentation get worst after training from default cellpose model

Hello,
I have tried to train a cellpose model either from scratch or using a pretrained model from cellpose (the nuclei model) but no matter what I try, the result is terrible, here is an overview:

I can understand why the segmentation is worst after training from scratch, but how could it get worst after training on top of the default nuclei model (which performs quite ok)? Am I missing something? I have used 16bits masks and 16bits images, could it be the issue?
I have used the following parameters for the training:
model_to_load = 'nuclei'
number_of_epochs = 500
initial_learning_rate = 0.0002
batch_size = 8
diameter = 30 (also tried to set 0)
and the following code to train the model:
python -m cellpose --train --dir "$train_folder" --pretrained_model $model_to_load --chan $channel --n_epochs $number_of_epochs --learning_rate $initial_learning_rate --batch_size $batch_size --use_gpu
Thanks!

there was a bug in training for single channel images like yours, I'd recommend trying the latest version of the code if you haven't already (pip install git+https://github.com/mouseland/cellpose.git)
I'm going to close this issue for now because I'm hoping that the bug is the problem, if not let us know
In general I've also found that retraining from scratch works better than training from the default model

I'm running into this same problem (segmentation performing much worse after training on single-channel images). In fact, my trained model finds 0 masks, even when LC4 routinely finds ~80% of the objects. This suggests (to me) that I'm doing something incorrectly or a bug remains. I've followed the guidelines on the human-in-the-loop training, and everything proceeds without error...
Happy to share my images and the model itself if that's helpful. FWIW, I'm training on unlabeled C. elegans.

Looking at this, is retraining from scratch better almost always or is this specific to the nuclei pretrained model? Thanks

In general I've also found that retraining from scratch works better than training from the default model

Hi, thanks for making cellpose!  I seem to have the same problem of training doing worse than the basic cyto 2 model. In fact after a while (went up to 10 rounds) it doesnt detect any cells any more in some images. I'm doing this with the current branch installed via git+pip https... . I tried it in the GUI and in the notebook with various parameters.
Im running just a single channel without DAPI. Is this the problem? Happy to share some example tiffs and hand-segmented segments.

Was this issue ever figured out? I am currently using an up-to-date program and am also seeing similar bad performance. https://forum.image.sc/t/high-loss-when-training-cellpose-models/79937?u=myrk


make failed on my mac

➜  roswell git:(master) ✗ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
printf "#define ROS_COMPILE_ENVIRONMENT "%s"\n" "gcc --version|head -n 1" > gend.h.tmp
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
(printf "#define ROS_REVISION "" && ((which git>/dev/null&&[ -e ../.git ]&&
(git log -n 1 --oneline|cut -d' ' -f1| tr -d '\n'| tr -d '\r'))||printf "") && printf ""\n") >> gend.h.tmp
(sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W' 2>&1 >/dev/null && (printf "#define WIN_LISP_PATH ""
echo sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W 2>/dev/null'| tr -d '\n'| tr -d '\r' |
sed ///\/
printf "\\"\n")  >> gend.h.tmp) || printf ""
sh: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]
cmp -s gend.h.tmp gend.h||cp gend.h.tmp gend.h
rm -f gend.h.tmp
cat gend.h
#define ROS_COMPILE_ENVIRONMENT "Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)"
#define ROS_REVISION "b3293ce"

I don't understand what did you do to build roswell. and why do you think your result is failure?
Why do you think so.Tell me more about failure please.
result of make on my environment is like below.
snmsts-air1-5644:roswell snmsts$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
printf "#define ROS_COMPILE_ENVIRONMENT \"%s\"\n" "`gcc --version|head -n 1`" > gend.h.tmp
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
(printf "#define ROS_REVISION \"" && ((which git>/dev/null&&[ -e ../.git ]&& \
	(git log -n 1 --oneline|cut -d' ' -f1| tr -d '\n'| tr -d '\r'))||printf "") && printf "\"\n") >> gend.h.tmp
(sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W' 2>&1 >/dev/null && (printf "#define WIN_LISP_PATH \"" \
	echo `sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W 2>/dev/null'`| tr -d '\n'| tr -d '\r' |\
	sed /\//\\/ \
	printf "\\\\\"\n")  >> gend.h.tmp) || printf ""
sh: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]
cmp -s gend.h.tmp gend.h||cp gend.h.tmp gend.h
rm -f gend.h.tmp
cat gend.h
#define ROS_COMPILE_ENVIRONMENT "Apple LLVM version 7.0.0 (clang-700.0.72)"
#define ROS_REVISION "5316295"

looked scary?
snmsts-air1-5644:roswell snmsts$ echo $?
0

but it is expected result.I have src/ros properly.

Thanks for you quick reply!
I wanna install roswell and follow your github wiki.
"brew install roswell" result:

ast 15 lines from /Users/wjchen/Library/Logs/Homebrew/roswell/03.make:
mv -f .deps/cmd-install.Tpo .deps/cmd-install.Po
mv -f .deps/cmd-help.Tpo .deps/cmd-help.Po
mv -f .deps/cmd-config.Tpo .deps/cmd-config.Po
mv -f .deps/cmd-setup.Tpo .deps/cmd-setup.Po
mv -f .deps/cmd-version.Tpo .deps/cmd-version.Po
clang  -g -O2   -o ros lsp.o opt.o download.o archive.o html.o util_list.o util.o util_string.o util_dir.o util_system.o cmd-internal.o cmd-version.o cmd-run.o cmd-run-sbcl.o cmd-run-ccl.o cmd-run-clisp.o cmd-run-ecl.o cmd-run-abcl.o cmd-run-cmu.o cmd-run-acl.o cmd-install.o cmd-install-sbcl-bin.o cmd-install-quicklisp.o cmd-help.o cmd-config.o cmd-setup.o  -lcurl
./ros setup --no-core;./ros ../scripts/man.ros ../documents/ros.html ../documents/ros.1
ros(48004,0x7fff7385d300) malloc: *** error for object 0x7fff592d85d9: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
/bin/sh: line 1: 48004 Abort trap: 6           ./ros setup --no-core
ros(48006,0x7fff7385d300) malloc: *** error for object 0x7fff501025dd: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
/bin/sh: line 1: 48006 Abort trap: 6           ./ros ../scripts/man.ros ../documents/ros.html ../documents/ros.1
make[1]: *** [../documents/ros.1] Error 134
make: *** [install-recursive] Error 1
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
so I try install roswell from source code.

$ git clone -b release https://github.com/snmsts/roswell.git
$ cd roswell
$ sh bootstrap
$ ./configure
$ make
$ sudo make install
sudo make install result is:

Making install in src
printf "#define ROS_COMPILE_ENVIRONMENT "%s"\n" "gcc --version|head -n 1" > gend.h.tmp
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
(printf "#define ROS_REVISION "" && ((which git>/dev/null&&[ -e ../.git ]&&
(git log -n 1 --oneline|cut -d' ' -f1| tr -d '\n'| tr -d '\r'))||printf "") && printf ""\n") >> gend.h.tmp
(sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W' 2>&1 >/dev/null && (printf "#define WIN_LISP_PATH ""
echo sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W 2>/dev/null'| tr -d '\n'| tr -d '\r' |
sed ///\/
printf "\\"\n")  >> gend.h.tmp) || printf ""
sh: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]
cmp -s gend.h.tmp gend.h||cp gend.h.tmp gend.h
rm -f gend.h.tmp
cat gend.h
#define ROS_COMPILE_ENVIRONMENT "Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)"
#define ROS_REVISION "b3293ce"
printf "#define ROS_COMPILE_ENVIRONMENT "%s"\n" "gcc --version|head -n 1" > gend.h.tmp
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
(printf "#define ROS_REVISION "" && ((which git>/dev/null&&[ -e ../.git ]&&
(git log -n 1 --oneline|cut -d' ' -f1| tr -d '\n'| tr -d '\r'))||printf "") && printf ""\n") >> gend.h.tmp
(sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W' 2>&1 >/dev/null && (printf "#define WIN_LISP_PATH ""
echo sh -c 'cd /usr/local/share/common-lisp/source/roswell; pwd -W 2>/dev/null'| tr -d '\n'| tr -d '\r' |
sed ///\/
printf "\\"\n")  >> gend.h.tmp) || printf ""
sh: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]
cmp -s gend.h.tmp gend.h||cp gend.h.tmp gend.h
rm -f gend.h.tmp
cat gend.h
#define ROS_COMPILE_ENVIRONMENT "Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)"
#define ROS_REVISION "b3293ce"
.././install-sh -c -d '/usr/local/bin'
/usr/bin/install -c ros '/usr/local/bin'
.././install-sh -c -d '/usr/local/share/common-lisp/source/roswell'
/usr/bin/install -c -m 644 lisp/init.lisp lisp/install+7zip.lisp lisp/install+asdf3.lisp lisp/install+ffcall.lisp lisp/install+msys2.lisp lisp/install+quicklisp.lisp lisp/install+sigsegv.lisp lisp/install-ccl-bin.lisp lisp/install-clisp.lisp lisp/install-sbcl-bin.lisp lisp/install-sbcl.lisp lisp/install.lisp lisp/+roswell-internal-core-build.ros lisp/build.ros lisp/delete.ros lisp/dump.ros lisp/emacs.ros lisp/init.ros lisp/list.ros lisp/use.ros '/usr/local/share/common-lisp/source/roswell'
make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done for install-data-am'.
I get below issue message when use ros:

➜  roswell git:(master) ✗ ros
ros(49935,0x7fff7385d300) malloc: *** error for object 0x7fff52f11cfe: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[1]    49935 abort      ros
I can get the same issue message when run

ros config

Thank you for the information.
Now I understand that roswell not working at all there.
I'm not sure what's wrong so far and It's sounds not so easy bug to fix at once. I'll try fixing it but I can't tell when I'll finish.
Would you show uname -a? that might helpful.

$ uname -a
Darwin CNwjchen.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

thank you.

Ohh, It looks like this issue from incorrect permissions on ros. Roswell can works well when I use below command

✗ sudo ros --version
Password:
roswell <IP_ADDRESS>(7ab732a)