Importing devices with API

Would like to ask you, if there is an option to create new assets with API. Im having an issue creating new asset in Python with the following error: {'module_type': ['This field may not be null.'], 'module': ['This field may not be null.'], 'storage_location': ['This field may not be null.'], 'purchase': ['This field may not be null.']}. Also in Swagger the POST method is unresponsive (plugins/inventory/assets).

Indeed, it seems the API is broken for creating / editing Assets at the moment. Thanks for reporting this. I'm working on a fix.

It seems that even after the fix, it still does not work me. The error message is the same: pynetbox.core.query.RequestError: The request failed with code 400 Bad Request: {'module_type': ['This field may not be null.'], 'module': ['This field may not be null.'], 'storage_location': ['This field may not be null.'], 'purchase': ['This field may not be null.']} I have noticed that in Netbox Swagger the execute button for POST /plugins/inventory/assets/ is unresponsive (did not work before the fix either).

I have not released the new version onto pypi yet. I plan to do so later today or tomorrow. Have you tested the plugin installed from git?
If you're testing against master branch and it still doesn't work, please write a code sample that errors out for you, so I can test myself. I'm currently testing and it seems to work fine.

Hi,
I am trying the same thing in Swagger UI and I got this response:
RESPONSE BODY
{
  "device": [
    "This field may not be null."
  ],
  "module_type": [
    "This field may not be null."
  ],
  "module": [
    "This field may not be null."
  ],
  "inventoryitem_type": [
    "This field may not be null."
  ],
  "inventoryitem": [
    "This field may not be null."
  ],
  "tenant": [
    "This field may not be null."
  ],
  "contact": [
    "This field may not be null."
  ],
  "storage_location": [
    "This field may not be null."
  ],
  "owner": [
    "This field may not be null."
  ],
  "purchase": [
    "This field may not be null."
  ]
}

REQUEST DATA
{
  "name": "test",
  "asset_tag": "test",
  "serial": "aaa",
  "status": "stored",
  "device_type": 1,
  "device": null,
  "module_type": null,
  "module": null,
  "inventoryitem_type": null,
  "inventoryitem": null,
  "tenant": null,
  "contact": null,
  "storage_location": null,
  "owner": null,
  "purchase": null,
  "warranty_start": null,
  "warranty_end": null,
  "comments": "",
  "tags": []
}

CURL
curl -X 'POST' \
  'http://<IP_ADDRESS>:8000/api/plugins/inventory/assets/' \
  -H 'accept: application/json' \
  -H 'Authorization: TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'X-CSRFToken: CSRF-TOKEN' \
  -d '{
  "name": "test",
  "asset_tag": "test",
  "serial": "aaa",
  "status": "stored",
  "device_type": 1,
  "device": null,
      "module_type": null,
      "module": null,
      "inventoryitem_type": null,
      "inventoryitem": null,
      "tenant": null,
      "contact": null,
      "storage_location": null,
      "owner": null,
      "purchase": null,
      "warranty_start": null,
      "warranty_end": null,
      "comments": "",
      "tags": []
}'

OK, I see the problem now. I've always just omitted the keys I did not set. Never tried setting them to null explicitly.
I'll have the fix ready shortly.


Dataset sharing errors

Description:
Christophe shared a dataset with me.
I got the email from CARTO with the notification.

When I open the link the dataset doesn't load:

When I try to download it doesn't work (I have read only access):

It is surprising that you can see the query to the database but nice for those who understand SQL.

STR

Share a private dataset with someone from your organization.
Open the dataset from the link of the notification email or from the Builder.
As shown in the screenshot above the table does not show up.  The query keeps running.
This is caused because the Builder (in the Editor works fine) is not getting the schema. The query should be like this ccaron.macdorestaurantssansbla_1 instead of macdorestaurantssansbla_1. A temporal workaround would be applying the following query on the SQL console:

SELECT * FROM ccaron.macdorestaurantssansbla_1

And duplicate a dataset from query.
cc @ernesmb

Shared dataset problems hitting us again, @nobuti @javitonino @gfiorav.

I feel this is more frontend job. The issue is opening any dataset from another user. The backend here just presents the dataset as is. This is with the default query, so I think it is a problem with the frontend not adding the username to the generated default query (the backend is not passing any query I can see).

cc/ @CartoDB/support for awareness

So, my opinion is, when a dataset is shared, we should change change the sql adding the username before the table name.

Two cases here:

The dataset already has a custom query, rewriting it might be the better (only?) solution. However I'm not too fond of rewriting it on a privacy change, as the process is not perfect and may break the query. Still, I haven't got any better ideas, so we may have to do this.
In the case where there is no query (only table_name), we can do something better as we are writing the query ourselves (in the frontend), so we could try avoiding to rewrite queries, as it is far from perfect.

Having to treat the two cases separately may be a mess, so maybe forcing the query to be set when sharing isn't a bad idea to avoid having to add the query generation from table_name in yet another place.
Maybe we can go one step further, and start to always write the query on creation, so it is always set. And we could write it with the username for users in organizations, so it is always there (avoid rewrites for new datasets).
Not sure about any of that, but we are starting to add query rewriting where we need it on a case-by-case basis and it feels hacky to me.

The dataset already has a custom query, rewriting it might be the better (only?) solution. However I'm not too fond of rewriting it on a privacy change, as the process is not perfect and may break the query. Still, I haven't got any better ideas, so we may have to do this.

Yes, it doesn't look like there's that much of an alternative TBH.

Not sure about any of that, but we are starting to add query rewriting where we need it on a case-by-case basis and it feels hacky to me.

It is hacky: for me the problem is that we have no strong link between a layer/dataset and a table. I think we have to cope with this. There is a limited number of actions that result in the rewrite of a query, so if we "master" them then we have the problem under control. It's bug prone, but scoped at least.


[tag] Provide suggestions for tags already used

Currently, especially when using non-trivial / rarely-used but reoccurring hashtags, it's hard to remember which was it, actually, especially talking singular/plural writings or special terms used for special concepts and contents.
It would be helpful if the tag input field, after having written a "," and a few chars, could provide a drop-down showing possible completions out of tags that have been used before. :)

Wow. Cool. Works like a charm, somehow I completely missed this.


Support tc programs Using the dispatcher approach

Both TC Ingress and Egress are supported.
The list output is currently hacky because the message format currently only supports XDP programs.  This will be fixed with pr #174. In the meantime, this pr adds the TC programs to the end of the XDP list so they can still be displayed.
Persistence is not supported.  TC programs will remain loaded and attached if bpfd is terminated without explicitly unloading the TC programs.  If this happens, the TC programs can be cleaned up manually by deleting the associated files in the /var/run/bpfd directory. For example, sudo rm -rf /var/run/bpfd 2>/dev/null will clean up all programs loaded by bpfd.

Signed-off-by: Andre Fredette<EMAIL_ADDRESS>

Implements https://github.com/redhat-et/bpfd/issues/116.


Add LangLib Sub types

Fixes #https://github.com/ballerina-platform/ballerina-lang/issues/20703
Fixes #https://github.com/ballerina-platform/ballerina-lang/issues/20702
Fixes #https://github.com/ballerina-platform/ballerina-lang/issues/21341

@rasika @NipunaMarcus Few LS test cases are failing. Could you please have a look.


Fail validation for unknown fields

I am trying to validate an input to a given schema but I would like the validation to fail if there are properties in the input that are not in the schema. Is this possible and if not are you planning to implement it?

Hi and welcome,
By default, Schema Object on OpenApi allows additional properties.
So, you have two options:

modify your schema to include additionalProperties: false where needed (native solution),
setup the option on ValidationContext with setOption(ADDITIONAL_PROPS_RESTRICT, true) to invert the default behaviour.


"Too many files in project directory!" issue

After compiling a manual build of Lite-XL. I'm getting an issue about it wanting to read all of the contents from the home directory. Is there a way to stop the editor from doing so?
Linux
Debian 10

Well, just launch it from the terminal giving a directory as an argument. In alternative you should be able to switch project using "ctrl+shift+c", command core:change-project-folder.
Later when you start again lite-xl it should remember the last session and open the last opened directory so it should no longer try to open the home directory.

Thanks! Fixed the issue from here

In javascript projects it is including the node_modules too I presume. Is there way to modify user config so that in any directory it can exclude node_modules folder?

Normally it is a matter of setting config.ignore_files to something like:
config.ignore_files = { "^node_modules$", "^%."}

Please note that you can configure also some things on a per-project basis using the command core:open-project-module and setting there the configs you want. The project module will be loaded only for a specific project directory.

@franko This seems solved. Can we close the issue?

Of course, we can close the issue.
In reality we should solve this problem once and for all but lets say that this goes beyond the scope of this usage issue.


[Bug] Express Entries can only see Associations in one direction

This looks like a bug from testing, but relevant forum post: https://forums.concretecms.org/t/bug-express-entries-can-only-see-associations-in-one-direction-maybe/672
Okay so I’m trying to use Express in rather complex ways, and right now I’m tripping up. I’ve tested the issue with the “Express Entity” (single) Attribute type, and "Express Multiple (experimental, multi-select) Attribute type, the issue appears to manifest in both regards, so I don’t think this is related to the experimental code I’m using for Express Multi-Select (the code provided by hissy).
The issue is related to two different Express Objects, their associations and Express Entries for each and how they see such things.
I have two example Express Objects, “Event Registration Entries” and “Games”.
Games, as an Express Object. When you create Entries for this Express Object, the Entries represent “Games” that can be selected by other Express Objects throughout the site. For example, I’ve added “Counter-Strike: Global Offensive”, and I want to use this for things like “Which Game for this Tournament”, “Game Preference” and all sorts of things.
Event Registration Entries, as an Express Object. When you create Entries for this Express Object, the Entries represent the singular registration of a human to an event, and it is expected that only one registration Express Entry will exist per human (let’s assume this is true, this isn’t about validation logic at this time). When a human Registers for an Event, they are in-effect creating one of these Experss Entries. One of the “questions” the human is asked is “Which Games do you want to play?”, and they are given the option to select multiple “Games” (as in, the Express Entries for the Games Express Object through the Association).
Naturally, I’m working on making an Express List Block show all the Games that people want to play for a specific event (namely, the one you’re looking at).
When I use an Express List Block that shows “Event Registration Entries”, each Express Entry shows the games each human picked.
When I use an Express List Block that shows “Games”, but I adjust it to show which “Author”/human/user picked a game, for any “Event Registration Entry”, it is blank. It appears to not be able to see that any Game has been selected for an “Event Registration Entry”, and this is where it breaks down.
Again, I have tried to replicate this issue when using Single-Select (Express Entry) or Multi-Select, from the perspective of the “Event Registration Entry”, and there results don’t change. The “Games” Express List Block cannot seem to see which other Express Entries have picked A Game, or Any Game.
The Associations are Many to Many, and I’ve tried toggling the Ownership options, no change there.
I’m rather out of ideas, so to me this sure looks like a bug.
I’m on Concrete v8.5.4, and the Express List Blocks are tested against my custom Block Template, as well as the stock Block Template. I’ve tried lots of other things too that I can’t remember.
Please help! I really hope we can figure some way to do this :(

Can anyone help me with this? Please?

I'm stuck in the mud until I can get this figured out :( please, I need help!

I still have not found a solution for this matter. Would love any ideas on this topic.

I am not sure this is a bug - please see my post in the forums.

I responded to your forum post by the way @aembler

Any new thoughts @aembler ? :(

Okay so I think I've quite reliably proven this is a bug, since I haven't been shown a solution, or proof that it is not a bug, since August of 2021, despite extensive assistance from @aembler in this thread : https://forums.concretecms.org/t/bug-express-entries-can-only-see-associations-in-one-direction-maybe/672/5
So yeah, I would like us to proceed as treating this as a bug please. I really would like to find a solution for this :(


Tenant configuration is modified even if file saving fails

Noted by @problame in https://github.com/neondatabase/neon/pull/3446#discussion_r1089064099
Relevant code:
https://github.com/neondatabase/neon/blob/0ec84e2f1fa5505091e8d5263fdef418ed4ed7cd/pageserver/src/tenant/mgr.rs#L288-L300

This did have the added benefit that we were able to modify some pitr_cutoffs recently on disk full situation.


Use a signal-based approach

@aerz I've noticed that loading the package (from the main branch) more than once causes a whole lot of trouble.

I'm seeing the error. It's the same thing that's happening in #13
It works because Emacs first load the default handler, and then darkman.el replaces the monitor handler but in case a dbus event send a new message to our handler it won't work.
  dbus-handle-event((dbus-event :session-private 4 0 nil nil "/org/freedesktop/DBus/Local" "org.freedesktop.DBus.Local" "Disconnected" darkman--event-handler)

I don't know if you can have more than one function to monitor the dbus. I imagine that if you can, there would be a way to make the function not to be used by default.
For now I prefer the signal handling aproach, I never experienced #10

Anyways, given that main is misusing the D-Bus architecture, I'm just going to merge this in even though we've still got some problems to sort out. I can't thank you enough for your input and througough investigation. I'll keep my eye out on the issue you opened upstream.

Thanks to you for considering my suggestions.
I think the upstream will be closed sadly because there could be many reasons to send a signal and look like duplicates.
I'm not entirely sure but one signal is because ModeChanged signal and the other is because  PropertiesChanged signal. This would explain why if the theme is light and you run darkman set light ModeChanged signal is sent but the property hasn't changed so PropertiesChanged signal is not required.
In any case, it would not be uncommon to get signals that seem similar, so if you let me make one last suggestion related to this, I would implement theme tracking functionality that makes darkman to change only when necessary and ignore unwanted signals. I have attached a proof of concept patch.
theme-tracking.zip

I reall hope not! I have a strong feeling this isn't the intended behavior, and upstream is basically our last resort.

😅

Thank you for this, we should definitely use it in the meantime 1. Could you please open a PR or create the patch via git-format-patch?

I never used git-format-patch but it's great! Although, I prefer a PR to have a better code review, don't you think?


cursor not shown around collapsed code in contenteditable inputStyle

In contenteditable inputStyle, I noticed several cursor bugs when moving cursor around folded code (created via markText() with default options):

the cursor is not visible when it's right to the left of the marker

if the character after the marker is EOL (\n), cursor is not visible when moved after the marker, as well. Also, this case makes the cursor visibly stay at previous position even if it's already after the marker (e.g. when changing position via click) until after you write a character, see image below:

(not reproducible 100% of the time) when the marker is preceded by whitespace-only the cursor cannot be moved to the beginning of the line by moving it down/up from next/previous line via arrow key

None of this is reproducible in textarea. CM version 5.26.0, win7

Thanks for your report. Maybe there is an easy fix for this, but it's quite difficult to reliably position the cursor in contenteditable inputStyle in general, so I don't want to spend time looking into it. The code we currently use definitely has issues and for example doesn't work well with bidirectional content.

@adrianheine yea, I guess it's just another point in the tally against defaulting to contenteditable in the future

Actually, we are indeed working on a rewrite (CodeMirror 6) that will only support contenteditable. However, integration will be much better and we are planning to put a lot of work into issues like these. We are currently raising money for this work: See the announcement for more information about the rewrite and a demo.
Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though.


edpm_libvirt role should handle quoted cephx keys

It's valid for the key inside a ceph keyring file to be either quoted or not quoted. Before this patch, if the key was quoted, then it was not passed to the "virsh secret-set-value" command because it did not satisfy the regex check because of the quotes. This change strips the quotes from the key value before it is checked and passed to the virsh command.

Before this change it handled this type of key correctly:
[root@edpm-compute-0 ceph]# cat ceph.client.openstack.keyring
[client.openstack]
   key = AQBwYAtlAAAAABAAxnNS/0Ko9Ng+iQjhtC8ecA==
   caps mgr = allow *
   caps mon = profile rbd
   caps osd = profile rbd pool=vms, profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=images
[root@edpm-compute-0 ceph]#

But it wouldn't handle this type of key correctly:
[root@edpm-compute-0 ceph]# cat ceph.client.openstack.keyring
[client.openstack]
   key = "AQBwYAtlAAAAABAAxnNS/0Ko9Ng+iQjhtC8ecA=="
   caps mgr = allow *
   caps mon = profile rbd
   caps osd = profile rbd pool=vms, profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=images
[root@edpm-compute-0 ceph]#

Now it can handle them both.

+2 lgtm

FYI im on pto this week so feel free to add me to these but don't wait for me to review if you want to included anything for q3 in the libvirt/nova roles. ill take a look at reviews I'm tagged on when I'm back next week but that will miss the end of the quarter so if you wonder why i am not reviewing this week or responding to slack/email pings that's why.


Nefn-Lakhouj: workflows, 1

my fork of the exercises repo

Study Plan

hey @Nefn-Lakhouj   can you also let us know
on what you Need Help With:
What went well?
What went less well?
Lessons Learned
study plan and
what you have done for Sunday Prep Work


Crash attempting to volume render MPAS data

VAPOR crashes if you try to volume render (or isosurface) MPAS data, which are unstructured.
Helpful additional information
(Please click check boxes AFTER submitting ticket)

[x] Did VAPOR crash?
[ ] Did you get wrong results?

Impact

[ ] High - User productivity significantly degraded
[x] Medium - User productivity partially degraded
[ ] Low - User productivity trivially degraded

To Reproduce:

Load the data set from glade MPAS/FalkoJudt/30km/ (note, you need to load the diag* and x1.static.nc file).
Create and enable volume renderer or isosurface renderer

Re-opening. This still fails with Mac/Intel combination. However, now you get a warning about intel graphics and curvilinear grids.


New API endpoints for 694

This adds a new API endpoint at get-critters-estimate, for use on the map page in estimating volume of data returned by making critter search requests

@MacQSL Comments were addressed, reflected changes in other repo as well.


Load schema input as resourceStream

In order to load a schema even when the resource is packaged in a jar, the inputFile loading is switched to use inputStream

It might be somehow covered in my PR to scala_2.10 branch. I want to add possibility to read JSON schema from a String.

yes, your method worked indeed. It's used to solve this problem in version 0.5

Cool :)


Benchmark according to CAMI2

Paper

CAMI II: identifying best practices and issues for metagenomics software

Research Briefing

Critical Assessment of Metagenome Interpretation: the second round of challenges

Behind the Paper

Critical Assessment of Metagenome Interpretation – the second round of benchmarking challenges provides a comprehensive overview of metagenomic software performance

More info
Tutorial

Tutorial: assessing metagenomics software with the CAMI benchmarking toolkit

CAMISIM Paper

CAMISIM: simulating metagenomes and microbial communities

CAMI benchmarking.docx


Please Add Freez model as well

Description

Additional information

I am getting error while freezing model please upload freezed model and see the opened issue.

Hi
You can have a look at the conversation in #155  to get inspiration on how to freeze the models.


Does newrelic rpm support elasticsearch 5?

Description
I couldn't enable newrelic rpm since it will break my elasticsearch functions. This is the log
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/tracer.rb:22:in `state'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/tracer.rb:32:in `tracing_enabled?'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:14:in `perform_request_with_tracing'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:41:in `block in perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:34:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:44:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:40:in `perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `block in perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:14:in `perform_request_with_tracing'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:41:in `block in perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:34:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:44:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:40:in `perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `block in perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:14:in `perform_request_with_tracing'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:41:in `block in perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:34:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/tracer.rb:44:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/elasticsearch.rb:40:in `perform_request_with_scout_instruments'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `block in perform_request'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb:14:in `perform_request_with_tracing'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/elasticsearch/prepend.rb:10:in `perform_request'
<truncated 9014 additional frames>
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8/lib/action_dispatch/middleware/ssl.rb:77:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8/lib/action_dispatch/middleware/host_authorization.rb:131:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/lib/middleware/queue_time/middleware.rb:21:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/hirefire-resource-0.10.1/lib/hirefire/middleware.rb:37:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-cors-2.0.1/lib/rack/cors.rb:102:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.3.5/lib/scout_apm/instruments/middleware_summary.rb:58:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:530:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/hirefire-resource-0.10.1/lib/hirefire/middleware.rb:37:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/configuration.rb:272:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/request.rb:100:in `block in handle_request'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/request.rb:99:in `handle_request'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/server.rb:443:in `process_client'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/server.rb:241:in `block in run'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.0/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/tracer.rb:433:in `block (2 levels) in thread_block_with_current_transaction'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/tracer.rb:357:in `capture_segment_error'
/app/vendor/bundle/ruby/3.2.0/gems/newrelic_rpm-9.6.0/lib/new_relic/agent/tracer.rb:432:in `block in thread_block_with_current_transaction'

does that mean the newrelic conflict with scout_rpm? I tried one removing scout_rpm as well but it didn't help if I remember correctly.
Or does newrelic rpm not support elasticsearch 5?
Expected Behavior
it should not cause errors
Your Environment
Include as many relevant details about your environment as possible including the running version of the Ruby agent, the Ruby version being used and any other relevant environment information
Additional context
Add any other context about the problem here. For example, relevant community posts or support tickets.
For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):

Hi @hothero 👋 While we don't officially support Elasticsearch 5, our instrumentation shouldn't be causing errors. There may be a conflict with the way both New Relic and Scout are attempting to instrument the Elasticsearch library.
In your newrelic.yml file, can you see if adding the following configuration setting helps?
instrumentation.elasticsearch: chain

If the above change doesn't resolve the error, can you provide a stack trace that includes the error that is being raised?


how to change  material color  and set ourself theme color

For example ,I want to change input and checkbox's color,but I don't kown how to do;

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

Check the theming guide https://material.angular.io/guide/theming

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


Error while opening CombineArchive

Hi, I was trying to use CombineArchive to add omex file support in SBSCL. However, I get error while initializing like this:
CombineArchive archive = new CombineArchive(pathToZipFile);.
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.jdom2.input.SAXBuilder.<init>(SAXBuilder.java:338)
	at org.jdom2.input.SAXBuilder.<init>(SAXBuilder.java:221)
	at de.unirostock.sems.cbarchive.Utils.readXmlDocument(Utils.java:123)
	at de.unirostock.sems.cbarchive.CombineArchive.parseManifest(CombineArchive.java:1197)
	at de.unirostock.sems.cbarchive.CombineArchive.init(CombineArchive.java:239)
	at de.unirostock.sems.cbarchive.CombineArchive.<init>(CombineArchive.java:175)
	at org.simulator.omex.OMEXArchive.<init>(OMEXArchive.java:52)
	at org.simulator.omex.OMEXExample.main(OMEXExample.java:41)
Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
	at javax.xml.parsers.SAXParserFactory.setSchema(Unknown Source)
	at org.jdom2.input.sax.XMLReaders.<init>(XMLReaders.java:122)
	at org.jdom2.input.sax.XMLReaders.<clinit>(XMLReaders.java:95)
	... 8 more

I tried the files 12859_2014_369_MOESM1_ESM and 12859_2014_369_MOESM2_ESM which are available as part of this paper.
It seems as if XMLParsing of the manifest file is the problem probably because the omex folder is compressed?

Hi @shalinshah1993,
good news, that you want to use our library!
But bad news that you got that strange error...!?
I just tried it out myself and downloaded

12859_2014_369_MOESM1_ESM.zip from the paper,
CombineArchive-1.3.6-jar-with-dependencies.jar

and then hacked the following tiny snippet:
usr@srv $ cat CaExample.java

import de.unirostock.sems.cbarchive.CombineArchive;
import java.io.File;

public class CaExample
{
    public static void main (String[] args) throws Exception
    {
        System.out.println ("test");
        CombineArchive ca = new CombineArchive (new File ("12859_2014_369_MOESM1_ESM.zip"));
        System.out.println (ca.getEntries ().size () + " entries");
    }
}

compiled it with
javac -cp CombineArchive-1.3.6-jar-with-dependencies.jar CaExample.java

and ran it:
usr@srv $ java -cp CombineArchive-1.3.6-jar-with-dependencies.jar:. CaExample
test
2 entries

So it seems to be working fine...!? I've been using OpenJDK's Java 10:
usr@srv $ java -version
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Debian-4)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Debian-4, mixed mode)

Can you please try and run the code above to see if that works for you?
Which Java version are you using? Which version of the CombineArchive library are you using? How do you integrate the CombineArchive library? (e.g. Maven? maybe there is a dependency problem and your tool requires something in a different version than the CombineArchive library expects it...?)
Do you have a minimal example that doesn't work for you? (which I could test/debug myself?)

Right now, I included CombineArchive in SBSCL using maven. In my pom.xml file, I have following code:
<repository>
		<id>sems-maven-repository-releases</id>
		<name>SEMS Maven Repo</name>
		<url>http://mvn.sems.uni-rostock.de/releases/</url>
		<layout>default</layout>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
	</repository>

<dependency>
		<groupId>de.uni-rostock.sbi</groupId>
		<artifactId>CombineArchive</artifactId>
		<version>1.3.6</version>
	</dependency>

My java version:
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

Ok, just fixed your project. The problem was JDOM2... Early JDOM2 versions are packaged as org.jdom->jdom->2.x  --- but later JDOM2 versions are packaged as org.jdom->jdom2->2.x
for maven that are two different artifacts, but classes and packages are named the same.. which obviously produces a mess...
I fixed your dependency for JDOM2 as jdom, it is now jdom2. And everything is running smoothly.
I wasn't able to implement+test it in your master, as your it doesn't compile. but I created a branch based on 3191fc5 and also added a unit test, which compiles and shows that CAs are now working in SBSCL https://github.com/binfalse/SBSCL/tree/integrate-ca (actual commit: https://github.com/binfalse/SBSCL/commit/034b74bd58f0f842cfa13c9833f29026101cee21)
Not sure about all the other commits, but still created a pull request for you: https://github.com/shalinshah1993/SBSCL/pull/18
But maybe you just want to cherry-pick 034b74bd58f0f842cfa13c9833f29026101cee21...
does that help?

Closed as it is fixed in https://github.com/binfalse/SBSCL/commit/034b74bd58f0f842cfa13c9833f29026101cee21


Cannot read field "durationInMicroseconds" because "right" is null

Tickets addressed: Fixes #633
Review: By commit
Merge strategy: Merge (no squash)

Description

Durations of activities were not pulled from the simulation. When using the activities, we assumed the durations were present. We pull them now and replace activities. I think this bug was introduced with the forEach PR #546 but I am not sure.
Verification

I reproduced the bug with a test and it is now passing.
Documentation

None
Future work

None

Odd. Looking into it.


Order change (include model response)

Motivation and Context

Description

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Hey @TaoChenOSU.  When I looked at the code, it seems like the "memory" is being extracted from the chat history and stored in the semantic-memory before the chat history is updated with the most recent completion (aka chatMessage).  Do you know if there was a design reason for this?  Thanks. (And thank you to @crickman for creating the PR for me.)

Hey @TaoChenOSU. When I looked at the code, it seems like the "memory" is being extracted from the chat history and stored in the semantic-memory before the chat history is updated with the most recent completion (aka chatMessage). Do you know if there was a design reason for this? Thanks. (And thank you to @crickman for creating the PR for me.)

Hey @momuno, you're right. Good catch! I believe this is not intentional. We should move the memory extraction to after the chatMessage is saved. However, we should not move the memory extraction to before the token calculation since memory extraction consume tokens as well.


Query

I could not query the session list for a specific subject. This branch solves this issue.

Thanks! I guess I didn't think about querying for 'sessions' in that way. Would it be possible to back out e36e626 as it relates to PR #11 and add one unit test instead?

Done. I had to use the folder Synthetic instead of ds007 to test for sessions.
Cheers

Thank you!


Symbolize config keys

See PR #134
Find a way that don't depend on ActiveSupport

currently sidekiq expects symbols in their yml file. chef cookbooks also expect this format and converts it to match. example chef cookbook that currently matches this behaviour https://supermarket.chef.io/cookbooks/opsworks_ruby

However, sidekiq-scheduler only expects the highest level :schedule: and the rest of the config is read through strings. this fix ensures that using sidekiq format also works, and the current chef cookbooks will also work.

I've been looking over some options that provides the functionality
Hashie might provide a lot more for what I need, but it might make the code cleaner if you use what it provides.
https://github.com/intridea/hashie
https://rubygems.org/gems/hashwithindifferentaccess/versions/0.1.1

i ended up using just the hash ext from activesupport wrapped into a gem of itself.
https://github.com/LightshedHealth/sidekiq-scheduler/commit/3a91612aa3ac894d41b3be6243782313265b5044

If sidekiq.yml has the following content:
:schedule:
  :interval:
    :interval: "20s"
    :class: HelloWorker
    :description: "abcdef"

When sidekiq starts up it outputs this and don't schedules any job.
2016-10-01T01:49:39.317Z 26437 TID-ov1dze5aw INFO: Scheduling interval {:interval=>"20s", :class=>"HelloWorker", :description=>"abcdef"}
2016-10-01T01:49:39.317Z 26437 TID-ov1dze5aw INFO: no cron / every / at / in / interval found for  (interval) - skipping

Should'n the job be scheduled as if the config is made of strings only?

See issue #140


K8SPXC-361 use ProxySQL defaults only if ProxySQL is enabled

Test name
Status

big-data
passed

scaling
passed

storage
passed

init-deploy
passed

recreate
failed

restore-to-encrypted-cluster
failed

scaling-proxysql
passed

self-healing
passed

limits
passed

demand-backup
failed

monitoring
passed

upgrade
passed

scheduled-backup
failed

upgrade-consistency
passed

security-context
passed

self-healing-advanced
passed

monitoring-2-0
passed

operator-self-healing
passed

affinity
passed

demand-backup-encrypted-with-tls
failed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

Test name
Status

recreate
passed

big-data
passed

scaling
passed

storage
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

limits
passed

restore-to-encrypted-cluster
failed

upgrade
passed

self-healing-advanced
passed

demand-backup
failed

upgrade-consistency
passed

monitoring
passed

security-context
passed

operator-self-healing
failed

scheduled-backup
failed

monitoring-2-0
passed

affinity
passed

one-pod
failed

demand-backup-encrypted-with-tls
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

Test name
Status

recreate
failed

big-data
passed

storage
passed

init-deploy
passed

scaling
passed

restore-to-encrypted-cluster
failed

scaling-proxysql
passed

self-healing
passed

limits
passed

demand-backup
passed

upgrade
passed

monitoring
passed

self-healing-advanced
passed

upgrade-consistency
passed

security-context
passed

monitoring-2-0
passed

scheduled-backup
failed

operator-self-healing
passed

affinity
passed

one-pod
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
passed

storage
passed

affinity
passed

self-healing
passed

one-pod
failed

self-healing-advanced
passed

operator-self-healing
passed

recreate
passed

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

big-data
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

restore-to-encrypted-cluster
failed

demand-backup
passed

scheduled-backup
failed

demand-backup-encrypted-with-tls
failed


The daemonset snippet uses deprecated annotation

The daemonset snippet uses annotation that has been deprecated since kubernetes 1.16+. Moreover, that annotation makes the demonset to be created in kube-system rather than provided namespace.
Please update the snippet to use spec.priorityClass
Additionally, please add to the snippet
      nodeSelector:
        "kubernetes.azure.com/accelerator": nvidia

to run it only on GPU-enabled nodes and add a toleration to run on spot VMs.

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

ID: deaac79e-bd40-2d95-7288-e15371726e91
Version Independent ID: 9fd80908-20f1-7970-3bda-5a4283e4af21
Content: Use GPUs on Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/gpu-cluster.md
Service: azure-kubernetes-service
Sub-service: aks-developer
GitHub Login: @schaffererin
Microsoft Alias: schaffererin

@miqm
Thanks for your feedback! We will investigate and update as appropriate.

#reassign:schaffererin

Hi, @miqm, thank you for your feedback!
I created a PR with updates to the article using the updated nvidia-device-plugin.yml from the NVIDIA device plugin for Kubernetes repo.
The PR will soon be reviewed and merged, and the Use GPUs on Azure Kubernetes Service (AKS) - Azure Kubernetes Service article will be updated shortly thereafter. Since there are no more updates needed at this time, I will close out this issue.
Thanks again!
#please-close


Error instaling on Symfony 7.0

I got this error when I try to install your package on Symfony 7.0
Executing script vendor/bin/requirements-checker [OK]
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!
!!  Fatal error: Declaration of MarcinJozwikowski\EasyAdminPrettyUrls\Routing\PrettyUrlsGenerator::setContext(Symfony\Component\Routing\RequestContext $context) must be compatible with Symfony\Component\Routing\RequestContextAwareInterface::setContext(Symfony\Component\Routing\RequestContext $context): void in vendor/marcin-jozwikowski/easy-admin-pretty-urls/src/Routing/PrettyUrlsGenerator.php on line 24
!!      ]
!!  }
!!
Script @auto-scripts was called via post-update-cmd

composer require marcin-jozwikowski/easy-admin-pretty-urls
./composer.json has been updated
Running composer update marcin-jozwikowski/easy-admin-pretty-urls
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking marcin-jozwikowski/easy-admin-pretty-urls (v2.4.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing marcin-jozwikowski/easy-admin-pretty-urls (v2.4.2): Extracting archive
Generating autoload files
100 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed

Symfony operations: 1 recipe (b9fe8a6f33f198b8bc1cde42027e100c)
  - Configuring marcin-jozwikowski/easy-admin-pretty-urls (>=v2.4.2): From auto-generated recipe
Executing script cache:clear [OK]
Executing script assets:install public [OK]
Executing script importmap:install [OK]
Executing script sass:build [OK]

 What's next?

Some files have been created and/or updated to configure your new packages.
Please review, edit and commit them: these files are yours.

No security vulnerability advisories found.
Using version ^2.4 for marcin-jozwikowski/easy-admin-pretty-urls

Fixed it in v2.4.2.


404 page is broken

Issue Summary
After landing on the 404 page it's not possible to use any of the links to get away from the 404 page.
To Reproduce

Open a non-existant URL, I hit when I noticed the problem https://docs.ghost.org/integrations/comments?no-cache=1
Try clicking on any docs link and nothing will happen
Note there are errors in the dev tools console

I can't reproduce any more either 🎉


Is possible to implement GenericListArray::from_iter ?

Hi,I'm new to Rust and I really like the Rust language and the project. This is what came to mind when I read the code for this project.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The existed method GenericListArray::from_iter_primitive can only create Array of List<T>,it can't create Array of List<List<T>>and other more nested List.
Describe the solution you'd like
Is possible to implement GenericListArray::from_iter so we can create GenericListArray like this:
    // create ListArray [[[1,2],null],[[3]]]
    let data = vec![
        Some(vec![Some(vec![Some(1), Some(2)]), None]),
        Some(vec![Some(vec![Some(3)])]),
    ];

    let list_array = GenericListArray::<i32>::from_iter::<Int32Type,..?>(data);

Describe alternatives you've considered
Is there a way to support arbitrary nesting depth of list handlers via generic implementation？
I'm curious if Rust's metaprogramming is powerful enough to implement this feature.
Additional context
https://docs.rs/arrow-array/32.0.0/arrow_array/array/struct.GenericListArray.html#method.from_iter_primitive

I suspect FromIterator will run into issues with trait specialization, we run into this also with supporting both optional and non-optional iterators, but I can't say I've tried to make this work.
That being said you can write something like, which may be sufficient for your needs. The reason this works is you "help" the compiler by fully specifying the nested type in the form of the builder.
let mut builder = ListBuilder::new(ListBuilder::new(Int32Builder::new()));
builder.extend(vec![
    Some(vec![Some(vec![Some(1), None, Some(2)]), None]),
    Some(vec![]),
    Some(vec![None]),
    None,
]);
let built = builder.finish();


chore: Add custom inspect for base types

Improves display of custom types when debugging to make them less verbose.
Before:
AztecAddress {
        asBuffer: Buffer(32) [Uint8Array] [
           31,  83, 136, 221,  86,  24, 222, 199,
          209,  84, 126,  88, 242,  65, 241, 120,
           45, 175, 195, 124, 100,  32, 173,  65,
          113, 136, 197, 249,  19, 163, 103,  97
        ],
        asBigInt:<PHONE_NUMBER>7176329001256622499166672439531577110004770510807332793442883561313n
      },

After:
AztecAddress<0x2ea8404477a7858b3978fedd1cd98c216212fba0e44ff40e12f4cf3bfc2546e4>

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit d8c770bb and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,700
18,884
36,452

l1_rollup_calldata_gas
66,180
239,000
469,136

l1_rollup_execution_gas
194,128
500,306
908,394

l2_block_processing_time_in_ms
1,196
4,555
9,040

note_successful_decrypting_time_in_ms
206
549 (-8%)
1,011

note_trial_decrypting_time_in_ms
14.2 (+4%)
71.1 (-41%)
38.0 (-24%)

l2_block_building_time_in_ms
15,966 (-1%)
63,452 (-1%)
127,607 (-1%)

l2_block_rollup_simulation_time_in_ms
12,117 (-1%)
48,196 (-1%)
97,105 (-1%)

l2_block_public_tx_process_time_in_ms
3,818
15,162
30,324

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,290 (-1%)
26,862 (-4%)

note_history_successful_decrypting_time_in_ms
1,373 (+2%)
2,479 (-1%)

note_history_trial_decrypting_time_in_ms
108 (-18%)
157 (+3%)

node_database_size_in_bytes
18,776,144
35,459,152

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
247 (-2%)
44,736
28,001

private-kernel-ordering
177 (-2%)
52,625
14,627

base-rollup
1,284 (-2%)
177,932
933

root-rollup
71.7 (+1%)
4,192
825

private-kernel-inner
314 (-2%)
73,715
28,001

public-kernel-app-logic
191 (-2%)
32,254
25,379

merge-rollup
5.86
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.90 (-1%)
10.4 (+1%)
12.6 (-7%)
16.3 (-1%)
22.1
36.1
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.9
17.5
23.0
31.6
47.0
79.0
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.573 (-1%)
0.574 (+1%)
0.531 (-7%)
0.502 (-1%)
0.462
0.449
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
N/A
N/A
N/A
45.9
72.4 (-1%)
232 (+1%)
444 (-1%)
874
1,739 (+1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
N/A
N/A
N/A
96.0
159
543
1,055
2,079
4,127

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.469
0.446
0.423 (+1%)
0.415 (-1%)
0.415
0.416 (+1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
N/A
N/A
N/A
54.8
101
340
663 (-1%)
1,322
2,626

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
N/A
N/A
N/A
104
197
691
1,363
2,707
5,395

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.487
0.478
0.463
0.454 (-1%)
0.458
0.455

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
61.4 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
109
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
0.535
N/A
N/A
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts

tx_size_in_bytes
19,179

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
2,643 (+3%)
1,334 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0327 (-10%)
469 (-2%)


Testing max-cached-age, local-domain and origin-doh-base options

Updating ie.equalit.ouinet:ouinet-omni to version 0.21.4 to set the newly added max-cached-age, local-domain and origin-doh-base options

Hi @dem31, thanks a lot for adding the changes requested to the config values.
I'm just curious about this; does the example application worked for you using a domain name instead of an IP in the DoH settings?

Hello @mhqz, indeed, I updated it to an OpenDNS IP from the list to keep things clear


about optimizing this project based on personal idea

Hi researchers,  I am going to optimize your project on my idea, for example change neural model or some processing details, therefore I need to understand your programming. Is there any suggestions for me to do that?
Thanks a lot!

Although this issue tracker is not for this type of questions, I will give it a try :

You will need to read our MedIA paper (see doc) to understand the architecture and training process, so that you understand what is happening in the code.
You will need good understanding of Tensorflow. If you are not adept in it, I strongly suggest you start with a tutorial in tensorflow, learn how to use it, and only then dive into DM's code to alter it.
Just with any non-trivial codebase, you will need patience. You will need to follow the flow of control in the code, from the front end to the back end:
Start with ./deepMedicRun that is the entry point.
Continue with the call to trainSession. This internally creates the model architecture and afterwards starts the training routine. Following the calls in there will lead you to delve into how the architecture is created into cnn3d, pathways, layers. And then they will take you to the training routine, which itself has substructure.

In order to make DM possible to train/test as an out-of-the-box tool even for non ML practicioners, the codebase is not trivial as straightforward 100-lines CNNs. So make sure you go slowly into it and get its design. If your aim is to focus on the ML side of things, perhaps starting from a cleaner starting point with a standard DL library and implement your own thing may be a better starting point, as it will allow you to learn DL from scratch. This all depends on your ultimate aims.
At this point I ll close this issue, as this issue tracker is more for tracking bugs and problems with the codebase, not for such "discussions". Feel free to send me an email if you d like to discuss such things at a later timepoint, and I ll try to be responsive.
Cheers,
K


How to trigger 'load pdf error'

How could I trigger whether pdf file load is success or fail? I am getting load pdf error printed on terminal.
Is it possible to display PDFViewerScaffold on success?

@kavin014 have you fixed this issue?


Add blocks and elements for radio buttons and checkboxes

Description
Slack launched support for radio button groups and checkboxes in Block Kit. The builder classes don't yet have these objects represented.
Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Refer #639 - closing this


Get current date in liquid template

I have a PostAgent scheduled at 6am every day which is used to make an API request to some service. Part of the request should be the current month as a number (January is 1) and the current year. The API allows other values of course, but I'm only interested in the current date.
Is there any way I can use liquid templating to get these numbers? Or am I going about this the wrong way and should I be looking for some other solution?

Take a look at the comments and links in #1745.  Hope they'll give you some hints!

Thanks a lot! I now use {{ 'now' | date: "%-m" }} for the month and {{ 'now' | date: "%Y" }} for the year.

Nice :) @knu, did this get documented on our wiki?

@cantino Done!


Failing test nerdctl restart

Which jobs are failing?
https://github.com/kubernetes-sigs/kwok/actions/runs/4104392465/jobs/7092806797
Which tests are failing?
nerdctl restart
Since when has it been failing?
#249
Reason for failure (if possible)
No response
Anything else we need to know?
No response

/cc @zwpaper
/cc @Zhuzhenghao

It looks like there are still a lot of problems with nerdctl's stop, and if it's not fixed we'll need to revert #249.

yes, I also found it is related to nerdctl, and did not find an args to fix it, I will dig into nerdctl later this day.
did you have time to do the revert? or should I raise a PR to revert and rebase https://github.com/kubernetes-sigs/kwok/pull/244 onto it?

I found it is easy to create a revert PR when walking around 🤣, created one https://github.com/kubernetes-sigs/kwok/pull/260

yes, I also found it is related to nerdctl, and did not find an args to fix it, I will dig into nerdctl later this day.

Yeah, it is better to find the reason.

I found it looks like compose stop does not really stop the containers, containers will appear after a short time disappear.
but it is not yet confirmed, I will dig into nerdctl to confirm this.

Fixes by #260
/close

/reopen
The old nerdctl test was also very unstable

This might have been fixed with https://github.com/kubernetes-sigs/kwok/blob/910014238bfda07409a1f92b50ac161305243f07/test/kwokctl/kwokctl_restart_test.sh#LL57C9-L57C9
The issue was that one scheduler container if I remember correctly did not get a chance to start up with nerdctl, the delay was longer than set in tests

Thank you, that's great.
/close


Fix popover wrapping

https://issues.redhat.com/browse/COST-5103

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.00%. Comparing base (263b0b5) to head (598a570).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #348   +/-   ##
=======================================
  Coverage   70.00%   70.00%
=======================================
  Files          81       81
  Lines        1080     1080
  Branches      216      246   +30
=======================================
  Hits          756      756
+ Misses        324      313   -11
- Partials        0       11   +11

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


Broadcast query flood from JmDNS when multiple responders register services

When multiple services respond to a broadcast query created by JmDNS, , JmDNS responds by sending more queries (one new query for each responder).  This causes a packet flood for a short burst.  Unfortunately, since JmDNS is incorporated in many products, this "flood" increases with each new instance of JmDNS.
Ultimately I witnessed my wireless network generate so much mDNS traffic from just this issue, that it decreased the performance to near zero with only 6 applications and 6 responders.
JmDNS should follow the guidance in the RFC 6762 section 7 regarding traffic reduction.  If another instance of JmDNS has already sent a query request for an interested service, it should not send anymore, and simply listen for the other instance's response.
Also, it should not generate new requests for each service registered (not sure why it is doing this, however, it is observable with wireshark and a simple test program that just adds one service and waits).
Simple test:
1)create a small application that requests a single named service. (I used _arduino._tcp.local)
2)have 6 servers (i used 6 cheap ESP8266 devices running the BasicOTA example)
3)start 6 copies of item 1 to simulate 6 applications.
4) observe large packet flood for several seconds
Since some tools stop and restart JmDNS (like Arduio IDE) to force a re-detection every 5 seconds, this can cause an infinite flood and cripple the network.

kurt

@kurtgo if I follow this (seeing the change made in arduiono) correctly it was resolved by moving from jmdns 3.5.1 to jmdns 3.5.3 ? Not sure exactly which change resolved this :( I might be in a situation where I need to backport this to an older version as 3.5.x requires a "newer" (1.6+) jvm.


Hello I'm just new here in GITHUB. I dont know if there is a formal writing to request MACRO or Recorder features for this board thank you

Macros are a big nono in fighting game tournaments due to being considered cheating and if you need macros you better work on your execution or find a different game genre.

Macros are a big nono in fighting game tournaments due to being considered cheating

Sure, but that's not a reason not to implement them. GP2040 is probably not even legal for many tournaments anyway.
But certainly, if we are going to talk about how to get GP2040 accepted at tournaments, we should think about how features such as macros would play into this. Perhaps there's a way to put GP2040 into "tournament mode", locking out functionality that would be considered inappropriate.

if you need macros you better work on your execution or find a different game genre.

Or you use macros to discover tech. Or you use macros as an accessibility aid to play a genre of game you couldn't otherwise. Or you use a fightstick for non-fighting games. There's a whole list of reasons why someone would want macros that don't all boil down to "I want to win Evo without actually being good".


SlideOverCards being created indefinitely

Hi. I want to add this card to my application. I'm doing it like I do with a normal .sheet, but I don't know why it is creating cards like on an infinite loop.
Main view code:
    @StateObject private var captureViewModel = CaptureViewModel()

    var body: some View {
        let filteredList = accounts.filter() {
            if codesViewModel.searchText == "" {
                return true
            }
            guard let item = $0.name else { return false }
            return item.lowercased().contains(codesViewModel.searchText.lowercased())
        }
        NavigationView {
            Group {
               ...
            }
            .toolbar(content: {
                ToolbarItem(placement: .topBarTrailing) {
                    HStack {
                        Menu {
                            if (!ProcessInfo.processInfo.isMacCatalystApp) {
                                Button {
                                    captureViewModel.sheetOpen.toggle()  // Opens the slide over card (previously it was a sheet)
                                } label: {
                                    Label("Capture QR code", systemImage: "qrcode.viewfinder")
                                }
                            }
                            ...
                        } label: {
                            Image(systemName: "plus")
                        }
                    }
                }
            })
            .slideOverCard(isPresented: $captureViewModel.sheetOpen) {
                CaptureView(captureViewModel: captureViewModel)
            }
            .sheet(isPresented: $newAccountFormViewModel.sheetOpen, content: {
                NewAccountFormViewIos(newAccountFormViewModel: newAccountFormViewModel)
            })
            .preferredColorScheme(appConfig.theme)
        }
        .navigationViewStyle(StackNavigationViewStyle())
    }

The slide over view:
var body: some View {
        Group {
            ...
        }
        .frame(height: 300)
        .onAppear(perform: {
            ...
        })
    }

Hi @JGeek00! Thank you so much for pointing this out to me. I ran across this issue a few times but I thought I had handled all of the edge cases to fix it. I'll take a look later today!

Great! Let me know if you need more details.

Having the same issue! Also having a conditional view ex:
                if isConnecting {
                    ProgressView()
                }

summons a new view

Any news regarding this issue?

I'm also having the same problem any news @joogps?


[SPARK-50200][PYTHON] Remove unused have_numpy testing utility from sqlutils.py

What changes were proposed in this pull request?
Remove unused have_numpy testing utility.
Why are the changes needed?
Code cleaning.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.

Thank you @dongjoon-hyun and @HyukjinKwon !


Training on new data

Do you have the code of extracting the pose information from a video file and outputting it in the same format used in your code?

Thanks for your interest in our work!
To obtain data using Vision API (which was used in our original work, WACV'22 paper ) in the same format, use the Pose Data Annotator app (Mac App Store, GitHub with Swift code).
We will be providing more options of pose estimator formats — including example code — soon. Please stay tuned.
If this does not resolve your inquiry, please feel free to re-open the thread.


[feature-request] Support new Document()

I'd like to render Dom manually with the own logic using this library.
For that purpose I'd like to do something like:
import { Document } from "linkedom";
const document = new Document();

Do you think is feasible to achieve? Thanks!
Here is the spec: https://developer.mozilla.org/en-US/docs/Web/API/Document/Document

wouldn't this be OK?
import { parseHTML } from 'linkedom';
const { window, document } = parseHTML('...');

you'll have a clean document with doctype, head, and body in there you can then enrich as you like.

that's a point - i don'\t have anything to parse - I'd like to build DOM document myself instead.

look closer:
parseHTML('...');

the '...' is not there as placeholder, it is the way to create an empty document where you then need to add anything you like in its head or body.
On the other hand, you can import Document and construct it https://github.com/WebReflection/linkedom/blob/main/esm/interface/document.js#L63 as long as you specify its mime type in doing so, the rest is for you to handle.
Valid mimes in here: https://github.com/WebReflection/linkedom/blob/main/esm/shared/mime.js


Move hard-coded values

Is your feature request related to a problem? Please describe.
There are multiple instances of constant values located loosely in different classes.
Describe the solution you'd like
As an improvement to code quality, move these values, as well as any hard-coded values, to configuration files, i.e. properties file. Inject via Spring @Value. This will make maintenance, as well as new additions, easier.
Additional context
Sensitive data (API keys, etc) is already stored in environment variables and accessible via  @Value that points to an existing properties file in the project.

I'll be on it!

Awesome! Can't wait to see your contribution 😄


PR: Add check to prevent hover with no docs

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #11346
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

Closing and reopening to retrigger our tests here.

@goanpeca, please skip test_code_snippets on Windows (present in test_introspection.py) because it fails with this PR (I don't know why).

Ok will add the skip!

@goanpeca, tests are passing now. Please address @dalthviz comment above to merge this one.

@goanpeca, tests are passing now. Please address @dalthviz comment above to merge this one.

Fixed!


Remove duplicated import pd

Pandas was imported twice in component. Now it's fixed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
1794

Relevant Lines:
2239

💛  - Coveralls


Both success and failure called after canceling OAuth flow and retrying it

There is a bug in OAuth flow for a following case.
iOS + SFSafariViewController  + code grant (however, I think something like that will happen in wide range of scenarios which I haven’t thought through)
The best way to reproduce is to start from empty Simulator (to make sure that no cookies are cached in SFSafariViewController)

Start OAuth flow
It will show SFSafariViewController
Dismiss it without entering credentials (Usually there is a "Done" button)
Start OAuth flow again
It will show SFSafariViewController again
Enter correct credentials
Both authorizeWithCallbackURL success and failure callbacks will be called.

Summary
The root cause is that we register multiple observers (one at step #1 and one at step #4). The observer from step #1 was never removed, because there is no code which handles canceling OAuth flow at step #3.
Details
Taking into account that old observer isn’t removed then on OAuth this function will be called.  func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -> Bool. This function will post notification which will be handled by two observers. One of them will go and get a token and will get 401 (because code is used already).
There are many underlying problems which produce this result
A) The demo application and example show in README instantiate new OAuth2Swift instance for each OAuth flow.
B) OAuthSwift.removeCallbackNotificationObserver called internally only for some results (successful or failed OAuth attempt). However, it won't be called, if a SFSafariViewController is just dismissed and no URL was opened.
I tried to resolved #B (remove old observer) by explicitly calling oauthswift.removeCallbackNotificationObserver(). However, because of #A, the new oauthswift instance doesn't hold a reference to old observer (self.observer will be empty).
Pretty much the only way is to solve this (without modifying OAuthSwift pod code) is to make oauthswift a singleton and call OAuthSwift.removeCallbackNotificationObserver explicitly . However, this opens next problem (also related to observers)
C) If you make OAuthSwift a singleton then it will start crashing at  SafariURLHandler.handle at line  if let observer = self.observers[key]. The issue is that old instance of SafariURLHandler is not references by anything (because we have to create new authorize_url_handle for each new OAuth flow:  oauthswift.authorize_url_handler = SafariURLHandler(viewController: viewController)). As result, self is unowned and not references and a closure is still called ( because observer was never removed ).
I found a temporary workaround/hack for this. The full solution (with several workarounds) are below.
Long term fix
However, I think the logic around registering and removing observers should be rethought to eliminate these workarounds.
Workaround
class OAuthSwiftSingleton {
    static let sharedInstance = OAuthSwiftSingleton()

    let oauthswift : OAuth2Swift!

    init() {
        oauthswift = OAuth2Swift(
            consumerKey:    KEY,
            consumerSecret: SECRET,
            authorizeUrl:   AUTHORIZE_URL,
            accessTokenUrl: AUTHORIZE_TOKEN,
            responseType:   RESPONSE_TYPE
        )
    }
}

...

func startOAuthFlow() {
        let oauthswift = OAuthSwiftSingleton.sharedInstance.oauthswift
        // Check if we have created SafariURLHandler before
        if (oauthswift.authorize_url_handler.dynamicType == SafariURLHandler.self) {
            let safariURLHandler = oauthswift.authorize_url_handler as! SafariURLHandler
            // Get observers out of it
            let observers = safariURLHandler.valueForKey("observers") as! [String: AnyObject]
            // Remove observers from SafariURLHandler
            for a in observers.values {
                NSNotificationCenter.defaultCenter().removeObserver(a)
            }
        }
        oauthswift.authorize_url_handler = SafariURLHandler(viewController: viewController)
        // Remove observers explicitly from OAuthSwift2 singleton
        oauthswift.removeCallbackNotificationObserver()

       oauthswift.authorizeWithCallbackURL( … )
}

maybe into 'safariViewControllerDidFinish' we must clear all the observers
observers into dictionary are easy to remove
but the global one, we must put a reference on OAuthSwift object into the SafariURLHandler (or a block to call removeCallbackNotificationObserver)
maybe into the didSet of url handler, by casting on SafariURLHandler or specific protocol

Hi, any progress on this issue? I'm facing same problem

documented function cancel will be added to OAuthSwift (this function call removeCallbackNotificationObserver), function to call when a web view is dismissed without authentification
add a reference to OAuthSwift object to SafariURLHandler`, this allow when pressing "Done" to remove all observers -> library update will make compile issue, but I will document in release...

a current workaround is to let user do the oauthSwift.removeCallbackNotificationObserver() in SFSafariViewControllerDelegate.safariViewControllerDidFinish function
and do also the workaround code from previous comment
let observers = safariURLHandler.valueForKey("observers") as! [String: AnyObject]
            // Remove observers from SafariURLHandler
            for a in observers.values {
                NSNotificationCenter.defaultCenter().removeObserver(a)
            }


expand cleardb and clearorders command tests

We should add more unit tests for cleardb command to cover more scenarios. Many relations in Saleor models (protected foreign keys for example) can cause errors during command execution.
We should have more tests so when we change Saleor models relations there is a lower chance to miss it.
Example: https://github.com/saleor/saleor/pull/14198

Hi I would like to work on this. I have setup saleor locally using saleor-platfom. It's a bit confusing for me, like two different repos. Where should I start looking for this issue? Any help would be appreciated...


Question about the session method

When I browse to the address https://nextjs-starter.now.sh/auth/session, even when there is no active user I get a session.
For example: {"maxAge":604800000,"revalidateAge":60000,"csrfToken":"iV9E1fdfdOfdfa2tHmffdayAiRRFT892lFgddfJFVa8d6XJGFg="}
Why does this session exist when the user is not logdin, and how can I check whether the user is logged in or not and whether his session is valid?

You don't need to login to create a session. This is very typical behaviour on most sites when not logged in (though actually may not be the default in future versions of NextAuth).
If you are logged in you should have a user object in your session (e.g. session.user = { name: "Joe", email<EMAIL_ADDRESS>}). Try logging in then taking a look at the session object for an example.
Note that the actual session ID is not exposed to the client via JavaScript / localStorage as protection against Cross Site Script Attacks, and is only stored in an HTTP Only cookie.


Added in kill command and better exit handling.

On exit, all views are now closed by wlc.

Thanks!


Use faxvin.com instead of carfax.com for plate lookups

I'm hoping this will fix https://github.com/josephfrazier/Reported-Web/issues/295

From https://github.com/josephfrazier/Reported-Web/issues/295:

Thanks for confirming! I'm seeing the same results from HYB2454 (NY) when I run the code from #355 locally, so it's also unclear to me whether it's better than carfax.

Carfax stopped working entirely, see https://reportedcab.slack.com/archives/C802R14UX/p1733927643668329


【Missing import: go.debug】 I try to replace the rust in the example with go

Machine

OS: Ubuntu 20.10 x86_64
Go: version go1.16.2 linux/amd64
Wasmer: github.com/wasmerio/wasmer-go v1.0.3

Export code
package main

import "fmt"

func main() {
	fmt.Println("Hello wasmer.io")
}

//export Sum
func Sum(x, y int) int {
	return x + y
}

/* BUILD:
GOOS=js GOARCH=wasm go build -o simple.wasm
*/

Import code
package main

import (
	_ "embed"
	"fmt"
	"github.com/wasmerio/wasmer-go/wasmer"
)

var instance *wasmer.Instance

//go:embed simple.wasm
var wasmBytes []byte

func init() {
	store := wasmer.NewStore(wasmer.NewEngine())
	module, e := wasmer.NewModule(store, wasmBytes)
	if e != nil {
		panic(e)
	}
	fmt.Printf("Load Wasm Size: %.2fMB\n", float64(len(wasmBytes))/1024/1024)
	instance, e = wasmer.NewInstance(module, wasmer.NewImportObject())
	if e != nil {
		panic(e) // panic: Missing import: `go`.`debug`
	}
}

func main() {
	sum, _ := instance.Exports.GetFunction("Sum")
	result, _ := sum(5, 37)
	fmt.Println(result)
}

ERROR
Load Wasm Size: 2.07MB
panic: Missing import: `go`.`debug`

goroutine 1 [running]:
main.init.0()
        /home/.../.../main.go:23 +0x219
exit status 2

The Go compiler generates Wasm modules that are designed for the Web only unfortunately. They must be executed with a wasm_exec.js file.
If you wish to generate real Wasm modules, please take a look at TinyGo. I'm not sure it's still the case today, but in the past, they were able to generate standalone Wasm modules, not tied to the Web or the unfamous wasm_exec.js file.
Otherwise, you can use go-wasm, which is a port of wasm_exec.js written in Go. It's using wasmer-go but I'm not sure it uses the latest version. Check https://github.com/wasmerio/wasmer-go/pull/95 to learn more about the entire discussion.

Just a quick comment on some research I am doing into this.
tinygo will successfully build modules that can be used with wasmer-go however you do need to use the wasi target not the  wasm target.
tinygo build -o ./module.wasm -target wasi .

Great work on wasmer-go I really love the package, super excited about what WASI and WASM are going to bring to create a cross-platform plugin infrastructure for applications.

Thanks for the tips, that's helpful!

I am working through putting a little example app together in Go that is a plugin interface for applications. At present, I only have basic functionality adding some helper functions to pass strings between the functions but it would be nice to add the other Wasi functions. When I get to this I will update the shim from go-adapter.
Technically the Go Wasm target will work with wasmer, as long as the default imports they add to the module for javascript imports were stubbed out as a wasmer.ImportObject. It might be worth just updating go-adapter for Wasi and JS. Pretty sure the Go team will add Wasi support as soon as the spec stabilizes.

Agree.


feat: Add optional HTTP headers map to client

This is a feature of the current client.
It can, for example, allow users to bypass proxies in front of their Grafana instance

Done! Will sign my commits (I thought I was already configured to do that...)


Remove multiform visses that don't make sense for Taggle from toolbar

For example, we currently still show axis-based multiform in the list of possible visualizations. That does not make much sense.

duplicate of #56


Adding an example for R + XGBoost HPO + Batch Transform in R

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

Closed this PR. R examples have been moved to "r_examples" top folder. This example was added there.


Are .env files supported?

Im using .env file for all my stacks, and all of them report missing vars:
WARN[0000] The "DOCKER_STORAGE_PATH" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_NETWORK" variable is not set. Defaulting to a blank string.
WARN[0000] The "SERVER_DOMAIN" variable is not set. Defaulting to a blank string.
WARN[0000] The "SERVER_DOMAIN" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_NETWORK" variable is not set. Defaulting to a blank string.

I'm also using .env for my existing stacks in dockge without any console warnings when starting the stack. How does your compose.yaml for your stack look like then?

For example:
  authelia:
    image: authelia/authelia:v4.38.0-beta2
    container_name: authelia
    user: "1000"
    volumes:
      #- ./authelia:/config
      - "./configs/authelia/authelia-config.yml:/config/configuration.yml:ro"
      - "./configs/authelia/authelia-users-database.yml:/config/users_database.yml:ro"
      - "./configs/authelia/private.pem:/config/private.pem:ro"
      - "${DOCKER_STORAGE_PATH}/network/authelia/config:/config"
    networks:
      - ${DOCKER_NETWORK}
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.authelia.rule=Host(`authelia.${SERVER_DOMAIN}`, `auth.${SERVER_DOMAIN}`)"
     ```


[chore] add update version automation workflow for artifacts release

Add quality-of-life enhancement to automate bumping version number in the Makefile as well as the various distribution manifests (as the number of distros grows, this step will become more of a pain).
Feel free to run in your own fork to verify; also see the successful run in my fork:
https://github.com/jackgopack4/opentelemetry-collector-releases/actions/runs/11167108224/job/31042578682
As well as the generated PR in my fork:
https://github.com/jackgopack4/opentelemetry-collector-releases/pull/18
This is obviously not required to be used, but since I have already updated the documentation in core repo for release: https://github.com/open-telemetry/opentelemetry-collector/pull/11234, I split this file out of the ocb docker release PR (https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671) to make this easier to merge in prior to v0.111.0 release
EDIT: I have added stable and beta version update capability. One of either 'stable' or 'beta' arguments are needed, and if a 'next' stable/beta version is not provided, then minor version will be bumped by default (e.g. v0.110.0 -> v0.111.0).
This can be overridden by providing a manual version number update (like v0.110.0 -> v0.110.1, as in my sample run)

I 💯 agree that bumping the version should be a simple, single step. This change implements this as a series of steps in GitHub Actions, which makes it not usable if you want to run it outside of GitHub Actions. I'd rather see a shell script written that does the version updates, and that script called as a single step in GitHub Actions. Committing changes should be separate from the script, so that anyone can run the script locally and preview the changes before making it a commit.

Would be happy to do it this way, just was modeling it after the existing action script in collector core: https://github.com/open-telemetry/opentelemetry-collector/blob/main/.github/workflows/prepare-release.yml

Note that there are (to my knowledge) three potentially different versions that need to be bumped in the manifests, as described here:

stable components all use the stable version - currently v1.15.0
unstable components from core repository use the core's version - currently v0.109.0
unstable components from contrib repository use the contrib's version - currently v0.109.0

Got it, will add stable and beta component update regardless of the method of execution

@andrzej-stencel made the changes you requested; runs in one bash script that can be ran locally in addition to in github actions and adds stable/beta functionality

successful release PR in my fork: https://github.com/jackgopack4/opentelemetry-collector-releases/pull/21

@andrzej-stencel @mx-psi waiting for checks to run but I feel better about this attempt. incorporated feedback from code review and added changelog step

The script in the current form does not update the following places:

otelcol_version and version in manifest.yaml files
OTELCOL_BUILDER_VERSION in Makefile

I think the script should use the --next-beta-core version for the OTELCOL_BUILDER_VERSION in Makefile and for the otelcol_version field in manifests. As for the version field in manifest, it's probably max(next_beta_core, next_beta_contrib). Or we could add a new parameter to the script and action to specify it.

addressed both of these


Logo added

ISSUE #5

I told you not to do any changes in the code.
Only add your logo in Images/Logo/logo.jpg.  Nothing else.

Resolve conflicts as well.
First update your repo, fetch upstream.

I've already done changes in code. What can I do now?


Chore: Provisioning IPv6 prefix to LT if clustter is IPv6

Fixes #N/A
Description
By provisioning a v6 prefix during launching a node, we can save all complex IP management from IPAM. Since a static v6 prefix is sufficient and simpler, we want to add it to LT creation.
To set PrimaryIPv6 to true will unblock users as https://github.com/aws/containers-roadmap/issues/1653
How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

8 of 12 (66.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 82.845%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/providers/launchtemplate/launchtemplate.go
7
11
63.64%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.03%

Covered Lines:
5650

Relevant Lines:
6820

💛  - Coveralls

This isn't a chore. See https://www.conventionalcommits.org/en/v1.0.0/#specification. (It's a feat:)

This isn't a chore. See https://www.conventionalcommits.org/en/v1.0.0/#specification. (It's a feat:)

Let me update. Didn't think this is satisfied as a feature :)

Should we think about changing our E2E testing to support this new mode where we both set the PrimaryIPv6 to be true and we pre-allocate the prefix?


switch nats to using JetStream

We're standardizing on using JetStream across infratographer.
This will resolve #69

Unable to test the two missed lines, it's json encoding a strictly typed struct.


Update unit tests to use CI

the call is just
  METHOD run_ci.
    zcl_abapgit_objects_ci_tests=>run( 'PDTS' ).
  ENDMETHOD.

and your exits should be
  METHOD zif_abapgit_exit~get_ci_tests.

    CLEAR ct_ci_repos. " if you don't want to run https://github.com/abapGit-tests/PDTS

    CASE iv_object.
      WHEN 'PDTS'.
        INSERT VALUE #(
          name      = 'PDTS'
          clone_url = 'http://vhcalnplci:8000/sap/zabapgitserver/git/PDTS.git' )
          INTO TABLE ct_ci_repos.
    ENDCASE.

  ENDMETHOD.

I understood the exit is to specify additional tests. Let me look at this more closely, if this is the case then the CI change is not needed.

Just a minor change: assert_true does not exist in 702
https://github.com/abapGit/abapGit/blob/0562ce5683d188d4d8a4fc81756a3fbb707a2658/src/objects/zcl_abapgit_object_pdts.clas.testclasses.abap#L68
Please replace with assert_equal

Was not aware of assert_true in 7.02, neither was the linter by the looks of it :)
Updated tests, all good to go.

checking dependencies outside the repo is not in scope for abaplint. you would need a list of all class and function signatures for all releases to catch something list this ;-). I'm planning to setup CI in my 702 to run regularly but I'm not sure when I will find the time for it.

thanks 👍


forge bind overwrite causes a "No such file or directory (os error 2)" if not run before

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (c15becc 2023-03-13T20:15:37.45287Z)
What command(s) is the bug in?
forge bind --module --single-file  --select "^NAME$"
Operating System
macOS (Apple Silicon)
Describe the bug
When running a forge bind command for the first time with the --overwrite flag, an error is generated (on macOS: No such file or directory (os error 2)). This can be mitigated by rerunning the command without the --overwrite flag, and then subsequent commands with the --overwrite flag should work here.
What I assume is happening is that the --overwrite flag tries to do something like remove the files before continuing, but throws this error when a non-existent file cannot be removed.
I would have guessed that the --overwrite would work if the generated code did not exist.

closed via #4569


Stop listening when TCP connection is established?

That's what lsp server/clients seems to do: https://youtu.be/DFAdG9o0sTw?t=690
Anyone who can connect to the worker TCP port can execute code. Maybe that's not a valid concern in our case ? And it is also only applicable with #32.

Cool video!
Is this already a security problem with Distributed then? Is it possible to send a message to the Distributed client from a browser, like the JSONRPC example in the video?

Is this already a security problem with Distributed then?

It uses a cookie shared between all nodes: https://github.com/JuliaLang/julia/blob/441c57057306ec63ed874e610bc53ba2a145c17e/stdlib/Distributed/src/process_messages.jl#L255 that is needed to connect to a worker.
This allows for secure Worker<->Worker communication without going through the main node.

Ah I see, and it looks like they write this cookie over stdin to the worker before it starts the server:
https://github.com/JuliaLang/julia/blob/441c57057306ec63ed874e610bc53ba2a145c17e/stdlib/Distributed/src/cluster.jl#L711
Maybe we should also implement a cookie/password?


feat: increase the priority of imagePullSecret from the pod spec

Description
Then the values of the domains for docker registry in the pod imagePullSecret and service account imagePullSecret are the same, then in the final structure, the credentials from the secret specified in the Service Account will "overwrite" the values from the secret specified in the Pod specification.
I increase priority of the imagePullSecret from Pod priority. This coincides with the principle of how kubelet working with imagePullSecret.
Related issues

Close #575

 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.

@verdel LGTM 🚀 could you please sign the CLA


python312Packages.python-designateclient: init at 6.0.1

https://opendev.org/openstack/python-designateclient
https://docs.openstack.org/designate/
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build python311Packages.python-designateclient

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4310