How to check if value is null in bloblang

I am trying to drop message if certain field is not provided.
Here is my first try: https://lab.benthos.dev/l/s_i-y8aJKKh
It "works", but logs the following:
Log: Failed to test case 0: failed assignment (line 1): cannot compare types string (from field `this.email`) and null (from null literal)

This behavior feels quite weird.
If I invert the condition: https://lab.benthos.dev/l/quJFB4lBO-C
there is no error, but the configuration is more verbose.
From this I can derive the following version: https://lab.benthos.dev/l/XcwQpSt14oQ
which works correctly, but feels bit convoluted.
This version also exposed hole in the documentation: Boolean operations aren't documented. First I didn't wrap the expression into string and got error because ! is special in yaml. This led me to believe that bloblang doesn't support negation and to frantically search documentation which didn't give any information (I even tried to look into the parsers code but didn't find anything from there either). Then I randomly tried to wrap it into string and got it working.

Hey @WaDelma, thanks for raising this, that's a rather big hole in the docs. I think it should also be safe to expand == for strings to allow comparison against null so I'll look at that at the same time.

Thanks. It seems that those messages are retried even though I explicitly dropped them.

No the filtered messages are removed from the message batch during processing which is then routed to the output layer, if the output layer doesn't successfully send the batch and nacks it then the messages that weren't filtered are nacked and the messages that were removed by your filters are acked (as they were intentionally dropped).
However, in your case you're consuming from kafka, which doesn't have a concept of a nack, so instead of nacking or acking any messages the entire batch is processed again. Since the filters are the same the same messages are removed when the batch is processed again, so until the batch is successfully sent (and acked) by the output layer those filtered messages still "exist".

Okay. Got confused by the failure and thought it was retrying because of the filter, but after trying again it seemed to behave correctly.

Forgot to update this ticket, got an implementation that fixes string comparisons: https://github.com/Jeffail/benthos/commit/ef8939a748a872d8ba835b75e8ffc6eb68205c84, also adds docs specifically covering arithmetic.


Wario moves in wrong direction

If you press down LEFT and then down RIGHT and then release RIGHT, Wario will keep walking to the right.

This could be corrected by using get_pressed instead of a keydown-event do determine what direction Wario should look... this would prioritize one key over the other dough...


DownloadFile throws RemoteException

Describe the issue
Since a couple of days (3 nights) one of our scripts fails with a remote exception:
System.Management.Automation.RemoteException: Ausnahme beim Aufrufen von "DownloadFile" mit 2 Argument(en):  "Der Remotename konnte nicht aufgelöst werden: 'bcartifacts.azureedge.net'"
..... so the remotename bcartifacts.azureedge.net could not be resolved
Scripts used to create container and cause the issue
Write-Host "Download-Artifacts ...."
$sasToken = "xxxxxx"
Download-Artifacts -artifactUrl (Get-BCArtifactUrl -type Sandbox -select Current -country ch) -includePlatform
Download-Artifacts -artifactUrl (Get-BCArtifactUrl -type Sandbox -select NextMinor -country ch -sasToken $sasToken) -includePlatform
Download-Artifacts -artifactUrl (Get-BCArtifactUrl -type Sandbox -select NextMajor -country ch -sasToken $sasToken) -includePlatform
Additional context
I just tried running the same script during the day and it worked without any issues.
We run the script as part of nightly scripts around midnight.  Any idea what could be causing this remote exception?

Are you running Windows Server 2016?

Windows Server 2019, Version 1809 (Build 17763.1577)

I have seen downloads from azureedge.net fails occasionally, which is why there is a retry mechanism.
Could you try to send me the full output, so that I can see what gets tried?

Last night the script had no issues  🤷♂
I'll close this issue for now and reopen it as soon as it fails again


Search page follow-up improvements

Now that the new search experience is live at opencollective.com/search, there are a couple of improvements to complete, and I wanted to bundle them all in an issue, so they don't get lost:

https://github.com/opencollective/opencollective/issues/5675
https://github.com/opencollective/opencollective/issues/5622
https://github.com/opencollective/opencollective/issues/5449
https://github.com/opencollective/opencollective/issues/5714

cc @SudharakaP

https://github.com/opencollective/opencollective/issues/5809
https://github.com/opencollective/opencollective/issues/2232#issuecomment-1197304604
https://github.com/opencollective/opencollective/issues/5751
https://github.com/opencollective/opencollective/issues/5530
https://github.com/opencollective/opencollective/issues/5523
https://github.com/opencollective/opencollective/issues/5793

https://github.com/opencollective/opencollective/issues/5811


fix(typescript): Fix interactive refactors

Passing along this argument is required since you proxy includeInteractiveActions in getApplicableRefactors. Without this, VS Code’s “Move to File” refactor fails for all TypeScript users who have the extension installed:
https://github.com/user-attachments/assets/2e169eff-b220-4ae5-8d4e-1017b0d9eaa7

LGTM, thanks!


[Enhancement] broke load enhanced

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
2.0.4
lzo  and snappy is not support by  broke load

Solution
it is better to support  it
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

I'm working on it.


Document payload inheritance

Describe payload inheritance in the resource-definitions section (we only had mentions in the getting started guide).
Signed-off-by: Josep M. Blanquer<EMAIL_ADDRESS>

Very clear, LGTM! 👍


Error when trying to create a dotted line

Bug Report
Description of the problem
I get an Error: dash([0,2], {}) invalid, lengths must be numeric and greater than zero Error when tying to create a dotted line unsing .lineCap('round').dash(0, { space: 2 }).
From some research I found this was introduced because of #949 in #969. This bit of the PDF spec was mentioned there:

The dash array’s elements are numbers that specify the lengths of alternating dashes and gaps; the numbers must be nonnegative and not all zero.

The way I interpret that is that the length and the space can't both be zero.
So [0 2] 0 d would be valid whereas [0] 0 d or [0 0] 0 d would be invalid.
As far as I understand it, this is the only way to create a dotted line.
Workaround
Do it manually:
doc
    .moveTo(0, 10)
    .lineTo(100, 10)
    .lineCap('round')
    .addContent('[0 2] 0 d')
    .stroke();

Code sample
const PDFDocument = require('pdfkit');
const fs = require('fs');

const doc = new PDFDocument;

doc.pipe(fs.createWriteStream('output.pdf'));

doc
    .moveTo(0, 10)
    .lineTo(100, 10)
    .lineCap('round')
    .dash(0, { space: 2 })
    .stroke();

doc.end();

Your environment

pdfkit version: 0.10.0
Node version: 12.13.1
Browser version (if applicable):
Operating System: Ubuntu

@floyd-may , can you take a look at it?

Downgrading to 0.9.1 will fix this, which is before they added this error.
The error notes it was added because some viewers can't view dash with values of 0, so I guess I'm exposing to risk, but I truly need a 0 in there. 🤷🏻♂

@PascalPixel do mind creating a PR with an unit test (basically the code from OP)?

@blikblum sorry I didn't see this earlier! I switched jobs and my subscription to this repo was pointed at my work email address =(
I agree that this appears to be over-zealous validation. I was able to use this code to produce a dotted line that renders correctly in MS Edge:
doc
    .moveTo(0, 10)
    .lineTo(100, 10)
    .lineCap('round')
    .addContent('[0 2] 0 d')
    .stroke();

I don't know that I have the bandwidth to make a PR for at least a week, but if this is still unaddressed by that time, please ping me here and I'll try to carve out a couple hours.

Google Chrome renders without issues as well 🎉
Referring to your PR @floyd-may https://github.com/foliojs/pdfkit/pull/969, do you remember which renderers specifically had an issue?

@PascalPixel it was MS Edge and Adobe Reader that had issues.

Ok Adobe Reader is pretty important 😅


Any support for "Native Overlay Diff"?

I am experiencing a lack of support for "Native Overlay Diff" in an "docker in docker" configuration using sysbox-runc.
Inside nestybox/ubuntu-focal-systemd-docker container I have
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  userxattr: false

in fact I notice an enormous slowness in the build of my images inside the container (i am using an image that derives from that).
I was wondering if it could be a problem related to some missing configuration or if it is not a feasible thing.

Hi @uazo, thanks for filing the issue and for giving Sysbox a shot.

in fact I notice an enormous slowness in the build of my images inside the container

That's strange, we've not seen any difference in the speed of building inner images. What container image are you building inside the Sysbox container, such that I can reproduce and debug?

such that I can reproduce and debug?

sure, but unfortunately my work is still a work in progress, I am trying to create with sysbox a ci for bromite (a fork of chromium) and therefore I work with very large images, about 30gb.
the setup is a bit complex, because a self hosted custom github runner runs through sysbox, and the (docker) build is made by an action called by another action, but I try to simplify and put you in a position to try.
anyhow here is the Dockerfile, while here is the action and the Dockfile that have the issue.

we've not seen any difference in the speed of building inner images

ok, maybe I double check generating the build without dind, I wouldn't want to be wrong about the need for that function

Thanks @uazo for sharing, I'll give that Dockerfile a try a bit later today to see if I spot any problems with the build time.

Hi @uazo, I used the Dockerfile you provided and built an image both on my development machine, and inside a sysbox container (nestybox/ubuntu-focal-systemd-docker).
Here is what I see:
Build time on my dev machine: 2m 4secs
Build time inside the sysbox container: 2m 25 secs    (i.e., 10% slower)
We do expect a slight slow down inside the sysbox container due to a variety of factors (e.g., inner docker sees an extra docker network bridge, sysbox virtualizes portions of /proc and intercepts a few syscalls, etc.), but nothing major.

in fact I notice an enormous slowness in the build of my images inside the container

I wonder why you see this and I don't. My setup is pretty simple: my development machine is Ubuntu-Focal, with an ext4 filesystem and Docker 20.10.5.
For Sysbox, I am using Sysbox top of tree.
Could you provide info about your host machine?
Also, is this something you see consistently across different host machines?
Thanks ...

Could you provide info about your host machine?

the host is an old server with ubuntu 20, 8gb ram and ssd (ext4 filesystem), latest version of docker in the host, the one you see in the dockerfile for sysbox, the only one is containerd.io=1.4.4-1 for the runc bug.
I tried it on an identical machine that I have available and actually I don't notice any problems there!
I'm very sorry I wasted your time.

I wonder why you see this and I don't

today I will try to reinstall that machine from scratch, by heart I remember that I had upgraded from 18 to 20 on that one, maybe that's why. in the meantime I also realized that the approach I am using for generating the images is not quite correct (and therefore the performance of the build can be increased but sysbox has nothing to do with it, my fault :)
if you need any logs before resetting just let me know.
thank you so much for your support.

Hi @uazo,

I tried it on an identical machine that I have available and actually I don't notice any problems there!

OK great, thanks for letting me know.

I'm very sorry I wasted your time.

No worries at all, thank you for trying Sysbox and for filing the issue. Hope you are finding it useful, let us know if you hit any other issues.
Also, feel free to join the Sysbox slack channel, there is a community of users there that benefit from each other's experience.
Best!


[TODO List] New Editor and UI

The New UI system is nearing completion and is almost at feature parity with the previous Dear ImGUI editor!
These are the remaining tasks:
Bugs:

[x] Transform Gizmo, Multi-select scale isn't working
[x] Popup - Clicking on the parent node that created the popup doesn't close the popup
[x] Input Fields hold focus too well
[x] View Manipulator struggled with up and down due to Scene View camera Clamping
[x] When Renaming Gameobject the name text moves down by a couple of pixels
[x] Docking Separator can be selected when interactables/blockers exist above it
[x] Numerical Input Fields need to support '-' for negative values
[x] Can't drag from Asset Browser to the inspector, Selection is happening On click, not release
[x] GUI Scaling breaking input
[x] Inspector Editor only displays Null on component fields should still show full field
[x] Scroll is broken
[x] Tooltips cause Clip Rects to break?
[x] Asset Browser is slow due to not using new Asset Database Cache

Missing Features:

[x] Transform Gizmo, Uniform Scaling when ctrl is held
[x] Asset Tree & Browser, Drag files/folders into folders
[x] Asset Tree & Browser, Right Click Menu
[x] Asset Tree & Browser, Rename
[x] Component Right click menu
[x] File Dialog
[x] GUI Attributes
[x] Layermask editor
[x] List & Array support in Inspector
[x] Inspector Add Component
[x] Console window is missing its options
[x] Support dragging material into scene view
[x] Duplicate selected object from Scene View
[x] Horizontal scroll

Once these are done the new Editor is finished and will be merged into the main branch!

YESSSSSS YESSSSSSSSSS YESSSSSSSSSSSS


Can't change Android notification icon from default white square

I'm creating a local notification and would like to change the icon from the default white square to my app logo. I tried adding my white image with transparent background to the notification via the "icon" attribute but it doesn't work. Do I need to add this image to AndroidManifest.xml or something else?

are you setting icon property in payload?

try just my_icon
my_icon.png is in your mipmap folder right?

aha removing ".png" got it working. Thanks!!


Bond 'Pending' UI bug

Might not be a bug, but I think just poor wording?

Maybe "Total unredeemed" or "Unredeemed value" (used in the tooltip) would be better than "Pending"? "Pending" is too vague, vs "un/redeemed". The tooltip could say something like "Total amount (vested and unvested) pending redemption".


68 youtube embed

@khalilcodes I still need to update the package readme and testing. I used the same solution we had yesterday

@khalilcodes if you are happy that we use the changed solution, I'll resolve conflicts and merge

@PhilippeduPreez great it works and can be merged ! Next steps to do would be to add tests for the remark plugin.


cron GHA is broken

What happened?
https://github.com/pulumi/pulumi-linode/actions/runs/3880673010
Steps to reproduce
n/a
Expected Behavior
n/a
Actual Behavior
n/a
Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Getting https://github.com/pulumi/pulumi-linode/actions/runs/3889741155/jobs/6638307411#step:21:198 "Linode account limit reached'".

This appears to have been fixed.


setup_singlebigip_tests failed to run appropriately in a test build

Title: setup_singlebigip_tests failed to run appropriately in a test build
Attachments:
Details:

Suggested Issue Type
Test bug
Trace data
pbr==3.1.1
pluggy==0.5.2
py==1.4.34
pytest-autolog==1.1.0
pytest-meta==0.1.1
pytest-symbols==0.1.0a3
PyYAML==3.12
six==1.10.0
stevedore==1.26.0
testenv-all==0.1.4
tox==2.8.2
virtualenv==15.1.0
virtualenv-clone==0.2.6
virtualenvwrapper==4.8.2
executing 12.1.2-overcloud
make[1]: Entering directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
executing run_overcloud_tests
make[2]: Entering directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
executing setup_singlebigip_tests
running testenv create with stack name agent_stablenewton_v12_1_2_bigip
Makefile:163: recipe for target 'setup_singlebigip_tests' failed
make[2]: *** [setup_singlebigip_tests] Error 127
make[2]: Leaving directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
make[2]: Entering directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
executing cleanup_singlebigip
running testenv delete with stack name agent_stablenewton_v12_1_2_bigip
Makefile:267: recipe for target 'cleanup_singlebigip' failed
make[2]: *** [cleanup_singlebigip] Error 127
make[2]: Leaving directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
Makefile:140: recipe for target 'run_overcloud_tests' failed
make[1]: [run_overcloud_tests] Error 2 (ignored)
make[1]: Leaving directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
make: Leaving directory '/home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest'
+ [ -n 12.1.2-overcloud ]
+ systest/scripts/record_results.sh
+ cp -r /home-local/jenkins/workspace/openstack/agent/newton/12.1.2-overcloud/systest/test_results/f5-openstack-agent_stablenewton /home/jenkins/results/openstack.agent.newton.12.1.2-overcloud/12.1.2-overcloud-31/

Impacted Test Builds

openstack_agent_newton_12.1.2-overcloud.31.consoleText

OpenStack Release
newton
Agent Version
newton latest

These are now running.


Wrong charset of changed HTML

Describe the bug
When the HTML is modified the Content-Type header is missing the charset. This leads to an incorrect rendering of the page:

The error is in this line:
https://github.com/aem-vite/vite-aem-plugin/blob/cbc7c413b321d519acdfb0bb2aeb0887e2cebf65/src/helpers.ts#L156
This should be changed to text/html;charset=utf-8 (or whatever the server sends)
This error also exists in the version for Vite 4, if possible it would be great if it cloud be fixed there also.

@dfranek-pix Thanks for raising this issue. This is fixed in v5.0.3.


Decide whether internal changes count as breaking or not

So far, several releases have included a “BREAKING CHANGE (internal)”, which is a breaking change to the private methods used to communicate between Session and its subclasses. Before the 1.0.0 release, we need to figure out if those kinds of changes are really considered breaking and require a major version bump in future, or if this whole interface is considered unstable and can be changed with only a minor (or even patch?) version bump.

Correction: at least internalGet and internalPost are currently jsdoc’ed as protected, not private. That lends at least some justification to the idea of considering them part of the stable interface.

I think one policy I could live with is that the protected interface can be changed with a minor release, just not with a patch release; libraries depending on this interface would be advised to use ~1.0.0 instead of ^1.0.0.
I should also double-check if internalGet and internalPost are the only parts of the protected interface, or if I’m missing something.

Done with 43b8ad518e.


Curation app home page down

an empty study caused by a failed delete operation caused the issue, removed it from backend and it got fixed.


Adds a new section in FAQ about Mobile apps

(sorry for the second, duplicated, review: train connection lag...)


Failing to compile Go 1.7.4 on macOS

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Not passing tests, but attempting to compile go1.7.4
$GOBOOTSTRAP/bin/go version is:
go version go1.7.1 darwin/amd64

What operating system and processor architecture are you using (go env)?
macOS 10.12.1
src → go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mitchellh/code/go"
GORACE=""
GOROOT="/Users/mitchellh/code/3rdparty/go"
GOTOOLDIR="/Users/mitchellh/code/3rdparty/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3q/c37yygcs4vl7cvzq3k3wdnyr0000gn/T/go-build018200950=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?

Clone Go Git repo
git checkout go1.7.4
cd src; ./all.bash

What did you expect to see?
Successful completion
What did you see instead?
When testing system packages, this fails every time:
--- FAIL: TestLoadFixed (0.00s)
	time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
FAIL
FAIL	time	2.422s

I've reproduced this on all 3 macOS machines I have: two MacBook Airs and one iMac
I feel like I'm probably doing something wrong but I can't figure it out...

Looks like this is fixed on master (go1.8) and is just a macOS 10.12 issue on <= go1.7. I'm not sure if the fix should be backported for a clean compile. I'll leave this issue open but if its working as intended (only 1.8 should compile+test cleanly) then I accept that.

Dup of #17276.


Not urgent: remove db and storage args from ln.connect and lamin load and prettify signature

This is way too messy.

@Koncopd, can you attack this next to prepare what will be my next ask?
https://github.com/laminlabs/pfizer-lamin-usage/issues/25

yep

I'm pretty sure we can remove all logic from the code & test base related to these two arguments, which will hopefully simplify everything a little.
These arguments are historical and date back to times when things were much more manual.


No gt.txt found on train

I am trying the gui out, I was able to pass through the issue where it was having problems with symbols that are not available for utf-8,  but after it made the boxes and lstmf files it gave me an error that there are "not enough gt.txt files found. Found 0" the ground truth files are in the same folder as the tif and box files so I am not sure why it wasn't able to detect the gt files.
I am also having issues with double quote marks causing an issue on the training box creation since latin-1 does not include smart quotes. Should I change the smart quotes in my gt files into straight quotes?

Okay I was able to figure out the issue, if you have a folder path that has a space like c://foo/bar buzz/  the tool will have an error since it runs the commands in CLI and it doesn't surround the path to the .gt.txt files with quote marks.
Workaround:
Move to a folder with no space in the path.
Fix:
Add quote marks to the ground truth path argument on CLI call.

Are you sure you have latest version? I've just tested using folder with spaces and everything is working properly.
There was a fix about month ago which fixed similar issues.

It's the third arg on the .box and .lstmf generation step that doesn't have the quote marks around the output dir.

Thank you for the picture, now i can see it. You've mislead me with your comment "it doesn't surround the path to the .gt.txt files with quote marks.". It was not .gt.txt or .box, it was actually during generation of the .lstmf file.
I didn't have this error on my test, because .lstmf files are not created if they are up to date, I needed to clean them (there's an option in Advanced tab for it), and I could reproduce the issue.
Anyways it is fixed now, thanks for the report!


rank_genes_groups modifies its argument groups

rank_genes_groups modifies its argument groups:
import scanpy as sc
adata = sc.datasets.pbmc68k_reduced()
groups = ["1"]
print(groups)
# ["1"]
sc.tl.rank_genes_groups(adata, "louvain", groups=groups, reference="2")
print(groups)
# ["1", "2"]

Thanks!

On Feb 12, 2019, at 01:14, Philipp A<EMAIL_ADDRESS>wrote:
Closed #475 via 86f189e.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for reporting :smile:


Add CoroutineExceptionHandler and try/catch blocks over critical area…

…s. Also moved AndroidLogger setup to earlier time to handle early crashes.

Codecov Report
Patch coverage: 80.95% and project coverage change: +39.56 :tada:

Comparison is base (19cc5e9) 45.44% compared to head (6a308b9) 85.01%.

Additional details and impacted files
@@              Coverage Diff              @@
##               main     #146       +/-   ##
=============================================
+ Coverage     45.44%   85.01%   +39.56%
- Complexity       14      465      +451
=============================================
  Files             8       66       +58
  Lines           856     5111     +4255
  Branches         85      632      +547
=============================================
+ Hits            389     4345     +3956
+ Misses          437      231      -206
- Partials         30      535      +505

Impacted Files
Coverage Δ

...segment/analytics/kotlin/core/platform/Mediator.kt
90.90% <50.00%> (ø)

...ava/com/segment/analytics/kotlin/core/Analytics.kt
75.00% <88.23%> (ø)

... and 72 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Ignore data channels error when conference is already left

Prevents one more error case.

Probably this will be no longer needed if https://github.com/jitsi/lib-jitsi-meet/pull/212 is merged

This is no longer required. See https://github.com/jitsi/jitsi-meet-react/pull/89 instead


WASM - misc fixes

Fix an error type when trying to convert int64 from Js value. https://github.com/WebAssembly/design/blob/master/JS.md#towebassemblyvalue
I don't know when it was changed, but there is no longer a concept of default namespace for imports https://github.com/WebAssembly/design/blob/master/JS.md#webassemblyinstance-constructor. The steps shows that we should always perform 2 GetProperty to get teh import

This change is

Rebased on latest release/1.4 and rerun tests since it was pretty old


feat: update entitlements with new properties and functions

Pull Request Type

[x] Feature addition
[ ] Bugfix
[ ] Documentation update
[ ] Code refactor
[ ] Tests improvement
[ ] CI/CD pipeline enhancement
[ ] Other: [Replace with a description]

Description
This PR adds new properties and functions to Entitlements - namely, those introduced by One-Time Purchases. Not a whole lot going on here, but it is nice.
Changes

Added consumed property to Entitlement.
Added more types to EntitlementType.
Added consume_entitlement

Related Issues

Test Scenarios

Python Compatibility

[ ] I've ensured my code works on Python 3.10.x
[ ] I've ensured my code works on Python 3.11.x

Checklist

[x] I've run the pre-commit code linter over all edited files
[ ] I've tested my changes on supported Python versions
[ ] I've added tests for my code, if applicable
[x] I've updated / added  documentation, where applicable

I can't test it, but the code looks good


wgpu backend

We need a backend developed to use https://github.com/gfx-rs/wgpu-rs , should be called gfx-backend-wgpu.
The purpose of this backend would solely be targeting the web: native capabilities of wgpu are not beneficial here. Even though today wgpu-rs doesn't target the web, we can already establish the gfx-rs backend so that we are ready when the time comes.
In terms of difficulty, I expect the logic to be similar to gfx-backend-metal. Of course, we don't expect it to perform as well as targeting the backends directly.

Part of the task here is figuring out how to test this. Being able to run gfx_ocean is one of the goals.

Copied from https://github.com/gfx-rs/gfx/pull/3231#issuecomment-619543057 :
So the main goal of this backend is to target the Web. This means, we don't care in particular about wgpu-core or even wgpu-native (even though that one could go through emscripten to the Web). Instead, we care about the path that wgpu-rs uses for the Web backend, which is web-sys.
Now, if you just try to link to wgpu-rs, you'll be forced to deal with the fact that this is meant to be used by the end users and not intermediate layers. The API can be restrictive, making this backend impossible. Therefore, I believe the only sensible path for gfx-backend-wgpu is to link to web-sys directly and calling the web methods, without linking to any of the wgpu ecosystem crates at all.

Also see https://github.com/webgpu-native/webgpu-headers/issues/47 as highly relevant to the way we get async functions.


[BUG] Interact Sound

Describe the Bug
A clear and concise description of what the bug is.
Steps to Reproduce

Try to use interact sound at all. Robbery scripts for houses and banks for the safe crack
You can not hear safe clicks for any script i use (not just one i made sure)
I have talked to many developers all said anticheat
See error

Expected Behavior
I expect to be able to hear the safe clicks
no sound is happening
A clear and concise description of what actually happened.
Screenshots No screenshots but ive fresh installed interact sound. There is alot another script i have with a built in sound script and that also does not work
If applicable, add screenshots to help explain your problem.
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
!! Ensure that there are no IP addresses or any private information in the screenshots. !!
Additional Context
interact-sound.zip
Add any other context about the problem here.

Disable Anti Sound Exploits   in main/Client Detections

Disable Anti Sound Exploits in main/Client Detections

That’s exactly it though, it is disabled and it’s still doing it. It’s been disabled for weeks

Disable Anti Sound Exploits in main/Client Detections

it started working randomly today!! Thank god and thank you for trying to assist


Fix autocomplete position

@shockone I update pr with inline-css. You accept it?

@ekaragodin, sorry for a delay. Can you rebase it once more?

I've found a way to commit it myself preserving your authorship. https://github.com/shockone/black-screen/commit/ef96b68e6bd33356f84991da923c8ec4c06023d3


Update Docs Content Box CSS

Signed-off-by: Tothagata<EMAIL_ADDRESS>Description
Added min-height=100vh for the content-box.
This PR fixes #183
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@toth2000 The home docs page still has the footer a bit above the bottom

@vinayaksh42 Yes you are correct, I have made a new commit that fix the mentioned issue.


testing travis ci

Some other PRs are getting failed, just checkign if its working fine with just adding comments.

Pull Request Test Coverage Report for Build 520

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.871%

Totals

Change from base Build 515:
0.0%

Covered Lines:
2180

Relevant Lines:
2453

💛  - Coveralls

Pull Request Test Coverage Report for Build 520

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.871%

Totals

Change from base Build 515:
0.0%

Covered Lines:
2180

Relevant Lines:
2453

💛  - Coveralls


GuessingPlayer-SeeRank-KnowScore

Story: As a guessing player, I want to see the rank of final scores of all players obtained in this round.
Acceptance Criteria:

[x] In one round, which includes 2 or 4 turns (depending on the game mode), after each turn, the score rank page will be updated on the screen.
[x]  After a round ends, a final score page is displayed showing all players’ scores earned in this round and the rank. The order of players depends on the scores obtained in this round (from highest to lowest).
[x] There is a “Exit” button on the final score page. Players can click the “Exit” button to leave the game room. The players can only exit the game room after this round ends.
[x] The score earned in this round is added to the total score in the user profile.
[x] The score earned in this round is compared with the previous records. If the score earned in this round is higher than all previous records, this score becomes the highest score.
[x] Upon total score changes or best score changes, the user profile is updated.

Development Tasks:

[x] sopra-fs23-group-19/sopra-fs23-group-19-client#52
[x] sopra-fs23-group-19/sopra-fs23-group-19-client#53
[x] sopra-fs23-group-19/sopra-fs23-group-19-client#54
[x] sopra-fs23-group-19/sopra-fs23-group-19-client#55
[x] sopra-fs23-group-19/sopra-fs23-group-19-server#85
[x] sopra-fs23-group-19/sopra-fs23-group-19-server#86
[x] sopra-fs23-group-19/sopra-fs23-group-19-server#87

https://github.com/sopra-fs23-group-19/sopra-fs23-group-19-server/commit/a4040b149b32f758b41988a6a6c37b61ac4c3ef2


Deprecate collabora-code helm chart

What this PR does / why we need it:

This deprecates the collabora-code chart and references the new home.
See https://github.com/chrisingenhaag/helm/pull/1 for preserving old history.

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

Add link to #21103

/assign @scottrigby


test: adds test for header_lowercase transform

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6290
Requires https://github.com/OISF/suricata/pull/9757

Replaced by https://github.com/OISF/suricata-verify/pull/1479


add descriptions for awesome-selfhosted/sysadmin

This fixes the following requirement:

The entry in the Awesome list should Include a short description about the project/theme of the list.

Thanks

Thanks, but I don't have time to review PRs with just a few descriptions.
From: https://github.com/sindresorhus/awesome/issues/928#issue-218675018

If you decide to do a PR, please do at least 10 descriptions.


Add option to disable certificate validation

Is your feature request related to a problem? Please describe.
When the module makes requests towards a FIWARE deployment (orion / iot-agent), that has e.g. self-signed certificates, the requests will fail with a Certificate Validation error.
Describe the solution you'd like
It should be possible to disable the certificate validation via a global defined variable like ssl_verify = True.
In the corresponding request section it could look like:
with requests.Session() as s:
	if isinstance(ssl_verify, bool) and not ssl_verify
		s.verify = False

It doesn't have to be a completly global option.
As long as the option can be set when using session would be enough.
I don't know enough about the code to confidently contribute.

We could provide an example of using session


Tools in tool window remain after the document is closed

The tool window is updated after switching the documents only when the editor pane is clicked, and remains persistent after closing all the documents until a new document is created.

mech at 2010-07-19T12:38:02Z:
Wow :)


Getting error _yarn:82: command not found: _get_comp_words_by_ref in zsh

Followed instructions for ZSH installation and any tab completion throws that error
_yarn:82: command not found: _get_comp_words_by_ref

@duro Can you try changing these lines to the following and let me know if that works?
if command -v _init_completion >/dev/null; then
    _init_completion
else
    if [ ! "$ZSH_NAME" ]; then
        _get_comp_words_by_ref cur prev words cword
    fi
fi

On sierra, that will fix the error for me. But it does not complete yarn run scriptName but will repeat 1-level arguments. e.g. yarn run [run, cache, etc]

Hmm... Might just have to maintain two separate versions of the completion script when time allows.

Nevermind. Looks like others beat me to the punch: https://github.com/zsh-users/zsh-completions/blob/master/src/_yarn
I'll update the readme shortly.

@dsifford Just heads up, those zsh-completions are giving me trouble as well (before you go all out recommending them). I filed an issue with them here: zsh-users/zsh-completions/issues/519


Suggestion for improvement --> Versioning number

I have just stumbled upon this project and find it very useful. I am going to use it as a NuGet package. Therefore, will I not change your code so it suits my purpose better. Instead, I hope you will consider my suggestion for more flexible build type and revision type numbering.
I bring up this suggestion since I want to hold a versioning where I control the major.minor.build part. And for revision will I use days for now. E.g. <IP_ADDRESS>92
This is not possible now if I use your tools as it is meant to be used. For now, I have tweaked it as e.g. AssemblyVersion="$(Major).$(Minor).$(Revision).$(Build)". My problem is if I had used revision as automatic, then I would get the second. I have four projects in my solution, and therefore I will get four different revisions numbers on my assemblies. This is not doable.
However, I would like to use “minutes since start date” or “hours since start date” that would give me the needed flexibility. Therefore I have this suggestion for your Version.cs file
// could be any of your four enumerations, example is _buildTypeEnum
switch (_buildTypeEnum)
{
    case BuildTypeEnum.Automatic:
        _build = CalculateDaysSinceStartDate();
        break;
    case BuildTypeEnum.Increment:
        _build++;
        break;
    case BuildTypeEnum.Reset:
        _build = 0;
        break;
    case BuildTypeEnum.None:
    default:
        break;
}

// could be any of your four enumerations, needed is _buildTypeEnum and _revisionTypeEnum
switch (_buildTypeEnum)
{
    case BuildTypeEnum.AutoDay:
        _build = CalculateDaysSinceStartDate();
        break;
    case BuildTypeEnum.AutoHour:
        _build = CalculateHoursSinceStartDate();
        break;
    case BuildTypeEnum.AutoMinute:
        _build = CalculateMinutesSinceStartDate();
        break;
    case BuildTypeEnum.AutoSecond:
        _build = CalculateFractionalPartOfDay();  //CalculateSecondsSinceStartDate();
        break;
    case BuildTypeEnum.Increment:
        _build++;
        break;
    case BuildTypeEnum.Reset:
        _build = 0;
        break;
    case BuildTypeEnum.None:
    default:
        break;
}

switch (_revisionTypeEnum)
{
    case RevisionTypeEnum.AutoDay:
        _build = CalculateDaysSinceStartDate();
        break;
    case RevisionTypeEnum.AutoHour:
        _build = CalculateHoursSinceStartDate();
        break;
    case RevisionTypeEnum.AutoMinute:
        _build = CalculateMinutesSinceStartDate();
        break;
    case RevisionTypeEnum.AutoSecond:
        _build = CalculateFractionalPartOfDay();  //CalculateSecondsSinceStartDate();
        break;
    case RevisionTypeEnum.Increment:
        _build++;
        break;
    case RevisionTypeEnum.Reset:
        _build = 0;
        break;
    case RevisionTypeEnum.None:
    default:
        break;
}

private int CalculateDaysSinceStartDate()
{
    return DateTime.Today.Subtract(_startDate).Days;
}

private int CalculateHoursSinceStartDate()
{
    //break down a day into fractional seconds
    float factor = (float)(UInt16.MaxValue - 1) / (24);

    return (int)(DateTime.Now.TimeOfDay.TotalHours * factor);
}

private int CalculateMinutesSinceStartDate()
{
    //break down a day into fractional seconds
    float factor = (float)(UInt16.MaxValue - 1) / (24 * 60);

    return (int)(DateTime.Now.TimeOfDay.TotalMinutes * factor);
}

private int CalculateFractionalPartOfDay()  //CalculateSecondsSinceStartDate();
{
    //break down a day into fractional seconds
    float factor = (float)(UInt16.MaxValue - 1) / (24 * 60 * 60);

    return (int)(DateTime.Now.TimeOfDay.TotalSeconds * factor);
}

Since nothing has happened and I have given up anything is going to happen I am closing this issue...


GNURadio gr_modtool is broken

Describe the bug
gr_modtool is a part of nixpkgs.gnuradio that is used to create custom "out of tree blocks" for GNU Radio. The script crashes because it cannot read a file somewhere (?).
Steps To Reproduce
Steps to reproduce the behavior:
$ nix-shell -p gnuradio python3Packages.setuptools --run "gr_modtool newmod test"

PS: without python3Packages.setuptools it won't work at all, which is also incorrect.
Expected behavior
Expected: An environment for gnuradio module developement is created in a directory gr-test. But instead it creates a directory, copies a few files and then crashes with:
Creating out-of-tree module in ./gr-test...
Traceback (most recent call last):
  File "/nix/store/0xcw4a0c18xmky4va4an70z5w43w6a8p-gnuradio-wrapped-<IP_ADDRESS>/lib/python3.8/site-packages/gnuradio/modtool/core/newmod.py", line 67, in run
    shutil.copyfile(os.path.join(gr.prefix(), 'share', 'gnuradio', 'clang-format.conf'),
  File "/nix/store/32q6ryrb860sksdi1al5djg3pgcpq92l-python3-3.8.11/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: './gr-test/.clang-format'
...

Additional context
I am a nix noob.
Notify maintainers
@doronbehar @bjornfor @fpletz
Metadata
~/d/s/h/m/S/F/src (master|…) $ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.66, NixOS, 21.05.3294.3397f0ede9e (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(root): `"nixos-21.05.3294.3397f0ede9e"`
 - channels(npross): `"home-manager-21.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Thanks for the report.
Regarding setuptools, that'll be fixed in . In the meantime you can use the extraPythonPackages argument in an overlay decoratively like this:
self: super: {
  gnuradio = super.gnuradio.override {
    extraPythonPackages = super.lib.attrVals [
      "setuptools"
      # Add more python packages here if you need any.
    ] super.gnuradio.unwrapped.python.pkgs;
  };
}

Regarding the permissions issue, I'd consider this an upstream issue no one in NixOS noticed yet. I suggested a fix for it in https://github.com/gnuradio/gnuradio/pull/5227 but it is being discussed at the moment.


After capturing the VHD, LISAv2 still tries to download the logs from stopped VM.

In capture VHD flow, LISAv2 still tries to download the logs from deprovision VMs.
This results unnecessary download attempts of log files.

Fixed


sf-button--unstyled

with a lot of components, we used a button instead of .sf-button.

add sf-button--unstyled to remove button styles
replace button to sf-button with sf-button--unstyled
remove v-focus from components where you improve these changes

@pspaczek maybe sf-button--pure / or sf-button--standard, wdyt ?

pure sound better, standards sound like primary or default

unstyled is most descriptive but can you give some use cases for the usage of this class?

It is used when SfButton contains SfIcon and we have to remove padding/background properties. Instead of writing repeated styles, we can use a modifier.


Codecov threshold

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (57975a0) 16.38% compared to head (3361b1b) 16.39%.
 Consider uploading reports for the commit 5ba55a2 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1089   +/-   ##
========================================
  Coverage    16.38%   16.39%
========================================
  Files           51       51
  Lines         6847     6849    +2
========================================
+ Hits          1122     1123    +1
- Misses        5725     5726    +1

Files
Coverage Δ

src/DefaultCallbackProvider.cpp
56.80% <50.00%> (-0.06%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


React gives Unable to find node on an unmounted component

Version(if relevant): 5.10.4
Environment(if relevant): React 17.0.2
Code(if relevant):
// given:
selected: string | undefined;
data: Select2Data;
setSelected: (selected: string) => void;

// then:
<Select2
        data={data}
        value={selected}
        update={(v): void => setSelected(v as string)}
    />

Expected:
Functioning component
Actual:
Error: Unable to find node on an unmounted component.
    at findHostInstanceWithWarning (webpack-internal:///./node_modules/.pnpm/react-dom@16.14.0_react@16.14.0/node_modules/react-dom/cjs/react-dom.development.js:24281:19)
    at Object.findDOMNode (webpack-internal:///./node_modules/.pnpm/react-dom@16.14.0_react@16.14.0/node_modules/react-dom/cjs/react-dom.development.js:24804:12)
    at Select2.componentDidMount (webpack-internal:///./node_modules/.pnpm/select2-react-component@5.10.4/node_modules/select2-react-component/dist/select2.js:124:65)
    at commitLifeCycles (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:20658:24)
    at commitLayoutEffects (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:23421:7)
    at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
    at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
    at invokeGuardedCallback (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
    at commitRootImpl (webpack-internal:///./node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.development.js:23146:9)
    at unstable_runWithPriority (webpack-internal:///./node_modules/.pnpm/scheduler@0.20.2/node_modules/scheduler/cjs/scheduler.development.js:468:12)

I notice that there has been a multitude of releases, all the way up to 6.1.0, but they're not on NPM. Is there somewhere else this package is released to?

Also, I think this is technically a duplicate of #22, differing react versions. It looks like the current master branch uses React 17, but as I mentioned, it's not released as far as I can tell.

It's a moporepo, the missing versions eg: 6.0.0 only changes select2-vue-component's code, so the uneffected select2-react-component doesn't have 6.0.0.
I will release the master several hours later.

v6.1.1 released now.

I'm getting this message with React 18, any advice?


PruneOptions rename roles param to includeRoles also all params should be optional

So we can just use the camel to snake case function

Ah yes, breaking change


iox-#1481 Fix interface include directories in CMake

Signed-off-by: Dietrich Krönke<EMAIL_ADDRESS>Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior

[x] Each unit test case has a unique UUID

[x] Public API changes are documented via doxygen
[x] Copyright owner are updated in the changed files
[x] PR title describes the changes

Post-review Checklist for the PR Author

[x] All open points are addressed and tracked via issues

References

Relates #1481

Will this be backported to release_2.0?

Yes, here the PR: https://github.com/eclipse-iceoryx/iceoryx/pull/1503


Added ShowWithDescription and ShowFileWithDescription

Added two functions: ShowWithDescription and ShowFileWithDescription.
Minor white space fixes.
.paket/Paket.Restore.targets was updated by Visual Studio.

@kMutagene Sure. Give me a day or so, please.

@kMutagene

Done. I resolved merge conflicts and switched the base to developer as it seems more appropriate.
Please, double check lib\Formatting folder as it looks that it is missing proper .gitignore - it pushes DLLs and other stuff, which is not really supposed to be pushed to the repo.
Please, feel free to merge the branch when it seems fit.

Thanks.

Thank you.

Please, double check lib\Formatting folder as it looks that it is missing proper .gitignore - it pushes DLLs and other stuff, which is not really supposed to be pushed to the repo.

Im afraid this is working as intended. The files there are a temporary fix for the unfinished transition to .netcore of FSharp.Formatting, the tool we use to build the docs. It is currently not possible to display plotly charts on the generated pages without this custom version i placed in the .lib folder. I hope i can remove them soon.


[desktop] SystemTray Enhancement

compose desktop use awt SystemTray, it has many broken behavior：

not support CJK font on windows #1936
not support hidpi on windows
SystemTray use awt PopupMenu, It has not been maintained for a long time, maybe use JPopupMenu instead or some compose way used in Toolbox like this

plz let me know how toolbox implement the system tray in this picture

Thank you for opening this issue and detailing the problems you're experiencing with SystemTray when using Compose Desktop. Here's some information to address your concerns:

Regarding the issue of Chinese characters generating garbled code in the system tray (#1936), we acknowledge that this is an existing problem, so please follow the mentioned issue.

As for the concern on HiDPI support on Windows, could you please follow bug issue template and provide more details for us to better understand the problem? Kindly describe the current situation, what was expected, the environment where you noticed this issue, and the version of Compose Desktop you're using.

The issue is already discussed in #289. According to the discussions there, Toolbox uses a system API to position an undecorated compose window. This is a similar strategy we could consider for solving the present matter.

Thank you for your patience and your valuable contributions to the community.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Updated demos for 2.9; relabeled shell; checked w/ test scripts

Also added wording about which code fences to enter into the interpreter.

I skimmed onetimepad. I like it. We need to do this everywhere. Sigh....

It's OK, we have the technology!


envFrom in script template does not add env vars when there is a podSpecPatch with envFrom

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
When there is an envFrom specified in podSpecPatch under templateDefaults and an envFrom specified in a template the two are not merged. I only get the environment variables from the podSpecPatch, the template envFrom is not used.
When I remove the podSpecPatch and only use envFrom under the template then the variables exist properly
Version
v3.4.3
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: demo-
spec:
  entrypoint: run-test
  templateDefaults:
    podSpecPatch: |-
      containers:
        - name: main
          envFrom:
            - secretRef:
                name: some-secret-in-cluster
  templates:
    - name: run-test
      script:
        image: ubuntu:18.04
        imagePullPolicy: Always
        command: [bash]
        workingDir: "/src"
        envFrom:
          - secretRef:
              name: another-secret-in-cluster
        source: |
          env

Logs from the workflow controller
time="2022-12-01T15:22:11.366Z" level=info msg="Processing workflow" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.373Z" level=info msg="Updated phase  -> Running" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.373Z" level=info msg="Pod node demo-26g62 initialized Pending" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.397Z" level=info msg="Created pod: demo-26g62 (demo-26g62)" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.397Z" level=info msg="TaskSet Reconciliation" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.397Z" level=info msg=reconcileAgentPod namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:11.411Z" level=info msg="Workflow update successful" namespace=argoci phase=Running resourceVersion=744368912 workflow=demo-26g62
time="2022-12-01T15:22:21.398Z" level=info msg="Processing workflow" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.398Z" level=info msg="Task-result reconciliation" namespace=argoci numObjs=1 workflow=demo-26g62
time="2022-12-01T15:22:21.398Z" level=info msg="task-result changed" namespace=argoci nodeID=demo-26g62 workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="node changed" namespace=argoci new.message= new.phase=Succeeded new.progress=0/1 nodeID=demo-26g62 old.message= old.phase=Pending old.progress=0/1 workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="TaskSet Reconciliation" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg=reconcileAgentPod namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="Updated phase Running -> Succeeded" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="Marking workflow completed" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="Marking workflow as pending archiving" namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.399Z" level=info msg="Checking daemoned children of " namespace=argoci workflow=demo-26g62
time="2022-12-01T15:22:21.405Z" level=info msg="cleaning up pod" action=deletePod key=argoci/demo-26g62-1340600742-agent/deletePod
time="2022-12-01T15:22:21.413Z" level=info msg="Workflow update successful" namespace=argoci phase=Succeeded resourceVersion=744369121 workflow=demo-26g62
time="2022-12-01T15:22:21.445Z" level=info msg="archiving workflow" namespace=argoci uid=9790629f-15c2-44e2-88d8-dcf8b06a2552 workflow=demo-26g62
time="2022-12-01T15:22:21.485Z" level=info msg="Queueing Succeeded workflow argoci/demo-26g62 for delete in 168h0m0s due to TTL"
time="2022-12-01T15:22:26.445Z" level=info msg="cleaning up pod" action=deletePod key=argoci/demo-26g62/deletePod

Logs from in your workflow's wait container
time="2022-12-01T15:22:16.100Z" level=info msg="No output parameters"
time="2022-12-01T15:22:16.100Z" level=info msg="No output artifacts"
time="2022-12-01T15:22:16.101Z" level=info msg="S3 Save path: /tmp/argo/outputs/logs/main.log, key: demo-26g62/demo-26g62/main.log"
time="2022-12-01T15:22:16.101Z" level=info msg="Creating minio client using static credentials" endpoint=storage.googleapis.com
time="2022-12-01T15:22:16.115Z" level=info msg="Saving file to s3" bucket=argoci-artifacts endpoint=storage.googleapis.com key=demo-26g62/demo-26g62/main.log path=/tmp/argo/outputs/logs/main.log
time="2022-12-01T15:22:16.312Z" level=info msg="Save artifact" artifactName=main-logs duration=210.643591ms error="<nil>" key=demo-26g62/demo-26g62/main.log
time="2022-12-01T15:22:16.312Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/logs/main.log
time="2022-12-01T15:22:16.312Z" level=info msg="Successfully saved file: /tmp/argo/outputs/logs/main.log"
time="2022-12-01T15:22:16.324Z" level=info msg="Create workflowtaskresults 201"
time="2022-12-01T15:22:16.325Z" level=info msg="Alloc=7954 TotalAlloc=16350 Sys=23762 NumGC=5 Goroutines=11"

After looking at the code it looks like this isn't an issue with argo workflows but an issue in kubernetes itself where there is no merge strategy for envFrom. I also found the following issue which supports this
https://github.com/kubernetes-sigs/kustomize/issues/1835


Grid Column Without Text

If I have a field that has an optionset just to select a color for the record, can i have that field be on the grid with no text?  For example the optionset text is Red and it has a HEX color of red.   If it is on the grid, there is no need to have the text "Red" and the background color be red.   All I would want to see is a column that shows the color selected for each record without any text.
-Thanks
Art

Hi @ArtKarp ,
I've thought at this when I've designed the control, but decided to postpone this.
The problem is that I have to overwrite the width of these columns  (will be really small columns, even if the view is not customized that way).
But of course it's possible. The only real problem is to get a little time.
Kind regards,
Diana

Would it be possible to have the text and background as the same color?
This would accomplish the same thing.
Thanks
On Sun, Sep 13, 2020 at 12:52 AM Diana Birkelbach<EMAIL_ADDRESS>wrote:

Hi @ArtKarp https://github.com/ArtKarp ,
I've thought at this when I've designed the control, but decided to
postpone this.
The problem is that I have to overwrite the width of these columns (will
be really small columns, even if the view is not customized that way).
But of course it's possible. The only real problem is to get a little time.
Kind regards,
Diana
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brasov2de/ColorfulOptionsetGrid/issues/4#issuecomment-691630097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGEB6ITFYVCVM3PYE5GZIF3SFR23VANCNFSM4RJDY3CA
.
--
Sent from my mobile phone

Hi @ArtKarp ,
There is no problem to render only the icons, without text.
The problem is that it won't look good anymore, because the column will be too big (with a lot of empty space).
A workarround would be to customize the column in the view to be very smalll.. but then the standard grids won't look good.
So I thought that, when the text shouldn't be shown, it should automatically shrink the width of the column.
I try to get some time, to make this change.
Kind regards,
Diana

Hi @ArtKarp ,
I've finally got some time to implement it. Hope you still need the feature.
Kind regards,
Diana


Filtering using functions

Not sure if this is the right channel for general questions regarding the usage of specter, so please point me in the right direction if not. I have the following hashmap that I'd like to navigate:
(def store {"foo" {[1 2] {:value 1} [2 3] {:value 2} [3 4] {:value 3}}})

Specifically, I'd like to get all values where the key includes a specific number, and saw that functions can also be used as filters:
(defn my-selector [number record]
  (some #{number} (flatten (keys record))))

However, the results are not as I expected:
(select ["foo" (partial my-selector 2) :value] store)
;; => [nil]
(select ["foo" (partial my-selector 2)] store)
;; => [{[2 3] {:value 2}, [3 4] {:value 3}, [1 2] {:value 1}}]

Any pointers as to where I'm going wrong would be much appreciated.

String don't implement the StructurePath protocol, so they can't be used directly as selectors like that. Instead, do this:
(select [(keypath "foo")
             ALL
             (selected? FIRST ALL #(= 2 %))
             LAST
             :value]
   store)

You could also do it by putting the entire selected? clause in a custom function like you did, but this is cleaner in my opinion.


Unexpected results for scene intersection.

Hi Rohan,
It is me again! I found that some queries for scene.intersect gave me unexpected results. In this example, I created two rays shooting from one side of the cube (yellow points) to the other side (purple points):

But one of them (upper pair) returns a hit, the other one (bottom pair) does not. I wonder whether you know where I may do wrong?
I extracted a self-contained script here for your reference
import fcpw
import polyscope as ps
import numpy as np

V = np.array([[ 1.6,  1.6,  1.6],
    [14.4,  1.6,  1.6],
    [ 1.6, 14.4,  1.6],
    [14.4, 14.4,  1.6],
    [ 1.6,  1.6, 14.4],
    [14.4,  1.6, 14.4],
    [ 1.6, 14.4, 14.4],
    [14.4, 14.4, 14.4]])
F = np.array([[2, 1, 0],
        [1, 2, 3],
        [4, 2, 0],
        [2, 4, 6],
        [1, 4, 0],
        [4, 1, 5],
        [6, 5, 7],
        [5, 6, 4],
        [3, 6, 7],
        [6, 3, 2],
        [5, 3, 7],
        [3, 5, 1]])

scene = fcpw.scene_3D()
scene.set_object_count(1)
scene.set_object_vertices(V, 0)
scene.set_object_triangles(F, 0)
aggregate_type = fcpw.aggregate_type.bvh_surface_area
build_vectorized_bvh = True
scene.build(aggregate_type, build_vectorized_bvh)

# ray casting
origins = np.array([[1, 8, 11.5],
                    [1, 4.5, 11.5]], dtype=float)
dirs = np.array([[1., 0, 0],
                 [1., 0, 0]], dtype=float)
distance_bounds = np.array([2.0, 2.0], dtype=float)

interactions = fcpw.interaction_3D_list()
scene.intersect(origins, dirs, distance_bounds, interactions, False)

print(interactions[0].primitive_index)
print(interactions[1].primitive_index)

ps.init()
ps.register_surface_mesh("mesh", V, F)
ps.register_point_cloud("origin", origins)
ps.register_point_cloud("end point", origins + dirs * distance_bounds[:,None])
ps.show()

Thanks for reporting this! Seems to be a precision issue, I'll debug it tomorrow :)

@HTDerekLiu I looked into this and confirmed it is indeed a floating point precision issue happening with the triangle-ray intersection test here: https://github.com/rohan-sawhney/fcpw/blob/346ea475a554083eb8b87f6bbd1b83a1fa1f71c8/include/fcpw/geometry/triangles.inl#L244
As mentioned above, the intersection point should lie along the shared edge between the two nearest triangles (see screenshot below). In this case, the variable w should equal 0 in exact precision, but ends up being very very small negative number.
In your test script, the ray-intersection test returns the correct result if you perturb 4.5 even slightly to 4.5000001 or 4.499999 in origins = np.array([[1, 8, 11.5], [1, 4.5, 11.5]], dtype=float):

So what should we do about this?
First, this type of ray miss should happen rarely for any rays/geometry in general position. Any other BVH library will likely face similar precision issues, since FCPW's implementation exactly matches the standard Möller–Trumbore test.
I'm a little hesitant about introducing further epsilon checks in the triangle-ray intersection test, since that might introduce its own issues if we overfit to this test case. Thoughts?

Thanks for the quick response and looking into this issue. What you described makes sense. Introducing further epsilon checks may lead to new issues in other applications. Also once we know that the issue is floating point, it is an easy fix on my end to just shoot a few perturbed rays.
A proper fix may requite something like Indirect Predicates, but that requires way more efforts to incorporate.
I have to say this is one of the most performant and user-friendly libraries for closest points and ray casting! Thanks again for releasing it :)

Great, feel to report more issues if/as you encounter them. Always looking for ways to improve the library :)


🐛 Fixed publisher logo meta schema

refs #11304

Previously the schema publisher logo attribute was incorrectly given the logo url
schema.org and Google's docs show the logo needing it's own type and url attributes
I added the correct @type and moved the metaData.site.logo to the new url attribute
This change now clears the error in Google's Structured Data tester
A future improvement would be to size the site logo to 60px in height per Google's recommendation

Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[ ] There's a clear use-case for this code change
[ ] Commit message has a short title & references relevant issues
[ ] The build will pass (run yarn test and yarn lint)

More info can be found by clicking the "guidelines for contributing" link above.

Hey @erm87! Thanks for the PR. :smile: One of us will take a look at it soon but would you be able to fix the code formatting (yarn lint) and ensure all tests pass.
Thanks!

@daniellockyer Yes, I will fix the formatting issues and create another PR. Thanks for the heads up 😃

@erm87 No need to create another PR. You can just push to the branch again :smile:

@daniellockyer Hey, I made sure the code styles passed lint test but I see the build failed. I checked the details but couldn't determine if it was an issue with the commit or not. Let me know if it looks like something to fix on my end. thanks!

Hey @erm87, it looks like you’ve merged in the changes in master, rather than rebasing on top of them. If you’re able to fix it, great! If not, you can open a new PR with the new code and adaptations to the tests. I might be able to do it, but it won’t be until early next week. Thanks!

@erm87 I've fixed your PR and noticed some other places that this could be applied to so I've added them in :+1:

@daniellockyer Thanks for dragging across the finish line! This was my first open source contribution, I'll be cleaner on my next one 😄

@erm87 No problem - thanks for the contribution!


Can the Substra be used for Unsupervised Machine Learning?

I read in the paper the see that Substra only mentioned about Supervised Machine Learning? How about the Unsupervised Machine Learning? Is Unsupervised Machine Learning applicable in Substra?

Hello @bdqnghi , sorry for the late answer and thanks for your questions!
It would be possible to use Substra for unsupervised learning, but you would need to bend some definitions, in particular around the data opener and the metrics.
It is planned to generalise the framework to more generic tasks in the next 6 months.
Out of curiosity, what would be your application ?
Would you be interested in participating to this new feature and what would be your timeframe ?

@camillemarini , thanks for the answer. My plan is to implement sth similar to Latent Dirichlet Allocation, a method to extract topics from text corpora, which is an unsupervised learning technique.
Would it be possible to do so with the current Substra framework?

Hello @bdqnghi it is still not possible to do unsupervised learning with the current Substra. We still plan to add this feature at some point but we are not there yet.

Closing this issue as it is stale


phpcs not recognizing installed_paths

Problem/Motivation
phpcs is not seeing the WordPress standards.
Expected behaviour
I expect to see WordPress as one of the installed coding standards when I run phpcs -i.
Actual behaviour
WordPress does not show up in the list of installed coding standards.
Steps to reproduce

Create a new WordPress site with Local by Flywheel.
Install phpcs globally with composer global require "squizlabs/php_codesniffer=*".
Install the WordPress coding standards with composer create-project wp-coding-standards/wpcs --no-dev in the project's app/public directory (the root of the WordPress installation).
Install this package with composer require --dev dealerdirect/phpcodesniffer-composer-installer from the same directory as the previous step. Notice that it says installed_paths set to ../../../wpcs
Run phpcs -i and see that WordPress is not in the list.

Proposed changes
I know so little about this process that I have absolutely no proposals for what to change nor how. All I can do is give you my current setup:
OS: Windows 10 1903.
WordPress: 5.2.3
PHP: 7.3.2
MySQL: 5.6.34
Composer: 1.8.6
phpcs: 3.4.2 (stable)
wp-coding-standards: 2.1.1
phpcodesniffer-composer-installer: v0.5.0
I'm sure that I'm just doing something wrong, so please don't make any assumptions; ask me for any clarifications and I'll be happy to provide what I can.

Hi, thank you for reporting this bug!
I'm currently in the process of get the currently open merge-requests into a new (minor) release.
Once that is done, I'll come back to this issue.
It could be related to other relative/absolute path issues already reported. I also need to check what the deal was with global/local installs of this plugin and sniffs.
Will let you know when I am available to make progress on this issue.

+1, with another standard, not detected by phpcs event if it says installed_paths set to...

Oops, it is working, it was a problem of chmod, when I trying to do it manually by doing :
./vendor/bin/phpcs --config-set installed_paths /mypath/vendor/phpcompatib                                 ility/php-compatibility/
I get
PHP Warning:  file_put_contents(/home/emonsitev4/v4/vendor/squizlabs/php_codesniffer/CodeSniffer.conf):                                  failed to open stream: Permission denied in vendor/squizlabs/php_codesniffer/src/Config.php on line 1613
ERROR: Config file vendor/squizlabs/php_codesniffer/CodeSniffer.conf could not be written

The real problem is that this library do not say when the process has failed, I mean, that error is not reported by the installer, so we thought it should work at the first place.
it may be the same problem @SturmB

Thanks for the input, @johndodev, but it seems my issue is different.
~/Sites/phpcs/app/public  phpcs --config-set installed_paths ./wpcs
Using config file: C:\Users\<username_hidden>\AppData\Roaming\Composer\vendor\squizlabs\php_codesniffer\CodeSniffer.conf

Config value "installed_paths" added successfully
 ~/Sites/phpcs/app/public  phpcs -i
The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz and Zend

I wonder if the problem is that I have phpcs installed globally, but I have the WordPress standard installed locally. Must I have them both installed in either one context or the other?

Ok, I don't know, both are installed locally for me. It seems more an issue of how phpcs handle the config "installed_paths" than an issue in that lib. Maybe try with an absolute path.
phpcs --config-set installed_paths /absolute/path/wpcs

The real problem is that this library do not say when the process has failed, I mean, that error is not reported by the installer, so we thought it should work at the first place.

Yeah. We have another issue that centers around incorrect (or lacking) error reporting. Also, the plugin does not "error out" properly when it encounters problems. It is part of what we are currently looking into with #80

I wonder if the problem is that I have phpcs installed globally, but I have the WordPress standard installed locally. Must I have them both installed in either one context or the other?

There is definitely some quirky/unintuitive behaviour there. This is another thing I want to get more to grips with before releasing potential fixes (as to avoid fixing one scenario but breaking another one).
I would like to thank you both for your further feedback. Please bear with us as we continue to investigate these issues.

Thanks, @Potherca. It should be noted that I was simply following the instructions in the main phpcs readme. I ran composer global require "squizlabs/php_codesniffer=*", as shown in that readme, before installing this package.

FYI: PR #80 has been merged which should improve the error reporting and PR #93 has just been opened as a further iteration on that, so hopefully it will now become easier to know when something is going wrong and what.

Finally was able to replicate my original setup for this. (Had to disable Hyper-V for a bit.)
The result of following the steps in my original post:
 ~/Sites/phpcs/app/public  composer global require "squizlabs/php_codesniffer=*"
Changed current directory to C:/Users/christopher.mcgee/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating squizlabs/php_codesniffer (3.4.2 => 3.5.4): Downloading (100%)
Writing lock file
Generating autoload files
 ~/Sites/phpcs/app/public  composer create-project wp-coding-standards/wpcs --no-dev
Installing wp-coding-standards/wpcs (2.2.1)

  [InvalidArgumentException]
  Project directory C:/Users/christopher.mcgee/Sites/phpcs/app/public/wpcs/ is not empty.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

 ✘  ~/Sites/phpcs/app/public  rm -rf wpcs
 ~/Sites/phpcs/app/public  composer create-project wp-coding-standards/wpcs --no-dev
Installing wp-coding-standards/wpcs (2.2.1)
  - Installing wp-coding-standards/wpcs (2.2.1): Downloading (100%)
Created project in C:\Users\christopher.mcgee\Sites\phpcs\app\public\wpcs
Loading composer repositories with package information
Updating dependencies
Package operations: 1 install, 0 updates, 0 removals
  - Installing squizlabs/php_codesniffer (3.5.4): Loading from cache
Writing lock file
Generating autoload files
 ~/Sites/phpcs/app/public  composer require --dev dealerdirect/phpcodesniffer-composer-installer
Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating dealerdirect/phpcodesniffer-composer-installer (v0.5.0 => v0.6.2): Downloading (100%)
Writing lock file
Generating autoload files
PHP CodeSniffer Config installed_paths set to ../../../wpcs
 ~/Sites/phpcs/app/public  phpcs -i
The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz and Zend
 ~/Sites/phpcs/app/public 

As soon as I get a chance, I'll try this same thing with my current WSL setup.

I wonder if the problem is that I have phpcs installed globally, but I have the WordPress standard installed locally. Must I have them both installed in either one context or the other?

@SturmB Looking at the output, I think your own hunch was correct. To me this sounds like you're using two distinct installs of PHPCS. One of which has WPCS installed, the other doesn't.
Could you try running the below commands for me from the ~/Sites/phpcs/app/public directory to confirm if that is the issue ?

which phpcs
I expect that will point to your Composer global PHPCS version.
vendor/bin/phpcs -i
I expect that will list the WordPress standards along with the PHPCS native standards.
If you want even more confirmation, run phpcs --config-show and then run vendor/bin/phpcs --config-show and take note of the different paths to the config file.

If my assessment is correct, I'd like to suggest the following which should create a workable situation for you:

Throw away the WPCS install in ~/Sites/phpcs/app/public
Run composer global require wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
Note: no --dev, as based on your above listing you've installed PHPCS in require not require-dev for your global Composer install.
Test it by running phpcs -i. This should now list both the PHPCS native standards as well as the WordPress standards.

If all is right, you should now be able to use the phpcs command anywhere on your system and it will work with all the standards listed via the phpcs -i command.
If, at a later point in time, you decide to install more PHPCS standards via composer global require, the plugin will automatically take care of registering them with PHPCS and they should be available to you globally straight after doing the require.
And yes, the WPCS install instructions need improvement as they now presume that people only use PHPCS with WPCS and won't have other installs. It's on the never-ending @todo list ;-)

Yep, that was it, @jrfnl:
 ~/Sites/phpcs/app/public  which phpcs
/cygdrive/c/Users/<username>/AppData/Roaming/Composer/vendor/bin/phpcs
 ~/Sites/phpcs/app/public  vendor/bin/phpcs -i
The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz, Zend, WordPress, WordPress-Core, WordPress-Docs and WordPress-Extra
 ~/Sites/phpcs/app/public  phpcs --config-show
Using config file:

 ~/Sites/phpcs/app/public  vendor/bin/phpcs --config-show
Using config file: C:\Users\<username>\Sites\phpcs\app\public\vendor\squizlabs\php_codesniffer\CodeSniffer.conf

installed_paths: ../../../wpcs
 ~/Sites/phpcs/app/public 

As before, this is with my old setup. Just to confirm while I'm here in a Windows session with Hyper-V disabled (so I can use Local by Flywheel), I'll run through the rest of your steps:
 ~/Sites/phpcs/app/public  rm -rf wpcs
 ~/Sites/phpcs/app/public  composer global require wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
Changed current directory to C:/Users/christopher.mcgee/AppData/Roaming/Composer
Using version ^2.2 for wp-coding-standards/wpcs
Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Loading from cache
  - Installing wp-coding-standards/wpcs (2.2.1): Loading from cache
Writing lock file
Generating autoload files
PHP CodeSniffer Config installed_paths set to ../../wp-coding-standards/wpcs
 ~/Sites/phpcs/app/public  phpcs -i
The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz, Zend, WordPress, WordPress-Core, WordPress-Docs and WordPress-Extra
 ~/Sites/phpcs/app/public 

So it seems that your assessment is, indeed, correct. I still have a great deal to learn about Composer, it seems. As well as to make this happen in WSL, which shouldn't be an issue now that I know the culprit of this problem.
Thanks so much for your help, @jrfnl!

@SturmB No problem. I'm just glad we've figured out together. Sorry it took so long.


Update dev-documentation.md

Corrected a lot of errors
Resolves:

[x]Have you adhered to the repository's defined coding convention rules?
[x]Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Do not raise a PR from the before getting assigned in an issue, it is not a good practice as well.


Feature: Highlight special strings

Description
Maybe someone has already mentioned it somewhere, but I haven't seen anything like that.
I would like a specific string in the text to be highlighted, but I don't know what functions to use for that (if they exist).
The reason is that in the text I use e.g. actually variables in the form [variableName] and I would like to have them highlighted in the editor.
e.g. I have a text:
What is Lorem Ipsum?
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown [printer] took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
and I want to automatically have [printer] highlighted in the text, e.g. backgroundColor: yellow.
Thank you for any advice

I am also looking for a solution to this!

@etrepum do you think it would be good idea to try tackling this?

@citruscai I think it could be worth making an example, maybe another kind of node + plugin in the playground or a standalone example. I think the useLexicalTextEntity facility would be appropriate for this, you can use the Hashtag plugin as a reference for how something like this could be done.

It's not really clear to me what you're trying to do that prints that error but I would start with adding your code to the playground. Creating new packages is for stable, generic and reusable code.

It's not really clear to me what you're trying to do that prints that error but I would start with adding your code to the playground. Creating new packages is for stable, generic and reusable code.

i realized that i was overcomplicating it a lot by trying to  create an entire new package for this feature.


Error with leaky_relu

Hi there, I got the following error:

I'm using Tensorflow 1.5.0. Is this OK?

hello, I also encountered the same problem， Can you tell me how to solve it? Thanks!

Sorry I can't help you. I'm already out of object detection problems...


Why processed_date of UboDeclaration resource is IntegerField and not DateTimeField?

https://github.com/Mangopay/mangopay2-python-sdk/blob/a04b8d6fc4fb259c6ee3a34391d16a41bf2a1931/mangopay/resources.py#L1454-L1456

Hello @samitnuk,
This has been fixed in our latest release 3.10.1.
Have a nice day,


import/no-cycle not working with jsx and tsx files

I recently found out, that import/no-cycle rule doesn't work in .jsx and .tsx files.
When I have two modules a.ts and b.ts that import each other. I get and error:

But when I use .tsx extension, the error is gone:

My .eslintrc file:
module.exports = {
  env: {
    browser: true,
    es2021: true,
    node: true,
  },
  extends: [
    'plugin:@typescript-eslint/recommended',
    'airbnb-typescript/base',
    'plugin:prettier/recommended',
  ],
  parser: '@typescript-eslint/parser',
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    ecmaFeatures: {
      jsx: true,
    },
  },
  plugins: [
    '@typescript-eslint',
    'typescript-sort-keys',
    'sort-destructure-keys',
    'import',
    'prettier',
  ],
  rules: {
    'import/extensions': ['error', { json: 'always', ts: 'never', tsx: 'never' }],
    'import/no-cycle': ['warn', { ignoreExternal: true }],
    'import/no-duplicates': 'error',
  },
};

I think it has something to do with import/extensions rule, because if I turn that rule off and import those files with the extension as import { b } from './b.tsx'; I get an error. But I don't have to do it with .ts files, so there is still something weird about it.
Can anyone help?

You have to specify the extensions setting, which you don't seem to be doing. See the readme.

I tried it before, but it looked like it didn't work, but now it works properly. Probably it was just VS Code plugin that didn't show the error then.
Thanks!


Renaming Hackagotchis

By replacing the ID of a hackagotchi you own with one someone else owns, you can rename them. 100% did not test with steggy.

ok wow


POL-240 - Azure Compute Plugin

modified plugin for resource browser
Description
Updated the Azure Compute Plugin to work with the Resource Browser/Plugin Registration
Issues Resolved
Updated required changes.
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

          2 Errors

:no_entry_sign:
A README.md is required for new templates

:no_entry_sign:
aws/rs_aws_compute/changelog.md:3: MD002 First header should be a top level header
aws/rs_aws_compute/changelog.md:40: MD024 Multiple headers with the same content
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger


How to change database lookup interval?

Hi
I want to run jobs right after they're enqueued, but right now, DelayedJob only scans for jobs every 5 seconds.
This means that on average, each job spends 2.5 seconds being idle
How can this be changed?

You can change the sleep_delay with the command line option --sleep-delay N. You can also configure it at boot.
# config/initializers/delayed_job_config.rb
Delayed::Worker.sleep_delay = 60

I found that on the README.md.
However, this won't make a difference in most cases. Note that if one job finishes in 0.5s the next one will be performed straight away if it's available, it won't wait 4.5s. Another example: if 10 jobs are pending they're all performed in one shot (sequentially though) once they're found by a worker.

Imagine this scenario
(hh:mm:ss)
08:00:00 My job queue is empty
08:00:00 A database job scan is ran
08:00:01 A job is inserted
...
08:00:05 The job is scheduled
In this case, I have to wait 4 seconds because the job was inserted right after the previous scan

I think you do this:
echo "Delayed::Worker.sleep_delay = 1" >> config/initializers/delayed_job.rb

That's right.


fix(internet-header): add invisible text to mark active main navigation link

Preview environments are getting posted here, as soon as they are ready!


Bug #21178: $php_errormsg is deprecated in PHP 7.2

Patch for http://pear.php.net/bugs/bug.php?id=21178.
@alecpl , let me know what you think.

To use error_get_last() for this the error state must be cleared before the code we're catching errors in. It's last error, not last function call error, as I understand. In PHP7 you have error_clear_last() for this purpose. As we want to support PHP5 we should clear the state in another way, see http://php.net/manual/en/function.error-get-last.php. Also, error_get_last() requires PHP >= 5.2.0, so we'd need to change package requirements.
We could also create two private methods that will handle this internally with version check. Old method with $php_errormsg for PHP5 (and PHP4, or btw, stop supporting PHP4) and error_get_last()/error_clear_last() for PHP7.
I'm not sure which way I'd prefer.

Looks good, but I'd replace two variables  $useOldErrorHandling and $old_track_errors with only one to make the code more compact.


[mixcloud] is not working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.07.16
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

bash-3.2$ ./youtube-dl -v https://www.mixcloud.com/gillespeterson/caribou-7-inch-vinyl-mix-chat/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.mixcloud.com/gillespeterson/caribou-7-inch-vinyl-mix-chat/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.16
[debug] Python version 2.7.10 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.3
[debug] Proxy map: {}
[mixcloud] gillespeterson-caribou-7-inch-vinyl-mix-chat: Downloading webpage
ERROR: Unable to extract play info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "./youtube-dl/youtube_dl/extractor/mixcloud.py", line 87, in _real_extract
    webpage, 'play info'), 'play info')
  File "./youtube-dl/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract play info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Latest version is not able to download from Mixcloud

Mixcloud works again now. Ticket should be closed.


GPU

I found that this task  does not use multiple gpu training ，why? thank you very much.

Using our provided hyper-parameters, the whole model can be trained on a Tesla V100 GPU with 32GB memory


[Accessibility] Keyboard navigation issues on left panel

The left panel that appears is accessible with the screen reader, but not keyboard only. I need to be able to tab to this section of the page, then use the up/down arrows to cycle through the various items (and have a clear focus state), then press enter to activate.
Tested:
Chrome OS / ChromeVox
Mac / VoiceOver
Win / NVDA

The left sidebar is now keyboard navigable using Tab/Alt+Tab since #121 was merged, however the tabindex orders aren't right at the moment.

This has been solved by other commits.


Single pane with multiple windows doesn't work

Running this template doesn't produce expected results. Second and third tabs don't launch commands in the single pane:
windows:
  - name: dev
    root: ~/Documents/programming/unsplash-web
    layout: tiled
    panes:
      # This should be kept in sync with [ref:run_app_dev_command].
      - just
      - just lint
      - just typecheck
  - name: editor
    root: ~/Documents/programming/unsplash-web
    layout: tiled
    panes:
      - hx .
  - name: git
    root: ~/Documents/programming/unsplash-web
    layout: tiled
    panes:
      - lazygit

This might be a wezterm bug. If another tab has a horizontal pane split, following tabs will be limited to the height of that first pane's split. Still need to investigate further as it could be something weztermocil is doing as well.


Add SupportedOSTypes function to Components

This forces every component to state what operating systems are supported for the objects being rendered. If a single OS is returned, then a node selector is used (to avoid any unnecessary disruption of the pods since node selectors were previously used), but if there are multiple OS types, then node affinity is used. The label for the selector / affinity is the "kuberentes.io/os" label.
Description

For PR author

[x] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[x] Milestone set according to targeted release.
[x] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


TM 4.0.2 in DSM7 not working

For English User
Please provide the following information.

Transmssion version: 4.0.2
Tr Web Control version: latest 1.6.1
Browser name & version：Synology DSM7
Problem description: Can anyone tell me in english how can I install it to work with  my DSM7?

Ok understand just rename the web folder to public:_html.

Solved it


Fix the location of a previous snake part unexpectantly being -1 when the snake collides with itself.

The existence of this bug needs to be re-verified.


Can't delegate/send transaction

Mac OS 10.13.6
Ledger Nano S (version of mina app 1.0.0)
Version of app: ledgerblue==0.1.35
I'm not running mina node on Mac OS, I 'm running it on dedicated server
Trying to run via this command mina_ledger_wallet send-payment my_cold_wallet_id my_cold_wallet_aka_ledger_wallet my_hot_wallet 2.71821
Where my_cold_wallet_id will be 0 for example
But I get this error
Getting network identifier... Error: HTTPConnectionPool(host='localhost', port=3087):
Max retries exceeded with url: /network/list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10c3f5b00>:
Failed to establish a new connection: [Errno 61] Connection refused'))

PS but I can execute mina_ledger_wallet test-transaction 42 B62qnzbXmRNo9q32n4SNu2mpB8e7FYYLH8NmaX6oFCBYjjQ8SbD7uzV

Not running on VPS, are you?

@argonau7
I'm running my_hot_wallet on Mac OS (in order to connect to ledger wallet)
and running mina node on a dedicated server

It's giving you a network connection error because mina_ledger_wallet needs to communicate with mina-rosetta and you don't have that running.  Once mina-rosetta is packaged with Mina then you will not have this issue.


encoding/json: Inconsistent results with pointers and duplicated keys

What version of Go are you using (go version)?

$ go version
go version go1.12.4 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/elwinar/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/elwinar/.go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build786320136=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/8ELiG37J-JI
What did you expect to see?
{<nil>} <nil>
{<nil>} <nil>

What did you see instead?
{0x40c1e8} <nil>
{<nil>} <nil>

As mentioned is dvyukov/go-fuzz-corpus#3, although the result itself is valid stricto sensu, it is inconsistent. We would expect either the very first indirection to be nil or the very last.

CC @mvdan @josharian .


fix the repo name in setup.py

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


Update battery, remove LED blinking

Add
void broadcast_battery_level(struct k_work *work_item);
before the
K_WORK_DELAYABLE_DEFINE(battery_work, broadcast_battery_level);
macro, otherwise callback function is undefined at that point.
transport.patch
With that fix, PR OK, tested with my app for battery notifications and Friend app for a transcription.

Updated.


Multiple iSAFE peaks

Dear Ali,
May I ask how should I interpret the results when a locus contains multiple peaks? I expected to see a signal close to the iHS peak (there was only 1 iHS peak), but several iSAFE peaks were seen in the flanking upstream/downstream regions, does this indicates false positives of iHS?
Thanks
Xiaoxi

Dear Xiaoxi,
The short answer is that iSAFE has higher resolution and multiple peaks can be due to multiple selective sweeps.
iHS is a test to detect a region under selection (not pinpointing the favored mutation) and it does a great job to detect ongoing selective sweeps. However, iSAFE is designed to tackle this issue and pinpoint the favored mutation. Although, iSAFE is also shown to be very powerful to be used as a test of selection (i.e. find the region under selection). Please also check https://github.com/alek0991/iSAFE/issues/6#issuecomment-783219198 which is relevant to this topic.
Please let me know if you have any other questions.
Best,
Ali

Hi, Ali,
Thanks for the kind explanations. Now I could understand better. For my analysis, I first run the genome-wide iHS scan using the microarray data, then for those significant loci I attempted to use iSAFE to further dissect the signal and pinpoint favored variants based on an independent WGS dataset. Will it be good if I limit the input variants of iSAFE to those in LD with the lead iHS variant (e.g R2>= 0.7)? As I wanted to know which variant in the given haplotype is responsible for the selection. Could you give me suggestions for my analysis?
Best,
Xiaoxi