Fix df analysis failure for object init method as outside method def and disallow extern object init methods

Purpose
This PR

fixes the failure at data flow analysis phase when an object init method is defined as an outside method
disallows extern object init methods

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/12812

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-0.990.0@5ccce98). Click here to learn what that means.
The diff coverage is 100%.

@@                Coverage Diff                 @@
##             release-0.990.0   #12868   +/-   ##
==================================================
  Coverage                   ?   60.03%
  Complexity                 ?      659
==================================================
  Files                      ?     2068
  Lines                      ?   101751
  Branches                   ?    12956
==================================================
  Hits                       ?    61082
  Misses                     ?    35481
  Partials                   ?     5188

Impacted Files
Coverage Δ
Complexity Δ

.../compiler/semantics/analyzer/SemanticAnalyzer.java
80.95% <100%> (ø)
0 <0> (?)

.../compiler/semantics/analyzer/DataflowAnalyzer.java
76.56% <100%> (ø)
0 <0> (?)

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 5ccce98...16d4bb1. Read the comment docs.

any reason for not allowing extern?

@lankavitharana

any reason for not allowing extern?

This is because dataflow analysis cannot be done with extern __init() functions.

it's kind of like a technicality right? my point is can we say we are not allowing it because we can't do data flow analysis? if we take data flow analysis, we need that to identify whether all the fields are initialized right? so there can be scenarios where we have default values for all the fields, in which case we don't need to analyze init function. Of course, if we don't have default values, then we have to have an analyzable init function.

Yeah agreed. It would be the same even on the off chance there is an object with all private/no fields. But do we need to allow this, given that we are not expecting many extern functions anyway?
Also, IMO, whatever logic in the init function (including setting values for object fields) should ideally be written in Ballerina. If by any chance someone actually wants to perform some extern logic it could be a separate extern function invocation within the init function. WDYT?

I think that's a better answer than the previous one :)
+1


Support for OpenSSL 1.1.X

Description
Currently, BlueSSLService doesn't add support for openssl 1.1.X. This PR aims to add support for both openssl versions 1.0.X and 1.1.X
Resolves : https://github.com/IBM-Swift/Kitura/issues/1341
How Has This Been Tested?
Tested on both Ubuntu 16.04 and 18.04 with openssl 1.0.x and 1.1.x
Checklist:

[x] I have submitted a CLA form
[x] If applicable, I have added tests to cover my changes.

@djones6 @ianpartridge @pushkarnk Please review.

@nethraravindran looks like the build is failing on Linux 4.0.3 and Linux 4.1.3

@nethraravindran: Looks like everything is going to be fine now.  However, can you document the extensions you added for Linux before I merge it?  Thanks.

Hi @billabt we have a little more work to do on this before it's ready, @nethraravindran will update soon :)

I have added support for Swift 4.0 and 4.1 @billabt @ianpartridge Please review.
Thanks in advance :)


Add option to upload icons for the event app

We need to have an option to upload app icons to the apk generator.

I'll work for adding this functionality on backend

This should come from the event.JSON. Take the logo for this please. Do not implement a separate upload function. Everything should come from the JSON files.

👍


Unable to decompile apk

Getting error during decompile.
Here's the apk file link http://goo.gl/unOPO8
C:\Users\user\ApkTool_JB\New folder>apktool d back.apk
I: Using Apktool 2.1.1 on back.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\user\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.Direc
toryException: Error copying file: ??   .xml
        at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:208)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:158)
        at brut.apktool.Main.cmdDecode(Main.java:163)
        at brut.apktool.Main.main(Main.java:81)
Caused by: brut.directory.DirectoryException: Error copying file: ??    .xml
        at brut.directory.DirUtil.copyToDir(DirUtil.java:88)
        at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:207
)
        at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:201)
        ... 3 more
Caused by: java.io.FileNotFoundException: back\unknown\??       .xml (The filena
me, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at brut.directory.DirUtil.copyToDir(DirUtil.java:84)
        ... 5 more

The short story is that UTF8 is a second child on Windows, hardly cared for and even moving to a default of UTF8 breaks other things.
Your install is having troubles visually the output of Dexguard, which creates this weird named files. The process of renaming these files, in addition to conventions used in side of files is already an existing report - #885
Since this is mostly isolated to Dexguard, I'm unsure if apktool's job should be to "unbreak" those applciations.


Move CONTRIBUTING to .github folder

as documented: https://github.com/blog/2111-issue-and-pull-request-templates

GitHub shows the contributing guidelines link even when CONTRIBUTING.md is left in the root folder. See:

I want that file to be easy to find since it explains how to contribute to the project, which is good for attracting new contributors to the project. 👍

Fair enough - I'm just a bit of a folders nerd :)


Error 499 or 504 when worker is processing a long job

I'm not sure if this is actually a bug or misconfiguration, but for long-running jobs (i.e. jobs that take longer than the "Connection timeout" of 60 seconds (which is the maximum), nginx returns error 499 ([14/Aug/2018:18:25:05 +0000] "POST / HTTP/1.1" 499 0 "-" "aws-sqsd/2.3" "-") or 504 ([14/Aug/2018:20:03:40 +0000] "POST / HTTP/1.1" 504 183 "-" "aws-sqsd/2.3" "-") even as the worker actually picked up the job and is processing it.
I gather that the server is "unresponsive" and does not acknowledge that it is processing the job and therefore it is returned to the queue before the Visibility Timeout is over.
This is Rails 4.2.10 and active-elastic-job 2.0.1.

Seems related to #56; however, we are not running rack-timeout.

@waissbluth I believe this to be a duplicate of #56. See the solution here: https://github.com/tawan/active-elastic-job/issues/56#issuecomment-750894893. I've also included this in the documentation for the upcoming V3 release.

@waissbluth I believe this to be a duplicate of #56. See the solution here: https://github.com/tawan/active-elastic-job/issues/56#issuecomment-750894893. I've also included this in the documentation for the upcoming V3 release.


Visual Studio 15.8 Blocking Package Upgrade from Microsoft.NETCore.App 2.1.2 on MSTest projects

Description
I have an MSTest project which references projects utilizing Microsoft.NETCore.App 2.1.2
When attempting to build I get the following error message.
Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1605	Detected package downgrade: Microsoft.NETCore.App from 2.1.2 to 2.1.0. Reference the package directly from the project to select a different version.
However nuget will not allow update of this package directly from projects referencing Microsoft.NET.Test.Sdk essentially breaking testing of any code which is utilizing .NET Core 2.1.2
I have reported this to as a visual studio issue https://developercommunity.visualstudio.com/content/problem/316418/mstest-project-does-not-support-net-core-212.html
However based on the initial triage it looks like this is not even going to be looked at. Call me crazy but breaking unit testing support for the latest version of .NET core seems like it might be important.

See https://github.com/dotnet/cli/issues/9879


intent detection: methods/ADB/pretrain.py cannot import name 'sigmoid_rampup', 'linear_rampup'

Hi~
Thank you so much for your open-source platform.
I want to run MSP method in intent detection.
I run this commonds sh examples/run_ADB.sh and sh examples/run_MAP.sh.
The platform would first run methods/__init__.py, but in methods/ADB/pretrain.py that cannot import name 'sigmoid_rampup' and 'linear_rampup'.
I found that 'sigmoid_rampup' and 'linear_rampup' not in utils/functions.py.
What should I do to run the method (MSP, ADB, etc.) in the examples ?

And I can not install all the dependencies by running pip install -r requirements.txt.
The differences are:

mkl_random==1.2.2
torch==1.7.1+cu110
Pillow==8.4.0
transformers==4.23.1
In order to be more user-friendly, please clean and update the reqiurements.txt

We don't use the two functions and have deleted them in methods/ADB/pretrain.py. It should work now. Thanks for your mentioning.

And I can not install all the dependencies by running pip install -r requirements.txt.
The differences are:

mkl_random==1.2.2
torch==1.7.1+cu110
Pillow==8.4.0
transformers==4.23.1
In order to be more user-friendly, please clean and update the reqiurements.txt
We have updated the requirements.txt and you can download the newest version and try again.


The timestamped link always start at the beginning of youtube video: how I solve it

This plugin is very nice, but seems to be death now. For anyone having this problem and access to a terminal, I use this commands to fix all links on the note after I have finnished taking notes on it.
sed -i s#https://www.youtube.com/watch?v=#https://youtu.be/#g YOUR_NOTE.md
sed -i s/#t=/?t=/g YOUR_NOTE.md
sed -i 's/.[0-9]*)/)/g' YOUR_NOTE.md

Test it first and be sure you don't have other matching lines before applying it!
This is an awful solution, but it fix the problem for me.

Apologies for the long period of inactivity on this project. I wanted to inform you that the plugin has been fully rewritten for the v3 release. I'm currently preparing for the beta release. Once it's available, if you encounter similar issues, please don't hesitate to open a new issue. Thank you for your understanding.


feat: refactored custom notification from custom config to use tsyringe container api

Summary of Changes
refactored the custom notification code to use our tsyringe setup rather than the dated custom config. This is part of a change taking place in BC Wallet to extend the person credential notification with more functionality
Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Apply related fix #1213


content/en/docs: highlight known etcd client issue

ref. https://github.com/kubernetes/kubernetes/issues/72102
/cc @liggitt @dims @jpbetz @wenjiaswe @igcherkaev

/assign @stewart-yu

/lgtm

@kubernetes/sig-docs-en-owners Can we get this reviewed and approved?

Page preview:
https://deploy-preview-16156--kubernetes-io-master-staging.netlify.com/docs/tasks/administer-cluster/configure-upgrade-etcd/#known-issues

@kbhawkey PTAL. Changed the title to make it clear.

/approve
/lgtm

Ping @kubernetes/sig-docs-en-owners


Performance Issues with colornamer

After updating to v1.4 I have noticed a 10x performance degradation in the sendGroupStatus function in hue-group.js. Based on my own timings it was taking on average 600ms to execute this function. Once I remove the colornamer call it is reduced to 60ms on average.
This has a noticeable impact on my toggle lightswitches as my flow checks if the light is on or off before determining if it need to switch the group off or on.

Thank you for this small benchmark test!
I will therefore add the possibility to disable the function when needed in the next version.

Option added in v1.5.0


Fix double-printing error

Makes errors only print once. Fixes:
❯ go run fiber/main.go xyz
Error: unknown command "xyz" for "fiber"
Run 'fiber --help' for usage.
unknown command "xyz" for "fiber"
exit status 1

to
❯ go run fiber/main.go xyz
Error: unknown command "xyz" for "fiber"
Run 'fiber --help' for usage.
exit status 1

This duplication is kind of on purpose.
Error: requires at least 1 arg(s), only received 0
Usage:
  fiber new PROJECT [module name] [flags]

Aliases:
  new, n

Examples:
  fiber new fiber-demo
    Generates a project with go module name fiber-demo

  fiber new fiber-demo your.own/module/name
    Specific the go module name

  fiber new fiber-demo -t=complex
    Generate a complex project

Flags:
  -h, --help              help for new
  -t, --template string   basic|complex (default "basic")

requires at least 1 arg(s), only received 0

In this case, the first error is inconvenient to notice.
So the better solution is to hide the first error but I still don't know how to solve it 😢

Found it by setting up SilenceErrors = true :hugging:


Add empty state in main workspace area

Overview
Adds an empty state for when there are no open definitions
Closes https://github.com/unisonweb/codebase-ui/issues/100

@pchiusano hah, I guess my payments background is showing :D Good catch


Add subsection headers to API reference

Porting request from https://github.com/voxel51/fiftyone/pull/330 to an issue:
@brimoor On the API reference page, can we:

upgrade the Classes and Functions headings in the autosummary to RST section headings so that they appear in the RH sidebar, can be linked to, etc?
add another heading between the functions table and the actual class/func documentation? To make it clear that the function listing in the autosummary has ended. Maybe call it Documentation?

@tylerganter I briefly looked into this but ... these sphinx extensions are horribly difficult to customize. What you're describing would involve customizing the .. automodule:: directive and/or the autodocsumm source code. I'm going to merge this as is, calling it an imperfect improvement

believe this is OBE


Inpainting fail

Describe the bug
Hi, I have fresh installation of Web UI and Krita—following instruction plugin just work with txt2img rest give me this error :

any idea how to fix it ?
Desktop (please complete the following information):

OS: [e.g. Windows
Commit revision [685f9631b56ff8bd43bce24ff5ce0f9a0e9af490]

Additional context
Add any other context about the problem here.

Likely is issue #55. Ensure your AUTOMATIC1111 webUI install is updated.

yep , its fixed now


Expose TypedFetch

Exposes TypedFetch to the user of the package. The reasoning can be found in #11.
Closes #11.

Thanks for the suggestion and PR!


actions: new cfg for pr labeler

Applied mkpr on .github/pr_labeler.yml
cat .github/pr_labeler.yml

:tada: This PR is included in version 1.11.63 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.11.63
GitHub release

Your semantic-release bot :package::rocket:


Rename ScsClient -> SimpleCacheClient

It's called that everywhere else, and it takes SimpleCacheClientProps.

Closed by #125


{Freeway-Bug}[Adaptive Cards - Blog]: Ensures role attribute has an appropriate value for the 'Community Call - October 2022'element

Target Platforms
Other
SDK Version
1.5
Application Name
Adaptive Cards
Problem Description
Test Environment:
OS: Version 23H2 (OS Build 25381.1)
URL: https://adaptivecards.io/blog/
Browser: Edge Dev Version 115.0.1880.3 (Official build) dev (64-bit)
Tool: Accessibility Insight For Web
Repro Steps:

Open the above URL in the edge dev browser.
Navigate to 'Blog' tab item and press enter key to activate it.
Run the AI Tool and observe the issue.

Actual Result:
Incorrect role attribute as 'Presentation' is defined for the 'Community Call - October 2022' element.
Expected Result:
Correct role should be defined for the 'Community Call - October 2022' element and it should be link.
Element path:
.w3-cell-row.w3-padding-16:nth-child(1) > article:nth-child(2) > .coverImage[role="presentation"]
How to fix:
Fix any of the following:
ARIA role presentation is not allowed for given element
Note:
This issue is repro throughout the Blog screen.
User Impact:
It will impact the screen reader user if the incorrect role as presentation is defined for the elements.
WCAG Reference:
https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html
“Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)“
Screenshots

Card JSON
NA

Sample Code Language
No response
Sample Code
No response

Hi @anna-dingler,
Could you please let us know by when the changes will be reflected on the prod so that we can reverify this issue at our end as of now this issue is still repro at our end.
Snippet:

Hi @vagpt, we are planning to make a release at the end of the month.

Hi @vagpt , a new version of the website was just released!

Thanks @anna-dingler,
Now this issue is working fine on the environment below, hence adding A11yTTValidated tag.
Test Environment:
OS: Version 23H2 (OS Build 25967.1010)
URL: https://adaptivecards.io/blog/
Browser: Edge Dev Version 120.0.2172.1 (Official build) dev (64-bit)
Tool: Accessibility Insight For Web
Snippet:


Rootless podman doesn't recognize cgroupv2 mount at /sys/fs/cgroups/unified

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
If I run for example podman stats it reports that this doesn't work because I'm rootless and not using cgroupv2.
When looking up how it checks if I'm using cgroupsv2 I see that it looks for the mount type of /sys/fs/cgroups, but is not inspecting /sys/fs/cgroups/unified.
The cgroups man-page even states that ... on many modern systems, systemd(1) automatically mounts the cgroup2 filesystem at /sys/fs/cgroup/unified during the boot process.
Steps to reproduce the issue:

Be on an arch system. My cgroup related mounts look like this:

 tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)

Run podman stats as normal user

Describe the results you received:
Error: stats is not supported in rootless mode without cgroups v2
Describe the results you expected:
podman should start streaming stats
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.6.3
RemoteAPI Version:  1
Go Version:         go1.13.4
Git Commit:         9d087f6a766259ba53b224944f1b7b778035c370-dirty
Built:              Sat Nov 23 12:56:15 2019
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: 9d087f6a766259ba53b224944f1b7b778035c370-dirty
  go version: go1.13.4
  podman version: 1.6.3
host:
  BuildahVersion: 1.12.0-dev
  CgroupVersion: v1
  Conmon:
    package: Unknown
    path: /usr/bin/conmon
    version: 'conmon version 2.0.3, commit: eb5fa88c26fde5ce1e3f8a1d2a8a9498b2d7dbe6'
  Distribution:
    distribution: arch
    version: unknown
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 10000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 10000
      size: 65536
  MemFree:<PHONE_NUMBER>0
  MemTotal:<PHONE_NUMBER>6
  OCIRuntime:
    name: runc
    package: Unknown
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc9
      commit: d736ef14f0288d6993a1845745d6756cfc9ddd5a
      spec: 1.0.1-dev
  SwapFree: 0
  SwapTotal: 0
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: archlinux
  kernel: 5.4.2-arch1-1
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: Unknown
    Version: |-
      slirp4netns version 0.4.2
      commit: 69153b0d1cb82216d6782179ff7c3c5e91c731a1
  uptime: 2h 12m 29.76s (Approximately 0.08 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
store:
  ConfigFile: /home/tino/.config/containers/storage.conf
  ContainerStore:
    number: 12
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: Unknown
      Version: |-
        fusermount3 version: 3.8.0
        fuse-overlayfs: version 0.7
        FUSE library version 3.8.0
        using FUSE kernel interface version 7.31
  GraphRoot: /home/tino/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 11
  RunRoot: /run/user/1000
  VolumePath: /home/tino/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
> pacman -Q podman
podman 1.6.3-1

Additional environment details (AWS, VirtualBox, physical, etc.):
Kernel: Linux archlinux 5.4.2-arch1-1

@giuseppe PTAL - looks like our cgroups package isn't detecting the mount?

if cgroup v2 is mounted on /sys/fs/cgroup/unified then it is not the unified hierarchy where cgroup v2 is mounted at /sys/fs/cgroup.  That is the hybrid hierarchy where cgroup v1 and cgroup v2 coexist.
We don't support that.
More details can be found here: https://systemd.io/CGROUP_DELEGATION.html#three-different-tree-setups-


FinalPatch - Getting Started - teddyzhang29

http://teddyzhang.com/FinalPatch_GettingStarted_eng
使用FinalPatch可以简单,高效的帮助开发者完成游戏热更新功能

can i build patches with Obfuscator?
use FinalPatch and https://assetstore.unity.com/packages/tools/utilities/obfuscator-pro-89589 asset together

Obfuscator Pro have Custom Build
https://orangepearsoftware.com/?docs=obfuscator/custom-build
can FinalPatch match with this ?

Hi ,
Sorry for the late.
I haven’t use this asset before.
Do you have this asset? I can try to update final patch to compatible with it if you can send one copy to me.
发自我的 iPhone

在 2019年5月1日，下午8:50，keyonesis<EMAIL_ADDRESS>写道：
Obfuscator Pro have Custom Build
https://orangepearsoftware.com/?docs=obfuscator/custom-build
can FinalPatch match with this ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@teddyzhang29
Hi ,
Sorry for the late.
I haven’t use this asset before.
Do you have this asset? I can try to update final patch to compatible with it if you can send one copy to me.
发自我的 iPhone

在 2019年5月1日，下午8:50，keyonesis<EMAIL_ADDRESS>写道：
Obfuscator Pro have Custom Build
https://orangepearsoftware.com/?docs=obfuscator/custom-build
can FinalPatch match with this ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, Thanks for fast response, this asset have free version too that can use that
https://assetstore.unity.com/packages/tools/utilities/obfuscator-free-89420

Understood.
It’s a holiday here in China and I will have a good look at this asset when I back home.
If I have any result I will contact you.
Thanks for your support.
发自我的 iPhone

在 2019年5月1日，下午9:41，keyonesis<EMAIL_ADDRESS>写道：
@teddyzhang29
Hi ,
Sorry for the late.
I haven’t use this asset before.
Do you have this asset? I can try to update final patch to compatible with it if you can send one copy to me.
发自我的 iPhone
在 2019年5月1日，下午8:50，keyonesis<EMAIL_ADDRESS>写道：
Obfuscator Pro have Custom Build
https://orangepearsoftware.com/?docs=obfuscator/custom-build
can FinalPatch match with this ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Hi, Thanks for fast response, this asset have free version too that can use that
https://assetstore.unity.com/packages/tools/utilities/obfuscator-free-89420
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@keyonesis

@teddyzhang29
Hi ,
Sorry for the late.
I haven’t use this asset before.
Do you have this asset? I can try to update final patch to compatible with it if you can send one copy to me.
发自我的 iPhone

在 2019年5月1日，下午8:50，keyonesis<EMAIL_ADDRESS>写道：
Obfuscator Pro have Custom Build
https://orangepearsoftware.com/?docs=obfuscator/custom-build
can FinalPatch match with this ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, Thanks for fast response, this asset have free version too that can use that
https://assetstore.unity.com/packages/tools/utilities/obfuscator-free-89420

Hi keyonesis,
I've tested Obfuscator Free.
It went well if you ignore the namespace of Final Patch in Obfuscators Setting Window (fill "BBGo" in namespace section).
The author mentioned this situation in Obfuscator_Readme.

thank you, I bought final patch yesterday and it works very well.

@keyonesis
thank you, I bought final patch yesterday and it works very well.

Thank you.
I'll appreciate if you can leave a comment on Asset Store.

Hello, it says on the asset store that it works with Android, but videos don't show that, could you elaborate a little about this?

Hi,
Final patch can work on android and you don't need to do anything about
that, Final patch will do every thing for you.
You don't need to change any code, don't need to add any Macro.
sebolio<EMAIL_ADDRESS>于2019年10月13日周日 下午3:10写道：

Hello, it says on the asset store that it works with Android, but videos
don't show that, could you elaborate a little about this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/teddyzhang29/teddyzhang29.github.io/issues/14?email_source=notifications&email_token=AESX6TW6FDAPYRECWJ2YCOLQOLCXNA5CNFSM4HCG6CIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCQC5A#issuecomment-541393268,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESX6TUQ7XZC6PMFTB2S6IDQOLCXNANCNFSM4HCG6CIA
.


send index with button click event

Easier to know which button was clicked, vs doing a text comparison.

Crap. I meant to send these are separate pull requests, but added my subsequent commits.

This is great! I'll review it when I get home :D

This works great except that last commit. Maybe you could go more into detail about that one?
I added a playbook in the app so you can test your changes live.

If I have a BrowserWindow that creates a notificationWindow, if that BrowserWindow closes before the notificationWIndow, Electron will crash. Attempt to RPC onto a dead object.
So if the owner of the notification is closed, the notification should purge all listeners. The notificationWindow removing all listeners on itself when the notification closes does not address this bug.

Another alternate solution is to have the caller manage the callbacks on the notificationWindow.

Oh, that makes sense! I'll test that case manually today!

Unrelated, but I'm using your project for this:
https://github.com/koush/electron-chrome

I rebased your pr in, still comitted as you.
https://github.com/blainesch/electron-notifications/commits/master?author=koush


Submitting CoreOS v681.0.0 (alpha) 2015-05-14 to app-catalog

Submitted on behalf of CoreOS, Inc (https://github.com/coreos)
url: http://alpha.release.core-os.net/amd64-usr/681.0.0/coreos_production_openstack_image.img.bz2
hash: b30cfb18add5497298efef80cfb2eb9727b2f4e5267d3dfd2c3339ea6190403fe3c2d2417239e7d37327d817ff5b4786f51d41810ad3a63d91e077742bddffa0

Thank you for contributing to stackforge/apps-catalog!
stackforge/apps-catalog uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Usernames cannot be changed

Suggestion
As usernames are currently used in the MXIDs of @localpart:serverpart format, usernames cannot be changed. This poses a serious problem, and prevents from having multiple visible identities per user.
Spin off from #3204:
> User identifiers are user-visible
> #1228 is probably the best way to take care of room IDs

Yes, and this will be solved by not using usernames as user identifiers in the protocol as we currently do. My solution is more like
combination of #1228 and #1769. In that model, you would have a fixed-length user PKI key in a room-version-defined schema,
which is specific to that room, public half thereof is known to everyone in that room, and private half thereof is only known to
the clients of that specific user. Membership events, using those user keys as identifiers, would point to a particular room ID for
the profile room and exactly two event IDs from that room (one for avatar, one for user alias). With such a design, you will be able
to keep otherwise completely separate identities (but still the same user for the user's home server) for a user, without others
in the room knowing.

A subset of #1228, as you well know. Please do not open issues if you know they already are indicated elsewhere.


matplotlib 'markevery' is not translated into PGFPlots

Plotting dense data with the 'markevery=' should result in plots where not all data points are drawn with a marker, as described in
http://matplotlib.org/api/lines_api.html#matplotlib.lines.Line2D.set_markevery
However, matplotlib2tikz does not regard this. It could be done using the 'mark repeat' option or even 'mark indices' (see PGFPlots manual pp. 179-180)
Minimal example:

import matplotlib.pyplot as pp
import matplotlib2tikz as m2t

pp.plot(range(10), range(10), marker='o', markevery=3)

m2t.save('mark.tikz')

gives the output
% This file was created by matplotlib2tikz v0.5.6.
% The lastest updates can be retrieved from
%
% https://github.com/nschloe/matplotlib2tikz
%
% where you can also submit bug reports and leavecomments.
%
\begin{tikzpicture}

\begin{axis}[
xmin=0, xmax=9,
ymin=0, ymax=9,
axis on top
]
\addplot [blue, mark=*, mark size=3, mark options={draw=black}]
table {%
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
};
\end{axis}

\end{tikzpicture}

It should give something like
% This file was created by matplotlib2tikz v0.5.6.
% The lastest updates can be retrieved from
%
% https://github.com/nschloe/matplotlib2tikz
%
% where you can also submit bug reports and leavecomments.
%
\begin{tikzpicture}

\begin{axis}[
xmin=0, xmax=9,
ymin=0, ymax=9,
axis on top
]
\addplot [blue, mark=*, mark size=3, mark repeat=3, mark options={draw=black}]
table {%
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
};
\end{axis}

\end{tikzpicture}

Fixed by PR #98.


New features added Double-Click Listener for Recipe list

Now the recipes in shopping list GUI are Clickable. The double click on recipes does the same task that Generate shopping list button does.

clear comment above the double-click listener implementation; looks similar to the previous successful implementations of this feature
another helpful comment where the other major change was made; clearly stated the purpose of making a method reusable
in the future, please make sure to make another branch before significant changes, although in this case, it was fine because only the shopping list classes were modified


Add RELEASE_ENVIRONMENT

Do we need to change this too? https://github.com/aws/eks-distro/blob/main/release/prow.sh#L23


unable to connect via adbc postgres driver (no pg_catalog.pg_type)

Description
import adbc_driver_postgresql.dbapi

uri = "postgresql://localhost:6543"

with adbc_driver_postgresql.dbapi.connect(uri) as conn:
  cursor = conn.cursor()
  cursor.execute("select 1")
  print(cursor.fetchone())
  cursor.close()

adbc_driver_manager.OperationalError: IO: [libpq] Failed to build type mapping table: ERROR:  Error during planning: Unable to fetch table provider for 'pg_catalog.pg_type': failed to resolve: failed to find table: pg_catalog.pg_type

same root cause as https://github.com/GlareDB/glaredb/issues/1450 and https://github.com/GlareDB/glaredb/issues/1445

https://www.postgresql.org/docs/current/catalog-pg-type.html#CATALOG-TYPCATEGORY-TABLE


Updated readme file

@demetrio812 I updated the readme file by removing the unnecessary android dependency line.

Hello, thanks for that, so there is no other recommendation on Android, correct?

(I'm asking because right now I can't test it with Android and I'd like to push it quickly)

@demetrio812 I believe we're good now.
I noticed the crash due to the outdated dependency when I included the nativescript-plugin-firebase in an app I'm working on and tried to receive push notifications on Android. Since removing this dependency, the push notifications work correct. I was able to verify this with an Android emulator, not an actual Android device since I don't have one at this time.

@demetrio812 I also verified that the mixpanel login still works as expected for both iOS and Android as part of testing my app.

@demetrio812 I have a quick update. My co-worker tested with a physical android device and all seems good. Is there any further work/research you'd like me to do on this?

I can confirm this works in a production environment. My company has been running this locally without the app.gradle line or the code removed in #8 for quite a while (over a year). I was trying to determine why it was never pushed back, and came up empty, but I hope once this releases to get back on the npm dependency (the only other diff seems to involve adding productFlavors to the app.gradle which I don't believe is necessary).


build.ps1 on Windows 10: CMake Error: Unknown argument --host=x64

PS C:\ge\GraphEngine> .\tools\build.ps1  -VS2019
GraphEngine repo root:         C:\ge\GraphEngine
TRINITY_CMAKELISTS             C:\ge\GraphEngine\CMakeLists.txt
TRINITY_OUTPUT_DIR:            C:\ge\GraphEngine\bin
[x] Removing: C:\ge\GraphEngine\bin
[x] Removing: C:\ge\GraphEngine\build

    Directory: C:\ge\GraphEngine

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        2021-06-03   4:23 PM                build
CMake Error: Unknown argument --host=x64
CMake Error: Run 'cmake --help' for all supported options.
Error: could not load cache

I made a copy of build.ps1 and removed the 2 references to --host=x64
Unrelated, also make sure you:

start PS with Run as Administrator
have downloaded all of the prerequisites ...esp. the Windows 10 SDK.

@mwherman2000 I'm on Windows 10 Enterprise and have no issues with the build script when run in PowerShell.

no problem with "--host=x64 flag
Windows 10 SDK installed

PowerShell and don't --info

Windows OS Information


[WebsocketLink] Question - is recreating a channel a memory leak?

Hi, is recreating the channel without disposing the previous one considered a memory leak?
_connectionStateController.add(connecting);
_channel = await _channelGenerator();
_reconnectTimer?.cancel();

_channel = await _channelGenerator();
This line will delegate the channel delegation to the user, you have to close the old channel after you are done with it or when regenerating a new one.

So if I need to close the ws connection by myself, then there is a memory leak? Look at the constructor of WebSocketLink
WebSocketLink(
    String? uri, {
    ChannelGenerator? channelGenerator,
    this.autoReconnect = true,
    this.reconnectInterval = const Duration(seconds: 10),
    this.serializer = const RequestSerializer(),
    this.parser = const ResponseParser(),
    this.graphQLSocketMessageEncoder = _defaultGraphQLSocketMessageEncoder,
    this.graphQLSocketMessageDecoder = _defaultGraphQLSocketMessageDecoder,
    this.initialPayload,
    this.inactivityTimeout,
  }) : assert((uri == null && channelGenerator != null) ||
            (uri != null && channelGenerator == null)) {
    _channelGenerator =
        channelGenerator ?? () => WebSocketChannel.connect(Uri.parse(uri!));
  }

The default channel generator creates new channel each reconnection.

@tapkain This make sense, Thanks for the feedback.


x/build: iOS builders are down

The ios-arm64-correllium builders are currently down. https://farmer.golang.org/ indicates that they're currently missing and I've had a SlowBots job waiting on them for ~24h. I think it's the only job still waiting now. I confirmed that I also can't get them via gomote after about 30 minutes of waiting. https://build.golang.org/ also hasn't had a trybot job run on these builders in a while AFAICT.

The Android corellium builders seem missing as well.

CC @eliasnaur. Are you able to take a look?

It looks like they're back by now:

host-ios-arm64-corellium-ios: 0/3 (0 missing)
host-android-arm64-corellium-android: 0/3 (0 missing)


Development server autoreload on included modules changes

Should automatic reload work on changes in included modules under Django's development server?

Yes, it should. And it looks like it works for me. What about you?

I could manage to work it, it is working for settings/__init__.py but not for any of included modules.
Tried on Django 2.2.12/Python 3.8.2.

Seems like Django tries to be smart (at least on my setup, I suspect it might relay on how many files are watched) and does the reload only on changes of explicitly imported modules. If I do something like:
if ENV == 'development':
    from .environments import development

in end of settings/__init__.py it helps to work around the problem.

Thanks a lot for the workaround!

I made small changes to the code, which adds dummy modules to sys.modules to automatically restart runserver. The current approach does not work with Django 2.2.12.

Done! https://github.com/sobolevn/django-split-settings/releases/tag/1.0.1
Thanks a lot for the fix!

Thank you!


Update basic_usage.md

Description
I was following the basic usage example from the documentation and ran into:
$ pip install gymnasium[box2d]
zsh: no matches found: gymnasium[box2d]

It turns out one needs to wrap that argument into a single string.
The gymnasium error message for DependencyNotInstalled does this:
gymnasium.error.DependencyNotInstalled: pygame is not installed, run `pip install "gymnasium[box2d]"`

So this is a minor documentation fix.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x ] Documentation only change (no code changed)

Screenshots
Checklist:

[ ] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[ ] I have commented my code, particularly in hard-to-understand areas
[ x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

This is due to zsh Behaviour


EventWriter is writing bytes on stdout which is not supported in pyth…

…on3 #274
Resolved bug #274 for event_writer.py and event.py for modular input

Hi @chinmay2197 - thanks for the PR! Can you please fill out the contribution agreement located here: https://www.splunk.com/en_us/form/contributions.html before we proceed?

@chinmay2197  Thank you for the PR.
Latest release of python sdk supports Python3 along with Python2, so we would request you to use the latest version of python sdk
In the latest version, before writing the encoded XML document to stream, it is encoded through "ensure_str()" which handles the decoding of bytes before encoding the xml document while using Python3
Do let us know if the issue is resolved .


base_samples (npz files) for Generative Diffusion Prior (GDP) for non-linear, blind, multi-guidance problems (Low light enhancement, HDR recovery)

I was trying to run "sample_x0_enhancement_HDR.py" and "sample_x0_enhancement_low_light.py" but encountered a problem that there is no base_sample.
Can you explain how to generate those base_samples, or upload the npz files you used for the experiments?

I have uploaded the .npz files. Please have a try!
https://drive.google.com/drive/folders/1Lvp6vjovXOa3vYv98evVSxsmGX_C9sgy?usp=sharing


images still missing in advanced section

this is a copy issue. They're not inputted correctly in Coda

@mruwnik my understanding is that I input them all in the same way (convert, move to coda), and the results seem unpredictable
see https://github.com/StampyAI/stampy-ui/issues/460
Do you want me to remove them for now @melissasamworth ?

Somethings wrong if it looks like this in coda:

In this case, the image is saved as a markdown link, rather than the actual link. So it's something like ![some pic](http://url.to.pic), as opposed to just http://url.to.pic. I don't know why that is, though

@mruwnik All 4 advanced articles show that in coda, and only one of them shows up on site, I'm not sure why. I have attached a video of how I add the .png files, am I doing something incorrectly?
move_png.zip

You appear to be right, ctrl-c + ctrl-v gives a different result. I will attempt to update them.

@mruwnik I used the copy-paste method, and it shows ok in Coda for a second then reverts to the "bad icon". I refreshed the site, and one of the images appeared (governance), but not the others.
Video:
copy.zip
Files I am uploading:
advanced_images.zip
@melissasamworth I set the images at size 72x72, but they seem to get compressed horizontally. I uploaded

and the screenshot gives

Split the second half of my previous comment into https://github.com/StampyAI/stampy-ui/issues/553

The issue was that the Coda was set as an URL and not an image, it's fixed.


bug(EditDialog): trigger OnCloseAsync callback twice

trigger OnCloseAsync callback twice
Summary of the changes (Less than 80 chars)
简单描述你更改了什么, 不超过80个字符；如果有关联 Issue 请在下方填写相关编号
Description
fixes #4786
Regression?

[ ] Yes
[ ] No

[If yes, specify the version the behavior has regressed from]
[是否影响老版本]
Risk

[ ] High
[ ] Medium
[ ] Low

[Justify the selection above]
Verification

[ ] Manual (required)
[ ] Automated

Packaging changes reviewed?

[ ] Yes
[ ] No
[ ] N/A

☑ Self Check before Merge
⚠ Please check all items below before review. ⚠

[ ] Doc is updated/provided or not needed
[ ] Demo is updated/provided or not needed
[ ] Merge the latest code from the main branch

Summary by Sourcery
Fix the double triggering of the OnCloseAsync callback in the EditDialog component and update related unit tests to ensure correct behavior.
Bug Fixes:

Fix the issue where the OnCloseAsync callback in EditDialog was triggered twice.

Enhancements:

Improve the EditDialog component by ensuring the OnCloseAsync callback is only added when it is not null.

Tests:

Update unit tests for the EditDialog component to reflect changes in the OnCloseAsync callback handling.

@sourcery-ai review


Embed wpf:VlcPlayer into a UserControl

Is it possible to embed the WPF player into a UserControl? I tried putting the WPF control into a grid, but it launch a new window (titled VLC (Direct3D Output)) instead.

Ummm...I don't know how did you do that.
Maybe you can see the sample.

Issue solved! I was calling wpf:VlcPlayer.VlcMediaPlayer.Play() instead of wpf:VlcPlayer.Play() in my code-behind. We should review some access modifiers I guess. Anyway, that works perfectly! :wink:


[🚨 BUG] test issue bug 🚨

Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Environment

OS: [e.g. Arch Linux]
Other details that you think may affect.

Additional context
Add any other context about the problem here.

test issue


Refactor CI

Motivation and context

[x] Add workflow that updates yarn.lock file for PRs from Snyk
[x] Remove deprecated set-output for workflows (see more info here)

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

See how new workflow works here

/check


ci: Add tests for macos

Pull request description
Checklist (choose whats happened)

[ ] breaking change! (describe)
[ ] tested locally
[ ] tested on cluster
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Breaking changes

Changes

Fixes

@ypoplavs I think it's fine to run any command for macos CLI - just to check if it's built and installed correctly. It may be even testkube --help


Style/SingleArgumentDig: false positive when my own class has a method with the name dig.

I have my own class, and I named its own method #dig
It appears Rubocop has detected the call to #dig with a single argument and
complains because it is better to use single brackets instead of calling dig with only
one argument.
I could turn off that rule, but I am also using Hash class and #dig method in other parts
of the code.
Is it possible to fix this issue? So that Rubocop can detect if the object is a Hash or not, and complain
only if the object is a Hash?

Expected behavior
It does not detect offense of Style/SingleArgumentDig.
Actual behavior
Describe here what actually happened.
Please use rubocop --debug when pasting rubocop output as it contains additional information.
$ rubocop --debug --cache false --only Style/SingleArgumentDig offended.rb

For /home/karl/github: configuration from /home/karl/github/.rubocop.yml
Default configuration from /home/karl/github/rubocop/config/default.yml
Inspecting 1 file
Scanning /home/karl/github/offended.rb
C

Offenses:

offended.rb:12:6: C: [Correctable] Style/SingleArgumentDig: Use f[:a] instead of f.dig(:a).
puts f.dig(:a)
     ^^^^^^^^^

1 file inspected, 1 offense detected, 1 offense autocorrectable
Finished in 0.08871467800054234 seconds

Steps to reproduce the problem
# rubocop.yml
AllCops:
  TargetRubyVersion: 2.7
  NewCops: disable

# offended.rb
class Foo
  def initialize
    @calls = []
  end

  def dig(*args)
    @calls << args
    rand
  end
end

puts f.dig(:a)
puts f.dig(:a, :b)

RuboCop version
Include the output of rubocop -V or bundle exec rubocop -V if using Bundler.
If you see extension cop versions (e.g. rubocop-performance, rubocop-rspec, and others)
output by rubocop -V, include them as well. Here's an example:
$ rubocop/exe/rubocop --version
1.44.1

This cop is already marked as unsafe - https://github.com/rubocop/rubocop/blob/5230ef2238a7c88c96ee512251d248f987d49f74/lib/rubocop/cop/style/single_argument_dig.rb#L9-L12 so this is expected.

Is it possible to fix this issue? So that Rubocop can detect if the object is a Hash or not, and complain
only if the object is a Hash?

Rubocop does static analysis of the code and, unfortunately, is unable to know which type some variable will have at runtime.


Google Play Data Safety disclosure

I am working on the data safety for Android apps Google Play. The official documentation for this new privacy policy requirement can be found on this page. All apps are required to complete by April 2022.
I was not able to find the page where DataDog is disclosing data collection and usage. I am wondering if the data collection and usage are already disclosed, or this is something still being worked on.
If the latter is the case, below are some good examples that disclose the data usage in the desired format:

https://help.branch.io/using-branch/docs/answering-the-google-play-store-privacy-questions
https://firebase.google.com/docs/android/play-data-disclosure
https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/mobile-trackers/android-google-play-data-safety/

Hi @chao2zhang , you can find the list of data collected oby the Android SDK on this documentation page

Great I'll close this ticket for now, feel free to reopen it if you think some details are missing.


chore(main): release 0.0.42

:robot: I have created a release beep boop
0.0.42 (2024-06-07)
Other

deps: update golang.org/x/exp digest to 23cca88 (#272) (3f8e821)
deps: update golang.org/x/exp digest to 404ba88 (#275) (523459f)
deps: update golang.org/x/exp digest to fc45aab (#277) (0f3e729)
deps: update golang.org/x/exp digest to fd00a4e (#276) (c61758e)
deps: update module buf.build/gen/go/spectrocloud/spectro-cleanup/connectrpc/go to v1.16.2-20240205164452-95dfd137cb54.1 (#267) (be20ecb)
deps: update module github.com/go-logr/logr to v1.4.2 (#273) (123d0b9)
deps: update module github.com/onsi/ginkgo/v2 to v2.19.0 (#269) (6dfe8fc)
deps: update module github.com/onsi/gomega to v1.33.1 (#270) (dd3e040)
deps: update module github.com/slack-go/slack to v0.13.0 (#271) (2e7cff8)
deps: update module sigs.k8s.io/controller-runtime to v0.18.4 (#281) (849a047)
deps: update actions/checkout digest to a5ac7e5 (#260) (881714e)
deps: update actions/setup-go digest to cdcb360 (#261) (66f32ff)
deps: update anchore/sbom-action action to v0.16.0 (#265) (637aeeb)
deps: update codecov/codecov-action digest to 125fc84 (#262) (2e7e370)
deps: update dependency go to v1.22.4 (#278) (e9a0dc9)
deps: update docker/login-action digest to 0d4c9c5 (#263) (c5de39c)
deps: update docker/setup-buildx-action digest to d70bba7 (#264) (625691e)
deps: update gcr.io/kubebuilder/kube-rbac-proxy docker tag to v0.16.0 (#266) (91a9ac3)
deps: update gcr.io/spectro-images-public/golang docker tag to v1.22.4 (#279) (6759219)
release 0.0.42 (f67a6aa)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/validator-labs/validator/releases/tag/v0.0.42 :sunflower:


Start Using Stable Releases of JupyterHub Docker Container

Related: https://blog.jupyter.org/jupyterhub-0-9-54d43bd08a08


Does, or can, piscem allow for mismatches between query and index?

Hey @rob-p - Pretty much as the title suggests.
I'm doing some testing for a non-canonical application of piscem and am noticing that I only seemingly get tpm and ecount > 0 from piscem -> piscem-infer when there is an exact match between query and index sequence.
Is there a parallel to pufferfish's --minScoreFraction here? Or is there some other parameter tuning that I'm missing such that mismatches are allowable?
Thanks!

Hi @jeremymsimon,
Piscem does pseudoalignment (optionally with structural constraints). This means that there must be at least 1 matching kmer in order to report a match. However, there is no restriction on the query as a whole —- so there can be mismatches, gaps, etc. However, that only applies if your query is of length > k.
—Rob

So - excuse the naive question - does that mean in practice that if my query is 25bp and my index is built with k=23, I could in effect have 0, 1, or 2 mismatches?
And relatedly, how does piscem handle a case if a given query aligns perfectly to one location but with 1 mismatch to a secondary location?

Hi @jeremymsimon,
No need for apologies!

does that mean in practice that if my query is 25bp and my index is built with k=23, I could in effect have 0, 1, or 2 mismatches?

It depends somewhat on the details of what happens with the non-matching k-mers and where the mismatch occurs (see my answer to your other question below).  But in such a case, any of the present 23-mers would be sufficient to map the read to the reference.

And relatedly, how does piscem handle a case if a given query aligns perfectly to one location but with 1 mismatch to a secondary location?

Currently, only co-optimal mappings are reported.  That is, if there is some set of targets P that account for the maximum number (say m) of matched k-mers, then any target Q having fewer than m matches will not be reported.  Note in this case, since we're just talking about k-mer matches, even a single mismatch could cause many k-mers not to match (e.g. a mismatch in the middle of a target could cause there to be up to k mismatches).  For example, if you have a query of length 50, and a mismatch right in the "middle" (not exactly the middle since 50 is even, but you get the idea), then it's possible that no 25-mer could actually match exactly.
It's worth mentioning that the behavior of what to do with sub-optimal mappings is something that could be adjusted / modified.  That is, if there's a need to report such things it would likely be possible to add such functionality to piscem.  However, as a k-mer based method, the constraint that at least a single k-mer must match the query is pretty fundamental.

Thanks for that description, and I think this is the issue I'm facing with an already-short k in my case (k < 20) given my short queries. If I want to be tolerant of a potential mismatch in the middle of the query, then in actuality, it seems I would need an exceedingly small k=9 or shorter, and for up to 3 mismatches that could occur anywhere, it may simply not be feasible. Am I understanding that all correctly? If so this may just represent a fundamental limitation of a k-mer approach for the type of non-canonical application I'm looking at currently-


Ansible copy module (remote target) extreme performance decrease

I am using the Ansible copy module to copy a file (3gb) to a remote target in my LAN.
This takes roughly 0:30 without and 8:30 with Mitogen enabled.
- name: Test copy
  copy:
    src: /src/a.file
    dest: /dest

Mitogen version: Git master 03 march 2023
Remote Machine: RHEL 8.5 / Python 3.6.8
Ansible Controller: RHEL 8.6 / Python 3.6.8
ansible [core 2.11.12]
  config file = None
  configured module search path = ['/home/ehtest/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/ehtest/.local/lib/python3.6/site-packages/ansible
  ansible collection location = /home/ehtest/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/ehtest/.local/bin/ansible
  python version = 3.6.8 (default, Jan 14 2022, 11:04:20) [GCC 8.5.0 20210514 (Red Hat 8.5.0-7)]
  jinja version = 3.0.3
  libyaml = True

I can't reproduce such an extreme slowdown, merely a 2.5 x. Copying macOS 13/arm64/python 3.6.15 -> Ubuntu 22.04/amd64/python 3.6.15, 1 GB of /dev/random, over WiFi.
Some clarifying questions

Can you confirm the OS/Python combination for controller and target? Context: I'm surprised at the combination RHEL 8.x, Python 3.6.8. Going by distrowatch RHEL 8.x ships Python 3.9. It was RHEL 7.x that shipped with 3.6.
What is the raw network speed? (e.g. 1 Gbit ethernet)
How much does the file you are compying compress? (e.g. 40% original size with gzip)
Does your result change with current master (rev ec212a10d8490db582b217ecac1f86344c56347e)

For posterity, this was my reproduction attempt.
copy_1_GiB.yml
- name: Test copy
  hosts: bertha.local
  gather_facts: false
  tasks:
    - file: {path: ~/1_GiB, state: absent}
    - copy: {src: 1_GiB, dest: ~/1_GiB, mode: u=rw}

tox.ini
[tox]
envlist =
    py{27,36}-tgt{27,36}-{ansible,mitogen}
requires =
    virtualenv<20.22.0

[testenv]
basepython =
    py27: python2.7
    py36: python3.6
deps =
    py27: ansible~=4.0
    py36: ansible~=4.0
install_command =
    python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages}
commands =
    tgt27: ansible-playbook -i inv.yml -e ansible_python_interpreter=python2.7 copy_1_GiB.yml
    tgt36: ansible-playbook -i inv.yml -e ansible_python_interpreter=python3.6 copy_1_GiB.yml
setenv =
    ANSIBLE_PIPELINING = true
    ANSIBLE_STRATEGY_PLUGINS = ../ansible_mitogen/plugins/strategy
    ansible: ANSIBLE_STRATEGY = linear
    mitogen: ANSIBLE_STRATEGY = mitogen_linear

$ dd if=/dev/random of=1_GiB bs=1m count=1024
$ tox
...
  py27-tgt27-ansible: OK (45.26=setup[0.03]+cmd[45.23] seconds)
  py27-tgt27-mitogen: OK (40.15=setup[0.01]+cmd[40.15] seconds)
  py27-tgt36-ansible: OK (38.80=setup[0.01]+cmd[38.79] seconds)
  py27-tgt36-mitogen: OK (36.27=setup[0.01]+cmd[36.27] seconds)
  py36-tgt27-ansible: OK (44.14=setup[0.01]+cmd[44.14] seconds)
  py36-tgt27-mitogen: OK (101.77=setup[0.01]+cmd[101.77] seconds)
  py36-tgt36-ansible: OK (39.63=setup[0.01]+cmd[39.63] seconds)
  py36-tgt36-mitogen: OK (97.18=setup[0.00]+cmd[97.18] seconds)
  congratulations :) (443.25 seconds)

$ time (ssh bertha.local rm 1_GiB; scp 1_GiB bertha.local:)
1_GiB                                                                           100% 1024MB  29.1MB/s   00:35
( ssh bertha.local rm 1_GiB; scp 1_GiB bertha.local:; )  3.42s user 1.12s system 12% cpu 36.373 total

@el-pako as a short term measure using https://github.com/moreati/mitogen/commit/2d1fff23e31b7c77532147260c6e48d9e66ef468 should improve your 3.x -> 3.x copy speed. It brought vanilla Ansible and Ansible+Mitogen to a similar speed in my test playbook.
$ tox -e py36-tgt36-ansible,py36-tgt36-mitogen
...
  py36-tgt36-ansible: OK (37.64=setup[0.02]+cmd[37.62] seconds)
  py36-tgt36-mitogen: OK (32.96=setup[0.00]+cmd[32.95] seconds)

The longer term saga is in #485.


Using in PyCharm

I am trying to use it in PyCharm but nothing seems work. I can see the plot, the markers, but it's not interactive.

What matplotlib backend are you using?


All methods return 'is not a function'

Describe the bug
When you call a method (either updateBackground or updateTitle) it shows 'is not a function'
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10 1909
Electron version 10.1.0
Node Version 12.16.3

I couldn't reproduce that. I added both method calls inside the example app (preload) and it changed title and background as expected. Please add more info to show how you used the library.
I see that you probably used it on the render.js script while the example application defines the titlebar on the preload.js.

yeah i put it in the render.js and i didn't know where to put it. I used a form to change the title in this screenshot and it calls the function ok() in the render file (linked with the HTML file)
So all methods should run in preload file ? And can IPCs run in preload file ? (I have a doubt about this)

Honestly, I never tried using the titlebar on a render script, I always used it with the preload. So I can't tell if or how it will work and what are benefits or limitations.
You could try creating the titlebar on the preload and adding it as window.titlebar to access it from the render script later.
IPC works fine on the preload. That's something I use always on my apps.
I close this ticket as it does not seem to be a bug or an issue.

I think I need some help...
I called the function in the preload file. ipcMain was loaded from https://github.com/Treverix/remote

But it return this in node console:

ipcMain is for the main process, you need to use ipcRender on preload and render scripts. If you want to send a message from the render to the preload script via ipc, then you could try to

send a message from render to the backend (ipcRender.invoke('title-updated', 'new title))
fetch the message here and push it back to the render process (ipcMain.handle('title-updated', (e, title) => {webContents.send('titlebar-update-title', title)}
fetch the new message on the preload script (ipcRenderer.on('titlebar-update-title', (e, title) => {titleBar.updateTitle(title)})

As a rough idea, not sure if the syntax is 100% OK.
Otherwise, as I suggested, try adding the titlebar reference to window or document to use it on the render script also.


Do not compile tests from included libraries

I have added the Arduino CI enabled version of LiquidCrystal to another library and it finds it and properly references the headers. My problem is that it also tries to compile the test directories and I only want the src/ files.
A portion of .arduino-ci.yml follows:
unittest:
    exclude_dirs:
        - "/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/"
    platforms:
        - mega2560
    libraries:
      - "LiquidCrystal"

Following is the error. From the "Last command" you can see that it is including .cpp files from LiquidCrystal/test/, and I don't want those. I believe it is just including everything under libraries/LiquidCrystal. I've tried to exclude the directory (see above). Any advice?
Located Arduino binary...                              /Applications/Arduino.app
The set of compilers (1) isn't empty...                                        ✓
Checking g++ version...
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
    Target: x86_64-apple-darwin19.6.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
...Checking g++ version                                                        ✓
libasan availability for g++...                                             true
Requested unittest platform 'mega2560' is defined in 'platforms' YML...        ✓
Using pre-existing library...                                      LiquidCrystal
Unit testing Blink.cpp with g++...

Last command:  $ g++ -std=c++0x -o /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/unittest_Blink.cpp.bin -DARDUINO=100 -g -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=address -D__AVR_ATmega2560__ -DARDUINO_CI -I/Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino -I/Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/unittest -I/Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src/Devices -I/Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src -I/Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src/UIState -I/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal -I/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/src /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/Arduino.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/Godmode.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/stdlib.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/unittest/ArduinoUnitTests.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src/Devices/LiquidCrystal_TC.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src/TankControllerLib.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/src/UIState/MainMenu.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/src/LiquidCrystal.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/src/LiquidCrystal_CI.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/BaseClass.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/Common.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/TestClass.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/Arduino.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/Godmode.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/arduino/stdlib.cpp /Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/cpp/unittest/ArduinoUnitTests.cpp /Users/jfoster/Documents/Arduino/libraries/TankControllerLib/test/Blink.cpp

/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/Common.cpp:91:3: error: unknown type name 'LiquidCrystal_Test'; did you mean 'LiquidCrystal_Base'?
  LiquidCrystal_Test lcd1(rs, enable, d4, d5, d6, d7);
  ^~~~~~~~~~~~~~~~~~
  LiquidCrystal_Base
/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/src/LiquidCrystal.h:54:7: note: 'LiquidCrystal_Base' declared here
class LiquidCrystal_Base : public Print {
      ^
/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/Common.cpp:92:3: error: unknown type name 'LiquidCrystal_Test'; did you mean 'LiquidCrystal_Base'?
  LiquidCrystal_Test lcd2(rs, rw, enable, d4, d5, d6, d7);
  ^~~~~~~~~~~~~~~~~~
  LiquidCrystal_Base
/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/src/LiquidCrystal.h:54:7: note: 'LiquidCrystal_Base' declared here
class LiquidCrystal_Base : public Print {
      ^

This may be a duplicate of #168, can you see if #183 fixes it?

What is the best way to test #183? There are 57 files changed, so this doesn't seem like something to test by hand. Should I add ianfixes as a remote, then checkout that branch and copy it into vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0? It would be one less step if it were pushed from ianfixes to arduino_ci as a branch.

I think I'm using the new code and the problem still exists. Specifically, I'm including LiquidCrystal and the error comes when compiling test/Common.cpp. This file is listed in arduino_ci.yml as something to be rejected when testing (it relies on macros that are defined in other files). So, either you need to parse .arduino-ci.yml in referenced libraries (seems complicated) or you should exclude test directories completely when importing external libraries (my preference).

Yes, #183 fixes it. Thanks!

You can get the gem directly from github by putting this in your Gemfile:
gem 'arduino_ci', git: 'https://github.com/ianfixes/arduino_ci.git', branch: '2020-10-16_suggestions'


fix: ActionCenterTile defaults to <button>

Currently a user needs to press the icon inside an ActionCenterTile to toggle dark theme or animations.
If the whole ActionCenterTile would be clickable the touch/click target would be bigger and easier to use.
I tried to find a solution that respects semantics and roles. I am not an a11y expert, but it should be fine:

The ActionCenterTile component now defaults to a <button> element instead of a <div>. This makes clickable tiles have the default button behavior, i.e. it's focus-able and also eliminates the need to manually listen to on:keyup.

Inside the ActionCenterTile I've also added text-align: start to override the default browser behavior of centered button text. The styles slightly changed because the tile is a <button> now, but it looks "correct", to me at least 😅

Since the tile for system color is not a clickable tile, I've added a role input, so we can tell the browser that this tile is a region (which is the role of a <section> element).

This is the part I'm not 100% sure on a11y/semantics wise btw.

The icons now get wrapped in a <span> instead of a <button> and I've renamed the class to be more accurate. I've also added justify-content: center to the class to correctly align the icon. Of course I've also moved the on:click events to the wrapping ActionCenterTile component.

i hope i am doing this somewhat right, this is my first real oss pr
:v: Peace out 😄

This is perfect!
I am confused about the whole role thing too, but for now, it's good!
Thank you so much for this!


Update readme

Readme shows the information related to the template used to create this repository. Information should be updated. It should say:

What this repository is about
How to contribute
Useful links to esmvaltool pages

Good point. A first attempt can be found here: #31


[firebase_messaging] FirebaseMessagingAutoInitEnabled seems to be ignored on iOS

Describe the bug
Anyone else experiencing, that the FirebaseMessagingAutoInitEnabled flag in the info.plist file is ignored? Instead of showing the iOS notification permission dialog only after the permission request is called from code, the popup appears directly after first app start.
To Reproduce
Steps to reproduce the behavior:
Setup a new project and add FirebaseMessaging according to default integration tutorial on Firebase homepage.
Expected behavior
iOS notification permission dialog should only be shown after the permission requests is called from code, not directly after first app start

Hi @LucasR93
could you please provide your updated  flutter doctor -v
and your flutter run --verbose?
Thank you

Flutter Doctor:
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15.1 19B88, locale en-DE)
• Flutter version 1.9.1+hotfix.6 at /Users/lucasreiners/flutter
• Framework revision 68587a0916 (10 weeks ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/lucasreiners/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Users/lucasreiners/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5900203/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[!] Android Studio
• Android Studio at /Users/lucasreiners/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/182.5264788/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
✗ Android Studio not found at /Users/lucasreiners/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/182.5264788/Android Studio.app/Contents
• Try updating or re-installing Android Studio.
[!] IntelliJ IDEA Ultimate Edition (version 2019.2.4)
• IntelliJ at /Users/lucasreiners/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.40.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• iPhone 6s Plus • F753F1CE-0207-4017-9CA6-820DECF4B3CF • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
! Doctor found issues in 4 categories.

outout of run --verbose is too long to be posted unfortunately

My bad, another library caused the trouble. Not a bug in firebase messaging :)

Same issue, what package was causing the issue?


C Programming file added and basics contents added #65

issue #65
C Programming Notes added
Three chapters have been added up until this PR.
like:  What is C?
History of C
Why Learning C? / Benefits of Learning C language
More than three chapters will be added, so please do not close this issue.
codes and examples are coming along with my next PR.
Kindly review the current PR and approve it.
If there is any mistake or something to add up then tell me without any hesitation. I'll work on that and live up to your reputation.

we cannot accept the PRs just to increase the numbers as you have stated that you will be adding examples in next PR, it's against hacktober fests guidelines

ok then I have to complete the whole task first, then submit a PR ryt?
Ok! I'm working on it..

To update you @UjjwalSharma01,
I have divided the basics of C Programming into a total number of 6 chapters.
3/6 chapters are done from my side, with proper definitions and explanations.
I have added proper examples and code snippets to the documentation and the first Three chapters.
I want to take at least another two days to complete the rest Three chapters because they contain the following:

Functions
Arrays & Pointers
Structures & Unions
So, I want to take adequate time to document these topics.

Take your time


update failure & confusing error message

% cs update
https://repo1.maven.org/maven2/io/get-coursier/apps/maven-metadata.xml
  No new update since 2022-02-02 05:04:16
https://repo1.maven.org/maven2/com/lihaoyi/ammonite_2.13.8/maven-metadata.xml
  No new update since 2022-02-01 09:09:01
https://repo1.maven.org/maven2/io/get-coursier/coursier-cli_2.12/maven-metadata.xml
  No new update since 2022-02-01 11:57:53
https://repo1.maven.org/maven2/io/get-coursier/coursier-cli_2.12/maven-metadata.xml
  No new update since 2022-02-01 11:57:53
https://repo1.maven.org/maven2/io/get-coursier/coursier-cli_2.12/maven-metadata.xml
  No new update since 2022-02-01 11:57:53
Error downloading gz+https://github.com/coursier/coursier/releases/download/v2.1.0-M4/cs-x86_64-pc-linux.gz

Do you know what's the current version of cs? (cs --help should print it.)
As a workaround, this should work:
$ cs install coursier
$ coursier update cs

this is strange.  i had two identical (hand-wavvy identical, software only) systems.  both were up-to-date fedora 35 instances (one a vm, the other on bare metal).  in response to "--help", both reported version 2.0.16.  a 'cs update' on one worked.  and on the other failed as reported.  after i did your workaround, 'cs update' worked.  however, 'cs --help' after the workaround reports:
cs --help
Usage: /home/mtk/.local/share/coursier/bin/.cs.aux <COMMAND>
Coursier is the Scala application and artifact manager.
It can install Scala applications and setup your Scala development environment.
It can also download and cache artifacts from the web.

Install application commands:
  install    Install an application from its descriptor.
  list       List all currently installed applications.
  setup      Setup a machine for Scala development.

and i just did the workaround on the box where 'cs update' worked (where '--help' reports 2.0.16).  and it triggered this:
% coursier update cs
Exception in thread "main" java.lang.Exception: Reading /home/mtk/.local/share/coursier/bin/cs
        at coursier.install.InfoFile$.readSource(InfoFile.scala:64)
        at coursier.install.InstallDir.$anonfun$maybeUpdate$3(InstallDir.scala:435)
        at coursier.install.InstallDir.$anonfun$maybeUpdate$3$adapted(InstallDir.scala:427)
        at coursier.util.Task$.$anonfun$flatMap$extension$1(Task.scala:14)
        at coursier.util.Task$.$anonfun$flatMap$extension$1$adapted(Task.scala:14)
        at coursier.util.Task$.wrap(Task.scala:82)
        at coursier.util.Task$.$anonfun$flatMap$2(Task.scala:14)
        at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
        at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.zip.ZipException: zip END header not found
        at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1607)
        at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1497)
        at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1504)
        at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1308)
        at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1271)

Also seeing this on Mac
Error downloading gz+https://github.com/coursier/coursier/releases/download/v2.1.0-M4/cs-x86_64-apple-darwin.gz

Running
coursier update cs

alleviated the issue

It seems that coursier at gh-pages branch (downloaded from https://git.io/coursier-cli, as explained in the doc) causes this issue. The master branch (https://github.com/coursier/launchers/raw/master/coursier) works fine.

@matil019 https://github.com/coursier/coursier/pull/2359 should fix that (no more git.io in the install docs)

@alexarchambault Unfortunately, the gh-pages branch itself (https://github.com/coursier/coursier/raw/gh-pages/coursier, which the git.io URL pointed to) fails with the same error.

Hi everyone, is this actually solved? I just got the same error message using the master link:
> curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs
...
> chmod +x cs
> ./cs update cs
Exception in thread "main" java.lang.Exception: Reading /home/max/.local/share/coursier/bin/cs
	at coursier.install.InfoFile$.readSource(InfoFile.scala:64)
	at coursier.install.InstallDir.$anonfun$maybeUpdate$3(InstallDir.scala:435)
	at coursier.install.InstallDir.$anonfun$maybeUpdate$3$adapted(InstallDir.scala:427)
	at coursier.util.Task$.$anonfun$flatMap$extension$1(Task.scala:14)
	at coursier.util.Task$.$anonfun$flatMap$extension$1$adapted(Task.scala:14)
	at coursier.util.Task$.wrap(Task.scala:82)
	at coursier.util.Task$.$anonfun$flatMap$2(Task.scala:14)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.lang.Thread.run(Thread.java:833)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:597)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:194)
Caused by: java.util.zip.ZipException: zip END header not found
	at java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469)
	at java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
	at java.util.zip.ZipFile$Source.<init>(ZipFile.java:1315)
	at java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
	at java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
	at java.util.zip.ZipFile.<init>(ZipFile.java:243)
	at java.util.zip.ZipFile.<init>(ZipFile.java:172)
	at java.util.zip.ZipFile.<init>(ZipFile.java:186)
	at coursier.install.InfoFile$.readSource(InfoFile.scala:44)

Or am I missing something?

It looks like the default launcher link has a corrupt jar embedded in it.  Fortunately install still works and cs comes under multiple names, so the following workaround worked for me:
cs install coursier
rm `which cs`
coursier install cs


Missing most OSDI resources

This tool is nice but it's lacking support for the following OSDI resources:
Advocacy Campaigns
Answers
Attendances
Canvasses
Canvassing Efforts
Donations
Events
Forms
Fundraising Pages
Items
Lists
Messages
Outreaches
Petitions
Queries
Results
Scripts
Script Questions
Share Pages
Signatures
Submissions
Taggings
Is this still under active development and does NGPVan have plan on supporting the rest of the OSDI spec?

Events, Attendances, Canvass responses, Scripts, and Script questions DO exist.


continue on issues#5

continuing here https://github.com/glasnt/wail2ban/issues/5 ...
So I've downloaded the lateste release and still have the same issues, what I've noticed is that on the logs themselves I get and empty souce network address field, I'm trying this on a local PC so the IPs should be all "private" LAN IPs I dont know if that would have any effect also I've seen some people saying this is related to the encryption and the type of connections there was a few way of solving this for 2008 but havent found anything for 2012 R2 dont know if anyone will have seen this and have a solution or any guidance on where to start looking in to this?
Regards and Thanks.

Hi, as I mentioned in the other PR (https://github.com/glasnt/wail2ban/pull/4#issuecomment-266885463) I have no way to test or debug any of these issues as I don't have access to any Windows server systems.
In addition, this repo is marked "No maintenance intended".
I'm sorry I'm unable to help you.

Hi, I appreciate that is marked as no maintenance needed. I see what I can do to sort my issues.
Kind regards and thanks


[BUG] System.Exception: Signature does not match!

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
So im updating roblox via Bloxtrap, like i've always done and it just shows this error mid uploading: System.Exception: Signature does not match!
Bloxstrap_20240316T005306Z.log
I've attached the log created by the app

Nevermind, fixed it reinstalling roblox via bloxtrap


Step three

Running experiment on a Mac clang might need to be updated
I finally got step three to work for the most part but ran into a couple errors
Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
Building wheels for collected packages: gym, hnswlib, PySDL2, mediapy, pathtools
Building wheel for gym (pyproject.toml) ... done
Created wheel for gym: filename=gym-0.26.2-py3-none-any.whl size=827622 sha256=dd921f2ef6e95cc5f886b6db494c35484beb0f7f2ba566f008ef0cb7b3f0d6a4
Stored in directory: /Users/zacharyrose/Library/Caches/pip/wheels/1c/77/9e/9af5470201a0b0543937933ee99ba884cd237d2faefe8f4d37
Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running bdist_wheel
running build
running build_ext
creating var
creating var/folders
creating var/folders/mn
creating var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn
creating var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/tmpy1d1k1eq.cpp -o var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/tmpy1d1k1eq.o -std=c++14
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/tmpfvhsys6y.cpp -o var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/tmpfvhsys6y.o -fvisibility=hidden
building 'hnswlib' extension
creating build
creating build/temp.macosx-10.9-universal2-cpython-311
creating build/temp.macosx-10.9-universal2-cpython-311/python_bindings
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/pip-build-env-peyrlm2d/overlay/lib/python3.11/site-packages/pybind11/include -I/private/var/folders/mn/l5n3l1kj13x2m0t8pzh0jj100000gn/T/pip-build-env-peyrlm2d/overlay/lib/python3.11/site-packages/numpy/core/include -I./hnswlib/ -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c ./python_bindings/bindings.cpp -o build/temp.macosx-10.9-universal2-cpython-311/./python_bindings/bindings.o -O3 -march=native -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="0.7.0" -std=c++14 -fvisibility=hidden
clang: error: unsupported argument 'native' to option '-march='
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hnswlib
Building wheel for PySDL2 (pyproject.toml) ... done
Created wheel for PySDL2: filename=PySDL2-0.9.15-py3-none-any.whl size=573308 sha256=2f1dcb7156ecbe931d0fa12d25bae4622a25d5bc16382f7f8f9cb46e4ad488f6
Stored in directory: /Users/zacharyrose/Library/Caches/pip/wheels/8e/c4/32/34f901467104e637e14634b2cff44053c93753f5ce52eacb0d
Building wheel for mediapy (pyproject.toml) ... done
Created wheel for mediapy: filename=mediapy-1.0.3-py3-none-any.whl size=24074 sha256=c5f7cd9f9cfac9682e1d2dfe170fb9515c67f472495a95b587938ff6c4b894c8
Stored in directory: /Users/zacharyrose/Library/Caches/pip/wheels/d4/7d/6b/971d9f470a859769dd50747d7ea1ee86353edf1cd32a323c6e
Building wheel for pathtools (pyproject.toml) ... done
Created wheel for pathtools: filename=pathtools-0.1.2-py3-none-any.whl size=8791 sha256=978e25795ff1f70c781d574b3e578fb636079f999882ef4cfb78116e44007cf0
Stored in directory: /Users/zacharyrose/Library/Caches/pip/wheels/ea/b7/8b/84e94095ea418b9442f5abeba4ca7b0ad52d3fe7b69d6238a6
Successfully built gym PySDL2 mediapy pathtools
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects

(copied from https://github.com/PokeDraw/learning-Pokemon/issues/1#issuecomment-2083703127)
Based on
“ clang: error: unsupported argument 'native' to option '-march='
“
it sounds like you possibly have an old version of clang, perhaps from an outdated install of xcode or llvm. see if you can update that and if it fixes it.
Also, if you open issues on the main repository instead of creating your own other people besides me will see it and can help

Apple clang version 15.0.0 (clang-15<IP_ADDRESS>) any command to install latest version


Adding more info on Dev Spaces

Adding more information on Azure Dev Spaces, for people who are looking for that rather than general k8s documentation, or to raise awareness for people interested in k8s

@lisaguthrie : Thanks for your contribution! The author, @ghogen, has been notified to review your proposed change.

@ghogen Can you look at this PR? @lisaguthrie We generally ask Microsoft employees to use the private repo, visualstudio-docs-pr, to submit PRs. It allows you to preview the page before merging the PR.

#sign-off


About ACDC DSC Metric

Hi, I would like to ask the authors, is the dsc metric with a value of 92.83 in the ACDC dataset in your paper a validation set or is it a test set metric for inference, because when I look at the source code, your test set is treated as a validation set?

Hi @QikaiZhang ,
Thanks for the questions.
The DSC metric for ACDC dataset (92.83%) is based on the testing set not the validation set. The 100 patients are divided into 70 training samples, 10 validation samples, and 20 test samples. We use the same data division of nnFormer paper. Please note that the testing validation samples are defined here: https://github.com/Amshaker/unetr_plus_plus/blob/bc6bed1eb2d2d735d5f44740958ef4ea862304a6/unetr_pp/training/network_training/unetr_pp_trainer_acdc.py#L401C1-L402C1
Let me know if you have any questions.
Best regards,
Abdelrahman.

Thank you for your careful answer, but I think there are still some confusing points, in this py script you gave, in this code file, the way you divide your data is 80 for training and 20 for validation, and your validation part overlaps with the test part of nnFormer, 100 data samples you used all for training and validation, so what are your test set? Or give the serial number of these test samples.
Looking forward to your answer.


Fix: Tags on MongoDB Module

Build seems broken with 2 PRs merged at the same time:

#2613 @DamnClin
#2121 @antarus

cc @pascalgrimaud

True, if you have the authorizations I think you can merge it :) (I can't)

@DamnClin yes I can

Thanks @qmonmert
Yes, don't hesitate to merge bug fixes :-)


Fixed missing URL for closing the order modal after submit.

Bug Fixes

order modal did not close after submitting an order

fixes: https://projects.engineering.redhat.com/browse/SSP-245

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #125   +/-   ##
=====================================
  Coverage      87%    87%
=====================================
  Files          70     70
  Lines         631    631
  Branches       50     50
=====================================
  Hits          549    549
  Misses         76     76
  Partials        6      6

Impacted Files
Coverage Δ

...ponents/Order/OrderServiceFormStepConfiguration.js
76% <ø> (ø)
:arrow_up:

src/SmartComponents/Common/OrderModal.js
100% <ø> (ø)
: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 1ea2845...e475e81. Read the comment docs.


Loading Big IFC

Hi, I noticed that if I load a large IFC, like 90 MB of IFC, I go at 10 fps, the performance drops and with 20 MB or less of IFC data, I remain stable at 60 fps, any solution?

Have you tried using the ifcStreamer? Instead of loading the full model, you stream the parts that you require. This works for geometry and properties.  It gets rid of loading times and it is much performant.
I use is with 500MB+ IFCs and it works great.
Let me know if you need guidance setting it up.

Hi, these days I’ve been using the culler, and it works well, especially to avoid a drop in FPS. However, if I’m not mistaken, the streamer must have saved the .json files somewhere, which adds an extra step in the design phase that I don’t want to deal with.
I want the user to load the IFC and see it in one step. At the moment, the culler seems okay, although I would prefer to have the model fragments always visible rather than loading some fragments and not others (lazy loading)

@ManuzXo it's not possible to load an IFC fast and display it efficiently because IFC was never designed for visualization speed. That's why we created fragments (and streaming): to be able to open huge amounts of geometries fast. Glad that the culler does the job for you. If you find a better solution, feel free to propose it! Closing this for now
Thanks @nicoarellano for taking care :)


New version: Ryujinx.Ryujinx version 1.1.1217

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Automatic Validation ended with:

2024-03-02T12:46:23.0729674Z ##[error] Manifest Error: Required field missing. [NestedInstallerFiles]

(Automated response - build 863.)


Mimecast API integrations create new workspaces

Describe the bug
The Mimecast integrations from the content hub create new workspaces when you follow the instructions provided.  I've seen a workaround for this problem on one of he closed tickets on this subject but that workaround isn't practical for me as I will be deploying these connectors multiple time for multiple instances of Mimecast.
To Reproduce
Steps to reproduce the behavior:

Go to Sentinel ==> content hub
Search for Mimecast, choose one of them,
Follow the setup instructions
After hitting the deploy button, observe new LA and Sentinel workspaces with the same name as the function app.

Expected behavior
The connector should use the workspace that is specified during setup.
Additional context
See the two closed tickets where the title starts with, "Mimecast API integration"

Hi @sapg, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 30-11-2023. Thanks!

Hi @sapg, I hope this message finds you well. This solution's is a supported with Mimecast, we kindly request you to raise an issue ticket with Mimecast's support team.
Sharing the Mimecast mail ID and support link -
Mail Id -<EMAIL_ADDRESS>Link - "https://community.mimecast.com/s/contactsupport"
So, closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.
Thanks!


fix: don't access disposed resources

This PR is ensuring that the host does not stop with an exception. Those exceptions were occuring because the CancellationTokenSource inside the hosted services was already disposed when StopAsync got called.
The reason for this is that the host invokes DisposeAsync before StopAsync.

Thank you @nachtjasmin :-)
Wow, I did not remember these async patterns to be this verbose 😅


added duration format to support ISO8601 strings

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

This change is to support our service's use of ISO8601 strings in customer payloads, which was supported as-is with AutoRest V2 but AutoRest V3's TimeSpan usage introduces a serialization layer that was incorrectly configured.

Would this still be considered a breaking change if it is a fix for existing broken functionality?

@leni-msft This has been approved by the breaking change board - can you approve?