django-timezone-field question

In requirements.txt one of the apps that is installed/required is django-timezone-field and in my fork of FAE 2.1, I am updating the apps included to the latest stable versions which are said to be compatible with Django 2.2.12.
As such, I am looking over the documentation in detail.
In the docs for django-timezone-field it says that after installation, it needs to be included in INSTALLED_APPS yet there is no reference to it in the current code base.
In my reading about Django I have seen a couple vague references to things that make me think it might be possible for apps that are installed to work without being listed in installed apps but when I am uncertain--like now--I usually just follow the documentation precisely.
Is the code they recommend (shown below) required for it to work? If it is, I assume I should add it to base.py?
INSTALLED_APPS = (
    ...
    'timezone_field',
    ...
)

Or is it just a relic from a previous version that can be removed from requirements.txt file?
Thanks for your help.

@adaminfinitum
Thank you for your interest in FAE and reviewing the code for issues like tis.
I think this is a bug, do you have time to do some testing and then do a pull request?
Also are the modifications to FAE something that might be of more general interest to me or the accessibility community?

I think the modifications might be of interest to you or others.
For instance, I made a branch that removes the hardcoded Google Analytics snippet (anyone that sets up an instance of FAE that doesn't edit or remove that snippet will push data to your Google Analytics property and that will make the data unreliable) and replaces it with a Google Tag Manager app (and the account ID is only listed in secrets.json which is excluded from version control).
Another branch loads the HTML5 Shim from a CDN because the link currently in use in the project isn't served with Gzip.
I tried to keep the scope of each branch limited to a single "feature" and named in an obvious way so they are easy to merge.
I'm in the process of setting up a localhost virtual machine that matches my production environment (using Vagrant) and hope to be debugging and testing the updates I have made this week...so I'm almost certain to have more questions, issues and updates--but as of now, the updates/changes are still untested.
I'll update these threads as I know more.

I created a branch in which I added the timezone_field to the INSTALLED_APPS in base.py.
However, you'd want to ignore updates in any other files in that branch (I rolled back base.py in that branch to be totally compatible with the original, but I didn't roll back changes I had made in other files--I'm still mastering branching and merging in git).


[3pt]  - Add tests for comments counter - Student B

Make sure that function for the comments counter is covered with unit tests using Jest.

This is the link to the pull request


java.lang.NoClassDefFoundError: fastparse/core/Parser when running in Ammonite

This happens when I run anything from Cron4s inside Ammonite REPL (http://ammonite.io/#Ammonite-REPL). I presume, this is a binary incompatibility between fastparse (http://www.lihaoyi.com/fastparse/) modules used in Ammonite and in Cron4s. I've tried to find which exactly versions of fastparse are used on both sides, but, unfortunately, this dependency seems to be transitive for both Ammonite and Cron4s, and finding exact one is rather challenging (Ammonite uses Mill as build tool, and I'm completely unfamiliar with it).
Here's the full Ammonite session illustrating this:
Loading...
Welcome to the Ammonite Repl 1.6.6-6-7e89968
(Scala 2.12.8 Java 1.8.0_162)
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
@ import $ivy.`com.github.alonsodomin.cron4s::cron4s-core:0.5.0`
import $ivy.$

@ import cron4s._
import cron4s._

@ val parsed = Cron.unsafeParse("0 0 6 * * ?")
java.lang.NoClassDefFoundError: fastparse/core/Parser
  cron4s.Cron$.parse0(Cron.scala:80)
  cron4s.Cron$.parse(Cron.scala:50)
  cron4s.Cron$.unsafeParse(Cron.scala:74)
  ammonite.$sess.cmd2$.<init>(cmd2.sc:1)
  ammonite.$sess.cmd2$.<clinit>(cmd2.sc)
java.lang.ClassNotFoundException: fastparse.core.Parser
  java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  ammonite.runtime.SpecialClassLoader.findClass(ClassLoaders.scala:241)
  java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  cron4s.Cron$.parse0(Cron.scala:80)
  cron4s.Cron$.parse(Cron.scala:50)
  cron4s.Cron$.unsafeParse(Cron.scala:74)
  ammonite.$sess.cmd2$.<init>(cmd2.sc:1)
  ammonite.$sess.cmd2$.<clinit>(cmd2.sc)

Cron4s version is 0.5.0. Ammonite version is 1.6.6-6-7e89968.

hi @RomanIakovlev, cron4s 0.5 uses FastParse 1.0 - which has been superseded by FastParse 2.0, that's where I think you will find the conflict.
I have no easy fix for this right now, although the current version in master doesn't use FastParse at all. It's still unreleased but maybe you could build it from source and test it...

I'm also experiencing this issue where FastParse 1.0 gets evicted. When will you release a new build? Are you waiting on 2.13 support?

Yeah, I don't mind making a milestone release if this affecting several users (beyond the sporadic ammonite users)

Thanks 👍

Version 0.6.0-M1 has been published, it should be available in Maven Central soon


:bookmark:  rename package

Description
Rename package and bump version
Checklist

[x] My changes follow the contributing guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my changes work.
[x] New and existing unit tests pass locally with my changes.

Coverage remained the same at 95.036% when pulling 9ebcbaa9cebb7fd19f6809e893d2bd44b06a8395 on chore/rename-package into 7d52e2b6b49106ea94cccfb9a224c8344cd59134 on main.


Move window when --window-borderless is passed

Right now the windows seem to be stuck in place. How can one move it?

It depends on your window manager.
On Linux with XFCE, it's Alt+click and move.
If your window manager (or windows) does not support moving and you want to move, do not use --window-borderless.

Hello,
I have a solution for this problem that could have a "curb cut" effect
scrcpy "mywindowtitle" 100 200 400 800
Send signal to scrcpy window with title mywindowtitle to move to position x=100 y=200 width=400 height=800
I'm trying to move a BUNCH of scrcpy window, but so far I have failed.
I am starting to think that scrcpy does not respond to normal window signals to move the window
I have been trying fruitlessly for a while now using commands like
nircmdc win move find title "cam1.lan" 100, 250, 300, 800
nircmdc win move find handle 00960B8A 100, 250, 300, 800
The command does not fail but also has no effect

@rom1v Care to implement this for Windows? It can be done simply by sending a message on mouse down: Make a borderless form movable?


Added missing tests for ForLoop template tag.

I'm not sure if it's possible to get a hit for these two lines in ForLoop.
    except VariableDoesNotExist:
        values = []

And since __repr__ wasn't tested, maybe For Node could be replaced with self.__class__.__name__.

Yes, it's fine to use self.__class__.__name__ in __repr__() methods (86ae1d51ed949c30b435b0dc9923c4da15cbcfd0).
It might be better to remove the untested __iter__() methods for ForLoop and IfChanged unless we can figure out the reason for them. They might have been obsoleted at some point -- I checked as far as Django 1.4 and they aren't used there.
except VariableDoesNotExist:
        values = []

indeed looks used because of resolve() with ignore_failures=True.

@timgraham Updated. I removed the tests for __iter__. Node also has an untested __iter__.


Fix CVE-2020-7598

TSLint is also affected just like ESLint (https://github.com/eslint/eslint/issues/13050).

Quick reference: https://github.com/advisories/GHSA-7fhm-mqm4-2wp7

TSLint is also affected

Is it? There aren't any security vulnerabilities posted to TSLint right now. https://github.com/palantir/tslint/security/advisories
If there are, accepting PRs to fix for them. Until then, I don't believe there's any action that needs to be taken? (we don't depend on acorn, for example)

@JoshuaKGoldberg that is weird. TSLint has minimist dependency which is affected by this.

It's possible that only devDependency versions are affected. Or, GitHub is still processing the alert, and we haven't gotten it yet 😄

It looks like tslint depends on mkdirp, which has minimist as a direct dependency. Someone opened a PR to upgrade the minimist version here: https://github.com/isaacs/node-mkdirp/pull/8.

FYI:
                       === npm audit security report ===

                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance

  Moderate        Prototype Pollution

  Package         minimist

  Patched in      >=1.2.3

  Dependency of   tslint [dev]

  Path            tslint > mkdirp > minimist

  More info       https://npmjs.com/advisories/1179

Excellent, thanks for the additional info folks! Accepting PRs to bump to a version of minimist that doesn't have the dependency on (an old version of) minimist.

Note that mkdirp 1.0.0 requires node >= 10 but tslint still claims to support node >= 4.8.0
The right solution is probably to update mkdirp to 0.5.3 first and make a minor version bump.
You might consider a major version cump to update to mkdirp 1.x, but you'd need to move engine to node >= 10 (which is probably reasonable).

tslint still claims to support node >= 4.8.0

That is... quite far back, and probably no longer true in practice 😬. Amusing.
Per https://www.npmjs.com/package/mkdirp#platform-support:

This module works on node v8, but only v10 and above are officially supported, as Node v8 reached its LTS end of life 2020-01-01, which is in the past, as of this writing.

We can take a dependency on the unofficial v8 support decision, for those same reasons.

I just opened a PR before seeing this. I can switch to 1.x and increase node version if you think that's preferable.

0.5.3 works too! So long as minimist is updated.

@adidahiya are you going to release a new version with the fix for this?

If you delete your lockfile and minimist + mkdirp in node_modules it will automatically fix this.

just released 6.1.1

🤖 Beep boop! 👉  TSLint is deprecated 👈  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


[Bug] failed to get tablet. reason=tablet does not exist

Describe the bug
errCode = 2, detailMessage = failed to get tablet. tablet_id=18444553, with schema_hash=2071938847, reason=tablet does not exist

To Reproduce
When I delete any file in be/storage/data and launch a query, I'll get
errCode = 2, detailMessage = failed to initialize storage reader. tablet=10051.2107108059.d1497902f3afdc62-b351656515255ca8, res=-402, backend=****

and it comes from
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/exec/olap_scanner.cpp#L117-L133
So I cannot directly reproduce it.
Troubleshoot
First, _tablet gets nullptr and comes out this error.
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/exec/olap_scanner.cpp#L73-L83
Here tablet = _get_tablet_unlocked(tablet_id, schema_hash);  must be nullptr and didn't get corrected later.
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/olap/tablet_manager.cpp#L582-L610
Here tablet_map cannot find the tablet
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/olap/tablet_manager.cpp#L1409-L1428
I have no idea about when this _tablet_map_array will be updated and why can't BE find the tablet.
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/olap/tablet_manager.h#L199-L214

Does it related to #4841 ?

Firstly you need to check whether the tablet is indeed not on the be node.

Does it related to #4841 ?

It has the same error, but not with colocate join. And it was fixed a few hours later.
It blocks the query at the time, shouldn't FE retry on other BE and continue the query?

shouldn't FE retry on other BE and continue the query?

It depends on query. Currently, FE will retry the query only for RPC exception. And if some data has already been sent to client, FE will not retry.

Firstly you need to check whether the tablet is indeed not on the be node.

The meta_tool is too hard to use because it only take one root_path and we have multiple ones. I was planning to work on this.
And I cannot reproduce it, so any advice on how can I trigger this, delete some files or others?

The meta_tool is too hard to use because it only take one root_path and we have multiple ones. I was planning to work on this.

You can easily using show tablet 18444553; and then executing "shwo proc" to get the meta url, and check it.

You can easily using show tablet 18444553; and then executing show proc to get the meta url, and check it.

The query may success at the time. And when it failed, it didn't show which BE had this error.
https://github.com/apache/incubator-doris/blob/f40868a4805f0ba503bcca9a9c04f704b61c121b/be/src/exec/olap_scanner.cpp#L73-L83
It was killing me to find out which be.
I will submit a PR to add BE host to this later.

I wonder how you reproduce this error when debugging #4841 @morningman

It was killing me to find out which be.

That is an issue, better to and BE ip info in error log.

I have 1 FE and 5 BE, having sql below
CREATE DATABASE IF NOT EXISTS `test`; USE `test`;
DROP TABLE IF EXISTS `test_t`;
CREATE TABLE `test_t` (
  `name` VARCHAR(1000) NULL COMMENT "string"
) ENGINE=OLAP
DUPLICATE KEY(`name`)
DISTRIBUTED BY HASH(`name`) BUCKETS 1
PROPERTIES (
"replication_num" = "3",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

INSERT INTO test_t (`name`)
VALUES ('aaaaa'), ('ccccc')
;

select * from test_t a join test_t b union all select * from test_t c join test_t d;

I tried a lot of time but this sql never trigger the error.

same issue here, occasionally occure
W20241225 09:36:20.891415 3226377 task_scheduler.cpp:165] Pipeline task failed. query_id: 862baf171abd4125-a29d12c987cead3a reason: [INTERNAL_ERROR]failed to get tablet: 25496833, reason: tablet does not exist. <IP_ADDRESS>
    0#  doris::StorageEngine::get_tablet(long) at /home/zcp/repo_center/doris_release/doris/be/src/common/status.h:376
    1#  doris::ExecEnv::get_tablet(long) at /home/zcp/repo_center/doris_release/doris/be/src/runtime/exec_env.cpp:0
    2#  doris::pipeline::OlapScanLocalState::_init_scanners(std::__cxx11::list<std::shared_ptr<doris::vectorized::VScanner>, std::allocator<std::shared_ptr<doris::vectorized::VScanner> > >*) at /home/zcp/repo_center/doris_release/doris/be/src/util/expected.hpp:1986
    3#  doris::pipeline::ScanLocalState<doris::pipeline::OlapScanLocalState>::_prepare_scanners() at /home/zcp/repo_center/doris_release/doris/be/src/common/status.h:501
    4#  doris::pipeline::ScanLocalState<doris::pipeline::OlapScanLocalState>::open(doris::RuntimeState*) at /home/zcp/repo_center/doris_release/doris/be/src/pipeline/exec/scan_operator.cpp:0
    5#  doris::pipeline::PipelineTask::_open() at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/tuple:180
    6#  doris::pipeline::PipelineTask::execute(bool*) at /home/zcp/repo_center/doris_release/doris/be/src/common/status.h:501
    7#  doris::pipeline::TaskScheduler::_do_work(unsigned long) at /home/zcp/repo_center/doris_release/doris/be/src/common/status.h:389
    8#  doris::ThreadPool::dispatch_thread() at /home/zcp/repo_center/doris_release/doris/be/src/util/threadpool.cpp:0
    9#  doris::Thread::supervise_thread(void*) at /var/local/ldb-toolchain/bin/../usr/include/pthread.h:562
    10# start_thread
    11# __clone


Exchange: Reduce gas costs for 1inch integration

Subject of the issue
Improve 1inch integration by reducing gas costs for transactions. Currently 1inch swaps through Kwenta are roughly 1.5x the costs of direct 1inch swaps.
Deliverables

Investigate and implement ways to reduce the gas costs for 1inch swaps on Kwenta

Closed for now, see comment in #1655


update documentation to remove note about DigitalOcean marketplace version being behind

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1651
Originally created by @dmor on 2020-01-29 18:51:49

It is no longer behind (even if the marketplace listing version number says it is) because we run pip install upon first boot

View 3 previous comments from the original issue on GitLab


Use charge's currency in email template

Display the charge's actual currency rather than USD in the email body

Codecov Report

Merging #411 into 1.0.0 will not change coverage.

@@         Coverage Diff          @@
##           1.0.0   #411   +/-   ##
====================================
  Coverage    100%   100%
====================================
  Files         23     23
  Lines       1561   1561
  Branches     185    185
====================================
  Hits        1561   1561

Continue to review full report at Codecov.

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

@kavdev I removed the remaining $ and appended the charge currency to the amount. It should be a bit more i18n-friendly this way.


Add all Requirements in a file

It's common in python to use a file (requiriments.txt) to add all libraries used in one project / module.
I think it could be better to manage all dependencies

Hi Braga, thanks for your reply.
Só, There is two files to manage all external dependencies on project. The first one named requirements.txt and another one requirements-dev.txt that include all production and dev dependencies.
Please check these files on module key-generator.
Thanks my friend and If you have more improvements please let me know about it.

Once the proposed files exist on project I'll close this issue.


image not found

Hello when i run stego.py i get error:
mage to embed a payload: pwned.PNG
Payload to embed in image: finaln.exe
Name of the image to output: pwnedout.png
Traceback (most recent call last):
File "stego.py", line 60, in
main()
File "stego.py", line 56, in main
hide_payload(opts.input_img, opts.payload, opts.output_img)
File "stego.py", line 14, in hide_payload
carrier = cv.LoadImage(input_img)
IOError: [Errno 2] No such file or directory: 'pwned.PNG'
pwned.png is in same directory!
Other question should i use payload .bin format and image should be .png format?

All working fine image was without extension and .bin raw works all fine! Nice work!


Scout 0.7.1 throws error on valid @each code (OSX 10.10.3)

It seems that Scout fails to parse correctly formatted @each formulas. For example, this code from the sass reference (http://sass-lang.com/documentation/file.SASS_REFERENCE.html):
@each $animal, $color, $cursor in (puma, black, default),
                                  (sea-slug, blue, pointer),
                                  (egret, white, move) {
  .#{$animal}-icon {
    background-image: url('/images/#{$animal}.png');
    border: 2px solid $color;
    cursor: $cursor;
  }
}

Yields this error message:
error base.scss (Line 3 of _palette.scss: Invalid CSS after "@each $animal": expected "in", was ", $color, $curs...")

Closing this ticket. Download the latest version of Scout-App. If the problem still exists, create a new issue.

Scout-App.io


Let's be able to condition on claims.

(Compiles)

TODO:

I need to add the "Condition False, None, True" elements to the ClaimTab dropdown menu.
I need to add the code to shift to the left or right.
If I move away from using a Headless UI Menu item, I need to check that the z-index still works with drag-and-drop.

TODO:

I need to implement setConditioning in claims-context.tsx.
I need to add the code to shift to the left or right.

TODO:

I need to add the code to shift to the left or right.
I need to put an outline around the menus for ClaimTab and NewClaimButton.

TODO:

I need to fix the drag and drop bugs that appear with the conditioning padding.
I need to put an outline around the menus for ClaimTab and NewClaimButton.

TODO:

I need to put an outline around the menus for ClaimTab and NewClaimButton.

Looks good, let's merge!


Update uk locale

This contains the latest translation downloaded from Weblate since it doesn't get synched into #6856 for whatever reason.

@di @ewdurbin this is ready for merge now

closing in favor of #6874


optimization: 添加主机到 CMDB 兼容接口数据延迟的情况 (close #920)

Codecov Report

Merging #921 (226f611) into V2.2.18-rc (d868840) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           V2.2.18-rc     #921      +/-   ##
==============================================
- Coverage       71.00%   70.99%   -0.01%
==============================================
  Files             294      294
  Lines           21606    21610       +4
==============================================
+ Hits            15342    15343       +1
- Misses           6264     6267       +3

Impacted Files
Coverage Δ

.../components/collections/agent_new/register_host.py
97.28% <100.00%> (+1.17%)
:arrow_up:

apps/backend/subscription/steps/plugin.py
47.48% <0.00%> (-0.56%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
95.12% <0.00%> (-0.49%)
:arrow_down:

apps/node_man/handlers/job.py
86.05% <0.00%> (-0.27%)
:arrow_down:

Continue to review full report at Codecov.

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


Additional HITEMP IDs, bugfix for ExoMol .pf filename variable when 'states' is in database name

I noticed that repack has a bug when sorting any ExoMol database with 'states' in the name, for example the 8states database for C2.  I fixed this, as well as added additional HITEMP IDs.
Also added VO's isotope ratio, which was previously set to 0, and N2's ExoMol ID, which was previously 00.

Ahh, thanks! I'll review as soon as I get some time.


Grammar and syntax need correction in addition to more functional details

In addition to poor organization, a lack of detail and over-reliance on a marketing video, this page needs basic English grammar correction.
There are several subject-verb disagreements in the text (emphasis mine):

A developer creates a feature branch to make a change. They debug their pipeline runs with their most recent changes.
After a developer is satisfied with their changes, they create a pull request from their feature branch to the master or collaboration branch...

Lack of proper grammar and syntax only make a deficient document harder to read and understand.
This page needs a glossary (for example, distinguishing between an Azure DevOps release pipeline and a factory pipeline), discussion of what a "ternary" integration runtime means, how to change the expectation that ADF has for integration runtime names, legible screenshots, a higher resolution image of the CI/CD flow, a better explanation of the contents of the adf_publish and much, much more.

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

ID: 1e22e4d6-366f-fbf8-e141-8905ca7ab7ae
Version Independent ID: 5be2acf2-66e7-cadf-6666-5a85a65b9771
Content: Continuous integration and delivery in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-deployment.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

hI @yobyot ,
Thank you for your feedback. This is a constantly evolving document and there are always more things to add or generate. If you think you can improve the document, feel free to contribute as its open source!
I am a little confused by the grammar issue pointed out. The subject-verbs all seem to agree to me. I also have an engineering background so that may be the root cause :).
If you are looking for more information on the adf_publish branch, see the source control documentation. I do recognize that information on integration runtimes can be improved.
If there is a specific item on this doc that you have struggled to implement using these instructions, please feel free to comment.
Thanks,
Daniel

Closing due to lack of response
#please-close


ManyToMany fields

Looks like ManyToMany fields do not work. Perhaps we can add a linked string representation of each object within columns.
#123

The PR was already merged, Thanks for the contribution @kptac

hey @kptac I'm currently having the problems that ManyToMany-field values are neither shown in the list-view nor in the-display. It seems you have solved this problem with this PR but to me it's unclear how to use this. Would you mind a short explanation?

@benmaier - make sure to have a string representation set by implementing Model.str() method.
Also, are you on the latest version?
Hope that helps.

My Geoname-model already has this property

The latest release is: 0.0.17+git.081101d

Yes, I know, but this release is from July 10 and does not include your changes (see e.g. https://github.com/oscarmlage/django-cruds-adminlte/tree/0.0.17%2Bgit.081101d/cruds_adminlte/templates/cruds/columns where your file ). I'm on the latest master commit which is 0.0.17+git.a154def and includes your changes.

Ahh ok, my bad, didn't see the commits on the latest release. So in your CRUDView, are you including the m2m field in list_fields? Can I see how you're inheriting CRUDView?

Ah! list_fields wasn't mentioned anywhere in the documentation, so I didn't know about it. That did the trick, thank you so much!


A lot of errors

When I excute this code:
`# !cat /content/tree-of-thoughts/huggingfaceExample.py
from tree_of_thoughts.treeofthoughts import OpenAILanguageModel, GuidanceOpenAILanguageModel, TreeofThoughts, OptimizedOpenAILanguageModel, OptimizedTreeofThoughts, HuggingLanguageModel
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name="gpt2"
model_tokenizer="gpt2tokenizer"
model = HuggingLanguageModel(model_name, model_tokenizer)
class HuggingLanguageModel:
def init(self, model_name):
self.model = AutoModelForCausalLM.from_pretrained(model_name)
self.tokenizer = AutoTokenizer.from_pretrained(model_name)
def generate_text(self, prompt, max_length=50):
inputs = self.tokenizer(prompt, return_tensors="pt")
outputs = self.model.generate(inputs["input_ids"], max_length=max_length)
generated_text = self.tokenizer.decode(outputs[0], skip_special_tokens=True)
return generated_text
Initialize the HuggingLanguageModel with the GPT-2 model
model_name = "gpt2"
model = HuggingLanguageModel(model_name,
model_tokenizer="gpt2",
verbose=True)
#choose search algorithm('BFS' or 'DFS')
search_algorithm = "DFS" # "BFS"
#cot or propose
strategy="cot"
value or vote
evaluation_strategy = "value"
gpt2_model = HuggingLanguageModel(model_name)
tree_of_thoughts= OptimizedTreeofThoughts(model, search_algorithm)
input_problem = "use 4 numbers and basic arithmetic operations (+-*/) to obtain 24"
k = 5
T = 3
b = 5
vth = 0.5
timeout = 10
confidence = 0.8 #cmodel is confident on performance
max_iterations = 40 #tree branh nodes
convergence_threshold = 0.01
convergence_count = 5
solution = tree_of_thoughts.solve(input_problem, k, T, b, vth, timeout, confidence_threshold=confidence, max_iterations=max_iterations, convergence_threshold=convergence_threshold, convergence_count=convergence_count)
#use the solution in your production environment
print(f"solution: {solution}")`
I get a lot of errors:
"
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Input length of input_ids is 189, but max_length is set to 100. This can lead to unexpected behavior. You should consider increasing max_new_tokens.

It ran I believe but the model is just very dumb

It ran I believe but the model is just very dumb

Couldn't  we use a better Language Model ? There are a lot of them around these days, their number increasing nearly every day! Yesterday I learned from a model named Falcon

Absolutely, you can plug in and play! Just input your own model and tokenizer! I'm here for you if you seek me

Absolutely, you can plug in and play! Just input your own model and tokenizer! I'm here for you if you seek me

I will do that ! But at the moment I am trying to get the large 40B Falcon working. His little brother Falcon 7B already works, so I could give it a try on this Train of Thoughts implementation !

Absolutely! Input the model name and the tokenizer for that model and it should work! Let me know if you need anything


Limit recursive struct scan level

An attempt to fix #57.

Closing due to inactvity. Feel free to reopen.


 See the above logs for details

org.kie.kogito.quarkus.workflows.EmitEnumRPCGreetIT.testStateIsUnknown
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.FilesystemPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.InfinispanPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.JDBCPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.KafkaPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.MongoDBPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

PR job #3 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3488 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3488/3/display/redirect
Test results:

PASSED: 3127
FAILED: 134

Those are the test failures:

org.kie.persistence.filesystem.FileSystemProcessInstancesTest.testBasicFlowControlledByUnitOfWork
Error while marshalling process instance

org.kie.persistence.filesystem.FileSystemProcessInstancesTest.testBasicFlow
Error while marshalling process instance

org.kie.persistence.filesystem.FileSystemProcessInstancesTest.testBasicFlowWithStartFrom
fileSystemProcessInstances.remove();Wanted 1 time:-> at org.kie.persistence.filesystem.FileSystemProcessInstancesTest.testBasicFlowWithStartFrom(FileSystemProcessInstancesTest.java:182)But was 2 times:-> at org.kie.kogito.process.impl.AbstractProcessInstance.lambda$remove$18(AbstractProcessInstance.java:607)-> at org.kie.kogito.process.impl.AbstractProcessInstance.lambda$remove$18(AbstractProcessInstance.java:607)

org.kie.persistence.filesystem.FileSystemProcessInstancesTest.testValuesReadMode
Error while marshalling process instance

org.kie.kogito.infinispan.CacheProcessInstancesIT.testBasicFlow
Error while marshalling process instance

org.kie.kogito.infinispan.CacheProcessInstancesIT.testValuesReadMode
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testMigrateSingle
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testMigrateAll
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testBasicFlow
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testMultipleProcesses
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testProcessWithDifferentVersion
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testBasicTaskFlow
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testRemove
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesIT.testUpdate
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testMigrateSingle
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testMigrateAll
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testBasicFlow
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testMultipleProcesses
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testProcessWithDifferentVersion
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testBasicTaskFlow
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testRemove
Error while marshalling process instance

org.kie.persistence.jdbc.PostgreSqlProcessInstancesLockIT.testUpdate
Error while marshalling process instance

org.kie.kogito.mongodb.MongoDBProcessInstancesIT.testValuesReadModeWithTransaction
Error while marshalling process instance

org.kie.kogito.mongodb.MongoDBProcessInstancesIT.test
Error while marshalling process instance

org.kie.kogito.mongodb.MongoDBProcessInstancesIT.testValuesReadMode
Error while marshalling process instance

org.kie.kogito.mongodb.MongoDBProcessInstancesIT.testFindByIdReadMode
Expected size: 1 but was: 3 in:[org.kie.kogito.process.bpmn2.BpmnProcessInstance@6e1aa01b,    org.kie.kogito.process.bpmn2.BpmnProcessInstance@affd2f60,    org.kie.kogito.process.bpmn2.BpmnProcessInstance@98e32210]

org.kie.kogito.mongodb.MongoDBProcessInstancesIT.testWithTransaction
Error while marshalling process instance

org.kie.kogito.mongodb.PersistentProcessInstancesIT.testMongoDBPersistence
Error while marshalling process instance

org.kie.kogito.mongodb.PersistentProcessInstancesWithLockIT.testRemove
Error while marshalling process instance

org.kie.kogito.mongodb.PersistentProcessInstancesWithLockIT.testUpdate
Error while marshalling process instance

org.kie.kogito.mongodb.DocumentProcessInstanceMarshallerTest.testProcessInstanceReadOnly
Error while marshalling process instance

org.kie.kogito.mongodb.DocumentProcessInstanceMarshallerTest.testMarshalProcessInstance
Error while marshalling process instance

org.kie.kogito.mongodb.DocumentProcessInstanceMarshallerTest.testUnmarshalProcessInstance
Cannot invoke "org.bson.Document.toJson()" because "org.kie.kogito.mongodb.DocumentProcessInstanceMarshallerTest.doc" is null

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testMigrateSingle
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testMigrateAll
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testBasicFlow
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testMultipleProcesses
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testProcessWithDifferentVersion
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testRemove
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.testUpdate
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testMigrateSingle
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testMigrateAll
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testBasicFlow
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testMultipleProcesses
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testProcessWithDifferentVersion
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testRemove
Error while marshalling process instance

org.kie.persistence.postgresql.PostgresqlProcessInstancesWithLockIT.testUpdate
Error while marshalling process instance

org.kie.kogito.serverless.workflow.executor.PersistentApplicationTest.testCallbackSubscriberWithPersistence(Path)
Error while marshalling process instance

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testBasicFlow
Error while marshalling process instance

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testValuesReadMode
Error while marshalling process instance

org.kie.kogito.quarkus.workflows.AsyncAPIIT.testConsumer
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CallbackStateIT.callbackStateSuccessful
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CallbackStateTimeoutsIT.callbackStateTimeoutsSuccessful
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CallbackStateWithTimeoutsErrorHandlerIT.callbackStateTimeoutsSuccessful
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CallbackStateWithTimeoutsErrorHandlerIT.callbackStateTimeoutsExceeded
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.CorrelationIT.correlationEventStartFromNodeTest
Condition with org.kie.kogito.quarkus.workflows.CorrelationIT was not fulfilled within 2 minutes.

org.kie.kogito.quarkus.workflows.CorrelationIT.correlationEventTestDefault
Condition with org.kie.kogito.quarkus.workflows.CorrelationIT was not fulfilled within 2 minutes.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventTimeoutExclusive
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventTimeout
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive1
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive2
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive3
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingEventWorkflowTimeout
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingEvent
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventRainy
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEvent
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.EventTimedoutIT.testTimedout
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.MultipleTimerInstancesIT.eventStateTimeouts
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.RetriggerIT.testRetrigger
1 expectation failed.Expected status code <400> but was <500>.

org.kie.kogito.quarkus.workflows.SubFlowsIT.testSubFlows
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsEndTApproved
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionDenied
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransition2Approved
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransition2Denied
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsEndTimeoutsExceeded
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsEndDenied
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionApproved
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransition2TimeoutsExceeded
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.FilesystemPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.FilesystemPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.FilesystemPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.FilesystemPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.FilesystemPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testParallelPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.InfinispanPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCOptimisticLockingIT.testParallelPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.JDBCPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.KafkaPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.KafkaPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.KafkaPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.KafkaPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.KafkaPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testParallelPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.MongoDBPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testParallelPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLPersistenceIT.testMultipleEmbeddedInstance
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLPersistenceIT.testAdHocProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLPersistenceIT.testEmbeddedProcess
1 expectation failed.Expected status code <201> but was <500>.

org.kie.kogito.it.PostgreSQLPersistenceIT.testAsyncWIH
1 expectation failed.Expected status code <201> but was <500>.

PR job #4 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3488 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3488/4/display/redirect
Test results:

PASSED: 3211
FAILED: 50

Those are the test failures:

org.kie.kogito.serverless.workflow.executor.PersistentApplicationTest.testCallbackSubscriberWithPersistence(Path)
Process 09df9616-8692-487c-87f7-0e5a8fd220ce has not finished after PT33M20S

org.kie.kogito.quarkus.workflows.AsyncAPIIT.testConsumer
Condition with alias 'dead' didn't complete within 10 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.CallbackStateIT.callbackStateSuccessful
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 3 minutes.

org.kie.kogito.quarkus.workflows.CallbackStateTimeoutsIT.callbackStateTimeoutsSuccessful
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 3 minutes.

org.kie.kogito.quarkus.workflows.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 10 seconds.

org.kie.kogito.quarkus.workflows.CallbackStateWithTimeoutsErrorHandlerIT.callbackStateTimeoutsSuccessful
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 3 minutes.

org.kie.kogito.quarkus.workflows.CallbackStateWithTimeoutsErrorHandlerIT.callbackStateTimeoutsExceeded
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 10 seconds.

org.kie.kogito.quarkus.workflows.CorrelationIT.correlationEventStartFromNodeTest
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 3 minutes.

org.kie.kogito.quarkus.workflows.CorrelationIT.correlationEventTestDefault
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 3 minutes.

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventTimeoutExclusive
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventTimeout
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive1
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive2
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventExclusive3
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingEvent
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventRainy
Condition with alias 'dead' didn't complete within 5 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEvent
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <200>..

org.kie.kogito.quarkus.workflows.EventTimedoutIT.testTimedout
expected: 0L but was: 1L

org.kie.kogito.quarkus.workflows.MultipleTimerInstancesIT.eventStateTimeouts
Assertion condition defined as a org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils 1 expectation failed.Expected status code <404> but was <200>. within 2 minutes.

org.kie.kogito.quarkus.workflows.SubFlowsIT.testSubFlows
Assertion condition defined as a org.kie.kogito.quarkus.workflows.SubFlowsIT 1 expectation failed.JSON path $.size() doesn't match.Expected: is <1>  Actual: <0> within 5 seconds.

org.kie.kogito.it.FilesystemPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.FilesystemPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.FilesystemPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.InfinispanOptimisticLockingIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.InfinispanOptimisticLockingIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.InfinispanOptimisticLockingIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.InfinispanPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.InfinispanPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.InfinispanPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.JDBCOptimisticLockingIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.JDBCOptimisticLockingIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.JDBCOptimisticLockingIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.JDBCPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.JDBCPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.JDBCPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.KafkaPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.KafkaPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.KafkaPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.MongoDBOptimisticLockingIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.MongoDBOptimisticLockingIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.MongoDBOptimisticLockingIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.MongoDBPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.MongoDBPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.MongoDBPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testEmbeddedProcess
parameterValue cannot be null

org.kie.kogito.it.PostgreSQLPersistenceIT.testMultipleEmbeddedInstance
parameterValue cannot be null

org.kie.kogito.it.PostgreSQLPersistenceIT.testAdHocProcess
1 expectation failed.JSON path status doesn't match.Expected: closed  Actual: new

org.kie.kogito.it.PostgreSQLPersistenceIT.testEmbeddedProcess
parameterValue cannot be null

PR job #5 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3488 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3488/5/display/redirect
Test results:

PASSED: 3253
FAILED: 8

Those are the test failures:

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventTimeout
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <500>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEventRainy
Condition with alias 'dead' didn't complete within 5 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <500>..

org.kie.kogito.quarkus.workflows.EventFlowIT.testNotStartingMultipleEvent
Condition with alias 'dead' didn't complete within 15 seconds because assertion condition defined as a org.kie.kogito.quarkus.workflows.AssuredTestUtils 1 expectation failed.Expected status code <404> but was <500>..

org.kie.kogito.quarkus.workflows.SubFlowsIT.testSubFlows
Assertion condition defined as a org.kie.kogito.quarkus.workflows.SubFlowsIT 1 expectation failed.JSON path $.size() doesn't match.Expected: is <1>  Actual: <0> within 5 seconds.

org.kie.kogito.it.InfinispanOptimisticLockingIT.testParallelPersistence
Assertion condition defined as a org.kie.kogito.it.OptimisticLockingTest 1 expectation failed.Expected status code <404> but was <500>. within 10 seconds.

org.kie.kogito.it.JDBCOptimisticLockingIT.testParallelPersistence
Assertion condition defined as a org.kie.kogito.it.OptimisticLockingTest 1 expectation failed.Expected status code <404> but was <500>. within 10 seconds.

org.kie.kogito.it.MongoDBOptimisticLockingIT.testParallelPersistence
Assertion condition defined as a org.kie.kogito.it.OptimisticLockingTest 1 expectation failed.Expected status code <404> but was <500>. within 10 seconds.

org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testParallelPersistence
Assertion condition defined as a org.kie.kogito.it.OptimisticLockingTest 1 expectation failed.Expected status code <404> but was <500>. within 10 seconds.


Deleting acceptance tests since they are super stale, fixes #363

\cc @patrick-wright @jkeiser @metadave @randomcamel
Fixes #363

DO EET!

:+1: Deleted code is tested code.


Info window pops up on camera move

Hi, thank you for the package, but I have one issue - info window constantly pops up on camera move, despite being hidden by onTap() before. It seems to me that it's abnormal behaviour, do you have any thoughts on how to fix that?

I have already fixed it - you can update the package, if this is correct answer)

Hi, thank you for the package, but I have one issue - info window constantly pops up on camera move, despite being hidden by onTap() before. It seems to me that it's abnormal behaviour, do you have any thoughts on how to fix that?

Thanks @Apollo108 for pointing out this issue. I have updated the package as per your solution.


first added diagnosis in create consultation removal

The first added diagnosis is removing

Fixes #8849
Change 1: Fixed logic to ensure the first added diagnosis is removable in the create consultation form.

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

tested, working fine @nihal467


Sort out error handling

We're currently using MonadThrow, which throws in the base monad in ExceptT and thus might not be what we want.
Figure out something better to use.

If we want to support partial success (optional, see "may" in quote below) then we're pretty constrained. The return type needs to be something like a tuple ([Error], Value) so we can collect errors while building the return value.
From the spec:

A response may contain both a partial response as well as encountered errors in the case that an error occurred on a field which was replaced with null.

I think we do want to support it.
We might want to refine the type to be:
data Result e a = OK a | Mixed e a |  Error e

We probably also want to emulate Servant and say that user's handlers run in the ExceptT (Result e a) IO a monad (perhaps giving a concrete type for e).

I guess the reason a Result like I described would be useful is that it would let us define an algebra of how such results are combined.

We should make a very clear distinction in our code between errors in the query (client-side errors, 400s) and errors in the definition (server-side, 500s) using a sum type. panic can happen at top-level runner function if necessary.


request(...).serialize is not a function

I don't want my request body to be serialized so I use the superagent's .serialize() method
return request(sails.hooks.http.app)
     .serialize((data) => data)
     .put(`/subscriptions/${createdSubscription.id}`)
     .set('Authorization', authHeader)
     .send(null)
     .expect(400);

but I get this error
 request(...).serialize is not a function
if I call .serialize() after .put() then it doesn't throw this error, but null in the request body gets transformed into an empty object.
How can I send null with PUT request?

@rimiti Is there any plan to add this?


Fix typo in example class name

NewtypeExampes -> NewtypeExamples

Codecov Report

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

@@           Coverage Diff           @@
##           master     #752   +/-   ##
=======================================
  Coverage   86.82%   86.82%
=======================================
  Files          90       90
  Lines        2520     2520
  Branches       57       57
=======================================
  Hits         2188     2188
  Misses        332      332

Continue to review full report at Codecov.

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


Application run result object

The flowserv application start_run method should return an object that makes it easier to check run status and access run resources (instead of a serialized dictionary).

Closed by commit fee3d86b50c70584b470770ddfe2d27a16ec4452


Adding Hovering Effect to website

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Adding hovering effect makes the website appealing good
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assign this issue as GSSoC'24 ..
I would like to work on this issue..
@Anushkabh   Please assign me this issue

Hey @Anushkabh I would like to work on this issue. Please assign it to me. Looking forward for your approval

Fixed in #266


Choosing a narrow results in multiple fetches

After choosing a stream in the left sidebar, for example, the stream opens up with an initial fetch for content and then another fetch.
There seem to be two causes that we should address:

Move loading indicator behind content (instead of in front)
Load content in bigger batches

For the bigger batches, I think we should move to fetching batches of ~100 (e.g. 50 in each direction); that will probably eliminate this issue.

Improved in caching branch.


Redesign: Update link panel

Feature Description
See Figma

[ ] URL
[ ] Input
[ ] Media picker

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

The screenshot shows the Permalink panel, not  the Link panel?

Oops, thank you! Fixed.

Verified in QA


add gtime example test

Codecov Report

Merging #1474 (89d2a89) into master (684fa9b) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1474      +/-   ##
==========================================
+ Coverage   69.81%   69.84%   +0.03%
==========================================
  Files         404      404
  Lines       39367    39367
==========================================
+ Hits        27484    27497      +13
+ Misses      10100    10081      -19
- Partials     1783     1789       +6

Flag
Coverage Δ

go-1.14
69.84% <ø> (+0.08%)
:arrow_up:

go-1.15
?

go-1.16
?

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

Impacted Files
Coverage Δ

os/gspath/gspath_cache.go
87.71% <0.00%> (-7.02%)
:arrow_down:

net/gtcp/gtcp_pool.go
34.09% <0.00%> (-4.55%)
:arrow_down:

os/glog/glog_logger_rotate.go
67.31% <0.00%> (-1.47%)
:arrow_down:

container/gtree/gtree_redblacktree.go
86.68% <0.00%> (-0.47%)
:arrow_down:

os/gtime/gtime.go
81.81% <0.00%> (+0.86%)
:arrow_up:

os/gtime/gtime_format.go
88.81% <0.00%> (+2.48%)
:arrow_up:

os/gtime/gtime_time.go
79.82% <0.00%> (+9.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Add support for multi languages

Is this breaking some tests?

@hchoura @kgrgreer @jlhughes .. we need a way to control which 'language' is used per application .. so 'en-liquid' needs to be able to be shown, or 'fr-liquid', etc. So how can we control the 'language' through configuration here?


what looks like some minor typos

the dev package at least on my ubuntu 14.04 box is libsnappy-dev without the '1'
also looks like the ha_checkconfig recipe may have been renamed.

Good catch. I updated the snappy one in my current WIP branch, but I should have made it its own PR. Anyway, you can fix the test failure by also changing spec/_compression_libs_spec.rb to match your changes.

Actually, if you rebase against master, you'll see that the library name change has been merged.

That's just:
git fetch origin
git rebase origin/master
git push

cool I'll close this pull request then.


ModelResolver Task to Patient path returns for instead of requester

While we work on the primaryContextPath idea, this PR hardcodes the primary context path between Task and Patient to the field for in R4 and DSTU3.
Fixes: #621
Related to: https://github.com/google/android-fhir/pull/1624

@brynrhodes @JPercival would one of you be able to review this? related to getting Tasks generate from $apply, thanks


Dynamically change the proxy settings

Is there any way to bind a new proxy server to already running PhantomJS process?
I do websites testing from different locations and "restart" procedure is very expensive.

Yes there is, you can use:
phantom.setProxy(host_or_IP, port, proxy_type, user_name, password);
host_or_IP only this argument is required others are optional
port is numeric value by default 8080
proxy_type can be http (default) or socks5
Also this kind of question should be asked on phantom's board but also this functionality should be documented on the website though.

Can be the proxy set via page? What is the difference?
https://github.com/ariya/phantomjs/blob/db0758195614ceb8a000b88c4e24face8fd35d7c/src/webpage.cpp
In this case it accept the proxy URL, doesn't it?
Yeah, it would be great to have such info documented for such a big project with so many users

Yes it can but it would set proxy only on that particular page instance on the other hand setting up proxy on phantom global object will set proxy globally no all present and future page instances except those that have their own proxy setting. I'm not sure if you can later revert page instance proxy back to global setting once you change it.
Also default port is 80 not 8080 (I fixed that in above comment)

Ok, got it, thanks!

phantom.setProxy("")

I found this issue when googling for "phantom set proxy". What I need is to set the proxy for each page, so this is how I'm doing it (in case anyone else has the same need):

page.setProxy("http://user:pass@proxy_ip_or_host:port/"); // with authentication;
page.setProxy("http://proxy_ip_or_host:port/"); // or with no authentication;


Update lighter-image-files

Pull Request purpose
[x] Documentation update
[ ] Bug fix
[ ] New rule
[ ] Updates an existing rule
[ ] Add something to the core
[ ] Other, please explain:
Checklist
[ ] Update CHANGELOG.md
[ ] Update task status in release plan (README)
[ ] Docs added (/docs/rules/<rule_name>)
[ ] Docs ready to be added to website (ec0lint.com)

Overview of changes
Would you like to add anything more?

let's add the table in markdown format, not as an image


Some trouble with String AxisX

Hello!
Please, tell me what to do with the problem?

Hi, avoid displaying too much labels by using setMaxLabelChars(int) method.
axisX.setMaxLabelChars(6); //default value is 3, of course, you can try other values


Monitoring for type Job

Had some folks today using Job, they had template errors but the error wasn't exposed to the user at all.  There was a simple pod config error, just showing the events for the pod might have been ok.
I have a feeling more and more will start using Job, and I'd like the errors to be spewed to the user so we can prevent some support toil.
cc @ccleung @camilo

👍 I think that PR should fix the reported issue.


Remove version: Fortinet.FortClientVPN version <IP_ADDRESS>3

Incorrect package ID
Microsoft Reviewers: Open in CodeFlow

URL: https://filestore.fortinet.com/forticlient/FortiClientSetup_<IP_ADDRESS>3_x64.zip
OK
(Automated message - build 911)

Hi @PckgrBot,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 886.)


Add offical notebook for Vertex SDK LLM snippets

Add official notebook for Vertex SDK LLM snippets

REQUIRED: Fill out the below checklists or remove if irrelevant

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

Nick Cain: I was just talking to Mark Iverson about it yesterday, actually. Completion is P1, so we are going to re-engage on it after Next


Add documentation publishing workflow to standalone repo

Summary
This approach is based on https://github.com/PrefectHQ/docs. Rather than publishing docs in the uv repo, we push to an independent repo that's used solely to house the docs. In Prefect's case, this allows them to publish versioned documentation (we should do that too). For us, though, the benefit is that we can publish the Ruff and uv docs as a single site (docs.astral.sh).
Prefect clones the source repo and builds the documentation from the docs repo (i.e., the action runs in the docs repo). In our case, I've instead set it up such that the action runs in uv (and later in ruff too), clones the docs repo, and puts up a PR in that separate repo. Because of these requirements, we have to use a PAT rather than a deploy key (as PATs cannot do GitHub-specific things like create PRs -- they can only operate over the Git CLI).
See: https://github.com/astral-sh/docs/pull/2.

This will take me 1,000 attempts to get working.

Thanks @zanieb!


Allow edit of disabled PowerCalc entry

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
The current version makes it impossible to look at the configuration of the disabled PowerCalc entry

It could be useful to have the option to take a look into this config and/or modify it while leaving it disabled.
There might be multiple reasons. For example, I disabled it because it was generating wrong values. After that I'd like to avoid generating wrong data again just to look at its configuration.
Describe the solution you'd like
Allow Configure for disabled entries.
Describe alternatives you've considered
N/A
Additional context
N/A

This is a change which I cannot do in Powercalc but needs to be done in HA core frontend code.
I have modified frontend code locally on my dev and seems to work. But I'm not sure why HA has chosen to hide this option. There must be some reason UX wise maybe. I have asked a HA dev about this and if this change can be made.


Failing to Pass Scale Variable

Description

Hi All,
I've encountered an issue with passing a scaling factor for feature calculations. More specifically, whenever a scale value is passed that is not equivalent to the default value of 1.0, the program returns an unexpected dimension error. I was also able to reproduce this when following the Analyze Visium fluorescence data tutorial exactly in both a standard python file as well as a jupyter notebook.
Minimal reproducible example

img = sq.datasets.visium_fluo_image_crop()
adata = sq.datasets.visium_fluo_adata_crop()

features_kwargs = {"segmentation": {"label_layer": "segmented_watershed"}}

sq.im.calculate_image_features(
    adata,
    img,
    features="segmentation",
    layer="image",
    key_added="features_segmentation",
    n_jobs=1,
    features_kwargs=features_kwargs,
)

params = {
     features_lowres": {"features": ["summary", "histogram"], "scale": 0.25},
}

for feature_name, cur_params in params.items():
    # features will be saved in `adata.obsm[feature_name]`
    sq.im.calculate_image_features(adata, img, layer="image", key_added=feature_name, n_jobs=1, **cur_params)

Traceback

Traceback (most recent call last):
  File "squidpytest.py", line 111, in <module>
    sq.im.calculate_image_features(adata, img, layer="image", key_added=feature_name, n_jobs=1, **cur_params)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_feature.py", line 91, in calculate_image_features
    res = parallelize(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/_utils.py", line 168, in wrapper
    res = jl.Parallel(n_jobs=n_jobs, backend=backend)(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/parallel.py", line 1085, in __call__
    if self.dispatch_one_batch(iterator):
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/parallel.py", line 901, in dispatch_one_batch
    self._dispatch(tasks)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/parallel.py", line 819, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 208, in apply_async
    result = ImmediateResult(func)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 597, in __init__
    self.results = batch()
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/parallel.py", line 288, in __call__
    return [func(*args, **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/joblib/parallel.py", line 288, in <listcomp>
    return [func(*args, **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_feature.py", line 119, in _calculate_image_features_helper
    for crop in img.generate_spot_crops(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_container.py", line 830, in generate_spot_crops
    crop = self.crop_center(y=y, x=x, radius=radius, library_id=obs_library_ids[i], **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_container.py", line 661, in crop_center
    return self.crop_corner(  # type: ignore[no-any-return]
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_container.py", line 568, in crop_corner
    self._post_process(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_container.py", line 602, in _post_process
    data = data.map(_rescale).assign_coords({"z": library_ids})
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/dataset.py", line 5957, in map
    variables = {
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/dataset.py", line 5958, in <dictcomp>
    k: maybe_wrap_array(v, func(v, *args, **kwargs))
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/squidpy/im/_container.py", line 597, in _rescale
    return xr.DataArray(scaling_fn(arr).astype(dtype), dims=arr.dims)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/skimage/_shared/utils.py", line 328, in fixed_func
    return func(*args, **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/skimage/transform/_warps.py", line 289, in rescale
    return resize(image, output_shape, order=order, mode=mode, cval=cval,
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/skimage/transform/_warps.py", line 188, in resize
    _clip_warp_output(image, out, mode, cval, clip)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/skimage/transform/_warps.py", line 692, in _clip_warp_output
    np.clip(output_image, min_val, max_val, out=output_image)
  File "<__array_function__ internals>", line 180, in clip
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2152, in clip
    return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc
    return bound(*args, **kwds)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/numpy/core/_methods.py", line 159, in _clip
    return _clip_dep_invoke_with_casting(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/numpy/core/_methods.py", line 113, in _clip_dep_invoke_with_casting
    return ufunc(*args, out=out, **kwargs)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/arithmetic.py", line 86, in __array_ufunc__
    return apply_ufunc(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/computation.py", line 1208, in apply_ufunc
    return apply_dataarray_vfunc(
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/computation.py", line 315, in apply_dataarray_vfunc
    result_var = func(*data_vars)
  File "/home/tcollins/anaconda3/envs/squidpy/lib/python3.8/site-packages/xarray/core/computation.py", line 796, in apply_variable_ufunc
    raise ValueError(
ValueError: applied function returned data with unexpected number of dimensions. Received 4 dimension(s) but expected 0 dimensions with names: ()

Version

1.2.3

@giovp I was using squidpy version 1.2.3

ok thanks, and scikit-image?

scikit-image was using version: 0.21.0

hi @tcollins2011 is this stil an issue? will close due to inactivity but feel free to reopen


Right-click context menu

This adds a basic right-click context menu to the map, where we can start to build out feature inspection tools.
Initially, this menu links to the existing osm.org view/edit pages.

Realistically, this needs a complete do-over.


I RuntimeError: Command failed! ffmpeg -i "/tmp/ao_wmjz0ezg.wav" -r 29.970000 -loglevel warning -safe 0 -f concat -i "/tmp/ao_i2pwi0b8.txt" -pix_fmt yuv420p -vcodec h264 -strict -2 -y -acodec aac  "results/fg_translator.mp4"

python sep_video.py data/translator.mp4 --model unet_pit --duration_mult 4 --out results/
Start time: 0.0
GPU = 0
Spectrogram samples: 512
(8.298, 8.288)
100.0% complete, total time: 0:00:00. 0:00:00 per iteration. (11:29 AM Tue)
Struct(alg=sourcesep, augment_audio=False, augment_ims=True, augment_rms=False, base_lr=0.0001, batch_size=24, bn_last=True, bn_scale=True, both_videos_in_batch=False, cam=False, check_iters=1000, crop_im_dim=224, dilate=False, do_shift=False, dset_seed=None, fix_frame=False, fps=29.97, frame_length_ms=64, frame_sample_delta=74.5, frame_step_ms=16, freq_len=1024, full_im_dim=256, full_model=False, full_samples_len=105000, gamma=0.1, gan_weight=0.0, grad_clip=10.0, im_split=False, im_type=jpeg, init_path=None, init_type=shift, input_rms=0.14142135623730953, l1_weight=1.0, log_spec=True, loss_types=['pit'], model_path=results/nets/sep/unet-pit/net.tf-160000, mono=False, multi_shift=False, net_style=no-im, normalize_rms=True, num_dbs=None, num_samples=173774, opt_method=adam, pad_stft=False, phase_type=pred, phase_weight=0.01, pit_weight=1.0, predict_bg=True, print_iters=10, profile_iters=None, resdir=/home/study/PycharmProjects/results/nets/sep/unet-pit, samp_sr=21000.0, sample_len=None, sampled_frames=248, samples_per_frame=700.7007007007007, show_iters=None, show_videos=False, slow_check_iters=10000, spec_len=512, spec_max=80.0, spec_min=-100.0, step_size=120000, subsample_frames=None, summary_iters=10, test_batch=10, test_list=../data/celeb-tf-v6-full/test/tf, total_frames=149, train_iters=160000, train_list=../data/celeb-tf-v6-full/train/tf, use_3d=True, use_sound=True, use_wav_gan=False, val_list=../data/celeb-tf-v6-full/val/tf, variable_frame_count=False, vid_dur=8.288, weight_decay=1e-05)
ffmpeg -loglevel error -ss 0.0 -i "data/translator.mp4" -safe 0  -t 8.338000000000001 -r 29.97 -vf scale=256:256 "/tmp/tmpw4889ppn/small_%04d.png"
ffmpeg -loglevel error -ss 0.0 -i "data/translator.mp4" -safe 0 -t 8.338000000000001 -r 29.97 -vf "scale=-2:'min(600,ih)'" "/tmp/tmpw4889ppn/full_%04d.png"
ffmpeg -loglevel error -ss 0.0 -i "data/translator.mp4" -safe 0  -t 8.338000000000001 -ar 21000.0 -ac 2 "/tmp/tmpw4889ppn/sound.wav"
Running on:
2019-05-14 11:29:30.212532: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-05-14 11:29:30.329825: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-05-14 11:29:30.330229: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: GeForce RTX 2070 major: 7 minor: 5 memoryClockRate(GHz): 1.62
pciBusID: 0000:01:00.0
totalMemory: 7.77GiB freeMemory: 7.19GiB
2019-05-14 11:29:30.330244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2019-05-14 11:29:30.547596: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-05-14 11:29:30.547627: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2019-05-14 11:29:30.547632: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2019-05-14 11:29:30.547797: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6920 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070, pci bus id: 0000:01:00.0, compute capability: 7.5)
Raw spec length: [1, 514, 1025]
Truncated spec length: [1, 512, 1025]
('gen/conv1', [1, 512, 1024, 2], '->', [1, 512, 512, 64])
('gen/conv2', [1, 512, 512, 64], '->', [1, 512, 256, 128])
('gen/conv3', [1, 512, 256, 128], '->', [1, 256, 128, 256])
('gen/conv4', [1, 256, 128, 256], '->', [1, 128, 64, 512])
('gen/conv5', [1, 128, 64, 512], '->', [1, 64, 32, 512])
('gen/conv6', [1, 64, 32, 512], '->', [1, 32, 16, 512])
('gen/conv7', [1, 32, 16, 512], '->', [1, 16, 8, 512])
('gen/conv8', [1, 16, 8, 512], '->', [1, 8, 4, 512])
('gen/conv9', [1, 8, 4, 512], '->', [1, 4, 2, 512])
('gen/deconv1', [1, 4, 2, 512], '->', [1, 8, 4, 512])
('gen/deconv2', [1, 8, 4, 1024], '->', [1, 16, 8, 512])
('gen/deconv3', [1, 16, 8, 1024], '->', [1, 32, 16, 512])
('gen/deconv4', [1, 32, 16, 1024], '->', [1, 64, 32, 512])
('gen/deconv5', [1, 64, 32, 1024], '->', [1, 128, 64, 512])
('gen/deconv6', [1, 128, 64, 1024], '->', [1, 256, 128, 256])
('gen/deconv7', [1, 256, 128, 512], '->', [1, 512, 256, 128])
('gen/deconv8', [1, 512, 256, 256], '->', [1, 512, 512, 64])
('gen/fg', [1, 512, 512, 128], '->', [1, 512, 1024, 2])
('gen/bg', [1, 512, 512, 128], '->', [1, 512, 1024, 2])
Restoring from: results/nets/sep/unet-pit/net.tf-160000
predict
samples shape: (1, 173774, 2)
samples pred shape: (1, 173774, 2)
(512, 1025)
Writing to: results/
ffmpeg -i "/tmp/ao_wmjz0ezg.wav" -r 29.970000 -loglevel warning -safe 0 -f concat -i "/tmp/ao_i2pwi0b8.txt" -pix_fmt yuv420p -vcodec h264 -strict -2 -y -acodec aac  "results/fg_translator.mp4"
[wav @ 0x558b3f868b40] Estimating duration from bitrate, this may be inaccurate
[wav @ 0x558b3f868b40] Could not find codec parameters for stream 0 (Audio: none,<PHONE_NUMBER> Hz, 16256 channels, 9481256 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Unknown encoder 'h264'
Traceback (most recent call last):
File "sep_video.py", line 455, in
ut.make_video(full_ims, pr.fps, pj(arg.out, 'fg%s.mp4' % name), snd(full_samples_fg))
File "/home/study/PycharmProjects/untitled/util.py", line 3176, in make_video
% (sound_flags_in, fps, input_file, sound_flags_out, flags, out_fname))
File "/home/study/PycharmProjects/untitled/util.py", line 917, in sys_check
fail('Command failed! %s' % cmd)
File "/home/study/PycharmProjects/untitled/util.py", line 14, in fail
def fail(s = ''): raise RuntimeError(s)
RuntimeError: Command failed! ffmpeg -i "/tmp/ao_wmjz0ezg.wav" -r 29.970000 -loglevel warning -safe 0 -f concat -i "/tmp/ao_i2pwi0b8.txt" -pix_fmt yuv420p -vcodec h264 -strict -2 -y -acodec aac  "results/fg_translator.mp4"
I meet the problem like this... I run the code as you say... but what happend to this code? I run the code on python3,thank you for your prompt reply!!!

I just want to separate a mixfile(wav format),but it's so many errors...when I choose a mix.wav to takeplace the translator.mp4,

The version of ffmpeg that you have cannot write an h264 video, since it is missing the codec. You could reinstall it, or you could try a precompiled version: e.g. https://johnvansickle.com/ffmpeg/.

The version of ffmpeg that you have cannot write an h264 video, since it is missing the codec. You could reinstall it, or you could try a precompiled version: e.g. https://johnvansickle.com/ffmpeg/.
thank you for your quickly answer,and can I choose a mix.wav to takeplace the translator.mp4

excuse me...can you see my question? can you give me a little help,I don;t konw how to go on after downloading the"
ffmpeg-release-amd64-static.tar.xz - md5" what should I do next?


New version: astral-sh.ruff version 0.7.1

Created in https://github.com/stevenlele/winget-update/actions/runs/11503511385
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-10-24 11:23:19.173 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerSharedLib\SHA256.cpp(144)\WindowsPackageManager.dll!00007FFCC2C0273F: (caller: 00007FFCC2C4AEC4) Exception(2) tid(af4) 8A150040
2024-10-24 11:23:21.952 [FAIL] Installer failed security check. Url: https://github.com/astral-sh/ruff/releases/download/0.7.1/ruff-x86_64-pc-windows-msvc.zip Result: 0x80004005
MSI (s) (08:28) [11:23:14:006]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (08:28) [11:23:14:006]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (08:28) [11:23:14:006]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (08:28) [11:23:14:006]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (08:28) [11:23:14:006]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (08:58) [11:23:14:943]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (08:58) [11:23:14:943]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (08:58) [11:23:14:943]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (08:58) [11:23:14:943]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (08:58) [11:23:14:943]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 897.)

@wingetbot run


Add exported authenticators draft

It might be interesting to add the exported authenticator draft in a separate branch on this repo, as something that could be used for OPAQUE. It will also help to have a POC integrated into a TLS suite for the draft itself.
The draft: https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authenticator/
cc./ @chris-wood

I'll be checking this here: https://github.com/claucece/go-exp


the design won't synthesize in Vivado due to syntax errors

The Vivado synthetizer does not like the ' in
rden <= '0;
wren <= '0;
I don't know anything about Verilog.
The following fixes the syntax issues but I'm unsure whether this actually works :
diff --git a/design/dmi/dmi_jtag_to_core_sync.v b/design/dmi/dmi_jtag_to_core_sync.v
index aa4c19f..2d1477c 100644
--- a/design/dmi/dmi_jtag_to_core_sync.v
+++ b/design/dmi/dmi_jtag_to_core_sync.v
@@ -48,8 +48,8 @@ module dmi_jtag_to_core_sync (
 // synchronizers
 always @ ( posedge clk or negedge rst_n) begin
     if(!rst_n) begin
-        rden <= '0;
-        wren <= '0;
+        rden <= 0;
+        wren <= 0;
     end
     else begin
         rden <= {rden[1:0], rd_en};

Thanks for pointing this out. The change for PR #29 somehow got dropped in this release.

That's strange. I just updated SweRVolf to use SweRV 1.5 and didn't see any issues with Vivado. Doing standalone Vivado synthesis (e.g. with fusesoc run --target=synth chipsalliance.org:cores:SweRV_EH1 --part=xc7a100tcsg324-1) also works fine

Re-applied PR #29 via commit cb5a7a141df1151e21221c8b1489864e1b6a7070
Thanks for reporting this.


[6.0]Allow enabling embedded Swift without WMO when not generating SIL

This allows modes like -index-file to work the same way they do when not using embedded Swift
Explanation: Avoid emitting an error that embedded Swift requires WMO if not generating SIL. This allows modes like -index-file to work in the natural way.
Scope: Behavior change is restricted to building embedded Swift.
Original PRs:
Risk: Low. This change is scoped to embedded Swift, and makes an existing check more permissive
Reviewers: @bnbarham

@swift-ci please smoke test

@swift-ci please test


Please merge revision #3a0edfba72e27781e into dev channel

@ricowind @whesse @kasperl
This add tests for, and fixes bugs in, the int.gcd code for the VM.
Revision to merge:
3a0edfba72e27781e98f5debfafc5f01450bd423
This merged cleanly

We are now doing weekly pushes to 1.12 on the dev channel.  Do you need a special push of this before next week?
The 1.11 channel is now on stable, so we usually want to push to dev before we also push to stable.  Did you mean this to be a push to stable bug?

I think we need this on stable to test that:
https://github.com/dart-lang/sdk/issues/23734
is working correctly there.

This was pushed to stable on July 2, in Version 1.11.1


How do I upload images that H2ogpt recognizes and import information from them? Calculate the question?

How do I upload images that H2ogpt recognizes and import information from them? Calculate the question?

Upload them as files.


Anything in the OuterClothing slot should hide the PDA sprite

Description

I know hardsuits do, but for some reason things like lab coats don't and it's weird.

It doesn't look like hardsuits do either.

Should it though? I think it looks pretty normal to wear a pda over armor and hardsuits

based on the sprite its kind of meant to hang on a belt or something similar. Like, how will it logically stay on the sprite it just looks really bad and bothers me