mainSourceElements artifacts miss task dependencies

Current Behavior
If you depend on mainSourceElements of a different project which has a task that generates sources configured, the necessary task dependency is missing.
I would highly assume that for example JaCoCo report aggregation plugin is affected by this just the same.
Unless I made something wrong in alpha I just don't see right now.
Expected Behavior
Task dependency should be there.
No response
Steps to Reproduce

Extract alpha-beta.zip

Execute gw :gamma:copyAllSources

See that all tasks are NO-SOURCE and nothing is in gamma/build/tmp/

Open alpha/ee/build.gradle.kts

Comment in the commented lines

Do the Gradle invocation again

Now the :alpha:ee:transformSources task is executed and the transformed sources are copied over properly

Gradle version
8.5

Thank you for your interest in Gradle!
This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

This lack of dependency detection might cause Gradle 8 to report an error when the task ordering changes and an implicit dependency is detected.
Related:

#19555
#25885
#27576

Verified to to be a valid bug with:
def "source directories carry task dependencies"() {
    given:
    settingsFile << """
        include 'other'
    """
    file("other/build.gradle") << """
        plugins {
            id("java-library")
        }
        task generateSources {
            outputs.dir("src/generated/java")
        }
        sourceSets {
            main {
                java.srcDirs(generateSources.outputs)
            }
        }
    """
    buildFile << """
        plugins {
            id("java-library")
        }

        configurations {
            resolvable("sourcesResolver") {
                extendsFrom(implementation)
                attributes {
                    // Should select mainSourceElements
                    attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.VERIFICATION))
                    attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, objects.named(VerificationType, VerificationType.MAIN_SOURCES))
                    attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL))
                }
            }
        }

        dependencies {
            implementation project(":other")
        }

        task resolve {
            def files = configurations.sourcesResolver.incoming.files
            dependsOn(files)
        }
    """

    expect:
    succeeds("resolve")
}

This minimal reproducer shows that generateSources does not run before resolve

Bug is caused here:
https://github.com/gradle/gradle/blob/2d88165300f126c054de4fbca54811279df066d6/platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java#L348-L351
The offending code being flatMap(e -> project.provider(() -> e)), which strips away task dependencies from the provider.

We almost want a way to get a provider with its value and its task dependencies separately, as long as we promise to carry along those task dependencies ourself on the type that we map to.

Due to the contracts of the provider API you cannot reliably obtain the value of the provider before its dependencies complete, because its value might depend on the contents (imagine map that reads the file produced by a task). It looks like that the ConfigurablePublishArtifact instance has to be built at configuration time for, well, further configuration in the callback, and it requires the provider value to determine e.g. filename?
I wonder if migrating PublishArtifact to lazy properties helps to address the issue without introducing eager provider resolution.


vcfwave error

Thank you very much for the tool you developed. We are using the final MC-generated VCF after clipping（prefix.vcf.gz）, and when we run the code, an error occurs. However, after I modified the code, the error disappeared. Is there any problem?
error：bcftools annotate -x INFO/AT -Ou mc.biallele.uniq_id.vcf.gz | bcftools +fill-tags -- -t AC,AN,AF | vcfwave -I 1000 | bgzip -c > mc.biallele.uniq_id.vcfwave.vcf.gz
terminate called after throwing an instance of 'std::out_of_range'
The code that runs correctly：bcftools annotate -x INFO/AT -Ou mc.biallele.uniq_id.vcf.gz |  vcfwave -I 1000 | bgzip -c > mc.biallele.uniq_id.vcfwave.vcf.gz

Hi,
May I know if your environmental variable BCFTOOLS_PLUGINS include the path to BCFtools plugins? You can test this by bcftools +fill-tags -h and see if there is an error.
Besides, the reason I added AC,AN,AF annotations in that step was vcfwave require this information (not sure if the latest version also requires). So, if you don't have error with bcftools annotate -x INFO/AT -Ou mc.biallele.uniq_id.vcf.gz | vcfwave -I 1000 | bgzip, you can just use this.  But it would be always safer to update AC,AN,AF before running collapse_bubble.py, the script will check these values to determine which SV is the most common one and selected it as the representative for all merged SVs.

We found that when using fill-tags -- -t AC,AN,AF, all missing samples are changed to AF=. Previously, it was AF=0. Then, when compiling into MNP with AF=., vcfwave encounters an error

The last photo is without performing the fill-tags, and it ran successfully.

I see, I think vcfwave only accept non-missing AF. You can just skip the +fill-tags step.
However, I think a pangenome VCF should not include a variant with all missing genotypes, otherwise is it impossible to call the variant. Did you remove any samples from VCF (e.g., remove one reference genome if you include more than 1 ref in MC pipeline)? As collapse-bubble check genotypes to reduce false positive SV merging, it would be best to include all samples.

Thank you for your reply. We didn't remove any samples.The variants with conflict info（for example：CONFLICT=D2_L） in the VCF file generated from our pan-genome are missing. Is this our issue, or is there an issue with the process of constructing our pan-genome?
##INFO=<ID=CONFLICT,Number=.,Type=String,Description="Sample names for which there are multiple paths in the graph with conflicting alle>

I was not aware that CONFLICT can cause this when there are not a lot of samples in the pangenome. There is nothing wrong with your data, please just go ahead.
It seems that bcftools +fill-tags is not necessary for MC output to run vcfwave, I will update the README.
Thanks for sharing this!

Hello, I have a few more questions. I obtained SVs using a graph-based pan-genome, and additionally, I used vg call to obtain SVs from other second-generation sequencing individuals. The results from vg call contain many lowAD and lowDepth sites. Should I remove them before merging (as I plan to conduct GWAS later)? Should I use vcftools for merging and truvari for collapse, Or simply vcftools merge, or would SURVIVOR be a better option?
Is there any software that can calculate the recall of SVs（pangenome and vg call）?  mabe truvari bench？ When comparing, should I include the pangenome variants that are missing due to conflicts?
😊I am still a beginner in genomics, thank you for your help.

Personally, I never trust the variants called from low depth. Many of those SVs should locate in a difficult region (e.g., repeats) and their genotypes is of low confidence, very likely in many samples. They may make your downstream GWAS quite noisy.
For SV merging, most SVs genotyped by vg call should be able to match back to one of the SV in the VCF deconstructed from your pangenome graph. Therefore, I prefer to only do SV merging with the pangenome VCF, and then you can map the SVs genotyped from NGS to this VCF to merge SVs for all samples. This is also why collapse-bubble.py output a table to trace how SVs are merged.
However, according to my experience, the output variant of vg call can be slightly different from the pangenome VCF, so you can also try other methods to directly merge the population VCF. In the HPRC paper (https://www.nature.com/articles/s41586-023-05896-x), they use bcftools merge + truvari collapse to do this. I haven't try SURVIVOR before, but it seems SURVIVOR don't consider the insertion sequence when SV merging, so I would suggest not to use SURVIVOR because you already have sequence resolved SVs.
truvari bench is widely used to calculate recall. In my own work, I never include missing genotypes in truth set as its genotype is unknown.


implement snaketool build fixes

per title, implement the recent build fixes documentation that were pushed to snaketool

Hi @beardymcjohnface
Thanks for providing such a cookiecutter! I'm currently playing around with a nextflow workflow I wan to turn into an app using Nektool.
How much of the fixes in Snaketool are lacking in Nektool? Do you have an estimated timeline for fixes, or list the commits in Snaketool, to flag them for others to implement?
Best,


🌐 Add Portuguese translation for docs/pt/docs/tutorial/request-forms-and-files.md

Added translation for pt to docs/pt/docs/tutorial/request-forms-and-files.md.

Great, thanks @batlopes! :cake:
And thanks for the reviews @cassiobotaro, @peidrao, @lsglucas :cookie: :coffee:


Can I use one function to set cipherSuites for TLS1.2 and TLS1.3?

Hi,
From this document https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_cipher_list.html
I should use  SSL_set_cipher_list to set TLS1.2 ciphers and use  SSL_CTX_set_ciphersuites to set for TLS1.3.
I want to know whether there is a function to set ciphers for both TLS1.2 and TLS1.3.
If not, why should we use two function for that?  Because now we must make a function  to use these two kind of ciphers.
Thanks.

I want to know whether there is a function to set ciphers for both TLS1.2 and TLS1.3.

No. In most cases you don't need to set the TLSv1.3 ciphersuites at all. You can just use the defaults. There are only 5 currently supported (of which 3 are in the default group).

If not, why should we use two function for that? Because now we must make a function to use these two kind of ciphers.

Ciphersuites in TLSv1.3 are completely different to TLSv1.2 ciphersuites and are mutually exclusive (TLSv1.2 ciphersuites don't work in TLSv1.3 and vice versa). It was very possible to specify a ciphersuite string using the older ciphersuite functions that would have completely disabled TLSv1.3 ciphersuites by accident. In order to avoid breaking lots of existing deployments we opted to separate these two functions.

Hi

I want to know whether there is a function to set ciphers for both TLS1.2 and TLS1.3.

No. In most cases you don't need to set the TLSv1.3 ciphersuites at all. You can just use the defaults. There are only 5 currently supported (of which 3 are in the default group).

If not, why should we use two function for that? Because now we must make a function to use these two kind of ciphers.

Ciphersuites in TLSv1.3 are completely different to TLSv1.2 ciphersuites and are mutually exclusive (TLSv1.2 ciphersuites don't work in TLSv1.3 and vice versa). It was very possible to specify a ciphersuite string using the older ciphersuite functions that would have completely disabled TLSv1.3 ciphersuites by accident. In order to avoid breaking lots of existing deployments we opted to separate these two functions.

Hi,
Got it.  Thanks a lot.

No. In most cases you don't need to set the TLSv1.3 ciphersuites at all. You can just use the defaults. There are only 5 currently supported (of which 3 are in the default group).

If I set the TLS1.2 cipher suites, these TLSv1.3 cipher suite will be at the front of all cipher suites?
I mean openssl will use TLS1.3 cipher suites first even though I set some tls1.2 cipher suites?

If I set the TLS1.2 cipher suites, these TLSv1.3 cipher suite will be at the front of all cipher suites?
I mean openssl will use TLS1.3 cipher suites first even though I set some tls1.2 cipher suites?

Yes

TLS version negotiation happens before cipher suite selection, so if the client speaks 1.3 then the server will use that.

Resolving as answered.


Modify values for package setup

This PR modifies package-level metadata. Following https://stackoverflow.com/questions/2852283/python-naming-a-module-that-has-a-two-word-name , I decided to go with "bsmetadata" (short for BigScience Metadata) as a package name, but I'm open to any suggestions for alternative names.

By the way, I wonder if we should rename in the code everything that was called metadata by bsmetadata ?

Good point, I think we should. Do you want to take care of this or should I do that?

By the way, I wonder if we should rename in the code everything that was called metadata by bsmetadata ?

Good point, I think we should. Do you want to take care of this or should I do that?

I can handle it if you want, I open an issue :)


Checking Existence of Edge Length Limited Paths

Sir please assign this issue to me

C++

@navjotdadwal Assigned in C++

Sir i have made a PR kindly have a look.


Video Not continue to send when app transitioning out of the background state.

platform :ios, '8.1'
pod 'VideoCore', '~> 0.3.1'
XCode 6.3
OSX Yosemite 10.10.3
when I enter background (incoming call or HOME press)  while broadcasting, APP entered background.
but, APP back to foreground, audio continue to send, video not.
how to fix it?

VideoCore/transforms/Apple/H264Encode.mm, line 136
        VTCompressionSessionEncodeFrame(session, (CVPixelBufferRef)data, pts, dur, frameProps, NULL, &flags);

return OSStatus == 0
but, function vtCallback() is not be called。

I'm also experiencing this issue.  Any update on the status?
What I ended up doing is manually killing the RTMP stream and restarting it when the app enters the foreground.
It would be ideal if the stream didn't have to be killed.
Thanks a ton

Is there any update regarding this issue ?

That's beacuse compression session is invalidated when the host app is backgrounded.
I'm found some explanation in chromium project.There is the link:https://code.google.com/p/chromium/issues/detail?id=477895
Also I'm trying to fix this.When it is finished,I will summit a pull request.


Fix nested groups generate url bug

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fix UrlMatcher::generate() for generation URLs with nested groups.

Thanks!


update to 7.0.2

Updating #71.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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

Hi @matthiasdiener @conda-forge/scotch, what do you think about using the newly introduced cmake builds for version 7 onward (https://www.labri.fr/perso/pelegrin/scotch/)? This should be much less awkward compared to the current build process.

Initial progress was made in https://github.com/conda-forge/scotch-feedstock/pull/70 and 7.0.2 fixed several cmake-related issues, so I think it's worth giving this a shot again.

closed by #70


local stale check for session, pass through on NULL for validate

for #70 and #69
@lawinslow and @aappling-usgs thoughts?

I've got all the POSTs covered now with internal function sbtools_POST, which handles validating the returned content and making sure user is authenticated.

this is a weird one: https://travis-ci.org/USGS-R/sbtools/builds/66544990#L2595

Ha, interesting. My bet is that's due to httr automatically trying to parse the return value. Normally, it's JSON, but on error, it gets HTML. That's my theory anyway.

yeah, looks like httr imports jsonlite, but only suggests XML

#73 covered here for the sbtools_ GET/POST functions

@aappling-usgs go ahead and push in your fixes now.


Symbolic links are no longer traversed when loading fonts

Description
When loading system fonts using fontdb, symbolic links are no longer traversed. This leads to not finding all installed system fonts when using the typst compiler.
https://github.com/typst/typst/commit/8f7ba8d4958184366180efeb00ecfe8835c69b11 bumped fontdb to v0.18. With version v0.17 (see CHANGELOG) fontdb merged https://github.com/RazrFalcon/fontdb/pull/65, which in turn changed the behavior of loading system fonts behind symlinks. Prior to v0.17 symlinks where also traversed and searched when loading system fonts, with v0.17 this behavior changed as entry.file_type() does not traverse symlinks.
fontdb seems to be working on a fix and properly traversing symlinks: https://github.com/RazrFalcon/fontdb/pull/68, but this is not yet merged.
Maybe typst can revert back to v0.16 to also include symlinks when searching for system fonts, or should at least bump fontdb to the newest release as soon as https://github.com/RazrFalcon/fontdb/pull/68 is merged.
This can be reproduced by having symlinks to additional fonts in e.g. /usr/share/fonts/, and listing the available fonts with typst fonts. Using fontdb on v0.16 the symlinked fonts are listed, using v0.17 they are not.
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Reverting is not really an option because that version of fontdb is also used in another dependencies (e.g. resvg) which needs to be in sync. So I guess we'll have to wait for the next update.

@schmidma Thank you very much for your investigation. This seems to match the issues some Nix users were having on Discord. Let's wait for this update.

I attempted to open a PR for this, but looks like we're waiting on: https://github.com/RazrFalcon/resvg/issues/800

youhou ! Going to test that tonight :)


SQL_DEBUG=LAYER_SQL:EXECUTE_SQL no longer prints to terminal

Hi there,
SQL_DEBUG=LAYER_SQL:EXECUTE_SQL is a fantastic tool for debugging by determining what the problem with the thing I'm doing is, as every time I hit a tile, I come up with a lovely visual indicator such as this:

But starting with the Tegola 7 release, this is no longer something that I can see? Is this intended (and needs to be stripped from the docs), or is it a bug?
Keep up the good work!

@brianbancroft that env var was named to TEGOLA_SQL_DEBUG in v0.7.0. We're prefixing all the tegola specific env vars with TEGOLA_ now to avoid potential conflicts with other env vars.

Cool beans. Closing as this isn't an issue, then!


Vim friendly mode breaks "skip commit during rebase" shortcut

The shortcut [k] skip commit during rebase is not usable in vim friendly mode, since k is already used as the "up" shortcut.

Can you suggest a remedy?  We could remap the command to a different key, or we could suggest users add a second key-binding if they're Vintageous users.

Can we remap skip to uppercase k (K) ?
On Thu, Sep 29, 2016, 20:22 Dale Bustad<EMAIL_ADDRESS>wrote:

Can you suggest a remedy? We could remap the command to a different key,
or we could suggest users add a second key-binding if they're Vintageous
users.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/divmain/GitSavvy/issues/507#issuecomment-250549555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATn8P1yQvQvRfu_sFPLX_mH8bIQKdmJks5qvAHXgaJpZM4KKH_r
.

Only for skip commit during rebase? is there any other shortcuts we should make vim friendly?

I push one commit on master can you check that it works?

I think just conflicting keys with j/k have caused me trouble.  I can
recall nothing else at the moment
On Thu, Oct 20, 2016, 10:42 Simon<EMAIL_ADDRESS>wrote:

Reopened #507 https://github.com/divmain/GitSavvy/issues/507.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/divmain/GitSavvy/issues/507#event-830241557, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATn8OBHDGQZzrfLBmtmHvc-F1oybirdks5q1ylpgaJpZM4KKH_r
.

Can you check if it works with uppercase k (K)?

Thanks @stoivo ! Uppercase K works great.


acquisition: order create and update

Before merging there are a couple of things that need to be addressed.

[x] The way we fetch pre-saved data when using the ESSselector.
[x] Add the budget code.
[ ] When a date is required the asterisk doesn't show up on the date label.( #665 )
vocabulary for the currencies
custom price field for all price entries
order create and edit form
DateInput handling
requires #646
closes #647

FYI, you might need this PR for nested fields errors.

Not sure I understand the problem with Date and * for mandatory fields: the react calendar component should not care much about this because you might want to mark the required field with a * or e.g. with (required).
You can change our DatePicker component and add a required prop. When true, it adds a * to label. WDYT?
BTW, I see that we use label prop here (and other date picker cmps), but cannot find in the the calendar component doc. Can you please check?

From a quick test, Patron is not saved when adding a new order line.


Docker breaks autofs directory in V1.5, used to work in V1.3.3

Today I tried to install and start Docker 1.5. It works at the beginning. Then after about 1 hour, I cannot access autofs directories on the host any more. Get error "Too many levels of symbolic links.". And I cannot do unlink and relink autofs directories for some reason. So no way out now.
$ cd /usr/local/packages/
/usr/local/packages/: Too many levels of symbolic links.
Anyone get similar issue?
And I used Docker version 1.3.3 for several months. It works perfectly. So any change after 1.3.3 may causing this issue?
BTW, I cannot find a older version Docker rpm. If you have one, please let me know. Thanks.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

@christina57 could you provide the information that's requested above, and if possible a way to reproduce? The current version is docker 1.6.2, so it might be worth checking if the issue is resolved on that release as well

I am running into exactly the same issue when using Docker 1.6.2

Me too:
kernel: 3.8.13-16.2.1.el6uek.x86_64
docker: 1.6.2
Restarting the docker daemon seems to temporarily resolve the issue (as does a reboot of course).

This is because of an unshare in the init script that starts docker.
Not sure why it is there.
Change the line
"$unshare" -m -- $exec -d $other_args &>> $logfile &
to
$exec -d $other_args &>> $logfile &

@garthy I see that was changed in https://github.com/docker/docker/pull/10225
@vbatts are you able to have a look here? It looks like you needed to add that comment to the script after all (https://github.com/docker/docker/pull/10225#issuecomment-70735962) :wink:

Using unshare means docker can't access any FS mounted after docker starts.

This thread is describes why it happens
http://lists.wpkg.org/pipermail/autofs/2014-March/000454.html

i see how that is the case, though there are reasons needing the daemon's mount namespace to be unshared. for your usecase, you could just update the init script to not unshare.

@christina57 I'm going to close this issue because this was changed on purpose (as can be read in https://github.com/docker/docker/pull/10225) and helped solved many cases where the old behavior caused problems.
To revert to the old behavior, you can change the init scripts (as suggested), which should get you what you want.
I'm sorry for the inconvenience this has caused you, but, given that this (to my knowledge) is the first time this was reported, this is really a corner case.
Thanks for reporting this, it's much appreciated. If you encounter other issues when working with Docker, don't hesitate to report them!

I'm not sure this is a really corner case and it's not fixed so why close?
It's was actually quite hard to track the symptoms down to docker involving cloning of processes with CLONEFS.
The work around just brings back other broken behaviour.
It causes two issues.

It breaks Volumes mounted by AutoFS when docker starts.
It also stops being able to mount any volume mounted after docker starts.

These are two behaviours that have been introduced to work around another issue with mount name spaces.
A fix would be for docker to not use unshare but spawn a small helper that does use CLONEFS which then pivot_root to a private root to drop all mount points. This small helper process that could do mount and launch of processes not polluting the global namespaces while not holding onto mounts from the global namespace it doesn't care about.

@garthy the reason I think this can be closed, is that the original issue describes "used to work in V1.3.3", and the discussion above explains how the old behavior can be restored by changing the init-scripts and reverting the changes in https://github.com/docker/docker/pull/10225.
However, based on your comment, it looks like you have given this some thought already and have ideas how the current situation can be improved.
Would you be interested in rewriting your comment above into a "proposal"? That way it can be discussed separately and we can see if there's interest in making that change.

@rhvgoyal are you in brainstorming a feature to push the mount namespace all the way to docker run ... ?

I don't suppose there's a workaround for Debian / Ubuntu? The unshare in the init script relates to the sysvinit-redhat init script. As far as I can tell, the sysvinit-debian init script doesn't contain an unshare;  just a call to start-stop-daemon, which seems to invoke an executable.
Alternatively, is there a more docker-friendly mechanism for connecting to remote Windows shares?

Have not gone through the whole thread but I think with volume propagation patches in 1.10, it should be possible to access autofs mounts inside container. Say autofs volumes are under /mnt. Then following should work.

Make sure source mount dir is shared.
$ mount --make-shared /mnt

Launch container with slave volume

$ docker run -ti -v /mnt:/volumes:slave fedora bash
Now when container steps into /volumes/foo then /mnt/foo should get mounted and be visible inside container.


refactor: remove this in selection

[x] fixed https://github.com/antvis/G2/issues/4587

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

38 of 38 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 88.76%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
9787

Relevant Lines:
10682

💛  - Coveralls


Suppress Wormhole devices from table of resettable devices on Arm

For now query tt-tools-common's system_compatibility() dictionary.
Resolves issue #43.

See also tenstorrent/tt-tools-common#6 with suggestion of a better reusable API.


Update for 2022

Currently the website seems to only be showing publications up to 2019. How can we get this updated for more recent years?

Hi @SethPoulsen
The current website includes the publications up to 2020 (updated on Jun 2021). You can also check the update summary here: https://github.com/csmetrics/csmetrics.org/blob/master/docs/2021_update_summary/2021_update_report.pdf
We are working on another update with the publication up to 2021. You will see it soon! :)


Add instance names to payloads

With the cfsync, add the instance name from the conf if it exists
Reference: https://discord.com/channels/764440599066574859/764440599621009410/867856711901118525

Cool, can't wait till it's added


User settings reset/lost on upgrade

After the upgrade to 1.10.0 I lost all my user and workspace settings.
The only setting that seems to have survived is my theme.
Here is my new settings.json:
{
  "workbench.colorTheme": "Solarized Light"
}

If I can find/get out of a backup my old one, I'll add it to this issue.

VSCode Version: Code 1.10.0 (49129d126e2c3c5592cfc8a509d872067b69d262, 2017-03-01T15:53:09.975Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

EditorConfig
EditorConfig
0.3.4

vscode-docker
PeterJausovec
0.0.12

git-easy
bibhasdn
1.9.1

jshint
dbaeumer
0.10.15

vscode-eslint
dbaeumer
1.2.7

githistory
donjayamanne
0.1.5

tslint
eg2
0.8.1

csharp
ms-vscode
1.7.0

jscs
ms-vscode
0.1.9

debugger-for-chrome
msjsdiag
2.5.5

addDocComments
stevencl
0.0.8

code-spell-checker
streetsidesoftware
0.17.2

Steps to Reproduce (speculative):

with my plugins and my original settings
upgrade to 1.10.0

Here is what my settings were before:
// Place your settings in this file to overwrite the default settings
{
	"editor.rulers": [80,	100, 120, 150],
	"editor.tabSize": 2,
	"editor.wrappingColumn": 0,
	"editor.wrappingIndent": "indent",
	"editor.acceptSuggestionOnEnter": false,
	"editor.folding": false,
	"editor.trimAutoWhitespace": false,

	"diffEditor.renderSideBySide": false,

	"files.watcherExclude": {
		"**/.git/objects/**": true,
		"**/bower_components/**": true,
		"**/node_modules/**": true
	},
  "search.exclude": {
		"**/bower_components": true,
		"**/node_modules": true,
		"**/coverage": true,
		"**/typings": true,
		"dist": true
  },

  "jscs.disableIfNoConfig": true,

	"explorer.openEditors.visible": 0,
	"workbench.editor.showTabs": false,
	"window.reopenFolders": "all",

  "terminal.external.osxExec": "iTerm.app",
  "git.confirmSync": false,
  "window.zoomLevel": 0,

  "cSpell.userWords": [
    "semver",
    "SIGINT",
    "SIGHUP",
    "callee",
    "dereferenced",
    "Schemas",
    "nbsp",
    "etag",
    "instantquote",
    "nbind",
    "nodeify",
    "Pageview",
    "npost",
    "yaml",
    "Eventbus",
    "blueoak",
    "preversion"
  ],
  "editor.renderWhitespace": "none",
  "editor.renderControlCharacters": false
}

I see that "editor.wrappingColumn" is identified as 'Unknown configuration setting' in 1.10.0

fwiw, I've restored my settings from backup and had to make these changes:

replace the "editor.wrappingColumn" line with "editor.wordWrap": "on"
add back the only setting in place after the upgrade, i.e. "workbench.colorTheme": "Solarized Light"

Same here, that was a waste of 20 minutes to get it back to normal (no backups).  I'm not sure I remembered everything either.

@seanpk Thanks a lot for sharing the options. That's very useful.
I tried to reproduce the issue with the given settings, but wasn't able. The text edits computed where correct and the new setting properly added. So it looks like it doesn't have to do with the actual settings content. Maybe something in the ConfigurationEditingService
@sandy081 Can you help chasing this down?

For what it's worth, had the same experience. My user settings were wiped after the update, with the exception of the UI theme, which was still remembered for some reason. Latest OS X.

@seanpk Were you using any icon theme in 1.9?

@sandy081 no icon theme

I lost my settings too

#21750 pushed to release/1.10

Lost my config too,
considering to abandon vscode studio ...

@stickyhands Very sorry for it.
May I know, how did you loose it ?
Is it during an upgrade ? If so, from which version you are upgrading?

I've just spent over an hour configuring my settings including ~10 custom Vim shortcuts. Then a popup showed up saying VSCode had to restart because of some functionality (update perhaps? can't remember exactly, no idea what version I had before it)
Then BAM, all my settings are gone...
I was really considering switching from Atom to VSCode.

feels like vs code still has this problem. I have recently lost my settings for the second time. That's very annoying even with a backup. First time it was caused by an update, second time not sure what caused it...

Please file a new issue with details on how it happened.

Why don't you just make it so that the configuration file cannot be overwritten by empty content?!


Prepare design mockups.

Application should have consistent design. So we should have general plan with elements placement for every window in the app and appearance for every used control.

Application design will based on the SCD 3.0 design template, which you can find [here].(https://www.figma.com/file/bkFYccSSTRebuoTxmtkEgm/Simple-Clear-Design-3.0?node-id=0%3A1)

Application design you can find here.

I think, first version of mockups is completed, and we can start implementation.

@KudriavtsevAndrii please look at my current window implementation.

Could you provide svg or ico icon for our application?
What about icons for window buttons? Currently I'm using pathes found in internet. Are there will be some custom icons?
Will we provide some special styles (pressed, hover, etc) for window buttons?
We could create Brushes.xaml and TextStyle.xaml for General application settings. What do you think?

1, 2 I just added needed icons to the docs/Icons folder on develop branch. (all icons in svg)
3. I added new information about "reactions" on hover and on press , with colors, time intervals and so on. You can find it on template.
4. Yes it will be nice, I will prepare all needed information tomorrow morning.

Extension of design mocups will be performed in scope of v0.2.


Subclassing ValueType with custom constructor crashes with internal CLR error

Steps to reproduce
# Parameterless constructor isn't the best example since you can't
# do that in C# either, but it also repros with parameters.
class Test : ValueType {
    Test() { }
}

[Test]::new()

Expected behavior
Either

Parse error when ValueType is the base class
Special handling for value types when generating constructors. I'm guessing this has to do with $this needing to be explicitly boxed, but I haven't looked into it

Actual behavior
Internal CLR error. (0x80131506)
   at DynamicClass.Test(System.Runtime.CompilerServices.Closure, System.Management.Automation.Language.FunctionContext)
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(System.Management.Automation.ScriptBlockClauseToInvoke, Boolean, System.Collections.Generic.Dictionary`2<System.String,System.Management.Automation.ScriptBlock>, System.Collections.Generic.List`1<System.Management.Automation.PSVariable>, ErrorHandlingBehavior, System.Object, System.Object, System.Object, System.Management.Automation.Internal.Pipe, System.Management.Automation.InvocationInfo, System.Object[])
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean, ErrorHandlingBehavior, System.Object, System.Object, System.Object, System.Management.Automation.Internal.Pipe, System.Management.Automation.InvocationInfo, Boolean, System.Collections.Generic.List`1<System.Management.Automation.PSVariable>, System.Collections.Generic.Dictionary`2<System.String,System.Management.Automation.ScriptBlock>, System.Object[])
   at System.Management.Automation.ScriptBlock.InvokeAsMemberFunction(System.Object, System.Object[])
   at System.Management.Automation.Internal.ScriptBlockMemberMethodWrapper.InvokeHelper(System.Object, System.Object, System.Object[])
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean, Boolean, Boolean)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, Boolean)
   at System.Activator.CreateInstance(System.Type, Boolean, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at System.Management.Automation.Interpreter.InitializeLocalInstruction+MutableValue.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.Interpreter.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon)

The above stack trace minus the first two lines repeats for about 5,000 lines before PowerShell crashes.  Sometimes the stack trace isn't included, and it's just the first line.
Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0-preview.2
PSEdition                      Core
GitCommitId                    7.0.0-preview.2
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Marking for triage so the Engine WG can pick it up.

Engine WG reviewed this issue, and agree the current behavior is less than ideal.
Given no immediate plans exist to introduce support for emitting value types, we should actively prevent System.ValueType from being used as a base class and instead emit a more helpful error at parse-time ("Subclassing ValueType is not supported" or similar).

This issue should be labeled Keep-Open and possibly also Up-for-Grabs


Can't connect to MCX8000

No matter what I've tried, I can't get it to connect to an MCX8000 controller.
Keep getting this error:

MCX8000 is a completely different type of gear (legacy), I  do not think that its running Linux underhood...anyway that's expected to not work as it is not comaptible

This already confused other people before, but yeah, unfortunately the MCX8000 is not compatible.


util/knob should always have 1 as maximum value

In contrast with util/dial, which produces integer values from 0 to 100 by default, util/knob is responsible for floats, so it is much more preferred to make it 1 instead of 100 for knobs.
The problem is users who already have util/knob nodes in their networks (are there any yet?). If they use v2.1 from the repository (why, isn't in the development?)........ I should publish 2.0.0 to NPM for sure, so 2.1.0 will have API changes.
Currently, this works as a hack (could break the way the nodes look after import/export):
Rpd.allNodeTypes['util/knob'].inlets['max'].default = 1;

Actually, for the sake of semantic versioning, major version should be raised in this case since it changes the API of util/knob and could break import/export. But is util toolkit part of the API? core, for sure... Yes, I think, util Toolkit is also the part of API.


Add Manual Trigger for Gem Release

Add Manual Trigger for Gem Release. The gem release action workflow is failing with error missing tag. The tag is already present. I do not have any other way to cleanly trigger this workflow so adding this PR to manually trigger the gem release.
Add edited to Release event, which means when the release tag in Dependabot Core is edited this action workflow will be triggered as well.

@honeyankit I have an idea of the root cause for this. The actions/checkout action has a fetch-tags option that defaults to false. Maybe that's why the release workflow is not finding tags? I propose to close this PR since you now managed to release and try out that fix for the root cause to see if it works fine next time.

@deivid-rodriguez : Thank you for suggestion. I will close this PR. How did you come to conclusion that fetch-tag was the issue because some of the gems were created successfully with the new tag but then in the end it was failing with error that tag not found?

here

I will open another PR with your purpose fix and see if it works! Thank you.


run_qemu.sh: add a "sleep 2" after (background) losetup -P

2 commits. Main one:
The -P scan is performed in the background. This can be observed with
this simple sequence:
losetup -P...
ls -l /dev/disk/by-loop-ref/ # => not found
sleep 1
ls -l /dev/disk/by-loop-ref/ # => found

Ubuntu 24.04 fixed in #74


Update kind-e2e.yaml

Fix golint

Codecov Report

Merging #425 (16a79ed) into main (7f6471d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   81.83%   81.83%
=======================================
  Files          27       27
  Lines        1382     1382
=======================================
  Hits         1131     1131
  Misses        223      223
  Partials       28       28

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 7f6471d...16a79ed. Read the comment docs.


Make L2 provider return 0 gas price

Description
Geth will start to default to return a non-zero gas price. This tweak makes the L2 provider always return a 0 gas price. A temporary measure until we move to monorepo.

Actually could you add a little more color to the description of the PR so if we come back to it at a future date we have a good idea of the context of why we are making this change?


Update SoftoneBI.md

Correction to last sentence: removed ' or' and replaced with '.'

Hi @basil-rormose , I have fixed this on our side during edit. Closing PR.


Make example config overwrite shop/config.yml

Changed the After so changes in this file will actually overwrite any config settings in the shop/config.yml

Thanks, Thomas!


API Change causes exception

Due to a new element in the API the retrieval of information is not possible anymore
To Reproduce
Can be reproduced with ID.3 vehicles
Expected behavior
No exception to be thrown
Logs
log taken from WeConnect-mqtt:
WARNING:weconnect:/vehicles/AAABBBCCCCDDD11122234: Unknown attribute chargeMode with value {'preferredChargeMode': 'manual'}
ERROR:paho.mqtt.client:Caught exception in on_connect: 'chargeMode'
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
rc = self.loop(timeout, max_packets)
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1181, in loop
rc = self.loop_read(max_packets)
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1572, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2942, in _packet_handle
return self._handle_connack()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3029, in _handle_connack
self.on_connect(
File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt.py", line 350, in on_connect_callback
self.updateWeConnect()
File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt.py", line 282, in updateWeConnect
self.weConnect.update(updateCapabilities=self.updateCapabilities, updatePictures=self.updatePictures)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 403, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 440, in updateVehicles
vehicle = Vehicle(weConnect=self, vin=vin, parent=self.__vehicles, fromDict=vehicleDict,
File "/usr/local/lib/python3.9/site-packages/weconnect/elements.py", line 57, in init
self.update(fromDict, updateCapabilities=updateCapabilities, updatePictures=updatePictures)
File "/usr/local/lib/python3.9/site-packages/weconnect/elements.py", line 155, in update
self.updateStatus(updateCapabilities=updateCapabilities, force=force)
File "/usr/local/lib/python3.9/site-packages/weconnect/elements.py", line 247, in updateStatus
self.statuses[status] = keyClassMap[status](vehicle=self, parent=self.statuses, statusId=status,
KeyError: 'chargeMode'

Will try to push a fix as soon as possible

Fixed with 0.12.2


Scores using Different Models(NB, SVM and RF)

Really good work , you used many methods, we are merging this


install: Add PATH-handling information to output

Closes Linuxbrew/brew#3.

Still a work in progress!

I prefer the clarity of being explicit though (for the web site):
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH' >>~/.bash_profile
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH' >>~/.zshrc

and there's no harm in running both.

:+1: Nice work. Thanks, Bob!


Many Untitled and undefined identifiers in rendered documentation

I found this in the schemars documentation. It could resolve the untitled issue maybe : https://graham.cool/schemars/examples/6-doc_comments/#setting-a-custom-title-andor-description-using-doc-comments


Update the application for the Los Angeles finals

This PR:

Add the skin manager and the dependency on the haptic glove module (to be tested on iCub ⚠ I have never tried to run the skin manager on icub-head⚠ )

cc @S-Dafarra @RiccardoGrieco

For the time being we can merge this as-is. We can address modifications in future PRs.


Wrong selector starts an infinite loop

First of all, thanks for your work, it save my time :D
Because I custom my form or sometime the structure may change, the default selector
eg> div may fail.
So i add a security to prevent an infinite loop. The user will be prompted in the console, but this is just a proposal.

Thank you @kl3sk! 👍

@ninsuo Welcome

Yes it should be.
I’m on a train right now so cant check but normally i pushed it

Ok still 2.1.25 on npmjs as now.
let's wait for it ;)

Should be good now 🤓
Have a great weekend!


Add vote validation space settings

We need a way to add voting validation in the space settings, similar than proposal validation. The validation will have a name and params similar than proposal validation or voting strategy, and should be stored as "voteValidation" param in the space settings, here is the format: https://github.com/snapshot-labs/snapshot.js/blob/master/src/schemas/space.json#L181

Marking this as complete ✅


Forms: Consistent action copy

Review forms and form headers to ensure consistent wording.
Add vs. Create, etc

will be addressed in #901


[Event Request] page 54 "Purchase Order Subform" - OnDeltaUpdateTotalsOnBeforePurchaseDeltaUpdateTotals

Can we please get the following event, that includes the sender?
procedure DeltaUpdateTotals()
begin
    if SuppressTotals then
        exit;

    //+EVENT
    OnDeltaUpdateTotalsOnBeforePurchaseDeltaUpdateTotals(Rec, xRec);
    //-EVENT
    DocumentTotals.PurchaseDeltaUpdateTotals(Rec, xRec, TotalPurchaseLine, VATAmount, InvoiceDiscountAmount, InvoiceDiscountPct);
    CheckSendLineInvoiceDiscountResetNotification();
end;

[IntegrationEvent(true, false)]
local procedure OnDeltaUpdateTotalsOnBeforePurchaseDeltaUpdateTotals(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line")
begin
end;

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


Profile page Logout ui issue

Bug:
In profile.dart , Ui render issue in profile.dart . Also, logout button is not working to pop out back to Login Page.
hint:
Fix the Ui of the profile tile to contain the context in it properly.

This issue if fixed and UI is also updated ,
Closing this issue as completed


Consider a Dual Native-Token Model?

I wanted to float the idea of using two native Sui coins, similar to how xDai (now Gnosis-chain) works:

Sui-resource coin: represents a fractional ownership of Sui’s total capacity. This is used to pay for transaction fees and storage. Could possibly be a stablecoin, like dollars.
Sui-ownership coin: this token is used to stake, representing control of the network. Supply of this is constant and does not increase or decrease. The sui-resource coins used in transactions are paid to ownership holders.

If the resource coin is a stablecoin, we could say 1 coin = $1 USD (permanently). Then the cost of the network varies through time, i.e., some days 1 coin = 1,000 transactions, but under heavy usage 1 coin = only 100 transactions. Some days 100 KBs of storage = 1 coin, but other days 100 KBs of storage = 10 coins. In this case, resource coins have no max supply, and can be bought at a fixed $ dollar amount; the coins are burned after use. The dollars spent purchasing coin are given to the ownership-coins, probably as a dividend (to pay coin holders and reward validators).
If the resource coin is not a stablecoin, and its price is allowed to vary, it should be locked to some other resource, i.e., 1 resource coin = 100 KBs of storage, or 10 resource coins = 1 full block of transactions (buys you max gas per block).
The Sui-ownership coins represent ownership and control of the network. If there are 1,000 resource coins consumed in a day by transactions, totally $1,000 USD, then those are divided up and given proportionally to the ownership-holders.
Resource-coins could be thought of as a currency (dollars) used to buy a company’s services, while Ownership-coins could be thought of as equity (shares) in that company.
The point is that we want the resource-coin to go DOWN in value as a result of efficient usage of validator machines, making the network cheaper to use. While we want the ownership-coin to go UP in value as a result of the network's high-usage generating lots of fees for the validators, making the network more secure (in the sense that it's harder to buy 2/3rds of a token's total float if it's a more expensive token).
I can’t think of any downside to this model, other than the SEC being more likely to raise a stink because the ownership-coins look more like a security now.

This is an interesting idea, thank you for sharing!
To be transparent, we are committed to our current tokenomics on a variety of fronts, so an idea like this isn't something we can consider at this point. But could be interesting to try in a tokenized project built on top of Sui

I figured as much; just sharing ideas haha. Thanks.


please provide tagged version for metaphlan2-2.96.1

I have to rebuild metaphlan2-2.96.1 that I previously grabbed from bitbucket,
https://bitbucket.org/biobakery/metaphlan2/get/2.96.1.tar.gz
this specific version is not available on github releases, nor tagged.
please provide a way to re-install this specific version
regards
Eric

Hi Eric,
MetaPhlAn2 2.96.1 is what is now MetaPhlAn 3, we opted for a change of version since the edits were quite a lot for a minor version. The same algorithm and options present in v2.96.1 are present in v3, with some updates in the database retrieval from a different source.
If you are still interested in using 2.96.1 version, this commit 9365461a17cb6355ae4d7102b2d7abdc73de81f9 was used to tag the software

thanks.
I will be abble to re-install version 2.96.1 as per request (need to re-run some computations using the exact same version) and I will alos provide latest version 3
regards
Eric


fix: pass caller to babel within rollup plugin

Fixes #402
There has been reports of the Rollup Plugin not playing well with babel-env. A fix was suggested in the issue above which is what this PR implements.
Still trying to reproduce the bug, but putting up this PR in the meantime for review.

I can't reproduce the issue, but the change doesn't cause any regression either.


PP-486 Update page titles

- Update titles for two step pages.
'Set up payment' and 'Proceed to payment'

:+1:


⚠ Samsung has degraded performance

In 2b46477, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2629 ms

Resolved: Samsung performance has improved in 9ac5185.


[LUIS Action Binding] Fixing typos found on C# & NodeJs shared introduction

@maurok,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@pcostantini can you look at the FindHotel change?

@pcostantini should we merge this PR as it is?

Hi @msft-shahins ,
Yes, maurok is part of our team. We already reviewed the PR internally before he submitted it.
Regards,
-pc


The default size limit of grpc is too small after using batch grpc

https://github.com/tikv/tikv/blob/64741a1f1e5259a372bca51b70f4e41b3d2fd34c/src/server/raft_client.rs#L27
The send size is limited to 10MiB. It's a reasonable value in the past as we limit the size of a single entry to 8MiB and the a raft message to 1MiB. Hence a raft message can't be larger than 8MiB. But since using batch gRPC, several messages are merged into one, the total size in a round of call can reach 10 * 8 = 80MiB and exceed the limit. You can find gRPC connection is reset very frequently when there are a lot of batch write requests.
[2020/02/27 23:59:34.164 +08:00] [WARN] [raft_client.rs:118] ["batch_raft RPC finished fail"] [err=RemoteStopped]
[2020/02/27 23:59:34.164 +08:00] [WARN] [raft_client.rs:132] ["batch_raft/raft RPC finally fail"] [err=RemoteStopped] [to_addr=<IP_ADDRESS>:15011]
[2020/02/27 23:59:34.414 +08:00] [WARN] [raft_client.rs:207] ["send to <IP_ADDRESS>:15011 fail, the gRPC connection could be broken"]
[2020/02/27 23:59:34.414 +08:00] [ERROR] [transport.rs:318] ["send raft msg err"] [err="Other(\"[src/server/raft_client.rs:216]: RaftClient send fail\")"]
[2020/02/27 23:59:34.566 +08:00] [INFO] [transport.rs:299] ["resolve store address ok"] [addr=<IP_ADDRESS>:15011] [store_id=1]
[2020/02/27 23:59:34.566 +08:00] [INFO] [raft_client.rs:50] ["server: new connection with tikv endpoint"] [addr=<IP_ADDRESS>:15011]
[2020/02/27 23:59:34.568 +08:00] [INFO] [subchannel.cc:841] ["New connected subchannel at 0x7f1c76800bc0 for subchannel 0x7f1cbde29800"]
[2020/02/27 23:59:38.273 +08:00] [WARN] [raft_client.rs:118] ["batch_raft RPC finished fail"] [err=RemoteStopped]
[2020/02/27 23:59:38.273 +08:00] [WARN] [raft_client.rs:132] ["batch_raft/raft RPC finally fail"] [err=RemoteStopped] [to_addr=<IP_ADDRESS>:15011]
[2020/02/27 23:59:38.416 +08:00] [WARN] [raft_client.rs:207] ["send to <IP_ADDRESS>:15011 fail, the gRPC connection could be broken"]
[2020/02/27 23:59:38.416 +08:00] [ERROR] [transport.rs:318] ["send raft msg err"] [err="Other(\"[src/server/raft_client.rs:216]: RaftClient send fail\")"]
[2020/02/27 23:59:38.568 +08:00] [INFO] [transport.rs:299] ["resolve store address ok"] [addr=<IP_ADDRESS>:15011] [store_id=1]
[2020/02/27 23:59:38.568 +08:00] [INFO] [raft_client.rs:50] ["server: new connection with tikv endpoint"] [addr=<IP_ADDRESS>:15011]
[2020/02/27 23:59:38.570 +08:00] [INFO] [subchannel.cc:841] ["New connected subchannel at 0x7f1c2ef26830 for subchannel 0x7f1cbde29400"]

Or maybe we should also consider message size during batch. Batching up large messages are unnecessary.


filebrowserImageUploadUrl not being set

ckeditor_uploader should set filebrowserImageUploadUrl in the widget config.
Currently we need to add it to CKEDITOR_CONFIGS or to the ckeditor config.js

the related problem  is that is  quite inconvenient that django filebrowser ( https://github.com/smacker/django-filebrowser-no-grappelli )  and django ckeditor have different conventions  where to place thumbnails. django filebrowser puts them into VERSIONS_BASEDIR location, while django ckeditor has no comparable setting - thus when using both packages ( django filebrowser and django-ckeditor ) two sets of thumbnails might be generated

The code is currently setting filebrowserUploadUrl and CKEditor says that if filebrowserImageUploadUrl is not set that it reverts to using filebrowserUploadUrl.  I don't think this is an issue any more.


Added the Full Control InOrbit fleet adapter of the list

From InOrbit, we worked on a full control fleet adapter to integrate Open-RMF with our platform. It is now ready and we want to share it with the community.
The adapter resides in the inorbit/ros_amr_interop repo.

thanks for writing this!


.net core 1.1 Performance issue with Load: Azure PAAS

I have hosted my api on Azure with Web app S1 to S3 plan.
API taking a long time to respond. This issue will get when I have tried to run load test script with multiple users.
Any setting Should we consider for multiple users or when load increase for 1.1
http://weblogs.thinktecture.com/pawel/2017/03/aspnet-core-webapi-performance.html
like
Kestrel ThreadPool
Or
  <system.net>
    <connectionManagement>
      <add address="*" maxconnection="1000" />
    </connectionManagement>
  </system.net>

@Eilon

@chintan3100 That's hard to know without more data. Are you talking about the time to communicate with an external api via HTTP? Or the time it takes your API itself to respond. Do you have any more specific data (Have you tried using application insights to measure?).

Thanks @davidfowl
Yes I am using application insights.  The Same API will take 2-3 second to response and some time it takes 30second - 60 seconds.
Some API communicate with blob storage for upload and download file.
Upload file: we are using IFormFile file to get file.
Download file: we are using FileResult
Note: All API and DB Operation are async. FIle upload, download Async, We created an index on DB.

@davidfowl @eilon @Petermarcu
Can you please look for this issue

@chintan3100 can you share more info about the logs and data you've collected? It's nearly impossible to say what's going on without knowing where the time is spent. If you turn on detailed logging and/or Application Insights, hopefully you can at least see what part of the request is taking so long. Once you find that out, we can try to figure out why the slow part of the request is being slow.

@chintan3100 since we haven't heard from you in over 30 days, I'm going to close this issue. If you still need help I think the best thing to do would be to open an issue with more of the details @Eilon asked for on the http://github.com/aspnet/home repo.

Sorry for delay.
Issue with Azure logging/.net core logging feature.  when we enable logging to blob storage after 20 min we got out of memory error at string builder.


feat: remove non-existing source directory log

https://github.com/longhorn/longhorn/issues/3786

@mergify backport v1.5.x v1.4.x


fix: add<EMAIL_ADDRESS>

The current 1.0.0-beta.11-webpack.9 doesn't include<EMAIL_ADDRESS>causing an error when running ng commands

Receiving the following error after fresh install of 1.0.0-beta.11-webpack.9 and running any 'ng' command.
Cannot find module '@angular-cli/base-href-webpack'
Error: Cannot find module '@angular-cli/base-href-webpack'

Already in master.

was just about to close, fixed with https://github.com/angular/angular-cli/pull/2093 thx.

This needs to be re-opened, this was applied to packages/angular-cli/package.json but not the root project package.json

That actually doesn't matter. The npm published one is the one in packages. The root one shouldn't install dependencies on its own packages...

@hansl,
I did the following an tried again, but the problem persists:
sudo npm uninstall -g  angular-cli
npm cache clean
sudo npm -g install<EMAIL_ADDRESS>Once the installation had completed, I tried this:
ng --version
But I got this error:
Cannot find module '@angular-cli/base-href-webpack'
Error: Cannot find module '@angular-cli/base-href-webpack'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
Perhaps I'm doing something wrong, if that the case please let me know.
Thanks

You probably have a bad node_modules somewhere. People have been complaining about it, but we cannot find the source of the mistake.  Try running npm bin

@hansl, thanks for your message.
Using "npm bin" I was able to find a "stranggler" node_modules folder in my root folder and deleted it. I re-install the cli and this time it worked! Perhaps I created this node_modules by mistake but that seemed had been the real problem.
Btw, I'm on MacOS "El Capitan".
Thanks again.

Yep, for some reason that happens a lot, and we haven't found the root cause of it yet.


Clarify which XSLT versions are supported

There is no mention of the specific version of XSLT supported, and the link provided in the documentation (https://www.w3.org/TR/xslt/) leads to a page which contains all 3 versions, confusing users on the features that may or may not be available.
As the .NET library used by APIM internally only supports XSLT 1.0 (link here), this should be clarified in the policy documentation.
Thanks for your attention.

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

ID: e89bf38f-9669-d26e-fa9b-f486a6ad0e7b
Version Independent ID: c2d41945-ca95-f488-ab03-95c7e3abd6f6
Content: Azure API Management policy reference - xsl-transform
Content Source: articles/api-management/xsl-transform-policy.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@knwldg
Thanks for your feedback! We will investigate and update as appropriate.

Hello @knwldg - I believe the version 1 and 2 are supported. If you're hitting any problems, feel free to post on the MS Q&A channel and we'd be happy to help you there!
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi Mike,
Thanks for looking into this!
I actually submitted this as a follow up to a support case I received where the customer reported XSLT version 2 features did not work.
From there I investigated and found that the .NET libraries that APIM uses only officially support XSLT 1.0 - check out the docs here: https://learn.microsoft.com/en-us/dotnet/api/system.xml.xsl?view=net-7.0
I think it would be valuable to mention that explicitly in the docs to avoid confusion in the future.
Thanks again!
All the best,
Rodrigo
On Tue, Sep 19, 2023 at 03:25, Mike Urnun @.***(mailto:On Tue, Sep 19, 2023 at 03:25, Mike Urnun < wrote:

Hello @.***(https://github.com/knwldg) - I believe the version 1 and 2 are supported. If you're hitting any problems, feel free to post on the MS Q&A channel and we'd be happy to help you there!
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Slice Machine part 3

These were generated from our existing types using @slicemachine/init

These were generated using @slicemachine/init which pulled down what we had and generated the appropriate shape JSON for a Slice Machine project. They are what we'd push to the Prismic staging environment in order to test our Slice Machine work with data that is in the same shape as what we'll ultimately be using


Release 0.46.0

Release checklist:

[x] run integration tests on this branch
[ ] merge this PR
[ ] run integration tests on master
[ ] publish new crates
[ ] tag new releases

Integration tests passed locally for me. I'll merge on green.

Integration tests passed locally for me. I'll merge on green.


Feature request: logging routines

Hi there and thanks for a great tool! I'd like to propose a convenience functions for logging to stdout and stderr. Those would be useful for logging output in situation when regular stdout/stderr get redirected by caller function:
deeply-nested() {
  echo "Write log messages to stdout" | log_info
  echo "Write warnings to stderr" | log_err

  actual-output-top-level-expects
}

# @cmd
top-level() {
  result=$(deeply-nested 2>&1)
  do-something $result
}

Ah, turns out it's as easy as
LOG=/dev/stdout
ERROR=/dev/stderr

deeply-nested() {
  echo "Write log messages to stdout" > LOG
  echo "Write warnings to stderr" > ERROR
}

Maybe just add it to examples.

This seems to work for me:
exec 3>&1
exec 4>&2

log() {
  cat - >&3
}

err() {
  cat - >&4
}

but it depends on nothing else messing with 3 and 4. Named descriptors don't work for some reason:
exec {original_stdout}>&1
exec {original_stderr}>&2

log() {
  cat - >&${original_stdout}
}

err() {
  cat - >&${original_stderr}
}

Did I mess something?

The logs should be handled by the shell script itself.
your solution is great.


deCONZ users

Hello!
I would like to apologise for this issue, but I really cannot find a way to get the users ID out of my deCONZ. Can you help me please?
Last thing, I would like to have in the HomeKit app all the lights+accessories connected to deCONZ no matter the brand (Tradfri or Hue or else). Such a script should be fine?
     {
  "platform": "Hue",
  "host": "<IP_ADDRESS>",
  "users": {
            "00212EFFFFxxxxxx": "xxxxxxxxxx"
  },
            "sensors": true,
            "lights": true,
            "nativeHomeKitLights":false,
            "nativeHomeKitSensors":false
    }

Note: I have both home bridge and deCONZ running on the same raspi
Thanks for the help!

I got this message, trying to run homebridge after having installed the plugin:
[2019-10-7 12:59:29] ERROR LOADING PLUGIN homebridge-hue:
[2019-10-7 12:59:29] /usr/local/lib/node_modules/homebridge-hue/node_modules/ws/lib/websocket.js:347
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-hue/node_modules/ws/index.js:3:19)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:19:19)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
[2019-10-7 12:59:29] ====================
..............
[2019-10-7 12:59:50] Error: The requested platform 'Hue' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

I really cannot find a way to get the users ID out of my deCONZ

On the first startup, homebridge-hue will prompt you (in the log) to unlock the gateway (might actually not be needed if deCONZ and homebridge run on the same server).  It will then create a username and a message in the log what you need to put in config.json.

Such a script should be fine?

The NativeHomeKit... settings are needed only for a gen-2 Hue bridge.  Setting "sensors" and "lights" to true should be enough.  You might want to filter out some CLIP sensors, depending on what app(s) you use to create deCONZ rules.

[2019-10-7 12:59:29] /usr/local/lib/node_modules/homebridge-hue/node_modules/ws/lib/websocket.js:347
...options
^^^
SyntaxError: Unexpected token ...

I have no idea why this is happening here.  NodeJS seems to fail loading the ws module that homebridge-hue uses as a dependency.  What versions of node and npm are you on?  Are you sure you only have one installation of node?  Did you install homebridge and homebridge-hue in the same way (sudo npm -g i ...)?

Hi @ebaauw, thanks! So I managed to update my node (version 8 to version 10), because I kept trying via ws but nothing, now I have it decently made.
For the ID, I put inside the user and password of my deCONZ gateway might it be fine?
For the son, I will modify it right away.
For the error, I noticed I have two npm but just one node, which kept failing updating. I am running homebridge right now, but I have a problem with a plugin that doesn't support node version higher than 10, amazing.

I will cancel everything and get a clean install of home bridge again, I am getting crazy. I will let you know, many thanks!

Hello! So I installed back everything, ffmpeg was a pain on h264 lib. So now everything works, but I get a connectionError from HUE (due to the IDs?). Thanks!

Unlock the gateway through the Phoscon or old web app, see https://github.com/ebaauw/homebridge-hue#installation

ok so I did that looking at another post that helped me. Now I have an issue in Homekit, the two accessories that start by themselves, so Daylight and Gateway, are shown as "incompatible".
In the Homebridge log I get this:
"[Hue] Gateway: /sensors/1: warning: Daylight sensor not configured
[10/10/2019, 11:58:32 AM] [Hue] Gateway: error: /sensors/1: {"config":{"configured":false,"on":true,"sunriseoffset":30,"sunsetoffset":-30,"reachable":false},"etag":null,"manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":true,"daylight":null,"lastupdated":"none","status":null,"lightlevel":0},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:04:13:7e-01"}
TypeError: Cannot read property 'period' of undefined
at HueSensor.checkStatus (/usr/local/lib/node_modules/homebridge-hue/lib/HueSensor.js:1898:48)
at new HueSensor (/usr/local/lib/node_modules/homebridge-hue/lib/HueSensor.js:1396:12)
at HueAccessory.exposeSensorResource (/usr/local/lib/node_modules/homebridge-hue/lib/HueAccessory.js:297:20)
at HueAccessory.exposeSensorResources (/usr/local/lib/node_modules/homebridge-hue/lib/HueAccessory.js:287:12)
at HueAccessory.expose (/usr/local/lib/node_modules/homebridge-hue/lib/HueAccessory.js:123:8)
at HueBridge.exposeResources (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:515:49)
at getConfig.then.then.then.then (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:91:19)
at Function.then (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/_ext.js:65:13)
at Deferred._settle (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:93:26)
at Deferred.resolve (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:138:15)
at request.then (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:305:11)
at Function.then (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/_ext.js:65:13)
at Deferred._settle (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:93:26)
at Deferred.resolve (/usr/local/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:138:15)
at Request.request [as _callback] (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1042:14)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-hue/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request. (/usr/local/lib/node_modules/homebridge-hue/node_modules/request/request.js:1161:10)
at Request.emit (events.js:198:13)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-hue/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:286:20)
at IncomingMessage.emit (events.js:203:15)"
Further, I get the working to use the latest Deconz gateway version, but on my raspbee the newest version is already installed

The gateway accessory is needed by homebridge-hue.  You can change the heartrate and set transition time using a decent HomeKit app (like Eve).
You can prevent the Daylight sensor from being exposed using excludeSensorTypes, see https://github.com/ebaauw/homebridge-hue/wiki/Configuration.  If you expose it, it needs to be configured, by setting config.lat and config.long through the API.  Normally Phoscon would do this automatically.  Normally it’s exposed as a light sensor and supported by Apple’s Home app, but because of the TypeError it isn’t.  Looks like homebridge-hue isn’t handling the unconfigured sensor correctly...
What deCONZ version do you have installed and what version does homebridge-hue want?  What machine are you running deCONZ on?

Hi so I just successfully paired an IKEA switch to my Deconz, via the phoscon app, but it doesn’t appear on my HomeKit. The deCONZ gateway runs the latest rpi version, and on HomeKit it is stated “not supported” under the bridge icon. Might this help for the resolution of the problem? Thanks!

Did you restart homebridge after pairing the switch?  Note that you need a Home hub for the switch to work in HomeKit.

I got it working but I forgot to answer. I restarted homebridge and everything is fine now! For the lights, I have two of them but I cannot pair them, probably because I am trying to do the pairing when my bridge is in the living room and the light in the bedroom.  Should they be close (light+bulb)
Kind regards,
Giovanni
On 13 Oct 2019, 20:37 +0200, Erik Baauw<EMAIL_ADDRESS>wrote:

Did you restart homebridge after pairing the switch? Note that you need a Home hub for the switch to work in HomeKit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Regular pairing should work within 10m line-of-sight to the nearest router, but ceilings, walls, or metal luminairies might limit the reachability.  Make sure to reset the lights, open the network, and then power cycle the lights.

perfect! Thanks!


fix: storage hashing stage gets stuck in a loop on big contracts

Motivation
As it was before, if the number of slots of a contract was bigger than commit_threshold, the stage would get stuck.

The walker takes commit_threshold.
let next_key = storage.next()?; would give out the same key, since there's still more to go through
A new cursor and new walker would be initiated with the same key, but it would start from the beginning again. Back to 1. and so on.

Solution
Save the cursor position on the last element, and set it for the next iteration.
Did a small refactor w/ address caching.

Codecov Report

Merging #1362 (37a0fc8) into main (32a1966) will decrease coverage by 56.07%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1362       +/-   ##
===========================================
- Coverage   76.33%   20.27%   -56.07%
===========================================
  Files         354      354
  Lines       39417    39443       +26
===========================================
- Hits        30090     7998    -22092
- Misses       9327    31445    +22118

Flag
Coverage Δ

integration-tests
20.27% <0.00%> (-2.66%)
:arrow_down:

unit-tests
?

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

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

modified the existing test to cover it. cherry-picking it to main made it hang on that test as expected


Official fs overlay

With the addition of PRs like https://github.com/nodejs/node/pull/48658 or https://github.com/nodejs/node/pull/49593 virtual filesystem overlays are in an uncomfortable position where Node both doesn't respect anymore its own APIs (ie fs). We currently workaround that by patching some primitives from process.binding('fs'), but this is untenable, even at short term (https://github.com/nodejs/node/pull/50687).
We often heard that "one of our goals is to allow mocking of modules, including of builtins; but only via loaders". That's fine to me, but given the recent acceleration of PRs aiming to shortcut fs it suggests now is the time to start discussing in details what such an overlay would look like that would satisfy everyone.

How should we start the discussion? Depending on what we are talking about, this might interest the @nodejs/fs team, and people working on the permissions model.
Maybe we should try define first where this overlay would be placed?
There are several layers, currently:

Native OS/system calls
libuv
C++ bindings
Internal JS functions
the public fs module

The current way of patching fs lives between "C++ bindings" and "Internal JS functions" layers, but on the JS side. This model worked quite well so far, proving very flexible in the context of JS packages.
As for permissions, I suspect we'd want any hooking API to still live within the limits of whatever permissions were given to the process. We don't want to accidentally open a bypass, and implementing this layer in JS-land would prevent that (my understanding being that permissions are implemented at a lower level?).

This sounds like a nodejs/node issue. We are also looking into it for single executable applications for example https://github.com/nodejs/single-executable/issues/37


Migration to 6.0 - Passing Errors

My another problem with migration to 6.0
StackOverflow's question:
https://stackoverflow.com/questions/49813133/promisekit-6-0-passing-catched-errors-to-caller
And again:
If it is not a good place for this link please delete it or give me an info, I will do it.
Tnx for any advice.

let p = Promise()
p.catch {
    //…
}
return p


Remove Spring dependencies from Identity Server applications

Is your suggestion related to an experience ? Please describe.
Currently, the Identity Server applications have several dependencies on Spring framework components. However, the goal is to decouple these applications from the Spring ecosystem due to the vulnerabilities reported against Spring.

Progress Update

  | Component wise PRs are raised | PRs are merged to feature branch | Address comments on PRs | Revamp the webapps | Testing
-- | -- | -- | -- | -- | --
identity-api-server | Done | In progress | In progress | Pending | Pending |
identity-api-user | Done | In progress | In progress | Pending | Pending |
carbon-identity-framework  | Done | IPending| Pending | Pending | Pending |
identity-governance  | Done | Pending| Pending | Pending | Pending |
identity-local-auth-api | Done | Pending| Pending | Pending | Pending |
identity-local-auth-fido | Done | Pending| Pending | Pending | Pending |
carbon-consent-management  | Done | Pending| Pending | Pending | Pending |
identity-inbount-auth | Done | Pending| Pending | Pending | Pending |
product-is  | Pending | Pending| Pending | Pending | Pending |


Add support for destructuring tuples

Codecov Report

Merging #109 (5fb8bd1) into main (69fa058) will increase coverage by 0.57%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   89.65%   90.22%   +0.57%
==========================================
  Files          29       29
  Lines        2532     2599      +67
==========================================
+ Hits         2270     2345      +75
+ Misses        262      254       -8

Impacted Files
Coverage Δ

src/infer/constraint_solver.rs
91.23% <100.00%> (+0.41%)
:arrow_up:

src/parser/mod.rs
98.14% <100.00%> (+0.08%)
:arrow_up:

src/parser/pattern.rs
100.00% <100.00%> (ø)

tests/integration_test.rs
98.66% <100.00%> (+0.15%)
:arrow_up:

src/infer/infer_pattern.rs
70.14% <0.00%> (+11.94%)
: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 69fa058...5fb8bd1. Read the comment docs.


Update the durationElement selector

It seems YouTube changed their DOM on the search results page.
This leads to the AudioTrack being built not having the necessary elements. (like the track length)

You're the best!

@sedmelluq This actually closes #45


fix: only fire boundary events if word or marks found.

Only fire boundary events when there is something to report.
Refactor to remove some type assertions.

Codecov Report

Merging #26 (b741ce6) into main (ba571ea) will increase coverage by 0.00%.
The diff coverage is 80.00%.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   97.36%   97.37%
=======================================
  Files           7        7
  Lines         494      495    +1
  Branches      135      135
=======================================
+ Hits          481      482    +1
  Misses         13       13

Impacted Files
Coverage Δ

src/controller.ts
98.11% <80.00%> (+<0.01%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


csc.exe The process was aborted due to an unhandled exception.

I published an MVC application to the server and it was running fine. Until I changed the application a bit and published it again.
The application runs fine on my local system but on the live server I get this error in the event viewer.
Application: csc.exe
Framework version: v4.0.30319
Explanation: The process was aborted due to an unhandled exception.
Exception information: System.MissingMethodException
stack:
    Location Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main (System.String [])

What is the problem?

@programmar297 can you share some more info about which version of ASP.NET and MVC you're using? This sounds like MVC 5.x to me, but more info would be helpful. Also, do you know what changes you made to the app that happened before it started failing?

I'm having the same problem, MVC 5 using the Roslyn compiler services.
nuget.config:
<package id="Microsoft.Net.Compilers" version="2.0.1" targetFramework="net452" developmentDependency="true" />
  <package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.3" targetFramework="net452" />

web.config
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
    </compilers>
  </system.codedom>

My server has IIS7, could that be related?

@Eilon it is MVC 5, ASP.NET doesn't use csc.exe.

My problem turned out to be using Microsoft.Net.Compilers 2.0.1 on a server that has .NET 4.5.2.
The 2.01 requires .NET 4.6.
Reverting Microsoft.Net.Compilers to  1.3.2 resolved my issue.

Closing since @nojaf figured out a solution for this.


Partial events deserialize but don't return data.

EventGridEvent.Parse(@"{""data"":""""}").Single().GetData<string>();

Would fail with the argument null exception during GetData call
Related to: https://github.com/Azure/azure-sdk-for-net/pull/15058
cc @ellismg

FWIW, @JoshLove-msft, In JavaScript land, we throw an error in our parser if the data is malformed (i.e. there are JSON errors) or any required fields of the event type are missing (or are of the wrong type)).


Get session.end() application event working

When a user's session times out, fire the citizen session.end() and app session.end() methods.

Implemented in 0.8.0.


View pushed with inset when using dismiss Environment variable

Hey,
First of thanks for the lib as I do really like having my app's navigation structure prepared for SwiftUI 4 and up. :)
Ever since iOS 16.1, I noticed an issue causing a non spinning loading indicator to show directly after pushing a view inside an NBNavigationStack. It seems to be related with having a @Environment(\.dismiss) var within the pushed view, as with a non-refreshable list, you also see the list being pulled down upon push (which would with a refreshable list show the spinner).

With refresh
Without refresh

Note this issue has been occurring on iOS 16.1 devices, even though the app was build with Xcode 14.0.1. Replicating the issue on simulator I managed to do from the Xcode 14.1 RC 2.
I added some replication code below to debug this issue and hope someone can help me with this.
 import NavigationBackport

 @main
 struct SomeApp: App {

     var body: some Scene {
         WindowGroup {
             TestView()
         }
     }
 }

class TestSubViewModel: ObservableObject {

    @Published var sections: [String] = ["Test 1", "Test 2"]
    @Published var shouldDismiss = false

}
struct TestSubView: View {

    @ObservedObject var viewModel: TestSubViewModel
    @Environment(\.dismiss) var dismiss

    var body: some View {
        let _ = self._printingChanges()
        List {
            ForEach(viewModel.sections, id: \.self) { section in
                Section {
                    Text(section)
                } header: {
                    Text("Header")
                }
            }
        }
        .refreshable {
        }
        .onChange(of: viewModel.shouldDismiss, perform: { shouldDismiss in
            if shouldDismiss {
                dismiss()
            }
        })
        .navigationBarTitleDisplayMode(.inline)
        .navigationTitle("Row")
    }
}

struct TestView: View {

    var body: some View {
        NBNavigationStack {
         List {
             ForEach(1..<10) { row in
                 NBNavigationLink("Row \(row)", value: row)
             }
         }
         .nbNavigationDestination(for: Int.self, destination: { row in
             TestSubView(viewModel: .init())
         })
         .refreshable {}
         .navigationTitle("Refresh Indicator Bug")
       }
    }
}

Thanks @houtzager - that's strange, I don't know why the dismiss environment value would trigger that behaviour. It feels like a SwiftUI bug.
Fortunately, you can use the new PathNavigator environment object instead, which doesn't have this problem.
@EnvironmentObject var navigator: PathNavigator

So you can use navigator.pop() instead of dismiss().

Hey @johnpatrickmorgan, thanks for the quick response!
I can confirm that using the PathNavigator from 0.6 indeed resolves the issue.


[BUG] Table gets destroyed after loading the Excel that is included in

🐛 Bug Report
I'm trying to load and modify an Excel file (.xlsx) with ExcelJS, that has a table in it. However, the table is not loaded properly.
In my scenario, the Excel has 3 sheets. One of them (e.g. Sheet_1), has a table in it.
The issue is that every time that I'm loading the Excel, ExcelJS breaks the table. Even if I don't modify it, or even if I do not load the sheet that includes it, the table gets "destroyed".
When I'm trying to open the file with Excel, it tells me that the Workbook got repaired and under the technical details I see:
Removed Records: AutoFilter from /xl/tables/table1.xml part (Table)
I've tried everything I could think of. I also tried creating the Excel file with the Web/Desktop version (and even with LibreOffice! lol).
When I'm trying to get the table's parameters and data with:
  const worksheet = workbook.getWorksheet("sheet1");
  const table = worksheet.getTable("table1");
  console.log({ table });

I get:
{
  table: Table {
    worksheet: undefined,
    table: {
      name: 'table1',
      displayName: 'table1',
      tableRef: 'D28:G29',
      totalsRow: false,
      headerRow: false,
      columns: [Array],
      autoFilterRef: 'D28:G29',
      style: [Object]
    }
  }
}

Of course, the table has its headers already set and is inside a worksheet, so the "undefined" values are totally wrong.
Lib version: 4.3.0
Steps To Reproduce
Just try to load (I'm using a buffer) and modify an Excel, that has a table inside it.
Any ideas on this?
I've found this: https://github.com/exceljs/exceljs/issues/1615, but it didn't really help.
Also, I do not want to use a fork.
Thank you!

I am still having this issue and am wondering why this issue was closed without any futher discussion.

This seems to resolve this issue:
I.e. Add, then get, then commit. No error
 const table = homeSheet.addTable({
        name: `MyTable`,
        ref: 'A4',
        headerRow: true,
        totalsRow: false,
        style: {
            theme: 'TableStyleDark3',
            showRowStripes: true,
        },
        columns: [
            {name: 'Programme', filterButton: true}
        ],
        rows: [
            ['Hello']
        ]
    });

    const t2 = homeSheet.getTable('MyTable');
    t2.commit();


In Druid 0.12 there is no endpoint for OPTIONS queries. Thus it is impossible to run CORS queries.

We receive such HTTP query errors (403 return code):
Request did not have an authorization check performed.: {class=io.druid.server.security.PreResponseAuthorizationCheckFilter, uri=/druid/v2/, method=OPTIONS)
While running CORS HTTP POST query, there is a pre-flight request which is of OPTION type.
Is is missing @OPTIONS endpoint in QueryResource class

The following extensions exists which I believe will enable CORS -> https://github.com/acesinc/druid-cors-filter-extension
Although I'm not sure that it's a common use case because of the security implications of querying Druid directly from the browser.

I presume this worked before (the handling must be built into Jetty)?

 Load balancer is configured to add CORS headers to all responses so the cors-filter-extension is not needed.
In version 0.12 there is a new PreResponseAuthorizationCheckFilter in the end of filters chain. It checks for AuthConfig.DRUID_AUTHORIZATION_CHECKED servlet context attribute and if the attribute is not set - returns 403.
The problem is that for OPTIONS request there is no handler responsible for setting servlet attribute AuthConfig.DRUID_AUTHORIZATION_CHECKED. Even if the security is not enabled at all.


[Carbondata-3631] StringIndexOutOfBoundsException When Inserting Sele…

…ct From a Parquet Table with Empty array/map
Modification reason:
(1) StringIndexOutOfBoundsException When Inserting Select From a Parquet Table with Empty array/map.
(2) ArrayIndexOutOfBuoundsException When Inserting Select From a Parquet Table with a map with empty key and empty value
(3) Result is incorrect when Inserting Select From a Parquet Table with a Struct with Empty String, The result will be null while the correct result is "".
Modification content:
(1) When the input value is ARRAY(), return EMPTY_DATA_RETURN in the FieldConverter.scala, ArrayParserImpl handle it.
(2) When the input value is ARRAY(""), return EMPTY STRING ->"" in the FieldConverter.scala, ArrayParserImpl handle it.
(3) When the input value is MAP("",""), return EMPTY STRING ->"" in the FieldConverter.scala, MapParserImpl handle it.
(4) When the input value is MAP(), return EMPTY_DATA_RETURN ->"" in the FieldConverter.scala, MapParserImpl handle it.
(5) When the input value is Struct(""), the StructParserImpl handle the EMPTY STRING
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

retest this please

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1338/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1348/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1362/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1367/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1377/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1387/

LGTM


[Request] @ExpectPlatform fields

Say I have an abstract class in common module that extends from Block class. But I need to have some different code in fabric vs forge. I would implement that abstract class in both forge and fabric modules. This is fine, but now I have 2 RegistrySuppliers and neither are accessible from common module. What I have been doing to work around this is making a public static but not final RegistrySupplier field in common module, but not assigning a value to it and in forge and fabric modules under a static {} block setting the common field to a registered value.
this works, but it would be much more neat and convenient if I could use something like expectplatform to make sure the field has the correct value. This would also make final fields possible in this situation

This can already be done by making the code in your field initialiser into an @ExpectPlatform method without needing @ExpectPlatform fields.

But then I’d have to make a separate method for each field…

How would expect platform fields even work?

Autogenerated Methods with reflection?

in  to access the impl's field's value


❓ What is your experience with GitHub Actions?

What is your experience with GitHub Actions? What is your experience with other CI/CD tools? Comment below 👇

@abelberhane 👋🏽

I use github on a daily basis
I am familiar with actions
I love issues 💯

I love GitHub Actions 💯
I use Actions on a daily basis
I have mostly leveraged marketplace actions
I have managed Jenkins instances in the past and am familiar with some ansible

I've written multiple workflows related to our migration
I've written a custom github action that we use to manage repo permissions
Worked with teamcity, octopus, heroku, circleci, and maybe a couple others that i don't remember now

What Matt wrote for us so far. I've about 7 years experience with teamcity and octopus, some dabbling with jenkins

I have not used GitHub Actions, but I have familiarity with writing yml pipelines in Azure DevOps
Several years experience with CI/CD tools like TeamCity and Octopus Deploy

I have a good understanding of what github actions is and is capable of.
I have limited hands on experience with github actions so far.

I've never used Github actions and am only loosely familiar with their capabilities, and intended use.
I have about 3 years experience supporting teamcity and octopus, no experience with them from a design or architecture perspective, just supporting already implemented setups.

I have some initial experience with Actions and have created/used actions in our GitHub org
-I've written a custom action and pulled in some market place actions
I have many years experience managing TeamCity/Octopus


Error with a Debian SSH workspace

Error is :

Clicking on "Report issue" just closes the window
Great and useful extension btw, can't wait to use it !

Example of a SSH workspace :
https://www.youtube.com/watch?v=m6V8O853t9w

sorry I am busy now, will reply again when I fix it🙁

No problems, thanks for the answer


10月19日定制固件无法使用

bcm2711

烧录入sd卡后ping不通

Sun Oct 20 00:12:00 CST 2024 upgrade: Image metadata not present Sun Oct 20 00:12:00 CST 2024 upgrade: Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware Sun Oct 20 00:12:00 CST 2024 upgrade: Reading partition table from bootdisk... cat: write error: Broken pipe Sun Oct 20 00:12:00 CST 2024 upgrade: Reading partition table from image... Partition layout has changed. Full image will be written. Image check failed.
不支持所上传的映像文件格式，请选择适合当前平台的通用映像文件。
镜像检查失败了：
Sun Oct 20 00:12:00 CST 2024 upgrade: Image metadata not present Sun Oct 20 00:12:00 CST 2024 upgrade: Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware Sun Oct 20 00:12:00 CST 2024 upgrade: Reading partition table from bootdisk... cat: write error: Broken pipe Sun Oct 20 00:12:00 CST 2024 upgrade: Reading partition table from image... Partition layout has changed. Full image will be written. Image check failed.