[Asking] How can i loop with dict when using jikanpy?

Hello . I was trying to pass though a loop of dict to get all title from result query...
This is my latest code
All i want to get is all title, url.
from jikanpy import Jikan
import urllib
import json
jikan = Jikan()
print("Input anime you want: ")
search = input()
result = urllib.parse.quote(search)
search_result = jikan.search('anime', result,parameters={'limit': 4})
# print(search_result)
# search foreach
for dict_item in search_result:
    print(search_result[dict_item])

print(search_result[dict_item])
Ace
request:search:5ac5be203ed230c8033ab02d7c6298b43027a078
False
432000
[{'mal_id': 18689, 'url': 'https://myanimelist.net/anime/18689/Diamond_no_Ace', 'image_url': 'https://cdn.myanimelist.net/images/anime/5/54235.jpg?s=6274728d6d1b274365c964ff74619d21', 'title': 'Diamond no Ace', 'airing': False, 'synopsis': 'With a stray pitch that completely missed the batter, Eijun Sawamura loses his final middle school baseball game. Frustrated by this defeat, Eijun and his teammates vow to reach the national tournamen...', 'type': 'TV', 'episodes': 75, 'score': 8.11, 'start_date': '2013-10-06T00:00:00+00:00', 'end_date': '2015-03-29T00:00:00+00:00', 'members': 188213, 'rated': 'PG-13'}, {'mal_id': 30230, 'url': 'https://myanimelist.net/anime/30230/Diamond_no_Ace__Second_Season', 'image_url': 'https://cdn.myanimelist.net/images/anime/9/74398.jpg?s=3a65df0ba1e32d5454a294bfbd29fb0e', 'title': 'Diamond no Ace: Second Season', 'airing': False, 'synopsis': 'After the National Tournament, the Seidou High baseball team moves forward with uncertainty as the Fall season quickly approaches. In an attempt to build a stronger team centered around their new capt...', 'type': 'TV', 'episodes': 51, 'score': 8.31, 'start_date': '2015-04-06T00:00:00+00:00', 'end_date': '2016-03-28T00:00:00+00:00', 'members': 104843, 'rated': 'PG-13'}, {'mal_id': 38731, 'url': 'https://myanimelist.net/anime/38731/Diamond_no_Ace__Act_II', 'image_url': 'https://cdn.myanimelist.net/images/anime/1153/100511.jpg?s=c363ec119a3569f7a9dadbd252f792c2', 'title': 'Diamond no Ace: Act II', 'airing': False, 'synopsis': 'The hallowed ground of Koshien Stadium is the "field of dreams," where the ambitions of high school baseball players come true. After emerging victorious in the autumn tournament last year, Seidou Hig...', 'type': 'TV', 'episodes': 52, 'score': 8.23, 'start_date': '2019-04-02T00:00:00+00:00', 'end_date': '2020-03-31T00:00:00+00:00', 'members': 58455, 'rated': 'PG-13'}, {'mal_id': 8542, 'url': 'https://myanimelist.net/anime/8542/Shin_Ace_wo_Nerae', 'image_url': 'https://cdn.myanimelist.net/images/anime/13/23161.jpg?s=79065b6280bff0af3d61a6f52d5ca9bc', 'title': 'Shin Ace wo Nerae!', 'airing': False, 'synopsis': 'Heroine, Hiromi Oka, has just entered a high school famous for its tennis club. She has started playing tennis yearning after Madam Butterfly. She was expecting to enjoy playing tennis with her best f...', 'type': 'TV', 'episodes': 25, 'score': 6.48, 'start_date': '1978-10-14T00:00:00+00:00', 'end_date': '1979-03-31T00:00:00+00:00', 'members': 1748, 'rated': 'PG-13'}]
8
https://api.jikan.moe/v3/search/anime?q=Ace&limit=4
{'Server': 'nginx/1.18.0 (Ubuntu)', 'Date': 'Sun, 18 Apr 2021 16:22:56 GMT', 'Content-Type': 'application/json', 'Content-Length': '1103', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': '*', 'Cache-Control': 'private, must-revalidate', 'ETag': '"90975ff85142fc7c7b0274bc1c446249"', 'X-Request-Hash': 'request:search:5ac5be203ed230c8033ab02d7c6298b43027a078', 'X-Request-Cached': '', 'X-Request-Cache-Ttl': '432000', 'Expires': 'Fri, 23 Apr 2021 16:22:56 GMT', 'Content-Encoding': 'gzip', 'Vary': 'Accept-Encoding', 'X-Cache-Status': 'MISS'}

Loop through the 'results' key of the search result
from jikanpy import Jikan
import urllib
import json
jikan = Jikan()
print("Input anime you want: ", end="")
search = input()
result = urllib.parse.quote(search)
search_result = jikan.search('anime', result,parameters={'limit': 4})
for dict_item in search_result["results"]:
    print(dict_item["title"])

Hey there. First of all. Thanks for your help. It working great. Now i have another problem. Let said i want to sort order of series.
Example: This is log when i search Detective Conan series
Input anime you want: Conan
Mirai Shounen Conan https://myanimelist.net/anime/302/Mirai_Shounen_Conan
Detective Conan OVA 01: Conan vs. Kid vs. Yaiba https://myanimelist.net/anime/1369/Detective_Conan_OVA_01__Conan_vs_Kid_vs_Yaiba
Detective Conan https://myanimelist.net/anime/235/Detective_Conan
Detective Conan Movie 19: The Hellfire Sunflowers https://myanimelist.net/anime/28479/Detective_Conan_Movie_19__The_Hellfire_Sunflowers
Mirai Shounen Conan (Movie) https://myanimelist.net/anime/7308/Mirai_Shounen_Conan_Movie
Detective Conan Movie 13: The Raven Chaser https://myanimelist.net/anime/5460/Detective_Conan_Movie_13__The_Raven_Chaser
Detective Conan Movie 22: Zero the Enforcer https://myanimelist.net/anime/35798/Detective_Conan_Movie_22__Zero_the_Enforcer
Mirai Shounen Conan 2: Taiga Daibouken https://myanimelist.net/anime/2613/Mirai_Shounen_Conan_2__Taiga_Daibouken
Detective Conan OVA 04: Conan and Kid and Crystal Mother https://myanimelist.net/anime/2514/Detective_Conan_OVA_04__Conan_and_Kid_and_Crystal_Mother
Lupin III vs. Detective Conan https://myanimelist.net/anime/6115/Lupin_III_vs_Detective_Conan
Detective Conan OVA 03: Conan and Heiji and the Vanished Boy https://myanimelist.net/anime/2513/Detective_Conan_OVA_03__Conan_and_Heiji_and_the_Vanished_Boy
Detective Conan: Conan vs. Kid - Shark & Jewel https://myanimelist.net/anime/9785/Detective_Conan__Conan_vs_Kid_-_Shark___Jewel
Detective Conan vs. Wooo https://myanimelist.net/anime/10766/Detective_Conan_vs_Wooo
Detective Conan Movie 14: The Lost Ship in the Sky https://myanimelist.net/anime/6467/Detective_Conan_Movie_14__The_Lost_Ship_in_the_Sky
Detective Conan: Conan vs. Kid - Jet Black Sniper https://myanimelist.net/anime/9786/Detective_Conan__Conan_vs_Kid_-_Jet_Black_Sniper
Detective Conan OVA 10: Kid in Trap Island https://myanimelist.net/anime/8609/Detective_Conan_OVA_10__Kid_in_Trap_Island
Lupin III vs. Detective Conan: The Movie https://myanimelist.net/anime/18429/Lupin_III_vs_Detective_Conan__The_Movie
Detective Conan OVA 02: 16 Suspects https://myanimelist.net/anime/2512/Detective_Conan_OVA_02__16_Suspects
Detective Conan Movie 01: The Timed Skyscraper https://myanimelist.net/anime/779/Detective_Conan_Movie_01__The_Timed_Skyscraper
Detective Conan Movie 05: Countdown to Heaven https://myanimelist.net/anime/1364/Detective_Conan_Movie_05__Countdown_to_Heaven

You can see, there are no order. It possible to sort it from oldest to latest?
Like Movie - Detective Conan Movie 01 -> Detective Conan Movie 02 - > Detective Conan Movie 03 and so on?

As far as I know the order of relations on myanimelist is arbitrary -- sometimes they're ordered in the 'correct' release order, sometimes in chronological
If you wanted to order it in release order, the only way to be sure would be to request each entry in the relation and grab its original release/air date, and then order it manually

Oh ok thanks for help me understand it ! kudo author.
Have a good day ❤ !


kctrl: Tighten tests around package authoring commands

[ ] Ensure that the packages/repositories generated are installable after the generation
[ ] Cover more cases (right now we only have a case covering packaging the upstream mongo helm chart)

[ ] Does this warrant table tests?
[ ] Can we avoid being dependent on external artifacts

[ ] Ensure that the way we test the interactive flow is airtight

[ ] Is there a better way of doing this?

This is branching out from work that was ongoing in #766
In favour of breaking it down into digestible pieces and pulling in the authoring commands into an alpha release for early adopters.

Deflating the PackageRepository commands test and/or loosening constraints to just check on Deploy succeeded instead of Fetch succeeded and template succeeded as well should go in with these changes


Simplify tox.ini

Codecov Report

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

@@           Coverage Diff           @@
##           master     #261   +/-   ##
=======================================
  Coverage   75.32%   75.32%
=======================================
  Files          74       74
  Lines        3112     3112
=======================================
  Hits         2344     2344
  Misses        768      768

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 fdc84bd...55806bb. Read the comment docs.


E2e push operator

This PR add an action to check if docker image exists on remote internal repo(github private repo), if not we will push to it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 7 committers have signed the CLA.:white_check_mark: jizhuoyu:white_check_mark: roypaulin:white_check_mark: chinhtranvan:white_check_mark: cchen-vertica:white_check_mark: HaoYang0000:white_check_mark: fenic-fawkes:x: spilchenspilchen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

The target branch should be main, not vnext2. In your PR, could you do me a favor to remove vnext from e2e.yml since vnext branch has been removed?

The target branch should be main, not vnext2. In your PR, could you do me a favor to remove vnext from e2e.yml since vnext branch has been removed?

Done, removed in https://github.com/vertica/vertica-kubernetes/pull/890/commits/47b732b9df1d6fc1d81b4ad0c39e49175c8422b0

Fix the CLA issue, create a new PR: https://github.com/vertica/vertica-kubernetes/pull/928


Cleanup Result Layout.

This consists of two parts:

reduce number of directories, by putting all results in one and filtering by layout.
use variables for year/divisions/participants in the layout to allow for different years.

What's the meaning of the double dashes in

biggest-lead--challenge-incremental.md
largest-contribution--challenge-incremental.md

I have no idea.  These pages aren't listed, they are not accessible and they weren't updated by the last update.  I guess we can remove them.


Install graphene-config.h in libdir

This file is architecture dependent. To support multilib we need
to make sure multiple copies can coexist.

CR pass.


Add overloads to allow pointer loads of unbaked functions

Similar to #28.
Please note, the following things :

I used nameof() in a couple places.

In the new inner* methods i did not use the AsEnumerable or copy the data for the call to UpdateState

What about the shorthand stuff, should i add overloads there?

@kevin-montrose Hello, i was wondering if you ever got a chance to look at this PR


⚠ Voice Chat API has degraded performance

In 989917b, Voice Chat API (https://voice.roblox.com/) experienced degraded performance:

HTTP code: 503
Response time: 5631 ms

Resolved: Voice Chat API performance has improved in eba09a5 after 1 hour, 36 minutes.


No way to create a global template

 Issue by ascclemens
Wednesday Feb 14, 2018 at 17:46 GMT
Originally opened as https://github.com/clap-rs/clap/issues/1184

Affected Version of clap
2.29.4
Expected Behavior Summary
Being able to call global_template and have the template propagate down to subcommands.
Actual Behavior Summary
For every single subcommand, I have to add a template call to get them all to match my custom template.

 Comment by kbknapp
Wednesday Feb 14, 2018 at 18:58 GMT

Totally agree this is a lacking feature, thanks for the suggestion!
In order for me to actually get v3 released I have to put blinders on and only implement bug fixes or super trivial features which are simple to forward port to the v3 branch.
I don't know that this is one such issue. I'll leave it open for v3 as it is something I do want to have.
Having said all this, if someone implements this for v2 I'm not against the PR, so long as the understanding is that for v3 I may have to rip out the commit and re-do it depending how deep into the internals it gets to implement this. (for v3 the internals are quite different, so some changes aren't trivial to forward port).

 Comment by pksunkara
Friday Oct 09, 2020 at 17:33 GMT

To solve this, we would either need to add a global_help_template function that would forward the template to children (example) or we could add a setting called PropagateTemplate which does the same.


Codeunit Extension Object

A while ago there was some discussion on the possibility of adding a codeunit extension object with an option to override code in other objects.
What is the status on this?

Do you mean this #153. In the comments is a link to a second similar issue. => #120

We do not have any updates to share on this topic yet, it is still being worked on.


license file ?

Hello,
I just downloaded the "devcafe/cmake-cookbook_ubuntu16.04-intel2018.1" image and found that it requires the license file.
I guess that all the build using this image are done on a machine containing proper license file, right ?
mightybuilder@6eba94f64535:~$ ifort

Error: Product support for your (Comp-FL) license has expired.
License file(s) used were (in this order):
**  1.  /opt/intel/compilers_and_libraries_2018.2.199/linux/licenses
**  2.  /opt/intel/licenses/l_CV55PFW6.lic
**  3.  /home/mightybuilder/intel/licenses
**  4.  /opt/intel/compilers_and_libraries_2018.2.199/linux/bin/intel64/../../Licenses
**  5.  /home/mightybuilder/Licenses
**  6.  /Users/Shared/Library/Application Support/Intel/Licenses
**  7.  /opt/intel/compilers_and_libraries_2018.2.199/linux/bin/intel64/*.lic

Please refer https://software.intel.com/en-us/faq/purchasing-renewing-upgrading#support-expiration  for more information..

ifort: error #10052: could not checkout FLEXlm license
mightybuilder@6eba94f64535:~$ exit

The license has expired. This image was created with the free academic version. Unfortunately I don't have a solution for this other than creating a new image with a newer version.

And the licence file was in that image, so that anybody who downloaded this image was able to use Intel compilers ?

That is correct.


libxml2: Add patch to fix CVE-2024-25062

Purpose of pull request
This PR adds a patch to fix CVE-2024-25062.
Debian and Freexian appear to ignore the CVE, saying that it is a minor issue (Debian Security Tracker).
The patch is backported from xmlreader: Don't expand XIncludes when backtracking .
Test
Run cve_check
Test results
>> grep -A1 "CVE: CVE-2024-25062" tmp-glibc/deploy/cve/libxml2
CVE: CVE-2024-25062
CVE STATUS: Patched

Thanks!


Bind networking to a specific interface or IP

I made a question in https://forum.rclone.org/t/rclone-bound-to-particular-interface-ip/936
I was hoping to be able to bind rclone to a specific interface.For example if you are using a VPN on tun0, rclone will always connect through here, but i want to be able to change this, and be able to connect to eth0 and avoid use of the VPN.
It'd be great if this could be considered in rclone's development.
Thank you.

this could include: use IPv4 or IPv6 only

I've done this with the --bind flag - give it an IPv4 address and IPv6 address or a host name.
https://beta.rclone.org/v1.37-021-g9f246395/ (uploaded in 15-30 mins)

thanks a lot!
please see my comment in the commit:
https://github.com/ncw/rclone/commit/9f2463956884c0e995cf6f7140af0dc06af096e0#commitcomment-23251156

Here is a beta for all platforms (the previous one only built for windows)
https://beta.rclone.org/v1.37-023-gc3d6cc91
(Will fix the typo in the commit - thanks)

New beta with the fixed message
https://beta.rclone.org/v1.37-024-g1ecf2bcb/ (uploaded in 15-30 mins)


Bot occasionally hangs, suspect it's stuck in a loop

Check the pruneOldThreadMessages function.

Added debug logging to this function in 0.4.2 dev branch.

Merged into main. Will keep an eye out for hangs.

I haven't seen this come up again, and there has been some refactoring, particularly around the call to the OpenAI API. I'll add some additional debug logging for error responses that may (5XX) or may not (4XX) retry.

Might also be due to having many synchronous functions, blocking the event loop. I have seen cases where @-mentions were not picked up by the bot.
Converting all functions to async in 0.4.4 dev branch now.

I haven't seen this issue recur since it was originally reported. Since there has been ongoing code cleanup and enhancement around error handling OpenAI API calls, I'm going to close this issue.


xz failed to run in standard alone installation under CentOS 5

I am running standalone linuxbrew in CentOS 5. After upgrade xz to 5.2.1, it failed to run with message:
xz: Error creating a pipe: Function not implemented

And I can not upgrade other formula with tar.xz files. (e.g. git)
The error is from pipe2 call. It is not supported in the kernel of CentOS 5 (2.6.18).
So I made a patch to remove the pipe2 check from configure script for old kernel versions. Is there any better way to solve this problem?
diff --git a/Library/Formula/xz.rb b/Library/Formula/xz.rb
index f4fdf49..8c5c842 100644
--- a/Library/Formula/xz.rb
+++ b/Library/Formula/xz.rb
@@ -16,6 +16,15 @@ class Xz < Formula
   option :universal

   def install
+    if OS.linux?
+      kernel_version = `uname -r`.chomp
+      if Gem::Version.new(kernel_version) < Gem::Version.new("2.6.27")
+        inreplace "configure" do |s|
+          s.gsub! /posix_fadvise pipe2/, "posix_fadvise"
+        end
+      end
+    end
+
     ENV.universal_binary if build.universal?
     system "./configure", "--disable-debug",
                           "--disable-dependency-tracking",

At run time, xz needs to check whether the pipe2 system call is available. This is an upstream bug.

This is a decent work around, though. Thanks.


task.json creation, rename ".Net" to ".NET"

testing #4019
".Net" should be ".NET"

dupe of #4216


Problem with large number of zip code results

This works great on the test server, but fails on the production server with the CDC eviction moratorium interview.
Probably because on the production server, there are hundreds of zip codes and the query on line 73 is too big. It might be necessary to group and space out the queries, or create a local cache of the database.
Here is the error:

Error

Retry

    ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Log

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/webapp/server.py", line 7206, in index
    interview.assemble(user_dict, interview_status, old_user_dict, force_question=special_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7320, in assemble
    raise the_error
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7111, in assemble
    question_result = self.askfor(missingVariable, user_dict, old_user_dict, interview_status, seeking=interview_status.seeking, follow_mc=follow_mc, seeking_question=seeking_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7870, in askfor
    question_result = self.askfor(newMissingVariable, user_dict, old_user_dict, interview_status, variable_stack=variable_stack, questions_tried=questions_tried, seeking=seeking, follow_mc=follow_mc, recursion_depth=recursion_depth, seeking_question=seeking_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7870, in askfor
    question_result = self.askfor(newMissingVariable, user_dict, old_user_dict, interview_status, variable_stack=variable_stack, questions_tried=questions_tried, seeking=seeking, follow_mc=follow_mc, recursion_depth=recursion_depth, seeking_question=seeking_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7870, in askfor
    question_result = self.askfor(newMissingVariable, user_dict, old_user_dict, interview_status, variable_stack=variable_stack, questions_tried=questions_tried, seeking=seeking, follow_mc=follow_mc, recursion_depth=recursion_depth, seeking_question=seeking_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7759, in askfor
    exec_with_trap(question, user_dict)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 8324, in exec_with_trap
    exec(the_question.compute, the_dict)
  File "<code block>", line 1, in <module>
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/InterviewStats/snapshot_geography.py", line 186, in make_usage_map
    geo_loc_counts = grab_geography(agg_df, geo_col, time_col)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/InterviewStats/snapshot_geography.py", line 73, in grab_geography
    new_zip_shapes = api_conn.mapservice.query(layer=8, where=full_where)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/cenpy/tiger.py", line 272, in query
    return self.layers[layer_result].query(**kwargs)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/cenpy/tiger.py", line 181, in query
    resp = r.get(self._last_query + "&f=json")
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Feel free to test on the production server to hunt this bug down.

The issue above was mostly because the number of zip codes that we were requesting through the URL was much too large. In general, with this many submissions all over the US, ad-hoc requests for shapes is probably going to be incredibly slow.
This should be fixed with https://github.com/SuffolkLITLab/docassemble-InterviewStats/commit/374dde5169e923413ef0f19b5d79fab76538fd91, and some of the follow commits.

The issue above was mostly because the number of zip codes that we were requesting through the URL was much too large. In general, with this many submissions all over the US, ad-hoc requests for shapes is probably going to be incredibly slow.
This should be fixed with https://github.com/SuffolkLITLab/docassemble-InterviewStats/commit/374dde5169e923413ef0f19b5d79fab76538fd91, and some of the follow commits.


Execute task

Primary task gets an execution without primary_exec_id set. All pre tasks get executions with primary_exec_id set to the execution of the primary task. This way in the overall execution history we will be able to distinguish between primary executions and their pre tasks and also will be able to group them in ui accordingly.
As opposed to the 1.0 that only allowed an execution of one task at a time, 2.0 should be able to execute multiple executions in parallel (use case is I might want to run multiple tail -f commands on different logs).

When a process output arrives - we need to raise an event about it so that the UI can update.


feat: Add a compiler flag to turn off inlining

Feature Request
Describe the Feature Request
We (Lindy Labs) would love to have a compiler flag for the Cairo to Sierra compiler which disables inlining globally, i.e. acting as every function had an #[inline(never)] decorator.
Describe Preferred Solution
Have a flag like replace-ids to disable inlining globally.
Describe Alternatives
Currently we're emulating this feature by a naïve search and replace run which adds the decorators everywhere, but that's not a very nice workflow.
Additional Context
We're using the generated .sierra file in our tool Aegis in order to give formal specifications for Cairo functions and verify them in the theorem prover Lean. In order for the specs to be more modular, turning off inlining is required, otherwise treating the inlined code causes lots of repeated boiler plate code in the correctness proofs (when proving manually) or unnecessary checking time (when proving automatically).
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[x] Yes
[ ] No

do note that inline(always) can never be removed - as we sometimes actually have to do it.
but for the other cases that can definitely be configured that the should inline heuristic will simply always return no.

In what cases can't it be removed? (We already remove it in our code before extracting the Sierra that's the basis for formalization) We don't do exact semantics of gas costs, so if the semantics only differs there, we don't worry.

but for the other cases that can definitely be configured that the should inline heuristic will simply always return no.

Sounds good :)

it doesn't matter - always means always (although there are specific cases where we actually have to rely on it).
if some repo wants to have proper support for this - it should not always something when they don't actually mean it.

Obviously in order to produce the Sierra code that's extracted for FV purposes we'd like to ignore semantically irrelevant inline(always) annotations, in all repos, because even if the annotation makes sense for running/testing/deploying the Cairo code, it might still not make sense for Aegis.
But I see your point. I started to implement a flag that doesn't touch the functions marked as inline(always).

PR is at #5911


Remove need to explicitly mount UI

@mdarveau pointed out that mount() seemed weird/ unnecessary. I've always felt a little uncomfortable about it as well; it serves a purpose in preventing remote-ui from sending all the initial UI updates individually, but feels like boilerplate from the perspective of the developer. Manuel suggested just doing the mount() implicitly once the function finishes (or resolves, if it's a promise), so I've done the extension side of that change here. Extensions could still call mount() explicitly if they want to flush their initial UI before the render function resolves, as there is no penalty to calling mount() multiple times.
There will be a follow-up change to the checkout sandbox that actually does the calling of mount() at the necessary time that I will open once I have merged this change in and cut a new version of @shopify/argo-checkout.

What's the effect of still calling root.mount() when it's already done in the checkout sandbox?
Will it be a noop or blow up things?

@robin-drexler it is a noop: https://github.com/Shopify/remote-ui/blob/main/packages/core/src/root.ts#L223


Underlying settings/configuration

Awesome project!  Thank you so much for this.
I was curious as to how to reach/control the underlying settings of the bootstrap calendar.  For instance, how do I change the option to hide the weekbox?  I was able to hide it in CSS, but I know there is an 'weekbox' option on the bootstrap calendar.  Another option would be to hide the weekends.
Would I just use the calendarConfigProvider or calendarHelper accordingly, and change what I needed depending on the situation?  I know I can start tweaking the code, but I just wanted to make sure I wasn't missing something obvious.
Thanks again,
Chris

To hide the weekbox just use CSS - in an effort to keep the API clean I wouldn't add an option to hide it when you can just do it with CSS.
For hiding weekends it is far more complicated, for that you would be best off using a custom template.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1674 ms

Resolved: Bofrost.at performance has improved in a82646c.


About iou,AP,Recall

Please ask me how to output AP and Recall in iou for 0.5 and 0.75 when I run faster rcnn with coco data, I can only output AP using test.py, and the range of R output is 0.5-0.95.

Can anyone answer this question?

same question.

same question, any solution?

I find a direct method to get recall of special iou. change the function _summarize in python_dir/site-packages/pycocotools/cocoeval.py, change the code  "stats[6] = _summarize(0, maxDets=self.params.maxDets[0])" to "stats[6] = _summarize(0, iouThr=.5, maxDets=self.params.maxDets[0])".


Add inputTags as an option to blockerRenderMap config

This PR addresses the same concerns as https://github.com/facebook/draft-js/pull/488 and https://github.com/facebook/draft-js/pull/571. I saw a suggestion to add an inputTags option to blockRenderMap, but it didn't look like anybody had gotten around to implementing it.
This commit also introduces a failing test
it('must NOT treat divs as Ps when we pave Ps')

I wasn't sure of the background behind this test so I left it failing for now.
Summary
Allow user to specify inputTags as an array of tag names that will
get mapped to draft js block types. If inputTags are not specified,
fall back to element.
Change default blockRenderMap to support p and div as unstyled blocks.
For example, a blockRenderMap of
{
  'header-one': {
    element: 'h1',
    inputTags: ['h2, 'h3'],
  },
  header-two': {
    element: 'h2',
    inputTags: ['h1'],
  },
}

will map

Hello world!

and

Hello world!

to a header-one block, and will map

Hello world!

to a header-two block.
Test Plan

Copy paste text with
 tags into draft js editor. Each paragraph should be split up into a separate block.

Thanks for looking into this, I am unable to contribute to Draft until after the October 15th

Does anyone have any context as to what it must NOT treat divs as Ps when we pave Ps is testing? That's the one failing test in this PR -- everything else seems to be working correctly.

I dug into this a bit, and it looks like with my changes the following html

hello

world

generates a blockmap that looks like
{
  "fc4u6": {
    "key": "fc4u6",
    "type": "unstyled",
    "text": "hello",
    "characterList": [
      // ....
    ],
    "depth": 0,
    "data": { }
  },
  "efkb": {
    "key": "efkb",
    "type": "unstyled",
    "text": "world",
    "characterList": [
      // ....
    ],
    "depth": 0,
    "data": { }
  }
}

and looks like

whereas the current behavior will generate a blockmap that looks like
{
  "5s7os": {
    "key": "5s7os",
    "type": "unstyled",
    "text": "helloworld",
    "characterList": [
      // ....
    ],
    "depth": 0,
    "data": { }
  }
}

and looks like

which seems like a reasonable change.

@mitermayer who needs to sign off to get this merged?

I thinks this PR should resolve #395 #465 #523 #738 . Also it has related opening PR #571 .
Our project is using a patched DraftJS based on version 0.9.1 with this PR merged. And it has been online for 1 month without any related bug report.
So if anyone could check the failing test and accepted this PR, that would helps a lot!

@hellendag can you help here?

Hi @howardjing, thanks for working on this issue, closing this since it has already been fixed on https://github.com/facebook/draft-js/pull/828

@mitermayer cool! Thanks for closing this out.


ROX-26528: add rpms-signature-scan task to pipeline

Description
Add new required task to pipeline.

The task should run after the build-container task and assign its IMAGE_URL and IMAGE_DIGEST results to the tasks parameters.

Checklist

[x] Investigated and inspected CI test results
~[ ] Updated documentation accordingly~

Automated testing

~[ ] Added unit tests~
~[ ] Added integration tests~
~[ ] Added regression tests~

If any of these don't apply, please comment below.
Testing Performed
No new tests required. Konflux CI pipeline passes.

Looks legit and CI succeeded.
UI however is wonderfully broken for this run and I only see No logs found. for every task.

There were no warnings or errors reported by the scan when I looked at the results.

This is the output for the task (from the second commit in this PR). The task iterates through all architectures found in the index image to check for the presence of unsigned RPMs.
collector-build-9pcrc-rpms-signature-scan.log


FCN8 object has no attribute 'img_width'

predict.py
---> 81         model_width = model.img_width
82         model_height = model.img_height
ModuleAttributeError: 'FCN8' object has no attribute 'img_width'

The cause is I directly use pretrain model to predict without training the pretrain model.
model_name = "pspnet_mobilenet_v2" has much better result than "fcn8_vgg16"
rescheduler did not help trainer (it was commented anyway)


CoreOS pre-ansible: un-hardcode bin_dir

Updates CoreOS pre-ansible tasks so that bin_dir isn't hardcoded in coreos.yml.
@eparis @danehans

@adamreese, @eparis, @danehans why common role don't depend on pre-ansible, and other roles don't depend on common role?
I see that bin_dir is redefined for Core OS in common role, kubernetes role and now in pre-ansible role too, which worries me.

@rutsky uggh, yes...  the problem was always me not wanting the run pre-ansible or common (many) more times than needed.... It's definitely a problem, and if you think of a way to fix it, awesome...

@adamreese can you add proper dependencies and and movebin_dir definition to a single place, since @eparis agreed with this solution?

I only 'agree' if we don't start running common or pre-ansible multiple times....  So i'd rather see this merge and then try again on a different PR.

@eparis I opened separate issue for adding dependencies: https://github.com/kubernetes/contrib/issues/671


Implement Nomad Task Driver support (0.9.x)

Damon was developed long before Nomad had the concept of a Task Driver. It was always the plan that some day we'd like to contribute this back to Nomad as a part of the engine. Now since Nomad 0.9.0 preview supports pluggable task drivers, we can use that as another way to run windows executables with Damon.
This alternate mode needs documentation as well as implementation.
Some Open Questions still:

How will Damon report metrics as a Task Driver? Right now it is done as another separate task service and advertised port.
Will the task driver have access to the full job spec? Possibly to read in more details about the job that are not present entirely in the environment variables.
How does the task driver log? Is the log aggregated in the nomad client logs? Originally we liked the log to be along-side the task since it was convenient for log shipping application logs with damon events to correlate problems. I'm sure we can continue to log to file ourselves with rotate logs; but maybe make it configurable.

Progress tracked here: #17


make buttons_basys3_vivado failed due python assertion

See following assertion when make vivado target for xc7/buttons_basys
Did not see from other tests. Suspect errors for wire "SW6END0"
Traceback (most recent call last):
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/build/env/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/build/env/conda/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/__main__.py", line 4, in <module>
    main()
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/fasm2bels.py", line 296, in main
    top.make_routes(allow_orphan_sinks=args.allow_orphan_sinks)
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/verilog_modeling.py", line 1380, in make_routes
    net_map=self.net_map,
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 700, in make_routes
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 579, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 450, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 579, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 450, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 450, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 450, in expand_sink
    allow_orphan_sinks=allow_orphan_sinks
  [Previous line repeated 3 more times]
  File "/home/yangfan/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 610, in expand_sink
    assert False, (sink_node_pkey, tile_name, wire_name, sink_wire_pkey)
AssertionError: (386807, 'INT_L_X0Y129', 'SW6END0', 2329140)
xc7/tests/buttons/CMakeFiles/file_xc7_tests_buttons_buttons_basys3_artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test_top_bit.v.dir/build.make:62: recipe for target 'xc7/tests/buttons/buttons_basys3/artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test/top_bit.v' failed
make[3]: *** [xc7/tests/buttons/buttons_basys3/artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test/top_bit.v] Error 1
CMakeFiles/Makefile2:102285: recipe for target 'xc7/tests/buttons/CMakeFiles/file_xc7_tests_buttons_buttons_basys3_artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test_top_bit.v.dir/all' failed
make[2]: *** [xc7/tests/buttons/CMakeFiles/file_xc7_tests_buttons_buttons_basys3_artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test_top_bit.v.dir/all] Error 2
CMakeFiles/Makefile2:101526: recipe for target 'xc7/tests/buttons/CMakeFiles/buttons_basys3_vivado.dir/rule' failed
make[1]: *** [xc7/tests/buttons/CMakeFiles/buttons_basys3_vivado.dir/rule] Error 2
Makefile:30790: recipe for target 'buttons_basys3_vivado' failed
make: *** [buttons_basys3_vivado] Error 2

This issue doesn't appear to be happening any more.


Lint wants @OnShowRationale values to exactly match @NeedsPermission's values, doesn't handle @OnShowRationale having only a subset of @NeedsPermission's values.

Lint wants @OnShowRationale values to exactly match @NeedsPermission's values, it throws an error when @OnShowRationale has only a subset of @NeedsPermission's values.
example:
    @NeedsPermission({
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.READ_PHONE_STATE})
    void initializePresenter() {
        ...
    }

    @OnShowRationale({
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION})
    void onShowRationaleLocation(PermissionRequest request) {
        ...
    }

    @OnShowRationale({Manifest.permission.READ_PHONE_STATE})
    void onShowRationalePhoneState(PermissionRequest request) {
        ...
    }

@vlazzle thx for your feedback! Actually this is correct in terms of specification because we treat permissions as an array so that we regard any subset as different permissions set to make library usage simple and intuitive!

@hotchemi  does this mean that the above usage is incorrect? This would be surprising because:

It works.
Requesting multiple permissions at once but showing different rationales for a subset of the requested permissions seems like a typical use case.


Added homebrew from /r/monsteraday to #89

Added a new source for the https://www.reddit.com/r/monsteraday submissions
Added all currently existing monster-a-day submissions
Added support for a URL in source references

I currently generate the json via a simple python script processing a csv of the data.
No environments are set (yet).

Thanks for adding these!


Synchronize before looping over synchronized collection

In StatusConfiguration.java, errorMessages = Collections.synchronizedCollection(new LinkedList<String>()) is iterated over without synchronization. According to Java API, it is recommended that user manually synchronizes each iteration over the synchronized collection to reduce non-determinism.
This pull request improved the condition by synchronizing a loop which loops over the synchronized collection.

Have you actually encountered a problem? If so, please file a Jira issue with the stack trace. In reviewing the code all that is happening is that any status messages that were accumulated during the time the Configuration object was created up to the time the StatusLogger is available are being logged. When this method gets control nothing should be generating new status messages so there shouldn't be a problem.

An alternative change was made


Integrated the service with oauth2-proxy

Tests written by @debatreya
video of successfully integration
https://github.com/BharatSahAIyak/bhasai-auth-service/assets/119104324/f0b306e4-9987-467f-9be1-3ceec81c5f33

closing this


Proposition P removed from type signatures where it is not really needed

Coverage remained the same at 46.548% when pulling 46c331d466a69caaa28de12e5431afc38297b1f0 on no-prop-type into e77cc239b573fbdde359d85e8f065ab4e65f4ba9 on master.


load nifti as a volume

Can I directly load nifti as a volume? Do I have to convert the format to dicom to load nifti?

Stay tuned, we are adding it soon. Development is done

#311 Thank you for your hard work, I still have a question, can the updated content be able to save the modified segmentation to the local in nifti format

Yes it would be possible

Will the loading function be added this month? I'm looking forward to it.

Hello, I'm sorry to bother you. I want to know whether Cornerstone3d support for the nifti format will be updated this month. Because I have an application that needs to use the nifti format and needs to be completed at the beginning of next month, can you tell me whether it will be updated?

Stay tuned, we are adding it soon. Development is done

more than three months have passed

yeah I guess I shouldn't give definite times since priorities change, but we are releasing the new roadmap soon

hi @sedghi, do you know the status of nifti-volume-loading? I'm part of another interested party. Thx!

I implement the function to load nifti as a volume by modify the by modifying a little of 'cornerstoneStreamingImageVolumeLoader.js' source code. But i'm busy for a short period of time. I can give some tips to implement it by modifying 'cornerstoneStreamingImageVolumeLoader.js' source code:1. change to image loader to the old 'nifti-image-loader' for legacy cornerstone. 2. nifti is not needed to calculate the zspace and resort the position,beacuse it's 3d, so we can just avoid this function-'sortImageIdsAndGetSpacing' from './helpers'. 3. nifti can get metaData from file instead of http request from web, so we use old 'nifti-image-loader' for legacy cornerstone to get metaData. In summary, we try to use the old API to deal the nifti file as 2D sequence,  but maybe it is not enough efficent.

I implement the function to load nifti as a volume by modifying a little of 'cornerstoneStreamingImageVolumeLoader.js' source code.  I can give some tips to implement it by modifying 'cornerstoneStreamingImageVolumeLoader.js' source code:1. change to image loader to the old 'nifti-image-loader' for legacy cornerstone. 2. nifti is not needed to calculate the zspace and resort the position,beacuse it's 3d, so we can just avoid this function-'sortImageIdsAndGetSpacing' from './helpers'. 3. nifti can get metaData from file instead of http request from web, so we use old 'nifti-image-loader' for legacy cornerstone to get metaData. In summary, we try to use the old API to deal the nifti file as 2D sequence, but maybe it is not enough efficent.

I have a branch that has the preliminary work here, I will create a PR later. There are two new examples

track here https://github.com/cornerstonejs/cornerstone3D/pull/696


upsert point but fetch failed

version 1.10.1
error log
{"name":"TypeError","message":"fetch failed","stack":"TypeError: fetch failed\n\tat node:internal/deps/undici/undici:12502:13\n\tat async w4a (c:\\path\\to\\dir\\index.js:1794:6886)\n\tat async c:\\path\\to\\dir\\index.js:1796:542\n\tat async r (c:\\path\\to\\dir\\index.js:1794:7135)\n\tat async c:\\path\\to\\dir\\index.js:1796:363\n\tat async r (c:\\path\\to\\dir\\index.js:1794:7135)\n\tat async D4a (c:\\path\\to\\dir\\index.js:1794:7243)\n\tat async Object.e [as upsertPoints] (c:\\path\\to\\dir\\index.js:1794:7308)\n\tat async qLe.upsert (c:\\path\\to\\dir\\index.js:1797:4626)","cause":{"errno":-4077,"code":"ECONNRESET","syscall":"read"}}

100% abnormal during certain request
After checking the logs, it was found that this request was not recorded in the logs. It was like a direct local failure
Except for occasional requests, everything else is normal
request like(debug fetch request)
client
          .upsert(collectionName, {
            wait: false,
            points: [data],
          })

raw
url: http://<IP_ADDRESS>:6333/collections/%5B%E5%AD%97%E5%85%B8%5D-%E6%B1%89%E8%AF%AD%E6%88%90%E8%AF%AD%E8%AF%8D%E5%85%B8/points?wait=false

method: put

body: {"points":[{"id":"d727aa45-2530-439b-b538-a944ebf1087d","vector":{"word":[0.035725630819797516,0.031038548797369003,0.013577177189290524,-0.010765403509140015,0.004162772558629513,-0.03473683446645737,-0.022642718628048897,0.01972946897149086,0.026258090510964394,0.01867685280740261,-0.05117863416671753,-0.01518860924988985,0.011907018721103668,-0.036830395460128784,-0.010705893859267235,-0.009516645222902298,-0.014623244293034077,-0.011495102196931839,0.0034030869137495756,-0.008276381529867649,0.05726347863674164,0.0017946170410141349,-0.00045347274863161147,-0.022522596642374992,0.011624465696513653,-0.0014361945213750005,0.03218057379126549,0.03263602778315544,0.03724813461303711,0.052331335842609406,-0.02787378989160061,0.03891691565513611,0.03629084303975105,-0.027594687417149544,-0.048702165484428406,-0.01051437295973301,-0.004974084906280041,-0.009497635066509247,0.027749057859182358,0.029220107942819595,-0.03830481320619583,0.05411826819181442,-0.006524479016661644,-0.06054488196969032,0.03618979454040527,-0.05213827267289162,0.01117031555622816,0.020234284922480583,0.06463799625635147,-0.024414299055933952,0.013090141117572784,0.29100170731544495,-0.007365782279521227,0.000911247858311981,-0.00010663605644367635,0.023710595443844795,-0.012103251181542873,0.0064498381689190865,0.0011006450513377786,0.011397934518754482,-0.003774758195504546,0.006956450641155243,0.05236220732331276,0.051181402057409286,-0.012776203453540802,0.01223765965551138,-0.05216974765062332,0.01361230481415987,0.0024720123037695885,-0.006960313301533461,0.04035418480634689,0.03565525636076927,0.0248248390853405,-0.026611141860485077,0.007243921980261803,0.057720478624105453,-0.00853802915662527,-0.039548229426145554,-0.00016566085105296224,0.038901567459106445,0.01603369414806366,0.013545338064432144,0.011621206067502499,-0.05784967914223671,-0.02605685219168663,-0.03504721447825432,0.02953917533159256,-0.03743720427155495,0.005484527908265591,0.015047872439026833,-0.0289206150919199,-0.03421160206198692,0.03117711842060089,0.07530109584331512,0.029298871755599976,-0.00016868823149707168,-0.0319240540266037,0.012004372663795948,-0.029566537588834763,0.023026596754789352,0.02696254849433899,-0.02594226598739624,-0.07187251001596451,0.006211582105606794,-0.008194446563720703,0.0002986905165016651,-0.08475448936223984,0.03473813831806183,0.012652212753891945,0.019839931279420853,0.008740419521927834,-0.00550743518397212,-0.010206411592662334,-0.010468698106706142,-0.007974340580403805,0.021262258291244507,-0.0028542624786496162,-0.026786796748638153,0.001097860629670322,-0.06251475214958191,0.005618483759462833,-0.00447596050798893,-0.010754144750535488,-0.002918630838394165,-0.07419001311063766,-0.01468312181532383,-0.003924929071217775,-0.02581995166838169,-0.014691367745399475,-0.007843181490898132,0.029431167989969254,-0.0026194534730166197,-0.060298942029476166,-0.014150978066027164,-0.03842742741107941,0.027787569910287857,-0.02061358653008938,0.009577527642250061,0.0014127513859421015,-0.0384024903178215,0.07758041471242905,0.005341524723917246,-0.020731117576360703,-0.005254128947854042,-0.02099374122917652,0.008780224248766899,-0.028274841606616974,0.02453647553920746,-0.0044939517974853516,-0.0318855345249176,-0.01700492762029171,-0.011497422121465206,0.021861864253878593,-0.010238789021968842,-0.011618043296039104,0.023568494245409966,0.020191874355077744,0.030096905305981636,0.029634257778525352,0.05205226317048073,-0.05209007486701012,0.05161118507385254,0.0028239910025149584,-0.0014885204145684838,0.0003242924576625228,-0.011059040203690529,0.004790381994098425,0.006104045081883669,-0.022916285321116447,-0.076756052672863,0.02343086712062359,-0.045870404690504074,-0.013719496317207813,-0.03411790728569031,-0.0029277028515934944,-0.007336723618209362,-0.006654812954366207,0.0023886661510914564,-0.004050736781209707,-0.0005200201994739473,-0.021693414077162743,-0.033082861453294754,-0.01568107306957245,0.0004931867006234825,-0.02790084108710289,-0.06675950437784195,-0.02384997345507145,-0.014607627876102924,-0.008819361217319965,-0.008712397888302803,0.00539983669295907,0.007903153076767921,0.024021534249186516,0.013970743864774704,0.026545768603682518,-0.013697152957320213,-0.08187642693519592,-0.01437218114733696,-0.011741582304239273,0.051553837954998016,0.006988463923335075,0.001837909803725779,-0.02166544273495674,0.0393352173268795,-0.005596363451331854,0.001680260873399675,-0.00020738353487104177,-0.032891906797885895,0.013374336995184422,0.006249383091926575,-0.015921752899885178,-0.025431472808122635,0.013666330836713314,0.014535381458699703,-0.01974763162434101,0.029434556141495705,-0.041626058518886566,0.010877254419028759,-0.001798258046619594,-0.0306860338896513,0.0001287684281123802,-0.049010783433914185,0.015788843855261803,0.04107828438282013,-0.006745319347828627,-0.042616404592990875,-0.03804487735033035,-0.03584742173552513,-0.041549909859895706,-0.022833004593849182,-0.0041555664502084255,0.013792520388960838,-0.012405323795974255,-0.04737742245197296,-0.07993226498365402,0.00901392474770546,0.002266857773065567,-0.0027687542606145144,-0.033886123448610306,0.010280247777700424,-0.03758774325251579,0.058966636657714844,0.0017834336031228304,-0.05017176270484924,-0.012607976794242859,0.03533228859305382,-0.007772139739245176,-0.02508206106722355,0.011368858627974987,-0.054909735918045044,-0.013884349726140499,-0.0020057447254657745,-0.00701250322163105,-0.053372882306575775,0.027343740686774254,0.03234327584505081,0.01347450353205204,0.04441538453102112,-0.0025415478739887476,-0.019754428416490555,0.04673363268375397,0.0267475638538599,0.02852906845510006,0.008602781221270561,-0.007099158596247435,-0.023905642330646515,0.01974514126777649,0.012360050342977047,0.00683931540697813,0.0018186101224273443,0.008820200338959694,0.016541438177227974,-0.0410323441028595,0.032007478177547455,-0.07248406112194061,0.04839172959327698,-0.02772533893585205,0.0036963708698749542,0.03915555775165558,-0.035824600607156754,0.022059140726923943,-0.0033830832690000534,0.0167643241584301,-0.021629134193062782,-0.07248895615339279,-0.07373403757810593,-0.012887315824627876,0.013343971222639084,0.0036980221047997475,-0.06365972757339478,-0.036375742405653,0.014915181323885918,-0.06074362248182297,0.03458785638213158,0.27291080355644226,-0.017138231545686722,0.02525767683982849,0.018915042281150818,0.036079078912734985,0.06541654467582703,0.027449147775769234,-0.014649870805442333,-0.02799367904663086,0.04125506430864334,0.00188415904995054,0.050082508474588394,0.027559276670217514,0.011810831725597382,0.003012401517480612,-0.036646414548158646,-0.05142238363623619,0.010401273146271706,-0.05650371313095093,-0.03128528594970703,-0.003984822891652584,0.04621461406350136,-0.03394428268074989,-0.008426617830991745,-0.02757679671049118,-0.026744792237877846,-0.007193140219897032,0.02099502459168434,0.011831514537334442,0.0015498138964176178,0.06540367007255554,-0.039104163646698,0.022756706923246384,0.022251393646001816,0.02381340228021145,-0.00019723830337170511,-0.010233856737613678,0.036538779735565186,0.02547892928123474,-0.011524856090545654,0.006875524763017893,0.010568361729383469,-0.07123270630836487,-0.005061575211584568,-0.005332267843186855,-0.01964244246482849,-0.028686800971627235,0.019143547862768173,0.011975519359111786,-0.09060262888669968,-0.0321173295378685,-0.013130804523825645,0.0680500864982605,0.028234977275133133,-0.0292667206376791,0.0004826263466384262,-0.014537586830556393,-0.04871373623609543,-0.014986674301326275,-0.010428990237414837,0.01603035070002079,-0.05750490725040436,0.038541387766599655,-0.07015541195869446,0.034812480211257935,-0.012633164413273335,0.0010468827094882727,0.0001826540392357856,-0.0016271522035822272,0.011300507001578808,-0.032396867871284485,-0.07176046818494797,-0.020718548446893692,0.0013682637363672256,-0.04187359660863876,-0.09430994093418121,0.04013926163315773,-0.010352005250751972,-0.0182050671428442,-0.023175248876214027,0.04817017912864685,0.018280312418937683,0.007052054163068533,-0.047312524169683456,0.02066737227141857,-0.008180671371519566,0.010554413311183453,-0.0023574146907776594,0.03991085663437843,0.011009888723492622,0.04143510386347771,0.00016349680663552135,-0.0002331814612261951,0.012046015821397305,-0.06806731224060059,0.012150789611041546,0.02479400858283043,-0.02160489559173584,0.0370648093521595,0.04133100062608719,0.03276929259300232,0.03441962972283363,-0.019338365644216537,-0.017575539648532867,-0.02827833592891693,-0.008606234565377235,0.017114393413066864,0.018754931166768074,-0.02477075904607773,-0.03893038257956505,-0.04801787808537483,0.0006104917265474796,0.02759520523250103,0.041738029569387436,-0.03650974482297897,-0.029230155050754547,0.0017874451586976647,-0.04573633521795273,0.011129992082715034,-0.027205590158700943,-0.0017639935249462724,-0.06150282546877861,0.0024346273858100176,-0.0707084983587265,0.023281589150428772,0.023149581626057625,0.002001597546041012,0.015666041523218155,-0.019517526030540466,0.0008963100844994187,0.011991066858172417,0.06932221353054047,0.03220583498477936,-0.025185629725456238,0.04441576451063156,-0.02670077234506607,0.03836776316165924,-0.03831607848405838,0.014316604472696781,-0.01514231227338314,-0.0290463138371706,0.026960592716932297,-0.003928487189114094,0.008511760272085667,-0.004380121827125549,0.03478516265749931,-0.02852439321577549,-0.014588452875614166,-0.0032166021410375834,0.03217926248908043,0.006104646250605583,0.01600029319524765,-0.024276787415146828,0.07205017656087875,0.014936109073460102,0.03270883113145828,-0.036845143884420395,-0.042587243020534515,-0.03965360298752785,0.016324495896697044,0.026126490905880928,0.04712521284818649,-0.00808132253587246,-0.036201171576976776,0.05506225302815437,-0.04104846715927124,-0.029672477394342422,0.03879793360829353,0.013439742848277092,-0.04468115046620369,-0.011845177039504051,0.03221062943339348,0.006464666686952114,0.014847904443740845,0.008362924680113792,0.08038090169429779,-0.03403913602232933,0.04121733456850052,-0.019510595127940178,0.04434099793434143,0.015732495114207268,-0.0032622164580971003,-0.011426401324570179,-0.036325156688690186,-0.0028169886209070683,-0.034876707941293716,0.026729565113782883,0.02723403088748455,0.003833235241472721,0.004696401301771402,-0.007960558868944645,-0.02084474265575409,0.014596172608435154,0.01322134304791689,-0.003588626394048333,0.007816120982170105,-0.03815663605928421,-0.04371339827775955,-0.026933645829558372,-0.03234504908323288,-0.010801848024129868,0.036941640079021454,0.01829533465206623,0.0005050910403952003,-0.012623801827430725,-0.008881769143044949,-0.00044039133354090154,-0.01151724997907877,0.07665073126554489,-0.02896875888109207,-0.04277639836072922,-0.024283768609166145,-0.000433171633630991,-0.006367417983710766,-0.021062571555376053,0.0009204131201840937,-0.019507957622408867,-0.03572864457964897,0.0045911879278719425,0.028834322467446327,0.0829273909330368,-0.0051191141828894615,0.028192613273859024,-0.0013722121948376298,-0.02266489528119564,0.0480043962597847,0.019148360937833786,-0.005325997248291969,-0.01904650591313839,-0.015882903710007668,-0.02826531045138836,0.0004936053301207721,0.03296897932887077,0.0026920887175947428,-0.020358482375741005,-0.008721023797988892,0.039315905421972275,-0.1069938987493515,0.010075484402477741,-0.01722453162074089,0.011703558266162872,0.02365969493985176,-0.03441046550869942,-0.03917563706636429,0.0019744986202567816,-0.07176290452480316,-0.020579369738698006,-0.008926285430788994,0.008997275494039059,-0.031862612813711166,0.02316453866660595,0.0013483472866937518,0.019561272114515305,-0.038662139326334,-0.011758942157030106,0.03548096865415573,-0.055783987045288086,0.04147372767329216,0.04129709675908089,0.012632053345441818,-0.034508537501096725,0.0010503714438527822,0.04148002713918686,-0.0015218827174976468,-0.007158398628234863,-0.02792111039161682,-0.008405311964452267,-0.01309884712100029,0.004432822111994028,-0.031753405928611755,-0.008178181014955044,0.032612450420856476,0.039551179856061935,-0.04504319652915001,0.0172044076025486,0.00041745640919543803,-0.03731869161128998,-0.009661962278187275,-0.05900561437010765,0.010193212889134884,0.02783690206706524,-0.020541932433843613,0.014976932667195797,-0.05171343311667442,-0.017041651532053947,0.01773056946694851,-0.007913957349956036,-0.002338017337024212,-0.02281181514263153,0.013058176264166832,0.04102887958288193,-0.0023980257101356983,0.035267092287540436,-0.03592469543218613,0.0005612742388620973,-0.023664286360144615,-0.008199082687497139,-0.004611345008015633,0.07092050462961197,-0.009325630031526089,-0.029972486197948456,0.039916928857564926,0.03321648761630058,0.04354749619960785,-0.03623579442501068,0.0089387446641922,-0.0045988233759999275,-0.021151665598154068,0.08809007704257965,-0.00644737109541893,0.020527854561805725,-0.027405569329857826,-0.028691301122307777,-0.018606465309858322,-0.007672515697777271,-0.006398363970220089,-0.022161241620779037,0.03687165677547455,0.03919992595911026,0.038096167147159576,0.011064336635172367,0.061314672231674194,-0.03680438920855522,0.036357197910547256,-0.0708559900522232,-0.02249027229845524,0.08047609031200409,-0.027091799303889275,-0.04381830245256424,0.01653802953660488,0.008488824591040611,-0.04613601788878441,-0.0015222112415358424,-0.0013748040655627847,-0.02494068257510662,-0.03986401483416557,-0.03146715834736824,0.005141317378729582,0.016129689291119576,0.06574931740760803,0.013073236681520939,-0.009429937228560448,0.03450140729546547,0.01182913314551115,-0.07422652840614319,0.009340588003396988,0.030873529613018036,0.043690770864486694,0.021878138184547424,0.04684025049209595,-0.012116054072976112,-0.03515658900141716,-0.036489151418209076,0.0367475263774395,0.0007651286432519555,0.050067074596881866,0.024007828906178474,-0.06335563212633133,-0.002721925266087055,-0.02347516641020775,0.018773993477225304,0.06310566514730453,0.03417036309838295,0.02029508724808693,-0.004941909108310938,-0.0042404974810779095,0.014659067615866661,0.020605657249689102,-0.0180218443274498,-0.09866327047348022,0.023879753425717354,-0.040117550641298294,0.01735280081629753,-0.0009580193436704576,0.03368685394525528,0.030408790335059166,0.07251932471990585,0.01517458911985159,0.0068664648570120335,-0.05404439568519592,-0.029222363606095314,-0.013616956770420074,0.018081538379192352,0.05402296409010887,0.015244564041495323,-0.03917139768600464,-0.03423003479838371,-0.05745207890868187,-0.009210064075887203,0.009498114697635174,-0.02478559873998165,-0.01606784388422966,0.005041910335421562,0.005693481769412756,-0.01985597237944603,-0.0004432880668900907,-0.016114292666316032,-0.031604036688804626,-0.027307527139782906,-0.027829747647047043,-0.09635581076145172,0.21213208138942719,0.011154578998684883,0.02774476259946823,0.023860113695263863,0.04498516395688057,-0.014602034352719784,-0.009726014919579029,0.060498036444187164,-0.04485847428441048,-0.02180843986570835,0.026586053892970085,0.00004591201286530122,0.02964615449309349,0.04181786999106407,-0.03161446377635002,-0.0030309546273201704,-0.06641088426113129,0.05718099698424339,0.03561902418732643,0.05247672274708748,0.03772447630763054,0.06840059161186218,-0.03603215888142586,-0.023843765258789062,0.02771717868745327,0.016773920506238937,0.022250119596719742,0.011290925554931164,-0.05698051676154137,-0.0102699538692832,0.07001752406358719,-0.03237118944525719,-0.040792666375637054,-0.01855330541729927,-0.009185819886624813,0.012906860560178757,0.0009506071801297367,-0.00922253355383873,-0.018428947776556015,-0.005966292228549719,0.014643658883869648,-0.05857086181640625,-0.00712117925286293,-0.01709694042801857,0.09398426860570908,-0.0757947638630867,0.0102307740598917,-0.06427688896656036,0.06319709867238998,-0.03996677324175835,0.0020160828717052937,0.037337321788072586,0.04286317154765129,0.0009439032291993499,0.025647005066275597,-0.012534263543784618,-0.021349534392356873,0.01093643344938755,-0.014158258214592934,0.004529098514467478,-0.06322464346885681,-0.06358490139245987,0.04264339804649353,0.01798822730779648,-0.011597391217947006,-0.01687316969037056,-0.005046554375439882,0.030916152521967888,-0.021251562982797623,0.0007500345236621797,0.006855211686342955,0.035142239183187485,-0.03743695467710495],"content":[0.013847227208316326,-0.007684841752052307,0.04255439341068268,0.02836272306740284,0.017183370888233185,-0.01601865142583847,-0.04164314642548561,0.004757485818117857,-0.01931416615843773,-0.0022721271961927414,-0.04264044761657715,0.016496576368808746,-0.022809164598584175,-0.04955729469656944,0.0011452162871137261,-0.014139862731099129,0.023646913468837738,0.0074692959897220135,0.013356942683458328,0.021936781704425812,0.020060162991285324,0.031207766383886337,-0.03220945969223976,-0.0323745422065258,0.05230766162276268,-0.02105697989463806,0.005424687638878822,0.025755716487765312,0.04197902977466583,0.02726120501756668,0.016797639429569244,0.011351585388183594,0.008456382900476456,-0.06014429032802582,0.0018604735378175974,-0.009910104796290398,-0.05682801082730293,-0.0070099118165671825,0.022078247740864754,-0.016722142696380615,-0.0033377092331647873,0.04402448982000351,0.026419656351208687,-0.07679096609354019,-0.0006557118613272905,-0.031548578292131424,-0.050021179020404816,0.043151021003723145,0.08857236057519913,0.01921858638525009,-0.008026452735066414,0.2958849370479584,-0.039564259350299835,-0.031247057020664215,0.005112749058753252,0.0019870446994900703,-0.018988823518157005,0.006872449070215225,0.0032018895726650953,-0.030779525637626648,0.007371959742158651,0.019918520003557205,-0.008485066704452038,0.015931574627757072,-0.02746686153113842,-0.0034136855974793434,-0.020373685285449028,0.012159621343016624,-0.006782217882573605,-0.0046982294879853725,0.021329404786229134,0.03906628116965294,-0.04282505810260773,0.016842342913150787,0.030010849237442017,0.08623358607292175,-0.02441589906811714,0.007607802748680115,-0.008228663355112076,0.008398233912885189,-0.002532221609726548,0.033892713487148285,-0.022520296275615692,-0.046797338873147964,0.003333380678668618,-0.017343085259199142,-0.023496372625231743,-0.05406005308032036,-0.002091405913233757,0.012026917189359665,-0.04725860059261322,-0.05430681258440018,0.001288964063860476,0.021359100937843323,0.00199249479919672,-0.031201792880892754,-0.02587801404297352,-0.03011673130095005,-0.03079369105398655,-0.006049363873898983,-0.017239362001419067,-0.06695467978715897,-0.07560627907514572,0.026756351813673973,0.03689548000693321,0.060871295630931854,-0.05105538293719292,0.05789913237094879,0.04991637542843819,0.0468781404197216,0.022938590496778488,-0.010428751818835735,0.007297041360288858,-0.03825003653764725,0.010797823779284954,0.05023415386676788,0.0005502302083186805,-0.004589919000864029,-0.03647341951727867,-0.021070411428809166,-0.022524915635585785,0.010991338640451431,-0.041779883205890656,0.00038805289659649134,-0.029575755819678307,0.0035436542239040136,0.01728571578860283,-0.017200397327542305,-0.01311767753213644,0.008508222177624702,0.03693234920501709,-0.03173713758587837,0.011864911764860153,0.004750617314130068,-0.05026506632566452,0.02605418674647808,-0.01384816411882639,0.026631629094481468,0.0188886895775795,-0.01513768546283245,0.029345322400331497,-0.03165336325764656,0.01088483165949583,-0.034462105482816696,-0.020592249929904938,0.01174613181501627,0.009640670381486416,0.03747805953025818,-0.0057343896478414536,0.022907255217432976,0.010351333767175674,-0.02154560387134552,0.045710667967796326,-0.018418561667203903,0.020654167979955673,0.07356481999158859,-0.01311858557164669,0.021059347316622734,0.025199078023433685,-0.001218739664182067,0.01562276016920805,0.0010156426578760147,0.01643127202987671,0.005652221385389566,-0.030459260568022728,-0.023527046665549278,-0.005860771052539349,-0.03322109580039978,-0.0461416020989418,-0.0016994341276586056,-0.009964320808649063,-0.028180347755551338,0.007462124340236187,0.006537782959640026,-0.00885157659649849,-0.026734989136457443,-0.003070681821554899,0.025376033037900925,-0.013108481653034687,-0.02083493582904339,-0.027065472677350044,0.01370282657444477,-0.017245296388864517,0.00675765099003911,-0.024665547534823418,-0.007667308673262596,0.003973566461354494,-0.05876675620675087,0.022460047155618668,-0.009398413822054863,0.07128893584012985,0.02014409750699997,0.020621024072170258,-0.01144343614578247,0.0001611172192497179,0.014563835225999355,-0.02340666763484478,0.006530657410621643,0.014664286747574806,0.037574995309114456,-0.01604161411523819,0.013781554996967316,-0.0029660386499017477,0.05448019877076149,0.007916085422039032,-0.016134392470121384,0.04459230229258537,-0.013556825928390026,0.03226523846387863,-0.02501879259943962,-0.013959666714072227,-0.006297973915934563,-0.011210906319320202,0.021453043445944786,-0.02210288867354393,0.01780056767165661,-0.04441189020872116,0.03991127014160156,-0.0016736285760998726,-0.008147661574184895,-0.029368920251727104,-0.02472216635942459,0.009994312189519405,-0.0011469621676951647,0.06968715041875839,-0.045220304280519485,-0.03406142070889473,-0.08231542259454727,0.015056388452649117,0.030659513548016548,0.027628324925899506,0.007398965302854776,-0.03361927717924118,-0.032682713121175766,-0.051991336047649384,0.028446732088923454,0.05862273648381233,-0.01545048225671053,-0.00010567842400632799,-0.02549358271062374,0.013454793021082878,0.07111982256174088,0.028611447662115097,0.02616259455680847,-0.048749640583992004,0.0048286509700119495,-0.021621009334921837,-0.0408925898373127,0.007658308371901512,-0.015100797638297081,0.007823552004992962,0.03602975606918335,-0.006585945375263691,-0.02122117578983307,-0.05173926055431366,0.07149597257375717,-0.016082363203167915,0.03748077154159546,0.009762370027601719,0.010260093957185745,0.039445314556360245,0.007372026797384024,0.061506032943725586,0.009817277081310749,0.020424313843250275,-0.03930153697729111,0.033909816294908524,-0.0423724502325058,-0.020560575649142265,-0.03443906083703041,-0.018392613157629967,0.06277555227279663,-0.008142204023897648,-0.01638428121805191,-0.058587510138750076,0.055185578763484955,-0.027207795530557632,0.030477793887257576,0.043471626937389374,-0.058415137231349945,0.004422830883413553,0.02219730243086815,0.011595810763537884,-0.016334569081664085,-0.014434069395065308,-0.037640590220689774,-0.0006045521004125476,-0.03835916519165039,-0.014308134093880653,-0.028452526777982712,-0.03357304260134697,0.02009902149438858,-0.06808043271303177,0.03761346638202667,0.14907385408878326,-0.007347661070525646,0.02282172441482544,-0.010142671875655651,0.03562851622700691,0.06174147501587868,-0.00837727077305317,-0.027180423960089684,0.018221434205770493,0.04614594578742981,0.02067425101995468,0.04078395292162895,0.017416618764400482,0.025523554533720016,0.034941207617521286,-0.046174876391887665,-0.043752435594797134,0.03263942152261734,-0.0021923361346125603,-0.023433510214090347,0.006565300282090902,-0.007795732468366623,-0.038721997290849686,-0.025649534538388252,0.002301488071680069,-0.04345007240772247,-0.02071048691868782,0.018162356689572334,0.0015939577715471387,0.040435779839754105,0.0178418830037117,-0.024403462186455727,0.014131981879472733,-0.0038584726862609386,0.026751914992928505,-0.02344810590147972,-0.022652093321084976,0.021091638132929802,-0.039244990795850754,-0.02164738066494465,0.0078799519687891,-0.017125584185123444,-0.03309512510895729,-0.033052101731300354,-0.013260817155241966,-0.032925043255090714,0.0454975888133049,0.012434461154043674,0.03261334076523781,-0.05569812282919884,-0.035658225417137146,0.0009231143048964441,0.02942538633942604,0.004132888745516539,-0.029454287141561508,-0.03807539492845535,-0.02994181215763092,-0.0536746010184288,0.009362480603158474,0.011812547221779823,0.011578632518649101,-0.05567188560962677,0.014543678611516953,-0.06557989865541458,-0.02318408712744713,-0.014746364206075668,0.008446790277957916,-0.009322071447968483,-0.023128634318709373,0.02890249341726303,-0.055995527654886246,-0.07158784568309784,-0.029848670586943626,0.042521025985479355,-0.005711810663342476,-0.08350774645805359,0.04999544098973274,-0.002409969922155142,-0.029558157548308372,-0.020849473774433136,0.013098986819386482,0.014546328224241734,0.0018100537126883864,-0.04057854786515236,0.027288811281323433,-0.033274319022893906,0.0051324572414159775,0.012413930147886276,0.05419161543250084,0.02616889402270317,0.050505973398685455,0.016701435670256615,-0.04714715853333473,0.023121103644371033,-0.041426386684179306,-0.013019281439483166,0.035769153386354446,-0.02385416068136692,0.03490006923675537,0.01913175731897354,0.0760011300444603,0.06511994451284409,-0.061832357197999954,-0.03179407864809036,-0.0066375271417200565,0.007312282454222441,0.03424739092588425,-0.035735540091991425,-0.002125041326507926,0.010420684702694416,-0.02841206081211567,-0.05457557365298271,-0.010303676128387451,0.023956939578056335,-0.016614258289337158,-0.03729826584458351,0.012126302346587181,-0.040266793221235275,0.0011873687617480755,0.034099504351615906,0.00974359642714262,-0.010921596549451351,0.03942188248038292,-0.01812288910150528,0.029172567650675774,0.025394320487976074,-0.0004105455009266734,0.045942261815071106,-0.015752721577882767,-0.02639705501496792,-0.027320876717567444,0.07674776762723923,0.013909849338233471,0.024831270799040794,-0.016612032428383827,0.0026755325961858034,0.011031844653189182,-0.015399566851556301,-0.014426515437662601,-0.0016982449451461434,0.016148919239640236,-0.00033399550011381507,-0.06550447642803192,0.03127562627196312,-0.002652216935530305,-0.0011300562182441354,-0.024581272155046463,-0.01020906213670969,0.005589084699749947,0.025831932201981544,0.01813323423266411,-0.016515018418431282,-0.015685461461544037,0.052718646824359894,0.014073445461690426,0.020535025745630264,-0.027300609275698662,-0.09410412609577179,0.01754479482769966,0.0158089529722929,-0.0022719865664839745,0.027268577367067337,0.03369251638650894,-0.012440696358680725,0.01157183013856411,0.004650266841053963,-0.002749005565419793,-0.002683100523427129,0.04536522552371025,0.00128748279530555,0.002013138262555003,-0.02253415249288082,0.024494722485542297,-0.007220928091555834,-0.007071393541991711,0.005758276209235191,-0.011913787573575974,0.07409369945526123,-0.04002589359879494,0.02444685809314251,-0.006104845087975264,-0.037195052951574326,-0.013498455286026001,-0.039666417986154556,-0.04449481889605522,-0.048089493066072464,0.03725109249353409,0.05053813010454178,-0.013850916177034378,-0.017757128924131393,-0.0015436894027516246,-0.029489824548363686,-0.01202152669429779,0.016411129385232925,-0.010358045808970928,-0.005014910362660885,-0.04346654191613197,-0.04749355465173721,0.005930031184107065,-0.02044062316417694,-0.034095145761966705,0.008618940599262714,-0.01419594045728445,0.013555706478655338,-0.02394789643585682,-0.016815222799777985,0.02236238867044449,0.0018863582517951727,0.08472849428653717,-0.015028403140604496,-0.02979949675500393,0.013180593028664589,-0.016684534028172493,0.009316493757069111,-0.03729183226823807,0.017666716128587723,0.009097469039261341,-0.015312007628381252,0.023330068215727806,0.005887316539883614,0.06158941239118576,-0.01372749637812376,0.007941887713968754,0.016172662377357483,-0.039657112210989,0.03700776770710945,-0.010433181189000607,-0.02869647927582264,0.0018075683619827032,-0.016496239230036736,-0.04082797095179558,-0.0206808689981699,-0.011142732575535774,0.008974323980510235,0.01634300872683525,0.03797737509012222,-0.014192218892276287,-0.07042323052883148,0.0361950658261776,-0.018449382856488228,-0.01346906553953886,0.014949231408536434,-0.050579991191625595,-0.020013337954878807,0.013333454728126526,-0.002692976500838995,-0.028585582971572876,-0.03680336847901344,-0.0001777246652636677,-0.013718029484152794,-0.011014525778591633,-0.005841228179633617,0.0016921821516007185,-0.02590939588844776,-0.030317652970552444,0.007153993006795645,0.014999115839600563,0.010437102988362312,0.07352224737405777,0.025593116879463196,-0.042710211127996445,-0.015076144598424435,0.04194813221693039,0.019909631460905075,-0.012754838913679123,-0.012570875696837902,-0.02614753320813179,-0.008574034087359905,-0.012270604260265827,-0.045853227376937866,-0.0803142786026001,0.06469510495662689,0.0010417966404929757,-0.049939509481191635,-0.007190875243395567,-0.03916900232434273,-0.03618307411670685,0.03816704452037811,-0.01984722726047039,-0.002678890014067292,0.017804134637117386,-0.003686426905915141,0.00025011668913066387,-0.021110359579324722,0.014038421213626862,-0.033604156225919724,0.050646811723709106,-0.011185765266418457,-0.029766656458377838,0.04007481783628464,0.014694448560476303,-0.004843603353947401,0.056913815438747406,-0.04760926961898804,0.005223242565989494,-0.05943550541996956,0.009876885451376438,0.007922211661934853,0.031275030225515366,0.05105156451463699,-0.018225926905870438,0.03338778018951416,0.02568659372627735,0.052359700202941895,-0.001696316641755402,-0.007570470683276653,0.011225276626646519,0.046157944947481155,0.06490417569875717,0.03325352817773819,-0.0005706158699467778,0.015978248789906502,0.008206481114029884,-0.04105314239859581,-0.023075783625245094,-0.0064079007133841515,0.00926339253783226,-0.011076690629124641,0.014263794757425785,0.007998793385922909,0.007830365560948849,0.04561534896492958,-0.04449092969298363,0.004118647426366806,-0.009653409011662006,0.011761819943785667,0.024190044030547142,-0.039986953139305115,-0.00963553600013256,-0.022158829495310783,-0.010821588337421417,-0.00594582874327898,0.017206421121954918,0.0019267541356384754,-0.006456946022808552,-0.03455190733075142,-0.02813764661550522,0.009941954165697098,0.04420899227261543,0.0077747474424541,0.03291519358754158,-0.014420597814023495,-0.025498973205685616,0.04397672414779663,-0.03266020119190216,-0.0397583544254303,0.04473888501524925,0.03214128315448761,-0.012908977456390858,0.02276580221951008,-0.04153883829712868,-0.03752119839191437,-0.061457108706235886,-0.014173893257975578,0.04170171171426773,0.038395244628190994,-0.004549939651042223,-0.04708405211567879,0.008306898176670074,-0.03083602525293827,0.06156708672642708,0.009413668885827065,0.029376160353422165,-0.037820711731910706,-0.013746138662099838,-0.004937921185046434,-0.04609314724802971,0.024665145203471184,-0.048622310161590576,-0.057579316198825836,0.014510487206280231,-0.058488648384809494,0.035011108964681625,-0.04614304378628731,0.04263800382614136,0.04869771748781204,0.0531546026468277,0.009823466651141644,0.009479866363108158,-0.07723081111907959,-0.02055341750383377,0.017472265288233757,-0.01560682151466608,0.025812391191720963,0.029821574687957764,-0.007582420948892832,-0.03418268635869026,-0.029525188729166985,-0.007145446725189686,0.01603086292743683,-0.003019313793629408,0.008662473410367966,0.0395066924393177,0.04952530935406685,0.012678722850978374,-0.054989200085401535,0.022213568910956383,0.00436624139547348,-0.06565073132514954,-0.028896301984786987,-0.03185594454407692,0.36629271507263184,0.0021577789448201656,-0.009550411254167557,0.05166817083954811,0.05718163400888443,0.0032793155405670404,0.007904721423983574,0.013989065773785114,-0.04270319640636444,-0.02389097586274147,-0.011604034341871738,0.04034290835261345,0.056246932595968246,0.02693464234471321,-0.026024719700217247,-0.03823988884687424,-0.06672565639019012,0.03545317053794861,0.0712430477142334,-0.007794490084052086,0.055172041058540344,0.04804033786058426,-0.017061561346054077,-0.010772849433124065,-0.02776748314499855,-0.02665715105831623,-0.0017273548291996121,-0.0031836784910410643,-0.04737170785665512,0.01169794611632824,-0.0005624985205940902,-0.005750758573412895,-0.006891742814332247,0.027057725936174393,-0.04229644685983658,-0.005400951486080885,-0.038109395653009415,-0.008807054720818996,0.012519181706011295,0.012788654305040836,0.03617676720023155,0.023292241618037224,0.008524016477167606,-0.0517338290810585,0.0702429786324501,-0.0508623905479908,-0.011814014054834843,-0.02182098478078842,0.03328411653637886,-0.013175075873732567,-0.04660922661423683,0.0009280355297960341,0.04373008757829666,0.010721678845584393,0.036895737051963806,0.020213235169649124,-0.02023063600063324,0.015535776503384113,-0.023831989616155624,0.028972992673516273,-0.07046208530664444,-0.08353791385889053,0.045536287128925323,-0.037632089108228683,0.02930603176355362,0.016428356990218163,0.002883118111640215,-0.03225359320640564,-0.015347790904343128,0.020193200558423996,-0.0034047001972794533,0.04321126639842987,0.024841424077749252]},"payload":{"content":"yī dīng bù shí\n【释义】形容一个字也不认识。\n【出处】《旧唐书·张弘靖传》：“天下无事，汝辈挽得两石弓，不如识一丁字。”\n【用例】而云古无类书，此真～之无知妄作也矣。（清·平步青《霞外捃屑》卷七）","word":"一丁不识","knowledge":"[字典]-汉语成语词典","loc":{"lines":{"from":1,"to":2}}}}]}

I checked and found that there is a saying that the direct failure was caused by the request content being too large? I don't know if this is the problem?
// This image shows the information obtained from debugging in node_madules

// log

A very strange phenomenon. Currently, if a collection is created in an empty database (0 collection) and then imported, it will definitely fail
But if there is already 1 collection, creating another collection import will succeed

When I failed and sent the same content again, I found that it actually succeeded. That is to say, there was no problem with the data, but I don't know why fetch failed

Happened to me too.
Both in 1.10 and 1.11.
I downgraded to 1.9.0 and it works as expected.
IDK what makes it so unstable, but it will have to be enough for now..


"external" folder is not updated after West Update (?)

Hi,
First off, just wanted to say I've been enjoying and appreciating using Zephyr IDE for STM32 development. I am still relatively inexperienced in Zephyr (and a college student), but it has been helpful in simplifying the learning process.
Recently, I've been working with a custom board that has a LED strip header (using a WS2812 strip). I kept getting build warnings related to that header even though I am 99% certain my device tree code, KConfig, etc. is solid. I looked into the devicetree bindings (specifically in external/zephyr/dts/bindings/led_strip) and found that my workspace is not the same (seemingly outdated) compared to the most recent version on the Zephyr Github page. For example, mine contains these .yaml files:

whereas theirs seems to be slightly revamped, especially with the strip I'm working with:

I tried running a West Update via the Zephyr IDE GUI, and that ran fine (said Zephyr 3.6.0 and everything...), but that did not seem to fix the issue. I am running the latest version (v1.0.36) of Zephyr IDE. I also tried going through the whole "Check Build Dependencies", "Setup West Environment", ..., "West Update" process once again and this also didn't seem to update those files. It may be worth noting that I'm using the "Local Zephyr Install" option. My workspace folder looks like this:

where "accel", "blinky", "bme280", "button_led", "button_led_multi", and "rospi_env_test" are all application folders.
So, not entirely sure if this is an actual issue with the VS Code extension or more of a gap in my understanding of west workspaces, but do you have any suggestions on how to resolve this? I also do recognize that updating these files may not fix my original build issues, but I thought starting here might be best.
Thanks in advance!

Im glad you are liking the app.
The latest version of zephyr (main/future 3.7.0) made quite a few changes with how the board files were organized. That may be why you are seeing something different on the local repo vs zephyr main.
Could you share some of the build warnings you are seeing?

Hi, appreciate the response.
I see.... that makes sense. Bit of a facepalm moment for me there. The build warnings I get consistently are:
warning: The choice symbol WS2812_STRIP_GPIO (defined at drivers/led_strip/Kconfig.ws2812:36) was
selected (set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_WS2812_STRIP_GPIO and/or look up
WS2812_STRIP_GPIO in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

and
CMake Warning at C:/Users/joshe/Documents/Summer2024EmbeddedWork/STM32F4DISCO/external/zephyr/CMakeLists.txt:864 (message):
  No SOURCES given to Zephyr library: drivers__led_strip

I'm also getting build errors as well, but these warnings are what I'm most lost at resolving.
the defconfig file for my board is as such:
CONFIG_SOC_SERIES_STM32G4X=y
CONFIG_SOC_STM32G431XX=y

# enable uart driver
CONFIG_SERIAL=y

# enable GPIO
CONFIG_GPIO=y
CONFIG_GPIO_STM32=y

# enable clocks
CONFIG_CLOCK_CONTROL=y

# Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y

# enable pin controller
CONFIG_PINCTRL=y

# led strip bus
CONFIG_LED_STRIP=y
CONFIG_WS2812_STRIP=y
CONFIG_WS2812_STRIP_GPIO=y

# can
CONFIG_CAN=y
CONFIG_CAN_FD_MODE=y
CONFIG_CAN_STM32_FDCAN=y

# adc
CONFIG_ADC=y
CONFIG_ADC_STM32=y

and my .dts file looks like this:

/dts-v1/;
#include <st/g4/stm32g431Xb.dtsi>
#include <st/g4/stm32g431c(6-8-b)ux-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/led/worldsemi_ws2812c.h>
#include <zephyr/dt-bindings/led/led.h>

/ {
	#address-cells = <1>;
	#size-cells = <1>;
	model = "ROSPi Env";
	compatible = "snsr,rospi_env";

	zephyr,user {
        io-channels = <&adc1 4>;
    };

	chosen {
		zephyr,console = &usart3;
		zephyr,shell-uart = &usart3;
		zephyr,sram = &sram0;
		zephyr,flash = &flash0;
		zephyr,canbus = &fdcan1;
	};

	aliases {
		led-strip = &led_strip;
	};

	led_strip: ws2812 {
		status = "okay";
        compatible = "worldsemi,ws2812-gpio";
        in-gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>;
        chain-length = <8>;
		color-mapping = <LED_COLOR_ID_GREEN
				 		 LED_COLOR_ID_RED
				 		 LED_COLOR_ID_BLUE>;
    };
};

&clk_lsi {
	status = "okay";
};

/*
&clk_lse {
	status = "okay";
};
*/

&clk_hsi48 {
	status = "okay";
};

&clk_hse {
	clock-frequency = <DT_FREQ_M(16)>;
	status = "okay";
};

&pll {
	div-m = <4>;
	mul-n = <85>;
	div-p = <2>;
	div-q = <2>;
	div-r = <2>;
	clocks = <&clk_hse>;
	status = "okay";
};

&rcc {
	clocks = <&pll>;
	clock-frequency = <DT_FREQ_M(170)>;
	ahb-prescaler = <1>;
	apb1-prescaler = <1>;
	apb2-prescaler = <1>;
};

&gpioa {
	status = "okay";
};

&gpiob {
	status = "okay";
};

&gpioc {
	status = "okay";
};

/* gpiod, gpioe left out b/c ROSPi Env doesn't use them */

&gpiof {
	status = "okay";
};

&gpiog {
	status = "okay";
};

&adc1 {
	status = "okay";
    #address-cells = <1>;
    #size-cells = <0>;

	pinctrl-0 = <&adc1_in4_pa3>;
    pinctrl-names = "default";
	st,adc-clock-source = <1>;
	st,adc-prescaler = <1>;

    channel@4 {
		reg = <4>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};
};

&i2c2 {
	pinctrl-0 = <&i2c2_scl_pa9 &i2c2_sda_pa8>;
	pinctrl-names = "default";
	status = "okay";

	light_sens: opt3001@44 {
        compatible = "ti,opt3001";
        reg = <0x44>;
    };

	barometer: lps22hb@5c {
		compatible = "st,lps22hb-press";
		reg = <0x5c>;
	};

	env_sens: bme680@76 {
		compatible = "bosch,bme680";
		reg = <0x76>;
	};

};

&fdcan1 {
	pinctrl-0 = <&fdcan1_tx_pa12 &fdcan1_rx_pa11>;
	pinctrl-names = "default";
	status = "okay";

	bus-speed = <500000>;
	bus-speed-data = <500000>;
};

/* uart4 is what's listed on the schematic, but usart3 is what corresponds
   to the pins...
 */
&usart3 {
    status = "okay";
	pinctrl-0 = <&usart3_tx_pc10 &usart3_rx_pc11>;
	pinctrl-names = "default";
	current-speed = <115200>;
};

I am not using a .overlay file or anything. We are currently trying to make a default setup for this custom board to be used with any application that's why I'm only working in the defconfig and board's .dts.
Feel free to look into this, or not, but please don't feel obligated to help with these warnings. Clearly this is not an issue with the extension and not the correct thread to be posting on for help.

Okay, so I realized that after looking closer at the dependencies for each KConfig line, it looks like doing the WS2812 data over GPIO is currently only allowed for NRF51 SOCs and not STM32 with the Zephyr drivers. So don't worry about looking into this, we will find another option to write our data.

Thanks again!

Glad you figured it out


Post about SkoHub use in German educational context

E.g. use at IQB, FWU and WLO (and also KIM) .

English version in blog, German versio n on metadaten.community and for hbz-internal purposes.


Selectively run Jobs on Upgrade

We need a way to select which jobs should run on upgrade.
When I need to update rbac config, I can edit my values and then run upgrade, but that will also run the key-load, apikey-load, and register-content jobs, none of which matter for this update.
Helm has a --no-hooks flag which disables all jobs, but I do want the rbac job to run. I really do not want to force re-registration of all of the pack content.
For other upgrades, I may want to select a different set of jobs to run.
Maybe we can wrap the jobs in if statements that disables/enables them based on some setting or other. Then I could pass that setting in on the commandline with something like (assuming jobs.hooks is a hash of job names with bool value set to true if they should run): --set jobs.hooks.rbac-definitions=true --set jobs.hooks.apikey-load=false --set jobs.hooks.key-load=false --set jobs.hooks.register-content=false

I have a branch prepared with this feature: https://github.com/cognifloyd/stackstorm-ha/tree/optional-upgrade-jobs
I will submit a PR later.


Sm101 create message

Created a page for creating a secure message in the context of an RU/Respondent.
Also adds mock create message links to the 'reporting-unit' page as a placeholder until this page is created properly. RU details are currently passed to the create-message page by a query string dictionary, this is not a final implementation, just a placeholder way to pass the information we need until a final solution is decided.
To navigate to the create message page, first go to 'reporting units', search for anything that returns matches then click any RU ref among the matches to link to the 'reporting-unit' page for that RU. There will be a link to create message on this page.
There is a branch of ras-integration-tests with feature tests for this story:
https://github.com/ONSdigital/ras-integration-tests/tree/SM101-create-message
Story Confluence page:
https://digitaleq.atlassian.net/wiki/spaces/RASB/pages/223281382/SM101+Internal+User+to+Send+Message
Trello Card:
https://trello.com/c/ig9tz8A8/21-sm101-internal-user-to-send-message-8

Codecov Report

Merging #51 into master will decrease coverage by 7.44%.
The diff coverage is 42.42%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   99.55%   92.11%   -7.45%
==========================================
  Files          24       24
  Lines         446      507      +61
==========================================
+ Hits          444      467      +23
- Misses          2       40      +38

Impacted Files
Coverage Δ

response_operations_ui/forms.py
100% <100%> (ø)
:arrow_up:

response_operations_ui/views/reporting_units.py
100% <100%> (ø)
:arrow_up:

...e_operations_ui/controllers/message_controllers.py
81.25% <14.28%> (-18.75%)
:arrow_down:

response_operations_ui/views/messages.py
40.74% <20%> (-59.26%)
: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 21d698e...d1797a8. Read the comment docs.

The code here is good and works fine by the looks of things but we need to have unit tests for any new functionality we're putting in. There's too large a drop in code coverage here


Question about GuiAndConsole

Whenever an application is compiled as a gui app, there is no problem to attach this application to to the parent console and send output to it.
But - and this effect is also visible in the GuiAndConsole demo - the parent console seems to have no idea that there was some text output and that the current cursor position and prompt should be e.g. 5 or 500 lines further down.
If you run GuiAndConsole and press Enter when done, the dos prompt shows up in the middle of the text that was output in the console window by the demo.
Do you have any idea how to tell the parent console where the prompt and cursor should be? Is this possible?

Hi luebbe
First of all thankyou for contributing to the project.
You are not forgotten, Ill look over your stuff within the next days,

Hi Jens,
thanks for your reply. No Problem. I know we're all doing a lot of stuff in our free time 👍
I was trying to spice up the GuiAndConsole application to become a real "four-way" application. It could be started from a dos prompt or "windows run" or explorer and it should be able to switch to gui or console mode no matter from where it was started, when the user tells it to switch to a certain mode.
The code below doesn't work yet in all cases (Win32/64, Debugger yes/no). I think AllocateConsole needs some refactoring and IsAttached could be made smarter too.
GuiAndConsole.dpr
procedure RunInConsole(FromGUI: boolean);
begin
  Console.WriteLine('Print text in current Console Window.');

  if Console.IsAttached then
    Console.WriteLine('Attaching twice to the same console returns true')
  else
    Console.WriteLine('I''m sad');

  // If started from GUI prompt user to press a key
  if FromGUI then
    begin
      Console.Write('Press enter to exit');
      Console.ReadLine;
    end;
end;

procedure RunInGUI;
begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TFormMain, FormMain);
  Application.Run;
end;

begin
  // Autodetect if the app was started from console or windows
  if Console.IsAttached then
    begin
      // Forced into GUI mode via command line
      if FindCmdLineSwitch('gui') then
        RunInGui
      else
        RunInConsole(false);
    end
  else
    begin
      // Forced into console mode via command line
      if FindCmdLineSwitch('console') then
        begin
          Console.AutoAllocateConsole := true;
          Console.AllocateConsole;
          RunInConsole(true);
        end
      else
        RunInGui;
    end;
end.

My current experiments with IsAttached, but I haven't yet come to a good conclusion how to combine Success with the results from GetLastError. AllocateConsole also doesn't take this into account yet. Also not sure whether IsAttached should really call allocate, so bits are missing right now.
class function Console.IsAttached: Boolean;
var
  Success:boolean;
begin
//  {$IFNDEF Win32}
//    if IsDebuggerPresent then
//      Exit(false);
//  (*
//    In the case of a 64-bit debug, it appears that the IDE is creating a console for the debugger,
//    which hosts the debugged application as a child, and so electing to attach to the parent console succeeds.
//
//    This console is not created for a 32-bit debug session.
//  *)
//  {$ENDIF}

  Success := AttachConsole(ATTACH_PARENT_PROCESS);

//  if Result then
  case GetLastError of
    5: // Access denied: already attached to console, we can return true
      Result := true;
    6: // Invalid handle: we don't have a console
      Result := false;
    else // 187 under Win64 Debugger
      Result := false;
  end;
end;

Very interesting. I've merged your changed into the Development branch I suggest we continue on there and you can make merge request onto that one. And when it's working it will be branched into master.
I've redefined ATTACH_PARENT_PROCESS because it wasn't defined in older Delphi versions.  I'm unsure when it made its way into the RTL but it isn't there in Delphi XE7.
This lib can compile in alle unicode versions of Delphi

Whenever an application is compiled as a gui app, there is no problem to attach this application to to the parent console and send output to it.
But - and this effect is also visible in the GuiAndConsole demo - the parent console seems to have no idea that there was some text output and that the current cursor position and prompt should be e.g. 5 or 500 lines further down.
If you run GuiAndConsole and press Enter when done, the dos prompt shows up in the middle of the text that was output in the console window by the demo.
Do you have any idea how to tell the parent console where the prompt and cursor should be? Is this possible?

In the mean time I have found out, that the windows prompt appears correctly when a "hybrid" application is run in cmd. If the same application is run in powershell, the windows prompt appears in the middle of the application's output.

Whenever an application is compiled as a gui app, there is no problem to attach this application to to the parent console and send output to it.
But - and this effect is also visible in the GuiAndConsole demo - the parent console seems to have no idea that there was some text output and that the current cursor position and prompt should be e.g. 5 or 500 lines further down.
If you run GuiAndConsole and press Enter when done, the dos prompt shows up in the middle of the text that was output in the console window by the demo.
Do you have any idea how to tell the parent console where the prompt and cursor should be? Is this possible?

In the mean time I have found out, that the windows prompt appears correctly when a "hybrid" application is run in cmd. If the same application is run in powershell, the windows prompt appears in the middle of the application's output.


Walmar

https://pfedprod.wal-mart.com/idp/startSSO.ping?PartnerSpId=walmart-4936.edicomgroup.com.Prod&attempts=1&skip.simultaneous.authn.req.check=Resubmit