No output on device node

SUMMARY
Hi there,
using latest node-red and the latest node version, thre is no output on device nodes. I am using a simple flow, but i am not able to switch sth on or off.
The id in hub output and the node id of device node are the same.

This is the debug output from the hub node, the device node does not output anything.
{
   "on":true,
   "bri":254,
   "percentage":100,
   "hue":0,
   "sat":254,
   "xy":[
      0.6484272236872118,
      0.33085610147277794
   ],
   "ct":199,
   "rgb":[
      254,
      0,
      0
   ],
   "colormode":"ct",
   "meta":{
      "insert":{
         "by":"alexa",
         "details":{
            "ip":"::ffff:<IP_ADDRESS>",
            "date":"2021-09-21T11:28:33.170Z"
         }
      },
      "input":{
         "on":true
      },
      "changes":{
         "on":false
      }
   },
   "payload":"on",
   "deviceid":"f26cd5afeb84670b",
   "topic":"",
   "_msgid":"6443f7197d17924e"
}

ECHO DEVICES
Example:

Echo Dot 1st generation
Echo Dot 3rd generation

MODULE VERSION
latest
CONFIGURATION

CONSOLE OUTPUT
none
STEPS TO REPRODUCE
Add a hub and a device node, device is discovered, but the device node does not output anything, so no action is taken.
EXPECTED RESULTS
Output from device node generated to switch lights on or similar.
ACTUAL RESULTS
Nothing.
maybe somebody is able to help. Thanks in advance!

Hey there,
it seems that at least device nodes do not work in subflows. So this is my issue.
Kind regards


Easy way to duplicate tab and preserving current working directory

Description of the new feature/enhancement
Feature:

I open Terminal.
I work a bit and I often need to open the same tab again with the same working directory.

Typically I need this to do some minor task and I don't want to navigate away from my opened tab just to return back again. This is easy with Ubuntu terminal where I just press CTRL+SHIFT+T to duplicate the tab as specified earilier.
Notes:

I'm not sure there is a way to do that with Terminal now. Please let me know if Terminal can already do it.
I'm not sure whether other people work in similar fashion so I'm not sure how large the target audience would be.
I find this behavior useful for all sorts of tabs (Windows PowerShell tab, any WSL tab, etc.).

Proposed technical implementation details (optional)
Unfortunately not.

There's #3158 for this particular issue and I've filed #7668 which is a working proposal. You'll find a lots of useful info in those two threads. Unfortunately due to various technical issues I don't think this feature can be shipped very soon. Sorry about that 😓 .

Thank you! I'll subscribe the issue. Would love that feature :-)


Initialize and populate MongoDB

As a developer
I need to initialize and populate MongoDB with initial data
So that the database is ready for testing and development purposes
Details and Assumptions
* MongoDB instance is set up and accessible.
* Sample data schema and data points are defined.

Acceptance Criteria
gherkin
Given MongoDB is set up,
When the initialization script runs,
Then MongoDB should be populated with the initial data.

Done the db is populated


Valar token not cleared when character jump back to hand

I had a Rhaegal in play with a Valar Morghulis token (by Jaqen) on him. I jumped him back in hand using The Iron Bank Will Have Its Due. Next turn I've played Rhaegal again (Jaqen was gone by then) and he entered play with the Valar Morghulis token still on him. Moving Rhaegal in and out the discard pile cleared the token.

Pretty sure this is a dupe of #1550, which was already fixed by #1566, which hasn't been deployed yet.

Ah, that explains it, thanks.
I was aware of that issue, but I thought it had already been deployed (and so not completely fixed).
Closing this as duplicate then.


group_vars/webservers

Hi
i need some clarification with this. This path does not exist so i guess i have to create a folder called group_vars and inside that folder create the webservers yaml like in your example :+1:
in group_vars/webservers.yml you would open up port 80:
firewall_v4_group_rules:
400 allow web traffic:
- -A INPUT -p tcp --dport http -j ACCEPT
problem is when i run the play i get this error
ERROR! playbooks must be a list of plays and it complains about this line :
firewall_v4_default_rules:
^ here

As discussed via emails, this is an issue with your lack of knowledge regarding Ansible. I was cooperative and redirected you to everything you needed to know to get started.
Asking me a third time, with so short time between the requests, makes me believe you do not want to learn Ansible on your own and are asking others to write your organisation roles on your behalf. Especially that in those emails, your "question" was not really a question but an explanation of your needs and a request to give you the final solution.
Please take some kind of responsibilities as a developer.
Your behaviour is disrespectful and selfish.

When somebody can't do it for you, you ask another somebody I guess: https://github.com/geerlingguy/ansible-role-firewall/issues/23


Ratio mode - activate Interpretations tools

The WM and Plot-any-two expressions functionality would be very helpful to have in Ratio mode.  Ideally both these types of plots would be available for both RM and Unknowns (currently plot-any-two expressions is only for RM).

Closing this issue as it has been supplanted by a more recent one.


Supplemental GIDs

Image manifest allows me to spec what GID to run as, but does not allow me to add supplemental groups.  This is important for many reasons, not the least of which is disk quota management.

How exactly do you reconcile this with #340 ?

You can have supplemental GIDs without doing an nsswitch lookup.
On Tue, May 5, 2015 at 10:21 AM, Jonathan Boulle<EMAIL_ADDRESS>wrote:

How exactly do you reconcile this with #340
https://github.com/appc/spec/issues/340 ?
—
Reply to this email directly or view it on GitHub
https://github.com/appc/spec/issues/339#issuecomment-99147516.

+1, supplemental GIDs are available as a systemd exec unit, but it would be great if I can put them in the appc manifest:
http://www.freedesktop.org/software/systemd/man/systemd.exec.html#SupplementaryGroups=

solid
LGTM


Added new release funtionality

Pull Request Test Coverage Report for Build 910319381

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

Totals

Change from base Build 910274206:
0.0%

Covered Lines:
1321

Relevant Lines:
1328

💛  - Coveralls


Use copy task instead of OS commands so it builds on OSX

cp -uv is run on OSX, but the option -u is not available in OSX, so I'm using the copy task which works cross operating system. It lets msbuild take care of operation system copying functionality.

Hi @shakdoesgithub, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@shakdoesgithub thanks for your contribution.
"DependsOn" does not seem like a valid attribute to Target element. https://msdn.microsoft.com/en-us/library/t50z2hka.aspx and that is failing the build of your PR in AppVeyor/Windows. It seems to work find in Travis/Linux builds though.

Thanks for the help @skaarthik, doing another build now with the updated attribute.

Current coverage is 80.92% (diff: 100%)

Merging #567 into master will increase coverage by 0.01%

@@             master       #567   diff @@
==========================================
  Files            80         80
  Lines          7990       7990
  Methods        1330       1330
  Messages          0          0
  Branches        987        987
==========================================
+ Hits           6465       6466     +1
  Misses         1157       1157
+ Partials        368        367     -1

Powered by Codecov. Last update 3c767bd...e2ae0bb


Remove section "Concurrent Interactive Transactions May Timeout"

Describe this PR
It looks like this section is able to be removed now. I came across this and was confused as to whether or not it was fixed until I read through the related PRs and saw that it was resolved.
Changes
N/a
What issue does this fix?
N/a
Any other relevant information
Initial GH Issue: https://github.com/prisma/prisma/issues/8707
Related PR: https://github.com/prisma/prisma/pull/10295

Excellent, thanks a lot!


ollama server hangs constantly

My ollama server hangs constantly, as in takes in queries, my gpu makes noise, but doesnt respond back in the jupyter environment unless i restart the ollama process a couple of times, any idea on how to debug what might be making it just hang thiking ? I’m on linux using vs code insider version
Ive set it so that after 20 seconds it restarts the ollama server, it works like 10% of the times though and its very time consuming
Here is the systemctl status ollama.service
● ollama.service - Ollama Service
     Loaded: loaded (/etc/systemd/system/ollama.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2024-02-17 00:50:12 CET; 3min 5s ago
   Main PID: 7148 (ollama)
      Tasks: 21 (limit: 19015)
     Memory: 1.6G
        CPU: 14.581s
     CGroup: /system.slice/ollama.service
             └─7148 /usr/local/bin/ollama serve

feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: freq_base  = 1000000.0
feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: freq_scale = 1
feb 17 00:50:16 ImgOracle ollama[7148]: llama_kv_cache_init: VRAM kv self = 256.00 MB
feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: KV self size  =  256.00 MiB, K (f16):  128.00 MiB, V (f16):  128.00 MiB
feb 17 00:50:16 ImgOracle ollama[7148]: llama_build_graph: non-view tensors processed: 676/676
feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: compute buffer total size = 159.19 MiB
feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: VRAM scratch buffer: 156.00 MiB
feb 17 00:50:16 ImgOracle ollama[7148]: llama_new_context_with_model: total VRAM used: 4259.56 MiB (model: 3847.55 MiB, context: 412.00 MiB)
feb 17 00:50:16 ImgOracle ollama[7148]: 2024/02/17 00:50:16 ext_server_common.go:151: Starting internal llama main loop
feb 17 00:50:16 ImgOracle ollama[7148]: 2024/02/17 00:50:16 ext_server_common.go:165: loaded 0 images

I'm using something like
from langchain.llms import Ollama
def ask_mistral(question, num_predict=2768, k=25, timeout=20):
            ollama = Ollama(base_url='http://localhost:11434', model="mistral", num_predict=num_predict)
            response = ollama(question)
            return question

but have it so that it retries after 20 seconds, restarting the ollama server by killing the process (that automatically spawns a new ollama instance 2 seconds later) that is working very rarely though.

updating ollama seems to solve this issue?
curl https://ollama.ai/install.sh | sh

@rihp this should have fixed the issue: https://github.com/ollama/ollama/pull/2459
Are you using v0.1.25 of ollama?

Upgrading to 1.25 lowered the frequency of the issue, i'll share logs later this week!

This repo is for the python client library. For server issues, please see ollama/ollama


operator ibm-security-verify-access-operator (22.10.0)

Signed-off-by: asha<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@ashashiv please fix full path image ibmcom/verify-access-operator:22.10.0 . Probably add registry hostname. Thanks

/merge possible

/merge possible

@ashashiv waiting for reviewers

@ashashiv waiting for reviewers to approve

@mvalarh  Sure, thanks

@isamdev1,@scottexton , please approve as you are original reviewer(s).

@J0zi I approve - I just don't have permission to create and mark a code review request as approved on this PR.

@scottexton after approve, you can make issue as draft and then ready for review. In this way you will get authorized-changes label and it will be automerged

/merge possible

/merge possible

/merge possible

@scottexton i think anybody can do review by going to Files changed tab and on top right there is green button Review changes, then mark it as approved. After approval one (at least author) can do following

@mvalarh Unfortunately I don't have permission to do this.  I don't have an 'approved' option in the code review and can only adda comment.

@mvalarh Here is what I mean:


Update dotnet SDK

Codecov Report

Merging #26 (3168c09) into master (e133359) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3168c09 differs from pull request most recent head 4662efa. Consider uploading reports for the commit 4662efa to get more accurate results

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   95.18%   95.18%
=======================================
  Files          36       36
  Lines         395      395
  Branches       12       12
=======================================
  Hits          376      376
  Misses         15       15
  Partials        4        4

Continue to review full report at Codecov.

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


This library doesn't seem to support OnResourceRequested

How do you pass other phantom specific options through?
http://phantomjs.org/api/webpage/handler/on-resource-requested.html

I am afraid there is no way to do it with current implementation.
Feel free to send a PR add this option.
However as phantomjs development is anyway stopped, I would suggest to take a look elsewhere.


[broker] Fix bug where producer for geo-replication is not closed when topic is unloaded

Motivation
When a topic is unloaded and moved to another broker, the producer for geo-replication often remains unclosed. Because of this, geo-replication is not possible on the broker to which the topic was moved and messages accumulate in the replication backlog.
18:56:55.166 [pulsar-io-21-6] ERROR o.a.pulsar.client.impl.ProducerImpl  - [persistent://xxx/yyy/zzz] [pulsar.repl.dc2] Failed to create producer: Producer with name 'pulsar.repl.dc2' is already connected to topic

When this issue occurs, the following log is output on the broker where the topic is unloaded.
17:14:36.424 [bookkeeper-ml-workers-OrderedExecutor-18-0] INFO  o.a.p.b.s.persistent.PersistentTopic - [persistent://xxx/yyy/zzz] Un-fencing topic...

Unloaded topics are usually fenced to prevent new clients from connecting. In this case, however, the producers reconnected to the topic because it had been unfenced, and the replicator was restarted.
I think this is due to https://github.com/apache/pulsar/pull/5271. If a topic is fenced to close or delete, we should not unfence it.
Modifications
When closing or deleting the PersistentTopic instance, set the isClosingOrDeleting flag to true. If isClosingOrDeleting is true, do not unfence the topic unless closing or deleting fails.

@jiazhai @Jennifer88huang , i think we should update it in our doc. could you please help add the doc-required label to follow?

@Huanli-Meng  I don't think the documentation needs to be updated for this change. What updates do you think the documentation needs?

@Huanli-Meng I don't think we need to add documentation here.


GH Workflow for building and pushing docker image

Problem
The official API Server of Ferdium (https://api.ferdium.org/) is currently running through the docker image provided by https://hub.docker.com/repository/docker/ferdium/ferdium-server.
As described in #31 the current process for updating the official server is:

locally pulling the new commits
building a new docker image locally
pushing the new docker image to the registry docker hub manually
delete the old docker image on the server
run the new docker image

This process is also totally non-sense and automation is very much in need.
Proposed Solution
My proposal is to create a GH Action for this workflow so that the image can be built and pushed to the registry docker hub automatically. Then, we should be able to check on the server side if a new version is available, stop the container, get the new image and start the container again with the new image.
Any thoughts on this? Do you agree?

I like this automated approach better than #31
For checking and restarting the docker container - will we need to go with fargate-like solution? Or are you thinking of doing this part in a cron job? will cron have the required permissions to stop and start a new container?

I like this automated approach better than #31

I think this is a different thing because, in my opinion, the server image shouldn't be upgraded when there is any change on the recipes submodule. It only needs upgrading when there is a version bump in this repo.
So, my approach is to try to update the recipes folder locally inside the container when it is needed and only stop and starting the container when a new version of the server API is released. Do you agree?

For checking and restarting the docker container - will we need to go with fargate-like solution? Or are you thinking of doing this part in a cron job? will cron have the required permissions to stop and start a new container?

Maybe we can try to achieve this using portainer (currently I'm using it to manage the server more easily). There is a feature called Edge Jobs (https://docs.portainer.io/v/be-2.10/user/edge/jobs) that possibly can be used for stopping the container, removing the image, and starting the stack again with the latest image from the hub.

So, my approach is to try to update the recipes folder locally inside the container when it is needed and only stop and starting the container when a new version of the server API is released. Do you agree?

Yes - but, this can happen only if the recipes folder is mounted as a volume on the container - and not baked into the image itself.

So, my approach is to try to update the recipes folder locally inside the container when it is needed and only stop and starting the container when a new version of the server API is released. Do you agree?

Yes - but, this can happen only if the recipes folder is mounted as a volume on the container - and not baked into the image itself.

https://github.com/ferdium/ferdium-server/pull/33 makes sure to always pull the newest version. To have two volumes (one for data and another one for recipes) can be a requirement to run this docker image, so that the user persists the data.

When #34 is merged and we release a new image automatically, I'll check if the server updated as well. I implemented a webhook using Portainer for each container (Server and Debugger) and linked it to our Dockerhub account.
If everything works as planned this issue can be closed. Thank you @vraravam and @santhosh-chinnasamy for your suggestions and help!

So... The automation with the webhook didn't work and broke the server. I've disabled that for the time being.
The workflow action isn't running properly as well and it is pushing every commit of the repo. This needs fixing

@SpecialAro I have a workaround for actions triggered for each commit, we can setup a manual trigger instead of automatic action trigger. I haven't done this but read about it.
check https://levelup.gitconnected.com/how-to-manually-trigger-a-github-actions-workflow-4712542f1960

@santhosh-chinnasamy - Nice find! I would suggest that you do the changes and run it in your fork, and then raise the PR in the main repo with the successful run of your Action as proof. That way, you can do this independent of @SpecialAro 's interaction.

Alright @vraravam , I'll work on it.


RX100M5 can't select language

It can be select other languages like English, korean... but when I scroll down try to find Chinese, the camera will reboot when pass one language (sorry i dont know, like what's that)

The same problem has been occured in RX100M4 with framework 2.0.
After install tweak, It can not be scroll down to Chinese.

Also same issue happened on my new a6500...

@stantang986 wish the author can fix this problem.

I have the same issue in the RX10III. (JP version)
It seems like some language pages have yet to be included in the firmware.


[d3d9] Jade Empire rendering issue

I've recorded the issue in the game's main menu, but the same behaviour shows up during the actual game as well.
Jade Empire main menu with dxvk
Jade Empire main menu with WineD3D
The second video was recorded in the same Wine prefix, after uninstalling dxvk.
As a side note, I also get extremely similar artifacts in The Witcher EE (this time only in game, the main menu looks fine). Other Bioware Aurora engine titles may similarly be affected.
Both Jade Empire and The Witcher EE work fine in a clean Wine Staging prefix (with a slight CPU affinity issue affecting Jade Empire, but that's beside the point).
Software information
Jade Empire (GOG version, with the latest official patch).
System information

GPU: GeForce GTX 1070
Driver: 435.21.0
Wine version: 5.1 Staging
DXVK version: v1.5.3

Apitrace file(s)
JadeEmpire.trace.tar.xz
Log files

d3d9.log: JadeEmpire_d3d9.log
d3d11.log: N/A
dxgi.log: N/A

435.21.0

Please update your drivers.

435.21.0

Please update your drivers.

Ok, I'm on 440.48.2 now and the issue is still there...

Looks fine for me on master although I did have some work in my tree that may affect it (I pushed that now)
AMD:

NV:

I don't see any validation errors that could be the cause of what you are seeing.
Can you try on master?: https://git.froggi.es/doitsujin/dxvk/-/jobs/1132

Thanks. Not sure what your latest changes were, but it's looking good for me too now. And I also tested The Witcher EE, and it looks good as well, the very similar noisy textures issue is gone. Next time I'll be more patient to wait for the next release, I guess :).


Improvements to our RUM implimentation

These apply to both static and govuk_publishing_components.
Make sure LUX data is captured when a user first accepts the cookie banner
Iniitial data is currently discarded  and the beacon only fires on the 2nd page load. SpeedCurve have guidence on how to handle with cookie banners here.
Remove the CSP workarounds connect-src etc
SC support have stated that they will change the content type of the image early next week so they match, this workaround will then no longer be required.
Double check hard-coded sample rate is set to 1%
I believe we may have a 100% sample rate hard-coded somewhere. e.g. LUX.sampleRate(100). What is currently happening is the JS is sending 100% traffic to SC, the UI is set to 1% so 99% of the beacons are being rejected by the server.
Note on sample rates:
if we want 1% across all pages then it’s best to remove sampleRate() from the JS in our pages and set 1% in the UI settings. Or if we want different sample rates on different pages set targeted sample rates per page using sampleRate() and then use 100% in the settings.
For the moment we should remove the hard-coded sampleRate() and rely on the SC UI to set to 1%.
Todo List:

[x] Make sure LUX data is captured when a user first accepts the cookie banner
[x] Remove the CSP workarounds connect-src etc
[x] Double check hard-coded sample rate is set to 1%

It looks as if LUX defaults to 100% if samplerate isn't set:
https://github.com/alphagov/static/blob/28b60eefae33341866a8e95c4c9425828b4eae75/app/assets/javascripts/libs/lux/lux.js#L75
This can be fixed by setting the samplerate variable inside the main LUX function - I'll raise a pull request to do that.

With the release of v24.15.0 of the components gem, the sampling rate for LUX has been now set to 1% instead of the default 100%.
As the gem verison of LUX is now being used by Static, the bump to v24.15.0 of the gem should fix the sampling rate issue across all of the frontend apps regardless of the template that is being used.

When running LUX.forceSample() locally the response has a content type of image/webp - I haven't been able to verify this on production as I'm not being sampled, but I think it'd be the same as the change is on SpeedCurve's server.

A user's first page visit is now measured after (and only after) they've consented to the appropriate cookies.
This was released in v24.18.1 of the components gem, which was then bumped in Static in #2539.

I've raised a pull request to remove the lux.speedcurve.com domain from the connect-src content security policy: https://github.com/alphagov/govuk_app_config/pull/216

I've raised a pull request to remove the lux.speedcurve.com domain from the connect-src content security policy: alphagov/govuk_app_config#216

This pull request to sort out govuk_app_config has been merged in and released (https://github.com/alphagov/govuk_app_config/pull/220) - this will be winging its way to all of the frontend applications over the next day or so thanks to dependabot.

Awesome work as always @injms! Closing issue as all fixed!


Pressing "Esc" in the "Services" window removes all enabled services

When the "Services" window is opened (when connected to the node via SSH), clicking "Esc" on the keyboard not only deselects all services, but also confirms the "decision", and restarts the node with all services disabled. It should definitely not do that just by a single click without any confirmations. (I clicked "Esc" expecting it would cancel / close the window, and instead lost all the configuration of all the services I have previously set up)

Thanks for the testing. I use the "dialog" tool/command for the service screen.
https://www.linuxjournal.com/article/2807
The ESC situation is not optimal. Also a lot of people were confused that the single services need to be selected with SPACE first before you hit ENTER.
There is a alternative to "dialog" called "whiptail" ... for the version 1.1 release it would be an idea to quick check if a change on the services to whiptail can ease some pain:
https://www.techrepublic.com/blog/linux-and-open-source/how-to-use-whiptail-to-write-interactive-shell-scripts/

Maybe a problem is: "When the user confirms their selections, a list of the choices is printed to stderr." (whiptail and dialog behave like this)
You can't tell if there is an empty list or if the user exited without confirming.
Maybe instead of checklist, we need a regular menu that says "install RTL" / "uninstall RTL" depending on the current state. This makes the action a little more clear to the user while at the same time communicating if it is installed or configured.

this was solved. The dynamic choices are also implemented in some cases, but UX focus moved to the webUI


Improve test run output on standard-out

The output as printed on standard-out should facilitate viewers in debugging their code on test failures.
It needs to be as easy as possible to determine for each test failure:

which specification was the subject of the test, containing a specification reference and a direct quote of the relevant text.
what test assertion failed
where the XMPP stanza log is for the test that fails.

Viewers need not be familiar with our test implementations (or even Smack, or Java). We can/should still reference the implementation as a last resort.
This is achieved by replacing SINT's standard Test Run Result processor (org.igniterealtime.smack.inttest.SmackIntegrationTestFramework\$JulTestRunResultProcessor) with a new, custom implementation: org.igniterealtime.smack.inttest.util.StdOutTestRunResultProcessor

As an example of a test run that includes a bunch of failures, I executed the tests against an older version of Openfire. This was the output generated by the changes in this PR:
Test run (id :zu8p7) finished! 156 tests were successful (✔), 7 failed (💀), and 36 were impossible to run (✖).

Results aggregated by specification:
• (noname)  8 ✔  0 💀   0 ✖
• RFC 6120  3 ✔  0 💀   0 ✖
• RFC 6121 11 ✔  0 💀   0 ✖
• XEP-0030 15 ✔  4 💀   0 ✖
• XEP-0045 65 ✔  0 💀   0 ✖
• XEP-0048  1 ✔  0 💀   0 ✖
• XEP-0050  4 ✔  0 💀   0 ✖
• XEP-0054  7 ✔  3 💀   0 ✖
• XEP-0060 22 ✔  0 💀   2 ✖
• XEP-0080  2 ✔  0 💀   0 ✖
• XEP-0085  1 ✔  0 💀   0 ✖
• XEP-0092  1 ✔  0 💀   0 ✖
• XEP-0096  2 ✔  0 💀   0 ✖
• XEP-0107  2 ✔  0 💀   0 ✖
• XEP-0115  0 ✔  0 💀   8 ✖
• XEP-0118  2 ✔  0 💀   0 ✖
• XEP-0199  2 ✔  0 💀   0 ✖
• XEP-0215  0 ✔  0 💀   6 ✖
• XEP-0313  0 ✔  0 💀   2 ✖
• XEP-0347  1 ✔  0 💀   1 ✖
• XEP-0352  6 ✔  0 💀   0 ✖
• XEP-0363  0 ✔  0 💀  12 ✖
• XEP-0374  1 ✔  0 💀   1 ✖
• XEP-0384  0 ✔  0 💀   4 ✖

✖ The following tests were impossible to run! ✖
• XEP-0060: could not run 2 test(s) because: Feature 'multi-subscribe' allowed on the server (this test verifies behavior for when it's not).
• XEP-0060: could not run 2 test(s) because: Deleting a pubsub node is optional functionality that does not seem to be supported by this server. It does not announce the 'http://jabber.org/protocol/pubsub#delete-items' feature.
• XEP-0384: could not run 4 test(s) because: No OmemoService registered.
• XEP-0374: could not run 1 test(s) because: Server does not support the 'whitelist' PubSub access model.
• XEP-0363: could not run 1 test(s) because: HttpFileUploadManager was unable to discover a HTTP File Upload service
• XEP-0363: could not run 11 test(s) because: Unable to find any service on domain that supports XEP-0363: HTTP File Upload.
• XEP-0115: could not run 8 test(s) because: Domain does not seem support XEP-0115 Entity Capabilities.
• XEP-0313: could not run 2 test(s) because: Message Archive Management (XEP-0313) is not supported by the server.
• XEP-0347: could not run 1 test(s) because: Could not find IoT Registry
• XEP-0215: could not run 6 test(s) because: Unable to find any service on domain that supports XEP-0215 External Service Discovery.

💀 The following 7 tests failed! 💀
• XEP-0030, section 8 "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#info request, the server MUST return a <service-unavailable/> error if [...] [t]he requesting entity is not authorized to receive presence from the target entity."
  Failure reason  : Expected the disco#info request from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>(which has not granted presence subscription to the requestor) to be responded to with an error (but it was not).
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryInfoWithoutPresenceSubscriptionBareJidWithoutNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryInfoWithoutPresenceSubscriptionBareJidWithoutNode

• XEP-0030, section 8 "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#info request, the server MUST return a <service-unavailable/> error if [...] [t]he requesting entity is not authorized to receive presence from the target entity."
  Failure reason  : Unexpected condition in (expected) error response to the disco#info request from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>(which has not granted presence subscription to the requestor). ==> expected: <service-unavailable> but was: <item-not-found>
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryInfoWithoutPresenceSubscriptionBareJidWithNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryInfoWithoutPresenceSubscriptionBareJidWithNode

• XEP-0030, section 8 "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#items request, the server MUST return an empty result set if [...] [t]he target entity does not exist."
  Failure reason  : XMPP error reply received from<EMAIL_ADDRESS>XMPPError: service-unavailable - cancel
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryItemsNonExistingEntityBareJidWithoutNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryItemsNonExistingEntityBareJidWithoutNode

• XEP-0030, section 8 "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#items request, the server MUST return an empty result set if [...] [t]he target entity does not exist."
  Failure reason  : XMPP error reply received from<EMAIL_ADDRESS>XMPPError: service-unavailable - cancel
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryItemsNonExistingEntityBareJidWithNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryItemsNonExistingEntityBareJidWithNode

• XEP-0054, section 3.2 "If a user attempts to perform an IQ set on another user's vCard (i.e., by setting a 'to' address to a JID other than the sending user's bare JID), the server MUST return a stanza error [...]"
  Failure reason  : Expected the server to return an error when<EMAIL_ADDRESS>tried to set a vcard for someone else<EMAIL_ADDRESS>(but the server did not).
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testUpdateOtherUsersVCard (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testUpdateOtherUsersVCard

• XEP-0054, section 3.3 "If no vCard exists [...] the server MUST return a stanza error,"
  Failure reason  : Expected the server to return an error when<EMAIL_ADDRESS>requested a vcard from a user that does not have one<EMAIL_ADDRESS>(but the server did not).
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testForErrorWhenRecipientHasNoVCard (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testForErrorWhenRecipientHasNoVCard

• XEP-0054, section 3.3 "If no vCard exists or the user does not exist, the server MUST return a stanza error, which SHOULD be either <service-unavailable/> or <item-not-found/> (but the server MUST return the same error condition in both cases to help prevent directory harvesting attacks)."
  Failure reason  : Cannot invoke "org.jivesoftware.smack.packet.StanzaError.getCondition()" because "errorNonExistingVCard" is null
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testForErrorEquality (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testForErrorEquality

If we do accept this, we need to update the documentation in the website.

I kinda like the title of the specification to be included, but I'm not immediately seeing a good way to format that. Suggestions?

This is fiddly, but I added the titles of specifications (cutting them off if they're above a particular length):
Test run (id: z4z6v) finished! 156 tests were successful (✔), 7 failed (💀), and 36 were impossible to run (✖).

Results aggregated by specification:
•                                                                                8 ✔  0 💀   0 ✖
• RFC6120: Extensible Messaging and Presence Protocol (XMPP): Core                   3 ✔  0 💀   0 ✖
• RFC6121: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging ... 11 ✔  0 💀   0 ✖
• XEP-0030: Service Discovery                                                       15 ✔  4 💀   0 ✖
• XEP-0045: Multi-User Chat                                                         65 ✔  0 💀   0 ✖
• XEP-0048: Bookmarks                                                                1 ✔  0 💀   0 ✖
• XEP-0050: Ad-Hoc Commands                                                          4 ✔  0 💀   0 ✖
• XEP-0054: vcard-temp                                                               7 ✔  3 💀   0 ✖
• XEP-0060: Publish-Subscribe                                                       22 ✔  0 💀   2 ✖
• XEP-0080: User Location                                                            2 ✔  0 💀   0 ✖
• XEP-0085: Chat State Notifications                                                 1 ✔  0 💀   0 ✖
• XEP-0092: Software Version                                                         1 ✔  0 💀   0 ✖
• XEP-0096: SI File Transfer                                                         2 ✔  0 💀   0 ✖
• XEP-0107: User Mood                                                                2 ✔  0 💀   0 ✖
• XEP-0115: Entity Capabilities                                                      0 ✔  0 💀   8 ✖
• XEP-0118: User Tune                                                                2 ✔  0 💀   0 ✖
• XEP-0199: XMPP Ping                                                                2 ✔  0 💀   0 ✖
• XEP-0215: External Service Discovery                                               0 ✔  0 💀   6 ✖
• XEP-0313: Message Archive Management                                               0 ✔  0 💀   2 ✖
• XEP-0347: Internet of Things - Discovery                                           1 ✔  0 💀   1 ✖
• XEP-0352: Client State Indication                                                  6 ✔  0 💀   0 ✖
• XEP-0363: HTTP File Upload                                                         0 ✔  0 💀  12 ✖
• XEP-0374: OpenPGP for XMPP Instant Messaging                                       1 ✔  0 💀   1 ✖
• XEP-0384: OMEMO Encryption                                                         0 ✔  0 💀   4 ✖

✖ The following tests were impossible to run! ✖
• XEP-0060: could not run 2 test(s) because: Feature 'multi-subscribe' allowed on the server (this test verifies behavior for when it's not).
• XEP-0060: could not run 2 test(s) because: Deleting a pubsub node is optional functionality that does not seem to be supported by this server. It does not announce the 'http://jabber.org/protocol/pubsub#delete-items' feature.
• XEP-0384: could not run 4 test(s) because: No OmemoService registered.
• XEP-0374: could not run 1 test(s) because: Server does not support the 'whitelist' PubSub access model.
• XEP-0363: could not run 1 test(s) because: HttpFileUploadManager was unable to discover a HTTP File Upload service
• XEP-0363: could not run 11 test(s) because: Unable to find any service on domain that supports XEP-0363: HTTP File Upload.
• XEP-0115: could not run 8 test(s) because: Domain does not seem support XEP-0115 Entity Capabilities.
• XEP-0313: could not run 2 test(s) because: Message Archive Management (XEP-0313) is not supported by the server.
• XEP-0347: could not run 1 test(s) because: Could not find IoT Registry
• XEP-0215: could not run 6 test(s) because: Unable to find any service on domain that supports XEP-0215 External Service Discovery.

💀 The following 7 tests failed! 💀
• XEP-0030: Service Discovery, Section 8
      "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#info request, the server MUST return a <service-unavailable/> error if [...] [t]he requesting entity is not authorized to receive presence from the target entity."
  Failure reason  : Expected the disco#info request from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>(which has not granted presence subscription to the requestor) to be responded to with an error (but it was not).
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryInfoWithoutPresenceSubscriptionBareJidWithoutNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryInfoWithoutPresenceSubscriptionBareJidWithoutNode

• XEP-0030: Service Discovery, Section 8
      "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#info request, the server MUST return a <service-unavailable/> error if [...] [t]he requesting entity is not authorized to receive presence from the target entity."
  Failure reason  : Unexpected condition in (expected) error response to the disco#info request from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>(which has not granted presence subscription to the requestor). ==> expected: <service-unavailable> but was: <item-not-found>
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryInfoWithoutPresenceSubscriptionBareJidWithNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryInfoWithoutPresenceSubscriptionBareJidWithNode

• XEP-0030: Service Discovery, Section 8
      "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#items request, the server MUST return an empty result set if [...] [t]he target entity does not exist."
  Failure reason  : XMPP error reply received from<EMAIL_ADDRESS>XMPPError: service-unavailable - cancel
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryItemsNonExistingEntityBareJidWithoutNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryItemsNonExistingEntityBareJidWithoutNode

• XEP-0030: Service Discovery, Section 8
      "The following rule[s] apply to the handling of service discovery requests sent to bare JIDs: In response to a disco#items request, the server MUST return an empty result set if [...] [t]he target entity does not exist."
  Failure reason  : XMPP error reply received from<EMAIL_ADDRESS>XMPPError: service-unavailable - cancel
  Stanza log file : ./target/logs/ServiceDiscoveryIntegrationTest.testQueryItemsNonExistingEntityBareJidWithNode (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0030.ServiceDiscoveryIntegrationTest
  Test method     : testQueryItemsNonExistingEntityBareJidWithNode

• XEP-0054: vcard-temp, Section 3.2
      "If a user attempts to perform an IQ set on another user's vCard (i.e., by setting a 'to' address to a JID other than the sending user's bare JID), the server MUST return a stanza error [...]"
  Failure reason  : Expected the server to return an error when<EMAIL_ADDRESS>tried to set a vcard for someone else<EMAIL_ADDRESS>(but the server did not).
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testUpdateOtherUsersVCard (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testUpdateOtherUsersVCard

• XEP-0054: vcard-temp, Section 3.3
      "If no vCard exists [...] the server MUST return a stanza error,"
  Failure reason  : Expected the server to return an error when<EMAIL_ADDRESS>requested a vcard from a user that does not have one<EMAIL_ADDRESS>(but the server did not).
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testForErrorWhenRecipientHasNoVCard (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testForErrorWhenRecipientHasNoVCard

• XEP-0054: vcard-temp, Section 3.3
      "If no vCard exists or the user does not exist, the server MUST return a stanza error, which SHOULD be either <service-unavailable/> or <item-not-found/> (but the server MUST return the same error condition in both cases to help prevent directory harvesting attacks)."
  Failure reason  : Cannot invoke "org.jivesoftware.smack.packet.StanzaError.getCondition()" because "errorNonExistingVCard" is null
  Stanza log file : ./target/logs/VCardTempIntegrationTest.testForErrorEquality (Normal).log
  Test class      : class org.igniterealtime.smack.inttest.xep0054.VCardTempIntegrationTest
  Test method     : testForErrorEquality


fluidframework License points to wrong file

the license link on the website should resolve to https://github.com/microsoft/FluidFramework/blob/main/LICENSE instead it resolves to https://github.com/microsoft/FluidFramework/blob/main/LICENSE.txt

Fixed with #3553


NDRS-1061, CEP 40: Simplify block types and remove redundant fields.

This deduplicates the timestamp, height and parent information in the consensus proposal messages and replaces ProtoBlock and CandidateBlock with a single BlockPayload type.
That also means the mem_proto_block_validator metric gets renamed to mem_block_payload_validator.
CEP 40
https://casperlabs.atlassian.net/browse/NDRS-1061

bors r+

bors merge

bors merge

bors merge

bors try

bors r+

bors try

bors ping


Add a slugify filter

I cannot think of a template I wrote that didn't need such a filter 🙂
I usually write a very naive one myself:
repository_name:
  type: str
  help: Your repository name
  default: "[[ project_name|lower|replace('_', '-')|replace(' ', '-') ]]"

But it will break in so many cases.
As an alternative, if we don't want to support more and more filters in copier, maybe we could think of allowing custom filters to be used. Take a look at https://github.com/mattrobenolt/jinja2-cli/pull/86, it allows this use of jinja2-cli:
jinja2 -f ansible.plugins.filter.ipaddr.ipaddr test.txt

In copier's case, we would not be able to load the filter using its Python dotted-path, so we would have to think of another way to add it to the Jinja environment.

Makes sense.
I also wonder if we could reuse Ansible's filters and tests, which are amazing.

I recently saw that pyyaml allows to load Python objects directly: https://pyyaml.org/wiki/PyYAMLDocumentation#yaml-tags-and-python-types
This could be useful. The user could pass !!python/module:my_filters and we could add the all the functions defined in this module as filters in the jinja env, or something similar :slightly_smiling_face:

As described in #277: I'd like to be able to implement custom filters for e.g. generating a secret with hmac:
import binascii, hashlib, hmaci
hmac.new(binascii.unhexlify(key), msg.encode(), hashlib.sha256).hexdigest()

Until today, although copier is made with python, it remained language-agnostic.
Adding custom filters or tests imported through Python seems a very good option, but I'm wondering if an exec function that runs a system executable would be better... so someone that only knows js can still drop in an executable js file and get its stdout into the template...
Opinions?

BTW I opened https://github.com/copier-org/copier/projects/1. I hope you get some hype 😂😂
If you want to collaborate on any issue... thanks!

Adding custom filters or tests imported through Python seems a very good option, but I'm wondering if an exec function that runs a system executable would be better... so someone that only knows js can still drop in an executable js file and get its stdout into the template...

This sounds good to me! :)

Note to self: https://pypi.org/project/jinja2-ansible-filters/ provides ansible filters directly pluggable into jinja.

Note to self: https://pypi.org/project/jinja2-ansible-filters/ provides ansible filters directly pluggable into jinja.

I think I'd be OK with both.
I've seen these 2 that seem to be quite useful:

https://pypi.org/project/lektor-slugify/
https://pypi.org/project/jinja-atoms/

I think I'd be OK with both.

Great! I'll try to send a PR with that slugify filter then.

I've seen these 2 that seem to be quite useful:

The lektor one seems to be a plugin specific to Lektor itself. It uses python-slugify which is much more powerful than the function from Django above. If you'd prefer having this power in a built-in Copier filter, we can make Copier depend on python-slugify as well 🙂

I thought a bit about how to allow template writers to use additional Jinja extensions/filters.

for custom filters, easy, you can have a Python file in your template and tell Copier to load it through some option/hook
for extensions/filters available as packages (like the standalone ansible filters package), less easy:

should the writer list the packages in copier.yml, and Copier would install them itself? meh.
should the writer setup git submodules pointing to other repositories? meh.
should each template document what packages are needed, and ask users to install these packages themselves? meh a bit. For example, if my template depends on python-slugify, I'd tell users to do pipx inject copier python-slugify.

The thing that worries me is the maintenance. I know slug is not an extremely complex function, but I'd be much more glad to include a filters package maintained by the community, than to have to include filters manually here. We already have a couple of them and I'm not very happy with that. 😕

this is what cookiecutter does

It seems cookiecutter already implemented a dynamic extension system with some plugins... Maye we could include them too? We both use Jinja, so it would be nice to be compatible at this level.

You're right, let's avoid maintenance. In any case we want writers to be able to load additional Jinja things, so in the end we won't need to provide more built-in filters.
We can totally get inspiration from Cookiecutter. What they do is:

allow writers to add dotted-paths to extension classes in a config option (for us it would be something like _extensions: [path1, path2])
define a subclass of jinja environment to load extensions reading this config option: https://github.com/cookiecutter/cookiecutter/blob/master/cookiecutter/environment.py
they also provide default extensions that are built in, such as the jsonify filter: https://github.com/cookiecutter/cookiecutter/blob/master/cookiecutter/extensions.py#L10

I think it looks awesome!
You can add cookiecutter as a dependency if that means less code 😊 (I think it already is, just not directly).

Maybe to_nice_yaml and make_secret could be remade into such extensions, just for consistency.

make_secret and https://github.com/cookiecutter/cookiecutter/blob/52dd18513bbab7f0fbfcb2938c9644d9092247cf/cookiecutter/extensions.py#L23 seem the same. We can provide a backwards-compatibility path for the v6 major release cycle, and then later just use their implementation.
Regarding to_nice_yaml, I can see in https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters/-/tree/9bc8fcc3950008bee9ebc06d0aae801f84437e2a#include-into-cookiecutter that it should be perfectly compatible with our new approach, so maybe we can include those extensions by default to let our users continue using the ubiquitous to_nice_yaml, while getting some other useful filters for free and letting us maintain less code?

That's exciting 😄 New features with less code!
We can depend on cookiecutter yes, if you're okay with its own dependencies:
requirements = [
    'binaryornot>=0.4.4',
    'Jinja2<3.0.0',
    'click>=7.0',
    'poyo>=0.5.0',
    'jinja2-time>=0.2.0',
    'python-slugify>=4.0.0',
    'requests>=2.23.0',
    'MarkupSafe<2.0.0',
]

Yes, no problem on that. I tend to think that storage is cheap and time is expensive. 🤷🏼♂


Remove packages if they go stale or become unsuitable

a workflow to check the contents of directory/ against npm-data/maintained-plugins.json

done


Laravel Array Validate Issue

My request input is below
$inputs = [
    'items' => [
        [
            'sku' =><PHONE_NUMBER>883,
            'style' => 'NWMS12',
        ],
        [
            'style' => 'NWMS00',
        ]
    ]
];

My rules:
$rules = [
    'items.*.sku' => 'required'
]

items.1 is missing sku attribute but the validator does not show any error

What code are you using to validate?

Missing keys are not supported, I created a pull request to fix this issue:
https://github.com/laravel/framework/pull/11885
However my solution only fixes the required rule but neglects the sometimes rule, I'll fix it and push again.

OK . Thank themsaid


Support terminal link provider to handle python error stacks

Type: Bug

Behaviour
Expected vs. Actual
When running python in debug mode, the resulting error messages have links to the error files, but clicking on the links does absolutely nothing.
Expected:

I click on a  link that appears in debug output. It should open up a new tab with the linked file

Actual:

Nothing happens

Steps to reproduce:

Created the following test scripts
main.py:

from utils.foo import multiply

def main():
    v = multiply(5,6)
    print(f"{v}")

if __name__ == "__main__":
    main()

utils/foo.py:
def multiply(a: int, b: int) -> int:
    raise ValueError("Help")
    return a*b;

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.14
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
Value of the python.languageServer setting: Jedi

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

languageServer: "Jedi"

linting
• mypyEnabled: true

formatting
• provider: "black"
• blackArgs: "<placeholder>"

Extension version: 2022.16.1
VS Code version: Code 1.72.0 (Universal) (64bbfbf67ada9953918d72e1df2f4d8e537d340e, 2022-10-04T23:21:58.256Z)
OS version: Darwin arm64 21.6.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 4, 4

Memory (System)
16.00GB (0.06GB free)

Process Argv
--crash-reporter-id 3ce12895-c380-469d-ab23-0e6239a2de95

Screen Reader
no

VM
0%

We need to provide a terminal link provider: https://code.visualstudio.com/updates/v1_49#_terminal-link-providers
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Looks like 7 upvotes have been reached!

Any updates?

@LarsDu  We don't check feature requests until they hit their 60 day point since we solicited for votes, but I went ahead and marked this as having enough votes.

https://github.com/microsoft/vscode-python/issues/13938 has some notes on ideas.
https://docs.python.org/3/whatsnew/3.11.html#pep-657-fine-grained-error-locations-in-tracebacks will let us jump to the column, not just the line.
https://docs.python.org/3.12/whatsnew/3.12.html#improved-error-messages will let us provide quick fixes from the terminal.

@LarsDu there's no need to ask for updates as we will post here when there any (i.e., unfortunately no updates). If you would like to submit a PR for this feature and up for doing one, please do so!


Define workflow order

This PR adds some ordering to the Ubuntu workflow.

Coverage remained the same at 100.0% when pulling af93227192ebe491876bdb8ebf7017739f2e34ee on workflow into bbdb29c6583e9e68f7f2bdce59a7384f061e0e32 on develop.

Closing the PR - this would slow down the builds.


[FIX] Missing content in the dashboard

Closes #98
Modified the colors of the invisible texts to grey.
Preview:

 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.


[Improvement] set engines to prompt the lowest version of node and format code

Why are the changes needed?

Close #xxx.
Brief change log

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi,
Make we should change the required version here:
https://github.com/apache/amoro/tree/master/amoro-ams/amoro-ams-dashboard#requirements
Besides, upgrade the version here:
https://github.com/apache/amoro/blob/master/amoro-ams/amoro-ams-dashboard/pom.xml#L35

Hi,
Mabe we should change the required version here: https://github.com/apache/amoro/tree/master/amoro-ams/amoro-ams-dashboard#requirements
Besides, upgrade the version here: https://github.com/apache/amoro/blob/master/amoro-ams/amoro-ams-dashboard/pom.xml#L35

Done, please review again.


Change bottombar to fit the new mobile responsive design

Summary
This PR implements the new design for the bottombar with the new responsive design. There are two main UI change in the new mobile design:

bottom bar now can span almost full screen on mobile when expanded
Course information now appears before course review and detail.

To make the css more management, I also made some refactoring that moves all the responsive height and width into BottomBar.vue, so it becomes much easier to see different width and heights config in one place.
Test Plan

When the screen is small, should we only have one tab that's not in see more:

Reference design:

In the design the font size of the tab is 14px while the rest is 16px, that's how the design can fit in two tabs. However, I'm not sure whether we should reduce the font size of the tab just to fit in more tabs. Loop in @yuxuanchenn.

Hey gang! I miss you all 🥺. Here's an issue I found on the text in the tabs from the updated bottom bar

@tcho6319 issue fixed. turns out it's due to a missing left: 0


Feature/duende

:white_check_mark: Build TheIdServer 3.0.4-duende1-0030 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/dcd6986d6f by @)


Filter est collection

Currently we are using /organism/est for list of est. What would be a suitable url(rest like resource) to filter that list. For the time being say to get the list of overlapping(contained) ests with a particular gene we are using query parameters ...
/organism/est?gene=id

The above url is already implemented


DOC: Remove CONTRIBUTING note about ApplyClangFormat action

As of 2020-01-08, this action currently does not work from forked
repositories
because the GITHUB_TOKEN has limited
permissions. Branches need to be created on the upstream repository.

The action still could be quite useful in remote module repositories, but it is going to have limited applicability in the ITK repository until GitHub fixes the permissions.


[SPARK-31231][BUILD] Unset setuptools version in pip packaging test

What changes were proposed in this pull request?
This PR unsets setuptools version in CI. This was fixed in the latest setuptools - pypa/setuptools#2046. setuptools <IP_ADDRESS> and <IP_ADDRESS> still have this problem.
Why are the changes needed?
To test the latest setuptools out to see if users can actually install and use it.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Jenkins will test.

Merged build finished. Test PASSed.

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

Test build #120770 has started for PR 28111 at commit 337c948.

Test build #120770 has finished for PR 28111 at commit 337c948.

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

Merged build finished. Test PASSed.

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

Thanks @dongjoon-hyun

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


ability to bundle proxy and server together

make proxy a lib
bundle proxy together with server
by DEFAULT make server communicate over Unix sockets between them

this is proably easiest way to do it short term. long term could
communicate with rust channels too I suppose but UNIX sockets are
definitely fast enough and reduce two different code paths
of course, in production, we will still advise using two different
processes (esp for large events)

Reasoning

makes it easier to develop (especially for new contributors)
makes it easier to do continuous deployment... imagine we have a
Minecraft server that is always running that will always be running
the latest version of the event server for alpha testing.

think @Kumpelinus was talking about this... think would help contributors. feel free to do this whenever you like. (not necessarily a backlog item)

Yeah.  Since it could be discouraging for new contributors it would be a Huge plus to simplify it for development purposes (and maybe smaller-ish projects)

going to close this for now since event is so close. then likely re-open after event.


ARM64 creator-ee images

Summary
Using this on an M1/ARM64 Mac would love to use a ARM64  creator-ee container
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Extension version
v0.14.71
VS Code version
1.71.2
Ansible Version
ansible [core 2.12.5]
  config file = None
  configured module search path = ['/Users/kmf/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/kmf/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.10.7 (main, Sep 14 2022, 22:38:23) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
  jinja version = 3.1.2
  libyaml = True

OS / Environment
macOS Monterey 12.6
Relevant log output
No response

Duplicate of https://github.com/ansible/creator-ee/issues/7


Make the theme editor correctly stop updating after it was hidden

Fixes https://github.com/godotengine/godot/issues/56264.

Thanks!


Peer Review

Description
In this Pull Request, I make the whole work so far available for Peer Review by Senior Fellows.

For your readme, You don't need to document your endpoint if there is an actual documentation.

In your build directory your bundle.js should be gitignore.


Dev

Hey Bob, I've committed my changes here just so you can see where I'm at. I'm basically rebuilding a simplistic version of your code as an exercise in understanding all of the pieces. I've got almost everything in in lathe.py and I've started the beginning of a CLI in cli.py.

Looking good so far but I have a concern with PyVista's icosphere doing its subdivisions recursively.  This dramatically limits our ability to control the density of the mesh points, especially at higher recursion levels.  Meshzoo, on the other hand performs its subdivision by changing the Frequency (class 1) which basically means for each of the icosahedron's original 12 edges, split that edge into N edges, rather than divide the edge by 2, and then each child by 2 again, and again etc.
Top row, recursive subdivision, bottom row frequency subdivision:

(NOTE: a recursion level of 9 is equal to a frequency of 512)
At low levels this isn't a problem but the reason this concerns me is that I'm not certain that we can extract 1km/px maps from only ~2.6 million points.  At Earth's radius, an icosphere of that point density has edge lengths of about 11 to 16 kilometers (mean ~15km) between points so there is no smaller detail to extract.  In a literal sense, yes we can extract a 40k*20k image from 2.6 mil points but making the image bigger wouldn't cause more detail to be present.
Therefore we'd need more than 2 million points, but when using recursive subdivision we don't have the option to go to, say, 3 or 5 million as an example.  The next level of recursion is 10,485,762 points and one level after that is nearly 42 million points, and it only gets worse from there.  With frequency subdivision we can dial in a number of points that more closely matches the desired level of detail without way way overshooting the needed number of points.
Now, with that being said I haven't precisely calculated how many points are required, but some rough math suggests that it takes 250 million points to get a mean distance between points of about 1.5km which is... substantial... ~62 million points would average about 3km between points.  Now, we may not need to go quite that high with the icosphere because 1) the mapping of triangle points to an image (which is a latitude/longitude grid) likely doesn't need to be 1:1 density, and 2) the current image export function takes a distance-weighted average of 3 nearby vertices for each pixel of the image, so this makes a blending or anti-aliasing-like effect that 'fills in the gaps' so to speak.  (There may also be a better technique than this.)
But anyway, the takeaway is that we might need more points and recursive subdivision makes that troublesome the higher we go.


Separate RuntimeError into protocol specific errors

As outlined in the Protocol Specific Errors of the Service Builder Improvements RFC, RuntimeError should be split up into smaller, protocol specific, errors which accurately model the failure cases of each protocol.
In https://github.com/awslabs/smithy-rs/pull/1693 we have used a blanket implementation
impl<Protocol> IntoResponse for RuntimeError

which allows us to continue using RuntimeError for the moment being.
As RuntimeError is behind a #[doc(hidden)] our policy allows us to remove it without classifying it as a breaking change.

Progress towards this, removing the runtime protocol component, has been completed as part of https://github.com/awslabs/smithy-rs/pull/1829


[NCGenerics] Serialization for noncopyable generic types.

This PR covers serialization and deserialization of ~Copyable types when NoncopyableGenerics is enabled. This means that you can now write:
public protocol P: ~Copyable {}

and emit Swift module containing that type, to be imported by another module.
resolves rdar://118947007

@swift-ci please test

https://github.com/apple/llvm-project/pull/7842
@swift-ci please smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test macOS platform

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test linux platform

@swift-ci please smoke test linux platform


Support k8s 1.15.12

Support k8s 1.15.12 for 2.4.x

Validated in v2.4-head and master-head

v1.15.12 is available and has the latest nginx version (v0.32.0)
Standard Rancher functionality continues to work


USHIFT-960: Replace RHEL 8 references by RHEL 9 references

All except Getting Started document, which will be handled in a separate PR
Closes USHIFT-960

/cherrypick release-4.13


[Editor][Request] Insert {Tab} key

I tried to search 2-4 page for this issued but could not spot one so here is my request
I would like insert {tab} key in the text when I am in Space Indent mode.
I could suggest shortcut like Ctrl+Alt+T, Ctrl+Alt+T to trigger this.
Or better, vscode could detect if current cursor is not at start of line then just intercepts tab key as is instead of translate to spaces

This is possible via keybindings. e.g.:
{ "key": "cmd+t", "command": "type", "args": { "text": "\t" }, "when": "editorTextFocus" },


Fix release scripts and package

Description
This is a fix for buildkite CI

This pull request addresses the issue described here: #<?>
incorrect setting manual tag
missing ios/android in final package

In this pull request, I have …

For features/enhancements:

[ ] I have added/updated the relevant references in the documentation files.

For API changes:

[ ] I have made the necessary changes in the types index file.

Let's add the tag to the version name + tag counter (if it isn't latest), i.e. releasing version 20.0.0 with tag smoke should be 20.0.0-smoke.0, next 20.0.0+smoke will be 20.0.0-smoke.1 and so on..

Let's add the prerelease identifier: That is, releasing version 20.0.0 with tag smoke should be 20.0.0-smoke.0, next 20.0.0+smoke will be 20.0.0-smoke.1 and so on.. (same as we had with Jenkins)
Edit: using this: https://github.com/lerna/lerna/blob/main/commands/publish/README.md#--preid

while doing Release, need to select 'prerelease, premajor or preminor'. This will produce 'pre-' version.

Let's add the prerelease identifier: That is, releasing version 20.0.0 with tag smoke should be 20.0.0-smoke.0, next 20.0.0+smoke will be 20.0.0-smoke.1 and so on.. (same as we had with Jenkins)
Edit: using this: https://github.com/lerna/lerna/blob/main/commands/publish/README.md#--preid

while doing Release, need to select 'prerelease, premajor or preminor'. This will produce 'pre-' version.

Ohh right, so we already have it.. nice catch 🙂
That's really confusing (as we have already experienced 😅 ), let's add a note about this (maybe add some hint the release yaml?)

mmm, so after going over this line again: https://github.com/wix/Detox/blob/95700e061cbc73a8bdcdc9e731ecebbc74e8b5e2/scripts/ci.publish.js#L37
I'm thinking maybe it will be better to replace the prerelease, premajor and preminor options with a flag (checkbox) that indicates whether this is a pre-version (for instance, minor+isPreVersion=true => preminor).
Even better, to have all pre-versions with the same tag ("smoke" or "alpha" or something), and to deduce it from the pre-version indicator?
 This way, we'll have only one source of truth.
What do you think @igorgn?
Is there a possible scenario where we're having a pre-version with latest tag or a regular version with not-latest tag?


line! does not play well with tracing::info!

Importing ratatui_macros::line causes tracing::info to compile error:
use ratatui_macros::line;
use tracing::info;

fn main() {
    info!("Hello, world!");
}

Here's the error:
error: expected a literal
 --> src/main.rs:5:5
  |
5 |     info!("Hello, world!");
  |     ^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: only literals (like `"foo"`, `-42` and `3.14`) can be passed to `concat!()`
  = note: this error originates in the macro `line` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> src/main.rs:5:5
    |
5   |     info!("Hello, world!");
    |     ^^^^^^^^^^^^^^^^^^^^^^
    |     |
    |     expected `u32`, found `Line<'_>`
    |     arguments to this enum variant are incorrect
    |

with this Cargo.toml
[package]
name = "test-ratatui-macros"
version = "0.1.0"
edition = "2021"

[dependencies]
log = "0.4.22"
ratatui = "0.27.0"
ratatui-macros = "0.4.2"
tracing = "0.1.40"

I get similar errors with other macros from tracing, but I don't get any errors with log::info! or other macros from log.
Here's the diff of cargo expand without and with use ratatui_macros::line;
--- without_ratatui_macros.txt  2024-06-30 00:19:44
+++ with_ratatui_macros.txt     2024-06-30 00:19:54
@@ -3,6 +3,7 @@
 use std::prelude::rust_2021::*;
 #[macro_use]
 extern crate std;
+use ratatui_macros::line;
 use tracing::info;
 fn main() {
     {
@@ -10,11 +11,11 @@
         static __CALLSITE: ::tracing::callsite::DefaultCallsite = {
             static META: ::tracing::Metadata<'static> = {
                 ::tracing_core::metadata::Metadata::new(
-                    "event src/main.rs:5",
+                    (/*ERROR*/),
                     "test_ratatui_macros",
                     ::tracing::Level::INFO,
                     ::core::option::Option::Some("src/main.rs"),
-                    ::core::option::Option::Some(5u32),
+                    ::core::option::Option::Some(::ratatui::text::Line::default()),
                     ::core::option::Option::Some("test_ratatui_macros"),
                     ::tracing_core::field::FieldSet::new(
                         &["message"],

tracing seems to be adding a line like this ::core::option::Option::Some(::ratatui::text::Line::default()), when use ratatui_macros::line is in the file. This seems to me like it is a bug with tracing but I wanted to post here first to double check.

This is an issue with tracing: https://github.com/tokio-rs/tracing/issues/3023


Can't seem to get the update mods to work

commands used
sudo arkmanager update --update-mods
sudo arkmanager update --update-mods --warn
But when I join the server I get mod mismatch

What is the output of arkmanager --version?
What is the output of arkmanager --update-mods?

Version: 1.6
Channel: master
Commit: 2bc099f
Release Tag: v1.6.04
Blob SHA: bcac987ecdf8eb48d805367185c729a79ff3b250
flukethoughts@tartarus:~$ sudo arkmanager --update-mods
Running command '--update-mods' for instance 'main'
arkmanager v1.6: unknown command '--update-mods' specifiedUsage: arkmanager [Commands]
Commands can be followed by one or more @instance arguments
The special '@all' instance selects all instances
Commands may also be followed by zero or more --options

flukethoughts@tartarus:~$ sudo arkmanager update --update-mods @all
Running command 'update' for instance 'shingo'
2016-10-02 11:50:24: checking for update; PID: 1504
Your server is already up to date! The most recent version is 1366578.
Running command 'update' for instance 'Mortem'
2016-10-02 11:50:40: checking for update; PID: 1998
Your server is already up to date! The most recent version is 1366578.
Running command 'update' for instance 'island'
2016-10-02 11:50:56: checking for update; PID: 2489
Your server is already up to date! The most recent version is 1366578.
Running command 'update' for instance 'Madagascar'
2016-10-02 11:51:12: checking for update; PID: 3006
Your server is already up to date! The most recent version is 1366578.
Running command 'update' for instance 'main'
2016-10-02 11:51:28: checking for update; PID: 3522
Your server is already up to date! The most recent version is 1366578.
Running command 'update' for instance 'scorched'
2016-10-02 11:51:43: checking for update; PID: 3988
Your server is already up to date! The most recent version is 1366578.

main.cfg
config environment
arkserverroot="/home/steam/Center"                                     # path of your ARK server files (default ~/ARK)
ARK server options - use ark_=
comment out these values if you want to define them
inside your GameUserSettings.ini file
serverMap="TheCenter"                                               # server map (default TheIsland)
#serverMapModId="661564024"                                         # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)
#ark_TotalConversionMod="496735411"                                 # Uncomment this to specify a total-conversion mod
ark_RCONEnabled="false"                                              # Enable RCON Protocol
ark_RCONPort="32330"                                                # RCON Port
#ark_SessionName="Moddedark.com The Islands"                                  # if your session name needs special characters please use the .ini instead
ark_Port="7778"                                                     # ARK server port (default 7778)
ark_QueryPort="27015"                                               # ARK query port (default 27015)
ark_ServerPassword=""                                               # ARK server password, empty: no password required to login
ark_ServerAdminPassword=""                                          # ARK server admin password, KEEP IT SAFE!
ark_MaxPlayers="70"
ark_GameModIds="538986229,516096294,554678442,558651608,561820195,566887000,569786012,575017270,622595587,622608522,630601751,633831197,655261420,681259857,658667129,689838254,693416678,698238991,707081776,729352919,725398419,731604991,747539326,748358288,749145707,751991809,75488$
arkflag_UseBattlEye=true
arkflag_insecure=true
arkflag_NoTransferFromFiltering=true
arkopt_clusterid=Cluster1
#ark_AltSaveDirectoryName="SotF"                                    # Uncomment to specify a different save directory name
ARK server flags - use arkflag_=true
#arkflag_OnlyAdminRejoinAsSpectator=true                            # Uncomment to only allow admins to rejoin as spectator
#arkflag_DisableDeathSpectator=true                                 # Uncomment to disable players from becoming spectators when they die
ARK server options - i.e. for -optname=val, use arkopt_optname=val
#arkopt_StructureDestructionTag=DestroySwampSnowStructures

arkmanager.cfg
GNU nano 2.7.0                                                                                File: arkmanager.cfg
arkstChannel="master"                                               # change it to a different branch to get non-stable versions
install_bindir="/usr/local/bin"
install_libexecdir="/usr/local/libexec/arkmanager"
install_datadir="/usr/local/share/arkmanager"
config SteamCMD
steamcmdroot="/home/steam/steamcmd"                                 # path of your steamcmd instance
steamcmdexec="steamcmd.sh"                                          # name of steamcmd executable
steamcmd_user="steam"                                               # name of the system user who own steamcmd folder
steamcmd_appinfocache="/home/steam/Steam/appcache/appinfo.vdf"      # cache of the appinfo command
#steamlogin="anonymous"                                             # Uncomment this to specify steam login instead of using anonymous login
config environment
arkserverexec="ShooterGame/Binaries/Linux/ShooterGameServer"        # name of ARK server executable
arkbackupdir="/home/steam/ARK-Backups"                              # path to backup directory
arkwarnminutes="60"                                                 # number of minutes to warn players when using update --warn
arkautorestartfile="ShooterGame/Saved/.autorestart"                 # path to autorestart file
arkAutoUpdateOnStart="false"                                        # set this to true if you want to always update before startup
arkBackupPreUpdate="false"                                          # set this to true if you want to perform a backup before updating
arkStagingDir="/home/steam/ARK-Staging"                            # Uncomment to enable updates to be fully downloaded before restarting the server (reduces downtime while updating)
Options to automatically remove old backups to keep backup size in check
Each compressed backup is generally about 1-2MB in size.
arkMaxBackupSizeMB="500"                                            # Set to automatically remove old backups when size exceeds this limit
#arkMaxBackupSizeGB="2"                                             # Uncomment this and comment the above to specify the limit in whole GB
Update warning messages
Modify as desired, putting the %d replacement operator where the number belongs
msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes"
msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds"
msgWarnRestartMinutes="This ARK server will shutdown for a restart in %d minutes"
msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds"
msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes"
msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds"
msgWarnCancelled="Restart cancelled by player request"
Restart cancel chat command
#chatCommandRestartCancel="/cancelupdate"
ARK server common options - use ark_=
comment out these values if you want to define them
inside your GameUserSettings.ini file
serverMap="TheIsland"                                               # server map (default TheIsland)
#serverMapModId="469987622"                                         # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)
#ark_TotalConversionMod="496735411"                                 # Uncomment this to specify a total-conversion mod
ark_RCONEnabled="False"                                             # Enable RCON Protocol
ark_ServerPassword=""                                               # ARK server password, empty: no password required to login
ark_ServerAdminPassword=""                               # ARK server admin password, KEEP IT SAFE!
ark_MaxPlayers="70"
#ark_GameModIds="487516323,487516324,487516325"                     # Uncomment to specify additional mods by Mod Id separated by commas
#ark_AltSaveDirectoryName="SotF"                                    # Uncomment to specify a different save directory name
ARK server flags - use arkflag_=true
#arkflag_OnlyAdminRejoinAsSpectator=true                            # Uncomment to only allow admins to rejoin as spectator
#arkflag_DisableDeathSpectator=true                                 # Uncomment to disable players from becoming spectators when they die
ARK server options - i.e. for -optname=val, use arkopt_optname=val
#arkopt_StructureDestructionTag=DestroySwampSnowStructures
config Service
logdir="/var/log/arktools"                                          # Logs path (default /var/log/arktools)
steamdb specific
appid=376030                                                        # Linux server App ID
mod_appid=346110                                                    # App ID for mods
Mod OS Selection
mod_branch=Windows
Add mod-specific OS selection below:
#mod_branch_496735411=Windows
alternate configs
example for config name "ark1":
#configfile_ark1="/path/to/config/file"
defaultinstance="main"

Please try upgrading arkmanager to v1.6.05, and see if that fixes your issue.

First
flukethoughts@tartarus:/etc/arkmanager$ sudo arkmanager upgrade-tools
arkmanager v1.6: Checking for updates...
Getting latest release...
A new version has been released: v1.6.05

Remove a temp file and prevent it from being picked back up
Add arkCpuAffinity setting
Fix an error in isModUpdateAvailable
Do you want to upgrade to v1.6.05? [Y/N] y
Getting commit for latest release...
Downloading installer
Running install.sh
Ark server will now start on boot, if you want to remove this feature run the following line
systemctl disable arkmanager.service
A previous version of ARK Server Tools was detected in your system, your old configuration was not overwritten. You may need to manually update it.
A copy of the new configuration file was included in /etc/arkmanager. Make sure to review any changes and update your config accordingly!
ARK Server Tools successfully upgraded
Version: 1.6
Channel: master
Commit: 4a2699b
Release Tag: v1.6.05
Blob SHA: 2a3301242ca4469f9d320f51210d31ead01c7adc

Okay now updated
flukethoughts@tartarus:/etc/arkmanager$ sudo arkmanager update --update-mods @all
Running command 'update' for instance 'shingo'
2016-10-02 12:09:42: checking for update; PID: 15555
Downloading mod 516096294 ... Mod 516096294 downloaded
Downloading mod 538986229 ... Mod 538986229 downloaded
Downloading mod 554678442 ... Mod 554678442 downloaded
Downloading mod 558651608 ... Mod 558651608 downloaded
Downloading mod 561820195 ... Mod 561820195 downloaded
Downloading mod 566887000 ... Mod 566887000 downloaded
Downloading mod 569786012 ... Mod 569786012 downloaded
Downloading mod 575017270 ... Mod 575017270 downloaded
Downloading mod 622595587 ... Mod 622595587 downloaded
Downloading mod 622608522 ... Mod 622608522 downloaded
Downloading mod 630601751 ... Mod 630601751 downloaded
Downloading mod 633831197 ... Mod 633831197 downloaded
Downloading mod 655261420 ... Mod 655261420 downloaded
Downloading mod 658667129 ... Mod 658667129 downloaded
Downloading mod 661564024 ... Mod 661564024 downloaded
Downloading mod 681259857 ... Mod 681259857 downloaded
Downloading mod 689838254 ... Mod 689838254 downloaded
Downloading mod 693416678 ... Mod 693416678 downloaded
Downloading mod 698238991 ... Mod 698238991 downloaded
Downloading mod 707081776 ... Mod 707081776 downloaded
Downloading mod 725398419 ... Mod 725398419 downloaded
Downloading mod 729352919 ... Mod 729352919 downloaded
Downloading mod 731604991 ... Mod 731604991 downloaded
Downloading mod 747539326 ... Mod 747539326 downloaded
Downloading mod 748358288 ... Mod 748358288 downloaded
Downloading mod 749145707 ... Mod 749145707 downloaded
Downloading mod 751991809 ... Mod 751991809 downloaded
Downloading mod 754885087 ... Mod 754885087 downloaded
Downloading mod 758608778 ... Mod 758608778 downloaded
Copying to staging directory
Downloading ARK update ... The server is already stopped
Applying update from staging directory
Updating mod 698238991
Copying files to /home/steam/Shingo/ShooterGame/Content/Mods/698238991
Updating mod 751991809
Copying files to /home/steam/Shingo/ShooterGame/Content/Mods/751991809
And it's doing this with the other servers as well will let you kno when i start it if it worked or not

also stats if your interested
https://tartarus.flukethoughts.com/netdata/

okay to confirm that fixed worked wonderfully thank you

@klightspeed thank you

okay new issue with the update of mods if I run a cronjob every 15 mins with the amount of servers I have i run into issues.  Is their anyways to have it check the mods of one server and if their is an update push all the updates to the rest instead of checking each one individually because it overlaps and this is an issue when all the servers have the exact same mods it will continue to go through each server and redownload it over and over again. I know this is by design but it is eating up cpu in my case when the process begins to overlap and it doesn't finish the first update before starting the next.
Cron task every 15 mins checks updates and updates mods
15 mins later it still hasn't completed the first task with 6 servers
Cron task every 15 mins checks updates and updates mods
15 mins later now it's overlapping with the third about to start
so on and so on the server cpu starts to rise heavlly
Things I have done to combat this cpu usage
I had a setting for forcerespawn dinos and I have removed it on each server their is no real reason to keep it.
However, the task at hand is all th servers use the same mods so the staging area should be able to download the updates then push the updates to all at the same time to prevent the time delay of check each one individually. Other words it might be best to setup a staging mod folder and have all the mods stored in it and then pushed to the instances on updates the update-mods would have its own folder downloaded and checked then pushed to the remaining instances.
@klightspeed  I hope this makes sense sorry If i got confusing their.

Commit fc4d644 now allows install-cronjob to create a single cronjob that executes a command against multiple instances.
If all of your cronjobs are the same, you should be able to use crontab -e to modify the first cronjob, replacing the instance name with @all, and remove the other cronjobs that execute the same command against the other instances.


build failures for python packages

The python package stopped building since 5/9. The issue was found during building iree-benchmarks-suites which depends on iree-import-tflite, which is out-of-date and generates func instead of func.func and it causes the tflite benchmarks to fail to build.

I will fix it in the morning and kick off a new build. But exactly sure the issue but know how to repro


⚠ Bofrost.at has degraded performance

In 602fd07, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2567 ms

Resolved: Bofrost.at performance has improved in bf5ebea after 10 minutes.


Logical threads in single line per physical core.

In case of ;)

F.e. instead of this:

Something more like this:

To save space.

I will definitely be looking at ways to compact things, people with the newer threadripper CPU's would have an obscenely large gadget to look at. I'll do some experiments.

You also should take under consideration rumours about 4 threads per core in upcoming Ryzens (still just a rumours, but better to be prepared ;))

CPU Meter already supports an arbitrary amount of threads per core (I think), and with the rewrite will support an arbitrary amount of cores.
Also, who on earth needs four threads per core!?

Hype train to be derailed i think xD

Hype train to be derailed I think xD

Yes, thanks to Spectre/Meltdown attacks (to which AMD is not immune), one might reasonably expect less HT, not more...
From wikipedia:
In 2019, with Coffee Lake, Intel began to move away from including hyper-threading in mainstream Core i7 desktop processors except for highest-end Core i9 parts or Pentium Gold GPUs. It also started recommending disabling hyper-Threading as new CPU vulnerability attacks were revealed which could be mitigated by disabling HT.

It's not a place for such discussion, but what you are saying is full of BS.

I no longer plan on modifying CPU meter any further. If you have too many threads, use the average CPU usage option. Seeing the usage of 64 individual threads probably isn't useful anyway.


Send Issuer and Subject and maybe AccessToken with LUMA request

As discussed in Lisbon the call to LUMA MUST include the OpenID Connect Issuer and Subject,
the access token is nice to have and needed for some cases, yet I would have it configurable and off by default, just from a security point of view.
please also add examples of the json arriving at LUMA to the Readme.
I added this issue to keep track of the current state of it, to know when to adjust luma for KIT.

any update on this issue?

Version 17.06.0-beta4 should be solving the issue.
Oneprovider will pass the following structure
user:   id   name   oauth_accounts:     google:       id       name     github:       id       name
and the user id will be encoded Issuer and Subject.
For instance google:2732828237afe72222323232
Where google is a name defined in Onezone auth.config for google IdP and it's fixed.
In regards to the other issue passing AccessToken obtained from third party might lead to security breach as user not necessarily can trust Oneprovider, he should only trust to Onezone he's login trough.  So we are not planning to deliver such information to LUMA.

In the Issue and discussion we said "OpenID Connect Issuer and subject", but this implements some string and issuer, nothing that relates in any form to other OpenID Connect issuer subject as
google != https://accounts.google.com

so how can luma lookup google and receive a https://accounts.google.com?
and is the assumption correct, that<PHONE_NUMBER>afe72222323232 is the subject at https://accounts.google.com?

In regards to the other issue passing AccessToken obtained from third party might lead to security
breach as user not necessarily can trust Oneprovider, he should only trust to Onezone he's login
trough. So we are not planning to deliver such information to LUMA.

That sounds not good, if a user can not necessarily trust a OneProvider, maybe a trustchain from OneZone can help here?

@bwegh user can trust all providers who works with but we don't want to assue that he needs to do that.
Our current model assumes that:

User trusts selected zone
Owner of data space needs to trust all providers supporting he's spaces
Users granted access to selected data spaces do not need to trust all the providers supporting all the spaces he has access to.

This has some conceptual implications  about data flow in the system etc, and gives us more mobility on users data.
That's the background story behind the issue.

thanks for clarifying @luman75 ,
what about the lookup of google -> https://accounts.google.com from a LUMA endpoint?
and which version of OneData needs to be used for this feature to be present?

@bwegh this is actually a very good question. Currently this information is set in auth.config file in onezone.
auth.config
So for now you need to get this information directly from a sysadmin of the zone you are working with, beyond system API. But we can create a simple REST API to make this query be supported via programatic application interfaces. Not sure if such thing really matters enough to be covered by REST API.

the REST API is planned for next release (17.06.0-beta7) I believe that @jakud or @lopiola have more information in that regard.


Add docs about how to change the lang

Fixes https://github.com/vinissimus/next-translate/issues/43

I came up with this function to change the language, I might do a PR to the lib to add this function to useTranslation once I figure out how to access router
  const changeLanguage = (lng: string) => {
    if (router.pathname === "/") {
      router.push(`/${lng}`);
    } else {
      let routes = router.pathname.split("/");
      if (allLanguages.includes(routes[1])) {
        routes[1] = lng;
      } else {
        routes.splice(1, 0, lng);
      }
      router.push(routes.join("/"));
    }
  };


Network timeout

This fixes the network timeout, and stops breaking the test that runs after it when it times out. (Fixes #8935)
Plus it makes a separate test for the "new" network test ("NetworkingNew"), which we will put into the flaky test run. Although I now suspect the problems with it are conflicting routes.

LGTM


Fix summarize

Closes #353
Ideally, we should also fix #352 at the same time.

@cpacker
To fix #352, we need to treat LLM_MAX_TOKENS as an agent config.
Similar to how the agent has a model string, each model also has a max context length. We can do some smart inference of defaults for this, eg we know gpt-3.5-turbo has a 4k context, and gpt-4 has an 8k context.

Closing because I don't know if this is necessary anymore based on default model sizes.


WIP: Update to improved storage API

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@211b7ed). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff             @@
##             develop    #1163   +/-   ##
==========================================
  Coverage           ?   59.55%
==========================================
  Files              ?      387
  Lines              ?    14274
  Branches           ?        0
==========================================
  Hits               ?     8501
  Misses             ?     5773
  Partials           ?        0

Impacted Files
Coverage Δ

dar/PersistedDocumentArchive.js
0% <0%> (ø)

dar/HttpStorageClient.js
0% <0%> (ø)

Continue to review full report at Codecov.

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


Add an endpoint to calculate Future Value of SIP

Note

We all save small amounts at fixed intervals for a goal. It may be in a mutual fund SIP or PPF. But, how can we know the possible savings ten years down the line? That is where the future value of the SIP formula comes into the picture.

Create a function in ./helpers/functions.py file for the calculation.

Map it with an endpoint GET /future_sip in the main.py file with properly.

Sure @gizmo50, go ahead!