Update Cron time for 1.3.10 release

Description
Update Cron time for 1.3.10 release
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3331
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3498 (d2be11e) into main (05c68a2) will decrease coverage by 0.27%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #3498      +/-   ##
==========================================
- Coverage   91.16%   90.89%   -0.27%
==========================================
  Files         181      181
  Lines        5340     5340
==========================================
- Hits         4868     4854      -14
- Misses        472      486      +14

see 2 files with indirect coverage changes


Added conversion from &[u8] to Mpz.

This should probably take slice (&[u8]) instead of a &Vec<u8>.

@vks Good idea, changed that. If you guys like I can squash these commits together as well, since the first two are useless now.

Looks good to me! I can't merge it though. Squashing would be great, I would however probably wait until review is finished and @fizyk20 approved the PR.

Great! I'll wait to hear back from him then.
On 3 Mar 2016 2:26 pm, "Vinzent Steinberg"<EMAIL_ADDRESS>wrote:

Looks good to me! I can't merge it though. Squashing would be great, I
would however probably wait until review is finished and @fizyk20
https://github.com/fizyk20 approved the PR.
—
Reply to this email directly or view it on GitHub
https://github.com/fizyk20/rust-gmp/pull/4#issuecomment-191783262.

I think while I'm at it I'll also implement Into<Option<Vec<u8>>> for mpz::Mpz.

I have a question. mpz_export ignores sign and only exports the absolute value of a number. Should we also do that or should we convert to a two's complement interpretation?

Okay, I've implemented Into<Option<Vec<u8>>> for mpz::Mpz, ignoring sign. If you want I can try and get it to convert to a two's complement interpretation.

Thanks and sorry for the delay in replying! One question though - why Option<Vec<u8>> for Into, when it can never return None? Wouldn't just Vec<u8> make more sense?

To be honest that's because I assumed an Option was required. I'm relatively new to Rust. I'll change that right away, because it does make more sense.

That's cool, I'm not some Rust guru either ;) Thanks, merging :)


[To Main / DESENG-578] Remove default taxon data

Issue #: DESENG-578
Description of changes:

Task Remove default taxa from GDX tenant DESENG-578

Removed the pre-populated taxon entries from the GDX tenant.
With the power of the editor interface, tenants are now expected to create their own taxon entries.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

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

Project coverage is 75.60%. Comparing base (f88e4c7) to head (06ace0e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2457   +/-   ##
=======================================
  Coverage   75.60%   75.60%
=======================================
  Files         582      582
  Lines       20794    20794
  Branches     1529     1529
=======================================
  Hits        15721    15721
  Misses       4827     4827
  Partials      246      246

Flag
Coverage Δ

metapi
88.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


The dependency ffmpeg 4.3 has critical CVEs

🐛 Bug

In https://anaconda.org/pytorch/repo, the version of the dependency ffmpeg is 4.3, but ffmpeg 4.3 has several critical CVEs listed below. All those issues are related to buffer overflow with may cause unexpected application behavior.
CVE-2021-33815
CVE-2021-30123
CVE-2020-14212
CVE-2020-35965
CVE-2020-35964
BTW, ffmpeg 4.4 provides the most fixes. And I didn't find any strict restrictions on the version of ffmpeg in the source code. Could you update the ffmpeg from v4.3 to v4.4?
cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411 @fmassa @vfdev-5 @pmeier

Should I test the new FFMPEG?
We've fixed incompatibilities with the deprecated API, and (providing no bugs) FBSync would be the biggest blocker. Any thoughts on this @fmassa @prabhat00155 ?

also note that conda's ffmpeg-feedstock is still at 4.3.1 by default


modify the arrangement of text

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@fedelico Thank you for your contribution.


Add encodings to modules.STDLIB_PY3

For reference: https://github.com/python/cpython/tree/3.12/Lib/encodings
The encodings package is around long time ago, even it is not very well documented.
It is partially documented under https://docs.python.org/3/library/codecs.html

Many thanks for this PR. I will merge it after fixing CI...


[Android O]  /proc/stat is no longer accessible in Android O

https://issuetracker.google.com/issues/37140047 confirms that /proc/stat was removed from Android O as intended. Well, makes sense from the security perspective.
Note: /proc/self/stat seems to still work.

https://developer.android.com/reference/android/os/HardwarePropertiesManager.html might be useful, but need to check what it could return.

Similary, /sys/devices/system/cpu/cpu[num]/cpufreq/scaling_cur_freqand/sys/devices/system/cpu/cpu[num]/cpufreq/cpuinfo_max_freq` are not accessible, too.


Find a way to gracefully allow Steam to be closed on SteamOS

Long shot, but now that you have accepted our changes from our fork that tells you actually what is blocking ice from running, there needs to be some sort of way to gracefully exit steam or continue past it. Not sure if you have any ideas:
steam@steamos:~$ ice-launcher
=========== Starting Ice ===========
Ice cannot run because of issues with your system.

* `steamwebhelper` cannot be running while Ice is being run

Please resolve these issues and try running Ice again

Close the window, or hit enter to exit...

So before anything else I can add a CLI flag like --skip-steam-check which will let you continue running even if Steam is open. Be careful though - the reason this check exists is because Steam writes its shortcuts.vdf file on close, so if Ice is run while Steam is open when Steam closes (which will need to happen to view shortcuts) it will overwrite anything you did.
On the other hand, one of the big features that I REALLY want to add is to allow you to update Ice from Steam. Like, you have a shortcut which is basically "Run Ice" that will close Steam, run Ice to sync your shortcuts, then open Steam again. I have a feeling that running //after being launched from Steam// will present its own challenges - I doubt I can just close Steam while running a Steam shortcut, but I have nothing to back that thought up and havent investigated at all. Still, in the meantime I bet I can figure out how to make Ice automatically stop and restart Steam.

Interesting thoughts. I will be front and center to test anything for SteamOS. I'll ponder of some of these points today. I just got a dog last friday, so time comes in short spurts. Thank you Scott.

Also @ProfessorKaos64 I remember you or @sharkwouter mentioned that you wanted a way to turn off downloading images from consolegrid (cause of running Ice as part of the startup path). I added a way to do that in a86619bff89db80a87c7bca47b9a609528cfea2c, which I use mostly for integration tests.

Something like that yes, or that the intended behavior would be to pull from the custom directory, and fill in the gaps for the rest. I believe that is what your code does though, in the gridproviders python code. Let's let @sharkwouter weigh in for his opinion as well. The skip steam check is great, which i'll have to run some tests on. If the Ice shortcuts then go away if ran while Steam is open, then closes, we won't likely use it, but it is very useful for testing, so I appreciate it from a debug standpoint. Commit a86619b is very welcome as well.
Soon enough, this may be compatible with SteamOS :) When we get to that point, likely a certain commit will take over as "stable" for our uses on SteamOS, with semi-daily builds as "unstable" At the moment, we have ice-steamos , and semi-daily builds of this master tree as "ice-unstable".


[SPARK-30447][SQL] Constant propagation nullability issue

What changes were proposed in this pull request?
This PR fixes ConstantPropagation rule as the current implementation produce incorrect results in some cases. E.g.
SELECT * FROM t WHERE NOT(c = 1 AND c + 1 = 1)

returns those rows where c is null due to 1 + 1 = 1 propagation but it shouldn't.
Why are the changes needed?
To fix a bug.
Does this PR introduce any user-facing change?
Yes, fixes a bug.
How was this patch tested?
New UTs.

Test build #116496 has started for PR 27167 at commit c4fc902.

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/21283/
Test PASSed.

Test build #116496 has finished for PR 27167 at commit c4fc902.

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/116496/
Test PASSed.


Django 1.8 TypeError: Error when calling the metaclass bases

When I try to start my django server I get a crash:

...
django_select2/fields.py", line 301, in new
return type.new(cls, name, bases, dct)
TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

I think its related to #153 and #160. The fixed uploaded in #160 is not in the actual version from pip.
$pip freeze
Django==1.8
Django-Select2==4.2.2

Let me know if I can help fix it somehow or if I'm missing something out ;)
Thanks, cheers.

Nope, that's right. It's not yet on pypi. I don't feel like releasing this just now, there is still much that needs fixing and more important test coverage.
Just install from github, but may I remind you that it might not be stable.

Cool thanks. I will follow the GitHub route as I'm only prototyping and its fine.
Thanks again for the quick answer.


Best way to update to latest version

Sorry for the newb question but I have a copy of this from last year and would love to update to the latest.  I'm a pretty tech / code savvy person however I've never worked with Python before.  I'm on a Windows system.  Is there an auto-update feature from within the scripts or do I need to manually download / replace / reconfigure each time?
Thanks for your patience...

Nevermind - I see this on reddit.  Thanks,
https://www.reddit.com/r/PleX/comments/3rts18/mp4_automator_script_suite/


Bump to 2.6.1

We're using a quite old version (2.2.4): https://pybind11.readthedocs.io/en/stable/changelog.html
This will upload the latest through the conan-builder: https://builder.ci.pix4d.com/teams/developers/pipelines/conan-builder-bump-pybind11-to-2.6
@sambarluc seems that pybind11 is now on PyPI with some setuptools extension: https://pybind11.readthedocs.io/en/stable/compiling.html#build-setuptools But that probably doesn't help us with all the stuff we need to pull from conan.

We're using a quite old version (2.2.4): https://pybind11.readthedocs.io/en/stable/changelog.html

Note that there are breaking changes.

@sambarluc seems that pybind11 is now on PyPI with some setuptools extension: https://pybind11.readthedocs.io/en/stable/compiling.html#build-setuptools But that probably doesn't help us with all the stuff we need to pull from conan.

I think there are better ways to build the bindings but, also, I'm not too sure we should care too much.

Did I close this? Didn't do it on purpose, sorry.

We're using a quite old version (2.2.4): https://pybind11.readthedocs.io/en/stable/changelog.html

Note that there are breaking changes.

yes, probably for us, who don't use much, it won't break 🤞

@sambarluc seems that pybind11 is now on PyPI with some setuptools extension: https://pybind11.readthedocs.io/en/stable/compiling.html#build-setuptools But that probably doesn't help us with all the stuff we need to pull from conan.

I think there are better ways to build the bindings but, also, I'm not too sure we should care too much.

for simple projects, it may be handy


IPoIB fix for Ubuntu and CentOS images with waagent v<IP_ADDRESS>

Does this take into account CentOS systems that have WALinuxAgent already installed as an RPM?

Does this take into account CentOS systems that have WALinuxAgent already installed as an RPM?

Yes it does. However, all the IPoIB devices are not listed. That is the reason to use custom waagent v<IP_ADDRESS>

Yes it does. However, all the IPoIB devices are not listed. That is the reason to use custom waagent v<IP_ADDRESS>

Gotcha.  Would it be better to uninstall the RPM, if it is currently installed, and then install waagent from git so that the RPMDB doesn't contain conflicting information about the files?


Add a cover image for card view like fluentreader

I read everything in #76 .@SimonMellerin Your card view is great.But maybe it can go further
I found an app called Fluentreader **that adds a cover to each card in the case of ttrss's Fever API.**This provides a great convenience for choosing our favorite content, especially in the subscription of video sites.Expand All Articles A similar effect can be achieved in a video subscription site.But this will also expand blog subscription articles.The page will be filled with 3 articles.
On the front of each card is the title and cover image of the article.Hovering over the card will show the summary of the article.Cover images help us quickly find articles on the right topic.Ttrss can only display pictures after displaying the full text.This will result in a page that cannot accommodate few articles and cannot display many articles intuitively.
Can ttrss learn from such a function?As a user of ttrss I will be very grateful and pleased with its progress.
The following is the project address of fluentreader.It can be installed on windows, linux and macos which is very convenient for us to experience it.
https://github.com/yang991178/fluent-reader

Thank you for your reply.
This app is dependent on the ttrss server, in which many operations can be synchronized to the server.I'm not trying to recommend a downstream software to complicate things.I just use it to express my thoughts more clearly.
It's a pity that this feature cannot be implemented on ttrss.This feature is really useful in media of mass communication subscriptions.I hope this thing can still be turned around, because some features of ttrss are irreplaceable.
have a good day too，
nokaka

I'm so sorry to bother you all.
I found that the ttrss community already has a great card view.It's a little buggy, but it's worth a try.I recommend it to you.Then I will close this issue
https://git-gitea.tt-rss.org/fox/ttrss-card-view

Have a good day，
Nokaka


Comment:Step-Basic-Rest-api-server

Comment:Step-Basic-Rest-api-server
When you follow these instructions:
"First, start the server by running node ./examples/step/01/rest/1.js on one terminal."
you get a series of errors:
Feathers application started on port 3030
error - code: 404 message: Page not found
method: GET, url: /socket.io/?EIO=3&transport=polling&t=LyRGfAc
{}
error - code: 404 message: Page not found
method: GET, url: /socket.io/?EIO=3&transport=polling&t=LyRGgeC
{}
error - code: 404 message: Page not found
method: GET, url: /socket.io/?EIO=3&transport=polling&t=LyRGi65
{}

This is the first report of such an issue, so I think the problem lies either in how you installed the examples or where you are running this particular example from.
Make sure your current directory is the parent of examples/.


Use strict inequality for search radius check?

We currently only check if distance2 <= search_radius^2.
However, this causes problems in some computations. For example, this here in the surface tension computation:
julia> support_radius = 0.02; distance = support_radius; (-4 * distance^2 / support_radius + 6 * distance - 2 * support_radius)^0.25
ERROR: DomainError with -6.938893903907228e-18:
Exponentiation yielding a complex result requires a complex argument.
Replace x^y with (x+0im)^y, Complex(x)^y, or similar.
Stacktrace:
     ⋮ internal @ Base.Math
 [2] ^(x::Float64, y::Float64)
   @ Base.Math ./math.jl:1206
Use `err` to retrieve the full stack trace.

This does not happen when distance < search_radius.
The question is if there are any downsides to this strict inequality check. I don't see any.
Note that distance2 < search_radius^2 is not sufficient:
julia> 0.0004 * (1 - 0.7eps()) < 0.02^2
true

julia> sqrt(0.0004 * (1 - 0.7eps())) < 0.02
false

So we would have to do something like
distance2 < search_radius^2 * (1 - eps())

For example, this here in the surface tension computation:

Do you have a link for the code?
I mean, if this is an edge case, why not handle the edge case differently instead of changing the check to strict inequality?

Yes, I see. But:

Note that distance2 < search_radius^2 is not sufficient:

which means we loos a bit of performance when we calculate the sqrt(distance2) and then check distance < search_radius.

It should be noted that < was sufficient in all practical cases.

which means we loos a bit of performance when we calculate the sqrt(distance2) and then check distance < search_radius.

As I said, the following should be sufficient:
distance2 < search_radius^2 * (1 - eps())

I can live with distance2 < search_radius^2 * (1 - eps()) with an explanatory comment.
The weight and thus the impact of particles that are far away is negligible anyway...


Added FeatureCollection to geometryToLayer function

A GeoJSON object with the type "FeatureCollection" can now be transformed to a layer.

This functionality is already in 1.0.0, and I'm not really sure it's really needed to be backported into stable at this point. :-/

I needed this on the stable branch since I'm using leaflet as an angular directive with a project that depends on 0.7.x (https://github.com/tombatossals/angular-leaflet-directive/blob/master/bower.json#L18)

This only affects nested feature collections, right? Because addData handles the top level feature collection case already.

No, in my application I got an "Invalid GeoJSON object" error when passing a Feature Collection object to geometryToLayer(in the stable branch), that's why I needed the patch I'm adding.

Any suggestions with this issue?

@franbenz Are you passing a GeoJSON string for data in the layer definition?  If so, that may be the cause of the error.  I'm also using ui-leaflet, and it caused this error for me.
I question whether geometryToLayer() is supposed to receive Feature or FeatureCollection objects, rather than exclusively Geometry objects.
For me, the solution was to create the layer definition similar to this:
var newLayerDef = {
  name: 'POI',
  type: 'geoJSONShape',
  visible: true,
  data: JSON.parse('{"type": "FeatureCollection", "features": [ ... ]}'),
  layerOptions: {
    pointToLayer: function (feature, latlng) {
      return L.marker(latlng);
    }
  },
};

Closing because we just released 1.0 and minor issues in 0.7.x are unlikely to be fixed.


Unrecognized launcher type: prebuilt in cs setup

Please let me know any other details I can provide. Thanks!
$ java -version
Picked up JAVA_TOOL_OPTIONS:  -Xmx2576m
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

$ ./cs setup -y
Checking if a JVM is installed
Found a JVM installed under /home/gitpod/.sdkman/candidates/java/current.

Checking if ~/.local/share/coursier/bin is in PATH
Should we add ~/.local/share/coursier/bin to your PATH via ~/.profile, ~/.bash_profile? [Y/n] Y

Checking if the standard Scala applications are installed
  Found ammonite
Exception in thread "main" coursier.install.Channels$ErrorProcessingAppDescriptor: Error processing app descriptor for app cs from channel io.get-coursier:apps: Unrecognized launcher type: prebuilt
        at coursier.install.Channels.$anonfun$appDescriptor$5(Channels.scala:77)
        at coursier.install.Channels.$anonfun$appDescriptor$5$adapted(Channels.scala:64)
        at coursier.util.Task$.$anonfun$flatMap$extension$1(Task.scala:14)
        at coursier.util.Task$.$anonfun$flatMap$extension$1$adapted(Task.scala:14)
        at coursier.util.Task$.wrap(Task.scala:84)
        at coursier.util.Task$.$anonfun$flatMap$2(Task.scala:14)
        at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
        at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.lang.Thread.run(Thread.java:834)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)

https://github.com/coursier/coursier/issues/2350 as well?

Yeah, seems that issue was closed prematurely :) it's a workaround, but it seems the Fix™ is to do that for whatever native binary is being distributed.

We have the same problem on our build server, but got it working again with this work around:
coursier install --default-channels=false --channel="io.get-coursier:apps:1.0.19" sbt:1.6.1

Same problem here: https://github.com/scala/docs.scala-lang/runs/5033608530?check_suite_focus=true
Also reported there: https://github.com/coursier/setup-action/issues/171

This ought to have gotten better since https://github.com/coursier/apps/pull/134 (so io.get-coursier:apps:1.0.21). cs 2.0.16 launchers should be able to install / update cs itself again.
But yeah, using<EMAIL_ADDRESS>also fixes that.

Actually, sbtn rather than cs seems to be an issue with coursier/setup-action 1.1.x. https://github.com/coursier/apps/pull/135 should fix that.

Closing this, as I think this should be fixed since https://github.com/coursier/apps/pull/135. We'll try to come up with backward- (unless it's forward-?) compatible ways to evolve the app descriptor format in the future, to avoid such issues.


How do I adjust the base model?

What models does this library support? Is there any way to customize the models? Thanks

All models are supported; you just need to modify the model_name_or_path key in the training and inference configurations, because these are the model-dependent modules.

See the documented examples in the Training and Inference READMEs, as there are possibly other changes needed: e.g. LORA target modules names, the completion start string, max sequence length, among others.

Thank you very much. I changed the model_name_or_path using the method you provided, but now I encounter a new problem. I am using the large model internlm2_5-20b-chat, and the system shows that the model I am using is missing the module '''qkv_proj'''. How should I modify the code?
`(RAGgraphcityrun) root@intern-studio-50166964:~/RAGFoundry# python training.py -cp configs/paper -cn training-asqa  data_file=asqa-raft-cot-train.jsonl              output_key=generated_answer                      train.output_dir=./trained_models_cot/
[2024-08-17 00:02:27,377][main][INFO] - model:
target: ragfoundry.models.hf.HFTrain
model_name_or_path: internlm/internlm2_5-20b-chat
load_in_4bit: false
load_in_8bit: true
torch_dtype: null
device_map: null
trust_remote_code: true
lora:
bias: none
fan_in_fan_out: false
layers_pattern: null
layers_to_transform: null
lora_alpha: 16
lora_dropout: 0.1
peft_type: LORA
r: 16
target_modules:
- qkv_proj
task_type: CAUSAL_LM
use_rslora: true
completion_start:
instruction_in_prompt: false
max_sequence_len: 4000
train:
output_dir: ./trained_models_cot/
bf16: false
fp16: false
gradient_accumulation_steps: 2
group_by_length: null
learning_rate: 0.0001
logging_steps: 10
lr_scheduler_type: cosine
max_steps: -1
num_train_epochs: 1
per_device_train_batch_size: 1
optim: paged_adamw_8bit
remove_unused_columns: true
save_steps: 20000
save_total_limit: 1
warmup_ratio: 0.03
weight_decay: 0.001
report_to: null
instruction: ragfoundry/processing/prompts/prompt_instructions/qa.txt
template: null
data_file: asqa-raft-cot-train.jsonl
input_key: prompt
output_key: generated_answer
resume_checkpoint: null
limit: null
shuffle: null
hfhub_tag: null
use_wandb: null
experiment: null
wandb_entity: null
[2024-08-17 00:02:27,377][main][INFO] - Experiment name: None
[2024-08-17 00:02:27,377][main][INFO] - Output path: ./trained_models_cot/
[2024-08-17 00:02:27,377][main][INFO] - Loading dataset: asqa-raft-cot-train.jsonl
[2024-08-17 00:02:28,385][main][INFO] - Loading instruction from file ragfoundry/processing/prompts/prompt_instructions/qa.txt...
[2024-08-17 00:02:28,387][main][INFO] - Loaded instruction: You are a helpful question answerer who can provide an answer given a question and relevant context.
The repository for internlm/internlm2_5-20b-chat contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/internlm/internlm2_5-20b-chat.
You can avoid this prompt in future by passing the argument trust_remote_code=True.
Do you wish to run the custom code? [y/N] y
/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
The load_in_4bit and load_in_8bit arguments are deprecated and will be removed in the future versions. Please, pass a BitsAndBytesConfig object in quantization_config argument instead.
low_cpu_mem_usage was None, now set to True since model is quantized.
Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 21/21 [05:31<00:00, 15.80s/it]
generation_config.json: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 123/123 [00:00<00:00, 896kB/s]
[2024-08-17 00:08:13,486][ragfoundry.models.hf][INFO] - Loaded model: InternLM2ForCausalLM(
(model): InternLM2Model(
(tok_embeddings): Embedding(92544, 6144, padding_idx=2)
(layers): ModuleList(
(0-47): 48 x InternLM2DecoderLayer(
(attention): InternLM2Attention(
(wqkv): Linear8bitLt(in_features=6144, out_features=8192, bias=False)
(wo): Linear8bitLt(in_features=6144, out_features=6144, bias=False)
(rotary_emb): InternLM2DynamicNTKScalingRotaryEmbedding()
)
(feed_forward): InternLM2MLP(
(w1): Linear8bitLt(in_features=6144, out_features=16384, bias=False)
(w3): Linear8bitLt(in_features=6144, out_features=16384, bias=False)
(w2): Linear8bitLt(in_features=16384, out_features=6144, bias=False)
(act_fn): SiLU()
)
(attention_norm): InternLM2RMSNorm()
(ffn_norm): InternLM2RMSNorm()
)
)
(norm): InternLM2RMSNorm()
)
(output): Linear(in_features=6144, out_features=92544, bias=False)
)
[2024-08-17 00:08:13,487][ragfoundry.models.hf][INFO] - Initializing LORA based on {'bias': 'none', 'fan_in_fan_out': False, 'layers_pattern': None, 'layers_to_transform': None, 'lora_alpha': 16, 'lora_dropout': 0.1, 'peft_type': 'LORA', 'r': 16, 'target_modules': ['qkv_proj'], 'task_type': 'CAUSAL_LM', 'use_rslora': True}
Error executing job with overrides: ['data_file=asqa-raft-cot-train.jsonl', 'output_key=generated_answer', 'train.output_dir=./trained_models_cot/']
Traceback (most recent call last):
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 92, in _call_target
return target(*args, **kwargs)
File "/root/RAGFoundry/ragfoundry/models/hf.py", line 151, in init
self.model = get_peft_model(self.model, LoraConfig(**lora))
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/mapping.py", line 149, in get_peft_model
return MODEL_TYPE_TO_PEFT_MODEL_MAPPING[peft_config.task_type](model, peft_config, adapter_name=adapter_name)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/peft_model.py", line 1395, in init
super().init(model, peft_config, adapter_name)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/peft_model.py", line 138, in init
self.base_model = cls(model, {adapter_name: peft_config}, adapter_name)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/tuners/lora/model.py", line 139, in init
super().init(model, config, adapter_name)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/tuners/tuners_utils.py", line 166, in init
self.inject_adapter(self.model, adapter_name)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/peft/tuners/tuners_utils.py", line 375, in inject_adapter
raise ValueError(
ValueError: Target modules {'qkv_proj'} not found in the base model. Please check the target modules and try again.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/RAGFoundry/training.py", line 123, in
main()
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main
_run_hydra(
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
_run_app(
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app
run_and_report(
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
raise ex
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
return func()
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in
lambda: hydra.run(
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run
_ = ret.return_value
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value
raise self._return_value
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job
ret.return_value = task_function(task_cfg)
File "/root/RAGFoundry/training.py", line 58, in main
model_class = hydra.utils.instantiate(args.model, convert="object")
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 226, in instantiate
return instantiate_node(
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 347, in instantiate_node
return _call_target(target, partial, args, kwargs, full_key)
File "/root/.conda/envs/RAGgraphcityrun/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 97, in _call_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error in call to target 'ragfoundry.models.hf.HFTrain':
ValueError("Target modules {'qkv_proj'} not found in the base model. Please check the target modules and try again.")
full_key: model`

I'm not familiar with your LLM but in general the modules you use with LORA in target_modules should exist in the LLM. qkv_proj is an example, a module from Phi-3; you need to adjust this for your own LLM.

thanks，I checked the data from previous data enhancement today and found that the data in my positive key is empty. I did not make many changes to the retrieval code. Is this normal? If it is wrong, where might the problem be?(I just changed the URL in the qrant.yaml file to memory.)
components:     retriever:         init_parameters:             document_store:                 type: haystack_integrations.document_stores.qdrant.document_store.QdrantDocumentStore                 init_parameters:                     location: ":memory:"                     index: wikipedia                     embedding_dim: 768                     similarity: dot_product                     write_batch_size: 50             top_k: 5         type: haystack_integrations.components.retrievers.qdrant.retriever.QdrantEmbeddingRetriever     text_embedder:         init_parameters:             batch_size: 64             model: BAAI/llm-embedder             prefix: "Represent this query for retrieving relevant documents: "             device:         type: haystack.components.embedders.sentence_transformers_text_embedder.SentenceTransformersTextEmbedder connections:     - receiver: retriever.query_embedding       sender: text_embedder.embedding
The results show that the dataset I generated does not have a relevant index under the positive key:
{"ambiguous_question":"When does the new bunk'd come out?","qa_pairs":[{"context":"No context provided","question":"When does episode 42 of bunk'd come out?","short_answers":["May 24, 2017"],"wikipage":null},{"context":"No context provided","question":"When does episode 41 of bunk'd come out?","short_answers":["April 28, 2017"],"wikipage":null},{"context":"No context provided","question":"When does episode 40 of bunk'd come out?","short_answers":["April 21, 2017"],"wikipage":null}],"wikipages":[{"title":"List of Bunk'd episodes","url":"https://en.wikipedia.org/wiki/List%20of%20Bunk%27d%20episodes"}],"annotations":[{"knowledge":[{"content":null,"wikipage":"List of Bunk'd episodes"}],"long_answer":"The new bunk'd episode 41 comes out on April 21, 2017, episode 42 comes out on April 28, 2017 and episode 42 is due to come out on May 24, 2017. "}],"sample_id":"-5742327688291876861","answer-long":["The new bunk'd episode 41 comes out on April 21, 2017, episode 42 comes out on April 28, 2017 and episode 42 is due to come out on May 24, 2017. "],"answer-short":[["may 24 2017"],["april 28 2017"],["april 21 2017"]],"answers":["The new bunk'd episode 41 comes out on April 21, 2017, episode 42 comes out on April 28, 2017 and episode 42 is due to come out on May 24, 2017. "],"query":"When does the new bunk'd come out?","positive_passages":[],"negative_passages":[]}

Are there any documents in your corpus or the Qdrant index empty, perhaps? see issue #4.


fix typo in task runner

I think this was just merged from another PR :)
https://github.com/jondot/sneakers/pull/181/files

This can be closed.


can not switch tab when the tabbar is invisible in android

Current Behavior

I set the tabbar visible=false, then switch the tab using NavigationActions.navigate,nothing happened in android, but the behavior is ok in ios
code:
TabNavigator--
-|---Page1
-|---Page2(StackNavigator)
-----|---SubPage1
-----|---SubPage2
dispatch(NavigationActions.navigate('Page2'));
Expected Behavior

Your Environment

software
version

react-navigation
beta 10

react-native
0.44

node

npm or yarn

React-navigation : last
React-native: 0.44.0

Please provide a demo of this issue. I'm going to close this for now but will happily re-open if a demo (using the latest version of react-navigation is provided). Thanks!


Avoid ConcurrentModificationException when iterating over Http2Connectio...

...n.activeStreams().
Motivation:
We have seen ConcurrentModificationExceptions being thrown in DefaultHttp2RemoteFlowController.writePendingBytes()
while iterating over all active streams and trying to flush their frames buffered in the flow controller.
The issue can be reproduced 100% of the time, when we receive a WINDOW_UPDATE for the connection and we
subsequently write a frame with the END_STREAM flag set of a stream that is already state HALF_CLOSED_REMOTE,
then the frame gets closed and removed from the set of active streams - thus a ConcurrentModificationException
is raised.
Modifications:

Replace the LinkedHashSet with a ConcurrentSkipListSet, which allows for being modified while being iterated over.
Require Http2Connection.activeStreams() to return a collection that allows for concurrent modifications.

Result:
The HTTP2 codec no longer crashes in the before mentioned scenario.

@nmittler @Scottmitch please review.

@buchgr I think it would be better to not use "Concurrent*" here but eliminate the cause of it as we are single threaded. Maybe just copy the collection before or just "mark" stuff as deleted and delete later ?

@Scottmitch lol... you was just a few seconds faster ;)

@normanmaurer I thought about copying, but that seems a lot more expensive than just using a collection that allows to be modified while iterating. What's the reason for not using concurrent?

Is this superseded by https://github.com/netty/netty/pull/3549?  Keep in mind I also have a PR which avoids concurrent modifications more generally as described in https://github.com/netty/netty/pull/3537#discussion_r27249115 which will also touch on https://github.com/netty/netty/issues/3550.

@Scottmitch yeah I think that #3549 takes care of this.  @buchgr correct me if I'm wrong.

sounds good


set DefaultRetries to 0

By default, the client should not retry when error happens.

I know I broke the behaviour. I did it on purpose. If a request succeeds there's no retry, if it fails we attempt it when it's under the request timeout. This is much like the behaviour of nginx or other web servers that try to retry if there's a failure. I don't know if I plan to remove this


[3.0] Refactor SilkTouch to Use Roslyn Workspaces + more

Summary of the PR
Refactors SilkTouch to make it fit for the future.
Related issues, Discord discussions, or proposals
Links go here.
Further Comments
ClangScraper is now a mod in its own right
It was too special and I wanted to ensure any major refactor made the core of SilkTouch nothing but a mod execution and documents pipeline, rather than being magical and tied to ClangSharp intrinsically.
Use Roslyn Workspaces
This is so we can make use of the Renamer which uses the semantic model to determine usages of the symbol we're renaming, rather than having to work all that context out ourselves. This is much slower, but more correct and fixes issues encountered in #2234 wherein the renames didn't propagate through thing->a->b for instance
Repository structure
As discussed in team talk.
Dependencies

#2296

#2207

Dependents

#2234
#2278

Supersedes

Closes #2245

This has been rebased and to the best of my knowledge and belief it's ready for review @curin. It's quite hard to review though, I'd focus on the SilkTouch changes. Most of the bindings changes are fiddling with usings or member ordering, which really I would like to somehow make deterministic so it doesn't pollute PRs like it has here.


How edit the Home page

sorry new here with Laravel, I installed it without issue but confused how to edit the home page like background color and logo etc?

Can you kindly tell me where is the page that holds the header?
I need to change for example calendar and logo or even add new menu like contact us but I cant find it, checked logo png in  /var/www/html/flox/public/assets/img is there but not changing. please someone help me.


Build: pyproject.xml fixes

commit 97498ae39322fd228d10d5e099cbe11f97e9f384
Author:     Michał Górny<EMAIL_ADDRESS>AuthorDate: 2023-08-22 05:54:54 +0200
Commit:     Michał Górny<EMAIL_ADDRESS>CommitDate: 2023-08-22 05:55:20 +0200
Build: Remove redundant wheel dep from pyproject.toml

Remove the redundant `wheel` dependency, as it is added by the backend
automatically.  Listing it explicitly in the documentation was
a historical mistake and has been fixed since, see:
https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a

commit df8e4074998afe15593bead59674ebdad9d59676
Author:     Michał Górny<EMAIL_ADDRESS>AuthorDate: 2023-08-22 05:50:07 +0200
Commit:     Michał Górny<EMAIL_ADDRESS>CommitDate: 2023-08-22 05:50:07 +0200
Build: Use non-legacy setuptools backend

Use the modern `setuptools.build_meta` backend rather than the legacy
backend that is implied by the lack of `build-backend`.

This is documented in PEP 517:

> If the `pyproject.toml` file is absent, or the `build-backend` key is
> missing, the source tree is not using this specification, and tools
> should revert to the legacy behaviour of running `setup.py` (either
> directly, or by implicitly invoking
> the `setuptools.build_meta:__legacy__` backend).

https://peps.python.org/pep-0517/#source-trees

Codecov Report

Merging #171 (97498ae) into develop (2d23294) will increase coverage by 0.04%.
Report is 6 commits behind head on develop.
The diff coverage is 85.71%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
+ Coverage    91.71%   91.76%   +0.04%
===========================================
  Files          138      138
  Lines        10736    10720      -16
===========================================
- Hits          9847     9837      -10
+ Misses         889      883       -6

Flag
Coverage Δ

unittests
91.76% <85.71%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

src/pygccxml/parser/linker.py
90.09% <0.00%> (-0.05%)
:arrow_down:

src/pygccxml/utils/utils.py
77.70% <50.00%> (+2.54%)
:arrow_up:

src/pygccxml/declarations/container_traits.py
90.27% <100.00%> (ø)

src/pygccxml/declarations/type_traits.py
91.53% <100.00%> (ø)

src/pygccxml/parser/config.py
90.22% <100.00%> (-0.05%)
:arrow_down:

src/pygccxml/parser/project_reader.py
80.00% <100.00%> (ø)

src/pygccxml/parser/scanner.py
96.28% <100.00%> (ø)

unittests/find_container_traits_tester.py
95.55% <100.00%> (-0.05%)
:arrow_down:

... and 1 file with indirect coverage changes


Acoustical alignment improvement

[x] separate class
[x]  opsplitsen in afzonderlijke velden van " acoustical alignment = {'distance_from_foc': 10.0, 'init_line_len': 30.0, 'init_line_step': 0.5, 'init_threshold': 0.01, 'reduction_factor': 0.5, 'max_red_iter': 3, 'create_graphs': True, 'create_axis_file': False, 'axis_length': 140.0, 'axis_stepsize': 0.5} "
[x] Use focus wrt exit plane voor z - coord bepaling
[x] Pas focus naam aan in gui +  de z cor in e titel van de figuur wrt exit plane
[x] Print info of sequence(s) in input_param
[ ] Y-lim to front end
[x] Focus wegschrijven wrt exit plane

[x] block main dialog when sub is open
[x] calculate average of found middle points
[x] calculate azimuth and elevation of direction vector and average of middle points


Add context to the word "To" for better i18n

The English word "To" has multiple meaning, so it's hard to translate to another language.
So I think we should add Context string to the word "To" and "From".
I'd like to hear opinions from international users what is the correct context string.
Here is my idea:

tc('Email', 'To'); or tc('Person', 'To');
tc('Schedule', 'To'); or tc('Event', 'To');
tc('Direction', 'To');

For Email context, "To" should be translated as "宛先" in Japanese.
For Schedule context, "To" should be translated as "終了" in Japanese.
For Direction context, "To" should be translated as "行先" in Japanese.

Same thing in german, there it is:
For Email context, "To" should be translated as "an" in German.
For Schedule context, "To" should be translated as "bis" in German.
For Direction context, "To" should be translated as "nach" in German.

I agree with cahueya's explanation for german language.

Yes, if something inside t() calls has multiple meanings, it's very likely that it can be translated in multiple ways depending on the context (so, we should use tc()).
That's why splitting a text into multiple chunks should be avoided. That Is, instead of t('Published by ') . $author . t(' on ') . $date we should have t('Published by %s on %s', $author, $date).
Furthermore, some translation may require to have the date before the author, so we should let the translators have full control over the order of the inserted texts; this is achieved by writing t('Published by %1$s on %2$s', $author, $date).
Finally, we can give translators a hint about what are %1$s and %2$s, so what I'd write for it would be t(/*i18n: %1$s is a person name, %2$s is a date/time */'Published by %s on %s', $author, $date).

Agreed – we accept this proposal. It seems like a good idea.


Seed possibiltiy

Is there a way to seed the random generator to reproducible results for test purposes?

I never thought about that. Isn't it possible the way we would seed stdlib uuid module?

stdlib has no uuid7.
In your library I can pass either bytes or the timestamp, not both, so I think it's not possible atm.
However I think I'll change for uuid4 for testing.


Customisation of SmartSelect tile

Hi,
Thanks for the literally awesome package! Unfortunately, I still have some problems with it.
I am using two expanded SmartSelect widgets within a row and I am having problems with the responsiveness/customisability of the tiles.
As can be seen, the title text of the left smart select is already wrapped into 2 lines but doesn't look very good:

Also, if I have a multi selection and multiple items are selected, the title looks like this:

If too many options are selected, the text overflows:

Actually I would need two things:

Be able to hide the title completely.  (currently, when setting title: "" I get an exception)
Be able to define text behaviour of title and selected item text: maxLines and overflow properties just like in Flutter's Text widget.

Hi, and sorry for the late reply.
Thank you for your kind words))
Probably, we will be adding this in next sunday's release).

@akbarpulatov thank you very much for the response!
As a small workaround I am currently just manually displaying the current value inside the title, and disabled the SmartSelect-provided showing of the current value instead.

Hi! Can you share your code?
By the way, you should not have an exception when title: "".

I created a discord channel for this purpose: https://discord.gg/2HAKeZwPsQ

Maybe you want to use custom tile and set your own Text Widget with your properties like this:
import 'package:flutter/material.dart';
import 'package:flutter_awesome_select/flutter_awesome_select.dart';

class FeaturesMultiPage extends StatefulWidget {
  @override
  _FeaturesMultiPageState createState() => _FeaturesMultiPageState();
}

class _FeaturesMultiPageState extends State<FeaturesMultiPage> {

  List<String>? _chosenSeries = ['a'];

  List<S2Choice<String>> _series = [
    S2Choice<String>(value: 'a', title: 'a'),
    S2Choice<String>(value: 'b', title: 'b'),
    S2Choice<String>(value: 'c', title: 'c'),
    S2Choice<String>(value: 'd', title: 'd'),
    S2Choice<String>(value: 'e', title: 'e'),
  ];

  List<String>? _chosenPeriod = ['live'];

  List<S2Choice<String>> _periods = [
    S2Choice<String>(value: 'live', title: 'Live'),
    S2Choice<String>(value: 'another_pediod_1', title: 'Another Period 1'),
    S2Choice<String>(value: 'another_pediod_2', title: 'Another Period 2'),
  ];

  @override
  Widget build(BuildContext context) {
    return Row(
      children: <Widget>[
        Flexible(
          flex: 5,
          child: SmartSelect<String>.multiple(
            title: 'Period title',
            selectedValue: _chosenPeriod,
            choiceItems: _periods,
            tileBuilder: (context, state){
              return S2Tile.fromState(state,
                title: Text('Period', overflow: TextOverflow.ellipsis, maxLines: 1,),
              );
            },
            onChange: (selected) => setState(() => _chosenPeriod = selected?.value),
          ),
        ),
        const Divider(indent: 20),
        Flexible(
          flex: 5,
          child: SmartSelect<String>.multiple(
            title: 'Series title',
            selectedValue: _chosenSeries,
            tileBuilder: (context, state){
              return S2Tile.fromState(state,
                title: Text('Series', overflow: TextOverflow.ellipsis, maxLines: 1,),
              );
            },
            choiceItems: _series,
            onChange: (selected) => setState(() => _chosenSeries = selected?.value),
          ),
        ),
      ],
    );
  }
}

P.S. I recommend using SmartSelect in a column layout. But, if you want to make a row of multiple SmartSelect widgets, then you'd rather use tile and value to be in a column ( set isTwoLine: true,).
Result:

Hope this helps!
Wait for your reply.

Hi, and sorry for the late reply. Thank you for your kind words)) Probably, we will be adding this in next sunday's release).

Actually this approach was not effective)) So you can share your ideas if you have

P.S. I recommend using SmartSelect in a column layout. But, if you want to make a row of multiple SmartSelect widgets, then you'd rather use tile and value to be in a column ( set isTwoLine: true,). Result:

Hope this helps! Wait for your reply.

@akbarpulatov Actually this helped, thank you!
For now, I am good!


list index out of range

youtube/Extract.py in Get_js(req, vid)
     32         except:
     33                 match=compile(r'jsUrl":"(.*?)"')
---> 34                 src=findall(match,data)[0]
     35         if src:
     36                 return "https://www.youtube.com"+src, data

IndexError: list index out of range

youtube baned the ip, But today worked.

youtube baned the ip, But today worked.

Hello @zxl777  can you please share the video id so we can fix the problem and thank you very much for reporting we are still in beta phase.

Hello @zxl777  can you please share the video id so we can fix the problem and thank you very much for reporting we are still in beta phase.


Version consistency issue of gop

goxls generates gop_autogen.go by calling gop.GenGo but tests xxx_test.go by calling command line gop test. There are two versions of gop and maybe cause consistency issues.

https://github.com/goplus/tools/pull/81


Update local-network.mdx

Updated broken link with correct link to url of Current Tags section of the Sui NPM registry.
Description
Existing link was broken. I navigated to the correct url and replaced the link with that url (https://www.npmjs.com/package/@mysten/sui?activeTab=versions).
Test plan
How did you test the new or updated feature?
I double-checked that the url is correct.

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

Screenshot shows the current broken link/url:

Thanks @Danny-Devs !


IOTDB-2207 Update Grafana Plugin.md

The instructions of integrating Grafana Plugin with IoTDB in English
Description
Content1 ...
Content2 ...
Content3 ...

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

First, congratulations to your first PR!
I think we have to adjust some things... but the translation reads good, I think.

@Mirandaliebe I moved your translation to the english directory and restored the chinese document. Futhermore I added it to the navigation on the homepage.

@Mirandaliebe I moved your translation to the english directory and restored the chinese document. Futhermore I added it to the navigation on the homepage.

Really appreciate your help! I am so glad to start my participation in the development of IoTDB and .. Oops sorry for having committed the changes in the wrong place! I will take care about that in the future and try to contribute more to the project ^ ^

Coverage increased (+0.006%) to 67.515% when pulling 0a38c7f00f8f52bee4ed671cbbb93a7f25573aba on Mirandaliebe:translation/grafana_plugin into 853ff4771e36505bd6082b17b4b49af7a866329b on apache:master.


clarify intended behavior of validate

The validate and verify functions (unclear of the distinction, but appears to be discussed in https://github.com/spruceid/siwe-py/issues/24) has an inconsistent implementation in nearly every language. I am curious what the intended implementation is, totally understand that different languages have different idioms to adhere to.

Python: the validate function does not return anything, merely raises an exception if there is an error in parsing. However, the docstring indicates an intended boolean return type (true if ok, false otherwise).
Javascript: the equivalent validate function returns {Promise<SiweMessage>} This object if valid., which is a parsed message with all the message's fields.
Rust: my read of the verify function (not validate) is that it returns the publickey, if valid, and throws an error otherwise.
Golang: verify function looks to be same as in Rust
Ruby: I think this function returns true if valid, and raises an exception otherwise.
Elixir: AFAICT this implementation actually does return true if valid and false otherwise, as it catches any exceptions to finally return a boolean.

In particular, Javascript looks to be the outlier with its behavior - it does validate the message but additionally returns the message. However, it's also the language with the most adoption / usage, so I assumed it was the 'canonical' approach.
Happy to help with the changes if we can confirm the desired behavior, thanks for working on the protocol!

We are currently harmonizing our APIs across languages (should be finished this week) and we can then revisit this issue.

The naming is now unified accross the libraries, #27 for the Python one. verify is to verify the signature, nonce, etc. validate if present (it is a constructor in most languages) validates the formatting of a message.
As for the return type, it simply depends on what the underlying ethereum/secp256k1 library returns, and the language's idioms.


Feature request: (enable|disable) register

Give the admin the possibility to temporarily (or even permanently)  disable new users to register. Just enable users who already registered to play.
Something like /lac register disable /lac register enable
Greate plugin btw.

You can make an alias using BetterAlias:
Add this into the Aliases.yml:
register:
0: reply &REDSorry you can't register at the moment!
loginsecurity:register:
0: reply &REDSorry you can't register at the moment!
BetterAlias: https://dev.bukkit.org/projects/betteralias
@ffmarcos try this...

put 2 spaces between the start of the line and the 0

@ffmarcos Sounds like a neat feature.
Ill add it in the first feature updater after 2.2

@Tzzzt123 the BetterAlias hack didn't work, but that is probably my mistake (:
@lenis0012 cool!

@ffmarcos ok imma look into it

Simply add the following to commands.yml to disable /register command:
aliases:
  register:
  - []
  loginsecurity:register:
  - []


Overviewmap projection

The overviewmap's View projection is always EPSG:3857. This causes issues when the displayed layer is not in such projection (4326 for instance).
For instance, when dezooming to min zoom (0), we get something like the following:

See #3007 and #3647.

Ok my bad.
Hadrien Tulipe
2015-06-22 17:25 GMT+02:00 Alexandre Dubé<EMAIL_ADDRESS>
See #3007 https://github.com/openlayers/ol3/pull/3007 and #3647
https://github.com/openlayers/ol3/pull/3647.
—
Reply to this email directly or view it on GitHub
https://github.com/openlayers/ol3/issues/3836#issuecomment-114153427.

You can close this issue.


Example for "Sign in on the web"

Please can you add a step-by-step example how FIDO2 based sign in on the web can be enforced?
Lock screen works for me - therefore security key is registered and working - but I see no option to use a security key while signing in to O365 servcices with Edge from a not-AAD joined Windows 10 PC (Build 1903).

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

ID: ae3dbcad-9d0d-c32d-7b02-2a3ffe291b2e
Version Independent ID: 4f716e15-73a2-71a0-53ba-801b6097c479
Content: Configure Azure Active Directory passwordless sign in (preview)
Content Source: articles/active-directory/authentication/howto-authentication-passwordless-enable.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

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

Working on this.

Update to doc is pending approval from PG

#please-close


tests: bluetooth: host: Fix CI failures with bt_keys_get_addr() UT

CI tests were failing due to a recent change to zassume_true() implementation.
While the test case is still skipped when assumption fails, but it is now causing the final execution result to fail.
zassume_true() was replaced by ztest_test_skip() combined with a conditional 'if' statement to get the required effect.
Signed-off-by: Ahmed Moheb<EMAIL_ADDRESS>

@sem1-nordic fyi


[istio.io testing] Need test for Fault Injection

Describe the feature request
We need to develop a test for the Fault Injection task in order to provide automated testing of the Istio.io website for future releases.
Example tests and the documentation for the framework can be found here: https://github.com/istio/istio/tree/master/tests/integration/istioio
A YouTube video describing the usage of the framework can be found here: https://www.youtube.com/watch?v=3y-z8NaVwr0
Please reach out to the Test and Release channel on the Istio Slack or Test and Release Discuss  with any questions.

I'll try with this one

Hi @brian-avery let me know your thoughts about this!!

Thanks for this @elieser1101. A couple of comments:

I don't see the Bookinfo gateway/deployments being created.
I see on the istio.io website a comment saying "Allow several seconds for the new rule to propagate to all pods.", but no delay. It could take a bit after the resource has been created for it to propagate through Istio. I think the best way we have to address this for now is to add a sleep.
It looks like the verification is missing for both scripts. In both cases, the user makes a request to productpage and is looking for something on the page. This can probably be accomplished with a curl script and verification that the output contains the expected string.
nit: crete appears a couple of times, but should be create


Use server side apply for deploying K8s manifests and replicate kubectl apply behaviour

At the moment we are using the typed interfaces for deploying resources which makes our code more complicated and brittle than it should be. We should instead use server side apply, along with the more dynamic interfaces that the Go K8s client offers so that we can replicate the kubectl apply behaviour by allowing the API master to figure out which field needs to be modified in case the object already exists instead of us having to handle the create/it's already there so instead do an update workflow

merged as part of https://github.com/ocurity/dracon/pull/161


Don't copy training sets

If knn and nn knew which output they were looking at, there wouldn't need to be multiple copies of the training data set.
The design idea was that these models didn't need to have any data about the set they are in.  Does this need to break? Or, is there another way?

This is in progress in the dev branch.


Confusing doc for ReplaceInPlace field of Options

Per the doc, regarding the ReplaceInPlace field of the Options struct :

There is no guarentees that the memory will be replaced in-place.

I first found this sentence strange, then goes to read the code (https://github.com/tidwall/sjson/blob/master/sjson.go#L413), and I think it could be better expressed, explaining that if the destination slice doesn't have enough free bytes to replace the data in place, a new bytes slice will be created under the hood.

I agree, that's a horrible sentence. "There is no guarentees.." I didn't even use correct grammar. 😬
I'll update is based on your wording.

@tidwall I always misspell alot writing code doc, and it's even worst as a non native speaker. I don't know which editor you are using and/or linter, but there is the misspell linter (https://github.com/client9/misspell) with gometalinter (https://github.com/alecthomas/gometalinter) that you can enable, it helps alot !

Thanks for the tip. I like the simplicity of https://github.com/client9/misspell.


Set marker visual size to 80mm, retain actual size

Add a visual_size field to MarkerBase, so the visual size can be different from the actual size (used by the camera).

Have tested that this doesn't impact vision by launching the keyboard robot and pressing Q without moving the robot, then diffing the console output vs on main -- no changes to vision output (at the 2sf we have for vision properties).


SW-2826 Localize exported CSV column names

When search results are exported to a CSV file, the field names in the header
row need to be rendered in the user's locale.
Move the names to Messages.properties and look them up when exporting a CSV.

Current dependencies on/for this PR:

main

PR #932   👈

This comment was auto-generated by Graphite.


Have an easy way to return a resource that belongs to current_user

It's very common to need to return either a resource or list of resources that belong to curret_user, like:
current_user.offers.order(created_at: desc).first
current_user.saved_companies
current_user.reviews
These endpoints don't require an user_id since we're using the session to identify the owner.
We could apply this pattern to index, show, create and update endpoints, at least.

Default behavior


KAFKA-3725: Update documentation with regards to XFS

I've updated the ops documentation with information on using the XFS filesystem, based on LinkedIn's testing (and subsequent switch from EXT4).
I've also added some information to clarify the potential risk to the suggested EXT4 options (again, based on my experience with a multiple broker failure situation).

+1

nice writeup!

Thanks for the PR, this is a nice improvement. LGTM.
I fixed a typo and a missing / in a couple of closing h5 tags and then merged to trunk and 0.10.0 branches.


Bump LH of remove protocol namespace conflict workaround

Bump LH of remove protocol namespace conflict workaround

close as resolved by https://github.com/harvester/harvester/commit/ad929998318e650f001d2717ae694ab37e6db638


Upgrade less to 2.4.x

Point steal to the branch where the less plugin was updated.
Closes #166.

Awesome, I'll merge the steal PR and then update this pointing to master steal and rerun the tests.


Accum Analyzer Messing Up Cases

Accum Analyzer seems to be missing cases to optimize an accumulation and is doing the optimization in cases where it shouldn't.
See https://github.com/stanford-ppl/spatial/blob/develop/test/spatial/tests/compiler/AccumReplacements.scala for a variety of cases we expect it to hit or miss.
What needs to be changed is in AccumAnalyzer.scala.

Seems like depending on the order of the ops, it is missing the opportunity to specialize
Inspect the mux condition and decide if it should be inverted OR if it is not in the form iterator == 0 OR if the mux args seem to be reversed.  Should not optimize in the 2nd and 3rd cases

@kelayamatoz Just added a few more test cases
The metadata set on the registers saying they are Folds accumulations is because of the spatial flow rule, which happens when the reg gets created:
 mem.accumType = AccumType.Fold & mem.accumType

And the boolean logic here is:
  case object Fold extends AccumType {
    def &(that: AccumType): AccumType = that match {case Unknown => Fold; case _ => that }

The place to solve this problem is still the AssociateReduce object in AccumAnalyzer.  You need to have more/smarter cases for it to match on, and you also need to fix the ens that it passes along to the AccumMarker for those weird cases.  You will want to use val iters = accessIterators(access, reg) to collect the seq of iterators between the mem declaration and the access and use this to see if the mux condition is properly formed. You also will want to change the unapplies for the associated nodes (RegAdd/AddReg/MulReg/RegMul objects, or nodes with .isAssociative true) so that it is allowed to find the mux node somewhere higher up in the tree (i.e. acc14 in the test app)


Implement shortest path

[x] cwida/duckdb-pgq#7
[x] Move to a different file
[x] Base on the new iterative length code

Being worked on in https://github.com/cwida/duckdb-pgq/tree/shortestpath


(PUP-6527) Ignore hiera_include calls from environment compiler

A common pattern for hiera_include is to put it at topscope, which
causes environment compilation to fail as the behavior of hiera_include
(or hiera in general) isn't well-defined for the environment compiler.
In order to allow users to immediately start using application
management and direct change without needing to modify how they do
classification, we now simply ignore and warn if hiera_include is called
by the environment compiler.

@hlindberg I opened this PR for further discussion of the specific solution.

CLA signed by all contributors.

I am not keen at all on this solution. I would prefer if the environment compiler added a "hiera_include" that does nothing to the loaders. That dummy, since added before anything is evaluated will then be used instead of the hiera_include that would be otherwise loaded from disk.
Then all of the functionality is determined by the environment compiler, the env compiler does not have to be loaded etc.
Also, stopping hiera_include from doing something does not prevent any other similar logic from having the same bad effect. I know people have changed from using hiera_include (as it stopped working for some during 3.x) and instead use hiera_array('classes').each |$c| { include $c } or similar constructs with future parser.

@hlindberg I took a stab at overriding hiera_include with a dummy version in the environment compiler, but I'm not sure I did it correctly. Please let me know what you think.

Will look at how to do that tomorrow.  Basically you have to create the function the same way as 4.x functions are created and then add that to the loader. Adding nil would mean that hiera_include was not found. Not sure what it does if adding a proc as I think it expects to get a Function back. It may work though since we do equate Function instances with Proc instances interface wise (for lambdas).

If test goes green I guess the override with a proc worked :-)

@hlindberg I updated the tests to compile a manifest, which tests exactly the case I care about.

Looks good now. Only had a minor nit about the resulting readability of spec tests lables

@hlindberg Updated to change the test name back.


MOBILE-124: Opening notes the cached data is displayed, but the note is not dynamically updating

…t does not exist). These errors, e.g. for timeouts from backend API calls, were not being shown properly, so, user was not getting alerts for timeouts for API calls, for instance.

Note. This PR includes both the fix for not showing timeout errors for Tidepool API calls as well as a root cause fix for the graph not re-rendering with new graph data, after first having shown cached graph data, when the new graph data succeeds.


Dev 2.4.0

dev_2.4.0 merge to master

1 refactor cache aspect
2 remove clone-copy mechanism
3 add register annotation


Simplify if else block in GenerateConfig()

@steiler would you mind rebasing this on top of main to get rid of the merge conflict that happened after suppress-config merge? Thanks!

Done. Please take another look if the logic still makes sense.
I'm positive, but please double-check.


Calling multiverse.py scripts via the module

When running python -m multiverseum, multiverse.py scripts should automatically be detected to reduce friction.
However, the final syntax / features for this still need to be settled. How should the multiverse.py look?

Just a configuration?
A completely specified MultiverseAnalysis?
a call to run_cli?
How to avoid double-execution of a multiverse analysis

Basic implementation in 86d54aacc9ef1d0c8532f0d6b5d9e12466806b0e


2.14.1 release description

The release description seems incorrect (duplicated references). Should be :
### New Features

- [#914](https://github.com/RocketChat/Rocket.Chat.Electron/pull/914) Tray tooltip

### Improvements

- [#933](https://github.com/RocketChat/Rocket.Chat.Electron/pull/933) App (main) page
- [#932](https://github.com/RocketChat/Rocket.Chat.Electron/pull/932) Report issue menu item links to desktop app repository
- [#916](https://github.com/RocketChat/Rocket.Chat.Electron/pull/916) Change back and forward shortcuts

### Bug Fixes

- [#936](https://github.com/RocketChat/Rocket.Chat.Electron/pull/936) Autoupdate in MacOS
- [#927](https://github.com/RocketChat/Rocket.Chat.Electron/pull/927) Disable autoupdates
- [#931](https://github.com/RocketChat/Rocket.Chat.Electron/pull/931) Main window's visibility toggling in tray window
- [#938](https://github.com/RocketChat/Rocket.Chat.Electron/pull/938) Move about menu item for MacOS
- [#926](https://github.com/RocketChat/Rocket.Chat.Electron/pull/926) Preload issues
- [#922](https://github.com/RocketChat/Rocket.Chat.Electron/pull/922) Server icon not displayed on sidebar if server url ending with a trailing slash
- [#941](https://github.com/RocketChat/Rocket.Chat.Electron/pull/941) Window closing behavior for Linux environments without a system tray

Related to #950.


Added macros & fixed linking error

This isn't a link error, or rather, if you get a link error, it's by design. This is using Scott Schurr's technique for ensuring compile-time evaluation from his CppCon/C++Now 2015 constexpr talk(s). If you're getting a link error, either you accidentally didn't mark something constexpr (this is good, you want the compiler/linker to tell you) or your compiler just doesn't support this style of code.


Add tests proving that tests from superclass can be selected using a subclass test filter

https://github.com/gradle/gradle/issues/15185 suspects that Gradle test filtering is not able to select inherited tests.
This change adds tests for such use case for both JUnit4 and JUnit platform with Jupiter engine and they pass.

IIRC this works for JUnit but not for Spock tests. I don't remember the specifics off the top of my head.

IIRC this works for JUnit but not for Spock tests. I don't remember the specifics off the top of my head.

Got it. I have a reproducer and a potential fix. Will raise a separate PR once I'm done.

Got it. I have a reproducer and a potential fix. Will raise a separate PR once I'm done.


Add delegated AGs to near-rs

To catch-up with the EVM implementations. Made small adaptations to fit in the same spirit under NEAR.

Got stuck with not having an easy way to list the keys associated with an account. Making this depend on turning owner into a public key.


easy-speech

Fascinating project,
I was seeking for some avatars that I can use in LiaScript as teachers for educational content ...
Maybe this is something for you, we use easy-speech as a single interface to TTS of different browsers, which works very good for us.
https://github.com/leaonline/easy-speech

Thanks - and thanks for the link.
I just checked out the easy-speech project. Unfortunately, it can't be used with the TalkingHead class because it doesn't provide word-to-audio timestamps, which are essential for accurate lip-sync. It is the same issue as with the free Web Speech API, which easy-speech uses internally.


EP0 Setup ZLP issue

Hi sakumisu,
Should use ep0_data_buf_residue rather than ep0_data_buf_len to decide if needs a zlp packet in usbd_event_ep0_setup_complete_handler().
It looks like a minor coding mistake. The code below is just for your reference:
    if ( g_usbd_core[busid].ep0_data_buf_residue  /* I'm not sure if this line is needed, but host might send a 0-wLength SETUP request */
         && (setup->wLength > g_usbd_core[busid].ep0_data_buf_residue )
         && (!(g_usbd_core[busid].ep0_data_buf_residue % USB_CTRL_EP_MPS))) {
        g_usbd_core[busid].zlp_flag = true;
        USB_LOG_DBG("EP0 Set zlp\r\n");
    }

Not, we just use g_usbd_core[busid].ep0_data_buf_len to record how many bytes we need send and cannot be changed in the whole setup, ep0_data_buf_residue is is variable in the setup  trasnfer.

And g_usbd_core[busid].ep0_data_buf_residue is the same with ep0_data_buf_len in setup code you showed, we just want to record total bytes.

And your code is incorrect when process setup->out data->ack,  we should know how many bytes we received when call usbd_setup_request_handler in usbd_event_ep0_out_complete_handler, if you use g_usbd_core[busid].ep0_data_buf_residue, it is incorrect because it is a variable and decreased to zero.

And g_usbd_core[busid].ep0_data_buf_residue is the same with ep0_data_buf_len in setup code you showed, we just want to record total bytes.

Yeah, I agree. In this case, they are the same.
The line above "usbd_ep_start_write(USB_CONTROL_IN_EP0, g_usbd_core.ep0_data_buf, g_usbd_core.ep0_data_buf_residue)" made me misundersand it.
Another small case is if ep0_data_buf_len is 0? May it happen.

If host request data setup->wLength will not be zero, so if ep0_data_buf_len is zero, they are the same and does not match this condition.Also if setup->wLength isnot zero, does not match too.

If host request data setup->wLength will not be zero, ep0_data_buf_len cannot be zero

If so, you can close this report.


"Unknown platform: windows-x64" when running: flutter build bundle --target-platform windows-x64

I'm having this error when trying to build bundle for windows:

Unknown platform: windows-x64

Steps to Reproduce

Checkout the master channel
In a flutter project run: flutter build bundle --target-platform windows-x64
Receiving Unknown platform: windows-x64 message

Logs

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.5.9-pre.84, on Microsoft Windows [Version 10.0.17134.753], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] IntelliJ IDEA Community Edition (version 2019.1)
[√] VS Code (version 1.33.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

windows-x64 is not a supported target platform for the command. The bundle itself is fairly platform agnostic, so use the default bundle command without a specified argument.

I run it intetionally. As in master channel we have this option


Manage Robot Connection: Display Wireless Network Details in Dropdown

As a Run App user, I would like to see wifi strength and security details for wifi networks in the networks dropdown, so I can make an informed network choice.
Acceptance Criteria

Display 'lock' icon next to wifi network name if network requires authentication
Display 'wifi' icon with network strength next to network name

Design
@pantslakz

Should this include some sort of checkmark for "currently connected network"? We've also got #1034 still hanging around

@mcous yes to checkmark


Ci build number

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
In each of our projects we have common code in lanes like this:
increment_build_number(build_number: ENV['BUILD_NUMBER'])

Currently we use Jenkins CI and it sets current build number to build number from our Jenkins job. But if we will decide to move to another CI system we will have to change it. I think it will be much better to have more or less CI independent way to get current build number from CI.
So, this pull request introduces new action ci_build_number, which returns current build number retrieved from CI using environment variables. It supports Jenkins, Travis CI, Circle CI, TeamCity, GoCD, Bamboo, Gitlab CI and Xcode Server. And also adds new option to increment_build_number action use_ci_build_number which allows to automatically set build number using value returned by ci_build_number.

@SiarheiFedartsou thank you for your contribution! I've been thinking about this. One of the goals of fastlane is to make it so that you can call fastlane from anywhere, whether it is from ci, local dev, or wherever. So, for me, if you make an action that can only be used in ci, then it means you can only run certain lanes on ci.
I think it makes more sense to me that you would create a specific plugin for this. Have you seen our documentation on how to do that? https://docs.fastlane.tools/plugins/create-plugin/

@taquitos Thanks for your response! At the beginning I was thinking about adding it to my plugin https://github.com/SiarheiFedartsou/fastlane-plugin-versioning . But then I decided to make PR to main repo because I thought that this is very common problem for fastlane users.
So, I think it will be good update for my plugin :)
Thanks.

Your plugin is still sitting at number 1 on our plugins page 😄  https://docs.fastlane.tools/plugins/available-plugins/

And now it even better with new ci_build_number action  😄


vim: update version to 9.0.0181 to fix CVEs: 2022-2522, 2022-2571, 2022-2580, 2022-2581.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Updating vim to the latest version to fix CVEs.
Change Log

Updated vim to version 9.0.0181.
Sorted cgmanifest.json contents.

Does this affect the toolchain?

No.
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2022-2522
https://nvd.nist.gov/vuln/detail/CVE-2022-2571
https://nvd.nist.gov/vuln/detail/CVE-2022-2580
https://nvd.nist.gov/vuln/detail/CVE-2022-2581

Test Methodology

Buddy build green.

Can you update the CVE links in the description with "CVE-" before the numbers to fix the links

Can you update the CVE links in the description with "CVE-" before the numbers to fix the links

Done, thanks for catching that!


One-click demo

We want the following user experience:

Download
Start
See UI

This is currently blocked by our command line parameters.

As the maker IP address, maker-id, and the fact that we're operating on testnet will not change in the near future, perhaps we could hardcode this information if the user does not provide it explicitly? either as clap defaults or an env file that gets shipped with the early versions?
Note: the generate seed parameter is gone:  #527

An easy first solution could definitely be clap defaults! Later we can remove the command-line parameters entirely and replace them with a settings screen.

I think this is outdated for now.


Internal Research Planning: Participants

This project will follow research methods outlined in the BC Gov Service Design playbook.
Acceptance Criteria:

[x] Identify research participants for internal BC Gov research
[x] Get feedback from project team
[x] Iterate on feedback if needed

Thanks @jaimiebutton ! I'm so excited for more discovery sessions :)


open-source license, paper

Hello,
I found your repository very interesting & useful for my research (ML-based particle reconstruction at CERN).
May I ask if you support open-source reuse of the code in your repository - and with what LICENSE file (e.g. Apache, MIT, GPL etc)?
Moreover, is there a published paper that we can use to cite your work?
Thanks!

Hi, thanks for your interest!
Sorry for the delayed response.
As this project is being currently submitted to a competition, I wanted to check on what was their policy on open distribution of the paper and the licensing of the code. However, they are taking quite some time to reply so I'll just let you know first that the code licensing will most likely not be an issue and I will probably release it under the MIT license.
As for the paper, I'm not sure if I can openly distribute it so I guess I can email you the paper? For now, you can probably cite the repository, but in the ideal case I will upload it to arXiv eventually.
Also just curious, what type of ML-based particle reconstruction are you doing? When I went to CERN on a school trip last year and some of the researchers talked about using GNNs for reconstructing the particle trajectories from detector events. Is that what you are working on? Or is it more similar to this project on looking at predicting the composition of an object from the scattering of particles?

Many thanks for the reply & good luck with the competition! I will wait for the paper with interest. 🙂
We're working on full event reconstruction with GNN-s, but we are interested in branching out to volumetric reconstruction from scattering tomography.
As far as I know, this repo is the best open result out there for ML reconstruction of per-particle scattering tomography 👍

Hi, we are now able to distribute the paper freely so I have attached it here. Feel free to ask any questions :D.
However, the competition is not yet over. We will upload the paper to arXiv when the competition is over.
We also currently working on some improvements to the model and the results look quite promising 🥳 .

Hi, the paper has been uploaded on arXiv at https://arxiv.org/abs/2312.17265.
@misc{lim2023munet,
      title={$\mu$-Net: ConvNext-Based U-Nets for Cosmic Muon Tomography},
      author={Li Xin Jed Lim and Ziming Qiu},
      year={2023},
      eprint={2312.17265},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

You may cite it at the above. If you have any questions, feel free to re-open the issue.

Hi, the paper has been uploaded on arXiv at https://arxiv.org/abs/2312.17265.
@misc{lim2023munet,
      title={$\mu$-Net: ConvNext-Based U-Nets for Cosmic Muon Tomography},
      author={Li Xin Jed Lim and Ziming Qiu},
      year={2023},
      eprint={2312.17265},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

You may cite it at the above. If you have any questions, feel free to re-open the issue.


Use if-clause instead of switch in id3v2

Compacter and more DRY

Hi, thanks for your contribution!
The reason I used the switch is because I eventually want to add version 2.4 support, so there are more than the two versions currently supported, and when that happens, I would want to use 2.3 as a fallback, because it's much more common than the other versions.

Ok. Understood


Skiff

As reported by @illiliti. For the Skiff project. Advertise as open source in many places (homepage, open source page, blog). Licensed mostly as CC BY-NC-SA (Preventing commercial use-cases).

Original report (Since deleted)
Follow-up issue: https://github.com/skiff-org/skiff-apps/issues/94
Extra discussion/context on Mastodon.

Showing signs of being receptive to change in the latest thread, so I'd say let's leave this open for a bit to see how things play out.

I want to note that I've been banned from participating and all my comments were marked as abuse, even unrelated ones.

Showing signs of being receptive to change in the latest thread

I'd say it is nothing but a deliberate inaction. A week is more than enough to take action. But what we see instead? Useless discussions about nothing and attempt to suppress those who ask for action to remove all false advertising.

I'd say it is nothing but a deliberate inaction. A week is more than enough to take action.

Maybe, but I generally prefer to give the benefit of the doubt here, and would wait in the range of a month or two before classing as inaction. You never know what people are personally dealing with and what internal politics there may be.

No problem, let's wait.

It's been a month since initial contact and no action has been done whatsoever despite numerous attempts to call for attention to this problem(I'll note again that I was even banned for that).

Forgot to circle back to this, but now it's being bought out by notion. Service won't exist so something to add to the resolved list once that happens but will be interesting to see if anything happens with the code.
There was some requests for this yesterday in the follow-up thread which they've now deleted too.


Update home page Virtual Developer Day promo

Now that the Virtual Developer Day event is over, we should be directing users to a new promotion. For right now, perhaps directing them to watching it on YouTube: https://www.youtube.com/watch?v=fkXZEYxKnGY

Nicole provided the image, maybe we can ask her to change the text on the image

I was just in the DAM looking at the image now! I've got the markdown changes made, but was looking to see if we had another image in the DAM that I could use. I'll see if there's something readily available, and if not see if Nicole is around for changing it.


STORM-2333: CGroup memory and CPU metrics

@revans2 this is a really cool feature and thanks for adding it.  My only question is that I see you have implemented some parsers/getters for the cgroup metrics.  There is already a set of them implemented in the cgroup package.  Is there a reason why we shouldn't reuse them?

@jerrypeng Please take another look.  I refactored the code to reuse the CgroupManager and such.

thanks @revans2 for taking the time to refactor some of the code!  I reviewed it once more.  If there is an example of how to user the metrics in the docs I think that would be extremely helpful to users.

@jerrypeng I added in the extra documentation you wanted, and I spell checked the whole thing.
I also updated the CGroupCpuGuarantee metric to let the parent handle the exception.

Thanks @revans2 +1

@jerrypeng Actually just found a bug working on a fix now....

@jerrypeng Fixed the issue.  We were only checking if the SybSystem was enabled, but not if it was mounted.

Thanks @revans2 +1


Vernemq HTTP API KEY

Is this possible to pass vernemq http API key through helm deployment file ?
Currently we are using this command to add API key
vmq-admin api-key add key=mykey
@vmq-ci @ioolkos

This was implemented in this PR https://github.com/vernemq/docker-vernemq/pull/369 but not for the helm chart as it uses still version 1.13.0 of the docker image. So I guess it needs a new release for this to be included in the helm chart
Right @ioolkos ?
When is this expected to happen?

@eyenx yes, it needs a new release/Helm release yes, unless you want to mount any new or adapted start script into the Docker image.

👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq

@ioolkos where is the new release?

@eyenx our official images are on Dockerhub, and you can update your helm repository to get the newest release. But I also just added a 2.0.1 tag.

👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq

Thank you @ioolkos !
Very much appreciate this


Add QUIC backend to accommodate peer to peer applications

For now grpc seems to target classical server / client applications. When used for other purposes like p2p applications we can quickly hit the socket limit #8974  (we need an ephemeral port number for each connection) when communicating with many other clients. With QUIC we do the demultiplexing in user space and are not subject to such limitations. In addition we have a faster connection establishment that constitutes a substantial overhead in p2p applications.

+1

+1

We have no plans to support quic backends at the moment, so closing this issue.


SCTP_INP_WLOCK held while delivering SCTP_SEND_FAILED_EVENT notification during SCTP restart

When handling "case A in Section 5.2.4 Table 2: XXMM (peer restarted)", SCTP_INP_WLOCK is acquired before calling sctp_report_all_outbound, which will deliver SCTP_SEND_FAILED_EVENT notifications.
This means that while processing the notification, it's not safe for the application to use any API that may attempt to acquire the INP lock. In our case we were trying to call usrsctp_getladdrs.
Would you consider this a bug, or is the general rule "you shouldn't call any usrsctp APIs from within a callback"?

I would consider it a bug. However, that should not occur when using the upcall API.
These kind of issues where the motivation to implement the upcall API.

Another problem: there's a lock order inversion, because sctp_invoke_recv_callback reacquires the TCB lock:
		SCTP_TCB_UNLOCK(stcb);
		if (inp_read_lock_held == 0) {
			SCTP_INP_READ_UNLOCK(inp);
		}
		inp->recv_callback(so, addr, buffer, length, rcv, flags, inp->ulp_info);
		SCTP_TCB_LOCK(stcb);

... while holding SCTP_TCB_SEND_LOCK. Normally they're acquired in the reverse order, so this could result in a deadlock.
Do you think you'll fix this, or should we just switch to the upcall API?

I can see if it can easily be fixed. I would suggest to move to the upcall API, since that conceptually deals with this kind of problems. However, it does not have the same amount of test coverage...

BTW: Why are you enabling the send failed notification? Are you actually doing anything with the messages given back?

We were only using it for logging, so I'm just temporarily disabling it for now.


Render literals & break up giant renderRead function to allow reuse of e.g. renderExpr across renderings

not a complete solution but at least fixes string rendering and should make rendering other types easier (at least shows the pattern)
partial solution to #311
also made the rendering functions a bit more user friendly and modular

@robmwalsh this is so much needed :pray: . Could you resolve the conflicts? Unfortunately there were couple of PRs that also modified the rendering.

really wish I did this one before the hackathon! It was interesting to see all the hacks people added to get their tests working... I broke a couple of tests which are now @@ ignored but I think they need custom rendering, so can fix once #309 is merged.
btw I've noticed that fmt frequently doesn't do everything it needs to in one pass, so now it runs twice :) the 2nd run is < 1 second if it has nothing to do. I think that's a small price to pay for not having to do another commit/push/spin up CI.

No, it's not fmt, it's me :). Sometimes when I resolve conflicts when merging master to someone else's branch, I make mistakes and then the check fails. But I merge anyway, because it would take forever to contact eveyone.
It's just temporary for the hackathon tickets.
Unless it's something else you have in mind.

This is a bit different, I merged master, ran fmt, refeshed IJ to make sure it picked up the changes, committed, and my branch failed the check.
This stems from the fact that scalafmt isn't entirely idempotent. There are a few issues floating about but they keep closing them because it's a problem with one of their dependencies (e.g. https://github.com/scalameta/scalafmt/issues/917).
Can we please merge this now? The ones that I broke will be resolved with the changes I requested here: https://github.com/zio/zio-sql/pull/290#discussion_r531206389


ICA: Fix OnRecvPacket error string

Description
Thought to do this before I forget
closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Codecov Report

Merging #419 (04b5e1b) into interchain-accounts (7c7bf8e) will not change coverage.
The diff coverage is 0.00%.

@@                 Coverage Diff                  @@
##           interchain-accounts     #419   +/-   ##
====================================================
  Coverage                77.65%   77.65%
====================================================
  Files                      129      129
  Lines                    10110    10110
====================================================
  Hits                      7851     7851
  Misses                    1864     1864
  Partials                   395      395

Impacted Files
Coverage Δ

...odules/apps/27-interchain-accounts/keeper/relay.go
31.79% <0.00%> (ø)


Scripts panic at the rust level

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

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (bdea91c 2023-09-26T15:42:16.349668000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
The application panicked (crashed).
Message:  Mismatch between definition and access of `priority_gas_price`. Could not downcast to TypeId { t:<PHONE_NUMBER>2958366409161451945582473928 }, need to downcast to TypeId { t:<PHONE_NUMBER>01064399360049483825885140353 }

Location: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.4.4/src/parser/error.rs:32

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   2: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   3: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   4: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   5: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   6: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   7: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   8: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   9: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  10: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  11: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  12: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  13: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
error Command failed with signal "SIGABRT".

same bug #5913


Lyrics are working as of now on the client

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
India
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify:
- Windows:
- PowerShell:

📝 Description
if there was update for this I don't know I have free plan and I don't have spicetify
📸 Screenshots

Sorry I checked some old issues and find out people already know

.


FEAT: Toolkit installer

New toolkit manager and new PyAEDT installation style:

The toolkit manager allows to install PyAEDT script in AEDT and also open source toolkits (like the Antenna Wizard)

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 34.38%.  Consider uploading reports for the commit 141bf22 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4593   +/-   ##
=======================================
  Coverage   34.38%   34.38%
=======================================
  Files         110      110
  Lines       53775    53767    -8
=======================================
- Hits        18489    18488    -1
+ Misses      35286    35279    -7

TODO: Test in Linux and change Console to PyAEDT Console