netperf fails to run if container's MTU is -50 Bytes than external interface

Setup:

External interface with a MTU of 1460
container's MTU set with 1410 (-50 Bytes)
cilium running with ipv4 and vxlan mode ON

$ ip l
2: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 42:01:ac:10:00:14 brd ff:ff:ff:ff:ff:ff
6: cilium_net@cilium_host: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether ce:f9:a6:c3:81:98 brd ff:ff:ff:ff:ff:ff
7: cilium_host@cilium_net: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 8a:c4:b0:1e:67:7b brd ff:ff:ff:ff:ff:ff
8: cilium_vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 06:18:46:0d:cc:03 brd ff:ff:ff:ff:ff:ff
102: lxc92f04@if101: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1410 qdisc noqueue state UP mode DEFAULT group default
    link/ether 8e:42:fa:41:87:b3 brd ff:ff:ff:ff:ff:ff link-netnsid 0

Run netperf -l 30 -t TCP_STREAM -H SOME_IPV4 the test fails after 4 to 7 seconds.
With 1420 everything runs fine, with IPv6 (in VxLAN mode)+1410 runs fine, this only happens when we aren't fragmenting VxLAN packets (IPv4 in VxLAN mode).

More info:

Machine type: n1-highcpu-8 (8 vCPUs, 7.2 GB memory)


Whiteboard still not supported 2 years after launch

It is 2 years since Microsoft launched Whiteboard and it is still not listed as an Approved Client App. This is beyond ridiculous. This should be on the day one checklist for any new Microsoft mobile application.

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

ID: 0073f5a8-daf6-7f14-127f-e0c9d80af78d
Version Independent ID: d6d0afdf-3619-ca03-718b-a40bfd07bab9
Content: Azure Active Directory conditional access settings reference
Content Source: articles/active-directory/conditional-access/technical-reference.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

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

Same with Outlook Groups and the new Remote Assist app.

Please open product feedback items for this if still an issue. Product feedback is to the left of the option for docs feedback in the document. That will get this to the proper teams who can prioritize this work.

#please-close


[Enhancement][Cherry-Pick][Branch-2.5] Improve subfield partial load for complex type column

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Cherry-pick: https://github.com/StarRocks/starrocks/pull/17397
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_be_unittest

run starrocks_clang-format

run starrocks_fe_unittest

run starrocks_be_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

run all


AR feature cleanup

This change implements some minor cleanup of our AR feature, including:

Some related modules converted to TypeScript
Better names for things
Slot-ified the AR button

This PR makes me terribly excited.


problem installing unity wrapper on linux

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18)

Kernel Version (Linux Only)
5.4.0-139-generic

Platform
Linux

SDK Version
2.53.1

Language
unity

Segment
AR

Issue Description
Hi , I followed  the documentation of librealsense wrapper for unity , but it looks like the documentation only specify how to integrate the unity solution with windows . when I tried to build the solution with cmake using the command from the documentation :
cmake .. -DBUILD_CSHARP_BINDINGS=ON -DBUILD_UNITY_BINDINGS=ON -DBUILD_SHARED_LIBS=ON \ -DDOTNET_VERSION_LIBRARY=3.5 -DCMAKE_GENERATOR_PLATFORM=x64 \ -DUNITY_PATH=<path_to_unityeditor>/Unity.exe
I got the following error :
-- Checking internet connection... -- Internet connection identified -- Info: REALSENSE_VERSION_STRING=2.53.1 -- Setting Unix configurations -- Building libcurl enabled -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")  -- using RS2_USE_V4L2_BACKEND -- libusb not found; using internal version (missing: LIBUSB_LIB LIBUSB_INC)  -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")  -- Checking for module 'libudev' --   No package 'libudev' found -- Could NOT find Udev (missing: UDEV_INCLUDE_DIRS UDEV_LIBRARIES)  -- UDEV not found; using polling device-watcher! CMake Error at wrappers/CMakeLists.txt:43 (message):   BUILD_UNITY_BINDINGS is supported only for Windows OS
can you please explain to me how to integrate the unity wrapper on Linux . Thanks on advance

Hi @Y0u-553f  There is an installation guide for Unity and RealSense on Linux at the link below.
https://lightbuzz.com/docs/getting-started/installation-linux-cpu/

Hi @Y0u-553f  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Add absolute truncation option to dir segment

There were a few ways to do this - I have no idea about which ways yield the best performance (tbh I'm not very familiar with bash scripting, but I just assume the less pipes the better).
I've also included an alternative implementation which seems to work - but for some reason, the implementation of every other truncation option doesn't use stuff like %~ and surely there must be a reason, which is why I've commented it out.
I'm sure I could work on this a bit more to give it more customizability - I've just implemented it so that I can get my prompt to appear how I want. As a sidenote, I definitely think that the dir configuration options could be refactored and made more powerful and easier to use.

@dualscyther - Thanks so much for the PR! I'm somewhat surprised that you're the first person to comment on / want this, hah! Seems like an obvious thing, now that you've done it.
This really ought to be documented in the code, but I'm fairly sure that %~ isn't used because ZSH doesn't set that field until too late in the process, and since we try to prepare prompts before they are needed, it results in broken strings. @dritter or @rjorgenson might have more thoughts, here.
Regarding the difference in implementation, the second implementation actually doesn't work for me - ZSH is stumbling over some parsing errors. The first one does work, however.
I'd like to give folks who are more familiar with the truncation code than I am (namely, @dritter, and I believe @docwhat), a chance to provide thoughts on which approach might be better.
Regardless, thanks for submitting your PR against next! I'm excited to get this merged. Would you mind pushing an update to the README, documenting this new feature, too?

Strange, the second implementation works fine for me - maybe it's different because I use oh-my-zsh or something - but then again you said that %~ is buggy. I'm actually not that familiar with how zsh works internally with regards to building the prompt etc.. I'll have to read up on it.
Anyway, can do, I'll try to get this done soon.

@dualscyther - Sorry for the delayed response, here! Thanks so much for incorporating our feedback and for documenting the new feature!. This looks great, and again, I think a lot of users will be excited to make use of this. Great work, and welcome to P9k =)
Thanks for the review, @docwhat! Much appreciated!


npm error upon attempting to install plugin

Current package.json:
{
  "name": "pp-online",
  "type": "module",
  "version": "0.0.1",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro check && astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/check": "^0.9.4",
    "@astrojs/starlight": "^0.29.0",
    "@astrojs/starlight-tailwind": "^2.0.3",
    "@astrojs/tailwind": "^5.1.0",
    "astro": "^4.16.10",
    "sharp": "^0.32.5",
    "starlight-blog": "^0.14.1",
    "tailwindcss": "^3.4.4",
    "typescript": "^5.6.3"
  }
}

Getting the following error upon following this plugin's installation instructions:
$ npm i starlight-site-graph
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/@astrojs/starlight
npm error   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error   node_modules/@astrojs/starlight-tailwind
npm error<EMAIL_ADDRESS>from the root project
npm error   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error   node_modules/starlight-blog
npm error<EMAIL_ADDRESS>from the root project
npm error   1 more (the root project)
npm error
npm error Could not resolve dependency:
npm error peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error node_modules/starlight-site-graph
npm error   starlight-site-graph@"*" from the root project
npm error
npm error Conflicting peer dependency<EMAIL_ADDRESS>npm error node_modules/@astrojs/starlight
npm error   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error   node_modules/starlight-site-graph
npm error     starlight-site-graph@"*" from the root project

Thanks for the issue report, It seems like I accidentally used ^ instead of >= for the versioning. For now, you can use npm i starlight-site-graph --legacy-peer-deps to install the package.
I'll bring out a new version momentarily which also fixes this version specifier.

Okay, I can confirm now that with version 0.1.9 this issue should be fixed. Thanks again for the report!


python310Packages.types-futures: 3.3.7 -> 3.3.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.types-futures is: "Typing stubs for futures"
meta.homepage for python310Packages.types-futures is: "https://github.com/python/typeshed"
meta.changelog for python310Packages.types-futures is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.3.8 with grep in /nix/store/fk83xkd406x85l0d4zfrkmr530qlg9sv-python3.10-types-futures-3.3.8

found 3.3.8 in filename of file in /nix/store/fk83xkd406x85l0d4zfrkmr530qlg9sv-python3.10-types-futures-3.3.8

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

23 total rebuild path(s)

13 package rebuild(s)

13 x86_64-linux rebuild(s)
10 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
or-tools
python310Packages.apache-beam
python310Packages.mypy-protobuf
python310Packages.ortools
python310Packages.tensorflow-datasets
python310Packages.types-futures
python310Packages.types-protobuf
python39Packages.apache-beam
python39Packages.mypy-protobuf
python39Packages.ortools
python39Packages.tensorflow-datasets
python39Packages.types-futures
python39Packages.types-protobuf

Instructions to test this update (click to expand)

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

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

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

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

4 packages failed to build:

python310Packages.apache-beam
python310Packages.tensorflow-datasets
python39Packages.apache-beam
python39Packages.tensorflow-datasets

9 packages built:

or-tools
python310Packages.mypy-protobuf
python310Packages.ortools
python310Packages.types-futures
python310Packages.types-protobuf
python39Packages.mypy-protobuf
python39Packages.ortools
python39Packages.types-futures
python39Packages.types-protobuf

Maintainer pings
cc @andersk for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 157115 run on x86_64-linux 1

2 packages failed to build and already failed to build on hydra master:

python310Packages.apache-beam: log was empty
python39Packages.apache-beam: log was empty

9 packages built:

or-tools
python310Packages.mypy-protobuf
python310Packages.ortools
python310Packages.types-futures
python310Packages.types-protobuf
python39Packages.mypy-protobuf
python39Packages.ortools
python39Packages.types-futures
python39Packages.types-protobuf


added script for configuring import

This change is

PR is added to the queue for testing as 2. task. (a66927d)

Hi @baydet, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Test (Success) 87126746 build is completed (a66927d)
See https://github.com/ThaliTester/TestResults/tree/87126746a66927d_added_script_for_configuring_import_baydet/ for the logs

Test 87126746a66927d(a66927d) has failed
See https://github.com/ThaliTester/TestResults/tree/87126746a66927d_added_script_for_configuring_import_baydet/ for the fail logs

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

scripts/before_plugin_install.js, line 14 at r1 (raw file):

function updateJXcoreExtensionImport(context) {
  var cordova_util = context.requireCordovaModule('cordova-lib/src/cordova/util'),

NB: We generally don't use the ',' based variable declaration format. We need to define each variable on its own line. It's just easier to read and edit.

Comments from Reviewable

PR is added to the queue for testing as 2. task. (71a25ec)

Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion.

scripts/before_plugin_install.js, line 14 at r1 (raw file):
Previously, yaronyg (Yaron Y Goland) wrote…
> NB: We generally don't use the ',' based variable declaration format. We need to define each variable on its own line. It's just easier to read and edit.

fixed

Comments from Reviewable

Test (Success) 87126746 build is completed (71a25ec)
See https://github.com/ThaliTester/TestResults/tree/8712674671a25ec_added_script_for_configuring_import_baydet/ for the logs

Test<PHONE_NUMBER>a25ec(71a25ec) has failed
See https://github.com/ThaliTester/TestResults/tree/8712674671a25ec_added_script_for_configuring_import_baydet/ for the fail logs

We're having 2 failing tests for iPad2Air that is not related to code I've written here. These failing tests already've rewritten in #1199. So I'm merging this PR.


Neovim lsp for salt

I cannot manage it to work with neovim. I installed it with sudo pip3 install salt-lsp. Do i need to make the install with poetry instead? Cause i saw here that you can install it with pip https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#salt_ls

I managed to found out what is going on.
It works not only if i put
vim: ft=sls
in each sls file i want the lsp to work.
Also i don't see any color on the files too. Like the colours that i have
for all other languages that i use(python,bash,terraform).
Maybe you know any way that i can have colour highlights in sls too? Is
there any other parameter i should pass ? I work mostly
with sls files and it is very difficult. I try to use only neovim as ide
now and stop working with ATOM anymore.
On Tue, Jul 12, 2022 at 10:32 AM Dan Čermák @.***>
wrote:

Installing it with pip should do the trick. You can also clone the
repository, build it with poetry and install the created package with pip,
but that shouldn't make much of a difference.
Would you mind elaborating what exactly is not working?
—
Reply to this email directly, view it on GitHub
https://github.com/dcermak/salt-lsp/issues/177#issuecomment-1181418609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT6W36EB4YMMJUJ53B2VPK3VTUNSBANCNFSM53J2TE6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Verlabs has taken all reasonable steps to ensure the security of email
communications but makes no guarantees that this email will be
virus/malware-proof. We would recommend that you carry out your own virus
checks before opening any attachment.  This email is confidential and
intended only for the named addressee. If you have received this email in
error, please do not copy or use it for any purpose. Please delete it
immediately and let us know by return email. You should also know that
emails exchanged with Verlabs are subject to our email privacy notice
http://www.verlabs.com/docs/email_privacy_policy.pdf.

dtzampanakis @.***> writes:

I managed to found out what is going on.
It works not only if i put
vim: ft=sls
in each sls file i want the lsp to work.

Hm, that looks like a config issue with neovim to be honest.

Also i don't see any color on the files too. Like the colours that i have
for all other languages that i use(python,bash,terraform).
Maybe you know any way that i can have colour highlights in sls too? Is
there any other parameter i should pass ? I work mostly
with sls files and it is very difficult. I try to use only neovim as ide
now and stop working with ATOM anymore.

Unfortunately salt-lsp does not support syntax highlighting. It could be
added, but at the moment no one is actively developing this feature.


add pregnancy status resolved_without_dcaf

I rule and have completed some work on Case Manager that's ready for review!
This pull request makes the following changes:

edit pregnancy status method for resolved_without_dcaf
add test to update pregnancy status

It relates to the following issue #s:

Mark patients as resolved without help from dcaf #528

[Current coverage][cc-pull] is 99.22%

Merging [#532][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master       #532   diff @@
==========================================
  Files            23         23
  Lines           383        385     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            380        382     +2
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last updated by [38925fa...70d2346][cc-compare]
[cc-base-branch]: https://codecov.io/gh/colinxfleming/dcaf_case_management/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/colinxfleming/dcaf_case_management/compare/38925fa6cd691166fad40c1e938d19e16b82a6a3...70d23466531fd8e6b9827b3b1ddd97aa9e6d7101?src=pr
[cc-pull]: https://codecov.io/gh/colinxfleming/dcaf_case_management/pull/532?src=pr

This is lovely work, thank you so much @ashlynnpai !
I have a few alterations to an integration test that I picked up in a separate branch, but I'll merge this up shortly.


[Mixed Reality - Remote Rendering] test failing in nightly runs

Mixed Reality - Remote Rendering nightly test runs are failing with:

Stack trace:
Error: Timeout of 600000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1038300&view=results

Seems like a fluke, let's close this and reopen if it comes up repeatedly


[backport] Update CUDA 11.0 FP16 header to production release version (11.0.2)

Backport of #3668

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 341f6c61dd3f1a8f4629a51874d8ca54493e8e5b, target branch v7) succeeded!

Jenkins, test this please

Jenkins CI test (for commit 341f6c61dd3f1a8f4629a51874d8ca54493e8e5b, target branch v7) succeeded!


find-ip-address: Add note for ifconfig.

As suggested by @gnprice in https://github.com/zulip/zulip-mobile/pull/2715#issuecomment-400189872.

Merged -- thanks!
I did have to fix up the formatting a bit; the < and > in the output were getting interpreted as HTML. This happens inside <pre /> (which we use so we can use <b />), though not inside triple-backticks.
A key tip for writing docs with any nontrivial formatting: I have a running, "secret", GitHub gist (see gist.github.com) called tmp.md. Whenever I'm working on our docs, I regularly go open that, edit it, ctrl-a ctrl-v to clobber it with a copy-paste of whatever I've just written, and hit the "update" button. Crude, but effective for seeing exactly how GitHub will handle my markdown.
(I should go write that tip itself down in docs/, shouldn't I.)


Set center: false cannot align everything to the left

Describe the bug
When set center to false, it still algin everything as center.
Samples to Reproduce
---
margin: 0
width: 1920
height: 1200
center: false
---
## Title
This is a test

Expected behavior
I hope Title and the text will be aligned to the most left.  However, they are still at the center of the screen.

I have the same problem

@MSzturc thank you for fixing this.
I have a question regarding the functioning of this feature.
If I set center: false in the YAML, how do I ensure that H1 and figures remain entered? I have a custom css file but I'm not particularly familiar with CSS and whether the values in that file would be overridden by center:false

When you set center = false the parent container of a slide and all grid elements gets the style align-items: start otherwise whenn center not set or true, then align-items will be undefined (which means that it will align center by default)


Remove deprecated file from v02 routing

The src/python_routing_v02/compute_nhd_routing_SingleSeg_arr2.py file has been entirely superseded by the src/python_routing_v02/compute_nhd_routing_SingleSeg_v02.py script. This PR removes the deprecated file.

Closes #71


system-docker ignores /etc/ssl/certs/ca-certificates.crt (but docker doesn't)

RancherOS Version: (ros os version)
v1.5.4
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
Virtualbox
When I pull image using sudo system-docker I get following error:
[root@rancher ~]# sudo system-docker pull nginx
Using default tag: latest
latest: Pulling from library/nginx
1ab2bdfe9778: Pulling fs layer
a17e64cfe253: Pulling fs layer
e1288088c7a8: Pulling fs layer
error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/5a/5a3221f0137beb960c34b9cf4455424b6210160fd618c5e79401a07d6e5a2ced/data?verify=1567629543-VpWRBT3uKF%2FXZO3pnhtitkJYtnY%3D: x509: certificate signed by unknown authority

Strangely, the same command via docker works fine:
[rancher@rancher ~]$ docker pull nginx
Using default tag: latest
latest: Pulling from library/nginx
1ab2bdfe9778: Pull complete
a17e64cfe253: Pull complete
e1288088c7a8: Pull complete
Digest: sha256:53ddb41e46de3d63376579acf46f9a41a8d7de33645db47a486de9769201fec9
Status: Downloaded newer image for nginx:latest

I suspect the x509: certificate signed by unknown authority error  is caused by our corporate proxy rewrapping the TLS connection. It seems that the system-docker does not reflect the proxy's CA certificate in /etc/ssl/certs/ca-certificates.crt while the regular docker command does.
My setup
Rancheros installed from iso to a virtualbox machine and proxy information and our corporate proxy CA certificate added via the following in /var/lib/rancher/conf/cloud-config.yml:
  docker:
    http_proxy: <IP_ADDRESS>:8080
    https_proxy: <IP_ADDRESS>:8080
  environment:
    HTTPS_PROXY: <IP_ADDRESS>:8080
    HTTP_PROXY: <IP_ADDRESS>:8080
    NO_PROXY: localhost,<IP_ADDRESS>
    http_proxy: <IP_ADDRESS>:8080
    https_proxy: <IP_ADDRESS>:8080
    no_proxy: localhost,<IP_ADDRESS>
  network:
    http_proxy: <IP_ADDRESS>:8080
    https_proxy: <IP_ADDRESS>:8080
write_files:
- content: |+
    -----BEGIN CERTIFICATE-----
    MIIDkjCCAnqgAwIBAgIQG7eG07atj2W5enk+x0iEJzANBgkqhkiG9w0BAQUFADBP
    MQswCQYDVQQGEwJVUzEfMB0GA1UEChMWQmx1ZUNvYXQgU3lzdGVtcywgSW5jLjEf
    MB0GA1UEAxMWQ2xvdWQgU2VydmljZXMgUm9vdCBDQTAeFw0xMTA5MDYwMDAwMDBa
    Fw0yMTA5MDUyMzU5NTlaME8xCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZCbHVlQ29h
    dCBTeXN0ZW1zLCBJbmMuMR8wHQYDVQQDExZDbG91ZCBTZXJ2aWNlcyBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxAB79qIpN0NApUS0be0N
    FYDqnY3g9jJsYZ6HVRsbw2eJnO2BKYhoBOW5fmUc9FaT0VbhIokHFRj4w3c2keWV
    gTlFHbp6EZaaK1H8yczTf57WlXILuCrJ9eGYsWE2doJePnFpT1QejDRQYMKTjAfQ
    A0twCBSxxmZ5TzEJ/xAu4cYTc3CnMrgA3n+/tcH7Yn5PDNGAiwZMWf5OPbktH33b
    2r7yex+bgXXivY1Mw6k82RYLTLRsa8AoluBDTplqMbHo1QE7AuveeFkLL5GXX/8U
    xao0mBvud2NJCHTZ9EcyHn5/Y2gnqJW4tmbMNXrrhAE+5Y1dWMAU8QFSF0aszQQE
    2wIDAQABo2owaDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAmBgNV
    HREEHzAdpBswGTEXMBUGA1UEAxMOTVBLSS0yMDQ4LTEtOTkwHQYDVR0OBBYEFKZK
    F9G8WLV3JRaSK9JMlSPPKBQ2MA0GCSqGSIb3DQEBBQUAA4IBAQCM+JVMKfNNTKAy
    3GgOnoMDJqamZgcdvO8Piddg33fOe6Ad6Has5gKGTcxK0f9zZGjLFfeE9PzfXNDr
    nMr5BnaXuRzaM6A4tix4idASNRnMTB54A034Md0zi2moaVLHNC8gMy1TwvT/X8KY
    GfvKGR96TITGnH0YA1mPoZq83WT+zH4We1lz5mSgYM84ZPdPM/2dho5feM0JujGh
    BiTTr8v937rGrIQ3sWEqMgJIWWZLJ/Gevx+aRaQNSEJC1xP4VXozLKdsXrq2J49f
    cgpFqiS8odX2aDDEnwFdw6XATA6TD/FN4stB4HaXbvis+R2bBo/mqcfd33NXN8b4
    jbwHAf+t
    -----END CERTIFICATE-----
  owner: root
  path: /etc/ssl/certs/ca-certificates.crt
  permissions: "0644"

The system-docker uses this crt file /proc/1/root/etc/ssl/certs/ca-certificates.crt.

Hi niusmallnan, thanks, I added writing the CA certificate into /proc/1/root/etc/ssl/certs/ca-certificates.crt and that worked like a charm!
Thanks

@niusmallnan I belive it would be nice to document it in  https://rancher.com/docs/os/v1.x/en/installation/configuration/airgap-configuration/

The official way is to append your root CA certificate in /etc/ssl/certs/ca-certificates.crt.rancher (actually, it's the same file, it's just a mounted volume.


Support for NSAttributedStrings

StepSlider supports NSString right now, and it would be great if the library could give NSAttributedString support as well. @spromicky

Will be released with 1.8.0 version.

Thank you @spromicky


How to use this for speech/audio generation?

Great work Phil! In their paper, the authors applied this model to speech modeling, how would you advise on what should I change to use for speech. Because in speech, the data are signals, we do not have num_tokens, nor do we have emb_dim. Our data input is simply, [batch, channel, time]. Any advice?

@jinglescode oh hey Hong! sorry I missed this issue
you should use https://github.com/lucidrains/vector-quantize-pytorch to first quantize your speech signals into discrete dictionary, and then use that to train your auto-regressive model!

https://openreview.net/forum?id=3InxcRQsYLf

Very helpful. Thanks!


Fix mismatching count of -module switch options

Each time it says there are four or five options, it proceeds to list six options.

@jnm2 Thanks for spotting this and fixing it.
I looked at the changes, and they are all good. This PR now has conflicts with the base branch. Can you fix those, and then I'll approve this and :shipit:.
Thanks for contributing to docs! 🎆

Oh my, looks like I didn't delete the master branch in my fork to prevent this from happening. I'm having trouble pushing, but I'll figure it out:
 ! [remote rejected]       mismatching_count -> mismatching_count (refusing to allow an OAuth App to create or update workflow `.github/workflows/bcnotify.yaml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/jnm2/dotnet-docs'

Gave up and used the GitHub website to fix merge conflicts.

Hey, why did dependabot just open 12 PRs in my fork to this PR branch?
https://github.com/jnm2/dotnet-docs/pulls

Hey, why did dependabot just open 12 PRs in my fork to this PR branch?

@jnm2 We've configured dependabot to help us keep our samples up to date. One of the packages we use in samples got updated yesterday.
There's a couple things we're doing to make this less of a concern:

We're going to change the frequency that dependabot checks for updates. That should help most people with their forks (including us on the team).
We've submitted some features requests to the dependabot team, including not opening PRs on forks. Those are under discussion by the team.

Thanks again for your help.

That's great, thank you!

@BillWagner Nothing happened for 18 days, then I got another wave of PRs two days ago, and then yet another wave a few hours ago. Would you recommend I delete my fork, or do you know of something I could do to preserve history while avoiding getting these dependabot PRs?

@jnm2
You can safely delete this branch, mismatching_count, because this PR has been merged.
Then, to update your fork, I usually do the following:
> git checkout master
> git fetch upstream
> git rebase upstream/master
> git push

Those four commands do the following:

Switch to your local master branch.
Fetch all changes from upstream, which should be dotnet/docs (see note)
update your local master branch to match the upstream master
push your master branch to your fork on GitHub.

After that, you can create a new branch for any new work.
Note: If upstream isn't a valid remote, use the command git remote -v.  That command will list all the configured remotes. One should be yours (jnm2/docs), one should be the upstream remote (dotnet/docs)
Let us know if you have any further questions.

@BillWagner I don't like to have a master branch in any of my forks because it has only ever been a confusing factor for me. (I started recommending this to others based on the number of times it confused them, too.) So my fork currently only has the branch mismatching_count, set as default.
Would having a forked master branch alleviate the problem though, or would that just catch me up to today and leave me open for dependabot to send more waves of PRs next week etc?

@jnm2 That's a different workflow than I use. It's certainly valid.
The concern is the same: your current default branch is out of date. I'd consider making a new branch for new work, starting from upstream/master. Or, if you want to reuse the mismatching_count branch, just rebase that one.

Would that just catch me up to today and leave me open for more PR waves in the future?

Would that just catch me up to today and leave me open for more PR waves in the future?

Yes, but there's no way around that. We're constantly working on updating and adding content.

That's the part I want to prevent. Hmm, maybe if I set the default branch to dependabot_bait and had no files in it...

Got 16 more PRs today, so I did this:
git checkout --orphan dependabot_bait
git rm --cached *
git commit --allow-empty -m 'Empty default branch to avoid waves of Dependabot PRs'
git push -u origin dependabot_bait

And then set the repo's default branch to dependabot_bait.


fix(article-body): Adjust article body to align with design specs

Issue
Fixes https://github.com/hlxsites/merative2/issues/195
Description

This PR adds style changes to the blog/article body to match the design specs.
Pullquote block now displays the styles from the design
Featured Solution block has been added to style the listing - https://fix-195-article-body-style--merative2--proeung.hlx.page/block-library/blocks/featured-solution

Design Specs

Figma - https://www.figma.com/file/dFJwrp6VkUMSirF2KMLRMx/Thought-leadership-library?type=design&node-id=357%3A17984&t=iaNohDrbt4220FLs-1

Test URLs

Before: https://main--merative2--hlxsites.hlx.page/drafts/putra/test-blog-detail-page
After: https://fix-195-article-body-style--merative2--proeung.hlx.page/drafts/putra/test-blog-detail-page

Testing Instruction

Visit this test blog page - https://fix-195-article-body-style--merative2--proeung.hlx.page/drafts/putra/test-blog-detail-page
Scroll down and ensure that the Pull-quote block matches the design
Scroll down and ensure that the Featured Solution block matches the design
Ensure that the Video embed includes a title

Notes

We'll need to update the content entry enablement to ensure that Content Authors understand the different blocks and text formats they should be using in the SharePoint doc. @keith-kaplan Can you let me know if we have a process for updating Authors on changes?
This PR is based on the main branch instead of feat/thought-leadership because these styles are part of the Blog and can be released before the Thought Leadership work has been completed.

Hi,

The spacing above and below the quote should be 96px.

The spacing above and below the video player component should be 64px.

The font style for highlighted table of content should be H5 i.e. Alliance no.1 16px Regular and not semibold.
it is showing semibold now

The spacing below the table of contents to the divider line should be only 48px.

 Can you take a look again?

@helms-charity Thanks for the review! This Featured Solution is a compound component within our design system and will be used in other places outside of the article body, therefore, it's important that we have it available in the Library listing so that it's easy for Content Authors to copy and paste in their doc.

Also, whenever new blocks are created, they should be added to the Sidekick block library. You can create another ticket for that when you are ready.

I went ahead and added this new block to the list/spreadsheet and we'll note the availability/usage of this within the context of the Article content entry process for the Content Authors. FYI. @keith-kaplan

Checked and its good to go.
@proeung @helms-charity


Animations: 0ms duration not persisted

Bug Description
Changing the animation duration to 0ms is not persisted when de-selecting an element and selecting it again.
Probably some loose type check somewhere.
Expected Behaviour
Chosen value should persist.
Steps to Reproduce

Add animation to element
Set duration to 0ms
Preview story, verify that change has been saved successfully
De-select element, select it again
See that 0ms is gone, and 1000ms is displayed (or whatever the animation default is)

Screenshots

Additional Context

Plugin Version: 1.2.1
WordPress Version: 5.6
Operating System: macOS
Browser: Chrome

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Verified in QA


Probe not recognizing that Test has been quarantined

running the "quarantine a malicious Office document" test on Windows11
screenshot attached: the test itself seems to get quarantined by Windows Security. However, the Probe doesn't appear to realize that happened or to send back any results to be displayed again in the browser.

@makk94 this bug is caused by this line: https://github.com/preludeorg/libraries/blob/a9b75cca43250598180debf46d3a699c455e2835/shell/probe/demo.ps1#L41
The problem is, a 100 is one of a few codes that could indicate success. If the VST runs cleanly and the test passes, it'll return 100. If the VST itself is flagged - this is also a passed test - and will return (I think) a 127, by default.
This will be a problem in both demo.sh and demo.ps1.
Instead of triggering off of 100, we should probably list the handful of "success" codes and check the array. I don't love that because we have to "remember" that list but because this is isolated to demo experience and the whole thing is hard coded to a single test, this seems like the easy solution to me. Open to other ideas too.

@kenrick can you verify how the UI is determining success on this as well?

Sure, the UI is checking the detect.activity for changes periodically. If a new item is added to the activity array for this probe the ui will update and show that last result. The Result has a status code which dictates which items in the checklist have passed or failed. Once any result comes back (regardless of the status code) the UI will update and show the re-run test button instead of the OS picker

Some learnings:

$LASTEXITCODE does not take a new value when this error occurs. And the variable is never reset, so it just stays whatever the exitcode was of the last exe that was actually run

Possibly the VST was never run so it doesn't set a new LASTEXITCODE
It's also possibly this from the docs: When a script is called directly, like ./Test.ps1, or with the call operator (&) like & ./Test.ps1, the value of $LASTEXITCODE isn't changed. I still can't find a way to call the VST to trigger LASTEXITCODE with this error tho

There is an $Error variable (a string) that is set when PS encounters an error - could parse that instead of solely depending on $LASTEXITCODE

Alternative to the $Error variable is wrapping the & $TempFile in a try/catch

@makk94 wouldnt that impact raindrop as well?

@makk94 in re-reading this, we shouldn't rely on LASTEXITCODE but instead ensure a sub process is being fired, like:
$p = Start-Process -FilePath <path> -ArgumentList <args> -Wait -NoNewWindow -PassThru
$p.ExitCode

@makk94 wouldnt that impact raindrop as well?

I'd think so - haven't tested yet

@makk94 in re-reading this, we shouldn't rely on LASTEXITCODE but instead ensure a sub process is being fired, like:
$p = Start-Process -FilePath <path> -ArgumentList <args> -Wait -NoNewWindow -PassThru
$p.ExitCode

can do that - doesn't fix this particular bug. there's still no exit code set, likely because the process was never started, so the try/catch is still needed. Not sure if Start-Process will produce any different exit codes than the call operator (&) for VSTs that are actually run

@makk94 we need start-process anyway, as we need to ensure the test is run as a child process.

and using start-process, even if the process fails to start, will produce a status code (1 in that case, most likely).

and using start-process, even if the process fails to start, will produce a status code (1 in that case, most likely).

I'm running this and it does not produce an exit code because the command is not run
The code:
 $p = Start-Process -FilePath $TempFile -Wait -NoNewWindow -PassThru
 Write-Host $p.ExitCode

The output:
-----------------------------------------------------------------------------------------------------------
[2] Executing test

Start-Process : This command cannot be run due to the error: Operation did not complete successfully because the file
contains a virus or potentially unwanted software.
At C:\Users\Administrator\Desktop\demo.ps1:58 char:10
+     $p = Start-Process -FilePath $TempFile -Wait -NoNewWindow -PassTh ...
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

[!] Result: control test failed

And when I force runtime errors (ex. segfault), i don't see a different in $LASTEXITCODE (run via call operator) and $p.exitcode (run via Start-Process). Obvi didn't test all the possible errors and maybe there's some out there that do make a difference ¯_(ツ)_/¯
Being said, running as a child process makes sense and will make the change. But the try/catches are still necessary

Oh definitely; still likely need try/catch statements for any unhandled cases (like this).

Closed by https://github.com/preludeorg/libraries/pull/217


hypergeometric_1F1 incorrect with large arguments

Through at least version 1.81.0, hypergeometric_1F1(1020,1041,16000) returns 1, when the correct answer overflows double precision. Wolfram Alpha fails here, but https://keisan.casio.com/exec/system/1349143651 reports it as 1.35e6923.  Since all inputs are positive with b>a, the result is equivalent to the integral from 0 to 1 of   exp(x*16000)*dbeta(x,1020,1041-1020), which integrand is nonnegative and overflows for x>0.1563122640622843, i.e. over 84% of the range of integration.
This example is a test case from Keith Muller "Computing the confluent hypergeometric function, M(a,b,x)" Numerische Mathematik 90(1):179-196, 2001

Please disregard.  Problem was in my wrapper.


fix: flutter format is deprecated in workflows/flutter_package.yml@v1

Description
When building ci with flutter 3.10 and [workflows/flutter_package.yml@v1](uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1)
I get The "format" command is deprecated. Please use the "dart format" sub-command instead, which has the same command-line usage as "flutter format".
Steps To Reproduce

Set flutter 3.10 in build params
Build
On step Check Formatting there will be a deprecation error which stops the process

Expected Behavior
It checks for formatting and continues to the next step
Screenshots

Additional Context
Flutter 3.10.0+ problem

Should be fixed now, could you try again?


Idea / POC (?) for HttpContext and WebParts

ideas: we could maybe apply/chain at controller level webparts, using http context, that would make lots of Giraffe operators/interop possible?
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-context?view=aspnetcore-6.0#use-httpcontext-from-a-controller
e.g.
use HttpContext to fetch dependencies..

[<Route("[controller]")>]
type ExampleController() =
    inherit Controller()

    [<HttpGet>]
    [<ProducesResponseType(StatusCodes.Status200OK, Type = typeof<MyDto>)>]
    member this.Get() =
        HttpContext
        |> httpHandlerOne
        >=> httpHandlerTwo
        >=> httpHandlerThree

sorry i got confused i think :) will close this. i am experimenting with the lbrary, thanks a lot 👍 in the mean time :D

I was a little bit confused too because the goal of controllers are a higher level of abstraction ^^


nosql: ram, SSC, or redis based key-values

with a single API
see also #726 (base class for Redis)

Personally - I'm -1 on this for the following reasons:

Redis provides so much more functionality over what is exposed by this e.g. transactions, hashes, sets, sorted sets, hyper log log's, key expiry etc. which are essentially unavailable if you use this API.
The in-memory code is very basic and no better than what some of the plugins already do themselves, without the need for any namespacing etc.   There's no way to share the keys between processes; which could be achieved via the Cluster API (e.g. have the master store the keys and then have the children get/set them via the API) and it's pretty similar to the result_store code which is already available.
There's no way to select different Redis databases or have connections to different hosts or mix in-memory for some plugins and Redis for others (which you'd probably want to do for concurrency limits).
Could be implemented by base class plugins (like dns_list_base) e.g. redis_base, kvm_base, nosql_base that would then be inherited as desired by the plugins which I think would be a bit more useful to plugin authors (and more flexible).

Redis provides so much more

I'm not trying to re-invent Redis. For applications that want / need Redis, it's still there. This PR provides a way for plugins (some committed, some not) and base libs (auth_base, tls_socket) to benefit from basic NoSQL functionality and do so without a redis dependency. When Redis is available, switching a single config setting provides many of the benefits of Redis with no code changes.
This is not instead of a redis library, this is written to be easily extended to support any other key-value store without having to modify the plugins or base libraries that depend on it.
If Redis is available, why would you ever prefer direct RAM storage?

TODO

add support for Strong Store for Cluster when in cluster mode.

In the tests/nosql.js file, there are three functions, exports. lifecycle_ram, exports. lifecycle_ssc, and exports.lifecycle_redis.  All three are identical, which is exactly what I want (test each "backend" the same), but I can't figure out how to get nodeunit to run them unless they're triplicated. Is there a way get this more DRY?

This module wants a cheap reliable way to determine what plugin is calling the functions it exports. This would seemingly be a straight forward problem to solve with module.parent.filename. In testing, nosql._get_caller_name() worked exactly as expected and I thought I had that problem licked, until I saw the name of the plugin in the MONITOR output of redis-cli. Instead of being limit, as I expected, it was instead plugins.
If I move the var caller = _get_caller_name() out of the exported functions and to the limit module scope, it works as I expect and all further nosql.[set|get|*]() operations get the value limit for the plugin name. However, subsequent modules that load nosql also get the value limit for their plugin name because of the node module cache.
The working here invalidates the cache, causing future loads of nosql by other plugins to load their own instance of nosql, working around the singleton issue.
Short of further changes to plugins.js, I can't see any other way around this.

Ok - thought about this some more and this is the wrong way go.   I think you should remove the changes to plugins.js.   They're simply too hacky and fragile.
I think the correct way forward for this module is to run it into a 'proper' class with a constructor that you can use to set the options on a plugin-by-plugin basis e.g.
function NoSQL (collection, options) {
    this.collection = collection;
    // other options passed in in object, like TTL
}

NoSQL.prototype.get = function () { ... };
NoSQL.prototype.set = function () { ... };
NoSQL.prototype.incrby = function () { ... };
NoSQL.prototype.reset = function () { ... };

module.exports = NoSQL;

Then in the plugins you'd load nosql.js and use it like so:
var NoSQL = require('nosql');
var nosql = new NoSQL(plugin.name, { ttl: null });

exports.hook_lookup_rdns = function (next, connection) {
    nosql.incrby(...);
    return next();
};

Could be a good place to start moving things to npm too. Create a
haraka-nosql package there (happy to create the repo on github.com/haraka)
and add it as a dependency.
On Tue, Apr 21, 2015 at 5:26 AM, Steve Freegard<EMAIL_ADDRESS>wrote:

Ok - thought about this some more and this is the wrong way go. I think
you should remove the changes to plugins.js. They're simply too hacky and
fragile.
I think the correct way forward for this module is to run it into a
'proper' class with a constructor that you can use to set the options on a
plugin-by-plugin basis e.g.
function NoSQL (collection, options) {
this.collection = collection;
// other options passed in in object, like TTL
}
NoSQL.prototype.get = function () { ... };
NoSQL.prototype.set = function () { ... };
NoSQL.prototype.incrby = function () { ... };
NoSQL.prototype.reset = function () { ... };
module.exports = NoSQL;
Then in the plugins you'd load nosql.js and use it like so:
var NoSQL = require('nosql');
var nosql = new NoSQL(plugin.name, { ttl: null });
exports.hook_lookup_rdns = function (next, connection) {
nosql.incrby(...);
return next();
};
—
Reply to this email directly or view it on GitHub
https://github.com/baudehlo/Haraka/pull/895#issuecomment-94719169.

https://github.com/haraka/haraka-nosql


Update Readme and Curseforge/Modrinth page

Update to mention Apron instead of BetaLoader and also Fabricated-Forge ^^.

Thanks for reporting, this has been already done locally for the README :)
Will update the CurseForge and Modrinth page soon!

Fixed :)


Problem with linking a user to a meeting as superadmin

Describe the bug
I tried to add a user from a different meeting to another meeting.
All users in the 'Delegates' group of the other meeting.
How to Reproduce
Steps to reproduce the behavior:

Create two meeting (Ma, Mb).
Enter meeting Ma and create two users (Ua, Ub) with 'Delegates' group.
Enter meeting Mb try to add the two users (Ua, Ub) to this meeting (Participant, Plus button, ...)

Expected behavior
It should work and the two users Ua, Ub are in the Meetings Ma, Mb
Shown behavior
The third part of the wizard is broken, User part is greyed out, Meeting part is not visible.

Mmh, it does not happen all the times. There seems to be a loading/timing part of this issue.
Sometimes I see the wrong display and after 1-2 secs it is changes into the right display.

Duplicate #3849
Closed here.


feat: add calendar to logged in App

User Story
As a User looking for upcoming events
When I am logged in
Then I want to see a calendar of things happening in The Chess Centre venue
Currently the calendar for events can only be found on the home page, once you are logged into the app you cannot navigate back to this without logging out.


try to fix scala/java issue with CORS page

Have a look at https://pekko.apache.org/docs/pekko-http/current/common/cors.html and see the @@@ div { .group-scala } and similar other tags appearing. Spreading out the markdown seems to fix this issue on my local build.

lgtm


[TASK][MEDIUM] Authz plugin support path-based table

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before creating

[X] I have searched in the task list and found no similar tasks.

Mentor

[ ] I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

Knowledge about Spark Catalyst
Basic Knowledge of SQL authorization model, e.g. Apache Ranger

Background and Goals
Allow the authz plugin to manage permissions for path-based tables, as the catalog table does.
https://github.com/apache/kyuubi/discussions/5166
Implementation steps
Refer existing code of authz module, which is basically a Spark SQL extension, powers the Spark SQL with authorization capabilities by injecting some catalyst rules.
Additional context
Original report is @yaooqinn

Hi @pan3793, can you assign this task to me? I will try to finish it before November 11th. Thanks.

assigned, thanks

@Emor-nj do you have any progress on this task?

revoked the assignment since there has been no response or update for a long time.

@AngersZhuuuu I see this task blocks your works, would you like to take up this one too?

Yea

InsertIntoDataSourceCommand
InsertIntoHiveDirCommand
SaveIntoDataSourceCommand

CreateDatabaseCommand
DropDatabaseCommand
AlterDatabasePropertiesCommand with path
AlterDatabaseSetLocationCommand
AlterTableSetPropertiesCommand with path
AlterTableAddPartitionCommand
AlterTableDropPartitionCommand
AlterTableSetLocationCommand
AddJarsCommand
AddFilesCommand
AddArchivesCommand
ListFilesCommand
ListJarsCommand
ListArchivesCommand
LoadDataCommand

Spark has forbidden alter locs for AlterDatabasePropertiesCommand / AlterTableSetPropertiesCommand, right?

Spark has forbidden alter locs for AlterDatabasePropertiesCommand / AlterTableSetPropertiesCommand, right?

Yea

This task was completed by splitting into several small tasks.


[BUG] Rancher cli from 2.8.0-rc2 dont works with shibboleth

Rancher Server Setup

Rancher version: 2.7.6

Information about the Cluster

Kubernetes version: 1.26
Cluster Type (Local/Downstream): EKS and local

Describe the bug
On rancher-cli 2.7.7 all works:
[xxx|default] user@EliteBook-840-G9:/tmp/rancher-v2.7.7$ RANCHER_CLIENT_DEBUG=true ./rancher token --server=xxx --user=xxx
Rancher client debug on
https://xxx/v3-public/authProviders
Enter auth provider
1 - shibbolethProvider
0 - localProvider: 1

Login to Rancher Server at https://xxx/login?requestId=xxx&publicKey=xxx&responseType=kubeconfig

INFO[0011] Saving config to /home/user/.rancher/cli2.json
{"kind":"ExecCredential","apiVersion":"client.authentication.k8s.io/v1beta1","spec":{},"status":{"expirationTimestamp":"2023-10-25T04:14:04Z","token":"kubeconfig-u-xxx:xxx"}}

but next versions from 2.8.0.-rc2 hangs on Linux or Windows or WSL:
[xxx|default] user@EliteBook-840-G9:/tmp/rancher-v2.8.0-rc2$ RANCHER_CLIENT_DEBUG=true ./rancher token --server=xxx --user=xxx
Rancher client debug on
WARN[0000] Rancher configuration file /home/majanows/.rancher/cli2.json is group-readable. This is insecure.
WARN[0000] Rancher configuration file /home/majanows/.rancher/cli2.json is world-readable. This is insecure.
https://xxx/v3-public/authProviders
Enter auth provider
0 - localProvider
1 - shibbolethProvider: 1

Login to Rancher Server at https://xxx/login?requestId=xxx&publicKey=xxx&responseType=kubeconfig

^Creceived interrupt
{"kind":"ExecCredential","apiVersion":"client.authentication.k8s.io/v1beta1","spec":{},"status":{}}

On 2.8.0-rc1 after click to "Login to Rancher Server at " i have blank page.
To Reproduce

Configure shibboleth
download rancher cli 2.8 and try to get token from shibboleth

Result
hangs
Expected Result
working kubectl and token

Stil in 2.9.0-rc3


Add types for Promise.withResolvers()

Fixes #56483.

Thanks for the fast turnaround @linusg

Why latest ts playground no this type?
https://www.typescriptlang.org/play?ts=5.4.0-dev.20231229#code/AoJw9gtglgzgpgOgO5QC4AsBKcZgDYBucIMQA

@tjx666 the default target in the TS Playground appears to be ES2017, you have to select ESNext under the "TS Config" section to make it available.

@linusg @mjbvz Any way to make script in html also works?


Table wrong for ASR

Hi.
Could you please update the table so it is correct? ASR does not support CMK at the Moment. Please see this thread:
https://social.msdn.microsoft.com/Forums/en-US/f2561f62-b081-4cd2-b522-08af19041b3d/asr-storage-account-own-key-encryption?forum=hypervrecovmgr#7d0cbd64-331a-4e59-abba-ffea6e4e7163
Best regards
Andreas

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

ID: cd0472f9-1ed9-0154-3bfd-b25e5da64cd1
Version Independent ID: 846187d4-c24c-279f-e216-80b6507228b3
Content: Microsoft Azure Data Encryption-at-Rest
Content Source: articles/security/fundamentals/encryption-atrest.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @barclayn
Microsoft Alias: barclayn

@andreasmarx Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

table has been updated, see https://github.com/MicrosoftDocs/azure-docs/issues/43482#issue-528146790


Fixed Typo READMD.md

FeatureEngineering/Overview.md
It explains FeatureEngineering and import GradientFeatureSelector.
But GradientFeatureSelector is not existed.
I think it is the typo and I get the following error:
ImportError: cannot import name 'GradientFeatureSelector'
If you look at this document, you'll notice that it's correct FeatureGradientSelector.

@ryujaehun Thanks for your work.


ChildFormSet does not validate unique_together constraints involving the foreign key

Reported here: https://groups.google.com/d/msg/wagtail/zDe5ocpL5xA/_If71AkzCmkJ
With Django's InlineFormSet, this validation happens automatically as part of the standard is_valid method - no need to add a custom validator - so ChildFormSet should do the same. Have created a new branch with failing unit tests: https://github.com/gasman/django-modelcluster/tree/fix/unique_together_validation
It looks like InlineFormSet does this by adding the foreign key field to the form and setting it on the instances, so that ModelFormSet's validation is applied on it:
https://github.com/django/django/blob/681df1aeafb30092430157f7977f713e1ce234ca/django/forms/models.py#L888-893
https://github.com/django/django/blob/681df1aeafb30092430157f7977f713e1ce234ca/django/forms/models.py#L939-944

however, this won't work for us in that form, because we can't guarantee that the parent object has been assigned an ID. It looks like ModelFormSet's validation also ignores any groups of values involving None, which will affect us:

https://github.com/django/django/blob/681df1aeafb30092430157f7977f713e1ce234ca/django/forms/models.py#L676

however, this won't work for us in that form, because we can't guarantee that the parent object has been assigned an ID.

Hang on, that makes no sense - InlineFormSet's is_valid has to be able to work in conjunction with unsaved parent models too, because that's what happens on any 'create model' view with inlines. Django must be doing something cleverer, I guess...


colour is being saved but goes back to "default colour" in cms

Noticed this issue after upgrading to Craft 3.5.
The color is being saved:

But in the cms shows the default color:

Could you confirm your plugin version number please @marina-moca?

@WeArePercipio I'm seeing the same issue, version <IP_ADDRESS>

Could you confirm your plugin version number please @marina-moca?

@WeArePercipio version <IP_ADDRESS>


Add spelling workflow

Prevent those misspellings.
@AndriiSherman

wow, will add it
and we will use it in docs repo as well
thanks!

Glad to contribute.


Update angularfire / firebase.

angularfire/angularfire.d.ts
to author(@thSoft). could you review this PR?
check list

[ ] pass the Travic-CI test?

firebase/firebase.d.ts
to authors(@vbortone @in-async). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

Looks right to me, will do that in the afternoon.

Otherwise, everything looks good!

@thSoft thanks!
@nimaen thanks mate!
change of firebase/firebase.d.ts is not contains breaking change. I decide it merging.

@vvakame  You're welcome ;)

thanks for merging, was about to ask when it will be merged. cheers


Ca 50 created scrape and scrape-meta for laserfichie

Hey @zstumgoren please check this one as well it was a bit different because this website was dynamic its pages were loading after requesting api calls and when we download its .html files they have empty shells, so instead of working and downloading its html files to fetch the data from i have downloaded its data in jsons and fetched and created the meta file and using that meta file we are downloading the data further.
below is the json and sample folder structure

ca_laserfiche.json

Hi @naumansharifwork I haven't taken a look at the rest of the code yet, but note the name for this agency is fullerton

@naumansharifwork,

name of the script (and resulting agency slug) should be fullerton_pd.py (fullerton_pd) instead of fullerton (sorry about that)
parent_page should be a relative path rather than absolute
since asset_url is a required field: @zstumgoren in these cases with dynamic content, what do we do if there is no static asset_url?
the calls to cache.write_json in line 78 and line 89 have the side effect of creating an empty ca_fullerton directory at the project root. as a workaround, this can be fixed within this script by passing base_output_json and output_json as the argument rather than filename, but @zstumgoren i believe the root cause here is this line from cache.py referring to out rather than fullpath -- let me know if i should open a separate issue for that.
when i try to run this locally, it downloads the first couple of files, and then lots of failures (finished: false), not sure if that's due to not waiting long enough between tries

@tarakc02 for the finished false also check the completed percentage, for the bigger files it shows finished as false for a long time until export is complete. Basically there are 3 requests that download the file,

Start the export ( it sends requests to server to download the file and server start compressing the file)
Checking export status ( this one is called repeatedly its response is the one that you are seeing. Basically it checks from the server if the file is ready to download or not when the complete percentage becomes 100 the finished becomes true and we move to next request.)
We get a token from the previous ones and we use this token to download the file.

@tarakc02
updated export json
ca_fullerton_pd.json

Thank you! This looks good to me for now. Awaiting @zstumgoren answer to the question about the asset_url, and also just to make sure the additional methods in utils.py are acceptable (they look good to me).

Thank you! This looks good to me for now. Awaiting @zstumgoren answer to the question about the asset_url, and also just to make sure the additional methods in utils.py are acceptable (they look good to me).

@naumansharifwork @tarakc02 I'm gonna hand you off to @newsroomdev who is developing some docs and a standardized schema. He's in the best position at this point to review and provide feedback until the docs/schema are published.

Hi @naumansharifwork. I'm happy to review this pull request, but we'll need to update the code with the latest from the dev branch. Let me know if I can help with that. The added utils look great!
As for metadata JSON, I'd like to standardize these across scrapers (potentially refactoring existing scrapers) and would like to hear your thoughts on an open GitHub Discussion. I don't think fullerton_pd.json matches just yet, but there may be additional distinct considerations we need to adjust for.
Lastly, @tarakc02 are you referring to a specific instance in this pull request where asset_url was a null-ish value? Basically, if the page is dynamic, the scraper would need to handle the site dynamically. This might be easier to discuss further via your discussion comments

@newsroomdev i have updated the code from dev, for the case_num there is a case from the website which does not have the case_num the very first record on https://portal.laserfiche.com/Portal/Browse.aspx?id=726681&repo=r-3261686e so, should we keep it as empty?

Interesting catch @naumansharifwork. Your example is a good reason to use case_id instead of case_num. The URL looks a little similar to San Diego PD's case_id structure where there's an address and an identification number. In this instance, we can safely default case_id == title but typically we'll want to extract a case_id from either the parent_page's title or its contents.
    {
        "title": "1 Status of Productions",
        "parent_page": "ca_fullerton_pd/1 Status of Productions.json",
        "asset_url": "https://portal.laserfiche.com/Portal/Browse.aspx?id=726681&repo=r-3261686e",
        "name": "Status of SB 1421 Productions"
        "case_id": "1 Status of Productions"
    },

@newsroomdev i have updated the script to look into child folders as well and get the asset_urls.
attaching the output meta json as well.
please have a look Thanks.
ca_fullerton_pd.json


Finish checksum matrix display function

As a user, I want to be able to see the output checksums in a matrix format based on the current terminal width.

Line and checksum values are currently printed one data line per terminal line which causes the values to scroll off the screen for long programs. It would be much easier to read and verify the codes if they were printed in table format.

Need to separate the code that determines terminal width and pass that value into the function to support ability to test.


Document all cleaning steps in a google doc

The data cleaning and imputations is not documented in right now outside the rulevetting/projects/tbi_pecarn/dataset.py file, see Dataset.get_data function.
We need to write all the steps in a short google doc. I suggest you use a debugger and just go over all the steps manually, let me know if you need help using it.

@JerryJia00 I created a brunch 3-document-all-cleaning-steps-in-a-google-doc for you, but I don't expect you to push code unless you find some bugs or want to change something.


List not iterable

Hello :)
I have a problem with MyBatis, I can't give names for variables and so on... Confidential data, I prefer not to give :) I have this error :
org.apache.ibatis.builder.BuilderException: Error evaluating expression '<liste_name>'.  Return value ( //all values in list separated with comma here// ) was not iterable.
Java :
List<BigDecimal> <liste_name> = Stream.of(<one String variable>.split(",")).map(BigDecimal.new).collect(Collectors.toList());
    BigDecimal <one_id> = [recuperation here of the id...]
    Map<String, Object> map = new HashMap<>();
    map.put("<liste_name>", <liste_name>);
    map.put("<one_id>",<one id>);
    return <call here SQL request>(map);

SQL
[begining of SQL request...]
WHERE <col number 1> = <one_id>
AND <col number 2> IN
<foreach open="(" separator="," close=")" collection="<liste_name>" item="<item_name>">
    #{<item_name>}
</foreach>
[end of SQL request...]

For example, replace "<liste_name>" by "myListOfCars" and so on...
Thank you very, very, very much to help me :)

Hello @Etienne-Wattebled ,
I have added a comment on your question on Stack Overflow.
I'll close this issue and wait for your response there.


events: add a few attributes

Found in https://github.com/mesosphere/marathon/blob/master/src/main/scala/mesosphere/marathon/core/event/Events.scala

@solarkennedy I considered adding MarathonIpAddresses instead of handling lists, but I found the current solution more consistent with existing code.


missing schema error when using kotlin.js.externals Jquery

Adding dependency of compile "kotlin.js.externals:kotlin-js-jquery:$kotlin_jquery_version"  while using the web front end plugin for Kotlin results in missing schema during npm install phase.  Any ideas on what causes this?  having the npm dependency listed in the NPM section of the build fiel doesn't help either.

I have the same problem
This fails
Command: cmd /C mklink /J C:\workspace\schniesel-designer-kotlin\js\build\node_modules@kotlin-externals\jquery C:\workspace\schniesel-designer-kotlin\js\build\node_modules_imported@kotlin-externals\jquery
Successfully started process 'command 'cmd''
Das System kann den angegebenen Pfad nicht finden.
:js:npm-install FAILED
:js:npm-install (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 1.188 secs.
At first I thought that it was because of the @ char in the path but that actually works fine, I tested it.
I think it's because it wants to link into a subdirectory (@kotlin-externals) that doesnt exist yet.

So I actually patched up the plugin to solve this problem of the junctions parent folder not existing and then kotlin-dce-js chocked and I got a schema missing error anyways whenever I didn't gradle clean. This dependency is just weird compared to kotlin-html and kotlin-stdlib-js and it doesn't even include the Javascript implementation. SO the easy solution here is to have this dependency in the compileOnly scope:
 compileOnly "kotlin.js.externals:kotlin-js-jquery:3.2.0-0"


Add a page for errors

Currently the errors replace the full page. It needs to have a specific page that keeps the navbar so the user can still navigate without having to type the site again

This feature has been implemented successfully. In the future we can improve the layout even more.


java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V

I am getting this error only in . Sqlite JDBC version <IP_ADDRESS>

Windows Server 2012 R2

javax.persistence.PersistenceException: java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:815)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)
    at com.accelerite.radialive.cs.storage.dao.ClusterPropertiesDAO.getPropertyByTypeAndKeyWithSubType(ClusterPropertiesDAO.java:42)
    at com.accelerite.radialive.cs.storage.dao.ClusterPropertiesDAO.addClusterProperty(ClusterPropertiesDAO.java:149)
    at com.accelerite.radialive.cs.util.Bootstrap.contextInitialized(Bootstrap.java:56)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5003)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5517)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
    at org.sqlite.core.NativeDB._open(Native Method)
    at org.sqlite.core.DB.open(DB.java:161)
    at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
    at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76)
    at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:24)
    at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
    at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
    at org.sqlite.JDBC.createConnection(JDBC.java:114)
    at org.sqlite.JDBC.connect(JDBC.java:88)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
    at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)
    ... 20 more

I'm getting the same error on ubuntu linux 14.04 running on a pandaboard (armhf architecture):
03/14/2016 14:59:31: Caused by: java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
03/14/2016 14:59:31:    at org.sqlite.core.NativeDB._open(Native Method)
03/14/2016 14:59:31:    at org.sqlite.core.DB.open(DB.java:161)
03/14/2016 14:59:31:    at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
03/14/2016 14:59:31:    at org.sqlite.core.CoreConnection.(CoreConnection.java:76)
03/14/2016 14:59:31:    at org.sqlite.jdbc3.JDBC3Connection.(JDBC3Connection.java:24)
03/14/2016 14:59:31:    at org.sqlite.jdbc4.JDBC4Connection.(JDBC4Connection.java:23)
03/14/2016 14:59:31:    at org.sqlite.SQLiteConnection.(SQLiteConnection.java:45)
03/14/2016 14:59:31:    at org.sqlite.JDBC.createConnection(JDBC.java:114)
03/14/2016 14:59:31:    at org.sqlite.JDBC.connect(JDBC.java:88)
03/14/2016 14:59:31:    at java.sql.DriverManager.getConnection(DriverManager.java:571)
03/14/2016 14:59:31:    at java.sql.DriverManager.getConnection(DriverManager.java:233)

I have the same problem on Raspbian 2016

Same on Debian 8

Windows 10 Pro works fine, however Windows Server 2012 does not
Also using Sqlite JDBC version <IP_ADDRESS>

Okay, at least I found my problem: The tmp directory for the application was wrong.
I now added a check to my application, whether the tmp directory exists, is a directory and can be written. Hope that helps me realize the problem sooner next time.

For linux I was able to work around this by making sure the tmp directory had exec permissions.

Hi,
I am using SQLite version <IP_ADDRESS> and it's giving the same error (java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V)
I tried other verions as well and 3.7.2 works fine on my system but with this version i face another issue.
I am using DBCP2 for connection pooling and with SQLite 3.7.2 it gives following error.
java.lang.AbstractMethodError: org.sqlite.Conn.isValid(I)Z
It means isValid() method is not present in SQLite 3.7.2.  And the version where this method is available, is not working on my system. Right?
I am using window 10 pro.
Same code runs fine on other Systems with WIndow 10 pro. Only my System is giving this issue.
I would really appreciate any help on this issue.
Thanks,
Jitender

Please check, that the tmpDir is set and you have the permissions. The SQLite DLL gets extracted from the jar to the tmp.
final File tmp = new File(System.getProperty("java.io.tmpdir")); if (!tmp.exists() || !tmp.isDirectory() || !tmp.canRead() || !tmp.canWrite()) {     throw new Exception("error with tmpDir"); } SQLiteJDBCLoader.initialize();

Hey jesudornenkrone
I used the code snippet and got following exception.
2016-07-20 15:50:58 ERROR DvSearchServices:152 - error with tmpDir java.lang.Exception: error with tmpDir 	at com.dataprivc.searchengine.consumer.DvSearchTaskServicesImpl.getSqliteDSConn(DvSearchTaskServicesImpl.java:158) 	at com.dataprivc.searchengine.consumer.DvSearchTaskServicesImpl.getTaskStatus(DvSearchTaskServicesImpl.java:37) 	at com.dataprivc.searchengine.webservices.DvSearchServices.getStatus(DvSearchServices.java:147) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:498) 	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) 	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517) 	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 	at java.lang.Thread.run(Thread.java:745)
So the tmpdir does not exist. How do I fix this?

Hey jesudornenkrone,
Thanks for pointing in the right direction.
I printed the path of the temp file and it was right in the Tomcat server's home directory. And there wa no temp folder.
I created a folder there manually and it worked like a charm. Now i can add a check in my code that if temp directory doesn't exist then create one.
Thanks a lot Again

Same error as above.
The root cause of my error is that: THERE IS NO TEMP FOLDER IN TOMCAT INSTALL DIR
So My solution:
cd /usr/share/tomcat8 # this is the install dir of my tomcat8 (cause I install it by apt-get)
sudo mkdir temp
sudo chmod 777 temp/
Then restart tomcat, the error is gone.

One other thing that could be causing this issue is that sqlite is only allowing a single network connection to the database. I was running into this error during development. If I republished the code in Eclipse and didn't stop and start the web application container (weblogic in this case) I would get this error. Stopping weblogic and starting it again worked to get sqlite to respond again.

same error, version 3.14.2,
uname -a
Linux AY14011115535187549fZ 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
lscpu

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               2200.062
BogoMIPS:              4391.09
Hypervisor vendor:     Xen
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              15360K
NUMA node0 CPU(s):     0-3

I've seen a few people run into this error too with version <IP_ADDRESS>. Weirdly enough it didn't happen with version <IP_ADDRESS>.

I only recently downloaded the source code, compiled it and tried to include in into my java application (console based server application with SQLite support planned).
The compiled  shared object in included in package /org/sqlite/native/Linux/arm and is named libsqlitejdbc.so
Now, according to some posts here, which I found useful, my server application checks "java.io.tmpdir" for correct permissions. Everything seems to be OK.
The error happens to me if my server is being executed on a Raspberry Pi 3 and the following line is executed:

I had the problem with Arch Linux.
My tmp directory was mounted with noexec option. Allowing execution solved the problem for me.

I think #191 can solve this permission problem.org.sqlite.tmpdir JVM env can be used to specify the temporary folder.
The latest version with this support is available from here:
https://oss.sonatype.org/content/repositories/snapshots/org/xerial/sqlite-jdbc/3.16.1-SNAPSHOT/sqlite-jdbc-3.16.1-20170106.232609-17.jar

Let me close this ticket.

Check that your /tmp is not mounted noexec. Debian 9, for example, mounts /tmp with noexec.
$ mount | grep /tmp
/dev/sda6 on /tmp type ext4 (rw,noexec,nosuid,nodev,relatime,data=ordered)

If this is the case, there are 2 workarounds:
Solution 1. Edit /etc/fstab and remove noexec from /tmp. Then remount /tmp:
$ mount -o remount /tmp

Solution 2. Use another tmp location.
$ java ... -Djava.io.tmpdir=/var/run/some-other-location

If running tomcat8 on Debian, edit /etc/default/tomcat8 and add:
JVM_TMP=$CATALINA_BASE/temp

how to solve it on mac???


Error in building wheel for osqp because "No module named cmake' "

I'm trying to install the cvxpy package in my virtual environment of PyCharm. I typed C:\Users\<Username>\PycharmProjects\<projectName>\venv\Scripts>pip install cvxpy, and got:
Collecting cvxpy
  Using cached cvxpy-1.2.1-cp311-cp311-win_amd64.whl
Collecting ecos>=2
  Using cached ecos-2.0.10-cp311-cp311-win_amd64.whl
Collecting osqp>=0.4.1
  Using cached osqp-0.6.2.post5.tar.gz (226 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.15 in c:\users\<Username>\PycharmProjects\<projectName>\venv\lib\site-packages (from cvxpy) (1.23.4)
Collecting scs>=1.1.6
  Using cached scs-3.2.0-cp311-cp311-win_amd64.whl
Requirement already satisfied: scipy>=1.1.0 in c:\users\<Username>\PycharmProjects\<projectName>\venv\lib\site-packages (from cvxpy) (1.9.3)
Collecting qdldl
  Using cached qdldl-0.1.5.post2-cp311-cp311-win_amd64.whl
Building wheels for collected packages: osqp
  Building wheel for osqp (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\<Username>\PycharmProjects\<projectName>\venv\Scripts\python.exe' 'C:\Users\<Username>\PycharmProjects\<projectName>\venv\Lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\<Username>\AppD
ata\Local\Temp\tmptb8bjomi'
       cwd: C:\Users\<Username>\AppData\Local\Temp\pip-install-6glakjuq\osqp_f4f485f728cb41eb9bd04d39cf2e5c81
  Complete output (82 lines):
  Disabling LONG
  Remove long integers for numpy compatibility. See:
   - https://github.com/numpy/numpy/issues/5906
   - https://github.com/ContinuumIO/anaconda-issues/issues/3823
  You can reenable long integers by passing: --osqp --long argument.

  running bdist_wheel
  running build
  running build_py
  running egg_info
  writing src\osqp.egg-info\PKG-INFO
  writing dependency_links to src\osqp.egg-info\dependency_links.txt
  writing requirements to src\osqp.egg-info\requires.txt
  writing top-level names to src\osqp.egg-info\top_level.txt
  listing git files failed - pretending there aren't any
  reading manifest file 'src\osqp.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  running build_ext
  Traceback (most recent call last):
    File "<frozen runpy>", line 198, in _run_module_as_main
    File "<frozen runpy>", line 88, in _run_code
    File "C:\Users\<Username>\PycharmProjects\<projectName>\venv\Scripts\cmake.exe\__main__.py", line 4, in <module>
  ModuleNotFoundError: No module named 'cmake'
.
.
.
  subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
  ----------------------------------------

  ERROR: Failed building wheel for osqp

Trying C:\Users\<Username>>pip install cvxpy does successfuly install cvxpy, but then cvxpy isn't in my virtual environment. I tried uninstalling cmake and then installing cvxpy - didn't work. I uninstalled and reinstalled cmake and didn’t work.
cmake version is the latest, ver 3.24.1, obtained from running pip install cmake
python version is 3.11.0, pip version is 21.3.1.

Update: this has been resolved by uninstalling python version 3.11.0 and installing python version 3.10.7. This page  suggested that OSQP developers have validated the build wheels properly for 3.10. So maybe they havn't done that for 3.11 yet.


ArcGIS MapService doesn't load on latest Maps V3

Running simpleags.html, there's a loop of metadata requests, but the layer never loads. I've got the same behavior on a production site. Looks like the last supported version is unavailable, so I can't verify how it works when it's working. Any ideas on fixes or workarounds?
Thanks!

This commit fixes the problem as far as I can tell. Not sure exactly what changed (I think creating a new ImageOverlay didn't used to trigger draw() and now it does) or what the right solution is to break the loop that breaks stuff because the code is severely under-designed and very difficult to follow.
https://github.com/tst-dhudlow/v3-utility-library/commit/c560ae8e244aba55d8c940e35c0f790712e338b7


Version bump for openssl update

#45

I'm being pedantic, but this should probably be a patch, no features have been added 😉

True that - my bad.

And fixed accordingly :)

@GildedHonour Any update on this?

No
El 14 de noviembre de 2018 11:40:49 GMT-05:00, Ivan Tham<EMAIL_ADDRESS>escribió:

@GildedHonour Any update on this?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/GildedHonour/frank_jwt/pull/46#issuecomment-438730199

--
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

Will this be merge anytime soon?

I plan to do an update myself soon, this merge may not be needed.
Within around a week.

Is there any reason to delay? A simple merge and push to crates.io would fix problems for a lot of your users.

new version has been published


Asyncs bugs

When argument function throws an exception the result async never receives any result.
Asyncs.delegate type bounds too tight.

Why don't have tests for these bugs? They are definitely possible to write.

Added tests


"Drain Battery" (or "Max Self Consumption") Charging Mode

Is your feature request related to a problem? Please describe.
When I don't need a fully charged car for my travel, before leaving home on a sunny day's morning, I'd just like to transfer all available energy from my home energy storage into my car so that the home energy storage can be (fully) recharged during the rest of the day.
Describe the solution you'd like
As a variation of the 'Solar'/'PV' charging mode, evcc should provide a "Drain Battery" (or "Max Self Consumption") mode, where the max available power of Solar/PV and Battery is used for charging, with no (or just minimal) power from Grid.
With active battery management by evcc, a separate battery discarge limit might be specified for this "Drain Battery" mode.
As a bonus feature I'd like to suggest an "auto-activation" mode, where I can activate the "Drain Battery" mode already during the night, but it only starts charging when solar/PV starts producing a certain amount of power. This limit might either be configurable (so that the average household load is covered), or just the one used for the 'Solar'/'PV' Charging mode.
Describe alternatives you've considered
I tried to achive the same result by manually limitting the max charging current, but with varying load of the household or strong variations of solar/PV production on a partially cloudy day, it required permanent monitioring to maximize battery discharge while minimizing Grid use.

seems to be the same  https://github.com/evcc-io/evcc/discussions/12981

Indeed. Didn't think of checking the discussions.


Setup transparency page

Setup transparency.webaverse.com for transparency on token distribution of FLUX

Duplicate issue of https://github.com/webaverse/app/issues/377, closing


Return Type of resource replace by class

Hi,
I was wondering, as I understand the type of resource is something in the future version they going to deprecate/replace.
Now when i was just playing around with CURL under PHP8.0 and saw following items in documentation.

The documentation is based for PHP Storm, but is their a similar implementation possible?
As an example that's direct from PHP:  https://www.php.net/manual/en/class.curlhandle.php
As a future implementation towards 8.1 or next version, can we apply the same logic under the SQL system?
Just a suggestion
Thanks for all the hard work!!

Thanks @jansor , and yes we are aware of the resource type going to be deprecated in the near future, but I'm not sure I understand your question.
Are you asking if we are going to define our own class(es) for sqlsrv/pdo_sqlsrv to communicate with SQL Server?

Hi @yitam , i assume yes,
I don't know how to implement  this but for future releases of the driver, add opaque class? Similar to CurlHandle?
final SqlSrvHandle{ }
Under the documentation part its then possible to add:
`
 "SqlSrvHandle|false"], default: "resource|false")]
function sqlsrv_connect($server_name, $connection_info = array()){}

?>
`
This gives the advantage that we can define return types on methods and properties.

Thanks @jansor for the suggestion. Currently there is no immediate plan for this, but I'll mark this as a feature request.

I was just looking for this - it would be great to hsee in a future release! The PostgreSQL drivers also return an instance of a class rather than a resource as of PHP 8.1 (https://www.php.net/manual/en/class.pgsql-connection.php).
It allows for more type safety as one could check with an instanceof instead of the weird gettype() and looking for a resource type name.


Update devices in SnapfileTemplate

🔑
Checklist

[ ] I've run bundle exec rspec from the root directory to see all new and existing tests pass.

I noticed one test fails, but it seems unrelated to this change:
  1) Gym Project with multiple Schemes and Gymfile #schemes returns all available schemes
     Failure/Error: expect(@project.schemes).to eq(["Example", "ExampleTests"])

       expected: ["Example", "ExampleTests"]
            got: ["ExampleTests", "Example"]

       (compared using ==)
     # ./gym/spec/gymfile_spec.rb:12:in `block (3 levels) in <top (required)>'

[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
The devices list in Snapshot's Snapfile template is outdated at the moment. More specifically, the iPhone 5 does not even support iOS 11. So any apps that require iOS 11 will cause an error while running Snapshot if the iPhone 5 is listed.
Description
I've replaced the iPhone 5 with the iPhone SE. I've also added iPhone X to the list, since I'm guessing lots of apps forget to generate screenshots for it at the moment. Also changed the iPhone 6 generation to iPhone 8.

I signed it!


Can we send multiple tweets?

Im trying to send multiple tweet with this function
for (int i = tweetTimes; i > 0; i--)
            {
                Tweet.PublishTweet(actualTweet);
                Thread.Sleep(10000);
                drawTextProgressBar(i, tweetTimes);
            }

But is only tweeting 1 time. I tried also tweeting elements from an array and the result is the same. What is the cause of this?

Is the text in the tweet the same each time?  If so, Twitter will reject the duplicates.

@jgmdavies is correct, a user cannot send a duplicate tweet within a specific time frame.
If you do so Twitter will reject the tweet.

Do we know that time frame?
El lun., 27 may. 2019 23:25, linvi<EMAIL_ADDRESS>escribió:

@jgmdavies https://github.com/jgmdavies is correct, a user cannot send
a duplicate tweet within a specific time frame.
If you do so Twitter will reject the tweet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/linvi/tweetinvi/issues/848?email_source=notifications&email_token=AL5J52XGHN6CTHKAS5HBMS3PXRNWLA5CNFSM4HM2HH42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWKSTDQ#issuecomment-496314766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5J52T73ICNAYA7F3HLYO3PXRNWLANCNFSM4HM2HH4Q
.

This is very low priority so please implement it on your own for now.


Player kicked when putting gear items on armor stand due to missing sound event id

Internal Exception error for SoundEvent@40bfbe58 when placing a dungeon gear item on an armor stand

Only happens on a server, not in a solo world. Guessing not your bug, sorry.

I have the same problem, and happen when my friend or me equip de armors. Do you have another mods installed? Maybe one change how the sound work or something like that, like "soundphysics"?

I am currently looking into this. Since this relates to ArmorGear, I will transfer this to Dungeons Libraries.


Error - Adding RadiusDesk MAO Apt Repository Key (Ubuntu 14+)

Please help with issue. How to fix it? Thanks in advance.
TASK [radiusdesk : Adding RadiusDesk MAO Apt Repository Key (Ubuntu 14+)] ****************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key add -", "failed": true, "msg": "gpg: no valid OpenPGP data found.", "rc": 2, "stderr": "gpg: no valid OpenPGP data found.\n", "stderr_lines": ["gpg: no valid OpenPGP data found."], "stdout": "", "stdout_lines": []}

The domain resolution has been fixed now. Also ensure you are not using Google public DNS servers (<IP_ADDRESS> and <IP_ADDRESS>).

hi I am getting this error:
HTTP Error 404 (http://aropoly....)


Build bug

When I try to build the exe it says an error has occurred (insert exe name) is being used by another process even though it is not

Your AV is interfering with the build process.


Way to specify different urls based on the device type

I'd like to be able to have components pick different urls based on, for example, whether they are mobile/desktop or potentially other differences.
Right now we only support url differences based on env.
One possibility is to add a devieUrls.
Another is to allow url to be a function which would let the component author determine the logic for deciding on the url. But this releases the 'running custom javascript on the parent' cat out of the bag.

Or url could just be a getter. That'll probably be easier.


Testing actors (mocking out the eventlog?)

Is there a good way to test event sourced actors?
One would only need to test Cmd -> Evt contracts.
It would be nice to somehow intercept the events before they get sent to the event log (i.e. what write method is doing).
Did anyone have any luck with that?

@drozzy I would prefer that you use the mailing list or the Gitter chatroom for asking questions. If we find out that something is really a missing feature or a bug, open a ticket then. Thank you!
Now to your question: there is currently no special test kit for testing event-sourced actor but you can take a look at EventsourcedActorSpec as an example for low-level testing. This however requires knowledge of the EventsourcingProtocol which should be hidden by a test kit.
I just created #198 for tracking the requirements and development of such a test kit. If you have suggestions for the feature set and the API, please add your comments there. If your question is answered, please close this ticket.


Feature/discovery

Device discovery
Description
The Device discovery wasn't working on windows. With these changes it should be much more stable.
Your checklist for this pull request
🚨 Please review the guidelines for contributing to this repository.

[X] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[X] Make sure you are making a pull request against the beta branch (left side). Also you should start your branch off svrooij/node-sonos-ts/beta.
[X] Check the commit's or even all commits' message styles matches our requested structure.
[X] Check your code additions will fail neither code linting checks nor unit test.
[X] Check you add tests for added code.

💔 Thank you!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

30 of 33 (90.91%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.5%) to 78.081%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sonos-event-listener.ts
4
5
80.0%

src/sonos-device-discovery.ts
26
28
92.86%

Files with Coverage Reduction
New Missed Lines
%

src/sonos-device-discovery.ts
1
87.1%

src/sonos-event-listener.ts
5
74.57%

Totals

Change from base Build<PHONE_NUMBER>:
1.5%

Covered Lines:
1530

Relevant Lines:
1938

💛  - Coveralls


Correct match with clusterrole

Use the correct unique clusterrole in the clusterrolebinding.

/lgtm

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
1cd573ea5a5af7fbdb5f77e56202941f8dfad028
link
/test new-e2e-rbac_no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

fantastic, looks like the only slightly suspicious error left in this run was
W0913 05:28:39.313] Error from server (NotFound): error when deleting "/tmp/demo_test286663287/route-rule-all-v1.yaml": routerules.config.istio.io "reviews-default" not found

which is pretty good