Abort with message too long error

I tried to build one simple web app with GPT-4-0613 model, but get error:
openai.error.APIError: The message you submitted was too long, please reload the conversation and submit something shorter.
how can I reload the conversation and control the content length?
here is the log detail.
Traceback (most recent call last):
  File "/app/metagpt/startup.py", line 29, in <module>
    fire.Fire(main)
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/app/metagpt/startup.py", line 25, in main
    asyncio.run(startup(idea, investment, n_round))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/app/metagpt/startup.py", line 15, in startup
    await company.run(n_round=n_round)
  File "/app/metagpt/metagpt/software_company.py", line 60, in run
    await self.environment.run()
  File "/app/metagpt/metagpt/environment.py", line 64, in run
    await asyncio.gather(*futures)
  File "/app/metagpt/metagpt/roles/role.py", line 229, in run
    rsp = await self._react()
  File "/app/metagpt/metagpt/roles/role.py", line 200, in _react
    return await self._act()
  File "/app/metagpt/metagpt/roles/engineer.py", line 143, in _act
    return await self._act_sp()
  File "/app/metagpt/metagpt/roles/engineer.py", line 128, in _act_sp
    code_rsp = await WriteCode().run(
  File "/app/metagpt/metagpt/actions/write_code.py", line 69, in run
    code_rsp = await self._aask(prompt)
  File "/app/metagpt/metagpt/actions/action.py", line 47, in _aask
    return await self.llm.aask(prompt, system_msgs)
  File "/app/metagpt/metagpt/provider/base_gpt_api.py", line 44, in aask
    rsp = await self.acompletion_text(message, stream=True)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 27, in wrapper
    return await f(*args, **kwargs)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 213, in acompletion_text
    return await self._achat_completion_stream(messages)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 146, in _achat_completion_stream
    response = await openai.ChatCompletion.acreate(
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/chat_completion.py", line 45, in acreate
    return await super().acreate(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 217, in acreate
    response, _, api_key = await requestor.arequest(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 382, in arequest
    resp, got_stream = await self._interpret_async_response(result, stream)
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 726, in _interpret_async_response
    self._interpret_response_line(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
    raise self.handle_error_response(
openai.error.APIError: The message you submitted was too long, please reload the conversation and submit something shorter. {"error":{"message":"The message you submitted was too long, please reload the conversation and submit something shorter.","type":"invalid_request_error","param":"sk-6FL4nMVecP3FSRDLVZcZ7mr********************","code":"context_length_exceeded"}} 413 {'error': {'message': 'The message you submitted was too long, please reload the conversation and submit something shorter.', 'type': 'invalid_request_error', 'param': 'sk-6FL4nMVecP3FSRDLVZcZ7mr********************', 'code': 'context_length_exceeded'}} <CIMultiDictProxy('Date': 'Thu, 17 Aug 2023 12:46:33 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '245', 'Connection': 'keep-alive', 'CF-Cache-Status': 'DYNAMIC', 'Report-To': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=JjfZ1%2BB0E8wMGR1kKgLjCRvodL11jXX1oH8RdmDQRveWs0MV1ZPLJXyk4L59nPjqrKoOlKqrcjK18BJXfRxiRWMx%2F1%2B0wIL2XcJ2PqL1w0%3D"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'Server': 'cloudflare', 'CF-RAY': '7f82053e1e872b7a-LAX', 'alt-svc': 'h3=":443"; ma=86400')>```

Increase MAX_TOKENS in config/config.yaml or config/key.yaml.

Looks like this is a hack for the gpt-4 desktop version? Its maximum length is relatively small.

I tried to build one simple web app with GPT-4-0613 model, but get error:
openai.error.APIError: The message you submitted was too long, please reload the conversation and submit something shorter.
how can I reload the conversation and control the content length?
here is the log detail.
Traceback (most recent call last):
  File "/app/metagpt/startup.py", line 29, in <module>
    fire.Fire(main)
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/app/metagpt/startup.py", line 25, in main
    asyncio.run(startup(idea, investment, n_round))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/app/metagpt/startup.py", line 15, in startup
    await company.run(n_round=n_round)
  File "/app/metagpt/metagpt/software_company.py", line 60, in run
    await self.environment.run()
  File "/app/metagpt/metagpt/environment.py", line 64, in run
    await asyncio.gather(*futures)
  File "/app/metagpt/metagpt/roles/role.py", line 229, in run
    rsp = await self._react()
  File "/app/metagpt/metagpt/roles/role.py", line 200, in _react
    return await self._act()
  File "/app/metagpt/metagpt/roles/engineer.py", line 143, in _act
    return await self._act_sp()
  File "/app/metagpt/metagpt/roles/engineer.py", line 128, in _act_sp
    code_rsp = await WriteCode().run(
  File "/app/metagpt/metagpt/actions/write_code.py", line 69, in run
    code_rsp = await self._aask(prompt)
  File "/app/metagpt/metagpt/actions/action.py", line 47, in _aask
    return await self.llm.aask(prompt, system_msgs)
  File "/app/metagpt/metagpt/provider/base_gpt_api.py", line 44, in aask
    rsp = await self.acompletion_text(message, stream=True)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 27, in wrapper
    return await f(*args, **kwargs)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 213, in acompletion_text
    return await self._achat_completion_stream(messages)
  File "/app/metagpt/metagpt/provider/openai_api.py", line 146, in _achat_completion_stream
    response = await openai.ChatCompletion.acreate(
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/chat_completion.py", line 45, in acreate
    return await super().acreate(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 217, in acreate
    response, _, api_key = await requestor.arequest(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 382, in arequest
    resp, got_stream = await self._interpret_async_response(result, stream)
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 726, in _interpret_async_response
    self._interpret_response_line(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
    raise self.handle_error_response(
openai.error.APIError: The message you submitted was too long, please reload the conversation and submit something shorter. {"error":{"message":"The message you submitted was too long, please reload the conversation and submit something shorter.","type":"invalid_request_error","param":"sk-6FL4nMVecP3FSRDLVZcZ7mr********************","code":"context_length_exceeded"}} 413 {'error': {'message': 'The message you submitted was too long, please reload the conversation and submit something shorter.', 'type': 'invalid_request_error', 'param': 'sk-6FL4nMVecP3FSRDLVZcZ7mr********************', 'code': 'context_length_exceeded'}} <CIMultiDictProxy('Date': 'Thu, 17 Aug 2023 12:46:33 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '245', 'Connection': 'keep-alive', 'CF-Cache-Status': 'DYNAMIC', 'Report-To': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=JjfZ1%2BB0E8wMGR1kKgLjCRvodL11jXX1oH8RdmDQRveWs0MV1ZPLJXyk4L59nPjqrKoOlKqrcjK18BJXfRxiRWMx%2F1%2B0wIL2XcJ2PqL1w0%3D"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'Server': 'cloudflare', 'CF-RAY': '7f82053e1e872b7a-LAX', 'alt-svc': 'h3=":443"; ma=86400')>```

have you got any solution? I use a reverse ChatGPT api, got same error


Handling Jr.,  Sr. in names

I am using latest version 0.4.2 and checked the following issues in Windows 7 as well as CentOS 7
Reference Citation Sample checked:
Clow GD, McKay CP, Simmons Jr. GM, and Wharton RA, Jr. 1988. Climatological observations and predicted sublimation rates at Lake Hoare, Antarctica. Journal of Climate 1:715-728.
Issue 1. It changes the forename "GD" as "Gd"; "CP" as "Cp" etc.
Issue 2. Captures Jr. as surname and tags "GM" as separate surname without a forename
<author>
	<persName>
		<forename type="first">Cp</forename>
		<surname>Mckay</surname>
	</persName>
</author>
<author>
	<persName>
		<forename type="first">Simmons</forename>
		<surname>Jr</surname>
	</persName>
</author>
<author>
	<persName>
		<surname>Gm</surname>
	</persName>
</author>

How to retain the forename (initials) as it is withour converting the case.
There are enough datasets in "name\header\corpus" with Jr (for eg.) and dont know why is not capturing it in suffix tag. This is happening in the header part as well as in the citation part.

Regards
Dominic

Hello ! Could you open this issue in http://github.com/kermitt2/grobid?
It is not related to this repo. Thanks a lot.

Wrong repository. Sorry.


OpenStack requires that the path is properly encoded.

See http://docs.openstack.org/developer/swift/api/temporary_url_middleware.html#hmac-sha1-signature-for-temporary-urls.
Currently urls for files with non-ascii characters fail with 401 on temp urls, which is fixed by quoting the path.

Thanks!


Fix path to static file in test

Codecov Report

Merging #867 into master will not impact coverage.

@@           Coverage Diff           @@
##           master     #867   +/-   ##
=======================================
  Coverage   58.74%   58.74%
=======================================
  Files         109      109
  Lines        5885     5885
  Branches      722      722
=======================================
  Hits         3457     3457
  Misses       2289     2289
  Partials      139      139

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 e9e84f0...0bdb318. Read the comment docs.


Binance remoteInit() silent failure

In BinanceExchange method remoteInit, we are surrounding the entire initialization in a try - catch all exceptions block, and logging that as a warning. This seems like bad practice. For instance, I was dealing with a flaky, hard to reproduce issue that turned out to be caused by this silent failure, and you could only tell by looking at the logs. Can I remove the try catch block?

I'm included to agree.  The placing orders won't work without the metadata being in place.  At most there should be a flag to indicate that you are happy to continue without the metadata should it not be available.  But for now I think removing any try/catch block around remoteInit would be an improvement.

Yes, i agree.


appengine: remove gophers sample

It is no longer used.
Fixes #1178.

No active pages, def. ok to delete from my perspective. Thanks!


Improve brew update with HOMEBREW_INSTALL_FROM_API

This PR modifies some brew update related logic to work better with HOMEBREW_INSTALL_FROM_API. Currently, if you have HOMEBREW_INSTALL_FROM_API set, brew update will never update the core and cask taps. We want this to remain, but also want a way for developers to continue maintaining homebrew/core and homebrew/cask. So, this PR modifies brew update so that it does update the core and cask taps when someone with HOMEBREW_DEVELOPER set runs brew update. As before. brew update --auto-update will not update the core and cask taps.
Additionally, I updated the call in brew update that updates the cached formula JSON file so that it uses --time-cond like we do in Homebrew::API::Formula.all_formulae to avoid unnecessary downloading when the file hasn't changed.
Finally, I made a small change to Homebrew::API::Formula.all_formulae to remove a duplicated file path.

Review period will end on 2022-09-05 at 06:20:23 UTC.

Review period skipped due to critical label.


error in chat.py

I am trying to deploy an app from open ai , the app got deployed, however when i run the app, I get a streamlit error message
TypeError: string indices must be integers
Traceback:
File "python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/Documents/GitHub/chatbotkb/chat.py", line 71, in
response = query(messages)
File "/Documents/GitHub/chatbotkb/chat.py", line 51, in query
response = st.session_state['chat'].ask_assistant(question)
File "/Documents/GitHub/chatbotkb/chatbot.py", line 58, in ask_assistant
if 'searching for answers' in assistant_response['content'].lower():

Based on the error message you provided, it looks like there is an issue with the way you are accessing a string index in your code. Specifically, the error message "TypeError: string indices must be integers" suggests that you are trying to access a string index using a non-integer value, such as a string or a float.
Looking at the stack trace, the error seems to be originating from line 58 of "chatbot.py" file, where you are trying to access a string index using the "content" key of the "assistant_response" dictionary. The error message suggests that the "content" value might be a string, but you are trying to access it using a non-integer index.
To fix this issue, you should check the type of the "content" value in the "assistant_response" dictionary and make sure that you are using the correct index type when accessing it. It's possible that the "content" value is not a string, or that you are trying to access it using an invalid index.
One way to debug this issue is to print out the value of the "assistant_response" dictionary before accessing the "content" key to see what type of value it contains. You can also use the "type()" function to check the type of the "content" value, like this:
print(type(assistant_response['content']))
This should give you some insight into what might be causing the issue.

@mnarasimhan02 - This happens when you don't have your API key specified correctly.
To test, in the chatbot.py file set openai.api_key = 'sk-XXXXXX' and see if it works. This fixed the issue for me.

@styks1987 It didn't work for me. still the same error.

My mistake. @styks1987 's solution just works. I had to put the key directly in chatbot.py instead of taking it from environment variables.

The chatbot.py file should probably be updated to include openai.api_key = 'sk-XXXXXX' as a template and let people trying to use the tutorial that they need to include their API key.


Port tests to Python

Motivation for this change
Now that PR https://github.com/NixOS/nixpkgs/pull/71684 (nixos: add python testing support) by @tfc got merged, I would like to port some/all of the tests to Python.
Things done
Ported the copy_file_from_host function to Python.
Ported several tests to Python, which also conform the Black code style.
Tests have been run and all of them succeed.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

LGTM. Do you want to port more tests in here, or should we merge this in?

@flokli many many more are following... let's merge early so the PRs don't get too long. Also, this avoids rebasing conflicts and other hassle.


server provides no middleware

As far as I could read server does not provide a way to add a middleware.

Fixed in https://github.com/go-orb/plugins/commit/b2492959ca424e3ba6e28e659dab6c0b453059ac


Disabling the editor in settings.js breaks the dashboard

What are the steps to reproduce?
Set httpAdminRoot in settings.js to value of false
What happens?
Editor is no longer available on the http://localhost:1880/ URL, however the dashboard no longer shows on http://localhost:1880/ui.  I just see a blank page (no http error reported on screen - though there are error in the browser JavaScript console)
ReferenceError: io is not defined
    at Object.connect (app.min.js:598)
    at Object.<anonymous> (app.min.js:597)
    at Object.invoke (app.min.js:66)
    at S.instance (app.min.js:118)
    at p (app.min.js:92)
    at g (app.min.js:85)
    at app.min.js:85
    at app.min.js:43
    at m.$eval (app.min.js:175)
    at m.$apply (app.min.js:175)
(anonymous) @ app.min.js:148

What do you expect to happen?
The editor should not be available but the dashboard should display
Please tell us about your environment:

[ ] Node-RED version: v0.20.7
[ ] node.js version: v10.16.0
[ ] npm version: v6.10.0
[ ] Platform/OS: MacOS Mojave
[ ] Browser: Safari, Chrome and Firefox all display same outcome

While provoked by the settings file I think this is a dashboard project issue...
can we move it over there ?


[Prototype] Support composite ObjectSerializers, add XmlSerializer

Description
Prototype adding support for composite ObjectSerializers which will allow for RestProxy, and other code locations, to be created with multiple serialization formats for cases where a service uses multiple serialization formats. Additionally, XmlSerializer is added, the XML equivalent for JsonSerializer for JSON.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
io.clientcore:core


webgpu: implement conv2d poorly

webgl: 14.9ms
conv2d_naive: 13.3ms

This change is

fyi, this is rebased and no longer depends on other PRs

And I put performance numbers in the PR summary.


Mention the rust playground on the website

Content Feature Request
Summary
The rust playground is not mentioned on the website.
Motivation
It's a great resource for learning and collaboration.
Drawbacks
None
Rationale

Adding a link to the playground.

thanks for this! you are so right, great catch! which page do you think it would work best one? i was thinking maybe learn, tools, or getting started? (or all 3?) let me know what you think!

the top level nav is already getting quite crowded and i don't think we can devote another top level callout to the playpen. do you have suggestions on including it on some of the pages tho (this is definitely something we should do!)

as for having it link to example code- the "empty"/bare link to the playpen includes:
fn main() {
    println!("{}", "Hello, world!.exe".to_string().slice(-4, 4));
}

i think that is generally fine and given how very difficult it is to come up with a snippet, i'd like to keep this issue to just mentioning the playpen- perhaps some places we call out could have a different snippet, but i'd like to keep that as a separate issue for the moment while we decide where to link to it from.
i do think that the code samples that already exist on the site could link to the playpen, and i'm opening another issue for that: https://github.com/rust-lang/beta.rust-lang.org/issues/523


Test migrating LND from 0.2 to 0.3

Completed successfully with no errors! All channels were migrated properly and funds preserved. Did not yet test creating a new channel, though.


[typescript] Add missing base props, continued

Addressing further comments in #8927.

Codecov is quite unstable 🤔

@oliviertassinari I’ve noticed that. Have you tried Coveralls?

We were using coveralls before.


Transcript scoller/emma

Added a scroller component to the upload page (it will not be on the upload or landing page in the final product, it is just there for now for testing purposes).
Added transcript-scroller.component.css and transcript-scroller.component.js. Modified uploadTranscript.js for testing purposes.

Scroll bar merged into integration in a seperate branch


Missing sitemap

Sitemap seems to be gone from the generated website. Bring it back.

Fixed in #280.


Wilderness Level

When you enter it says you are in 0 wilderness level I don't know how to work github so I will just post here I guess the fix which is just missing + 1
Determines the wilderness level for the specified player's position
def wilderness_level(player)
(1 + (player.position.y - 3520) / 8).ceil
end

Why'd you close this? Was it added?

@WizardJesse1 what lare said

@Major- it wasn't added

@WizardJesse1 https://git-scm.com/doc
I think there's a varp to set which calculates this value, so this calculation might not be necessary anyway.


update runc  to v1.0.1

Release note: https://github.com/opencontainers/runc/releases/tag/v1.0.1

cherry-picked through https://github.com/containerd/containerd/pull/5753 and https://github.com/containerd/containerd/pull/5752


Fix "Export to CSV" action

The latest release broke this feature, not sure how it happened, but it needs to be fixed.

Fixed per https://github.com/ECRL/CombustDB/pull/4


 PlanningSceneMonitorTest.TestPersistentScene test sporadically fails in Humble CI

Description
As the title says, e.g.
https://github.com/moveit/moveit2/actions/runs/11959136854/job/33340257097
https://github.com/moveit/moveit2/actions/runs/11856401984/job/33042608098
https://github.com/moveit/moveit2/actions/runs/11723728898/job/32656021443
https://github.com/moveit/moveit2/actions/runs/11579145965/job/32234657733
The main difference between passing and failing runs seems to be that sometimes the /controller_manager service is unavailable
ROS Distro
Humble
OS and version
Humble CI Job
Source or binary build?
Source
If binary, which release version?
N/A
If source, which branch?
humble
Which RMW are you using?
None
Steps to Reproduce
Unclear how to reproduce consistently. It may be possible to run the test locally a large number of times until the failure occurs.
Expected behavior
This test should not fail sporadically, as this makes it difficult to determine whether a job is failing due to changes made in a PR
Actual behavior
Currently, this test does fail sporadically
Backtrace or Console output
Failing Run:
$ ( source /home/runner/work/moveit2/moveit2/.work/upstream_ws/install/setup.bash && cd /home/runner/work/moveit2/moveit2/.work/target_ws && colcon test-result --verbose; )
build/moveit_ros_planning/Testing/20241115-1352/Test.xml: 7 tests, 0 errors, 1 failure, 0 skipped
- planning_scene_monitor_test_launch_planning_scene_monitor.test.py
  <<< failure message
    -- run_test.py: invoking following command in '/home/runner/work/moveit2/moveit2/.work/target_ws/build/moveit_ros_planning/planning_scene_monitor':
     - ros2 test /home/runner/work/moveit2/moveit2/.work/target_ws/src/moveit2/moveit_ros/planning/planning_scene_monitor/test/launch/planning_scene_monitor.test.py test_binary_dir:=/home/runner/work/moveit2/moveit2/.work/target_ws/build/moveit_ros_planning/planning_scene_monitor --junit-xml=/home/runner/work/moveit2/moveit2/.work/target_ws/build/moveit_ros_planning/test_results/moveit_ros_planning/planning_scene_monitor_test_launch_planning_scene_monitor.test.py.xunit.xml --package-name=moveit_ros_planning
    Running with ROS_DOMAIN_ID 1
    ROS_DOMAIN_ID 1
    [INFO] [launch]: All log files can be found below /root/.ros/log/2024-11-15-13-52-54-849801-d461d375157d-31423
    [INFO] [launch]: Default logging verbosity is set to INFO
    test_gtest_run_complete (moveit_ros_planning.TestGTestWaitForCompletion) ... Warning: Automatically adding attributes like self.proc_info to the test class will be deprecated in a future release.  Instead, add proc_info to the test method argument list to access the test object you need
    [INFO] [ros2_control_node-1]: process started with pid [31425]
    [ros2_control_node-1] [INFO] [1731678777.017561036] [controller_manager]: Subscribing to '~/robot_description' topic for robot description file.
    [ros2_control_node-1] [INFO] [1731678777.018223763] [controller_manager]: update rate is 100 Hz
    [ros2_control_node-1] [INFO] [1731678777.018371777] [controller_manager]: RT kernel is recommended for better performance
    [INFO] [spawner-2]: process started with pid [31440]
    [INFO] [spawner-3]: process started with pid [31451]
    [spawner-2] [INFO] [1731678781.649892991] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-3] [INFO] [1731678783.196703664] [spawner_panda_arm_controller]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678783.660546004] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [INFO] [planning_scene_monitor_test-4]: process started with pid [31462]
    [planning_scene_monitor_test-4] [==========] Running 2 tests from 1 test suite.
    [planning_scene_monitor_test-4] [----------] Global test environment set-up.
    [planning_scene_monitor_test-4] [----------] 2 tests from PlanningSceneMonitorTest
    [planning_scene_monitor_test-4] [ RUN      ] PlanningSceneMonitorTest.TestPersistentScene
    [planning_scene_monitor_test-4] [INFO] [1731678784.748189748] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00462217 seconds
    [planning_scene_monitor_test-4] [INFO] [1731678784.748255882] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
Error: anning_scene_monitor_test-4] [ERROR] [1731678784.757801175] [kinematics_plugin_loader]: The kinematics plugin (panda_arm) failed to load. Error: According to the loaded plugin descriptions the class kdl_kinematics_plugin/KDLKinematicsPlugin with base class type kinematics::KinematicsBase does not exist. Declared types are
Error: anning_scene_monitor_test-4] [ERROR] [1731678784.757826242] [moveit_ros.robot_model_loader]: Kinematics solver could not be instantiated for joint group panda_arm.
    [planning_scene_monitor_test-4] [INFO] [1731678784.785387677] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Publishing maintained planning scene on 'monitored_planning_scene'
Error: anning_scene_monitor_test-4] [ERROR] [1731678784.785934690] [moveit_robot_state.conversions]: Found empty JointState message
    [spawner-3] [INFO] [1731678785.207073061] [spawner_panda_arm_controller]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678785.670762383] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-3] [INFO] [1731678787.217687087] [spawner_panda_arm_controller]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678787.681018938] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-3] [INFO] [1731678789.227985924] [spawner_panda_arm_controller]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678789.691057593] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
Error: awner-3] [ERROR] [1731678791.238210538] [spawner_panda_arm_controller]: Controller manager not available
Error: ROR] [spawner-3]: process has died [pid 31451, exit code 1, cmd '/opt/ros/humble/lib/controller_manager/spawner panda_arm_controller -c /controller_manager --ros-args'].
    [spawner-2] [INFO] [1731678791.701209164] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678793.711465668] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678795.721483460] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678797.731539934] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678799.742223918] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678801.752916668] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
    [spawner-2] [INFO] [1731678803.762920834] [spawner_joint_state_broadcaster]: Waiting for '/controller_manager' services to be available
  >>>
build/moveit_ros_planning/test_results/moveit_ros_planning/planning_scene_monitor_test_launch_planning_scene_monitor.test.py.xunit.xml: 1 test, 1 error, 0 failures, 0 skipped
- moveit_ros_planning planning_scene_monitor_test_launch_planning_scene_monitor.test.py.xunit.missing_result
  <<< error message
    The test did not generate a result file.
  >>>

Summary: 1366 tests, 1 error, 1 failure, 687 skipped

Passing Run:
  7: [planning_scene_monitor_test-4] [ RUN      ] PlanningSceneMonitorTest.TestPersistentScene
  7: [planning_scene_monitor_test-4] [INFO] [1731752174.725806886] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00545313 seconds
  7: [planning_scene_monitor_test-4] [INFO] [1731752174.725900100] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
  Error: nning_scene_monitor_test-4] [ERROR] [1731752174.735197890] [kinematics_plugin_loader]: The kinematics plugin (panda_arm) failed to load. Error: According to the loaded plugin descriptions the class kdl_kinematics_plugin/KDLKinematicsPlugin with base class type kinematics::KinematicsBase does not exist. Declared types are
  Error: nning_scene_monitor_test-4] [ERROR] [1731752174.735224069] [moveit_ros.robot_model_loader]: Kinematics solver could not be instantiated for joint group panda_arm.
  7: [planning_scene_monitor_test-4] [INFO] [1731752174.762992562] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Publishing maintained planning scene on 'monitored_planning_scene'
  Error: nning_scene_monitor_test-4] [ERROR] [1731752174.763490405] [moveit_robot_state.conversions]: Found empty JointState message
  7: [planning_scene_monitor_test-4] [INFO] [1731752175.013995396] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Stopped publishing maintained planning scene.
  7: [planning_scene_monitor_test-4] [       OK ] PlanningSceneMonitorTest.TestPersistentScene (984 ms)

Duplicate of https://github.com/moveit/moveit2/issues/2821, except this was disabled on main so it does not show up there.


is there a way to group a list in groups of N elements?

I'd like to create a layout that looks like this:

X X X

X X X

Use http://discuss.gohugo.io/ for questions.

thanks, I'll probably find my answer there


Unable to Use a custom task published and private since the account name is not recognized

Published a custom task successfully. However, it does not show up manually in the task list OR if I use get it it does not show the organization that I am associated with when I am logged into Azure DevOps.
Related Issue that I had resolved earlier as suggested in solution:
https://github.com/MicrosoftDocs/vsts-docs/issues/6141

@vairakkumar-vairaperumal Thank you for the further info.
This can also be added as a note in the documentation until the underlying issue is resolved.
Assigning this to the author for review.

@vairakkumar-vairaperumal I've added a note in a number of articles, pointing to the newest documentation on extension development, which is at Azure DevOps Extension SDK. Thank you and please let us know whether you have any further questions. PR is linked to this issue.


Using output as a separate acitvation layer causing very poor accuracy.

Following are the last two lines of my model:
outputs = Dense(4)(act_fc1)
predictions = Activation(activation='softmax')(outputs)

If I use predictions as the model output, the model does not learn anything, but if I remove the predictions layer and add the activations parameter to outputs Dense layer, it works fine.

@Ehsan1997 predictions here is just an object of Activation class. It's not the part of the model.
I would suggest you  to build model like this:
model = Sequential()
model.add(Dense(512, activation='relu')
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.25))
model.add(Dense(10, activation='softmax'))

In this way you not get confused. You can also print your visualize you model using this code for cross-check.
from keras.utils import plot_model
plot_model(model, to_file='model.png')

@Ehsan1997 predictions here is just an object of Activation class.
I would suggest you to build model like this:
model = Sequential()
model.add(Dense(512, activation='relu')
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.25))
model.add(Dense(10, activation='softmax'))

In this way you will not get confused. You can also visualize your model using this code to cross-check.
from keras.utils import plot_model
plot_model(model, to_file='model.png')

Could you please explain why isn't it part of the network??

Okay it seems as if there was some problem with colab's version of keras, I just changed it to tensorflow.keras and now everything seems fine.


Added StartJOIN

Added StartJOIN to Other.
I thought that category suited it better than the original since it is a
crowdfunding platform, not a Bitcoin wallet.
See #1060.

So it's kickstarter with crypto currencies.
Isn't that a bit like finance then?

This is a bit of a grey area between finance and something else

Well Kickstarter is in Other, so I thought it would fit there.
It isn't really a Bitcoin wallet because you have to convert whatever it is to StartCOIN. It's also not really designed to hold money.

Oh well is kickstarter is in other then I guess other is the right category.


SWAP TABLE or RENAME TO do not update relevant view queries

CrateDB version
latest master
CrateDB setup information
No response
Steps to Reproduce
// there are two issues (1) SWAP TABLE (2) RENAME TO:
(1)
cr> create table a (a int);
CREATE OK, 1 row affected  (1.681 sec)
cr> create table b (b boolean);
CREATE OK, 1 row affected  (1.698 sec)
cr> create view aview as select a+1 from a;
CREATE OK, 1 row affected  (0.078 sec)
cr> alter cluster swap table a to b;
ALTER OK, 1 row affected  (1.932 sec)
cr> select * from aview;
ColumnUnknownException[Column a unknown]

(2)
cr> drop view aview;
DROP OK, 1 row affected  (0.076 sec)
cr> create view aview as select a+1 from b;
CREATE OK, 1 row affected  (0.072 sec)
cr> alter table b rename to c;
ALTER OK, -1 rows affected  (0.925 sec)
cr> select * from aview;
RelationUnknown[Relation 'b' unknown]

Expected Result
Expect SWAP TABLE or RENAME TO to update the view queries accordingly such that the selects succeed without exceptions.
Postgres does update the view queries:
postgres=# create table s (s int);
CREATE TABLE
postgres=# create view sview as select * from s;
CREATE VIEW
postgres=# alter table s rename to s2;
ALTER TABLE
postgres=# \sv sview
CREATE OR REPLACE VIEW public.sview AS
 SELECT s2.s
   FROM s2

Actual Result
Executing outdated view queries resulting in exceptions.

I realise that in PostgreSQL view definitions follow the renamed objects, but there are cases where it really may be useful to swap the tables under the hood keeping all references as they are, if the way this works internally allows for it it would be really nice to have an option on SWAP TABLE for this.

SWAP TABLE is specifically mentioned in our docs for schema migration and replacing tables during major version upgrade with minimal downtime / interruption. I advocate against changing views and related objects. If anything this could be an option like drop_source.
For RENAME I'd say it could be considered.


feat: Add support for ipynb (Jupyter) files

This PR adds support for ipynb files.
Some questions:

Should this style have its own version number? or should it mimic the main style?
I have used ; after variable assignments, I think the same should also be applied to the main style. This is useful because it looks cleaner and most importantly prevents formatters such as prettier from merging everything in a single line. If this is ok, I can make a 2nd PR for the main style.

Should this style have its own version number? or should it mimic the main style?

It probably should have it's own number since a bump in vesion on either of these styles not necessarily impacts the other, right?
I've been thinking about how to potentially unify this in within one file, and I wanna believe that this approach actually works. Tho I don't know any notebooks I could check this on. But as far as I can tell it's working for standard GitHub and it's not leaking any styles either.
Could you give this a quick shot maybe?
https://gist.github.com/andreasgrafen/785fde80040b8021323a5e6b2b726042

Neat!
Sorry for all the extra work – probably could have thought of this approach earlier, but my brain was too slow. D:
Thanks alot for putting it into action right away. I'll get to merging it. c:


FirebaseRemoteConfigFetchException when fetching Remote Config

Using GMS and Firebase 9.0.2
I set up my app with Firebase, features like Analytics or Notifications are already working.
I'm not doing anything special. Basicly, all I do is
FirebaseRemoteConfig.getInstance().fetch().addOnCompleteListener {
    toast(it.isSuccessful.toString())
    it.exception?.printStackTrace()
}

in my main activity's onCreate method (nevermind the Kotlin syntax) and every time I get
com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig.zza(Unknown Source)
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.zza(Unknown Source)
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.onResult(Unknown Source)
  at com.google.android.gms.internal.zznv$zza.zzb(Unknown Source)
  at com.google.android.gms.internal.zznv$zza.handleMessage(Unknown Source)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:148)
  at android.app.ActivityThread.main(ActivityThread.java:5417)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@cypressious can you try printing the Exception message?  Also it should be an instance of FirebaseRemoteConfigException

@samtstern this is what I got:
06-15 09:47:39.177 12058-12058/com.glidetalk.glideapp.qa E/~G~SystemInfo_Firebis: onFailure: com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException
                                                                                at com.google.firebase.remoteconfig.FirebaseRemoteConfig.zza(Unknown Source)
                                                                                at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.zza(Unknown Source)
                                                                                at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.onResult(Unknown Source)
                                                                                at com.google.android.gms.internal.zznv$zza.zzb(Unknown Source)
                                                                                at com.google.android.gms.internal.zznv$zza.handleMessage(Unknown Source)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                at android.os.Looper.loop(Looper.java:148)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:61)

there is no visible error message

Same here :confused:

any news on this?

I had the same problem. As in your code, I was calling fetch() without a parameter, but it was resolved when I passed in the cacheExpiration parameter as noted in the example:
 long cacheExpiration = 3600; // 1 hour in seconds.

        if (mFirebaseRemoteConfig.getInfo().getConfigSettings().isDeveloperModeEnabled()) {
            cacheExpiration = 0;
        }

        mFirebaseRemoteConfig.fetch(cacheExpiration)

Same issue here as well.

Is this issue still occurring on 9.2.0?

Seems to be fixed with 9.2.0

@cypressious thanks for the follow up!

this bug comeback on 9.4.0 version, here is my code
FirebaseRemoteConfigSettings configSettings = new FirebaseRemoteConfigSettings.Builder()
                .setDeveloperModeEnabled(BuildConfig.DEBUG)
                .build();
mFirebaseRemoteConfig = FirebaseRemoteConfig.getInstance();
mFirebaseRemoteConfig.setConfigSettings(configSettings);
long cacheExpiration = 43200L;
if (mFirebaseRemoteConfig.getInfo().getConfigSettings().isDeveloperModeEnabled()) {
    cacheExpiration = 0;
}

mFirebaseRemoteConfig.fetch(cacheExpiration).addOnCompleteListener(new OnCompleteListener<Void>() {
    @Override
    public void onComplete(@NonNull Task<Void> task) {
        if (task.isSuccessful()) {
            Log.d("AppConfig","App config loaded");

            // Once the config is successfully fetched it must be activated before newly fetched
            // values are returned.
            mFirebaseRemoteConfig.activateFetched();
        } else {
            Log.e("AppConfig","AppConfig  failed to load");
        }
    }
});

here is stacktrace
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err: com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.google.firebase.remoteconfig.FirebaseRemoteConfig.zza(Unknown Source)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.zza(Unknown Source)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.onResult(Unknown Source)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.google.android.gms.internal.zzpo$zza.zzb(Unknown Source)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.google.android.gms.internal.zzpo$zza.handleMessage(Unknown Source)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at android.os.Looper.loop(Looper.java:148)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5417)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
com.learn.firebasedb10255-10255/com.learn.firebasedb W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

task.getException().getMessage() return null.
with or without expiration parameter while fetch, this error still occur.
please fix/give me solution. thanks.

@isapoetra are you calling fetch in your Activity's onCreate method?

@samtstern yes. any suggestion?

I am having the exact same problem. This issue was closed with problems still existing it seems. Is anyone still having this problem? Has anyone figured out how to resolve it?

I'm still getting this issue as well, using 10.2.0 Always comes back with a fetch exception with no detail message. Makes no difference whether I use a cache expiration parameter or not in the fetch call.

I have the similar issue with 10.2.4, but without exception, just no callbacks called on fetching, the issue is only on specific device (Sony Xperia d5803 with Android 4.4.4) and 100% reproducible, it doesn't work every time. Tried all workarounds available with delayed fetching, but nothing helped to fix the issue.

@Stepyon try reaching out to firebase support for help troubleshooting your particular issue.

Same issue with 10.2.4 and  Android emulator Nexus 6 + API23.

Same here with 10.2.4 on two phones, Nexus 5 and Samsung S6.
The most annoying thing - there is no actual error message in the exception.

I have the same problem, 10.2.4 , emulator API 25 (not only)
After first run, fetch properly trigger addOnSuccessListener. When we stop (terminate) the app and reopen, fetch stats to throw com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException

i had this problem, on Genymotion emulator Nexus 5, API 23 Marshmallow. my problem is fixed by installing google play services on the emulator device.

Many Android devices on the earth are shipped without Google Play services. That's where this issue happens.
Firebase team should definitely make Remote Config work on wider devices, including those shipped without Google Play services. (e.g. Amazon Fire devices and most Android devices in China)

Many Android devices on the earth are shipped without Google Play Services. That's where this issue happens.

My test devices, as mentioned above, were a Samsung, a Nexus, and a Huawei, all with Google Play Services. And so, assuming that this exception is caused by missing Google Play Services is just plain not true.
We ended up going with Google Tag Manager instead (which has its own bugs, including a tendency for thread deadlocks :) ) but it still works a lot better than Firebase.

For my case, like @oasisfeng said, it's was a problem of missing google services.
I work with a custom ROM without any google application, I use firebase services (it's work perfectly for analytics and Crashlytics), but not for remote-config and  performance.
I fix my problem by using awesome project: opengapps. You can add google apps application by following the process on gapps for aosp
Now it works perfectly 👍

I have this problem in my application and even after catching the FirebaseRemoteConfigException the app still crashes

Hi all m for anyone still facing this issue  , The Remote Config library has a client-side throttle to ensure you don’t ping the service too frequently. By setting your fetchDuration to 0, you’ll hit this throttle and your library will stop making calls.
You can get around this by enabling developer mode.call this function right before you call Remote config API .
func activateDebugMode() {
let debugSettings = FIRRemoteConfigSettings(developerModeEnabled: true)
FIRRemoteConfig.remoteConfig().configSettings = debugSettings!
}
By setting developer mode to true, you’re telling Remote Config to bypass the client-side throttle. For development purposes, or testing with your 10-person team, this is fine. But if you were to launch this app to the public with your millions of adoring fans, you’re going to hit the server-side throttle pretty quickly, and Remote Config will stop working. (This is the whole reason you have a client-side throttle in the first place.)
For release mode make sure you disable developer mode and set your fetchDuration to something a little more reasonable, like 43200 (that’s 12 hours to you and me).
Hope this helps !

Still an issue in Firebase Config 16.1. Nothing to do with throttling.
Think I have a workaround though.
My code was doing this:
firebaseRemoteConfig.activateFetched();

// Use firebaseRemoteConfig.getString  / getAllKeys / etc.

firebaseRemoteConfig.fetch().addOnCompleteListener(callback)

// callback:
if (task.isSuccessful()) {
  // Would not happen
} else {
 // Would happen
final Exception x = task.getException();
// x = FirebaseRemoteConfigException
// x.getMessage = null
}

Makes sense right?
We may already have some values, we activate and use them, and then queue up a refresh in case there is an update.
This caused FirebaseRemoteConfigException every time.
And this is the workaround - how Firebase Config wants you to do things:
firebaseRemoteConfig.fetch().addOnCompleteListener(callback)

firebaseRemoteConfig.activateFetched();

// Use firebaseRemoteConfig.getString  / getAllKeys / etc.
// Note that the fetch callback hasn't triggered yet

// callback:
if (task.isSuccessful()) {
  // Now we end up here every time
} else {
 // And this doesn't happen
final Exception x = task.getException();
}

I'm not sure if my "workaround" is actually how the API works and my older code is just wrong. I can't quite tell if we're supposed to / can call activateFetched "just in case" to activate "any just in case" previously fetched values.
I also can't quite tell if activateFetched is necessary at least once per app process lifetime to activate any values fetched (and cached in storage, I presume) on previous runs.
I also don't know if my fetch (in the "workaround" version) is actually completing before I'm calling activateFetched / getValue, so maybe I'm just getting lucky because my networking is fast.
But I hope my comment may help another developer.
It also seems to me that Firebase APIs (there are what, three methods total really?) are too fragile.
An application calling activateFetched when it's not needed should just be a no-op and not cause the whole technology piece fall go catatonic. Anyone from Google here who wants to take this up?

facing the same problem with 16.0.3. have anyone have got solution for this problem.

Just found out that the same exact exception could be thrown if you attach a proxy (i.e. Charles etc) in the middle of your app and the network. I hope that helps

Getting this error on version 18.0.0
FirebaseRemoteConfig: Fetch failed!
java.lang.NullPointerException: Required parameter project must be specified.
at com.google.android.gms.internal.firebase_remote_config.zzch.checkNotNull(Unknown Source:7)
at com.google.android.gms.internal.firebase_remote_config.zzdc.(Unknown Source:2)
at com.google.android.gms.internal.firebase_remote_config.zzcz.zza(Unknown Source:2)
at com.google.android.gms.internal.firebase_remote_config.zzes.zzc(Unknown Source:40)
at com.google.android.gms.internal.firebase_remote_config.zzes.zzb(Unknown Source:23)
at com.google.android.gms.internal.firebase_remote_config.zzes.zza(Unknown Source:168)
at com.google.android.gms.internal.firebase_remote_config.zzer.then(Unknown Source:6)
at com.google.android.gms.tasks.zzf.run(Unknown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)


Updated pt_br language

This PR updates the pt_br language.

[ ] TODO - fix a problem with TranslationTableSeeder

TODO - fix a problem with TranslationTableSeeder

I'd suggest to do this in a separate PR.

TODO - fix a problem with TranslationTableSeeder

I'd suggest to do this in a separate PR.

Well, if you think it's better to do in a separate PR, I can do it!


APL2001_M01_L01:  Incorrect 'templateFile' parameter's value in '.ado/eshoponweb-secure-variables.yml'

Contact Details
<EMAIL_ADDRESS>What happened?
Lab/Demo:  Implement security through a pipeline using Azure DevOps / Configure a project and repository structure to support secure pipelines / Lab - Configure a project and repository structure to support secure pipelines
https://learn.microsoft.com/en-us/training/modules/configure-project-repository-structure-support-secure-pipelines/4-lab-configure-project-repository-structure-support-secure-pipelines
Exercise : Configure a project and repository structure to support secure pipelines
Task 3: Move the CD pipeline variables to a YAML template
Step: 4. Add the variables section used in the CD pipeline to the new file. The file should look like the following:
Description of issue: Incorrect 'templateFile' parameter's value in '.ado/eshoponweb-secure-variables.yml'
is: templateFile: '.azure/bicep/webapp.bicep'
should be?: templateFile: 'infra/webapp.bicep'
which results in:
##[error]Error: Could not find any file matching the template file pattern
in 'Deploy to WebApp -> Deploy -> Deploy App Service Plan Bicep''
Relevant screenshots

Fixed by #40. Thanks!


<EMAIL_ADDRESS>install : 'node-gyp rebuild'

I get the following errors when installing the package
5291 error<EMAIL_ADDRESS>install: node-gyp rebuild
5291 error Exit status 1
5292 error Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
5292 error This is most likely a problem with the weak package,
5292 error not with npm itself.
5292 error Tell the author that this fails on your system:
5292 error     node-gyp rebuild
5292 error You can get their info via:
5292 error     npm owner ls weak
5292 error There is likely additional logging output above.
Have used this for long time started receiving npm errors recently tried reinstalling the package and the following happens

Hey, thanks, I will take a look tomorrow.

Hey I just tried id but it works fine.
$ npm install gulp-local-screenshots
|
><EMAIL_ADDRESS>install /Users/danielhusar/Dev/intercom/doc/node_modules/gulp-local-screenshots/node_modules/phantom/node_modules/dnode/node_modules/weak
> node-gyp rebuild

  CXX(target) Release/obj.target/weakref/src/weakref.o
  SOLINK_MODULE(target) Release/weakref.node
  SOLINK_MODULE(target) Release/weakref.node: Finished
<EMAIL_ADDRESS>node_modules/gulp-local-screenshots
├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
$ gulp screens                                                                                ✘
[13:25:29] Using gulpfile ~/Dev/intercom/doc/gulpfile.js
[13:25:29] Starting 'screens'...
[13:25:29] Finished 'screens' after 20 ms
[13:25:40] gulp-local-screenshots: ✔ index-320.jpg
[13:25:46] gulp-local-screenshots: ✔ index-480.jpg
[13:25:52] gulp-local-screenshots: ✔ index-1000.jpg
[13:25:57] gulp-local-screenshots: ✔ index-1600.jpg

What os do you use?
Can you wipe out node_modules and try again?

I am still not able to install using npm install --save-dev gulp-local-screenshots
I tried it with user and root still same error.
I wiped out node_modules and created new test directory installed gulp and then screenshots
I gave gulp and phantom running globally and local to the project
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users//.node-gyp/0.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/Users//screentest/node_modules/gulp-local-screenshots/node_modules/phantom/node_modules/dnode/node_modules/weak/.node-gyp"

This looks like you don't have enough rights.
Try to play around with folder where npm caches modules.
Also you are getting this error in phantom dependency so try to ask author, he might know more :)

Uninstalled phantom -g and -dev cleaned npm caches for packages running
OS x 10.9.5
node v0.12.0
and npm 2.5.1
Homebrew 0.9.5
i can install other package with out error, could this happen due to the fact I am using the latest versions of node npm and homebrew

Hey looks like you're right, its failing on ios.js and node 0.12
I have bumped all the dependencies and should be now fine, as travis passes on all of those.
Try to install new 2.0.2 version.

Thanks it works like a charm. Great utility I use it daily.


I encountered a problem running Snapmake ‘snakemake: error: unrecognized arguments: --max-threads’

As described in the title. I am a beginner and may have missed some steps, but I did not find them. I hope the author can help me. Thank you!

Hi Jinhui, could you please tell us what system you're working with? Computer cluster, local computer, etc? Thank you!

I work with Computer cluster. Linux version 2.6.32-504.el6.x86_64<EMAIL_ADDRESS>(gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ).Perhaps due to system reasons, I cannot use the one click installation method either. It will display 'Found conflicts! Looking for incompatible packages.'

--max-threads is an argument of Snakemake. Can you try snakemake -h and tell us if you see it listed?
Anyway this argument is not mandatory and you can also use snakemake profile instead.
As for the conflicts in installation did you follow the instructions under troubleshooting? you might want to try installing the few packages listed there instead of the --file /full/path/to/cloned/repo/phanta_env.yaml.

Thank you for your answers! I have solved my problems.
The reason for the error is that my Snakemake version is too low. I try conda install -c bioconda snakemake, but the installed version is 3.3.x. I installed the latest version of snakemaker and resolved it.
Next, I use conda install -c bioconda bracken=2.7 -c conda-forge and 'conda install -c bioconda snakemake -c conda-forge' for installation. Successfully resolved 'Found conflicts! Looking for incompatible packages.'


Simon Game

Hey, @Yashika1410 I have created a Simon Game using javascript. I want to add this project to this repo. Can you please assign me this issue? Below is the awesome interface of this game. Thank you!

Thank you so much @Yashika1410 . Hope it counts in my hactoberfest profile! :)


CSS how to load css when using @noview in a plugin

Tried using global resources in a aurelia grid plugin Im making to load the plugins css.
Tried this in my grid plugin config.globalResources('./v-grid', './styles/v-grid.css');
But then it says it cant find v-grid.css.js
Im using noView, so I cant really do require to get it in.
Tried to look in the docs, but didnt see anything
Here is the grid Im making a plugin from:
https://github.com/vegarringdal/vGrid

This is a regression in the latest release. We are working on fixing it now. We've got an issue open for it. Closing this as a duplicate.

@EisenbergEffect Could you add a link to the issue so I can subscribe to it, so I know when its fixed and I can give plugins a new try :-)

https://github.com/aurelia/loader-default/issues/33

Adding !text makes the error messages go away and I can see the css file loads, but it does not work like I expected it , because the classes in css file isnt accessable.
config.globalResources('./v-grid', './styles/v-grid.css!text');
A little bit unsure if this is just the same issue, or more, so Ill add it here.
Could be just me miss understanding how to add css files to plugins

As I mentioned, this is a regression. It's being worked on right now.

@vegarringdal Try to just import your css in index.js - afaik it should be added to the <head>, like this:
import './styles/v-grid-css!';
export function configure(config) {
  config.globalResources('./v-grid');
}

Since you're building a plugin: this is dependent on SystemJS loaders. It won't be compatible with the webpack-loader. So this should be considered a workaround.
Is that
config.globalResources('./v-grid', './styles/v-grid.css');

actually the right way to load css as a global resource if you deliver a custom attribute or a @noview component? I've been struggling with direct imports a little, trying to get these compatible with webpack.

What I did:
-added import statement here: https://github.com/vegarringdal/test/blob/master/src/index.js
-ran gulp build
-uploaded it here to my dummy test playground: https://github.com/vegarringdal/test
-importet it to my project: jspm install vgrid=github:vegarringdal/test

then added plugin to main.js:

export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging()
    .globalResources()
    .plugin("vgrid")

  aurelia.start().then(a => a.setRoot());
}

If you see something Im doing wrong, or have other suggestions then please tell me :-)

Did you do jspm install css?
It seems to be missing the css loader.

@Thanood
No I didnt, didnt know I needed that, looks to be working now.
But I hope we will be able to do the same with globalResource when bug is fixed.
But now I can atleast try it as a plugin and see how version etc works, jspm etc is so new to me

@Thanood
Info:
The file from ahmedshuhel made it possible for me to load css when just tested in main.js add added css& js file, gave error before I replaced the framework.js file.


qa_crowbarsetup: never check SSL certs

for testing, we always use self-signed certs
and even in production deployments, we have certs
that are only valid for the public-name of the controller node
but not the internal names for admin IPs

with shopt -s expand_aliases it would work also with aliases
maybe aliases is the better way - I am not sure

I think functions is better.

updated to use "command" instead of full path

:+1:


built out the new listing page and the login page as well as their validations

i do have a few errors running, and will need help fixing them. but other than that, i am good for a bit.

oh, and the .env file is purely there so that errors dont run on my end. it should not cause any problems for anyone else.


add Salesforce to prod users

Contributing guidelines
Please read our contribution workflow before submitting a pull request.

@philips based on our twitter chat

@krmayankk Could you change the commit title to Documentation: add salesforce to prod users.
Thanks!

@gyuho done

LGTM!
Thanks @krmayankk


My Profile on other people's profiles

Window title says My Profile on other people's profile. Should say something else if it's not actually my profile.

Got it, should be an easy fix.  We'll talk about it this week at the web meeting.

Fixed: https://github.com/siggame/webserver/commit/245a9313bb5910c98130eba0effb6253857bc542


Steam crashes at startup.

When I start steam, it appears to load; but... it appears to crash right after. When I open my system monitor, it appears to be active. I see no amount of indication visually of that being true. I am on Fedora 39. Please help, me wanna game.

Here's your problems:

You're in the wrong place, this is about the website
You don't include any useful information - try including a log


more openbsd descriptions

Codecov Report

Merging #1330 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1330      +/-   ##
==========================================
- Coverage   57.69%   57.68%   -0.01%
==========================================
  Files         131      131
  Lines       24680    24680
==========================================
- Hits        14238    14236       -2
- Misses       9766     9768       +2
  Partials      676      676

Impacted Files
Coverage Δ

prog/rand.go
85.38% <0%> (-0.42%)
: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 acb5163...f5031a6. Read the comment docs.


HardFault in JumpToApplication ...

Hello,
I tried to use this bootloader but if the bootloader has to run the application, it ends up in the HardFault error. Can't you tell me where I should look for a mistake?

You probably didn't modify the linker script as I mentioned it in the description.


[Agenda Item] Proposal for co-chair for carbonQL project

Overview:
Wanted to open up the idea about having co-chair for Carbon QL project. I think Naveen Balani will be a great colleague as a co-chair as he comes with vast experience and we have been working closely on the SCI open data project which is closely aligned with this one.
Related topic: The type of agenda item you want to propose.

[ ] Governance: New project

Related working groups:

[ ] Open Source
[ ] Oversight Committee

Related issues or discussions:
Please list all related issues so that we can see the originating conversation, e.g. #10 or https://github.com/Green-Software-Foundation/discussions/discussions/5
More information:

Any other information you want to add.

Proposal allow 2 project leads for CarbonQL. No objections - approved by OC.


Make available for OS X?

Could this be made comparable with OS X?

This library depends only on Foundation (it is, after all, just a wrapper around NSDate); so I guess there should not be any problem to make it work on OS X.

OS X Support has been merged.

OS X Support has been merged.


Syncing Expired Entries

If you set an expiration date at the time an entry is created, when that expiration date arrives, will Algolia somehow be synced, or does the entry need to be manually saved in order to be synced with Algolia?
Is there any way to automate this if it isn't already?

The failsafe way to do this is to index the expiry date, and then filter those out on the frontend (numeric filter).
Additionally, you can run a cron that checks for newly expired entries and resaves/reindexes them, but for it to always be instant, you should filter them out from your requests.

Thank you so much for your help! Do you know if there are docs somewhere where I can see an example of how to do that? Algolia doesn't provide much help on how to do that type of stuff

@pixelbeatcreative let me see if I can dig up an example…

@pixelbeatcreative for the frontend bit, you'll want to use a filter: https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/how-to/filter-by-numeric-value/?client=javascript
First, make sure your transformer is indexing the element'sexpiryDate as a timestamp.
Then on the client-side, when you query, filter on that with the current date as the value:
const timestamp = Math.floor(new Date() / 1000);
index.search('query', {
  filters: `expiryDate < 100`
}).then(({ hits }) => {
  console.log(hits);
});

If you're using instantsearch/react, you would use the configure component:
import { Configure } from 'react-instantsearch-dom';
const timestamp = Math.floor(new Date() / 1000);
const filters = `expiryDate >= ${timestamp}`
<Configure
  filters={filters}
/>

@timkelty Thank you so so much for this!!! I greatly appreciate your assistance, this helps a ton! Cheers!

Thanks @timkelty!

Just in case anyone needs this, another way to accomplish this is by using the configure widget. "expireDate" is the name of the attribute.

search.addWidgets([
    instantsearch.widgets.configure({
        filters: `expireDate > ${timestamp}`,
    }),
]); ```


Suggest to upgrade astra-assistants client to 2.1.1 to fix OpenAI async functions

Bug Description
langflow backend has a dependency, astra-assistants client, which replaces the openai.AsyncOpenAI class by astra_assistants.AsyncOpenAIWithDefaultKey.
However, in astra-assistants client <IP_ADDRESS>, the AsyncOpenAIWithDefaultKey has an incorrect inheritance, which causes OpenAI async functions such as ainvoke/astream to be not able to work correctly, as described in https://github.com/datastax/astra-assistants-api/issues/72.
This problem has been fix by astra-assistants client 2.1.1, so it is suggested to upgrade astra-assistants client to 2.1.1
Reproduction
With astra-assistants client <IP_ADDRESS>, calling OpenAI ainvoke will produce the error below.
TypeError: object ChatCompletion can't be used in 'await' expression
Expected behavior
Successfully execute OpenAI ainvoke without error.
Who can help?
No response
Operating System
Debian 12 (langflow-backend docker image)
Langflow Version
1.0.18
Python Version
3.12
Screenshot
No response
Flow File
No response

fixed by https://github.com/langflow-ai/langflow/pull/3841


make-binary-wrapper: create destination directory

Just like in make-wrapper:
https://github.com/NixOS/nixpkgs/blob/0dd92e775ab9ed37455469f16469163e1e566575/pkgs/build-support/setup-hooks/make-wrapper.sh#L38

Oh I think it's makeBinaryWrapper not make-binary-wrapper
@ofborg build makeBinaryWrapper


Ability to access RayID on requests made to the API

Current cloudflare-go version
0.35.1
Description
We open a support request on a curious case where an application using the cloudflare-go package got bogus answer from the CloudFlare API. The support team requests the RayID and although the RayID is available when performing curl requests as part of the response headers, it's not available via cloudflare-go.
Use cases
Help cloudflare support locate a specific request to the API. Our specific use case is DNS requests, but should be added everywhere as it acts as a unique request identifier and is requested by the support team.
Potential cloudflare-go usage
r, err := client.DeleteDNSRecord(ctx, zoneID, record.ID)
fmt.Println(r.RayID)

References
No response

This is already supported by enabling Debug on the client - https://github.com/cloudflare/cloudflare-go/blob/master/cloudflare.go#L55 (https://github.com/cloudflare/cloudflare-go/blob/master/cloudflare.go#L279)
In the upcoming experimental client, this is also accessible on the Error itself - https://github.com/cloudflare/cloudflare-go/blob/master/cloudflare_experimental.go#L317.


Model checkpoints and outputs for T5-3b

Hi, thank you for the cool work!
I am a student at the University of Glasgow looking to reproduce your results for tabular question answering.
The largest checkpoints available to download are T5 large yet to make the best analysis we require T5 3B.
May you upload these to the hugging face model hub please?
Alternatively, could you provide model predictions for all datasets and model variants for test and dev sets since then the models themselves will not need to be run.
Thanks!

Hi,
Thanks for your question and sorry for the delay! Unfortunately, the model weights at that time have been cleaned. For replication, you can refer to issue #14 for details of running. And if you don't want to train yourself and just need the weight, you can also refer to PICARD for its uploaded weight, since we got similar formulation and closed results.
Feel free to contact us if you have further questions!
Thanks!


Improve alerts for when an app is down

https://trello.com/c/zrq6ih4v/528-investigate-removal-of-no-processes-found-for-x-for-apps-with-a-healthcheck
This makes a few changes to alerts we see when an app is down:

Only alert on processes if healthcheck not supported
Show a critical processes alert instead of a warning

Please see the commits for more details.

I assume that's why they were only raised as warnings before?

There doesn't seem to be any explanation for it - original commit here. Now that I'm reading it, I have even less confidence that it's a necessary alert, noting that we 5/6 others to cover the main scenario of an app being down.
On second thoughts: let's ditch it. Closing in favour of https://github.com/alphagov/govuk-puppet/pull/10685.


Wrong path to Postgres test db

The instructions to decompress the postgres file to run tests in developing.md is not up to date. It says:
gunzip test/sql/malloytest-postgres.sql.gz

but the right path is
gunzip test/data/postgres/malloytest-postgres.sql.gz

Thanks @cdutr , fixed!


Refactor Mixins page into a more thorough Component Composition page

Since this is a pretty significant addition, I'd like some team and community review before merging.

@dennythecoder Thanks for the review! 🙂

The heavy use of template literals may put off people programming directly in older browsers, as I can't remember anything that would have trouble running in IE in the guide (outside of single-file components).

For pages beyond the Essentials, I've decided to make an exception for multi-line templates, simply because they're so much more readable with template literals. My hope is that users reading the more advanced content will also have a slightly more advanced knowledge of JavaScript, but do you think I should add a note at the beginning of the page about them just in case?

A note wouldn't hurt.

I'd like to give this a thorough review but is really short on time this week and next. Let's hold till I come back from ReactiveConf on 29th.

Awesome work so far.
One thing I was thinking about is that patterns involving scoped slots could also fit nicely into this section.
There's currently a big trend in React land to leave HOCs (wrapper components) and move to render props (scoped slots) to compose components in various scenarios.
Michael Jackson from ReactTraining gave a great talk about how Render Props are superios to HOCs in many ways and use cases: https://www.youtube.com/watch?v=BcVAq3YFiuc
And I think the same holds true for Vue scoped Slots vs. Mixins / Wrapper components, in a way even more so since HOCs are evern more notoriously tricky to get right in Vue with it's bigger API surface.
So while I think this doesn't have to be added before we publish this, we might put it on the list of possible additions to do later?

@LinusBorg After merging #1482, I'll be coming back to re-evaluate this page and there will definitely be some scoped slots love. 🙂

@chrisvfritz just stumbled upon this. Is this still relevant?

@chrisvfritz we've now got ~hooks~ composition components coming out, do you want to include it here or should we start fresh with 3.0?


Additions to structure bundle

What do we think about adding table and list tags?

I think those should go in separate bundles - --tables and --lists. Then people can run all three if they want to.

For tables:

table
tr
td
`th``
thead
tbody
tfoot
caption
colgroup
col

For lists:

ul
ol
li
dl
dt
dd

Seems reasonable to me. Is there a way to use the bundles as a lib?
Also, should we consider things like emphasis, italics, underline, etc? I know most of that stuff is CSS these days, so maybe not worth it..

Seems reasonable to me. Is there a way to use the bundles as a lib?

Yes, the bundles are currently expanded inside the strip_tags() function here:
https://github.com/simonw/strip-tags/blob/09996811fa21553de824743d31d5eda49394e599/strip_tags/lib.py#L141-L149

Also, should we consider things like emphasis, italics, underline, etc? I know most of that stuff is CSS these days, so maybe not worth it.

We could add a bundle for those, not sure what it should be called though.


Ask the backend for more things (or react UI only shows 19 things at most)

This is a...

[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Documentation issue or request

Description
It's a super sekret that the backend only returns 20 items in it's collection responses for connections, integrations, etc.  We can ask for more via the per_page URL param.  The angular app appends ?per_page=50.
Or we can figure out fetching more items as the user scrolls downwards but the drawback is the search/filtering only acts on what's fetched.  It'd also be a new feature beyond what the angular code does.

see, lookit


[Sys Info] Add used memory to be shown in MiB

Is your feature request related to a problem? Please describe.
According to the documentation, the used memory can only be shown in GiB. I would like to be able to see it in MiB, because GiB is too coarse for me.

Hey, yeah I do plan to add that when I look at the other sys info issues. Because it's similar enough to #149 I'll close this as duplicate and update that to reflect units in general.

Duplicate of #149

Ok thank you! If someone wants this functionality in the meantime, i solved it like this:
type = "script"
cmd = "echo $(free -m | grep Mem | awk '{print $3}')M"
mode = "poll"
interval = 2000


Discrepancy between bustools inspect and bustools count, particularly with short UMI sample

For several datasets I have pulled from the literature, the median UMIs per barcode predicted by bustools inspect is much higher than the actual median UMIs per barcode in the output of bustools count. For example, in one dataset, the predicted median was 25K UMIs/cell, but the final sparse matrix has a median of ~8K UMIs/cell.
I used bustools text to explore the sorted bus data a bit more carefully. I filtered out all ECs that could map to more than one gene to make sure it wasn't a multi-mapping issue. I then observed that for many of the barcodes, there were repeating UMIs mapping to completely different genes. Because the UMIs for these datasets are 8bp, I suspect that the same UMI bound to completely different molecules. Indeed, the discrepancy between inspect and counts is much higher for these datasets w/8bp than those w/10 or 12bp UMI. Completely removing UMIs that repeat for a given barcode seems to bring the number of UMIs/cell closer to the bustools count output.
While inspect appears to calculate the number of unique UMIs per barcode, I'm not sure I understand how count handles them - presumably, these are "bad" reads that are tossed? (Unfortunately, the verbal output of counts, e.g. bad, rescued, compacted wasn't available in my version). If that's the case, I wonder if count (and inspect, for that matter) are underestimating the number of unique molecules in the dataset. I might also be off-track here - happy to provide the bus files as a reproducible example if it would be helpful.

I've faced with very similar problem when the ratio UMI/barcode is significantly,  more than in two orders, differs between bustools inspect and bustools count. The same dataset treated with salmon alevin has much more reliable result. I've also observed that small subsample (2.5k reads)  counted correctly by bustools count, while the larger dataset (1M reads) is counted incorrectly.

I note the same thing, which is even worsened with 6 bp UMIs. Let me know if you find a work-around.

I note the same thing, which is even worsened with 6 bp UMIs. Let me know if you find a work-around.

So for cases where it was a major problem, and where I didn't need multimappers, I just ended up manually counting. This was using the previous version of kallisto|bustools (haven't tested the new one yet), but I used bustools project followed by bustools text to get all of the mappings. I then loaded into R and counted there (basically using dcast). I do hope the authors address this issue tho - I would trust a true modification from them rather than this workaround from me.


Publish and consume headers-only dependency transitively

Multiple public distributions (like  boost) include headers only. Currently, there isn't an easy way generate or consume such dependencies. Plus, no way to make it transitive even with known workarounds.

Expected Behavior

A new linkage type, say Linkage.HEADERS, which would get propagated transitively .
Current Behavior

No way to declare a header-only dependency. Both 'api' and 'implementation' dependencies expect a library and fail at link time. The workaround at the moment is to explicitly add the dependency like the following at every level in the project hierarchy. Maintenance nightmare.
afterEvaluate {
    dependencies {
        cppCompileDebugShared "$group:boost:+"
        cppCompileReleaseShared "$group:boost:+"
        cppCompileDebugStatic "$group:boost:+"
        cppCompileReleaseStatic "$group:boost:+"
    }
}
Context

We use a number of projects that are headers only and are used at very low level. Some we even publish as part of our own development.
Steps to Reproduce (for bugs)

Your Environment

Build scan URL:

An alternative to the workaround is to generate a single source file with unique symbols that isn't used anywhere. Given the linker flag to remove dead code is passed this result into a no-op and the header will be propagated correctly.

As for the Linkage.HEADERS, I'm not sure it's the right approach. What would library.linkage = [Linkage.STATIC, Linkage.HEADERS] means. It sounds like a hack on what we already have. A header-only library is a design choice where no compilation or linking should happen (for the main component). I would maybe see it as a 3rd plugin cpp-header-library. The issue with that approach is the multiplication of plugins. However, we could tailor a library extension for that exact purpose, aka. no compile task, link task, source, private headers, implementation dependency, etc.

Currently, the dependencies should be transitive as long as the dependency is declared as api in the transitive project.

The issue is that the dependency cannot be declared as api because then a shared linkage expects a lib to link which doesn't exist.

I would maybe see it as a 3rd plugin cpp-header-library.

I like the idea of having an explicit plugin for this. @big-guy suggested the Linkage approach and seemed like relatively less work. But I agree that combination of Linkage options become ambiguous, unless Linkage.Static and Linkage.Shared stop meaning "publish the headers as well". This will be a breaking change though. @big-guy might be able to better defend his suggestion.
Nitpick - I would call this cpp-headers and not misuse the term 'library'.

@lacasseio An alternative to the workaround is to generate a single source file with unique symbols that isn't used anywhere.

Not an option for projects that we don't own because it adds additional undesired maintenance for the team and an upgrade nightmare.

@lacasseio However, we could tailor a library extension for that exact purpose, aka. no compile task, link task, source, private headers, implementation dependency, etc.

Alternatively, an extension that generates this dummy/placeholder source file and let cpp-library do its usual stuff.
@lacasseio @big-guy Is the extension approach an acceptable long term solution?

The proposal here isn't to ask the developer to add and maintain source files but have Gradle generate a source file with a deterministic symbol prior to building the code. Gradle will build this code and most likely never compile it again. The source file is not checked inside the source control or anything. It's just generated.
We could patch it that way but when we will move toward a cpp-header-library it will be properly modeled. The plugin is the long-term solution. The short-term is to generate a single source file directly in Gradle. It can be packaged as a custom plugin so it can be reuse internally.

Duplicate of #447

Duplicate of #739

@lacasseio @big-guy Here's my attempt to implement this as an external plugin. Running into an issue where applying the cpp-library plugin from within my custom plugin-in doesn't take the inputs from DSL.
Plugin implementation -
open class CppHeadersPlugin : Plugin<Project> {
    override fun apply(project: Project): Unit = project.run {
//        pluginManager.apply(CppLibraryPlugin::class.java)
        project.plugins.apply(CppLibraryPlugin::class.java)

        // Force "Static" linkage only since "Shared" doesn't really make sense for this use case
        // Note that this possibly overrides user intention, which would be wrong anyways
        val cppLibraryExtension = extensions.getByType(CppLibrary::class.java)
        cppLibraryExtension.linkage.set(setOf(Linkage.STATIC))

        with(tasks) {
            val generateCppHeadersSourceTask = create("generateCppHeadersSource", CppHeadersGenerateSourceTask::class.java)

            afterEvaluate {
                withType(CppCompile::class.java).forEach { compileTask ->
                    compileTask.dependsOn(generateCppHeadersSourceTask)
                }
            }
        }
    }
}

Task implementation -
open class CppHeadersGenerateSourceTask : DefaultTask() {
    companion object {
        const val FILENAME_PREFIX = "_cpp_headers_"
        const val FILENAME_SUFFIX = "_.cpp"
    }

    private var outputFile: File

    init {
        var outputDir = File(project.buildDir, "generated${File.separator}cpp-headers")
        outputFile = File(outputDir, "$FILENAME_PREFIX${project.name}$FILENAME_SUFFIX")

        project.afterEvaluate {
            // Do it again here, DSL could have overridden "buildDir"
            outputDir = File(project.buildDir, "generated${File.separator}cpp-headers")
            outputDir.mkdirs()

            outputFile = File(outputDir, "$FILENAME_PREFIX${project.name}$FILENAME_SUFFIX")
            outputs.file(outputFile) // Add the outputFile to the task outputs to insure we are properly monitoring

            extensions.getByType(CppComponent::class.java).source.from(outputDir)
        }
    }

    @Suppress("unused")
    @TaskAction
    fun runTask() {
        outputFile.writeText("void _cpp_headers_${project.name}_() {}")
    }
}

Build script -
apply plugin: 'cpp-headers'

version = 'dev'

library {
	publicHeaders.from project.file('.')    // This input is getting ignored
}

Since the library block is being ignored, the ZipTask fails (no output file) and so publish fails. Note that the build succeeds but the publish fails.
Please advise!

@lacasseio @big-guy Ping!!

I wrote a native sample to demonstrate how you can currently do this with Gradle.

@lacasseio That's wonderful. Very much appreciate the effort.
As it turns out the implementation above what I shared works as expected. The problem is this code snippet in the DSL.
afterEvaluate {
	cppHeaders.includeEmptyDirs = false

	cppHeaders.include 'abc.inl'
	cppHeaders.include 'def.hpp'
}

Unfortunately, your implementation also fails with this in the DSL. Swapping cppHeaders.include with cppHeaders.from resolved the issue.
That, obviously, raises the question why doesn't cppHeaders.include work? Is there a convention on when to use include vs. from? An informative error message would have helped here.

Also, in context to #922, is there a way to not use cppHeaders task name and still achieve the same result?

I misunderstood the include or was rather using it wrong. I saw filter method in AbstractCopyTask and so assumed include was to append to existing collection. Reading the referenced doc, include without a from doesn't make sense, I wasn't providing one and so those statements ended up filtering out all files from the collection. All makes sense now.
Thank you!


Fix minor typo on last accessed tab

ohhhh dammit.
You know how I was all like, I accidentally pushed to master but nbd it was a tiny thing?
Yeah.
Yeah of course.


wrong values in metrical strength features

the metrical strength features in note_features.py return four attributes:
"beat_phase",
"metrical_strength_downbeat",
"metrical_strength_secondary",
"metrical_strength_weak"

metrical_strength_downbeat and metrical_strength_weak return 1.0 in the presence of a downbeat which seems wrong for the latter, line 1066 is probably the problem. A bit of documentation on each feature is also missing (what is secondary, what is weak, does it work for triple meters?).

Hello, thanks for the issue. These features are taken from the basis functions of the basis mixer. Some documentation that could always be useful, I can look into it. But maybe @neosatrapahereje would be the best person to write the documentation for that or review the resulting PR.

I could also fix, I already know where it is.


Add cats.json file which is needed for at least 5 challenges

This PR address #17395.
At least 5 challenges in JSON APIs and Ajax section depend upon this cats.json file. I have added the cats.json file in /static/json folder. Now the relative route /json/cats.json will correctly serve the cats.json file.
Please take look and see if this is the correct way to solve this issue.
.

@anku255 you need to make the same change to the only intended files. This PR has a lot of irrelevant commits.
Looks like you will need to rebase this off the master branch and then make a fresh PR of a branch that you create of it.


[landscape workshop] Terraform missing for orchestration

key tech should be represented

Hi @tequilarista,
I would like to work on this issue😀 I tried to create a PR (Mainly to verify the logo graphics) but manage to get a failing build, so I will head back and see if I missed any info (I marked the PR as a draft for now). I placed It in the pipeline orchestration, is this correct?

Thank you @MadsJakobsen
If you need any help, let me know

Hey @markyjackson-taulia thanks for following up, I looked at the error from the first submit, I think the issue I had was due to the layout, since it reported the following:
Build failed because of:
Page: landscape, section CI & Pipeline Orchestration
Pipeline Orchestration
CDF Graduated
CDF Graduated
CDF Incubating
Continuous Integration
CDF Graduated
CDF Graduated is out of bound

However I completely missed the category Infrastructure Deployments, I assume this would be a better fit since terraform primary usage is cloud infrastructure deployment and management?
Link to preview: https://github.com/cdfoundation/cdf-landscape/pull/93,  https://deploy-preview-93--cdf-landscape.netlify.app

I think so

Closing this as Terraform is now listed under Infrastructure Deployments
Thanks to everyone who worked on this!


[Bug] helm upgrade does not work if schema.enabled is true

What are you really trying to do?
Running helm upgrade on an existing release of the temporal chart.
Describe the bug
Schema migrations are performed in a Job, but the resource is never garbage collected. When trying to upgrade the release, helm fails because the Job resource has immutable fields.

Minimal Reproduction

Install helm chart
Try to upgrade helm release

Environment/Versions

Temporal Version: helm chart 0.45.0

Additional context

Can be fixed by setting the ttlSecondsAfterFinished on the Job. I will create a PR shortly.

Another alternative is to specify the job as a pre-install hook. Will create a PR for this approach.

Please give https://github.com/temporalio/helm-charts/pull/564 a try.

Please re-open if this is still broken.


Move wiki to docs

Expected behavior
I expect all docs I need to run Kitematic to be at http://kitematic.com/docs (https://github.com/docker/kitematic/tree/master/docs)
Actual behavior
Some important documentation such as how to use with a proxy is located at https://github.com/docker/kitematic/wiki

The wiki serves more as a guide for quick help on common issues with Virtualbox - As people are moving to a native setup (Docker for Mac/Windows), the solutions provided in the wiki are less likely to be used.
With the above said, we accept all PR against our docs :)


Research on notification for Shrink&Split operation

We should do some research on the notification function, the purpose is to find a good way to give notification to the user when shrink or split operation finishes.

We can watch the ClusterStateChangeEvent in ISM plugin, when a new index is created,  if its resizeSource attribute is not null then we know that the index is created by shrink/split/clone,  then we can use ActiveShardsObserver#waitForActiveShards method to wait all the primary shards of the new index to be in STARTED status, after that we can send notification to users.
This is the sample code:
`private suspend fun trackLongRunningOperations(
clusterState: ClusterState,
indexNames: List
) {
val needTrackIndexNames = indexNames.filter { clusterState.metadata().index(it).resizeSourceIndex != null }
if (needTrackIndexNames.isEmpty()) {
return
}
activeShardsObserver.waitForActiveShards(needTrackIndexNames.stream().toArray { arrayOfNulls<String>(it) },
    ActiveShardCount.DEFAULT, TimeValue.timeValueHours(1),
    { logger.info("All the primary shards in the new index created by split/shrink/clone are started!") },
    { logger.error("All the primary shards in the new index created by split/shrink/clone are not started within 1 hour, please check the index manually!") })

}
`


Vendor SRFI 214 and SRFI 125

This PR adds vendoring for SRFI 214 (Flexvectors) and SRFI 125 (Intermediate hash tables). These are used to represent the Array type and record types respectively. Likewise, these vendored files are not meant to be publicly consumable aside from FFI implementers. Code generation based on these will be added on a future pull request.

The process involves ..

Could you add this to the readme so it's documented if anyone wants to go at it?


IP allocation failed because task stops not cleanup?

created network:
docker network create --opt encrypted -d overlay --attachable frontend
after a while with starting stoping tasks and attaching (when the ip range exceeds)
no more task can attached to the network:
task allocation failure" error="failed to allocate network IP for task ep3bjhcmfkc6du1993m8sfl29 network 1j2ewqwprzwsli8tm9tzee0wu: could not find an available IP" module=node node.id=jnbv0b1ot5quu17868zbfip0k

FWIW, we have this problem, and have been having this problem, over a few versions; currently our leader is at 19.03.12 and affected nodes are on 19.03.11 and 19.03.12.


Brazilian Nubank ofx import BUG

Describe the bug
pathFile = 'D:/server/shared/files/november.ofx';
const ofx = await Ofx.fromFilePath(pathFile);

To Reproduce
Steps to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Can you give more details about what happened?

SyntaxError: Expected ',' or ']' after array element in JSON at position 17
at JSON.parse ()
at I.getContent (D:\dev\ofx\node_modules\ofx-data-extractor\dist\umd\bundle.min.js:10:1836)
at L.toJson (D:\dev\ofx\node_modules\ofx-data-extractor\dist\umd\bundle.min.js:11:641)
at f.toJson (D:\dev\ofx\node_modules\ofx-data-extractor\dist\umd\bundle.min.js:11:1367)
at Object. (D:\dev\ofx\src\index.ts:11:25)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._compile (D:\dev\ofx\node_modules\source-map-support\source-map-support.js:568:25)
at Module.m._compile (C:\Users\User\AppData\Local\Temp\ts-node-dev-hook-3475698360140229.js:69:33)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at require.extensions..jsx.require.extensions..js (C:\Users\User\AppData\Local\Temp\ts-node-dev-hook-3475698360140229.js:114:

I got the same error reading Conta Simples ofx file.
I'm already in version 1.3.2.

Hi @filipenevola , thanks for the feedback. Apparently the build generated in version 1.3.2 still had the json conversion error, so I generated a new one and updated it to 1.3.3.


Handle derived coordinates correctly in concatenate

🚀 Pull Request
Description

This fixes the issue that the result of iris.cube.CubeList.concatenate loses any derived coordinate present in the input cubes. Here, this is fixed for all derived coordinates (for those that span the concatenated dimensions and for those that don't).
Todo

[x] Add tests
[x] Redo the same for merge if easily possible EDIT: this is not necessary, it's already working as expected.

Closes #2478

Consult Iris pull request check list

Hi, any chance this can make it into 3.5? That would be awesome!! Anything I can do to support you?

Hi, any chance this can make it into 3.5? That would be awesome!! Anything I can do to support you?

Hey, I'll be looking into this soon God willing, sorry for the delay! Should be able to make it in, fingers crossed!

I will adapt the tests so coverage in changed lines will be 100%


Adding new language to name tag list

While editing using iD I noticed there is language name tag name:sr-Latn missing. How can new language tags can be added?
I know how to add custom name tag for missing language and I do it that way but it is slow. I'd rather like have it on predefined list for easier and quicker use.
List offers "српски / srpski" which adds name:sr which designates Serbian Cyrillic but for Serbian map we also need name:sr-Latn which is for Serbian Latin (our language uses both scripts equally). Missing name:sr-Latn optin also causes confusion as sometimes we find people entering Latin script in name:sr tag.
Proposed change is:
remove current definition:
српски / srpski -> name:sr
add new definitions:
српски ћирилица / srpski ćirilica-> name:sr
српски латиница / srpski latinica -> name:sr-Latn

Thanks for reporting @yt9tp - this is already tracked on #2457
The goal there is to use the CLDR project for our list of languages, instead of the wikipedia locales.


package.json updates

A few necessary updates to make the package play nicely with others:

fix the "main" tag to point to the correct file
add a "typings tag to point to the declarations file
change the structure of the .d.ts file to only have top level exports

The changes are rather small, but i already fiddled around with them for over one hour now and there are many pitfalls and lots of magic behind the scenes being done by tsc.
also... PhpStorm has a bug here. Meaning when using the alt+enter quick help for importing he will add
import {HttpApiClient} from "@crazy-factory/cf-service-client/dist/typings/http-client"; instead of import {HttpApiClient} from "@crazy-factory/cf-service-client";. Removing the /dist/http-client part once will cause all further auto imports in the same file to work perfectly fine, but it's still annoying and easy to forget.

Will have to fix #28 first i think. Otherwise there seems to be no clean way