Mark code listings as Swift

Update code snippet to Swift
Fix some Swift code snippet does not use swift metadata

Actually there are other cases for this situation. Since they are incomplete Swift Code, should we mark the swift metadata to add syntax highlighting support?

Before (Without Swift Syntax highlighting)

After

Update gitignore
Ignore the .docc-build folder after docc preview TSPL.docc

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

+1. Maybe we need add such feature in Swift-DocC & Swift-DocC-Render.

@swift-ci Please test.

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

+1. Maybe we need add such feature in Swift-DocC & Swift-DocC-Render.

IMO we need to introduce a new structure to capture this in Swift Markdown. What's your opinion on this? cc @QuietMisdreavus
And then emit it from Swift-DocC to Swift-DocC-Render/Xcode.
The Swift-DocC-Render's implementation detail could follow the current behavior of swift-book website. (Xcode's documentation support should be implemented in Apple and is not the scope of the open source topic cc @franklinsch )

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

+1. Maybe we need add such feature in Swift-DocC & Swift-DocC-Render.

IMO we need to introduce a new structure to capture this in Swift Markdown. What's your opinion on this? cc @QuietMisdreavus

Swift-Markdown would be the right place for this, however IIRC it would be a breaking change. As a data structure, code blocks currently store their contents as plain text, not as a collection of inner structures. I do think it would be a good addition, so we should file the issue(s) and get that working.

I think this is an improvement over no syntax highlighting.  However, for the sake of consistency, we should either change all of the syntax outlines in the reference, or leave them all as-is.  The fact that they don't have a language marked was probably an oversight in the RST-to-markdown export process.  @Kyle-Ye ok if I push more commits to this branch?  I don't want to conflict with work you might still be doing.

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

The tools and content changes to render <# #> as placeholder tokens can happen on its own PR.

I think this is an improvement over no syntax highlighting. However, for the sake of consistency, we should either change all of the syntax outlines in the reference, or leave them all as-is. The fact that they don't have a language marked was probably an oversight in the RST-to-markdown export process. @Kyle-Ye ok if I push more commits to this branch? I don't want to conflict with work you might still be doing.

Ideally these would render with a presentation similar to the screenshot in #4, rather than as normal Swift code.

The tools and content changes to render <# #> as placeholder tokens can happen on its own PR.

Yes, you are free to push more commits on this branch.

Thanks, @Kyle-Ye.  I think I've got the rest of them in commit 45717bf1.

@swift-ci Please build.


Available Affordances?

A true RESTful interface (i.e. following HATEOAS) can often (always?) be efficiently modeled as a state machine.  To do so, the links/actions section is populated based on the available state transitions (i.e. affordances).
There's a certain symmetry between real life and an FSM with a hidden state, but it makes the calculation of affordances especially difficult.  Is the package specialized for a different use case (e.g. embedded programming)? or does a method listing affordances make sense?

The problem here is the method would need to have a huge list of sophisticated interactions with the type system, because inputs can take parameters and return values.  How to properly express which methods are callable?  How to express them if some are private, but re-exposed through a public interface that produces multiple inputs?  This might be a good idea but it would need to be very carefully thought through.

Closing this because it's somewhat unclear how to make progress on this as a feature. Please feel free to open a new issue with a more precise description.


Enable mTLS support for gNMI exporter.

This CL extends the gNMI exporter with configuration support for mTLS.
MISC:

added exemplary credentials to testdata. None of these credentials are used for anything besides testing.
also fixes a previously broken test for gnmi/gnmi.go.

@LarsxGitHub -- can you add the config to run the GitHub actions workflows here? It looks like go.yml is in the wrong place, so there are no checks running that validate the build.

#17 will need to be submitted before this PR, since I made changes to the repo to require the CI checks pass before we merge.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.1%) to 75.0%

Totals

Change from base Build<PHONE_NUMBER>6:
-2.1%

Covered Lines:
36

Relevant Lines:
48

💛  - Coveralls


latest changes on develop is broke under linux

I just pulled today and got this:
ben@thinkbox:src$ make SHARED_RAYLIB=YES
gcc -c rlgl.c -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces -fPIC -I. -Iexternal -Iexternal/openal_soft/include -Iexternal/glfw3/include -DGRAPHICS_API_OPENGL_33
rlgl.c: In function ‘GenTextureCubemap’:
rlgl.c:2526:29: error: ‘texmapLoc’ undeclared (first use in this function)
     SetShaderValuei(shader, texmapLoc, (int[1]){ 0 }, 1);   // Set default acti
                             ^
rlgl.c:2526:29: note: each undeclared identifier is reported only once for each function it appears in
Makefile:367: recipe for target 'rlgl.o' failed
make: *** [rlgl.o] Error 1

I'm guessing it was something in this commit, or related to it:
https://github.com/raysan5/raylib/commit/63fd96354e7ceffcdf292a1aac6d564dc694377c

Hi @define-private-public! Sorry for the inconvenience, lately I've been doing lots of changes towards raylib 1.8... corrected on commit https://github.com/raysan5/raylib/commit/2679c4ae9b2fefdb0c150a7cd576d5d3297b027b


CI: make release-manifest will overwrite latest version if a cherry pick patch is cut

Describe the bug
Cherry pick patch version will override the website version even if there is a newer minor version
https://github.com/Azure/azure-workload-identity/blob/main/Makefile#L400-L401
Steps To Reproduce
Expected behavior
Logs
Environment

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Network plugin and version (if this is a network-related bug):
Others:

Additional context

I don't think this will be an issue since cherry-pick PRs will be merged to release branches and our website only renders from the main branch.


Add Shadow and rounded Corners to cell

I have my custom CollectionViewCell, based on the SwipeCell, customised with rounded corners and a shadow. How can I solve the problem, that my shadow moves with the cell while swiping?

I have the same problem. I tried using didTransition (inside a DispatchQueue block), but the problem is that didTransition is not being called when you release during swiping.

@dmnjkr  did you figure this out? Wondering if you did because it's closed and I'm trying to figure out how to round the corners of my actions as well, or were you just rounding the corners of the cell itself?


fix(firestore): add useInfiniteQueryOptions

Add useInfiniteQueryOptions

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


Epic: Use Nginx based gateway (with cache) to load pg extensions

Motivation
Currently computes able to download custom postgres extension from a specific (per region) S3 bucket. It implemented by using IRSA and granting access to AWS S3 directly to pods. But this approach doesn't work for VM based computes (due architecture limitations). Instead of passing AWS credentials to process inside VM I suggest use  caching proxy between computes and AWS S3.
Pros:

no need provide AWS credentials to compute
reduce latency of downloading extension data as proxy resides near computes
reduce AWS costs as proxy has cache and 1000 computes asking the same extension will not generate 1000 downloads from S3
we can use only one S3 bucket to store extensions (and rid of regional buckets which were introduced to reduce latency)

Cons:

need to re-implement the part that is used when loading pg extensions: instead of aws s3 cp s3://bucket/file file use HTTP GET http://pg-ext-s3-gateway/file

Implementation ideas
Proxy gateways already started in both staging clusters and accessible by url http://pg-ext-s3-gateway. See example how to load /latest/v15/ext_index.json via proxy instead of using S3 api:
curl command
curl http://pg-ext-s3-gateway/latest/v15/ext_index.json

result:
{
  "public_extensions": [
    "anon",
    "postgis"
  ],
  "library_index": {
    "kq_imcx": "kq_imcx",
    "pg_partman_bgw": "pg_partman"
  },
  "extension_data": {
    "kq_imcx": {
      "control_data": {
        "kq_imcx.control": "# This file is generated content from add_postgresql_extension.\n# No point in modifying it, it will be overwritten anyway.\n\n# Default version, always set\ndefault_version = '0.1'\n\n# Module pathname generated from target shared library name. Use\n# MODULE_PATHNAME in script file.\nmodule_pathname = '$libdir/kq_imcx.so'\n\n# Comment for extension. Set using COMMENT option. Can be set in\n# script file as well.\ncomment = 'ketteQ In-Memory Calendar Extension (IMCX)'\n\n# Encoding for script file. Set using ENCODING option.\n#encoding = ''\n\n# Required extensions. Set using REQUIRES option (multi-valued).\n#requires = ''\ntrusted = true\n"
      },
      "archive_path": "latest/v15/extensions/kq_imcx.tar.zst"
    },
    "pg_partman": {
      "control_data": {
        "pg_partman.control": "default_version = '4.7.3'\ncomment = 'Extension to manage partitioned tables by time or ID'\nrelocatable = false\ntrusted = true\n"
      },
      "archive_path": "latest/v15/extensions/pg_partman.tar.zst"
    }
  }
}

cc: @lubennikovaav

cc: @vadim2404

looks good to me, thank you!
one more pros is that we'll simplify compute_ctl config, as there's no need to pass s3 config to it.
do we need to pass any extra credentials for compute_ctl to connect to this proxy?

@lubennikovaav
Currently proxies hasn't any credentials as the acts as simple caches. You can not delete something in S3 via proxy or upload something, only GET files from there.


Cannot get hourly data for water level and current observations, 6-min only

Using the interval="h" argument for product="water_level" or product="currents" when calling `coops.get_data( ) does not return hourly water level or currents data.
According to NOAA API

"The hourly interval is supported for Met data and Predictions data only."

Would be useful to be able to return water_level and currents data at hourly temporal resolution as 6-min is often overkill

Turns out this is supported by the hourly_height parameter on the NOAA API.

[ ] need to add code to build_query_url() helper function. Resulting query should look like this
[ ] Also need to address how hourly "blocks" of data will be handle in get_data(), since now the max block size increases to 1 year. Could be left as 31 days block as initial step. Shift to year-long requests later for speed (when available).


Add command to import osu_scores_high tables into solo_scores

[x] https://github.com/ppy/osu/pull/15657

This is highly WIP, and shouldn't be merged before we discuss how to deal with the PKs and all.
It can be used for testing other score statistics processors as it is.

What build_id should scores from stable be imported with? Currently it imports with null. Will there be a special build providing a build_id?

There are already build_ids for every stable build, not sure what to do about those that don't have that info though.

Yeah the question is which one to pick.

I'd leave null if undetermined.

@smoogipoo does this still need to be blocked? i think we can get it merged and work from there?

Doesn't need to be blocked, no, if you're fine with it as is.


ToastManager React keys missing in iterated structure

https://github.com/readium/readium-desktop/blob/develop/src/renderer/components/toast/ToastManager.tsx
Suggestion: use the id UUID for the React key.

Fixed via https://github.com/readium/readium-desktop/commit/0026f801bd5c4d3f0ea4023e7b41b60a74852f28


Lua plugin issue: json.decode() throws an error on empty json

Hi, I'm experiencing an issue with the lua plugin, tried to look for it in the older issues but didn't find it or issues related to this problem.
Environment

VerneMQ Version: 1.6.1
OS: K8S + Container OS is Debian Jessie
Cluster size/standalone: 3 nodes

Expected behavior
In a lua script, when calling json.decode with an empty json, e.g.
json.decode('{}'}

or
json.decode('{"something":{}}')

the result should be a table.
Actual behaviour
When calling json.decode() with an empty json, or an empty json property, the script throws an error and exits.
I've added a piece of code right after my auth_on_register implementation, to simulate this.
code:
-- the function that implements the auth_on_register/5 hook
-- the reg object contains everything required to authenticate a client
function my_auth_on_register(reg)

    local my_empty_json="{}";
    log.debug('About to decode json: ' .. my_empty_json);
    local decoded_table = json.decode(my_empty_json);
    log.debug('This line should be printed after the empty json was decoded.');
...

This is the log I am seeing after tring to connect to the broker:
15:06:23.486 [debug] 0ms mailbox traversal, schedule next lazy broadcast in 10000ms, the min interval is 10000ms
15:06:24.009 [debug] About to decode json: {}
15:06:24.052 [error] can't call function auth_on_register with args [{addr,<<"<IP_ADDRESS>">>},{port,46438},{mountpoint,<<>>},{client_id,<<"my-client-1">>},{username,nil},{password,nil},{clean_session,true}] in "/tmp/vmq_scripts/vmq_auth_plugin.lua" due to {error,badarg}
15:06:24.052 [warning] can't authenticate client {[],<<"my-client-1">>} due to lua_script_error
15:06:24.054 [debug] session normally stopped

I've tried this also with JSON strigns that contain empty properties, like {"myProperty":{}} and I'm getting the same error.
When testing this code with a lua 5.1 engine, not in the vernemq environment it works fine.
Thanks!

Thanks for reporting. We'll look into it.

Fixed in current master


Datepicker invalidDate validation rule key can't set custom validation message

Reproduction
https://formkit.com/playground?fkv=latest&fileTab=Playground.vue&css-framework=genesis&files=jc[('name!'PQd.vue'~_itx!'<scrip6setup4B+ESMVmpxt5ar8suppxteHfrom+URL5{https:Bcdn...}1BW5wellW5secondary+pQHfile5{./OthXFile.vue}.19script41<Z0<A6type7fxm2400<At3type7dGpickXjlabel7A6Inputjhelp7_i6m8to+ge6start_jN7Tj:min-dG7new+DG{}j:N-messages7(30TJi6i5vXplicht.",30invalidDGJez8datumV5nie6geldig."3)2100/409At49Z1<Y8scop_4/*1vanilla+CSS+can+go+hXe.1Keep+Ye5scopeHtoWvoiHmultipl8files1ovXwriting+each+othXVn+th8rendX+output.1*/19Ye4'~add_!true)]0++1\n2\'310004>15s+6t+7%3D28e+9</AFxmKiB//GateHd+J:+"DNvalidationQlaygrounTrequir_V+iW+aXerYstylZtemplG4_edj23xorxj_ZYXWVTQNJHGBA9876543210_
Describe the bug
According to the datepicker docs the validation key is invalidDate when min-date, max-date or disabled-days are set. But when I use this key to set a custom validation message, then the custom message is not used. This is reproduced in the provided link.
Environment
• OS: MacOS
• Browser: Arc (Chrome)
• Version: 1.0.0 + 1.1.0 (next)

I wanted to do this, because this validation message is not translated in my message, but when I take a look at the nl.ts translation file, then I see that is translated: https://github.com/formkit/formkit/blob/0adcf3f5c8e8630607ab71a3f0938aa9711dfd1f/packages/i18n/src/locales/nl.ts#L91
So it looks like the translation is also not picked up for this key?

Ah, invalidDate is under the ui key not the validation key in our i18n files, but the message type is validation. This is my fault and will be fixed in 1.3.3.

Resolved in 1.4.0 👍


Added some suggestions from Bjarne to improve the homology modelling …

…tutorial

I'll review later this afternoon (unless someone else gets to it first).


Colour Detection using OpenCV

@akshitagupta15june ma'am, I would like to add a colour detector in which by using OpenCV different colours in an image can be detected.

hi this is not related to face operations

Ok ma'am
On Sat, 17 Apr, 2021, 1:15 PM AKSHITA GUPTA, @.***>
wrote:

hi this is not related to face operations
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/akshitagupta15june/Face-X/issues/522#issuecomment-821783628,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLBUVQ3FIT7H2JGWSWV3KDTJE4ARANCNFSM43CAH4WA
.


prevent creating OptionData with OptionType#UNKNOWN

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
this PR adds a check to OptionData constructor which prevents successfully creating an instance with OptionType#UNKNOWN (prevents things like #2100 from happening).

requested changes will be addressed in a followup pr.


Can not get a modal to work

$(...).modal is not a function is the error I get in the console. I have been trying to figure this out with a friends for hours.
We re
HTML:
<template name="testForm">

Test

</template>

JS:
Template.testForm.onRendered(function () {
   this.$('.ui.modal').modal();
   this.$('.ui.modal').modal('show');
});

EDIT: When looking in dev tools it all seems to be loaded in the correct order. I have tried using this., tried putting it in a

things work now and I don't know why exactly

related https://github.com/Semantic-Org/Semantic-UI-Meteor/issues/60


Is there a way to change the game settings while running an episode

So I was working on adding more functionalities to the client example code and I am stuck at a problem.
Is there any way to change the sensor setting while running the episode. Correct me if I am wrong, but in the example codes, changing of the sensor settings require initiation of a new episode.
I basically want to be able to rotate or translate the camera view as you are able to do in the main game.
My current layout has 3 cameras

and I want to move the main RGB camera freely while the episode is going on. Is that possible?

Hi @YashBansod,
This is not currently possible. Since most of the setups for autonomous vehicles have fixed cameras attached to the car we haven't had the need to implement this.


Remote netbird upgrade without user prompt (using the windows setup application)

It would be nice to be able to remotely upgrade the windows netbird version using the setup application.
Currently, as-of, 0.10.2, when we use the setup application, it will first prompt the user for doing an un-installation first, but then, it will tear-down the vpn, disconnecting us from the vpn and by consequence the remote desktop session.
After we physically login into the machine, its waiting for the user to install (clicking next, next, next). It would be nice that the upgrade workflow would work without user interaction, and allowed us to upgrade netbird while connected thru the vpn.

Hello @rgl we have plans to support a better upgrade experience by giving the ability to trigger it from the dashboard.
That said, when running the installer for the current version from the command line as administrator and with the /S flag, it will execute without prompting the user.


[ Update Docs ] Update the Installation.md on Wiki to contain install guide for Docker Image.

Install Prod-Toolkit with Docker

Run docker run -d --name='LeagueProdToolkit' -p '3003:3003' -v LPT:'/app/modules' 'eirikskarding/leagueprodtoolkit:latest'
Wait for DataDragon download and unpacking to finish.
Connect via <hostIP>:3003

By default every module is installed from the Docker Image. If you want to remove some of the modules, you can delete the folders in the Docker Volume "LPT""
To edit the configuration file, edit the config.json file in the "plugin-config" module. By default it's avaliable in the Docker Volume here: /var/lib/docker/volumes/LPT/_data/plugin-config/config.json Here you can change the server region (EUW1 by default). And you can add your Riot Games API Key. These steps are normally setup when running install.bat.
If you would like to enable authentication if you want to expose the container to the internet.

Run docker exec -it LeagueProdToolkit sh in your terminal.
In the Docker Container, run node /app/dist/scripts/auth.js
Press "y" to enable or "n" to disable and then Enter.
Exit the container by running exit
Restart the Docker Container by running: docker restart LeagueProdToolkit
Run docker logs LeagueProdToolkit The logs should display the key needed to log into the Web GUI
Refresh the Web GUI and enter your API Key.

Thanks for the suggestion/creating the image and the docs :)
We're looking into automatically generating an up to date docker image for each release version, we'll update the docs accordingly when ready.


⚠ ClamAV has degraded performance

In a21a3b4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in d9ac3be after 539 days, 5 hours, 7 minutes.


request help: possible optimization in the installation documentation

Issue description
I found the problem when I installed it by referring to this document: https://apisix.apache.org/docs/ingress-controller/deployments/minikube

Is the ending here missing \?
Here is a reminder that the user needs to create the ingress-apisix namespace, I created it in advance, but the following steps include creating the namespace, which may be confusing.

PR's welcome! I think we can remove the step to create namespace in screenshot 2.

we can skip it, and using --create-namespace flag for Helm.

#785  has merged. I will close this issue. Thanks!


[BUG] Incorrect brand returns empty array

Describe the bug
Incorrect brand returns empty array
Expected behavior
Should return 404

Fixed at : https://github.com/educata/everrest/commit/722044aaf88fbf6980961cb110d6f016786e7223


allow to redefine enum converter with register

Can be useful with lambdas in java8 in register method. (No need to define separate converter class)

LGTM


Push model weights to HuggingFace.

https://wandb.ai/openclimatefix/power_perceiver/runs/ynzx6t0n?workspace=user-jack_kelly
The weights will be on jack-power-perceiver-research-2:/home/jack/dev/ocf/power_perceiver/experiments/power_perceiver/ynzx6t0n/checkpoints/ VM on GCP.
Push to HF using Jacob's script (in nowcasting_forecast/scripts/)

Perhaps @jacobbieker could do this, just need to be told what file, or what epoch is the best one. Perhaps just use 'latest'


cryptography Python package dropping support for Python 2

🐛 Summary
The cryptography Python package will drop support for Python 2 in the next release.  This package is used by paramiko, and it's unknown if paramiko will pin cryptography or not.
To reproduce
$ docker-compose up --detach
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
Starting cyhy-mailer_mailer_1 ... done

Thoughts
The cyhy-mailer code probably already supports Python 3, so the simplest solution is probably to change the shebang to use python3.

The setup.py defines the cyhy-mailer helper script as:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/setup.py#L62
, the shebang for that file is
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/cyhy/mailer/cli.py#L1
, and the Dockerfile installs it like so:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/Dockerfile#L17
So as far as I can tell, cyhy-mailer is running on Python 3 in the Docker image. I feel like the issue lies outside of this project. I believe that version of docker-compose is running under Python 2, and the version currently installed as such in production, 1.26.2 has a paramiko requirement.

The setup.py defines the cyhy-mailer helper script as:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/setup.py#L62
, the shebang for that file is
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/cyhy/mailer/cli.py#L1
, and the Dockerfile installs it like so:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/Dockerfile#L17
So as far as I can tell, cyhy-mailer is running on Python 3 in the Docker image. I feel like the issue lies outside of this project. I believe that version of docker-compose is running under Python 2, and the version currently installed as such in production, 1.26.2 has a paramiko requirement.

I think @mcdonnnj is correct.  Transferring this issue to cisagov/cyhy-system.

I think @mcdonnnj is correct.  Transferring this issue to cisagov/cyhy-system.


Docs haven't been published in four months

Hello @dsyme, I noticed that the last GitHub Action run was about four months ago.
Do you know what is up? We would like to have a new publish in light of https://github.com/fsprojects/FSharp.Formatting/issues/794.
Please let me know what we can do here.
//cc @felix-alonso

Fixed by https://github.com/fsharp/fsharp-core-docs/pull/88


bt_disable() does not work properly on nRF52

Describe the bug
With the latest Zephyr bt_disable() function was added to shutdown the BLE subsystem. It works properly on STM32WB55 and nRF53, but not on nRF52. After this sequence: bt_enable() / setup and start peripheral / bt_disable() / bt_enable() it is not possible to set up and start peripheral again. The API works, but the device is muted (not advertising again).
To Reproduce
Steps to reproduce the behavior:

bt_enable
create a random identity
setup and start advertisement using created identity
stop and delete the advertisement
delete created a random identity (the same as before)
bt_disable
bt_enable
reply 2-3

After step 8 there is no advertisement even if from API perspective there are no errors.
Expected behavior
bt_disable/bt_enable should bring BLE stack to the point where it can be used in the same way as right after the first boot.
Impact
Nice to have.
Logs and console output
Not available yet. I can add if needed.
Environment (please complete the following information):

OS: Linux
Toolchain: Zephyr SDK
Commit: 2.7.2 + backports of bt_disable done on our side
HW: nRF52840 DK

Additional context
I can try to prepare a demo based on official Zephyr samples.

As part of fixing this issue, it would be nice if you could add a bsim test. For example doing the following:
for i in range 20:
    bt_enabled()
    connect()
    encrypt()
    l2cap_coc_setup()
    gatt_notify()
    bt_disable()

@watsug could you test again on latest master, #50046 was supposed to fix those issues.

@watsug could you test again on latest master, #50046 was supposed to fix those issues.

Unfortunately this didn't help with my testing in nRF52805. The device is still not able to enable and advertise again.

@sem1-nordic could you add this procedure to the bsim testsuite and check if it completes successfully?

Hi @watsug, I have tried to reproduce on the 52840 and seems to work fine. Can you provide any more information on your issue to try and help me see what's going wrong - an example sample that is not working, HCI logs? Is it just the nRF52805 you are having issues with now - the original ticket mentions the nRF52840 DK?

It's working fine in my end as well for nRF52805 with CONFIG_SOC_FLASH_NRF_RADIO_SYNC_NONE=y with internal RC.

@sem1-nordic @jori-nordic can you please test with the Zephyr LL (as it's the only one upstream) and with different clock options (RC, Crystal, etc). Thanks!

May be related to #52454

Hello, @parthitce, I will test this ASAP and let you know.

Hello, @jori-nordic, I will test this ASAP and let you know.

Hi, @watsug did you find the time to test it again?

Closing, feel free to re-open if it still doesn't work @watsug .


[SYSTEMML-2380] Should shutdown the thread pool of agg service

Hi @mboehm7 ,
Here is a patch for fixing the problem of hanging at the end of the paramserv dml script execution. In general, the reason is that the thread pool of agg service is not shutdowned at the end of execution.
Thanks for the review,
Guobao

LGTM - thanks @EdgarLGB for catching this issue.


Implemented Lock and Load helmet rune for hunters, added frost trap a…

Implementation of the hunter helmet rune Lock and Load from the phase 3 announcement video
Implementation Details:

Added new aura to hunter.go
Added rune logic to hunter/runes.go
Aura is activate after immolation trap, explosive trap, or frost trap are cast
Aura is uses the OnCastComplete trigger and checks if the cast is a shot ability (determined using a combination of procmask and spell flag)
When cast is determined to be a shot ability the aura is deactivated, mana is refunded, and spell cooldown is reset

Frost Trap has also been added as a spell! I thought this addition would be necessary since frost traps and fire traps do not share cooldowns and as per the reading of the rune should also trigger lock and load procs. The frost trap spell implementation does not do anything except for cost mana and trigger lock and load.

Hey @ncberman i just merged this but i realized a small mistake. The mana refund part should ise spell.CurCast instead of default cast to make sure you are including any changes to the manacost that would have been applied. I can fix it later when im home or you can fix it with your next p3 rune implementation 😉


"helm upgrade" does not restart cilium agents with the updated options

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After installing the default setting of Cilium without any custom options, I ran the following command to update some options.
It worked well to apply all the updated options and restarted all the cilium agents with the updated options. So I could see XDP is enabled as well.
helm upgrade --namespace kube-system cilium cilium/cilium --version 1.13.0 --set bgpControlPlane.enabled=true,bpf.masquerade=true,cluster.id=0,cluster.name=vae-ttd-kpop-01,encryption.nodeEncryption=false,ipMasqAgent.enabled=true,ipam.mode=kubernetes,ipam.operator.clusterPoolIPv4MaskSize=26,ipam.operator.clusterPoolIPv4PodCIDR=<IP_ADDRESS>/12,kubeProxyReplacement=strict,loadBalancer.acceleration=native,operator.replicas=1,serviceAccounts.cilium.name=cilium,serviceAccounts.operator.name=cilium-operator,tunnel=vxlan

# bpftool net
xdp:
ens785np0(2) driver id 1641
tc:
ens785np0(2) clsact/ingress cilium-ens785np0 id 1754
ens785np0(2) clsact/egress cilium-ens785np0 id 1756
...

And then, for some other testing, we had to drop the option of loadBalancer.acceleration=native, so I switched the loadBalancer.acceleration from native to disabled and then run the following command again.
$ helm upgrade --namespace kube-system cilium cilium/cilium --version 1.13.0 --set bgpControlPlane.enabled=true,bpf.masquerade=true,cluster.id=0,cluster.name=vae-ttd-kpop-01,encryption.nodeEncryption=false,ipMasqAgent.enabled=true,ipam.mode=kubernetes,ipam.operator.clusterPoolIPv4MaskSize=26,ipam.operator.clusterPoolIPv4PodCIDR=<IP_ADDRESS>/12,kubeProxyReplacement=strict,loadBalancer.acceleration=disabled,operator.replicas=1,serviceAccounts.cilium.name=cilium,serviceAccounts.operator.name=cilium-operator,tunnel=vxlan

Release "cilium" has been upgraded. Happy Helming!
NAME: cilium
LAST DEPLOYED: Tue Apr  4 16:06:41 2023
NAMESPACE: kube-system
STATUS: deployed
REVISION: 10
TEST SUITE: None
NOTES:
You have successfully installed Cilium with Hubble.

Your release version is 1.13.0.

For any further help, visit https://docs.cilium.io/en/v1.13/gettinghelp

Although the output apparently seems good and completed, it does not actually restart the cilium agents with the updated options at all. So the nodes still have XDP enabled.
As a temporary solution, I executed the following to restart all the agents and then XDP has been disabled.
kubectl rollout restart ds cilium -n kube-system

Is any other better way to apply the change of options?
Cilium Version
1.13.0
Kernel Version
Linux worknode-1 5.15.0-67-generic https://github.com/cilium/cilium/pull/74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
v1.24.10+rke2r1
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

This is expected as per current implementation, if you want to have auto rollout when configmap is updated, please enable the below helm attributes:

rollOutCiliumPods
hubble.relay.rollOutPods
hubble.ui.rollOutPods
operator.rollOutPods

https://docs.cilium.io/en/v1.13/helm-reference/


Face Matching Application

a web application that matches your facial features with popular Bollywood celebrities using facial recognition technology and machine learning models. The application is built with Streamlit for a seamless user experience.

maam please review my PR


git pull of software 10/7/2021 @ 735 PM

getting this error on a new git pull
make[1]: Entering directory '/home/pi/allsky/src'
2021-10-07 19:34:49 Building capture program...
capture.cpp: In function ‘ASI_ERROR_CODE takeOneExposure(int, long int, unsigned char*, long int, long int, ASI_IMG_TYPE)’:
capture.cpp:485:6: error: ‘numErrors’ was not declared in this scope
numErrors = 0;
^~~~~~~~~
capture.cpp:485:6: note: suggested alternative: ‘cvError’
numErrors = 0;
^~~~~~~~~
cvError
make[1]: *** [Makefile:118: capture] Error 1
make[1]: Leaving directory '/home/pi/allsky/src'
make: *** [Makefile:24: all] Error 2
Compile failed!

Looking into this now...

Hi @maserowik  -- the PR to fix this was just merged.  If it doesn't resolve the issue, please re-open this issue.
Thanks!


How to get Depth

Thanks for the great work!
I want to know how the depth maps are obtained in supplementary 5.1.

Hi @jiaqixuac,
sorry for the delayed answer. Don't hesitate to reach out directly. The depth maps are obtained using PSMNet.


Update POVME3 to Python3

Currently, POVME3 only supports Python 2. Given Python 2 will no longer be supported in 2020, it would be helpful to update POVME3 to Python 3.
Is there any work in this direction? Would the maintainers be open to a PR for this issue? Are you all working on a different piece of work which will make POVME3 obsolete?

I made an attempt in #34, but it is pretty pathetic. I wouldn't worry about it and archive this repo. I'm sure you have other projects which are more important to your career/field. I'll ping you again if further updating of this code becomes a priority.

I'm also working on an attempt in #35. Updating pymolecule seems to be non-trivial, largely due to a change in numpy's data types.
In the long run, replacing pymolecule with MDAnalysis (#5) will provide a huge improvement in performance and reliability.

@j-wags I'm ready to contribute on this issue, let me know your workflow for that, especially if you take care of DevOps, I'll be taking care of modernizing POVME programmatically
cheers

Awesome. Thanks, @hazho! This repo should be open to PRs from forks, so you can open one with updates for Python 3. I'll work on getting CI working on GitHub Actions, but if your PR to opens before that, I promise to give it a timely review + approval!
The steps for going forward here should be:

On your fork, make changes to get the code working with python 3
Open a PR to merge your fork into master in POVME/POVME
I'll review the code and comment/request changes/approve

If I have CI working, we'll use that to determine whether the code is merge-ready, otherwise I'll test locally on linux and mac
We don't currently have code format standards like black or isort, so I don't expect there to be major formatting issues

Once the PR is approved, you will make any final changes and click "merge"
I'll make a new release and upload it to pip

Ok, for the above, I just merged #38, which adds CI builds for python 3.6 and 3.8. These are separate from the "main" CI, which only tests python 2.7..
Now we'll have an easy way to tell if a PR successfully adds python 3 compatibility!


[feature] Programmatically or automatically trigger SIWE sign dialog after failure.

What problem does this new feature solve?
I have integrated a SIWE flow according to the documentation and found the following problem:

If the user signs the message as he should, everything is fine.
If the user click Cancel or X at the SIWE sign dialog, it is okay.
If user click outside of the SIWE sign dialog to close it, or refresh the page before signing, SIWE flow breaks.

When I say SIWE flow breaks, it means that the next time user visit the page the w3m-button will appear as wallet is connected (it is not wrong) but it will not ask the user to sign the SIWE message.
Describe the solution you'd like
There are 2 possible solutions to this:

Automatically trigger SIWE sign the next time modal object is created, simply by looking at result from SIWEClientMethods.getSession.
Expose a function to call to trigger the sign dialog. I found Web3ModalSIWEClient.signIn function, however because the user has not signed the message, the session is empty (no address, no chainId).

Here is an update, if I use watchWalletClient to listen for the wallet event, and call Web3ModalSIWEClient.signIn if there is a valid, it does work. So perhaps it is the way to go.

I'm noticing different behaviour between MetaMask and Coinbase browser extensions. MetaMask works as expected, where it will not trigger SIWE sign in if there is a correct session. Coinbase however triggers the SIWE sign in dialog every time the page is reloaded, even if the session is valid.

1 on this, or at least expose a function like const { siweSign } = useWeb3Modal() to open modal with sign mode if already connected

@Sam-Newman could you create a ticket for this one? Tagging so I don't forget.

If anyone finds this and is also having difficulty this is my current solution following this documentation:
https://docs.walletconnect.com/appkit/next/core/siwe#getaddressfrommessage
Make sure to set the callbackURL to an existing route:
import { SIWEController } from '@web3modal/siwe';

return (
<a onClick={ async () => {await SIWEController.signIn()}} className="inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-black rounded-full bg-primary-200 hover:bg-primary-300 hover:text-white">
                    Login
                </a>
)

This has been implemented - please upgrade to latest


Visualizer -  Research Technologies

UI Design -
UI development -
Backend Development -

UI Design Tool - ?
Tools

Figma - web based, for both simple and complex, collaboration, free
Adobe XD - user friendly, web and mobile designs, seamlessly with adobe products, free
Sketch - macOS-only, good for web design, simple and ease for use, for simple design, beginner friendly, not free
Canva - web based, easy to use, for simple designs, free
Gravit Designer -web-based, suitable for vector graphic, for basic web design, free version
Penpot - open-source, browser-based, collaboration, simple web design,  free to use

from above remove sketch because no free plan
remove adobe xd no browser based solution. right now laptop storage is limited.

Feature
Figma
Canva
Gravit Designer
Penpot

Platform
Web-based, Desktop app
Web-based
Web-based, Desktop app
Web-based

Collaboration
Strong collaborative features
Limited collaboration, more for individuals
Collaboration features in development
Collaboration features in development

Ease of Use
Moderate learning curve
Very user-friendly
User-friendly, clean interface
User-friendly, in development

Prototyping
Robust prototyping capabilities
Limited prototyping features
Limited prototyping features
Limited prototyping features

Templates/Assets
Limited templates, extensive plugins
Abundant templates and design elements
Limited templates, supports libraries
Limited templates, supports design systems

Vector Editing
Advanced vector editing capabilities
Limited vector editing
Robust vector editing capabilities
Vector editing capabilities

Pricing
Free plan with limitations, subscription
Free plan with limitations, subscription
Free version with limitations, subscription
Open-source, free

UI Development - ?

Backend Development -
E - Express.js (Node.js)
D - Django (Python)
F - Flask (Python)
S - Spring Boot (Java)
T - Express.js with TypeScript
N - NestJS (Node.js)

Criteria
Express.js (Node.js)
Django (Python)
Flask (Python)
Spring Boot (Java)
Express.js with TypeScript
NestJS (Node.js)
best

Language
JavaScript
Python
Python
Java
TypeScript
TypeScript
-

Learning Curve
Moderate
Moderate
Easy
Moderate
Similar to Express.js
Moderate, Angular-inspired
F

Ecosystem and Community
Large and active
Large and active
Active
Large and active
Growing
Growing
EDS

Performance
Good
Good
Good
Excellent
Comparable to Express.js
Comparable to Express.js
S

Scalability
Good
Good
Good
Excellent
Good
Good
S

Integration with Frontend
Excellent (especially with React)
Good
Good
Excellent
Excellent
Good
EST

ORM Support
Optional (e.g., Mongoose for MongoDB)
Django ORM
SQLAlchemy (or others) for database integration
Spring Data JPA for Java-based databases
Optional (e.g., TypeORM for TypeScript)
Yes, built-in TypeORM
DN

REST API Development
Excellent (can be used as a REST API or with GraphQL)
Built-in REST framework
Supports RESTful APIs
Built-in support for REST APIs
Excellent (especially with TypeScript)
Excellent (especially with TypeScript)
ETN

Template Engine
Optional (e.g., Pug, EJS)
Built-in (Django templates)
Optional (Jinja2, others)
Thymeleaf for Java-based views
Optional (e.g., EJS, Pug)
Optional (e.g., Handlebars)
DS

Type Safety
Less strict
Dynamic typing
Dynamic typing
Strong typing
Strong typing
Strong typing
STN

Middleware Support
Extensive middleware support
Built-in middleware
Limited built-in middleware
Extensive middleware support (Spring ecosystem)
Extensive middleware support
Extensive middleware support
ESTN

Database Support
Supports various databases (MongoDB, MySQL, PostgreSQL, etc.)
Wide database support (PostgreSQL, MySQL, SQLite, Oracle, etc.)
Wide database support (SQLite, PostgreSQL, MySQL, etc.)
Wide database support (Relational and NoSQL databases)
Supports various databases (MongoDB, MySQL, PostgreSQL, etc.)
Supports various databases (MongoDB, MySQL, PostgreSQL, etc.)
DFS

Use Cases
Versatile (from small to large projects)
Versatile (from small to large projects)
Lightweight and small to medium-sized projects
Enterprise-level applications and microservices architecture
Versatile (from small to large projects)
Versatile (from small to large projects)
EDFTN


Options to make tag panel more managable

With over 4000 bookmarks I have a lot of tags, it would be useful to be able to:

show only those used more than a certain number of times (Pinboard "top tags", etc)

or

hide the list

See also #594


Unable to download files from qa.dockstore.org

Describe the bug
There exists tools in QA that if you go the files section of the tool and hit the download button, a new screen is opened, but no file is downloaded.
I discovered this error after creating this tool, as when I went to download it, nothing happened.
It appears that the download button for the above workflow is calling this URL,
https://qa.dockstore.org/api/ga4gh/trs/v2/tools/%23workflow%2Fgithub.com%2Ffhembroff%2FCWL-many-words%2FBASIC-CWL-FROM-TUTORIAL/versions/main/PLAIN_CWL/descriptor/%2Fworkflows%2Fexample%2Fexample.cwl
Which, if you call it at the time of writing this issue, gives this error,
HTTP ERROR 404 Not Found : incorrect id
URI:	/ga4gh/trs/v2/tools/%23workflow%2Fgithub.com%2Ffhembroff%2FCWL-many-words%2FBASIC-CWL-FROM-TUTORIAL/versions/main/PLAIN_CWL/descriptor/%2Fworkflows%2Fexample%2Fexample.cwl
STATUS:	404
MESSAGE:	Not Found : incorrect id
SERVLET:	jersey

After talking with @denis-yuen , it appears that the URL that is called should be (if you call it, it does do what is intended),
https://qa.dockstore.org/api/ga4gh/trs/v2/tools/github.com%2Ffhembroff%2FCWL-many-words%2FBASIC-CWL-FROM-TUTORIAL/versions/main/PLAIN_CWL/descriptor/%2Fworkflows%2Fexample%2Fexample.cwl
To Reproduce
To see the above error

Go to https://qa.dockstore.org/containers/github.com/fhembroff/CWL-many-words/BASIC-CWL-FROM-TUTORIAL:main?tab=files
Click on the button to download workflows/example/example.cwl
Observe that no file is downloaded, a new tab is opened (which is blank).

You can find the problematic URL by using inspect element on the download button.
I created the problematic tool using GitHub apps and a .dockstore.yml file, the repo is found here.
Expected behavior
The desired file should be downloaded when you click the download button.
Screenshots

Desktop (please complete the following information):

OS: Linux
Browser: Firefox

Additional context

host location: qa.dockstore.org

I believe @denis-yuen has an explanation for what is causing this error.

I created a new tool on dockstore.org, and all of the download buttons seem to be working.

Looked like the issue is with apptools and also exists in prod
https://dockstore.org/containers/github.com/dockstore/dockstore-tool-bamstats/bamstats_cwl:1.25-9?tab=files demonstrates this issue
incorrect: https://qa.dockstore.org/api/ga4gh/trs/v2/tools/%23workflow%2Fgithub.com%2Ffhembroff%2FCWL-many-words%2FBASIC-CWL-FROM-TUTORIAL/versions/main/PLAIN_CWL/descriptor/%2Fworkflows%2Fexample%2Fexample.cwl
correct:   https://qa.dockstore.org/api/ga4gh/trs/v2/tools/github.com%2Ffhembroff%2FCWL-many-words%2FBASIC-CWL-FROM-TUTORIAL/versions/main/PLAIN_CWL/descriptor/%2Fworkflows%2Fexample%2Fexample.cwl

Looks like the incorrect link has a prefix of %23workflow%2F or #workflow/ un-escaped.
Basically, we have this prefix to ensure that IDs do not clash between tools and workflows, but apptools are kind of a weird hybrid, so this isn't entirely surprising but needs to be fixed.
I think it makes sense to skip the prefix for apptools, fix the UI, and potentially add a test (may already exist) to ensure that we do the right thing if an apptool and a workflow try to claim the same id.


Frontier / EVM Pallet

Description
Currently, subtensor lacks Ethereum Virtual Machine (EVM) compatibility and  some of our partners require said functionality to integrate their existing solutions or develop new ones on our platform.
To address this limitation and expand the chain's functionality, we propose adding the Frontier / EVM pallet to Subtensor. This addition will enable Ethereum-compatible smart contract execution, allowing us to support a wider range of applications and potentially attract more developers and users to our ecosystem.
Acceptance Criteria

The Frontier / EVM pallet is successfully integrated into the Subtensor runtime.
EVM-compatible smart contracts can be deployed and executed on the Subtensor blockchain.
Ethereum-style accounts and addresses are supported alongside existing Substrate-native accounts.
Basic Ethereum RPC methods are implemented and functional.
Gas pricing and limits are properly configured and adjustable.
The integration does not negatively impact the existing functionality of the Subtensor blockchain.

Tasks

[x] Add the Frontier / EVM pallet as a dependency in the Cargo.toml file.
[x] Configure the EVM pallet in the runtime's lib.rs file.
[x] Implement necessary runtime APIs for EVM support.
[x] Add EVM-related types and configurations to the chain specification.
[x] Implement Ethereum-compatible RPC methods.
[x] Configure gas pricing and limits for EVM execution.
[x] Update the genesis configuration to include EVM-related parameters.
[x] Implement necessary storage migrations if required (not required).
[x] Add unit tests and integration tests for EVM functionality (integration only, unit testing is on Parity).
[x] Add balance transfer precompile
[x] Add staking precompile (stake, unstake, stake_for, unstake_for)
[ ] Update documentation to reflect the addition of EVM support.
[ ] Perform thorough testing on a testnet environment before mainnet deployment.
[x] Launch testnet
[x] Launch block explorer
[x] Upload TAO icon to IPFS with Pinata
[x] Submit PR to ethereumlists.org and wait for merging
[x] Submit PR to slip44 registry and wait for merging (already existed)
[x] Test if Metamask picked up ethereumlists info
[x] Create EVM integration kit and examples
[ ] Test ws connection with Ethereum tools, setup on the testnet if possible
[ ] Fix baedeker and test with Finney state. Restart evm testnet and make it have Finney state
[x] Update devnet-ready to polkadot 1.11.0
[x] Test if transaction fees are removed from TI
[x] Rebase to devnet-ready (fix Finney deployment CI job, there's a PR for that)
[x] Expose staking state via staking precompile
[ ] Staking API usage example
[x] Faucet
[ ] Metamask fix (9 vs 18 decimals)
[ ] Correct decimals in block explorer

Additional Considerations

How will the addition of the EVM pallet affect the overall performance and resource usage of the Subtensor blockchain?

We need to consider and review gas price (esp. for precompiles) to avoid storing too much data onchain with no fee

What security considerations need to be addressed when introducing EVM compatibility?

Precompiles can access and modify runtime state. Ideally, each precompile needs to be audited

How will we handle potential conflicts between Substrate-native and Ethereum-style accounts?

Related Links

Frontier GitHub Repository: https://github.com/paritytech/frontier
Ethereum Yellow Paper (for EVM specifications): https://ethereum.github.io/yellowpaper/paper.pdf
EVM demo and integration kit: https://github.com/gztensor/evm-demo

Keith's update to 1.16 (pull in template node changes): https://github.com/polkadot-evm/frontier/pull/1504/files


Update UK Visa Application Centre addresses for India, Nepal & Vietnam.

PT Story - https://www.pivotaltracker.com/story/show/107585656
Small corrections to the the UK Visa Application Center addresses in India, Nepal and Vietnam.
Expected changes
Example URL

New Delhi address includes "Connaught Place"

Example URL

Kathmandu address includes "Lalitpur"

Example URL

Vietnam address includes "Resco Tower, 5th Floor"

Abi commented in PT to say that this has been sent for factcheck today.

We've got the go-ahead to deploy this on Monday 16 Nov.

I've rebased and force-pushed in preparation for merging.


FancyZones zone activation does not work if Workspace was run

Microsoft PowerToys version
0.84.1
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
FancyZones, Workspaces
Steps to reproduce
PowerToysReport_2024-09-25-10-31-44.zip

Configure FancyZone zones - make sure its enebled and zone activation configured to run by holding Shift key.
Configure Workspace layout.
Apply Workspace by clicking on desktop shortcut.
Make an attempt to move any app window opened by Workspace to any defined FancyZones zone by holding shift button + mouse drag.

✔ Expected Behavior
While holding Shift + mouse drag predefined zones are being appeared. Zones activation works fine for apps started with Workspace.
❌ Actual Behavior
Nothing happens, looks like FancyZone is disabled.
Zones activation doesn't work for apps started by Workspace.
Other Software
No response

Can be closed - dup of https://github.com/microsoft/PowerToys/issues/34566

/dup https://github.com/microsoft/PowerToys/issues/34566


Machine v 0.12+ vmwarefusion driver fails on create due to certificate error

In docker-machine v 0.12+ when creating a vm using the vmwarefusion driver the installation hangs while trying to validate SSH. In debug mode, the error is x509: certificate signed by unknown authority
docker-machine version 0.11.0 works without issue.
Expected behavior:
docker-machine create -d vmwarefusion MyAwesomeMachine should create a docker vm without any issues
Actual behavior:
docker-machine create -d vmwarefusion MyAwesomeMachine fails to complete. Afterward SSH commands work, however the machine will not be available in a browser .
Environment:
MacOs 10.12.5
VMWare Fusion 8.5.8
docker 17.06.0-ce
docker-compose 1.14.0

@waldnzwrld We made a few fixed to VMWare drivers in 0.12.2 - can you check that this version works for you?

@shin- Thanks, version 12.2 fixes the issues I had noticed.


[OTHER] Regarding Invitation to join the Org!

Name
Anurag
Discord Username (if applicable)
anurag#2281
Additional Context
Hey there
I got to know about Eddie Hub during Hacktoberfest #2021, and I'm forever grateful for it. So I wanna join Eddie Hub Org on GitHub!

Welcome to the community! ❤


License file

It would be nice if you would add a license file. MagicMirror and most other modules use the MIT license, here is an example: https://github.com/MagicMirrorOrg/MagicMirror/blob/master/LICENSE.md

Project more or less abandoned. Will do when I have time..


Bind a Getter/Setter to Each Config Variable

Every user settable variable in the config should have a getter and a setter publicly exposed. This will give full control at all times to the developer/designer of the functionality of AmplitudeJS.

I narrowed this down a ways because not all config variables should be opened up to be edited.


Validate YAML pipeline based on the JSON schema

Schema: https://github.com/microsoft/azure-pipelines-vscode/blob/main/service-schema.json
We can validate this in different stages of serialization, publishing or just our tests

Probably not as important issue though

We could do this in our CI only maybe

I don't see value in this as this is not causing any problems nor will bring any large benefit


DBeaver - Custom Jdbc

Description

I'm working on create a custom jdcb driver which connecting to a java application not database direct to return some data and represent it using dbeaver.
I need to ask if there is any document or steps to clone and start dbeaver local on my machine to debug on it while creating my custom jdbc ?

DBeaver Version
Community Edition 23.2.4
Operating System
No response
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Maybe you're looking for https://github.com/dbeaver/dbeaver/wiki/Develop-in-Eclipse or https://github.com/dbeaver/dbeaver/wiki/Develop-in-IDEA

@E1izabeth it dose not build successfully

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


CosmosDbTrigger middleware to filter by document type

While this is in progress, we are trying to filter documents ending at the cosmos db trigger from a multi-document type container using middleware. We are aware middleware filtering still retrieves all items from the change feed.
Use case:

Single Cosmos DB SQL API container containing multiple document types
Trigger function for each document type with separate leases on the container
Attribute on each trigger function with document type to filter for
Middleware that retrieves KVP with "items" as key from InputData property on IFunctionBindingsFeature and creates new read only dictionary with "items" key and read only list with filtered documents json array

Problem:

Above middleware works up to setting InputData, but then breaks because InputData property of IFunctionBindingsFeature on function context features has no setter to replace the "items" with the filtered items

Questions:

What would be the best/correct way to set InputData?
If above not possible, how else can filtering be accomplished at the middleware level?

Adding the filtered items already deserialized to the function context items works nice, but the function would still get triggered even though filtering removed all "non-qualified" items based on document type.

Why not receive a IReadOnly<System.Text.Json.JsonDocument> containing all changefeed documents from the CosmosDBTrigger. You could implement your own custom logic where you filter the changefeed based on a property in the JSON structure. Then deserialize the filtered changefeed documents into your custom POCO classes.
Related question on SO:
https://stackoverflow.com/questions/71519110/have-the-document-class-when-using-cosmosdbtrigger-been-deprecated


fix(registry-management): cache-control header + manifests versions

Fix a bug where repository tags requests are retrieved from cache by browser and not passed to the registry API.

Closing as there is no bug report associated to this bugfix.


Hydrogen cannot be installed anymore

I guess you are already aware of this but just in case:
Hydrogen cannot be installed currently (neither via amp nor from within the application).
Best regards

now it works again....Maybe it was my fault but I did not change anything. Just tried again and it worked (before it did not work 5-6 times...


Feature Request: Draw Button/Axis "Variants"

Presently, each button/axis is only represented by a single image. I think it would be reasonable to pass an extra value to allow drawing variant states. For buttons, this would probably just amount to drawing a "pressed" variant, while for an axis this would be along the lines of drawing an up/down/left/right/none version.
Basically, I think having a way to use a few more of these already-drawn variants would greatly elevate the utility of the library:

I've got this working locally, by making the arrays in ControllerImage_Device 2D, and by adding/splitting text off of the svg filenames using an underscore as a delimiter; ie rightshoulder.svg becomes rightshoulder_0.svg and so on. If a variant is requested and not found, the default variant of 0 is used instead.
If this design philosophy makes sense for the project, I wouldn't mind creating a pull request, although I am a little less than confident about the implementation given that C-style string manipulation is not my forte. I'd also like to get a full example theme set up first, which will take a little bit of time to complete.


[cherry-pick] Only send cloud events when condition changes

Changes

Change the logic for cloud events to be sent only if a change is
detected in the condition, specifically in state, message or reason.
Fixes #3336
Signed-off-by: Andrea Frittoli<EMAIL_ADDRESS>(cherry picked from commit 3d35b876e6e0967bc19b276eedc53c08e899bdcf)
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[x] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Fixes issue with duplicate cloud events. Cloud events are now sent only if a change in condition happened.

/kind bug

/approve

/lgtm

/retest


Option to bypass IIS configuration

I have never been able to get the StaticFileModule to work in IIS on Windows 2012R2 so that it will serve up an extensionless file.  And I was reluctant to make too many configuration changes to the site since it is a 3rd party CMS.  I therefore had a workaround for my .well-known folder.  Any request to /.well-known/acme-challenge was rewritten to an ASPX file which handled reading the requested file and serving up the results.
But with the latest version of letsencrypt (<IP_ADDRESS> beta6), the rewrite rule I have setup is supersceded by the IIS config settings that letsencrypt adds (in applicationHost.config).  <IP_ADDRESS> does not suffer from this problem.
Could it be possible to have a command-line option which will prevent this IIS reconfiguration from happening?
Thanks for considering.

So this is obviously a backwards compatibility issue.
I've implemented a two-fold solution in beta 8.

The default, backwards compatible, FileSystem-validation will not mess around with IIS
The now separated IIS-validation will not just do the settings it already did, but also create a new sub-application in the site, disabling any custom modules (e.g. CMS'es) that are installed above it.

Awesome.  I was able to use beta 8 to renew without a problem.
Thank you for such a fast response, and all your hard work in a great project.

@WouterTinus in theory it should be possible to interface directly with the http.sys kernel module and directly bypass IIS to handle the challenge requests.
ASP.NET Core provides the necessary abstractions and an in-process web server so you could intercept requests by installing a prefix into http.sys via the HttpSysServer:
static void Main(string[] args)
{
    var webHost = new WebHostBuilder()
        .UseHttpSys(options =>
        {
            options.UrlPrefixes.Add("http://www.mydomain.com/.well-known/acme-challenge/foo");
        })
        .Configure(app => app.Run(async (context) =>
        {
            await context.Response.WriteAsync("any response");
        }))
        .Build();
    webHost.Run(); // there is a start/stop API as well
}

I'll try playing around with it in IISPlugin.

This actually works really well
put together a proof-of-concept change at https://github.com/dasMulli/letsencrypt-win-simple/commit/bda344c79fb0e4dfa1a08d057c118c9981600df9

Change target framework to 4.6.1
Add required ASP.NET Core Libraries and update packages (Update-Packages -reinstall because of the target framework change)
Create a web host per challenge using HttpSys server.

Cool, this could replace/combine the IIS and SelfHosting validation plugins. It's a pity that you branched master (v1.9.6) instead of develop (v1.9.7) because the latter is pretty close to being released, but I think it might be worth including this.
Would you mind rebasing this on develop and submitting a PR?

Sure, but thinking about it (and some sleep) I might be over-complicating things.
HttpListener should already be able to do this by registering the prefix so your self-hosting plugin should be sufficient if it registers for a specific enough prefix.

Unfortunately it seems that you can't listen to a specific path, it has to be the whole binding, so IIS would temporarily stop receiving requests during validation. Could still be preferable over the alternative though.

I tried with httplistener a few days ago (on vacation now) and it did work to register for :80/some/prefix and let IIS handle the rest (needs to run with admin privileges though). Only tried on latest win10 1709 though, haven't tried yet with older windows / server versions but I'll have a look once I'm back (next weeks)

@WouterTinus thanks for looking into it and creating the self-hosted validation option ❤. It works super smooth and is perfect for IIS + ASP.NET core API-only apps that don't have any filesystem-based contents (ANCM-only).


A few questions that could be clarified in the Docs

The docs recommend Using each of TimeZones, CompoundPeriods, TimesDates, and Dates at various points. Can TimesDates stand alone or is it just an augmentation of Dates? My guess would be that it is an augmentation and full functionality requires both TimesDates and Dates but I could be wrong.
Conversely my reading would have me guess that I don't have to load TimeZones if I am uninterested in timezone support. (I happen to not be).
I'm not sure either way on CompoundPeriods.
Is there the potential to add a flexible parser ala DateFormat but compatible with the higher range of TimeDates?
I haven't actually used TimesDates yet but having found it now I hope to use it in the future to avoid having both Date and Time columns in a DataFrame since my Time values are 100microsecond resolution typically.

Just wanted to follow up that I'm really happy to have found this package and that there has been some development in this space.


Replaced json4s with spray-json for better compatibility between Scala releases

There are binary compatibility issues in the json4s releases that make it difficult to compile project with different releases of scala, on top of that, spray-json v 1.3.3 is released for Scala 2.10, 2.11, 2.12, there's no single version of json4s that's supported by those 3 versions of Scala

Coverage remained the same at 89.524% when pulling 34f5ca6066962a320406b233074fa6b3d819ad4e on wlk:replace-json4s into cfbab7e76f7b9fe44414395688cb04fb1c7fda4c on iheartradio:master.


Chat room for Hegel (Discord)?

Maybe it would be worth creating a chat server for Hegel? Perhaps on Discord?

@trusktr we have a chat room on telegram https://t.me/hegel_js

I tried Discord, but seems like we have so small community for it for now.

Looks like Telegram doesn't have a web version. Discord is great because it works great in a browser tab.
The AssemblyScript team set up weekly working-group and community-group meeting on Discord, where anyone can join the group call (video and/or audio).
The bots are really neat: f.e. AssemblyScript's bot messages about upcoming meetings ahead of time, then anyone that clicks on an emoticon for that message will be added to RSVP, and if they are on RSVP then the bot will send a message to that person before the meeting as a reminder. It's very nice!

You can have https://gitter.im/ chat room. It provides github integration and authentication out of the box. Easy to create & remove room. No extra efforts. Many communities use it: TypeScript, NodeJS etc.

Web.telegram.org @trusktr

Maybe opening up the Discussion tab here on GitHub would work, if there's no other official place for discussion.

Maybe opening up the Discussion tab here on GitHub would work, if there's no other official place for discussion.

I think I will create Gitter for Hegel today 😅

I think I will create Gitter for Hegel today 😅

Gitter Chat: https://gitter.im/hegel-js/community

Gitter Chat: https://gitter.im/hegel-js/community

And GitHub Discussion

And GitHub Discussion


Merge upstream changes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: alessio:x: alexcb:x: jwilkYou have signed the CLA already but the status is still pending? Let us recheck it.


Deprecate exitCode

Summary
I’m proposing we deprecate exitCode in favor of sync.
Background
If accepted, will resolve:

https://github.com/dagger/dagger/issues/3192

Motivation
The Container.exitCode field doesn’t make sense because you always get zero on success and you can’t get the non-zero value when the command fails due to a bug:

https://github.com/dagger/dagger/issues/3192

We do get the value in the error:
_, err := ctr.ExitCode(ctx)  // if no error we already know the result is 0
if exerr, ok := err.(*dagger.ExecError); ok {
    return exerr.ExitCode
}

Additionally, one of the problems with the confusion over laziness is that users use .ExitCode(ctx) everywhere just to force execution, not caring about the actual value of the exit code. But you’re able to use the more general .Sync(ctx) instead:
- _, err = ctr.ExitCode(ctx)
+ _, err = ctr.Sync(ctx)

And you can still get the exit code value from the error if needed:
_, err := ctr.Sync(ctx)
if exerr, ok := err.(*dagger.ExecError); ok {
    return exerr.ExitCode
}

Specification
type Container {
  """
  Exit code of the last executed command. Zero means success.

  Will execute default command if none is set, or error if there's no default.
  """
- exitCode: Int!
+ exitCode: Int! @deprecated(reason: "Use `sync` instead.")
}

Caveat
There is one big difference between ExitCode(ctx) and Sync(ctx). While the former triggers command execution, defaulting to the entrypoint and default args if no WithExec is defined in the pipeline, the latter does not.
Just “renaming” to a new .Run(ctx) that behaves the same doesn’t seem worth it. And some users don’t actually want to run the command (e.g., just do a Dockerfile build), so it pays to understand what’s going on.
We’ll just have to make this clear in documentation and examples:

https://github.com/dagger/dagger/issues/3617

This sounds good, let's do it & remove part of https://github.com/dagger/dagger/discussions/5374

That's a good idea!
Is there a PR / issue that we can track for the v0.8.0 milestone?

Yes, it's in https://github.com/dagger/dagger/issues/5479.


TestServer against MVC application can't find Razor Views.

As of right now, when you use TestServer on a Test project against an MVC application with Razor Views those are not found because ApplicationBasePath is the Test project one and not the MVC.
The solution is to change the ApplicationBasePath of the Test project to the MVC Application.
Changing the base path is not a straightforward thing to do, in terms that for every test project that needs this, one must implement IApplicationEnvironment and hook into the TestServer somehow.
I created a package at https://github.com/Bartmax/TestServerMvcHelper which hooks into WebHostingBuilder and does exactly that with one practical convention of where to look for the Application.
var builder = TestServer.CreateBuilder();
builder.UseApplicationPath("YourMvcApplication");
var server = new TestServer(builder);

I wanted to start a discussion to see if there's interest on the team for this (or similar) feature, as I think this should be provided/baked into the framework, with a maybe smarter way for application basepath discovery.

Have you had a look at our functional tests and specifically MvcTestFixture (https://github.com/aspnet/Mvc/blob/dev/test/Microsoft.AspNet.Mvc.FunctionalTests/MvcTestFixture.cs)? The pattern works pretty well for our functional tests: https://github.com/aspnet/Mvc/blob/dev/test/Microsoft.AspNet.Mvc.FunctionalTests/ActionResultTests.cs#L15-L17.

@pranavkm yes, it's pretty good. I used it to understand how it works. Wouldn't be good to have something like that out of the box?

@Bartmax to a certain extent I agree, I think there's some things MVC requires that we won't put in the 'testserver' box.
Setting up the base path is something we might want to consider.

Sure, just let me know if you want me to help or contribute in any way.

This is likely a dup of https://github.com/aspnet/Mvc/issues/6233

We're shipping a package in 2.0.0 that will address all of these issues. See: https://github.com/aspnet/Mvc/tree/dev/src/Microsoft.AspNetCore.Mvc.Testing

@rynowak Is it correct that the package is not available on nuget?!
https://www.nuget.org/packages?q=microsoft.aspnetcore.mvc.testing:

Search for microsoft.aspnetcore.mvc.testing returned 0 packages

Because it exists on the myget feed.


[integration] data main vues : indexes create modal

Add create index modal & interaction with indexes browse

Current coverage is 84.63% (diff: 57.14%)

Merging #24 into develop will decrease coverage by 0.40%

@@            develop        #24   diff @@
==========================================
  Files            38         39     +1
  Lines           341        345     +4
  Methods           8          9     +1
  Messages          0          0
  Branches         23         23
==========================================
+ Hits            290        292     +2
- Misses           40         41     +1
- Partials         11         12     +1

Powered by Codecov. Last update 3728d8c...76e9db0

:+1:

+1


Request option to relocate Workbench Status bar to Top

Summary
In short, I'd like to have the option to move/reposition the Workbench Status bar location to the top of the window, above editors tabs.
Reasoning
The ability to customize layout has been critical for improving the accessibility of various panels and bars to be in optimal positions for any given user. In particular, the "workbench.activityBar.location": "top" setting is ideal for relocating the core Activity Bar icons away from the very edge of the (wide)screen to be within eyeline and closer to the editor where focus tends to be.
Similarly, having the option to move the Workbench Status bar to the top aids in moving various status text/icons within eyeline focus. Though, I would imagine that hover-tooltips and the notification drawer may need to be reworked to flow below, rather than above.
Visualization
To help better visualise this request, here's a mock-up of the requested outcome after the Workbench Status bar has been repositioned to the top.

Aside
While tangentially related, I'd imagine it'd be preferable to customize the ordering of entries within the Workbench Status itself, though that's addressed in #35744 already.
Thank you for your time and consideration.
### Tasks

See also #204933 which needs upvotes to progress.

Thanks for the heads-up, @gjsjohnmurray, I should've looked for similar issues first! To minimise clutter, I'll move my post to that thread to keep us on the same page together.
Since this ticket has an assignee -- hi @daviddossett! -- I've moved/merged this discussion with #204933. Thank you!


Readme update m2

change some font
add table content
add sections of "What Are We Doing", "Contribute to This Dashboard"
small modifications on some words
link of dashboard wait to be added through main branch after deployment

Resolves issue #15.


Not able to work with moat-mqtt

Hello,
I have always worked with Distmqtt with no issue.
Today I tried to install moat-mqtt for a new project and I am not able to work with it.
I have a new python 3.8 project, and i use poetry.
I just installed moat-mqtt (3.6.1 is the only one available on PyPI)
poetry new asd
cd asd
poetry add moat-mqtt

and the installation is correct

and I definitely see distmqtt in the venv directory

However, there is no way for me to import or use moat-mqtt.
from moat.mqtt.mqtt.constants import QOS_1
from moat.mqtt.mqtt.constants import QOS_2

print(QOS_1, QOS_2)

Running this (poetry run python asd/__init__.py) gives me:
Traceback (most recent call last):
  File "asd/__init__.py", line 1, in <module>
    from moat.mqtt.mqtt.constants import QOS_1
ModuleNotFoundError: No module named 'moat'

Am I missing something obvious or is the new version with the new naming not supposed to be used yet?
Thank you!

I have uploaded 0.38.2. My builder didn't auto-upload, oops …
I'm sorry that the transition isn't as seamless as we all would like; I'm building the tools to automate much of this as I go along. Please don't hesitate to complain if anything doesn't work yet.

Awesome, with this new version everything is working properly, thanks!!


Gather the directory data

Contact the medical secretaries from Nancy (ICL) and Brest (amadeus and CPTS of Elorn) and get numeric  copies of there address book.
Gather data in relevant format.

Hey team! Please add your planning poker estimate with Zenhub @ad2ien @JDixmier


Segfault on 0.9.10pre with automatic_control.py

System: Ubuntu 20.04, NVIDIA Quadro P2000
Carla: 0.9.10pre built for Ubuntu 18.04
Command line: gdb -ex run --args CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping Carla -opengl
On connecting an example-based client (eg automatic_control.py), Carla segfaults.
Thread 1 "CarlaUE4-Linux-" received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
262     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#1  0x0000000001eb7ede in carla::Buffer::copy_from (this=<optimized out>, offset=12, data=0x0, size=5120)
    at /home/axel/Documents/jenkins/Unreal/CarlaUE4/Plugins/Carla/CarlaDependencies/include/carla/Buffer.h:351
#2  ASceneCaptureSensor::CopyTextureFromAtlas (this=0x7fff57973f80, Buffer=..., AtlasImage=..., AtlasTextureWidth=<optimized out>)
    at /home/axel/Documents/jenkins/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp:586
#3  0x0000000001eb7375 in ASceneCaptureSensor::SendPixelsInStream<ASceneCaptureCamera> (this=0x7fff57973f80, Sensor=..., AtlasImage=empty, AtlasTextureWidth=1280)
    at /home/axel/Documents/jenkins/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h:285
#4  0x0000000001e92b3e in ACarlaGameModeBase::SendAtlas (this=<optimized out>) at /home/axel/Documents/jenkins/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.cpp:475
#5  ACarlaGameModeBase::Tick (this=0x7fff56a9edc0, DeltaSeconds=0.106841892) at /home/axel/Documents/jenkins/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.cpp:222
#6  0x0000000003c33a5a in FTickFunctionTask::DoTask (this=0x7fff55779c60, CurrentThread=ENamedThreads::GameThread, MyCompletionGraphEvent=...)
    at Runtime/Engine/Private/TickTaskManager.cpp:285
#7  TGraphTask<FTickFunctionTask>::ExecuteTask (this=0x7fff55779c50, NewTasks=empty, CurrentThread=ENamedThreads::GameThread) at Runtime/Core/Public/Async/TaskGraphInterfaces.h:847
#8  0x00000000021a7afb in FBaseGraphTask::Execute (NewTasks=..., CurrentThread=5120, this=<optimized out>) at Runtime/Core/Public/Async/TaskGraphInterfaces.h:514
#9  FNamedTaskThread::ProcessTasksNamedThread (this=0x7ffff5a684d0, QueueIndex=0, bAllowStall=<optimized out>) at Runtime/Core/Private/Async/TaskGraph.cpp:686
#10 0x00000000021a7763 in FNamedTaskThread::ProcessTasksUntilQuit (this=0x7ffff5a684d0, QueueIndex=0) at Runtime/Core/Private/Async/TaskGraph.cpp:582
#11 0x00000000021a6ff7 in FTaskGraphImplementation::ProcessThreadUntilRequestReturn (this=<optimized out>, CurrentThread=<optimized out>) at Runtime/Core/Private/Async/TaskGraph.cpp:1414
#12 FTaskGraphImplementation::WaitUntilTasksComplete (this=0x7ffff5b1e020, Tasks=..., CurrentThreadIfKnown=<optimized out>) at Runtime/Core/Private/Async/TaskGraph.cpp:1463
#13 0x0000000003c3025c in FTickTaskSequencer::ReleaseTickGroup (this=0x5249b58 <FTickTaskSequencer::Get()::SingletonInstance>, WorldTickGroup=TG_PrePhysics,
    bBlockTillComplete=<optimized out>) at Runtime/Engine/Private/TickTaskManager.cpp:559
#14 0x0000000003c2dc35 in FTickTaskManager::RunTickGroup (this=0x5249b00 <FTickTaskManager::Get()::SingletonInstance>, Group=TG_PrePhysics, bBlockTillComplete=<optimized out>)
    at Runtime/Engine/Private/TickTaskManager.cpp:1527
#15 0x0000000003866f8b in UWorld::RunTickGroup (this=<optimized out>, Group=TG_PrePhysics, bBlockTillComplete=<optimized out>) at Runtime/Engine/Private/LevelTick.cpp:781
#16 UWorld::Tick (this=<optimized out>, TickType=LEVELTICK_All, DeltaSeconds=0.106841892) at Runtime/Engine/Private/LevelTick.cpp:1552
#17 0x0000000003773b19 in UGameEngine::Tick (this=0x7fffe7450100, DeltaSeconds=<optimized out>, bIdleMode=<optimized out>) at Runtime/Engine/Private/GameEngine.cpp:1665
#18 0x0000000001e55e8e in FEngineLoop::Tick (this=0x50463b0 <GEngineLoop>) at Runtime/Launch/Private/LaunchEngineLoop.cpp:4479
#19 0x0000000001e5720a in EngineTick () at Runtime/Launch/Private/Launch.cpp:62
#20 GuardedMain (CmdLine=<optimized out>) at Runtime/Launch/Private/Launch.cpp:175
#21 0x0000000003f356a8 in CommonUnixMain (argc=<optimized out>, argv=0x7fffffffda28, RealMain=0x1e56fc0 <GuardedMain(char16_t const*)>,
    AppExitCallback=0x1e60310 <LaunchUnix_FEngineLoop_AppExit()>) at Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:264
#22 0x00007ffff76b80b3 in __libc_start_main (main=0x1e60300 <main(int, char**)>, argc=3, argv=0x7fffffffda28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffda18) at ../csu/libc-start.c:308
#23 0x0000000001e54029 in _start ()

@dsche we are aware of this issue and we are about the patch 0.9.10-pre. We are all experiencing problems with OpenGL. In the meantime, have you tried running the vulkan version?

Yes, I tried it (same machine, same setup). The Vulkan version does not seem to suffer from the above mentioned bug, however, it is quite VRAM-hungry (rendering the Vulkan backend unusable). Running eg spawn_npc.py sends it into device OOM:
 gdb -ex run --args CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping Carla -vulkan
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
--Type <RET> for more, q to quit, c to continue without paging--c
Type "apropos word" to search for commands related to "word"...
Registered pretty printers for UE4 classes
Reading symbols from CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping...
Reading symbols from /home/dimitri/tools/CARLA_0_9_10-Pre_Ubuntu18/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping.debug...
Starting program: /home/dimitri/tools/CARLA_0_9_10-Pre_Ubuntu18/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping Carla -vulkan
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.

[Switching to Thread 0x7fffdca7c700 (LWP 658323)]
FGenericPlatformMisc::RaiseException (ExceptionCode=1) at Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:477
477     Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  FGenericPlatformMisc::RaiseException (ExceptionCode=1) at Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:477
#1  0x00000000022af0a7 in FOutputDevice::LogfImpl (this=<optimized out>, Fmt=0x61704a u"%s") at Runtime/Core/Private/Misc/OutputDevice.cpp:71
#2  0x0000000002e86fb6 in VulkanRHI::FDeviceMemoryManager::Alloc (this=0x7ffff5d371e0, bCanFail=<optimized out>, AllocationSize=4382720, MemoryTypeIndex=7,
    DedicatedAllocateInfo=<optimized out>, Priority=1, File=<optimized out>, Line=<optimized out>) at Runtime/VulkanRHI/Private/VulkanMemory.cpp:279
#3  0x0000000002e87e40 in VulkanRHI::FOldResourceHeap::AllocateResource (this=0x7ffff61ff9a0, Type=VulkanRHI::FOldResourceHeap::EType::Image, Size=4382720, Alignment=1024,
    bMapAllocation=<optimized out>, bForceSeparateAllocation=<optimized out>,
    File=0x733591 "/home/axel/UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp", Line=561) at Runtime/VulkanRHI/Private/VulkanMemory.cpp:1159
#4  0x0000000002e93555 in VulkanRHI::FResourceHeapManager::AllocateImageMemory (this=<optimized out>, MemoryReqs=..., MemoryPropertyFlags=1,
    File=0x733591 "/home/axel/UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp", Line=<optimized out>)
    at Runtime/VulkanRHI/Public/VulkanMemory.h:812
#5  0x0000000002e9311a in FVulkanSurface::FVulkanSurface (this=0x7fff517268a0, InDevice=..., ResourceType=VK_IMAGE_VIEW_TYPE_2D, InFormat=<optimized out>,
    SizeX=<optimized out>, SizeY=<optimized out>, SizeZ=<optimized out>, ArraySize=<optimized out>, InNumMips=<optimized out>, InNumSamples=<optimized out>,
    InUEFlags=<optimized out>, CreateInfo=...) at Runtime/VulkanRHI/Private/VulkanTexture.cpp:561
#6  0x0000000002e95e75 in FVulkanTextureBase::FVulkanTextureBase (this=0x7fff51726898, Device=..., ResourceType=VK_IMAGE_VIEW_TYPE_2D, InFormat=<optimized out>, SizeX=0,
--Type <RET> for more, q to quit, c to continue without paging--c
    SizeY=0, SizeZ=<optimized out>, ArraySize=<optimized out>, NumMips=<optimized out>, NumSamples=<optimized out>, UEFlags=<optimized out>, CreateInfo=...) at Runtime/VulkanRHI/Private/VulkanTexture.cpp:1645
#7  0x0000000002e93d6c in FVulkanTexture2D::FVulkanTexture2D (this=0x7fff51726820, Device=..., InFormat=PF_FloatRGBA, SizeX=856, SizeY=640, NumMips=<optimized out>, NumSamples=<optimized out>, UEFlags=<optimized out>, CreateInfo=...) at Runtime/VulkanRHI/Private/VulkanTexture.cpp:1849
#8  FVulkanDynamicRHI::RHICreateTexture2D (this=<optimized out>, SizeX=856, SizeY=640, Format=10 '\n', NumMips=<optimized out>, NumSamples=<optimized out>, Flags=<optimized out>, CreateInfo=...) at Runtime/VulkanRHI/Private/VulkanTexture.cpp:963
#9  0x0000000002e90b5f in FVulkanDynamicRHI::RHICreateTexture2D_RenderThread (this=0x7fffc89075b0, RHICmdList=..., SizeX=0, SizeY=3418996736, Format=0 '\000', NumMips=<optimized out>, NumSamples=<optimized out>, Flags=<optimized out>, CreateInfo=...) at Runtime/VulkanRHI/Public/VulkanDynamicRHI.h:272
#10 0x0000000002fa8c92 in FRHICommandListImmediate::CreateTexture2D (this=0x0, SizeX=<optimized out>, SizeY=<optimized out>, Format=<optimized out>, NumMips=<optimized out>, NumSamples=<optimized out>, Flags=0, CreateInfo=...) at Runtime/RHI/Public/RHICommandList.h:4120
#11 RHICreateTexture2D (SizeX=<optimized out>, SizeY=<optimized out>, Format=<optimized out>, NumMips=<optimized out>, NumSamples=<optimized out>, Flags=0, CreateInfo=...) at Runtime/RHI/Public/RHICommandList.h:5095
#12 RHICreateTargetableShaderResource2D (SizeX=856, SizeY=640, Format=<optimized out>, NumMips=1, Flags=<optimized out>, TargetableTextureFlags=<optimized out>, bForceSeparateTargetAndShaderResource=<optimized out>, bForceSharedTargetAndShaderResource=<optimized out>, CreateInfo=..., OutTargetableTexture=..., OutShaderResourceTexture=..., NumSamples=<optimized out>) at Runtime/RHI/Public/RHIUtilities.h:582
#13 0x0000000002fa0a16 in FRenderTargetPool::FindFreeElement (this=<optimized out>, RHICmdList=..., InputDesc=..., Out=..., InDebugName=<optimized out>, bDoWritableBarrier=<optimized out>, TransienceHint=<optimized out>, bDeferTextureAllocation=<optimized out>) at Runtime/RenderCore/Private/RenderTargetPool.cpp:357
#14 0x0000000002f9fe37 in FRDGBuilder::AllocateRHITextureIfNeeded (this=0x7fffdca7aff0, Texture=<optimized out>) at Runtime/RenderCore/Private/RenderGraphBuilder.cpp:510
#15 0x0000000002fa1ada in FRDGBuilder::PrepareResourcesForExecute (this=0x7fffdca7aff0, Pass=0x7fff4fbe8a70, OutRPInfo=0x7fffdca7ab78, bOutHasGraphicsOutputs=0x7fffdca7ab6f) at Runtime/RenderCore/Private/RenderGraphBuilder.cpp:965
#16 0x0000000002f9efc3 in FRDGBuilder::ExecutePass (this=0x7fffdca7aff0, Pass=0x7fff4fbe8a70) at Runtime/RenderCore/Private/RenderGraphBuilder.cpp:688
#17 0x0000000002f960cc in FRDGBuilder::Execute (this=0x7fffdca7aff0) at Runtime/RenderCore/Private/RenderGraphBuilder.cpp:185
#18 0x000000000285c99a in FDeferredShadingSceneRenderer::Render (this=<optimized out>, RHICmdList=...) at Runtime/Renderer/Private/DeferredShadingRenderer.cpp:2468
#19 0x0000000002b71bd1 in RenderViewFamily_RenderThread (RHICmdList=..., SceneRenderer=0x7fff9fde0400) at Runtime/Renderer/Private/SceneRendering.cpp:3473
#20 FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_63::operator()(FRHICommandListImmediate&) const (this=<optimized out>, RHICmdList=...) at Runtime/Renderer/Private/SceneRendering.cpp:3702
#21 0x0000000002b71d75 in TEnqueueUniqueRenderCommandType<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_63>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) (this=0x7fff4f8ca760, CurrentThread=<optimized out>, MyCompletionGraphEvent=...) at Runtime/RenderCore/Public/RenderingThread.h:198
#22 TGraphTask<TEnqueueUniqueRenderCommandType<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_63> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) (this=0x7fff4f8ca750, NewTasks=..., CurrentThread=<optimized out>) at Runtime/Core/Public/Async/TaskGraphInterfaces.h:847
#23 0x00000000021a7afb in FBaseGraphTask::Execute (NewTasks=..., CurrentThread=ENamedThreads::RHIThread, this=<optimized out>) at Runtime/Core/Public/Async/TaskGraphInterfaces.h:514
#24 FNamedTaskThread::ProcessTasksNamedThread (this=0x7ffff5a67bb0, QueueIndex=0, bAllowStall=<optimized out>) at Runtime/Core/Private/Async/TaskGraph.cpp:686
#25 0x00000000021a7763 in FNamedTaskThread::ProcessTasksUntilQuit (this=0x7ffff5a67bb0, QueueIndex=0) at Runtime/Core/Private/Async/TaskGraph.cpp:582
#26 0x0000000002fc4b82 in RenderingThreadMain (TaskGraphBoundSyncEvent=0x7fff915e85e0) at Runtime/RenderCore/Private/RenderingThread.cpp:339
#27 FRenderingThread::Run (this=<optimized out>) at Runtime/RenderCore/Private/RenderingThread.cpp:488
#28 0x00000000021dcbe2 in FRunnableThreadPThread::Run (this=0x7fff875a0000) at Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25
#29 0x00000000021cca9d in FRunnableThreadPThread::_ThreadProc (pThis=0x7fff875a0000) at Runtime/Core/Private/HAL/PThreadRunnableThread.h:177
#30 0x00007ffff7f74609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#31 0x00007ffff77b3103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

But I guess this is already covered by #2858.

@dsche do you know if this is still happening in recent versions, such as 0.9.11?

@dsche do you know if this is still happening in recent versions, such as 0.9.11?

@germanros1987 No, I actually cannot reproduce it anymore, so I guess it is fixed now.

@germanros1987 No, I actually cannot reproduce it anymore, so I guess it is fixed now.

Seems like it was just time-out. Running it again after few seconds fixed the error in my case


Cudd_SetMaxMemory

Cudd_init(..., maxMemory) does not place any hard limit on maximum memory occupation.
Instead, an explicit call to Cudd_SetMaxMemory is needed, in order to limit the memory occupation.
A search within the gr1c repository did not reveal any call to Cudd_SetMaxMemory.
This is likely intentional. As a result, CUDD will try to allocate memory without limit, potentially eating all available memory in the operating system, unless ulimit or some similar mechanism exogenous to gr1c impose a hard limit. This allows crashing the operating system, if either it has a small amount of memory, or a very large problem is tried.
The unconstrained behavior of CUDD is convenient, to allow utilizing available memory as needed, without inferring limits. However, explicit is better than implicit. So, it is reasonable to let (and perhaps encourage) the user to pass an explicit hard memory limit. Any real machine has finite and known amount of memory, so deciding to allow CUDD to use, say, 90% of that value shouldn't be difficult. This can be done with a command line argument and a conditional call to Cudd_SetMaxMemory, as in nanotrav/main.c.

Not using Cudd_SetMaxMemory was intentional. I was motivated by exogenous options like ulimit, as you write. However, I support offering it as an option from the command-line. The maximum amount of memory that should be used may not be obvious, e.g., because of virtual machines or Linux containers, for which automatically detected limits are distinct from physical limits.
How would you find such a command-line argument most useful? E.g., one design is that the user can specify an amount in units of 2^20 or 2^30 bytes, or if no amount is given then it defaults to 90% of detected available memory.

@johnyf How would you want the command-line usage of memory bounding? I can create a solution, but since you opened this issue, perhaps you have a preferred form.

A design that I have used is with --max_memory an argument that takes a number in GB, and this number, after being converted to bytes, is fed to Cudd_SetMaxMemory. There is also Cudd_Init and Cudd_SetMaxCacheHard, and the choice of whether the number should be integer or not, to allow setting finer granularity.
Also, I do not know whether "Sets the maximum allowed memory. When this number is exceeded, the package returns NULL" means total memory footprint, or some more specific bound, and how this interferes with values already given to Cudd_Init. I should note that recently I observed CUDD v2.5.1 violating by far the number given to Cudd_SetMaxMemory. I have not investigated why in this occasion (and I don't think it was memory leaks outside CUDD), so this can be regarded as an unverified claim. Also, the cause may have been fixed in newer CUDD versions.

I adjusted the milestone to a nearby one because this will require some more time but does not affect existing usage. Besides adding the command-line switch, addressing this issue requires adding some conditional branching that:

notifies the user of the out-of-memory state and
exits cleanly, after noticing that CUDD is returning null values.


Fixed a anchor link for in the README

I changed a link called #sort_order to #deterministic-ordering as there was no #sort_order anchor in the README

Thanks