coveragerc: support for relative paths to config (not cwd)

It would be helpful for when coverage gets run in a changed cwd with subprocess handling:

983004.64c4: cwd is now '…/Vcs/pytest-django'
983004.64c4: Tracing '…/Vcs/pytest-django/pytest_django/lazy_django.py'
983023.734b: cwd is now '/tmp/pytest-of-user/pytest-370/test_django_assert_num_queries_output_info0'
983023.734b: Not tracing '…/Vcs/pytest-django/pytest_django/lazy_django.py': falls outside the --include trees

Currently you have to set an environment variable, e.g.
tox.ini:
setenv =
    coverage: COVERAGE_HOME={toxinidir}

coverage.rc:
[run]
source =
  $COVERAGE_HOME/src
  $COVERAGE_HOME/tests

Since this should be working in a backward compatible way, I suggest either
supporting a ./ prefix to enable it, or set some environment variable like
$COVERAGE_CONFIG_DIR before reading the config file.
With the first approach source = . would use the current working directory, but source = ./ would use the directory of the config file.
(via https://github.com/nedbat/coveragepy/issues/597#issuecomment-421941018)
Link to current docs, which say that it is relative to cwd: https://coverage.readthedocs.io/en/latest/source.html#execution

I am also running into issues cases by me needing to run coverage in a different directory.
another more explicit approach to ./ prefix is to have COVERAGE_HOME set automatically by coverage when it loads the config.
This way something like the config below would work regardless of the presence of the environment variable.
[run]
omit =
    ${COVERAGE_HOME}/.nox/*
    ${COVERAGE_HOME}/*tests*
    ${COVERAGE_HOME}/plugins/*


Add a german Linux Ressource

What does this PR do?
Add resource(s)
For resources
Description
This book offers a nearly complete knowledge of Linux. It explains how to use Linux as a powerful workstation and is devoted in detail to more professional topics such as administration of the system, shell, network configuration and security.
Why is this valuable (or not)?
Until now there was no book or online book about Linux as a operating system in German
How do we know it's really free?
It is one of the "Rheinwerk" Openbooks
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

super PR.


HDDS-7228. ChecksumByteBufferImpl.update() is expensive

ChecksumByteBufferImpl.update() copies the bytebuffer before checksum calculation because the isReadOnly field of ByteBuffer is false.
This is a quick&dirty hack, which uses inflection to reset the isReadOnly field of ByteBuffer to true, so that ChecksumByteBufferImpl.update performs checksum calculation directly without memory copy.
Posting this as a draft. It's a dirty hack and I like it, and it does work without any visible overhead.
What changes were proposed in this pull request?
HDDS-7228
What is the link to the Apache JIRA
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

@duongkame

I'll still trying to come up with a better implementation. This is hacky.
And while this hack looked okay on a spindle disk cluster, unfortunately this hack still shows some overhead on a NVME cluster I tested.

I've marked this ready for review - any reason not to commit this? It may not be perfect, but its a lot better than what is there at the moment without this change.

Huum, some acceptance tests are failing with:
Put                                                                   | FAIL |
'WARNING: An illegal reflective access operation has occurred
--
Put with Streaming                                                    | FAIL |
'WARNING: An illegal reflective access operation has occurred
--
ozonefs-o3fs-link :: Ozone FS tests                                   | FAIL |
23 tests, 21 passed, 2 failed

Which I suspect is related

Various suggestions to suppress the warning - https://stackoverflow.com/questions/46454995/how-to-hide-warning-illegal-reflective-access-in-java-9-without-jvm-argument
I suspect it is the warning message that is breaking the acceptance tests, as they are likely expecting a certain output on stdout / stderr and this warning is breaking that expectation.

I suspect it is the warning message that is breaking the acceptance tests, as they are likely expecting a certain output on stdout / stderr and this warning is breaking that expectation.

Yes, the test expects empty output for these commands.
This can be suppressed by:

add --add-opens java.base/java.nio=ALL-UNNAMED to OZONE_MODULE_ACCESS_ARGS for Java9+
add $OZONE_MODULE_ACCESS_ARGS to OZONE_SH_OPTS, OZONE_FS_OPTS, maybe some others, too

https://github.com/apache/ozone/blob/b3c84845926fb79e4b3b4ae20ded2be1c97ada06/hadoop-ozone/dist/src/shell/ozone/ozone#L89-L95

@jojochuang I've added the JVM arg to avoid the warning, plus changed initialization of the Field to static, please take a look if you're OK with that.
I think we should refine the printStackTrace() statements, too.

We should probably move these to a log message, rather than printing directly to stdout / stderr, which is what I assume e.printStackTrace() does. Otherwise I think we should commit this, as it greatly improves what is there performance wise.

We should probably move these to a log message, rather than printing directly to stdout / stderr, which is what I assume e.printStackTrace() does.

Done.


http3: fixing rst codes

Follow up from #17520 to make the rst codes more accurate
Risk Level: low
Testing: new unit tests
Docs Changes: n/a
Release Notes: n/a

(Ci deflaked)


Spring Cloud Contract Example with JAX-RS and Spring Boot

Hi,
Can we have a spring-cloud-contract example with JAX-RS and Spring Boot application.

I am able to get the Spring-cloud-contract working with JAX-RS 2.0.

That's awesome! Can you write how you did that? Post an example somewhere so that others can also use it?

Sure I will write down the example and share it. Nothing fancy though just use the @SpringBootTest to start the actual web server and load the spring boot context to load all the Jersey resources.

@dollarhand could you please share the details how did you do this, it would be great if you can put a sample project in git or if you can put some important code snippets here please

@dollarhand can you please share details on the same. I am stuck on the same.

@AjitDas / @baraths84 can you please share the exact problem you are getting, not sure till when I  might be able to put in that code sample :)


⚠ Samsung has degraded performance

In ae13671, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2691 ms

Resolved: Samsung performance has improved in d9d84b7.


Errors in mnist_tutorial_keras.py

The issue tracker should only be used to report bugs or feature requests. If you are looking for support from other library users, please ask a question on StackOverflow.
Describe the bug
For now, I have found two errors in mnist_tutorial_keras.py.
The first error occurs in the original code in the repo.
ValueError: Could not interpret optimizer identifier: <tensorflow.python.keras.optimizers.Adam object at 0x7fa852729f28>
It may be caused by different versions of Keras libraries from Keras-base and keras in Tensorflow.
I have tried to install keras-2.1.6 as Tensorflow has. But it doesn't work.
I tried to import keras without Tensorflow as "import keras". But it causes the second error.
AttributeError: Layer sequential_1 has multiple inbound nodes, hence the notion of "layer input" is ill-defined. Use get_input_at(node_index) instead.
This error occurs at input method of Layer class in keras/engine/base_layer.py
I have no idea what caused this error.
Besides, I tried to remove keras library. Then I found that the keras library is required by CleverHans.
System configuration

CentOS 7
Python 3.6.8
TensorFlow r1.12
Keras 2.2.4

I think I have figure out the first error.
First, I import keras directly rather than from tensorflow at the 14th line.
Then, I comment the 87th line which is called to deal with some errors when the model uses custom loss.
These operations only make the traditional model training processes work. But the second error still occurs in the adversarial training.
I have tried to locate the error. I found that Cross-entropy on the adversarial examples in function get_adversarial_loss (line 200) may causes the error. But I still have no idea how to deal with it.

This should be closed by #999, feel free to reopen if that's not the case anymore


🌟 [FEATURE]How to Train and Validate on Separate Datasets

Hello!
I'm currently working on training Nequip. Is it possible to train and validate the model on different datasets? Any insights and guidance on this matter would be greatly appreciated. Thank you!

Hi @Guackkk ,
Thanks for your interest in our code!
During training, see https://github.com/mir-group/nequip/blob/main/configs/full.yaml#L154-L157.
Otherwise, you can use nequip-evaluate to evaluate error metrics and predictions of a trained model on any test or evaluation dataset specified using our YAML syntax in a separate YAML file passed with the --dataset-config option.

Thanks for your quick and kind reply!


fix(Build): Load MSYS2 Before Native Windows Make

Description
Testing shows the legacy "split" Makefiles for RISC-V projects are hard-coded for MSYS2/unix style paths.  Ex:  Hello_World-riscv
Installing the native Windows Make broke these projects, because I loaded the native version before the MSYS2 version.

Additionally, colorized output breaks if native Windows Make is used, but MSYS2 /usr/bin is on the PATH.

This PR makes the MSYS2 take precedence over the native version so we don't break anything.  Switching to the native version will be an "opt-in" feature for this release.
See also https://github.com/Analog-Devices-MSDK/Packages/pull/4, which does this for setenv.bat.
Checklist Before Requesting Review

[ ] PR Title follows correct guidelines.
[ ] Description of changes and all other relevant information.
[ ] (Optional) Link any related GitHub issues using a keyword
[ ] (Optional) Provide info on any relevant functional testing/validation.  For API changes or significant features, this is not optional.

Regenerating project files now.


Strange error when declaring records in Tutorial

I was attempting to construct a Red-Black Tree module using records;
type colour =
    | R
    | B
//Excluding left and right for simplicity here
type node = {key:int; col:colour;}

let x = {node.key = 4; col = B;}

The error I receive is
no warning handler installed
����^"��8FStar_Absyn_Syntax.Errory�	/Record field names must be constant identifiers_j�@�Interleaving iface+module: /var/fstar/ulib/FStar.Squash.fsti
no warning handler installed
����^"��8FStar_Absyn_Syntax.Errory�	/Record field names must be constant identifiers_j�@�Test(10,9-10,21) : Error
Field Test.Mknode.key is missing

Perhaps my syntax in declaring a record is incorrect? That's how it's done in F#, and I can't seem to find documentation suggesting another method.

Hello, this works fine for me:
let x = { key = 4; col = B; }

To quote the F# documentation,
type Point = { x : float; y: float; z: float; }
type Point3D = { x: float; y: float; z: float }
// Ambiguity: Point or Point3D?
let mypoint3D = { x = 1.0; y = 1.0; z = 0.0; }

It's good practice to be able to declare the type explicitly.

Wow, Silly mistake on my part.
Solution was
let x:node = { key = 4; col = B; }

Note that it is not completely silly.
Take the following example:
type point = { x: int; y:int}
type point2 = { x: int; y:int}

let x:point = { x = 2; y = 3}

It fails with Expected type point.
In F* it is currently the case that if you use the same field names for several records, only the last one will be visible, and type annotations will not solve that.
It is a good thing to know.

Wow that's a serious issue.... is there a reason for that design choice?

I am curious too. How could one overcome this limitation.
Could one write
let x:point = {point.x = 2; point.y = 3}

That's not more silly than writing
let x:point = {p_x = 2; p_y = 3}


How to use OAuth2 with new version 3.0.2?

Discussed in https://github.com/orgs/oas-tools/discussions/11
I have migrated from swagger-tools to<EMAIL_ADDRESS>and now trying to migrate from 2.x to 3.x
Previously with 2.x I have security handler as below where I could get token for verification
OAuth2 = async (req, def, scopes, next) =>{ /*validate token from req.Authorization */}
Now with 3.x, I'm unable to get token. I would appreciate quick help on this
OAuth2: (secDef, secScope) => { /* OAuth authentication */ } // How do we get token here?

Closed as discussed in GH Discussions. It will be reopened if changes in the coded are required.


Galileo images may have zero-filled borders - could update lesser/greater pixel size

From Mark:
Many images are edited to smaller rectangles with surrounding zeros. It would be cool if we could set the size as the size actually used. However that can be something we save for another day.

This will be done as part of the effort to redo the GOSSI surface/ring geometry. The new clock count will be included in the supplemental index.
BYBTW 3/11/2021


Widget loader includes

Add a way to include a widget tree file as part of another widget tree.

Added in 2cadaf6a8e8cceabc7d405e0741ac3a9f756a5f5.


missing/broken redirect from documentation into TSPL

Location
https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#ID563
referenced from
https://developer.apple.com/documentation/swift/keypath
Description
The link functions, but redirects to the top of the overall TSPL, and it's not clear how to get to the relevant information. I'm not sure you can even just to the subheading within Expressions in the reference manual, but it would help to at least redirect to Expressions in the reference section, if that's possible.
Correction
Ideally the link should direct to the subheading in Expressions: https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Key-Path-Expression

We're working on this general redirect issue over in #109; although it looks this particular ID doesn't have a DocC mapping yet: https://github.com/apple/swift-book/pull/109/files#diff-a6bd315dcde4cb2fd4716b9e1a1393ddeb1355f4c0816aa9a9239f8fe470a40aR558
Looks like you found the correct mapping, so this should be a quick fix.

Thanks @krilnon - I figured it might be in the work already planned, but wasn't sure - so led with reporting it.


How to put back GPU support?

This looks like an awesome project. I'd like to use it to control a small GPU cluster I have on my LAN.
Can you provide advice about how I might put back the GPU support? I don't mind maintaining my own fork.

@ibuildthecloud I share the same thinking as well. Why this feature is removed? It is such a need for ML applications!

@ajbouh please let me know if you have any success. I am interested in this as well.

@ajbouh @liyimeng On the master branch the commits are very surgical, removing features one by one.  You could try reverting the commit removing GPU support (I really don't know which one it is because I believe it might fall under "DeviceManager," not sure).
When k8s 1.13 is released and I do the rebase for the 1.13 series I can evaluate keeping GPU support.

Thanks for the great work!

is this with containerd or docker? What does a pod yaml look like this:
apiVersion: v1
kind: Pod
metadata:
  name: cuda-vector-add
spec:
  restartPolicy: OnFailure
  containers:
    - name: cuda-vector-add
      # https://github.com/kubernetes/kubernetes/blob/v1.7.11/test/images/nvidia-cuda/Dockerfile
      image: "k8s.gcr.io/cuda-vector-add:v0.1"
      resources:
        limits:
          nvidia.com/gpu: 1 # requesting 1 GPU

from https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/#using-device-plugins
?


unable to set font size

how can i set the font size, seems its not working

Hi!
Have you tried examples/example.py? It works fine for me.

unknown-kel, pls help me, I'm using customtkinter too, but i cant load 'Oswald'
font = Font(file='Oswald-ExtraLight.ttf')
assert font.is_font_available("Oswald")
assert "Oswald-ExtraLight" in font.loaded_fonts()
assert font.font_info("Oswald-ExtraLight.ttf")[0]["copyright"]
self.name = customtkinter.CTkLabel(self, text='Main', font=customtkinter.CTkFont('Oswald-ExtraLight', 15)).place(x=50, y=1)

I get assertion error
assert font.is_font_available("Oswald")
AssertionError

what i'm doing wrong?

And with assert font.is_font_available("Oswald-Extralight")?

i used another font and it works fine
thanks !


Services always running as root.

Was there a reason for running each service as root even though their is an attribute for user and group?
In the templates/default/init.d.erb template file there is these lines
touch $logfile
chown $user $logfile
touch $pidfile
chown $user $pidfile
...
daemon --user=root
<%= @env_options %> $forever start --pidFile $pidfile -l $logfile -p $forever_dir -a -d -c $COMMAND --sourceDir $SOURCE_DIR $SOURCE_FILE $SCRIPT_OPTIONS
RETVAL=$?
where --user is hardcoded as root and doesn't use the $user variable. Also even though the ownership should be changed to the $user variable it is still owned by root.
This is a simple enough change on my end to match what I was looking for but I just want to verify there wasnt a major reason to always set it to root user.

It's just a bug, I requested this change some time ago: https://github.com/trabian/chef-forever/pull/6
Currently I'm using my repo via berkshelf but this should be merged by author - it's easy fix.


Launcher Icon Generator: add option to select an image for the background

It would be very helpful if you could add an option to set the background to an image instead of a color :)

Any update on this? this option is really important.
Appreciate the hard work!

I would love this. Another Option which would be verry useful, is the ideo of changeing the App logo

Dope! Thanks for supporting this feature.


fix: unable to resolve nodejs document loader in react native runtime environment

Should fix #993 by conditionally importing the XHR and NodeJS document loaders, based on the runtime environment.

Codecov Report

Merging #1003 (68fc41b) into 0.3.0-pre (f38ac05) will decrease coverage by 0.02%.
The diff coverage is 18.18%.

@@              Coverage Diff              @@
##           0.3.0-pre    #1003      +/-   ##
=============================================
- Coverage      87.87%   87.85%   -0.03%
=============================================
  Files            615      615
  Lines          14764    14766       +2
  Branches        2498     2498
=============================================
- Hits           12974    12972       -2
- Misses          1693     1697       +4
  Partials          97       97

Impacted Files
Coverage Δ

...ckages/core/src/modules/vc/W3cCredentialService.ts
81.56% <0.00%> (ø)

packages/core/src/utils/environment.ts
50.00% <0.00%> (ø)

packages/core/src/modules/vc/libraries/jsonld.ts
50.00% <33.33%> (-50.00%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[FEATURE REQUEST] Self-Signed-Cert-Support

Hey there,
thanks a lot for this fine piece of software!
I successfully setup my nextcloud-server with a self-signed certificate.
The CA-Cert was imported to Android and works well.
No more Warning in Fennec, Grocy- and floccus-App are now working without any problem.
Only OSS-DocumentScanner throws:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
I followed these Links:
https://github.com/nativescript-community/https/issues/10
https://medium.com/@noumaan/ssl-app-dev-a2923d5113c6
If I understand correctly it is only needed to add
<certificates src="user"/>
into
network_security_config.xml
Maybe a switch to turn the ability to support user-certs on and off would be a security feature in this context.

@will2048 great investigation !
I will fix this. Dont think I will make it an option as I am not even sure I can (.making that XML value loaded or not).
Seeing Nextcloud do it by default https://github.com/nextcloud/android/blob/c5d4e135894a8e25d0b339f857551412ca7a68ce/app/src/main/res/xml/network_security_config.xml I think I can safely do the same

Thanks for your swift reaction.
Yeah, ich checked the network_securtiy_config.xml of floccus- and grocy-app and they have it set as well. They also have no special setting to allow user-CAs in special.
And now that I am thinking: There is a very big an detailed warning before importing a user-CA-cert und you have to authenticate again by PIN/fingerprint. So now I think that an option is not needed...
I will give feedback here when it's built in and I can test it.
Sales slips / till receipts: HERE I COME! 😄

@will2048 published a new version. Let me  know if it works

YES, SIR! 😁
Thanks a million.


Remove version: BlenderFoundation.Blender.LTS version 2.93.2

No longer part of LTS
Microsoft Reviewers: Open in CodeFlow

URL: https://download.blender.org/release/Blender2.93/blender-2.93.2-windows-x64.msi
OK
(Automated message - build 887)


Make Shadow DOM open

See issue #69.

Never mind! I forgot that I already made a PR! Really sorry for this.


[DOC] NEP-366

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Documentation on NEP-366 (meta transactions) is difficult to find
Describe the solution you'd like
A clear and concise description of what you want to happen.
Either create documentation on NEP-366 or link the existing information somewhere in the docs.
https://github.com/near/NEPs/blob/master/neps/nep-0366.md
https://github.com/near/pagoda-relayer-rs
Additional context
Add any other context or screenshots about the feature request here.
Adding to DevHub to see if anyone would like to create documentation on this.

FYI, I wrote a more technical behind-the-scenes view on meta transactions for nearcore developers: https://near.github.io/nearcore/architecture/how/meta-tx.html

Oh cool, I didn't even know these docs existed. Thanks!


Add replace revision counter in longhorn engine enhancement document

https://github.com/longhorn/longhorn/issues/508
Signed-off-by: Bo Tao<EMAIL_ADDRESS>

@shuo-wu , I have updated this LEP based on our discussion, please help to take a look. Thanks.

@shuo-wu , any comments on the last PR? Thanks.

Hi @shuo-wu and @yasker , I just updated this LEP mainly the implementation overview part to add 'Engine.Spec.RevisionCounterDisabled' to engine object, which pass extra flag to engine controller to be aware of revision counter disabled or not. Please take a look and let me know. Thanks.


argocd installed as part of latest toolkit cannot be used

argocd install using the operator in the latest toolkit cannot be used. argocd runs and the console can be accessed, but you cannot create apps, repositories, ...
Fix:
Edit the argocd instance in tools namespace and make the default policy admin.
oc edit argocd argocd -n tools
change
rbac:
defaultPolicy: role:readonly
to
rbac:
defaultPolicy: role:admin
to fix the problem.

It can be used if you log in as admin or if you make the user part of the cluster admins group. I don't agree that the default policy role for every user should be admin

Here's what I propose:

Leave the default policy as readonly within the module when it installs
Address the issue of access by patching the default policy to admin in a post-installation step, particularly for clusters that will be used for education purposes
I will document the updated processes for configuring and managing ArgoCD introduced with the operator; from simple to more advanced scenarios - ibm-garage-cloud/planning#382


Add version check

Just came across this method that should be straightforward for ingesting text in flat files: https://sourceforge.net/p/greasemonkey/wiki/GM_getResourceText/

For some reason, making this change also made it so that the version check actually happens properly the first time you open the modal. I think it's almost good to go now, I'm just gonna add some final touches

Here's what it looks like now

I was thinking that the existence of a version update should hijack the base element itself so that an update overrides the original link. Thoughts?

I think it could work either way, I'm not too attached to either method. I think the biggest thing is that it needs to be clear that you can click it to install the update. I think it should get updated automatically anyways, so we might not even need it in the end. (It might be better to have the version URL be a const instead of in the meta block, so it will check for updates each time the userscript runs rather than checking each time it checks for an update, due to the caching.)

I don't think we can make it auto update unless the user explicitly enables this in their *monkey settings, but you're right that we can force it to check each time.

Version identifier: just looks like plaintext
Update available: override this space and style it as a colored button

It probably depends on the extension, but I think tampermonkey checks daily by default (unless I've changed it, but I haven't touched my settings on this browser).

Version identifier: just looks like plaintext
Update available: override this space and style it as a colored button

Sounds like a plan, I'll change that now

I just went ahead and merged it since it's non-destructive, but this still needs to handle race conditions on load:

Load the page
New version is caught but link does not get updated when opening the modal
Close the modal and reopen
Link updates correctly

Also looks like the default button style in kbin isn't really a button, just a color? This needs to more explicitly look like a button IMO.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add main from template
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template
chore(package): remove unknown value for main ({{main}})

Codecov Report

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

@@           Coverage Diff           @@
##           master     #247   +/-   ##
=======================================
  Coverage   94.49%   94.49%
=======================================
  Files           7        7
  Lines         327      327
  Branches       55       55
=======================================
  Hits          309      309
  Misses         17       17
  Partials        1        1

Continue to review full report at Codecov.

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

Coverage remained the same at 53.059% when pulling ffc14c00133a3807e67d4fc74c548f0a53f1389d on template-sync-1 into 5d6e8dd55173e41bcf9d9a5b3500c6d9f0e0f86a on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[OAP-1631][Doc][POAE7-426] Highlight spark with numa patch should be built on correct hadoop version in user environment

What changes were proposed in this pull request?
update user doc to highlight spark with numa patch should be built on correct hadoop version in user environment
How was this patch tested?
N/A

@winningsix Please help merge this PR.

@HongW2019 can you help merge this?


Rocketdyne F1 works in 1.1.x

Or at least it does on my machine when I played with it. I think its metadata just needs to be changed so its max KSP version is 1.1.99.

Thanks for letting us know!


required flags multiple handles empty array

Problem
When a flag is multiple: true and required: true, GLI does not indicate when no flags are given on the command line.
Solution
Check that the value is an empty array in addition to the nil check

CLoses #244

Released in 2.21.3


Remove the vmvx-materialize-encoding pass

It is redundant with the llvmcpu-materialize-encoding pass, which works fine on VMVX as well, to the point that just switching the pass kepts tests passing as-is.  It's perhaps not intuitive to be using "llvmcpu" passes in VMVX, but that is something that we are already doing anyway, and fixing that should not block just removing 150 lines of code.

This is now folded into #14349 .


Compose examples

What's changed

Improved Compose Rails example per user feedback

Updated Compose Getting Started example per user feedback

This is first take, I already see things wrong with what I wrote about rebuilding the app, so I'm re-running some tests and will push an updated version of this topic of this soon.
Related
Fixes #3024
Fixes #3337
Reviewers
@chloerei @dnephin @shin- I think this is close, will merge tonight to get the bulk of the changes published, then we can iterate as needed.
@ManoMarks I'm going to do the docker stack deploy updates in a separate PR.
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM


Build fails with: Execution failed for task ':app:mapDebugSourceSetPaths'.

Bug report

What went wrong:

Execution failed for task ':app:mapDebugSourceSetPaths'.
Error while evaluating property 'extraGeneratedResDir' of task ':app:mapDebugSourceSetPaths'
Failed to calculate the value of task ':app:mapDebugSourceSetPaths' property 'extraGeneratedResDir'.
Querying the mapped value of provider(interface java.util.Set) before task ':app:processDebugGoogleServices' has completed is not supported

flutter build appbundle
Steps to reproduce
Steps to reproduce the behavior:
android/app/build.gradle:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion flutter.compileSdkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId ".."
        minSdkVersion flutter.minSdkVersion
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.google.firebase:firebase-messaging:21.0.1'
}

// ADD THIS AT THE BOTTOM
apply plugin: 'com.google.gms.google-services'

android/build.gradle:
buildscript {
    ext.kotlin_version = '1.6.10'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3+'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
         // Add the google services classpath
        classpath 'com.google.gms:google-services:+'

    }

}

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Expected behavior
The build fails with the above error message.
Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-arm, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[!]
Also as a note, when you open an issue, please use new issue template and fill out requested details so that we'll have enough details to work with.
If you think the issue you are getting is due to flutterfire plugin, write in comments, fill out template and we'll address it.

What do you mean?
I used the template and files ind all the flutter doctor command output.
If I uncomment the last line:
// ADD THIS AT THE BOTTOM
apply plugin: 'com.google.gms.google-services'
the build succeeds

Have anyone solved this problem? It seems google-services is using deprecated (and removed) feature of gradle

@muhammadyusuf-kurbonov
I somehow fixed it. But I am not sure what did the trick.
I think in firebase changed the instructions for android.
e.g. no you need no use
implementation platform('com.google.firebase:firebase-bom:29.2.1')
instead of:
implementation 'com.google.firebase:firebase-messaging:21.0.1'
but see the whole Firebase Android instruction for details.
Its a shame that no one tells you about the api changes...

Thank you. I will check 👍👍👍

I am also facing this issue anybody know  how to fix it ?

@muhammadyusuf-kurbonov I somehow fixed it. But I am not sure what did the trick. I think in firebase changed the instructions for android.
e.g. no you need no use implementation platform('com.google.firebase:firebase-bom:29.2.1')
instead of:
implementation 'com.google.firebase:firebase-messaging:21.0.1'
but see the whole Firebase Android instruction for details.
Its a shame that no one tells you about the api changes...

It didn't work for me

I also had this kind of error with my project. after some reverting back changes i noticed the error only came when using the
'com.google.gms:google-services:4.3.10' dependency.
after changing back the google service version to 4.3.5 the error was resolved.
I hope this helps

I also had this kind of error with my project. after some reverting back changes i noticed the error only came when using the 'com.google.gms:google-services:4.3.10' dependency. after changing back the google service version to 4.3.5 the error was resolved.
I hope this helps

THANK YOU! It works!


ActivityLogsClient's List function does not return 400 with invalid selectParameter

https://github.com/Azure/azure-sdk-for-go/blob/ca4d22fbbacf9ddc32b42a14113b13ea3feb9ccd/services/preview/monitor/mgmt/2021-09-01-preview/insights/activitylogs.go#L53
The function returns normally with the following inputs
eventsCollection, err := alClient.List(context.Background(),
"eventTimestamp ge '2022-06-14T00:00:00.6407898Z' and eventTimestamp le '2022-06-14T23:59:59.6407898Z'",
"eventTimestamp,eventName,operationName,category,description")
But if I change the "description" to "descriptionn", the function call hangs there forever even without returning a 400 indication bad input select parameter.
eventsCollection, err := alClient.List(context.Background(),
"eventTimestamp ge '2022-06-14T00:00:00.6407898Z' and eventTimestamp le '2022-06-14T23:59:59.6407898Z'",
"eventTimestamp,eventName,operationName,category,descriptionn")

@xqi-aviatrix Thanks for your feedback. Please note, the package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-09-01-preview has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor. See Migration Guide for guidance on upgrading. Could you please upgrade to the new version first and feel free to feedback if any further problem?


"No Maps Found" and solution leads to crash

BakkesMod Version:  179
RocketPlugin Version:  0.7.4

Describe the bug
Rocket Plugin crashes on start after fixing "No Maps Found" bug.
To Reproduce
Steps to reproduce the behavior:

go to pluginmanager
disable then enable Rocket Plugin again
go to Rocket Plugin and select the Custom Map
Press Host

Expected behavior
I expect it to start a LAN match with the custom map I selected.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

To get around this I load into training on any standard map then click host on my custom map.

Thank you so much I had this exact problem!

Well it fixed my problem a couple times but it stopped :( now I don 't know how to fix it

I think disabling rocket plugin restarting rocket league then re-enabling rocket plugin fixes the crash issue.


Fix FPS compliance on container image

Related Issue: https://issues.redhat.com/browse/ACM-10920
Description of Changes:

Use registry.access.redhat.com/openshift4/ose-cli as base image to get the oc binary on all Dockerfiles.

What resource is being added: | N/A
Is this a Hub or Managed cluster change?:  N/A
Notes: the scan's details are in the JIRA. We could in the future even consolidate the two Dockerfiles into one.

/cc @rh-dluong @Kyl-Bempah @dhaiducek
Could you have a look at this, please? 🙏

Sorry, my previous comment might not be clear. Did that Konflux PR fix the FIPS compliance?

Closed as this should be solved by a previously merged PR.

Thanks, @douglascamata! Yes, we should be able to close this PR. I'll check in downstream and update the issue with what I find.


Issue with pip-compile resolver

The resolver that will be used by default by pip-compile will be backtracking.
With this resolver constraints will only be allowed to take the form of a package name and a version specifier. In particular we currently have a couple of extra dependencies in requirements_dev.txt and this will cause issues since requirements_dev.txt are used as constraints when building requirements.txt.
I'd propose, as a temporary patch, to restrict pip-tools version in requirements_dev.in to pip-tools>=6.6.2,<7.0.0.
But we should start thinking how to definitely solve this issue allowing for newer versions of pip-tools.

What about switching to poetry? I'm starting to grow fond of it...

I didn't have enough time to check it yet...

I'd propose, as a temporary patch, to restrict pip-tools version in requirements_dev.in to pip-tools>=6.6.2,<7.0.0.
But we should start thinking how to definitely solve this issue allowing for newer versions of pip-tools.

Yes. That's fine. We can restrict pip-tools for the time being, while thinking about switching to poetry in the medium/long term


Setup simple products API

Setup an API that uses FastAPI in Python and an Azure Cosmos DB database
This pull request includes several changes to the products directory of the repository. The changes are primarily related to the addition of new features and the configuration of the development environment.
Addition of new features:

products/README.md: Added a README file outlining the tech stack, setup instructions, and other details about the products data source.
products/config.py: Added a new Settings class that reads from a .env file to set various configuration parameters.
products/data/product_items.json and products/data/products.json: Added JSON data files that provide sample product data. [1] [2]
products/dependencies.py: Added a new file that defines dependencies for FastAPI.
products/main.py: Added a new FastAPI app that includes the products router.
products/models.py: Added a new Product model for use with Pydantic and FastAPI.
products/routers/products.py: Added a new router for the products endpoint.

Configuration of development environment:

products/.gitignore: Added a comprehensive .gitignore file for Python projects.
products/.vscode/launch.json: Added a configuration file for launching the app in VS Code.
products/requirements.txt: Added a requirements file that lists all the Python packages needed for the products app.

Documentation:

README.md: Added a new section to the main README file that provides examples of the data sources available in the repository.

Closes #2


Is inline injection broken?

Describe the bug
I’m working on kak-tree-sitter and the software is mature enough to start vendoring queries and grammars. I hit a problem with markdown and especially markdown.inline injection. It looks like the injection mechanism doesn’t fully work (I’m using tree-sitter-highlight).
This is the buffer highlighted via markdown:

And here is the same buffer explicitly highlighted with markdown.inline:

For the record, injection works in other language such as comment in rust:

Is there anything else I’m missing? The way I’m highlighting a Markdown document is to simply highlight it with markdown and letting the injection callback eventually highlight with markdown.inline, but it looks like there’s more to it?

Sorry, I fixed it. I’m using Helix’ injections.scm query, which is using include-unnamed-children, which is not supported by tree-sitter-highlight (probably something specific to their code.
Closing.


Metadata param not used in writeFile() or createWriteStream()

Turns out writeFile() was correct in the hypercore-8 branch and createWriteStream() needed a small fix: https://github.com/andrewosh/hyperdrive-daemon/pull/14


Allow multiple company type

I was going to submit data for my company, but I noticed that type is a string. In my case, our product targets both B2B and B2C, so I thought I should be allowed to enter both of them, ideally in an array.
What do you think?

If your company works on a product you can use the Product type.

I see. That was not highlighted in the CONTRIBUTING.md, so I missed that in the first place, but now I realize that this is the correct type.


Defining property lastValue higher in the hierarchy?

Hi all,
I believe it would make sense to define the property "lastValue" higher in the inheritance hierarchy.
More specifically, is there a good reason to not define "lastValue" on the "Capability"-model? In the end, what is the purpose of having a property "lastValueTime" without having the option to store/reference that lastValue?
I believe this approach would make more sense than the current 127 references where "lastValue" is currently defined: https://github.com/Azure/opendigitaltwins-building/search?q=lastValue&type=code
A related question on this topic was discussed before in https://github.com/Azure/opendigitaltwins-building/issues/42.
Best,
Michiel

The reason we're defining this on a lower level is that it allows different schemas (and potentially different units) for different sensors. If we defined it in a single place (on Capability) we'd have to fall back to a shared schema representation at that definition point, i.e., a string representation for all kinds of sensor values, which is probably a bit too vague. The lastValueTime does not have that same problem: it'll always be a timestamp.
Admittedly this does make for a somewhat confusing model on the Capability level. Let's keep this issue (and discussion) alive and see if we can get more input on it, perhaps worth taking another go on it at some point.
Thanks for bringing this up!
Karl

Hi Karl,
Thanks for your reply and clarification.
However, I believe there are still some gaps to be filled. To give one example: PowerSensor inherits from QuantitySensor which inherits from Sensor and from their up to Capability. In this whole inheritance chain, no ‘lastValue’ is defined.
An ideal scenario would be to be able to define ‘lastValue’ on the highest level and to specify the unit on the lower levels, if you need to define this unit.
Regards,
Michiel

Hi,
PowerSensor has no lastValue because its children have diverging lastValue schemas.
Unfortunately the design you propose, while it makes logical sense to me, does not work with how DTDL handles subclassing: fields on parent classes cannot be overloaded/hidden by fields on children. The DTDL spec document does not cover this case explicitly, but the DTDL validator fails in such cases.
Karl

Hi Karl,
Thanks for clarifying.
My bad, if you go more specific you are indeed able to define a lastValue + unit.
I guess by going specific enough, the user will always be able to define a lastValue?
Michiel

Yes, that's the idea. If we've missed any such cases, then that would be a fault.
Best,
Karl


pyenv shell command don't work with custom installation path

I use a custom path installation for my pyenv (look at these links https://bitbucket.org/rodfersou/brews/src/7bd0fa453735a420b0ada02fedf61b9c7ad5cfa3/install_pyenv.sh?at=default https://bitbucket.org/rodfersou/brews/src/7bd0fa453735a420b0ada02fedf61b9c7ad5cfa3/activate?at=default#cl-5 )
Everything looks fine but the pyenv shell command don't work with this configuration:
$ pyenv shell 2.4.6
pyenv: no such command `shell'

Cool

Thanks man, it works :)

Thanks. Sometimes I forgot adding init code and visit this page. :sweat_smile:

🔑 to solve a problem.
Thanks!


Cannot log in to Argo CD -- key does not exist in secret

Which version of kubefirst are you using?
v2.3.7
Which cloud provider?
k3d (local)
Which DNS?
None specific
Which installation type?
CLI
Which distributed Git provider?
GitHub
Did you use a fork of gitops-template?
No
Which Operating System?
macOS
What is the issue?
I create a new cluster via kubefirst k3d create.
The kubefirst dashboard opens in Chrome. I click on the https://argocd.kubefirst.dev/ link, provide the user ID and token provided by kubefirst k3d root-credentials and get the error message Invalid username or password in the Argo CD login screen. The log for argocd/argocd-server-*-* ends with this:
time="2024-02-11T21:39:15Z" level=info msg="received unary call /cluster.SettingsService/Get" grpc.method=Get grpc.request.content= grpc.service=cluster.SettingsService grpc.start_time="2024-02-11T21:39:15Z" span.kind=server system=grpc
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientSecret', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientId', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientSecret', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientId', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientSecret', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=warning msg="config referenced '$argocd-oidc-secret:clientId', but key does not exist in secret"
time="2024-02-11T21:39:15Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=Get grpc.service=cluster.SettingsService grpc.start_time="2024-02-11T21:39:15Z" grpc.time_ms=4.9 span.kind=server system=grpc
time="2024-02-11T21:39:55Z" level=warning msg="User chris-hailstorm failed login 1 time(s)"
time="2024-02-11T21:39:56Z" level=info msg="finished unary call with code Unauthenticated" error="rpc error: code = Unauthenticated desc = Invalid username or password" grpc.code=Unauthenticated grpc.method=Create grpc.service=session.SessionService grpc.start_time="2024-02-11T21:39:55Z" grpc.time_ms=968.547 span.kind=server system=grpc

Code of Conduct

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

@chris-hailstorm: just to be sure, when you say the user ID, you mean you used the admin username, and its password? If not, try with that. OIDC is not implemented with the k3d flavor of kubefirst.

@fharper
Can you point us to any resource that corroborates that statement? I don't seem to find any.
The only issues I found in the k3d repository were this one and this one, which seem to insinuate otherwise.

The link I shared in my previous comment is the issue we created for it: there is no more information about this.
Just to be clear, we are not saying that it's impossible to add any OIDC support on a Kubernetes cluster running in k3d, but that we didn't implemented it yet. That feature doesn't come out of the box on any Kubernetes flavor: we had to create it for our kubefirst created clusters. We implemented it on all public cloud within kubefirst, but not in k3d flavor yet.
Hopefully, it's clearer :)


Question . Unity 2019 ?

Good day. Will there be support for version 2019? in this version is incorrectly obscured. visible through the map other objects with your decision. You will need to update or go to another solution. ??

I strongly recommend using Post Processing Stack instead. It's better and faster than this.

I'm closing this issue now. Please feel free to reopen for further questions.


Minor corrections

In particular, the name of the application is written with a capital letter and when you hover over the application, the description will be translated.

the name of the application is written with a capital letter

Is that standard convention for .desktop files or so? The name of the program is lowercase cryptor 😉


Remove goog.string

Added a utils.js file which has one function in it at the moment (padNumber) or would this be better suited in a string.js file?

Also not sure how to tackle compareVersions, could we have a very simplify case and only deal with numeric types? i.e. not have to deal with "1.2b"

Looks good. +1 on only handling numeric versions. Just one thing: could you rename utils to string? Also the file name.

Done :) not sure about the numeric versions. I put tests in for it and they seem to pass :) So ready for review

This looks good @nicholas-l.  Thanks for the work on it.  A few comments above about the tests.  Any failures in ol.string.compareVersions() assertions aren't currently being caught.

@tschaub changed according to comments

@nicholas-l can you please squash all your commits into one? (there a good explanation on how to do that here: https://github.com/openlayers/ol3/pull/4868#issuecomment-187785482)

@fredj squashed

Thanks @nicholas-l


ERROR! no action detected in task.

hi. did every step as written in the readme. when i try to run it. i get this message...
mcp@fsc01:~/work/kubespray$ ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml -b -v
Using /home/mcp/work/kubespray/ansible.cfg as config file
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/home/mcp/work/kubespray/roles/download/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

include_tasks: download_prep.yml
^ here

The error appears to have been in '/home/mcp/work/kubespray/roles/download/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

include_tasks: download_prep.yml
^ here

mcp@fsc01:~/work/kubespray$
os:debian 9.3 , ansible <IP_ADDRESS> , other ansible workbooks run without a problem.
could maybe somebody help me whats wrong here..

shame on me, realized my ansible is quiet old, made an update, works now.


Terraform templates for AWS role authentication

There are two modules for AWS role authentication:

dynatrace_monitoring_role: Configures the roles for Dynatrace monitoring AWS infrastructure.
active_gate_monitoring_role: Configures the roles for Active Gate.

This PR is the continuation of #12 . But I don't have permission to modify it. It takes into consideration Terraform linting.

From my point of wiew this PR covers all my comments in previews PR. Looks cool and easy readable from Terraform site, but please document somehow that when client would like to install "with existing activegate" then it should install two modules.

@felipmiguel , please keep Cloudformation templates in their current directory. They're linked in Dynatrace documentation and community posts.

Just updated the PR by keeping the original folder paths for CloudFormation and adding a README about the usage of the Terraform templates. Not sure about the scenarios for ActiveGate.


[QUESTION] How do I setup unbound DoT?

Here is an example unbound.conf line from https://www.jwillikers.com/dns-over-tls-with-unbound:
  forward-addr<EMAIL_ADDRESS>
It needs IP, port and address name.
https://openbld.net/docs/overwiew/how-it-works/#connectives

DoT - ada.openbld.net or ric.openbld.net

Nothing more. With this, I don't understand what I should put into unbound.conf.
Thank you

Hello, thank you for your question.
You can try to check nearest server for you, as example with nslookup or dig commands:
nslookup -port=53 ada.openbld.net <IP_ADDRESS>

Output:
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	ada.openbld.net
Address: <IP_ADDRESS>
Name:	ada.openbld.net
Address: <IP_ADDRESS>

Make sure, the service is working, try to connect any server to 853 port:
telnet <IP_ADDRESS> 853
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.

Next step - take any IP and try to setup your server...
Enjoy!

Thank you. Especially appreciate that you chose to show detailed steps of how to obtain the info. Great approach!
Please consider adding this howto to docs

On the OpenBLD.net site added section with topic named as - Setup DoT (DNS-over-TLS) on unbound:

https://openbld.net/docs/get-started/third-party-proxies/unbound/

If you have anything to add, let me know please.

Some sentences are ungrammatical and overly verbose.
I'm not a native English speaker (привет нашим), my suggestions may be wrong.
There are grammar checking tools like https://www.grammarcheck.net/editor/ for folks like us.

Use Unbound as an upstream DNS-over-TLS forwarder you can with the forward-addr parameter in the unbound.conf file.

Use Unbound as an upstream DNS-over-TLS forwarder with the forward-addr parameter in the unbound.conf file.

You can try to check the nearest server for you, as example with nslookup or dig commands:

Check the nearest server with nslookup or dig commands:

Make sure, the service is working, try to connect any server to 853 port:

Make sure the service is working by connecting to any server on 853 port:

Then, this howto is merely a hint.
I prefer examples where conf files are shown in full-text like https://www.jwillikers.com/dns-over-tls-with-unbound which is OpenBSD-targeted and will probably not work on other platforms.
BTW, I would expect data present at https://openbld.net/docs/overwiew/how-it-works/#connectives
to be somewhere at https://openbld.net/docs/category/get-started/
Consider: you visit the website, you are too lazy to read Introduction and Overview (BTW, fix Overwiew typo), and you head to Get started, but connection addresses aren't listed there.
I would never expect to find them in overview/how-it-works
Ideally, each page
https://openbld.net/docs/get-started/setup-os/macos/
https://openbld.net/docs/get-started/setup-os/windows/
https://openbld.net/docs/get-started/setup-os/linux/
should not reference other pages, but contain full howto with all data. Admittedly, that's a lot of work for maintainers and data would be duplicated, yet that is what I as a visitor would like to see.

Alas, this is my 1st unbound setup in years.
And unbound still doesn't work for me - it fails even to start and I can't find out why.
So I'm a tutorial seeker, not an advisor.

Hey, you can accept the role of a volunteer and check misspells, grammar etc, and provide problem places in the text on site for me for fixing.

https://openbld.net/docs/donation/#volunteering

If you decide to do so, welcome)


make dfmt official

From<EMAIL_ADDRESS>

From my email dated 2015/05/31 entitled "Make dformat and dfix part of the dmd distribution":

Hi Brian,
I was very pleased at DConf to see that your toolset has nicely
reached maturity.
The logical next step is to make your tools part of the dmd
distribution. I'm thinking making dformat and dfix trivially easy to
use and of great help to folks.
What do you think? Could you work on that? Any blockers you could
see?
I'm thinking getting this done for 2.068.
Thanks,
Andrei

I have followed that with several attempts to push things forward with dfix, last on 2016/03/03, with various major contributors. There was no blocker, but also no finalization.

I guess @CyberShadow would be happy to help for the transition and @MartinNowak for inclusion in the next release?
@Hackerpilot what is blocking this?

Yes for dfmt, rather no for dfix atm. The expectations for what dfix should be able to do are much higher, than what is possible on token or even AST base w/o running semantics. So we concluded it's better to continue using deprecations in dmd, and probably use dmd's frontend to build a dfix tool.


Custom cost

It would be nice to be able to toggle the cost to be set by the user.
Similarly, we should be able to set a cost for a specialty.
Great job on the new generator!
Thanks!

Good idea I'll add it on the next version

Added as of version 1.0.2


Fix Numba Deprecation Warning

When I load pixelflow, I currently get the following warning:
NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.

This is fixed by installing the latest version of openpnm (3.2.0) - it doesn't need any changes to pixelflow


Server-timing headers

It would be nice if we could enable the option for gitea to serve Server-Timing headers with responses, as it would be very helpful with debugging.
The option SHOW_FOOTER_TEMPLATE_LOAD_TIME should be incorporated into this instead, as more data can be included with the timing and it doesn't add information in user-visible areas.

The only way a Server-Timing header can give the correct value is if the all of the content is pre-rendered before writing to the response. I don't think that's guaranteed.

True, then I guess that template rendering time should be a separate option. But we can still separate DB latency, etc. in the header.


StaticFile.fromURL throws IllegalStateException when called on a directory in resources

Here's the snipplet of the stacktrace
[scala-execution-context-global-28] ERROR o.h.s.b.Http1ServerStage$$anon$1 - Error writing body
java.lang.IllegalStateException: Expected `Content-Length: 96` bytes, but only 11 were written.
	at org.http4s.blazecore.util.IdentityWriter.writeEnd(IdentityWriter.scala:70)
	at org.http4s.blazecore.util.EntityBodyWriter.$anonfun$writeEntityBody$1(EntityBodyWriter.scala:53)
	at cats.effect.internals.IORunLoop$.cats$effect$internals$IORunLoop$$loop(IORunLoop.scala:87)
	at cats.effect.internals.IORunLoop$RestartCallback.signal(IORunLoop.scala:359)

Looks like it's using openConnection().getContentLength for content length header, which actually calls File::getSize on the directory but the bytes come from URL::openStream which apparently returns newline separated file listing:
new String(u.openStream().readAllBytes())
$23 ==> ".git\n.gitignore\n.idea\nbuild.sbt\nindex.html\nproject\nREADME.md\nsrc\ntarget\n"

Not sure what expected behavior should be for directories, probably either have always return OptionT.none like it does for StaticFile.fromFile. Unfortunately it looks like there's no straightforward way to determine this.
Note: this doesn't happen when the resources are packaged in the jar, since JarURLConnection just returns 0 for file size and no bytes

Yuck.  Well, getURL on the resource tells us whether it's a file, and from there we could use the file API to tell if it's a directory?  Would still be nice to make it consistent between file service and jar service.

@rossabaker I can pick this up.

I am not able to reproduce this. Should this have produced the exception?
 val s = StaticFile
        .fromURL[IO](getClass.getResource("/foo"), testBlocker)
        .value
        .unsafeRunSync
        .fold[EntityBody[IO]](sys.error("Couldn't find resource"))(_.body)

where foo is a folder in resources directory with no files in it. The value of s is an empty string.

There's several layers to this bug, but specifically the IllegalStateException happens when you try to return it as a response, since it's trigger by the content-length not matching. Check _.contentLength
The way the bug surfaces in your examples is that StaticFile.fromUrl on a folder in resources directory with no files in it should probably resolve to OptionT.none, not an empty string.
You can connect these together with
scala> val s = StaticFile.fromURL[IO](getClass.getResource("/"), testBlocker).value.unsafeRunSync
s: Option[org.http4s.Response[cats.effect.IO]] = Some(Response(status=200, headers=Headers(Content-Length: 192, Last-Modified: Fri, 26 Jun 2020 17:20:58 GMT)))

relevant here is headers=Headers(Content-Length: 192, which is a different number of bytes actually in _.body.
scala> s.get.body.compile.toVector.unsafeRunSync.length
res67: Int = 27


feature: filetype-specific Lazy-key-mappings

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
The keys from lazy's plugin spec allows for a very concise definition of keymappings with lazy-loading. However, when it comes to filetype-specific keymaps, there is quite a bit of boilerplate:
{
	"iamcco/markdown-preview.nvim",
	lazy = true,
	init = function()
		vim.api.nvim_create_autocmd("FileType", {
			pattern = "markdown",
			callback = function()
				vim.keymap.set("n", "<C-r>", "<Plug>MarkdownPreview", { buffer = true })
			end,
		})
	end,
},

Describe the solution you'd like
Adding a ft key to the Lazy Key Mappings would remove the boilerplate and result in a much cleaner config. It should fit well with lazy's style of configuring things:
{
	"iamcco/markdown-preview.nvim",
	keys = {
		{ "<D-r>", "<Plug>MarkdownPreview", ft = "markdown" },
	},
},

Describe alternatives you've considered
As a workaround, I basically created my own small utility function. reduces boilerplate a bit, but still not a great solution, I guess.
Additional context
No response

Good idea. Just added this.

I really like this feature. I have a sidenote question. How can you make which-key aware of the new prefix name. Example I currently have in my config
  {
    "toppair/peek.nvim",
    build = "deno task --quiet build:fast",
    keys = {
      {
        "<leader>pp",
        function()
          local peek = require("peek")
          if peek.is_open() then
            peek.close()
          else
            peek.open()
          end
        end,
        desc = "Peek (Markdown Preview)",
        ft = "markdown",
      },
    },
    opts = { theme = "dark" },
  },
  {
    "folke/which-key.nvim",
    opts = {
      defaults = {
        ["<leader>p"] = { name = "+peek" },
      },
    },
  },

which without the ft = "markdown it correctly registers the <leader>p prefix name correctly, but when ft is present in the keys section, then which-key shows when I press <leader> the following: p -> +prefix and it doesn't register correctly the which-key prefix name. Is there any work around to this?

@dpetka2001 that's a bug in which-key. I think there's a PR open to fix that (by reverting another PR). Need to look at it :)

For the moment, as a work around, I added ft = "markdown for the plugin itself and then added in the init function the following
    init = function()
      require("lazyvim.util").on_load("which-key.nvim", function()
        require("which-key").register({
          ["<leader>p"] = { name = "+peek" },
        })
      end)
    end,

which seems to do the trick for the time being, while maintaining the ft also in the keys section to only register the key when in Markdown files.

@folke Was the which-key bug ever adressed? I'm still seeing this issue.

As far as I'm aware, it hasn't been addressed yet. But there's a workaround for it in this issue comment until it gets resolved.

Lets put the reference here in case anyone else comes across this: https://github.com/folke/which-key.nvim/issues/514


Unable to launch remoteapp via CyberArk

Describe the bug
I try to use xfreerdp to lauch remoteapp via CyberArk running in Windows. xfreerdp is able to connect and show the remote app (Chrome). But once CyberArk intercepts the app window (Chrome) and enter the credential on behalf of me, the app window closes and no more app window shows up.
RDP file:
full address:s:psm5-uat.abc.com
server port:i:3389
username:s:PSM@2fbea6ae-ec3d-4adf-a5a0-a520b05b4324
alternate shell:s:PSM@2fbea6ae-ec3d-4adf-a5a0-a520b05b4324
desktopwidth:i:1024
desktopheight:i:768
screen mode id:i:1
redirectdrives:i:0
drivestoredirect:s:
redirectsmartcards:i:0
EnableCredSspSupport:i:0
redirectcomports:i:0
remoteapplicationmode:i:1
remoteapplicationprogram:s:||PSMInitSession
remoteapplicationname:s:PSM-Oracle-WebLogic-Chrome
disableconnectionsharing:i:1
use multimon:i:0
span monitors:i:0
Trace log before "looping":
[09:35:21:878] [10990:11012] [DEBUG][com.freerdp.codec.progressive] - rect[0]: x: 320 y: 256 w: 64 h: 64
[09:35:21:878] [10990:11012] [DEBUG][com.freerdp.codec.progressive] - PROGRESSIVE_WBT_TILE_FIRST
[09:35:21:878] [10990:11004] [DEBUG][com.freerdp.codec.progressive] - ProgressiveTileFirst: quantIdx Y: 0 Cb: 0 Cr: 0 xIdx: 5 yIdx: 4 flags: 0x7A quality: 255 yLen: 359 cbLen: 232 crLen: 232 tailLen: 0
[09:35:21:879] [10990:11012] [DEBUG][com.freerdp.codec.progressive] - ProgressiveFrameEnd
[09:35:21:880] [10990:11012] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:    [1] from xf_sw_end_paint
[09:35:21:882] [10990:11012] [TRACE][com.freerdp.client.x11] - xf_unlock_x11_:  [0] from xf_sw_end_paint
[09:35:21:882] [10990:11012] [DEBUG][com.freerdp.channels.drdynvc.client] - write_data: ChannelId=6 size=20
[09:35:21:882] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:    [1] from xf_process_x_events
[09:35:21:882] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_unlock_x11_:  [0] from xf_process_x_events
[09:35:21:891] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:    [1] from xf_process_x_events
[09:35:21:891] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_unlock_x11_:  [0] from xf_process_x_events
[09:35:21:905] [10990:11012] [DEBUG][com.freerdp.channels.drdynvc.client] - order_recv: Cmd=0x1, Sp=3 cbChId=0
[09:35:21:905] [10990:11012] [DEBUG][com.freerdp.channels.drdynvc.client] - process_create_request: ChannelId=15 ChannelName=AUDIO_PLAYBACK_DVC
[09:35:21:905] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:    [1] from xf_process_x_events
[09:35:21:905] [10990:11012] [DEBUG][com.freerdp.channels.drdynvc.client] - no listener
[09:35:21:905] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_unlock_x11_:  [0] from xf_process_x_events
[09:35:21:905] [10990:10991] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:    [1] from xf_process_x_events
To Reproduce
Steps to reproduce the behavior:

Create a new RDP file from CyberArk
Run xfreerdp with the RDP file
Follow the RDP session to login

Expected behavior
A "Chrome" remoteapp is supposed to show
Application details

FreeRDP version (xfreerdp /version)
This is FreeRDP version 2.10.0 (2.10.0)
Command line used
xfreerdp cyberark.rdp /sec:rdp
Output of xfreerdp /buildconfig
This is FreeRDP version 2.10.0 (2.10.0)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_BACKTRACE=1 HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 HAVE_EXECINFO_H=ON HAVE_EXECINFO_HEADER=1 HAVE_FCNTL_H=1 HAVE_GETLOGIN_R=1 HAVE_GETPWUID_R=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_PIXMAN_REGION=OFF HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CAIRO=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=OFF WITH_GFX_H264=OFF WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_ICU=ON WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_IPP=OFF WITH_JPEG=ON WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PAM=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PROXY=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SHADOW=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_XCURSOR=ON WITH_XDAMAGE=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XTEST=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          RelWithDebInfo
CFLAGS:              -g -O2 -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/build/freerdp2-ZaAgVo/freerdp2-2.10.0+dfsg1=/usr/src/freerdp2-2.10.0+dfsg1-1 -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer -DWINPR_DLL
Compiler:            GNU, 12.2.0
Target architecture: x64
OS version connecting to (server side)
Windows 2016
If available the log output from a run with /log-level:trace 2>&1 | tee log.txt
If you built it yourself add some notes which tag/commit/branch you have used, also your cmake parameters and
compiler can help

Environment (please complete the following information):

OS: [e.g. Linux/Windows/Android/..]
ubuntu
Version/Distribution: [e.g. Debian 10, Windows 2008, Android 10]
23.04
Architecture: [amd64, arm]:
amd64

not entirely sure we can do something here?
you might check if that works with thincast client (flatpak) as that one has another RAILS implementaion on top of FreeRDP, if not then most likely not, if yes then I´m all ears.

I install thincast using snap and I get this error message:

ah, damn, missed the server 2008 part. that does not support high def rail :/

But the remote server is a Windows 2016, not 2008.

@Nelson-Bigmouth then your server is configure awkwardly. (server 2016 should support that if configured correctly)
also, rdp security is quite outdated, is there a reason to use that?

I think people configure the Windows 2016 that way because of product (CyberArk) requirements.
I believe my problem is related to the "remoteapplicationprogram:s:||PSMInitSession" in the RDP file. If I change that line to a regular Windows program (e.g., notepad.exe), the remoteApp shows up correctly using xfreerdp.


Don't open the output pane on linting error

When I have my terminal open and I edit a file where I get a linting error (always happens for Django migrations) it jumps from my terminal to the output pane. This is really annoying behavior especially if you want to use the terminal again.
Environment data

VS Code version: 1.26.1
Extension version (available under the Extensions sidebar): 2018.8.0
OS and version: Solus 3.99999
Python version (& distribution if applicable, e.g. Anaconda): 3.6.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions: django 1.11

Actual behavior
When a linting error pops up, it opens the output pane. It does not matter if the bottom pane is open or not.
Expected  behavior
It only shows the notification message and does not open the output pane.
Steps to reproduce:

Have your pylint on.
Save django migration file.

Error: Invalid patch string: Skipped 1 files

@JostCrow
Please could you provide a copy of the djano migrations file.

@DonJayamanne This should already do the job for me. Just an empty migration.
# -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-09-10 07:03
from __future__ import unicode_literals

from django.db import migrations

class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
    ]

After some testing I did this weekend. The error that causes the output pane to be opened is the same as #2435 This also happens when I have the following in my settings.
"[python]": {
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
    },

So I know for a fact that isort is causing the issue. But again it would be nice if it would only show the error notification and not show the output pane.
Because the isort function is a really nice one and only the notification message should be enough.

Agreed, will disable showing the output panel. After all an error message (popup) is displayed.


pip3 install -r requirements.txt failed on Mac M1

output.txt

We did a recent overhaul and removed all python deps from webllm, checkout the latest instructions https://github.com/mlc-ai/web-llm#get-started


Unclear error message when aligning depth and color frame using pyrealsense2

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (10)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / <IP_ADDRESS>7 }

Language
{python }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
I'm trying to align depth frame to color frame (or vice versa) of a recorded bag file.  My approach is to loop through the bag file frame by frame and aligned depth to color each loop and save the result along the way.  However, I keep getting a vague error message
RuntimeError: Error occured during execution of the processing block! See the log for more info
I insert the following block of code in two different locations.  One is before the loop and one is in the loop.  However, I get the same error above both time.
# set up alignment
align_to = rs.stream.depth
align = rs.align(align_to)

Before the loop code
# SET UP
cfg = rs.config()
cfg.enable_device_from_file(example_file)
pipe = rs.pipeline()
profile = pipe.start(cfg)
colorizer = rs.colorizer()
# set up alignment
align_to = rs.stream.depth
align = rs.align(align_to)

# get video length
frame_counts = get_num_frames(example_file)

depth_imgs = []
rgb_imgs = []
for i in range(frame_counts):
    frames = pipe.wait_for_frames()
    aligned_frames = align.process(frames)
    # get aligned depth and rgb frames
    aligned_rgb = aligned_frames.get_color_frame()
    aligned_depth = colorizer.colorize(aligned_frames.get_depth_frame())
    depth_imgs.append(np.asanyarray(aligned_depth.get_data()))
    rgb_imgs.append(np.asanyarray(aligned_rgb.get_data()))
pipe.stop()

before the loop full error message
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-32-0c131be6876e> in <module>
     16 for i in range(frame_counts):
     17     frames = pipe.wait_for_frames()
---> 18     aligned_frames = align.process(frames)
     19     # get aligned depth and rgb frames
     20     aligned_rgb = aligned_frames.get_color_frame()

RuntimeError: Error occured during execution of the processing block! See the log for more info

Inside the loop code
# SET UP
cfg = rs.config()
cfg.enable_device_from_file(example_file)
pipe = rs.pipeline()
profile = pipe.start(cfg)
colorizer = rs.colorizer()

# get video length
frame_counts = get_num_frames(example_file)

depth_imgs = []
rgb_imgs = []
for i in range(frame_counts):
    frames = pipe.wait_for_frames()
    # set up alignment
    align_to = rs.stream.depth
    align = rs.align(align_to)

    aligned_frames = align.process(frames)
    # get aligned depth and rgb frames
    aligned_rgb = aligned_frames.get_color_frame()
    aligned_depth = colorizer.colorize(aligned_frames.get_depth_frame())
    depth_imgs.append(np.asanyarray(aligned_depth.get_data()))
    rgb_imgs.append(np.asanyarray(aligned_rgb.get_data()))
pipe.stop()

Inside loop full error message
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-33-9acbba093f81> in <module>
     20     # get aligned depth and rgb frames
     21     aligned_rgb = aligned_frames.get_color_frame()
---> 22     aligned_depth = colorizer.colorize(aligned_frames.get_depth_frame())
     23     depth_imgs.append(np.asanyarray(aligned_depth.get_data()))
     24     rgb_imgs.append(np.asanyarray(aligned_rgb.get_data()))

RuntimeError: Error occured during execution of the processing block! See the log for more info

And there is no log file for me to check the details of this error message
Please let me know how to fix this issue as soon as possible.  This is for a project and I have a deadline to catch
Also a side question, does alignment affect depth values? For example, after alignment process, if I perform object detection on the RGB frame to single out object of interest and then apply the detected mask location on the depth frame (so I only process the information within the area of the mask), would the depth values of the detected object (i.e. depth values within the mask) be accurate/the same as if without alignment?

same problem for me with the last firmware and L515.. never seen that before...

Hi @anguyen216  The RuntimeError: Error occured during execution of the processing block! error occurred in a similar case last month where a RealSense user was trying to align frames from a bag using Python.  I have seen other cases like this too.
https://github.com/IntelRealSense/librealsense/issues/6358
I hope that the link below will be a useful reference for you.
https://github.com/IntelRealSense/librealsense/issues/6330
@Fred3D-tech  If the information above does not solve your L515 related problem, can you create a new case specifically for the L515 please, as someone else on the RealSense team other than myself is responsible for supporting L515 cases.  Thanks!

Following the reference solve my issue! Thank you!

Great news @anguyen216  - thanks so much for the update!

You can do a workaround with a deepcopy of the frame before you do post processing


chart: explicitly set namespace on namespace-scoped resources

Requested by @jessesuen
Long story short, this change will make helm template kargo charts/kargo -n kargo | kubectl apply -f - possible where it was not possible before.

Closing this in favor of #541


examples code

Could you plase make examples for how to using your code in Readme?

The most basic example is to simply run the demergi command, the readme explains the possible parameters to change the default behaviour.
If you have a specific question about how to use Demergi, feel free to reopen the issue.


fix interactive toc

https://css-tricks.com/table-of-contents-with-intersectionobserver/

[ ] wrap any heading in-between content, into a <div>

[ ] use a rehype plugin for this: get inspiration from src/components/mdx/Code/rehypeCode.ts
[ ] maybe also src/components/mdx/Toc/rehypeToc.ts

[ ] uncomment/refactor code inside src/components/mdx/Toc/Toc.tsx, based on the the wrapper divs

started https://github.com/pmndrs/docs/pull/320


Use twoPassesTwoSides when doubleSided is true in gltfio

This should help Filament properly support more glTF assets with transparency, and should make Filament behave more like other renderers such as three.js.
Fixes #4632

I will update the release notes in another push, but yeah good point.


Added clang format

Added clang-format for future PRs, (and my sanity a bit) and formatted all files.
@fufexan do you know maybe if we can:
a)
AlignConsecutiveDeclarations across both empty lines and comments, tried to do it how clang's docs say:
AlignConsecutiveDeclarations:
  Enabled: true
  AcrossEmptyLines: true
  AcrossComments: true

but it would break the entire formatter in vs code (?)
b)
make enum not wrap
BraceWrapping:
  AfterEnum: 'false'

doesn't seem to work, see
https://github.com/hyprwm/Hyprland/blob/63b2e1f138c5abf31890df51fa01af389f445904/src/debug/Log.hpp#L7-L15

@vaxerski
for the first alignment thing try setting AlignOperants to true.
the second thing might be solved by setting BreakBeforeBraces to 'custom'

both didn't work for me :/

Your config is working for me if i add this:
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterUnion: false
AfterControlStatement: false
AfterFunction: false
The 'Enabled: true' could be the problem


docs: fix typo in README.md

Description
This pull request fixes typo Genarate -> Generate in README.md

Thank you for creating a pull request! Unfortunately, this was already fixed in #317, closing...


FR: useEffectOnce() and useUpdateEffect()

Hello, I wanted to mention some use that I find interesting from another library called usehook-ts. Technically, both are currently possible, but it's a bit more verbose, so to speak. The suggestions aim to make the process simpler and cleaner.
useEffectOnce()

[ ] useEffectOnce(): performs a useEffect() only during the first render (mounting). The following implementation is how it could be done today with usehooks versus the suggestion:

Using usehooks:
const firstRender = useIsFirstRender();

useEffect(() => {
  if (firstRender) {
    // do something...
  }
}, []);

With the suggestion:
useEffectOnce(() => {
  // do something.
});

useUpdateEffect()

[ ] useUpdateEffect(): this is the opposite of the function above: it only runs from the second render. You can achieve the same using usehooks by reversing the if() condition.

I debated adding these initially, but decided against it. From a philosophical perspective, I think these go against the mental model for how effects should work in React.


Path().rmdir_p() errors on non-empty folder

When I try to delete a non-empty folder with rmdir_p it raises an error.
import path
from path import Path

tmpdir = path.tempdir()
self = None # I directly created a test case for test_path.py

def test_rmdir_p_sub_sub_dir(self, tmpdir):
    """
    A non-empty folder should not raise an exception.
    """
    d = Path(tmpdir)
    sub = d / 'subfolder'
    sub.mkdir()
    subsub = sub / 'subfolder'
    subsub.mkdir()

    sub.rmdir_p()

test_rmdir_p_sub_sub_dir(self, tmpdir)

This raises the following error:
~/path.py/path/__init__.py in translate()
   1459             _, e, _ = sys.exc_info()
   1460             if e.errno == errno.ENOTEMPTY:
-> 1461                 e.__class__ = DirectoryNotEmpty
   1462             raise
   1463

TypeError: __class__ assignment only supported for heap types or ModuleType subclasses

After replacing Line 1461 with pass it raises an OSError (according to the docstring it should not raise, or?).
Usage question - should rmdir_p() delete a non-empty folder? Or should it silently fail? To delete non-empty folders should rmtree be used?
python 3.7.0
path.__version__
>>> '12.0.2.dev2+g91a5c22'

In 10.3.1 this fails silently, so I assume this is the intended behavior.

ping @jaraco

The docstring for rmdir_p says:

Like rmdir, but does not raise an exception if the directory is not empty or does not exist.

The way I read that is it should not delete a non-empty folder; it should silently fail and one should use rmtree for that situation.

Thanks for providing the test. I've added it verbatim in 628db41.

(replaced with bc602bf for proper attribution)

Great, thank you!


popup background gets lost with multiple instances

when using eg. 2 instances of the plugin, only one instance will display the black ground, on the other one it's missing..
i'm using this command for opening: $.featherlight(div, me.options);

Only the topmost featherlight has a visible background, that's per design.
So I don't understand your issue, not sur if bug report of question

i'm sorry .. i found out that it's intereferencing with the zebra datepicker plugin:
http://stefangabos.ro/jquery/zebra-datepicker/
i couldn't find out why ..

Maybe you need to setup a root for featherlight, check the docs


Endless CPU and memory occur in "node" when a symlink to / exists in the workspace

VS Code Version: 1.55.2 and the today's Insiders.
OS Version: Ubuntu 20 (via WSL2).

Steps to Reproduce:

Go to some folder via the command line.
ln -s / ./test1
Open the folder in VS Code (i.e. the folder should have a symlink to the root named test1).

Bug: Node starts using 200% CPU and memory keeps increasing (slowly). Even adding test1 to files.exclude doesn't work. Using the Toggle Developer Tools->Performance logging shows no CPU usage.

Does this issue occur when all extensions are disabled?: Yes

Can you configure to exclude the folder under files.watcherExclude and see if the issue happens.

That does not fix it.

Can you provide the output of cat /proc/<PID>/cmdline where PID is of the process with high cpu usage.

/home/username/.vscode-server-insiders/bin/85f8ebf1687661c45fe2633bdd7f640164a20cc2/node/home/username/.vscode-server-insiders/bin/85f8ebf1687661c45fe2633bdd7f640164a20cc2/out/bootstrap-fork--type=watch

Thanks, what is the version of remote wsl extension being used ? Can you check if the issue goes away with "remote.WSL.fileWatcher.polling": false

0.56.1. remote.WSL.fileWatcher.polling is already set to false by default and explicitly setting it to false has no effect.

/cc @aeschli for remote-wsl scenario based on https://github.com/microsoft/vscode-remote-release/issues/4637

So it sounds like this is a Remote/WSL2-only issue? I could try the repro on a local Linux machine if you want.

I could try the repro on a local Linux machine if you want.

Yes that would be helpful if you can do it.

Yeah, I don't repro it on Linux arm64 machine when files.watcherExclude is set, but it repros when I set the path to false (which sounds like it's "by design", although it seems odd  why files.watcherExclude doesn't inherit files.exclude like search.exclude does).
So it looks like the bug is that files.watcherExclude isn't working in the remote WSL scenario (unless there's some other factor I'm not aware of).

@sean-mcmanus still repros in insiders?

@bpasero This bug still repros with today's Insiders.

@sean-mcmanus can you set log level to Trace:

And open the server output channel, open a file, make some changes, save and see what output you get from the file watcher. I am curious as to what file watcher is being used in your case.
Should be prefixed with something like [trace] [File Watcher ...

@bpasero It says [remoteagent] [trace] [File Watcher (node.js)].


yosys 0.23: write_rtlil/read_rtlil for a hierarchical parametric design fails during hierarchy check

Version
Yosys 0.23 (git sha1 7ce5011c2, clang 14.0.6-2 -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
When compiling verilog files separately into RTLIL files, and then attempging
to combine them and run hierarchy in a later pass, yosys emits errors related
to parameters supposedly not existing.
Reproduction:
Run make check from the attached tarball.
yosys_bug_rtlil_params.tar.gz
Expected Behavior
Yosys should run hierarchy -check with no issues and emit the top-level RTLIL. The equivalent workflow with read_verilog (see the check_reference target in the Makefile) works, so this seems like a problem with write_rtlil/read_rtlil.
Actual Behavior
Yosys errors-out with "ERROR: Module `mbit_flop' is used with parameters but is
not parametric!", even though you can see in mbit_flop.rtlil that there is a
parameter specified.

Amusingly, the yosys manual has this blurb about parametric design synthesis:
7.5 Synthesizing Parametric Designs
FIXME:
Add some information on the RTLIL::Module::derive() method and how it is used to synthesize parametric modules via the hierarchy pass

The derive() function is where the aforementioned error originates from.

Modules with parameters have to go back to the verilog AST to be derived for concrete parameter values, but the AST is not saved to RTLIL, so this is not expected to work.

Is the AST not generated during read_verilog?
In general, what I am trying to do is parallelize as much of my yosys workflow as possible. My thought process was: generating the AST (which I though read_verilog did) for compilation units is easily parallelizable, since there are no real data dependences between any of the compilation units as long as unknown modules can be blackboxed and linked together later (which I thought hierarchy would take care of). I am working on a design with hundreds of files totaling millions of lines of code, so sequentially reading all the files with read_verilog takes quite a while, and I think it should be faster.

The AST is generated in read_verilog, but it is an in-memory data structure only and is not exported with write_rtlil. So in the other yosys process that reads the rtlil, the AST is no longer available. To resolve the parameters you need both the instantiation and the instantiated module in the same yosys process, or you need to preprocess the verilog in some other way so that you know for each module all the parameter combinations used by the instances in the design, and can manually derive all the necessary parametrized modules in advance (chparam would allow you to do that).

Thanks @nakengelhardt

it is an in-memory data structure only and is not exported with write_rtlil

That's unfortunate; I thought by its name ("_rtlil") that it would be essentially a serialized version of the in-memory AST.

chparam would allow you to do that

That works for a small number of modules, but I have hundreds of modules, a subset of which are heavily parameterized in diverse ways (think FIFOs, CDC synchronizers, etc). For the suggested workaround to scale, I would need to know a priori what parameter combinations exist for every parametric module, which I think I can only do by running a top-level hierarchy pass, which unfortunately requires reading the entire design.

No, RTLIL is a netlist format - it is the internal representation that the yosys passes work on, so it represents synthesizable logic in terms of cells and wires and is quite removed from any of the frontend languages (which is not just verilog, could be vhdl, amaranth, liberty, ...).

Okay, that makes sense I guess. I saw a couple snippets from the Yosys manual which I thought indicated that params were well supported by RTLIL, which is why I embarked upon this path:

All features of the HDL that cannot be mapped directly to these RTLIL classes must be transformed to an RTLIL-compatible representation by the HDL frontend. This includes Verilog-features such as generateblocks, loops and parameters.

each module contains a callback function into the AST frontend to generate a parametrized variation of the RTLIL::Module as needed. This callback then returns the auto-generated name of the parametrized variation of the module.

Based on our discussion so far it seems that my strategy so far will not work. Do you have any suggestions on how I can achieve that I was trying to do? Specifically, I was trying to parallelize all of the read_verilog calls in my large project so that they're not just running sequentially on a single thread.

I feel that write_rtlil should fail when writing designs with unparameterized modules, or perhaps write them in a way that read_rtlil can show an error or at least a warning. (I suspect that it may not always be possible to do a hard error because of how parameterization works.)


Emoji Rush Club is a web interactive game based on mood or creative ideas. You are expected to dodge Challenger objects. Enjoy
How do you play your game?
Enter A to move Left or Enter D to move right. Enjoy

Duplicate


fix: bug in change and preparation for lean4#2435 bugfix

leanprover/lean4#2435 fixes a bug in elabTermWithHoles (used in refine) wherein pre-existing natural mvars were being erroneously discarded by refine (and thus could be erroneously closed). However, change was taking advantage of this broken feature to discard an intermediate, temporary natural mvar used in its implemention. Once lean4#2435 landed, change broke mathlib by introducing this intermediate mvar as a spurious unsovled goal.
This PR both prepares change for lean4#2435 and identifies and fixes a minor bug in change arising from the same part of the implementation, wherein change would duplicate metavariables appearing in the type in the infoview. (This is a cosmetic bug only; the same mvarId is shown twice.) For example,
example : True := by
  have h2 : Nat.succ 0 = ?a := sorry
  change 1 = ?a at h2 -- yields 2 case `a`'s in the infoview

This PR should no longer be necessary in light of lean4#2502 and #6928.


Simplified instructions

Coverage increased (+0.03%) to 86.429% when pulling becfba6335e3ef199ba58c78757b3252fbf7e16d on simplified-instructions into 749522a95c5ff8eee69efdd0c9d6cc03833294dd on master.


Fix gitignore issue

Found a problem with git ignoring my helm chart because of collision in names. Merging


⚠ Avatar API Endpoint has degraded performance

In dd85d8d, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1124 ms

Resolved: Avatar API Endpoint performance has improved in 34ff4a7 after 4 minutes.


[Bug]: Editing cronjobs returns 500

Error Message and Logs
500

Something is not okay, are you okay?
There has been an error, we are working on it.

Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 188416 bytes)

Steps to Reproduce

Click to edit a cronjob from the overview screen #scheduled-tasks

Example Repository URL
No response
Coolify Version
v4.0.0-beta.355
Are you using Coolify Cloud?
Yes (Coolify Cloud)
Operating System and Version (self-hosted)
No response
Additional Information

I can confirm error 500 is happening to self hosted coolify as well. Just the error would be a simple browser error 500 state

Adding some info here because this is happening to me as well.

Hosted Coolify v4.0.0-beta.360
I get a browser 500 error page, not the coolify error page like in the screenshot above.
The error appears only when trying to edit existing scheduled tasks that were also enabled.
I can create and edit tasks successfully on new projects.
I can create and edit tasks on existing projects as long as they either have no tasks or they only have tasks that disabled.
The projects that error when editing a task also have issues creating new tasks. If I try to create a task, after clicking "Save" a blank overlay appears and hangs indefinitely. If I refresh the page only the old tasks appear, the newly created one does not appear.

@andrasbacsai Sorry for the ping. I saw you assigned yourself the issue. Did you possibly have the time to look into this yet? We cannot use the cronjob feature on Coolify cloud for about 2 months now.
Thank you a ton for your work ❤

Hi @peaklabs-dev
was unassigning this a mistake maybe? Andras was mentioning on Discord that he wanted to take a look.

This is still an issue.