Adds support for the new speculative_exec endpoint.

Adds an JSON RPC endpoint executing a deploy and returning effects to the sender.
The new endpoint runs on a separate port from the previous JSON RPC. It can be configured in the rpc_server section of the config.toml. Setting speculative_execution_qps_limit to 0 will disable the endpoint. When sending a request to a node with disabled endpoint we get the following result:
* Could not resolve host: POST
* Closing connection 0
curl: (6) Could not resolve host: POST
*   Trying <IP_ADDRESS>:25102...
* TCP_NODELAY set
* connect to <IP_ADDRESS> port 25102 failed: Connection refused
* Failed to connect to localhost port 25102: Connection refused
* Closing connection 1
curl: (7) Failed to connect to localhost port 25102: Connection refused

Endpoint accepts two parameters:

block_identifier- this can be BlockHash, StateRootHash or null if deploy is to be executed on top of the latest block
deploy - a deploy to execute.

(One can think of this as "deploy dry run")
It will execute the deploy on top of the specified block and return the results of the execution to the caller. The effects of the execution won't be committed to the trie (blockchain database/GlobalState). Endpoint can be used for debugging, discovery - for example price estimation. If block_hash can't be found, proper error
will be returned. Any error returned during execution will be forwarded to the caller of the API.
Example usage

Run nctl network - nctl-compile && nctl-assets-setup && nctl-start
Let it run for a while and then note hash of the recent block: nctl-view-chain-lfb node=1.
Stop node=1 (nctl-stop node=1 and edit its config file to enable the new endpoint, its disabled by default. To do that, go to utils/nctl/assets/net-1/nodes/node-1/config/1_0_0 and edit speculative_qps_limit in the config.toml to a positive number.
Start the node nctl-start node=1 hash=<hash taken from nctl-view-chain-lfb node=2>.
Create a deploy (in casper-client-rs directory), execute the command:

./target/release/casper-client make-transfer --chain-name "casper-net-1" --amount 1000 --secret-key ../casper-node/utils/nctl/assets/net-1/nodes/node-1/keys/secret_key.pem --target-account=01bf65587c501685ca5d0cb5293509fa4cecdb4503c7364084e18e14339e46a46f --transfer-id 1 --payment-amount 25000000 | jq -c

Send deploy to the node

curl -v POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"speculative_exec","params":{"deploy": <previously store deploy formatted as JSON>, "block_identifier": <block_identifier> },"id":1}' 'http://localhost:25101/rpc'

where block_identifier can be a {"Hash" : <block_hash> }, {"Height" : <block_height>} or absent entirely (i.e. no block_identifier value), in which case it will execute deploy on top of the latest block.

Collect the results. If one wants to extract the cost, and the execution was a success, pipe the results into jq and extract the cost:

<previous command> | jq -c .result.execution_result.Success.cost

Closes https://github.com/casper-network/casper-node/issues/2880

@Fraser999 @EdHastingsCasperLabs @darthsiroftardis , I'm open to naming suggestions as I'm not 100% happy with the current ones :)

bors try

bors cancel

bors r+

bors try

bors try

bors r+


No blog posts will load on build

No blog posts will load from dev or medium

The issue has been solved. To fix the issue on your end: either run npm i @arifszn/blog-js -D or npm update.

Seems the issue has been solved on your end too.


Drone crash on wall

Hello Folks,
I was executing code of waypoint mission given in sample code example i.e.
Waypoint northPoint = new Waypoint(homeLatitude + 10 * GeneralUtils.ONE_METER_OFFSET, homeLongitude, 3f);
Waypoint eastPoint = new Waypoint(homeLatitude, homeLongitude + 10 * GeneralUtils.calcLongitudeOffset(homeLatitude), 3f);
Waypoint southPoint = new Waypoint(homeLatitude - 10* GeneralUtils.ONE_METER_OFFSET, homeLongitude, 3f);
Waypoint westPoint =  new Waypoint(homeLatitude, homeLongitude - 10* GeneralUtils.calcLongitudeOffset(homeLatitude), 3f);
Why did my drone crash on wall? Is drone sensors not working when we are trying sample app?
Please help us to fix this issue.

Public comment from Luce Luo in Zendesk ticket #32563:Dear Customer,
Thank you for contacting DJI.
To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it.
https://formcrafts.com/a/dji-developer-feedback-en
Thanks,
Luce Luo
DJI Dev Team


GUI exits with code 1

Hello Everyone,
I am very new to devops, I am learning how to setup a registry for myself. I was able to get my docker-compose.yml completed properly however I am running in to this error: "standard_init_linux.go:211: exec user process caused "exec format error"
So the gui exits with code 1
So not sure where to go from here.
Any help would be appreciated.
Thanks,

Are you using a RaspberryPi? You may need to build your own image.


enable quarkus e2e test

Signed-off-by: anandrkskd<EMAIL_ADDRESS>What type of PR is this:
/kind tests
What does this PR do / why we need it:
This PR will enable quarkus e2e test.
Which issue(s) this PR fixes:
Fixes #6181
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/retest

/retest


Plan to speed up CI

Following on from the CI improvement spike we need to have concrete next steps to speed up the CI
Definition of Done

[ ] Determine plan to speed up the CI time (specifically the test suite) -- baseline: where we ended up to speed up last time 15-25 min?
[ ] Create tickets

You may enjoy checking with https://github.com/koaning/pytest-duration-insights. I've heard that the numpy folks have started playing with it.

@joejuzl How granular should this plan be?
For example, if one action item is to refactor fixtures (particularly the long-living ones), do I need to provide an analysis of which fixtures, or should this be a step in the DoD of the issue i will create? Or if another item is to further split tests into workflows/ diff test suites, should I explicitly provide the solution or should it be part of the DoD of the future issue?

@ancalita I would say you need to do enough analysis to determine if it's a correct/viable approach, and you can include whatever that is in the ticket - but no further is needed. WDYT?


Include example-project

Currently client-didi-cli points to an example project in order to develop in watch mode, this has been very useful for testing, to make it even easier for developers, it is probably a good idea to ship this example project as lib-demo-project, this should come in handy because a developer will not need to setup a project to get started developing.
lib-demo-project is currently not complex at all, it only covers one targeted dependency, as we develop this will likely change, the more didi can handle the more confidence will increase in the project. Im hoping to get to the stage that a full demo website can be created with didi (I dont know the limits of didi yet, it all looks quite promising).
Criteria

update the readme to remove the section about not including the example project
create lib-demo-project
move my example-project into lib-demo-project
publish
didi-ops exclude / modify lib-demo-project from build and dev
lib-demo-project must be JS based not ts based to prove that JS is a the main focus at this time.

Work was done on master, whoops.


Fix badge alignment in readme

Small visual but maybe it's better, thank you for the pull request.


MJML Website 'Try it live' feature allows search engines to index the contents.

Describe the bug
MJML Website Try it live feature allows search engines to index the contents.
To Reproduce
Steps to reproduce the behavior:

Open google.com
Search for site:mjml.io/try-it-live

Expected behavior
Indvidual previews are not indexed
MJML environment (please complete the following information):

MJML website

Email sending environment(for rendering issues):

N/A

Affected email clients (for rendering issues):

N/A

Screenshots
N/A
Additional context
This is a potential privacy issue. I doubt that most users realize that their previews may become indexed by google and searchable.

I think it was on robots.txt at some point but it was removed somehow. I'll forward this to Mailjet as they handle the mjml.io website.


RSS svg icon

I love this theme, thank you!
Would it be possible to get an RSS svg icon? I would like one next to my Twitter icon! I see there are 13 social rss icons and I'm thinking having an RSS icon is something a lot of people might want..
Thanks again,  Nick

Sure thing.
We can use this icon https://material.io/resources/icons/?search=rss&icon=rss_feed&style=baseline


[EXPANDR-1880] Publish SDK to PyPI and ReadTheDocs

[EXPANDR-1880] Publish SDK to PyPI and ReadTheDocs

Used for testing release candidate

Motivation and Context

Used to test release candidate for external docs and pypi publication

How Has This Been Tested?

Test release to ReadTheDocs

https://readthedocs.org/projects/cortex-xpanse-python-sdk/builds/20863288/

Tests publication on pypi

https://pypi.org/project/xpanse/#history

Screenshots

I'm not seeing the more detailed info under the modules (see screenshot below). Is that on purpose? I think we have more details in the current version of the API docs:

I'm not seeing the more detailed info under the modules (see screenshot below). Is that on purpose? I think we have more details in the current version of the API docs:

@HilaryLynch-expanse woah, great catch. Not sure why that's happening on deployment but not locally. Taking a look


[Question] What does this mean?

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Description

This is when I just newly added the mod into the server. I think it skips the jar file which leads to not creating the json file? Also, it causes the server not to start apparently. Could this mean that I have a mod that is in conflict with the MCDiscordChat mod?? Thank you very much :D

Yes, same issue. Try this temp solution: https://github.com/Xujiayao/MCDiscordChat/issues/96#issuecomment-1330839550


Updated DS version, added mandatory property to address template

What is the context of this PR?
The address autosuggest requires a mandatory property and boolean value for client side validation.
Note - there is an issue with the manual address view validation (server side) where-by the error summary isn't rendered. This will be fixed in another PR.
How to review
Check the address_lookups schema and check validation works as expected when on the lookup view.

So now if you don't enter anything the error panel is as expected however, if you type something in and submit without selecting an address, it now says Enter an address instead of Select or manually enter an address.

So now if you don't enter anything the error panel is as expected however, if you type something in and submit without selecting an address, it now says Enter an address instead of Select or manually enter an address.

Sorry I should have mentioned that it only happens if you first submit with no answer so that the current screen says "Enter an address", then you type something and submit without clicking an address.

So now if you don't enter anything the error panel is as expected however, if you type something in and submit without selecting an address, it now says Enter an address instead of Select or manually enter an address.

Sorry I should have mentioned that it only happens if you first submit with no answer so that the current screen says "Enter an address", then you type something and submit without clicking an address. So most likely a separate bug, unrelated to this.

This will be dealt with in the next DS release.


independent -> to_event

Addressing #1406
based on discussions, to_event seems like the most concise, clearest, not-incorrect name.  reinterpreted_batch_dims is what it's called in the Independent distribution but that's simply not practical for writing models where one would need to append it most of their distributions.

.add_event_dims(x)

i think @fritzo's suggested shift_event_dims would be more correct because no additional dims are being added. and i dropped the dims cause of verbosity/its contextually evident


bug/error on HTML table generation

When processing a PDF file with hi_res in unstructured-api, an error occurs on HTML table generation (from unstructured-inferece):
2024-07-24T08:49:18.887448624Z   File "/home/notebook-user/.local/lib/python3.11/site-packages/unstructured/partition/pdf_image/ocr.py", line 284, in supplement_element_with_table_extraction
2024-07-24T08:49:18.887488006Z     text_as_html = "" if tatr_cells == "" else cells_to_html(tatr_cells)
2024-07-24T08:49:18.887503751Z                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-24T08:49:18.887511928Z   File "/home/notebook-user/.local/lib/python3.11/site-packages/unstructured_inference/models/tables.py", line 704, in cells_to_html
2024-07-24T08:49:18.887519618Z     cells = sorted(fill_cells(cells), key=lambda k: (min(k["row_nums"]), min(k["column_nums"])))
2024-07-24T08:49:18.887527508Z                    ^^^^^^^^^^^^^^^^^
2024-07-24T08:49:18.887534601Z   File "/home/notebook-user/.local/lib/python3.11/site-packages/unstructured_inference/models/tables.py", line 667, in fill_cells
2024-07-24T08:49:18.887542331Z     table_rows_no = max({row for cell in cells for row in cell["row_nums"]})
2024-07-24T08:49:18.887549813Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-24T08:49:18.887557089Z ValueError: max() arg is an empty sequence

Environment:
Unstructured API 0.0.72 deployed in remote machine
Local deployment lib versions
unstructured==0.14.6
unstructured-client==0.18.0
OS
Ubunut 22.04.02 LTS

@pawel-kmiecik The issue you're encountering appears to be related to the following:

https://github.com/Unstructured-IO/unstructured-inference/issues/357
https://github.com/Unstructured-IO/unstructured-inference/issues/358
https://github.com/Unstructured-IO/unstructured/issues/3252

This problem has been addressed in PR #359. To resolve it, please update your unstructured version to at least 0.14.8 or the latest available version.

@christinestraub
Hi,
I updated the Unstructured-API from 0.0.72 to 0.0.75 (includes unstructured-inference version == 0.7.36)
When i run two files where the error occurs to me, the filename with R149-01.pdf´works fine after the update, but the filename Motor Vehicle Safety Regulations (1038) 2024-04.pdf.
Update the files fyr.
Motor Vehicle Safety Regulations (1038) 2024-04.pdf
R149-01.pdf


Problem with i18n integration

By integrating with i18n, it correctly creates me separate files according to the locales, but the dynamic routes are merged between the files (in the sitemap en I also find the dynamic routes of hr, and vice versa). IncludeAppSources: true does not work in this reproduction either, but I think it is due to the installed version, because in my project that works.
stackblitz: https://stackblitz.com/edit/nuxt-starter-cv5hf9?file=nuxt.config.ts

Hey, please see the docs here on how to resolve this: https://nuxtseo.com/sitemap/integrations/i18n#dynamic-urls-with-i18n


Caps-protection in biblatex to CSL JSON/CSL YAML conversion

It seems we got caps-protection in the biblatex to CSL JSON/CSL YAML conversion slightly wrong – or rather it turns out that there are undocumented (and highly counterintuitive!) differences between bibtex the program and biber/biblatex.
{\emph{Foo}} is parsed by biber/biblatex as emphasized but non-caps-protected string, and \emph{Foo} and {{\emph{Foo}}} as emphasized and caps-protected strings, and apparently this is the expected behavior: “This is just one of the small differences between bibtex the program and the btparse library used by biber.” (https://github.com/plk/biblatex/issues/357#issuecomment-154819866)
For a (xe)latex/biber/biblatex MWE demonstrating biber/biblatex’s actual behaviour, using biblatex-apa, a sentence-case style, see https://github.com/plk/biblatex/issues/357.
\textbf, \textsuperscript, \textsubscript, \enquote and \textsc all show the same behaviour as \emph.
pandoc-citeproc currently converts
@article{a,
  author       = {Doe, John},
  year         = {2015},
  title        = {Any {Foo} that appears uppercase is effectively protected
  – \emph{Foo}, {\emph{Foo}}, {{\emph{Foo}}}
  – \textbf{Foo}, {\textbf{Foo}}, {{\textbf{Foo}}}}
}

to
---
references:
- id: a
  type: article-journal
  author:
  - family: Doe
    given: John
  issued:
  - year: 2015
  title: Any Foo that appears uppercase is effectively protected – *foo*, *Foo*, *Foo*
    – **foo**, **Foo**, **Foo**
...

but should convert to
---
references:
- id: a
  type: article-journal
  author:
  - family: Doe
    given: John
  issued:
  - year: 2015
  title: Any Foo that appears uppercase is effectively protected – *Foo*, *foo*, *Foo*
    – **Foo**, **foo**, **Foo**
...

Note that this is about biblatex only, pandoc-citeproc’s bibtex to CSL JSON/CSL YAML converter should not be changed.

FWIW, the btparse library biber/biblatex are using is described in
Ward, Gregory P. 1998. “btOOL: An Object-Oriented Library for Processing BibTeX-Style Text Databases.” School of Computer Science, McGill University. https://gerg.ca/software/btOOL/btOOL.ps.gz.
In particular, see p. 58–9 on bt_change_case(): “The right solution (and this applies to any title with a TeX command that becomes actual text) is to bury the control sequence at brace-depth two:
A Guide to {{\LaTeXe}}: Document Preparation ...”

So what about {\emph{Foo} \emph{Bar}}? Do we get caps protection?
If the rule is that grouping around a single command does not give caps protection, that shouldn't be too hard to implement.

So what about {\emph{Foo} \emph{Bar}}? Do we get caps protection?

No (tested with biblatex-apa).


feat: add ENABLE_MESSAGE_RATING for configurable message rating

Pull Request Checklist
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[ ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Label: To cleary categorize this pull request, assign a relevant label to the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description
Add ENABLE_MESSAGE_RATING to control whether or not the thumbs up/down buttons are shown to the user. This is configurable in the admin panel.
Added

👍 Configurable Response Rating: Added ENABLE_MESSAGE_RATING to control whether or not the thumbs up/down buttons are shown to the user. This allows for a more configurable user experience, giving administrators the option to enable or disable message rating as needed.

I can't really think of a scenario where an admin might want to turn this feature off? I'll close this for now but feel free to enlighten me 😅, much appreciated as always 🙌


Encoding and decoding code section questions.

Demo
WebAssembly Code Section payload: byte_count|2|0x7E 1|0x7F  => 0x7E 0x7E 0x7F => int32, int32, int64
Decode Code Section
wasm.Code[0].LocalTypes={int32, int32, int64}

Encode Code Section
WebAssembly Code Section byte_count|1|0x7F|2|0x7E

Inconsistent for decode and encode code section
I found that EncodeCode vec(locals) is a reverse process, not a forward process like Decode.
At first I thought it might be a dependency between local variables.
for example:
var a int32 = 1;
var b int32= a+1;

So it may be reversed, and it must be in order, instead of using a map mapping like map[ValueType]int64. When I saw the decodeCodeSection process, I found that the result list is not the reverse process of result[vs-i-1]=c, so I think the codec of the code section is inconsistent.
Expected
encode code section code:
WebAssembly Code Section byte_count|2|0x7E|1|0x7F

Code Section Implement
https://github.com/tetratelabs/wazero/blob/main/internal/wasm/binary/section.go#L173
func decodeCodeSection(r *bytes.Reader) ([]*wasm.Code, error) {
        ......

	result := make([]*wasm.Code, vs)
	for i := uint32(0); i < vs; i++ {
		c, err := decodeCode(r, codeSectionStart)
		if err != nil {
			return nil, fmt.Errorf("read %d-th code segment: %v", i, err)
		}
		result[i] = c
	}
	return result, nil
}

https://github.com/tetratelabs/wazero/blob/main/internal/wasm/binary/code.go#L102
func encodeCode(c *wasm.Code) []byte {
        ......
	localBlockCount := uint32(0) // how many blocks of locals with the same type (types can repeat!)
	var localBlocks []byte
	localTypeLen := len(c.LocalTypes)
	if localTypeLen > 0 {
		i := localTypeLen - 1
		var runCount uint32              // count of the same type
		var lastValueType wasm.ValueType // initialize to an invalid type 0

		// iterate backwards so it is easier to size prefix
		for ; i >= 0; i-- {
			vt := c.LocalTypes[i]
	                ...
		}
		localBlocks = append(leb128.EncodeUint32(runCount), localBlocks...)
                ......
	}
        ......
	return append(leb128.EncodeUint32(uint32(len(code))), code...)
}

Sorry could you tell us whats the specific problem you are having with Encoding? It's encoding is only used in testing of wazero, and not for users.

Why does the bytecode store local variables sequentially when decoding, but store local variables in reverse when encoding? There seems to be an inconsistency here.

no, if you closely look at the code, it''s not reverse encoding, and consistent. https://github.com/tetratelabs/wazero/blob/main/internal/wasm/binary/code.go#L109

FYI as I said, encoding is not used in the main code of wazero and nothing to see for wazero users. If you are interested in binary encoding and stuff, see https://github.com/tetratelabs/wabin for examole.

Thanks. @mathetake


[server] What is the correct initial process for the database?

I attempted the following sequence:

user_login_admin
admin_user_add
user_logout
User_login
db_add
user_logout
user_login_admin
admin_shutdown

Then, upon restarting the agdb_server:
a. user_login
b. db_list --- error, indicating the database was not found.
However, if after the db_add step in the initialization process, I add:
5.1. db_backup
And after restarting the agdb_server, I then add:
a.1. db_restore
after the user_login step, everything works normally.
Is this a requirement, or is it a malfunction?

It is a genuine issue. The dbs are stored in the internal database but the db objects are not being recreated upon restart of the server. The backup/restore works because it does create new db object. Let me fix it.

This is now fixed and released in version 0.6.9


“Was this helpful buttons” bug on firefox

Only in Firefox / works on Chrome
On https://www.prisma.io/docs/ when I click on the “Was this helpful buttons” it doesn’t work (looks like the sentiment is sent though)

Can confirm.
The request is successful:

But the console still shows this error:


Unable to build Clasp. Duplicated Lines of Code in file auth.ts

(Please search existing issues before creating a new one.)
Expected Behavior
Have clasp build after run the command npm run build
Actual Behavior
error during the building process:

tsc --project tsconfig.json && npm i -g --loglevel=error

src/auth.ts:1:13 - error TS2300: Duplicate identifier 'fs'.
1 import * as fs from 'fs';
~~
src/auth.ts:2:13 - error TS2300: Duplicate identifier 'fs'.
2 import * as fs from 'fs';
~~
src/auth.ts:11:10 - error TS2300: Duplicate identifier 'Discovery'.
11 import { Discovery } from 'googleapis/build/src/apis/discovery/v1';
~~~~~~~~~
src/auth.ts:12:10 - error TS2300: Duplicate identifier 'Discovery'.
12 import { Discovery } from 'googleapis/build/src/apis/discovery/v1';
~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: tsc --project tsconfig.json && npm i -g --l oglevel=error
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR!      C:\Users\GL000017\AppData\Roaming\npm-cache_logs\2018-08-23T18_48_
39_488Z-debug.log
Steps to Reproduce the Problem

Clone the project
Run the steps under "Develop" section
See the error

Specifications

Node version (node -v): v8.11.4
Version (clasp -v): 1.5.3
OS (Mac/Linux/Windows): Windows 7

I'm getting error 403 when I try to push my branch. Do you know how to solve that?

Can you press the fork button on the top right, clone that repo, then push to that repo?
After you push, you'll see there is a button to submit a Pull Request.
https://help.github.com/articles/creating-a-pull-request/
https://help.github.com/articles/creating-a-pull-request-from-a-fork/

Fixed with #298.

I'm going to delete the comments in the other thread since they are off topic. Here they are:

Hi @grant ,
I was recreating my development environment and now I can't build clasp anymore using the command npm run build or npm run build-fresh.
Following is the error:
tsc --project tsconfig.json && npm i -g --loglevel=error
src/auth.ts:1:13 - error TS2300: Duplicate identifier 'fs'.
1 import * as fs from 'fs';
~~
src/auth.ts:2:13 - error TS2300: Duplicate identifier 'fs'.
2 import * as fs from 'fs';
~~
src/auth.ts:11:10 - error TS2300: Duplicate identifier 'Discovery'.
11 import { Discovery } from 'googleapis/build/src/apis/discovery/v1';

src/auth.ts:12:10 - error TS2300: Duplicate identifier 'Discovery'.

12 import { Discovery } from 'googleapis/build/src/apis/discovery/v1';

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: tsc --project tsconfig.json && npm i -g --l oglevel=error
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR!  C:\Users\GL000017\AppData\Roaming\npm-cache_logs\2018-08-23T18_37_
47_980Z-debug.log
@valen22br
Contributor
valen22br (Luis Gustavo Grubert Valensuela) 9 hours ago
I'm looking at your code, specifically at auth.ts file, and there are some duplicated lines on it.
I removed the duplicated lines, and it is building successfully. Why were those lines duplicated?
@grant
Member
grant 9 hours ago
@valen22br Ah, that looks like a separate issue (from a separate change). Can we discuss this in a separate GitHub Issue?
@valen22br
Contributor
valen22br (Luis Gustavo Grubert Valensuela) 9 hours ago
Yes, no problem!


ClusterName lowercase transformation

kubeconfig cluster.name can contain uppercase.
https://github.com/cilium/cilium-cli/blob/e7035487d5b3675c3a6876369a4dbf11b57dba2e/install/autodetect.go#L33 forces it does not.
From the error it is not clear why the clustername must be lowercase and what is the purpose.
Since there is some transformation already at https://github.com/cilium/cilium-cli/blob/e7035487d5b3675c3a6876369a4dbf11b57dba2e/install/autodetect.go#L135
Why not add aldo lowercase transformation?

github timed out, so I created duplicity, sorry


Add edit command for tasks

Closes #105

Codecov Report

Merging #122 (cf1b936) into master (ad509d8) will decrease coverage by 3.05%.
The diff coverage is 0.00%.

 Learn more

Once add tag to task is done, i will change edit task command to also copy tags


Test

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: bishalsync sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Image

Note that all images must be specified explicitly in a manifest provided as a tokamakDOM_provideImages modifier. I tried adding the modifier when passing the view to DOMRenderer but it didn’t work until I wrapped it in a view itself (is this a bug?)
Since carton doesn’t support serving local static files, the demo requires an HTTP server running on port 5000 that serves static files from the docs directory.

Fails

:no_entry_sign:

Sources/TokamakDOM/Shapes/Path.swift#L57 - Line should be 100 characters or less: currently 113 characters (line_length)

  Generated by :no_entry_sign: Danger Swift against 85d175280cd2a20a5cfa599bbdd275ff00c4829c

I think that both carton and Tokamak should support SwiftPM resources, the only obvious problem being that the Bundle type is declared in Foundation...

Could carton or something else implement the Bundle class itself?

It probably could, but I'm not sure which exact Bundle implementation SwiftPM uses in its code and whether we could swap that with our own. Needs some testing and investigation... 🧪

@MaxDesiatov is there a way to install the latest version of carton from GitHub? The released version doesn’t have resources yet.

Yeah, you can clone the carton repository and just run swift build or swift build -c release in it. Then you can copy the executable from .build/debug/carton or .build/release/carton to any of your PATH directories. brew installs it to /usr/local/bin/carton if you'd like to replace the released version with your own version.
I hesitate to tag a new version because of a regression https://github.com/swiftwasm/swift/issues/1824. OTOH, it's already broken in the current released version that ships 5.3 snapshots by default too. I hope to get it fixed soon, and failing that, will probably release it as is. Maybe I could release it after the next version of JSKit is tagged, so that it's compatible with DOMKit 🤔

Had a quick look at this, and according to SwiftUI docs Image looks into Bundle.main if the bundle argument is nil. This means that all images will be looked up at the root path, unless a user passes some explicit bundle. And the only meaningful value in SwiftWasm Foundation other than Bundle.main (with empty path) is auto-generated Bundle.module.
We can't set Bundle.module as a default argument, as it will always assume that's the bundle of Tokamak itself. So I think we'll stick to the upstream Bundle.main behavior. But it's not that simple, one option is to make carton dev serve resources from executable targets at the root path, which could potentially (but highly unlikely) cause naming collisions with files like dev.js. And the other option is to change the path of Bundle.main in SwiftWasm Foundation to be something like /main. But that would be a hardcoded value for all apps, and we'd now need to wait for 5.3.1 to release that. @TokamakUI/core-team WDYT is the best approach here?

@TokamakUI/core-team Now that https://github.com/swiftwasm/carton/pull/176 is merged, this works with images supplied as SwiftPM resources. It does require specifying extensions with image names, and I don't think there's a clean way for us to infer extensions. I've removed systemName initializer as I'm not sure how to proceed with that one right now. We could support some icon sets in a future PR if there's a good way to do it.


Add python venvs to demo_ images that build

Fixes #13015. Note that vitis_ai is broken for another reason, so I couldn't test this fix, but I'll contribute it so that when vitis_ai is unbroken, the Python scripts should be on the right track.
@zuowanbushiwo @HadXu @driazati

those ones use manual pip3 install commands, just fixing the ones that use the shared python install script for now


[#706] Implement spill method to avoid memory deadlock

What changes were proposed in this pull request?

Introduce the DataPusher to replace the eventLoop, this could be as general part for spark2 and spark3.
Implement the spill method in WriterBufferManager to avoid memory deadlock.

Why are the changes needed?
In current codebase, if having several WriterBufferManagers, when each other is acquiring memory, the deadlock will happen. To solve this, we should implement spill function to break this deadlock condition.
Fix: #706
Does this PR introduce any user-facing change?
No.
How was this patch tested?

Existing UTs
Newly added UTs

Codecov Report

Merging #714 (85fc2d1) into master (5882e10) will increase coverage by 1.09%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #714      +/-   ##
============================================
+ Coverage     60.63%   61.73%   +1.09%
+ Complexity     1845     1751      -94
============================================
  Files           228      205      -23
  Lines         12702    10173    -2529
  Branches       1062     1019      -43
============================================
- Hits           7702     6280    -1422
+ Misses         4592     3560    -1032
+ Partials        408      333      -75

Impacted Files
Coverage Δ

...rg/apache/uniffle/common/config/RssClientConf.java
95.23% <100.00%> (+1.48%)
:arrow_up:

... and 23 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jerqi PTAL. I have updated the spark3 code, if the design is OK, I will change the spark2 related code.

@advancedxy @smallzhongfeng

However, do you think it's worth a design doc to address problems in https://github.com/apache/incubator-uniffle/issues/706?

It looks unnecessary, the optimization is not a big change for current codebase.

I did a quick through of the code, I didn't see any serious problem about this problem. I will look it in details later tonight.

Looking forward this.

PTAL again @smallzhongfeng @advancedxy . Thanks

PTAL again @smallzhongfeng @advancedxy

Just rebase the latest master. cc @advancedxy @smallzhongfeng


Broken link ch4 on leanpub

The greater-than sign (>) immediately following the command: module directive tells YAML “automatically quote the next set of indented lines as one long string, with each line separated by a space”. It helps improve task readability in some cases. There are different ways of describing configuration using valid YAML syntax, and these methods are discussed in-depth in the YAML Conventions and Best Practices
section in Appendix B.

In chapter 4 links to https://leanpub.com/ansible-for-devops/OEBPS/chap20.xhtml#yaml-best-practices, but this page can not be found on LeanPub.

@smbiemans - Interesting... Are you reading the book via PDF, epub, or some other means? And what device are you using to read it? That is an internal link, and I use them sparingly because I honestly don't know how they work across all the different e-readers and platforms.

This is on LeanPub on my laptop in Firefox.

@silvanob - Aha, so that's an internal book reference, and really it should render in ePub, PDF, and mobi correctly—it looks like you may have found a bug in LeanPub's online book viewer.
I just tested the link in Preview on my Mac, and it worked correctly there:

As it's not something I can fix, I'd recommend following up by emailing LeanPub support if it's still an issue. Thanks!


docs: add more dao project

thanks for your contribution. add wechat DappLearning to join our developer group


No Items scraped - Portia - Download as Scrapy project

Hello,
I recently got Portia up and running on my windows 10 box using docker. Currently, I can create a portia project  using the web interface and run it at the commandline and everything works great and I can export my scraped items to a json file.
Problem is when I download the portia project using the feature under the web interface "spider -> download as scrapy", the scrapy version doesn't return any items when I run it, all I get is "Debug Crawled (200)...", but no items are actually scraped.
I was thinking maybe I forgot to click something in the web interface or change a setting in my scrapy settings file, I'm at a loss as to why this isn't working; especially, since it works in Portia but not in scrapy.
Also, I tried deploying the portia project files to my scrapyd server, got the same thing, "Debug Crawled (200)..." but nothing scraped.
Any ideas what might be missing???
S.

Did you try running the other download version? You can run that one using the command:
docker run -i -t --rm -v <PROJECTS_FOLDER>:/app/data/projects:rw <OUPUT_FOLDER>:/mnt:rw -p 9001:9001 scrapinghub/portia \
portiacrawl /app/data/projects/PROJECT_NAME SPIDER_NAME -o /mnt/SPIDER_NAME.jl

If you upload your project here (the one in the folder) I'll try to see why it isn't generating a scrapy project correctly.

Hello ruairif,
Thanks for responding. Yes, I can run the above code and export. Although, since I'm using windows 10 and not an Ubuntu environment, some things are slightly different. Actually, I'm working on setting up a dual boot on my laptop because Windows 10 isn't proving a good environment for this type of work.
Anyway, here's my code for scraping in Portia on windows 10:
docker run -i -t --rm -v /c/Users/asus1/documents/portiaprojects/projects:/app/data/projects:rw -v /c/Users/asus1/documents/portiaprojects/exportfeed:/mnt:rw -p 9001:9001 scrapinghub/portia /app/slybot/bin/portiacrawl /app/data/projects/proxySite1 spys.ru -o /mnt/spys.ru5.json
You'll notice that I had to add two -v arguments, since windows cmd line didn't accept just the -v argument by itself. Either way, the outcome is the same, I can run portia on cmd line and scrape a site and my project files and output json (scraped items) are stored locally on my harddrive.
To give you some background, I'm attempting to scrape a website that contains a list of free proxies. My intention is to use portia to quickly create scrapy projects and run them through scrapyd server, that way I can schedule a batch process to do this on a daily basis. I also way to use portia as a tool to create quick scrapy projects.
You'll have to excuse me, I just got docker installed last light and portia all setup, so I'm new to this docker stuff. Also, I haven't use git that much, except to clone projects and test them out.
How would you like me to upload my project?
Thanks again,
Stephen

Hello,
Well I tried the "download as scrapy" from portia using a different website and search criteria and everything worked smoothly, so I can only assume that I incorrectly setup my original portia project, and that the "Download as scrapy" project is working as expected.
Thanks,
S.

Hello,
Tried it again with a different website, and the feature "Download as Scrapy" project worked. So it must be something I'm doing. Will keep trying to figure out where I went wrong, but it looks like it's human error this time.
Thanks,
S.

Hello ruairif,
Ok, did some reading and testing. It appears that there's something odd going on when it comes to portia and how it extracts the "Download as scrapy" project files.
Here's what I know so far.

When I create a project in Portia and run it on cmd line, it extracts the items I selected and works:
docker run -i -t --rm -v /c/Users/asus1/documents/portiaprojects/projects:/app/data/projects:rw -v /c/Users/asus1/documents/portiaprojects/exportfeed:/mnt:rw -p 9001:9001 scrapinghub/portia /app/slybot/bin/portiacrawl /app/data/projects/proxyCrawl spys.ru -o /mnt/spys.json

Now when I "download as scrapy" and look at the main spider script in the project file, I noticed the following:
 items = [      [          Item(              PortiaItem,              None,              u'table:nth-child(3) > tbody > tr:nth-child(4) > td > table > tbody > tr:nth-child(n+4):nth-child(-n+33), table:nth-child(3) > tbody > tr:nth-child(4) > td > table > tr:nth-child(n+4):nth-child(-n+33), table:nth-child(3) > tr:nth-child(4) > td > table > tbody > tr:nth-child(n+4):nth-child(-n+33), table:nth-child(3) > tr:nth-child(4) > td > table > tr:nth-child(n+4):nth-child(-n+33)',              [                  Field(                      u'ipAddress',                      '',                      []),                  Field(                      u'type',                      '',                      [])])]]
As you can see the items ipaddress and type have no annotations set, so I think the annotations are getting losts somewhere down the line.

Ok, I've attached a copy of my project, please take a look at it when you can.
Thanks,
Stephen
proxyCrawl.zip
proxyCrawl_download_as_scrapy.zip

It looks like due to the page structure (nested tables and strange offsets) portia2code is having trouble creating the correct selectors for that page. I don't have time to make it handle them correctly at the moment so if you could make a PR so it can handle the structure that would be great

Hey ruairif,
Although I'd love to help, I'm really new to the python language (2 months in). I'm afraid that this issue will have to be postponed to a later time.
Either way, thank you for your help. It's appreciated and the work you guys are doing here is totally awesome. I hope in the near future my python/json skills are better, so I can contribute to the great work that's being done here.
Cheers,
Stephen

bonjour
je suis nouveau sur scrapinghub portia donc je l'utilise pour la boite ou je bosse sauf qu'au paravent je ferais sans problème mes webs scraping avec portia en ligne  sauf qu'a présent lorsque je crée mon spyder et que je sélectionne mes ITEMS il m'affiche une autre information non sélectionner et lorsque je lance mon spyder il ne revoit ou ne scrappe rien en retour
merci d'avance


stack overflow in quantizer_wu.rs

thread 'main' has overflowed its stack
use material_colors::{
    image::{FilterType, ImageReader},
    theme::ThemeBuilder,
};

#[tokio::main]
async fn main() -> Result<(), reqwest::Error> {
    let image = reqwest::get("https://picsum.photos/200/300")
        .await?
        .bytes()
        .await?
        .to_vec();

    let mut data = ImageReader::read(image).expect("failed to read image");

    data.resize(128, 128, FilterType::Nearest);
    let theme = ThemeBuilder::with_source(ImageReader::extract_color(&data)).build();

    Ok(())
}

Cargo.toml
[dependencies]
material-colors = { version = "0.4", features = ["image", "std", "serde"] }
reqwest = "0.12.5"
tokio = { version = "1.39.2", features = ["full"] }

[dev-dependencies]

Originally posted by @tehrelt in https://github.com/Aiving/material-colors/issues/31#issuecomment-2261336034

Can you try to reproduce this in the version from the master branch?
P. S. You don't need to specify std in features, it is enabled by default.

it's works from master branch

Good to hear!
In that case, I'll release 0.4.1 when I'm done dealing with `no-std'


auto increase FD limit

Summary of changes

Changes introduced in this pull request:

this automatic soft FD limit increase should prevent issues like here forest-mainnet_2023-08-09T19_50_17_forest.txt

2023-08-09T19:50:39.596081Z ERROR forest_filecoin::metrics::db: Calculating DB size for metrics failed: Error { kind: Io(Os { code: 24, kind: Uncategorized, message: "Too many open files" }), message: "Io error. Look inside err_kind for more details." }
2023-08-09T19:50:40.620353Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)
2023-08-09T19:50:41.621565Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)
2023-08-09T19:50:42.622454Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)
2023-08-09T19:50:43.624790Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)

Note that the value is a bit arbitrary, and we may need to increase it further.
Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@LesnyRumcajs What about the subcommands in forest-tool? Do we need to increase fds here as well?

@LesnyRumcajs What about the subcommands in forest-tool? Do we need to increase fd's here as well?

Those commands do not use ParityDB.

@LesnyRumcajs What about the subcommands in forest-tool? Do we need to increase fd's here as well?

Let's do it lazily - if any of forest-cli or forest-tool commands fail on low FD, we'll investigate whether it makes sense (might be a bug), and if it does, we'll increase it then. Does it sound good @elmattic ?

@LesnyRumcajs What about the subcommands in forest-tool? Do we need to increase fd's here as well?

Let's do it lazily - if any of forest-cli or forest-tool commands fail on low FD, we'll investigate whether it makes sense (might be a bug), and if it does, we'll increase it then. Does it sound good @elmattic ?

Sure.


System has not been booted with systemd as init pid 1 problem

How to fix it

No way to fix it, there's no systemd in docker.

😭
On Tue, 21 May, 2024, 3:37 am DraGoN, @.***> wrote:

No way to fix it, there's no systemd in docker.
—
Reply to this email directly, view it on GitHub
https://github.com/ysdragon/Pterodactyl-VPS-Egg/issues/25#issuecomment-2121294437,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCWZXPODNM3JK43PBWSBKQTZDJXZRAVCNFSM6AAAAABIAEMVNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGI4TINBTG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add basic support for Tradfri switches

Description:
IKEA has released new wall switches. Support was added to pytradfri in 5.6.0 and the purpose of this PR is to add support to Home Assistant.
Related issue (if applicable): fixes #
Fixes #16608
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#6392
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

I looked into the tests folder earlier today and it looks like the tests are all not really relating to what the component does, merely how it's setup within Home Assistant. What are the general guidelines here?

We have excluded these modules from coverage so tests are not required except for config flow. I think it's ok to not add tests for this platform.


[RFE] Allow users to override Release on propose_downstream and pull_from_upstream

This is an offshoot of #1879.
The user might want a specific form of Release to be written, e.g.:

Release: 1%{?dist}
Release: 0

Since we already have release_suffix, I think we can just reuse that as the value to be written in Release

So this would be a static value that would be always set in Release: when syncing the release?
As for the implementation, reusing the release_suffix could create confusion so I would go with a new configuration option.

@LecrisUT Do you know of a project that would benefit from this feature?


onRowClick not working in iPhone browser.

onRowClick is works well in the PC, Android, but not working iPhone.
No calling action but selecting the row.(highlighted the row).

@AdminDev826 have you ensured that your TR has cursor: pointer set in the CSS? There is a long standing (first reported in jQuery back in 2010) 'known bug' with iOS Safari where click events aren't triggered. The simplest workaround is to add cursor: pointer to the tr.
If you're still having difficulty then I'll need more information about your app (ember version, ELT version, sample code etc.). I use ELT in a few production apps which have onRowClick working happily on iOS Safari so I'm sure we can get it working for you!

Hello @fran-worley
Thank you for your kind message.
I've added 'cursor: pointer;but still no luck.. I am going to useonRowDoubleClick`..

@AdminDev826 if you need more help I'll need code samples and version numbers... 😃

{{#t.body onRowDoubleClick=(action 'onRowClick') as |body|}}
      {{#if isLoading}}
        {{#body.loader}}
          {{table-loader}}
        {{/body.loader}}
      {{/if}}
    {{/t.body}}

onRowClick(row, ev) {
      // Prevent transition if dropdown clicked
      if (!$(ev.target).hasClass('form-control') && !$(ev.target).hasClass('x-option')) {
        localStorage.setItem("detailed_tab", "1");
        this.loading.setLoading(true);
        this.router.transitionTo(this.route, [row.get('content.id')])
          .finally(() => {
            this.loading.setLoading(false);
          });
      }
    },

"ember-light-table": "^1.13.2",

I think I may need to add selectOnClick=false option also..

Finally, it works. :D
Thank you. @fran-worley


[FR] WebUSB requestDevice should throw special error for no device found + small doc issue

Feature Description:
I made a ADB (Android Debugging Bridge) implementation for browsers using WebUSB API. Now I want to make that compatible with this package for using in Node.js environment.
When no device found from requestDevice, browser throws an DOMException with name: "NotFoundError", so I now use e instanceof DOMException && e.name === "NotFoundError" to detect such error. But in this package, it only throws a normal Error.
https://github.com/node-usb/node-usb/blob/f3ced8398d4214ba1c7d05ca129aba1d5f6e21f8/tsc/webusb/index.ts#L194-L196
I know there aren't many other Errors would be thrown from here, but I still hope I can handle them precisely. Node.js has DOMException on globalThis since version 17 (https://nodejs.org/api/globals.html#domexception). node-domexception NPM package can retrieve the hidden DOMException class since Node.js 10.0.5.  A normal Error with a name: "NotFoundError" field would also be fine.
Plus a doc issue
README says:
https://github.com/node-usb/node-usb/blob/f3ced8398d4214ba1c7d05ca129aba1d5f6e21f8/README.md?plain=1#L135-L141
device should never be falsy, an Error will be thrown in this case.

yes, this is one of the things in my todolist. this package should ideally throw DOMException with name set as per the spec.
as you indicated, we'd need some kind of polyfill to get access to DOMException for Node.js < 17.
I don't think I'll have time to implement this myself, though :pensive:

node-domexception package doesn't support Node.js 10.x https://github.com/jimmywarting/node-domexception/issues/1
How about copy-pasting the source code into this package?

Thanks for your feedback @yume-chan
Please see https://github.com/node-usb/node-usb/pull/575
DomException is declared in lib.dom.ts so seems to just work?

DomException is declared in lib.dom.ts so seems to just work?

A Node.js package shouldn't use lib.dom.d.ts. A type exists in type definition doesn't mean it exists at runtime. DOMException was exposed in Node.js version 17 so it doesn't work in older versions.

I've updated the PR to stick with standard Errors for now, but added the correct name for checking.

It's OK for me.

Ok, I've merged it. I'll close this issue for now, we can reopen it if we need to consider implementing the DomException.


[WIP] Propagate local Devfile changes to the UI

Add '/notifications' endpoint for subscribing to server-sent events
Generate server and client
Try implementing the notification service endpoint
Revert "Try implementing the notification service endpoint"
Revert "Generate server and client"
Revert "Add '/notifications' endpoint for subscribing to server-sent events"
Implement 'GET /notifications' SSE endpoint and logic to detect and notify Devfile changes
Leverage EventSource to subscribe to Server Sent Events
Add Preference Client to apiserver CLI
Add E2E test case
Generate static UI

What type of PR is this:
/kind feature
/area dev
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6902
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

Add '/notifications' endpoint for subscribing to server-sent events

I would prefer to add a watch parameter to the GET /devfile endpoint, to have an interface similar to the Kubernetes API's one.
I had created this PoC a while ago to get events from a watch K8s API's endpoint: https://github.com/feloy/kubernetes-explorer/blob/master/src/app/services/kubernetes.service.ts

Add '/notifications' endpoint for subscribing to server-sent events

I would prefer to add a watch parameter to the GET /devfile endpoint, to have an interface similar to the Kubernetes API's one.
I had created this PoC a while ago to get events from a watch K8s API's endpoint<EMAIL_ADDRESS>
For the record, and as discussed together earlier today, the main reason for having this /notifications endpoint is to have a single EventSource connection from the client side that will receive any event. This is because browsers enforce a pretty-low limit on the number of persistent connections per domain. We might be quickly limited if we were to keep a permanent connection per type of event.


Automatic Static Optimization breaks with next-translate on pages with dynamic routes

Issue
By default, Next.js statically optimize pages if they don't use getServerSideProps and getInitialProps
From their doc :
Next.js automatically determines that a page is static (can be prerendered) if it has no blocking data requirements. This determination is made by the absence of getServerSideProps and getInitialProps in the page.

This works on pages with or without dynamic routes (routes with query params).
However, this behavior is not kept when using next-translate.
Pages without dynamic routes are still statically optimized, but pages with dynamic routes are rendered with server-side rendering.
Which means that a route that doesn't fetch data, or only do it client-side, will compile the pages on each request, for nothing.
This issue exists on every version starting with v1 from what I've seen (1.0.0, 1.0.1, and the latest 1.0.2 canary versions)
Expected behavior
Pages not using getServerSideProps or getInitialProps should always be statically optimized
Reproduction

clone this repo (based on the with-next-translate template)
check that the pages/[id].js page does not use getServerSideProps or getInitialProps
run yarn build
index.js is statically optimized, [id].js is not :

Ok, reading https://github.com/vinissimus/next-translate#how-are-translations-loaded I realize that this might be expected behavior.
However, I'd like to point 2 things :

The difference of behavior between vanilla Next.js and Next.js with next-translate on this point is very confusing. I feel like we should at lease get SSG by default on pages without getServerSideProps or getInitialProps, even with dynamic routes
Even knowing how translations are loaded, I don't how to to avoid SSG in my use (pages with static skeletons and client-side queries). I feel like this is a valid use case and there should be some option for me to get an precompiled page shell with translations

What do you think about all this ?

Ok, reading https://github.com/vinissimus/next-translate#how-are-translations-loaded I realize that this might be expected behavior.
However, I'd like to point 2 things :

The difference of behavior between vanilla Next.js and Next.js with next-translate on this point is very confusing. I feel like we should at lease get SSG by default on pages without getServerSideProps or getInitialProps, even with dynamic routes
Even knowing how translations are loaded, I don't how to to avoid SSG in my use (pages with static skeletons and client-side queries). I feel like this is a valid use case and there should be some option for me to get an precompiled page shell with translations

What do you think about all this ?

@clementoriol  In these pages, you need to define the  getStaticPaths manually, next-translate can't do it for you. If you define the getStaticPaths, then next-translate will use getStaticProps by default.

@clementoriol  In these pages, you need to define the  getStaticPaths manually, next-translate can't do it for you. If you define the getStaticPaths, then next-translate will use getStaticProps by default.

But sometimes using getStaticPaths is not an option. If you render public, SEO pages, sure, fetch all the slugs in getStaticPaths.
But if you're rendering a private page like some payment dashboard pages, with multiple dynamic params in the route, sometimes you just want to get a static page shell and do the queries from the front-end.
Next.js allows that by default, it just precompiles the shell and you know the query params will be empty on the first render, and then rehydrated client-side.
This is an awesome feature that allows to render a page skeleton quickly from vercel cdn, then when the client gets the params to fetch the data client-side.
It's a bit of a bummer to see this gone with next-translate.
Don't you think there's a way we could get closer to this default behavior ?

But sometimes using getStaticPaths is not an option. If you render public, SEO pages, sure, fetch all the slugs in getStaticPaths.
But if you're rendering a private page like some payment dashboard pages, with multiple dynamic params in the route, sometimes you just want to get a static page shell and do the queries from the front-end.
Next.js allows that by default, it just precompiles the shell and you know the query params will be empty on the first render, and then rehydrated client-side.
This is an awesome feature that allows to render a page skeleton quickly from vercel cdn, then when the client gets the params to fetch the data client-side.
It's a bit of a bummer to see this gone with next-translate.
Don't you think there's a way we could get closer to this default behavior ?

Next-translate uses a loader to load the translations for each locale. And even if you don't have one, it needs one. And this is what the Webpack loader does. In dynamic pages is not possible to use getStaticProps without getStaticPaths, this is why (by default) it uses getServerSideProps to load the translations. But again, you can just write the getStaticPaths and it's going to use the automatic static optimization for dynamic pages.
in versions prior to 0.19 of next-translate we used a workaround to compile under _pages a static structure, however, since version 10 of Next.js we opted to adapt to the new i18n routing feature of Next.js. This change provided many good things, but this one, in particular, is a bit of a setback to deal with.

Next-translate uses a loader to load the translations for each locale. And even if you don't have one, it needs one. And this is what the Webpack loader does. In dynamic pages is not possible to use getStaticProps without getStaticPaths, this is why (by default) it uses getServerSideProps to load the translations. But again, you can just write the getStaticPaths and it's going to use the automatic static optimization for dynamic pages.
in versions prior to 0.19 of next-translate we used a workaround to compile under _pages a static structure, however, since version 10 of Next.js we opted to adapt to the new i18n routing feature of Next.js. This change provided many good things, but this one, in particular, is a bit of a setback to deal with.

@aralroca Thank you for taking the time to detail this :) This is way more clear to me now.
I'll be closing this, hopes this serves as reference for people confused about this behavior.
I guess the best approach for this use case would be to use :
export const getStaticPaths = async () => {
  return {
    paths: [],
    fallback: "blocking"
  };
};

or even
export const getStaticPaths = async () => {
  return {
    paths: [],
    fallback: true,
  };
};

But in this last case locales won't be available, so you have to make sure your loading skeleton doesn't display any.

@aralroca Thank you for taking the time to detail this :) This is way more clear to me now.
I'll be closing this, hopes this serves as reference for people confused about this behavior.
I guess the best approach for this use case would be to use :
export const getStaticPaths = async () => {
  return {
    paths: [],
    fallback: "blocking"
  };
};

or even
export const getStaticPaths = async () => {
  return {
    paths: [],
    fallback: true,
  };
};

But in this last case locales won't be available, so you have to make sure your loading skeleton doesn't display any.

@clementoriol Why are locales not available in the last case you mentioned (with fallback: true)?

@clementoriol be careful with this approach, if you have for example a dynamic page, you will be asking nextjs to create a cache version of EACH page with a unique id..
that means, for example, if you have IDs of 10,000 items, every time an item is visited, a page is created and cached, until you have 10k pages...
if you dont have that much data its fine, but just a thought for others

@EyadAlghamdi   so how did you manage to only load the translation necessary for the dynamic page?


SPIR-V to MSL: attempt to assign array element to the array itself (out.gl_ClipDistance)

Attempting to compile this SPIR-V shader to MSL fails with:
Generated MSL failed a validation compilation: (Error code 3):
program_source:443:25: error: array type 'float [1]' is not assignable
    out.gl_ClipDistance = out.gl_ClipDistance[0];
    ~~~~~~~~~~~~~~~~~~~ ^

since commit 3d4daab29dd07d531cb309a6db85e87bdc4db220.
Previous commit 44c3333a1c315ead00c24f7aef5fa8a7ccf49299 works.
This affects MoltenVK as well as MoltenVKShaderConverter (which is what I'm using to convert the shader).

Fixed in PR #1927.


Omnicore ping/socket timeout  |  frozen ?

Running into some weird ones with omnicore.  updated to (0b6ff8818983a06146bc75d620755ba831ee04d3)   and recompiled/rebuilt  with a make clean restarted with - -startclean  and it appears omnicore is freezing/timing out after a certain point:    this is the last lines i’m seeing in console
2015-08-27 00:17:02 parseTransaction(block=371317, 2015-08-24 13:58:50 idx= 551); txid: 009867|
3141a07a444c2956f346594d5793206291139c1fb1c695aa62ce7ade16                                    |
2015-08-27 00:17:02     ------------------------------                                        |
2015-08-27 00:17:02              version: 0, class B                                          |
2015-08-27 00:17:02                 type: 22 (DEx Accept Offer)                               |
2015-08-27 00:17:02             property: 1 (MSC)                                             |
2015-08-27 00:17:02                value: 5.00000000                                          |
2015-08-27 00:17:02 DEx_acceptCreate: found a matching sell offer [seller: 1GZukjGe682vhi9N6rD|
WqqGVKmZ6mKha1i, buyer: 1QKeexfVVSVoiDvsPxtpv8Y3rVS7rFztLc, property: 1)                      |
2015-08-27 00:17:02 update_tally_map(1GZukjGe682vhi9N6rDWqqGVKmZ6mKha1i, 1=0x1, -500000000, tt|
ype=1): before=500000000, after=0                                                             |
2015-08-27 00:17:02 update_tally_map(1GZukjGe682vhi9N6rDWqqGVKmZ6mKha1i, 1=0x1, +500000000, tt|
ype=2): before=0, after=500000000                                                             |
2015-08-27 00:17:02 CMPAccept(500000000): d77c14d62451a46d7f7c82f34a26f4bc238c8607c14443a3828a|
3d11e7c5a7aa                                                                                |
2015-08-27 00:17:02 recordTX(0098673141a07a444c2956f346594d5793206291139c1fb1c695aa62ce7ade16,|
valid=YES, block= 371317, type= 22, value= 500000000)                                        |
socket receive timeout: 1201s                                                                 |
socket receive timeout: 1201s                                                                 |
ping timeout: 1200.037091s                                                                    |
socket receive timeout: 1201s                                                                 |
ping timeout: 1200.037845s                                                                    |
ping timeout: 1200.015288s                                                                    |
socket receive timeout: 1201s                                                                 |
ping timeout: 1200.038484s
restarting (with or without start clean) seems to generate the same result (with both appearing to restart parsing mp tx’s from scratch) any insights into what to do next would be appreciated

Hi @achamely,
I'm going to try to reproduce this issue. Can you please post your bitcoin.conf, and the last lines of debug.log, as well as omnicore.log? Please remove all sensitive information (like RPC connection!). Which OS do you use?

So far I was not able to reproduce the issue and I successfully parsed all transactions with the a build based on the current tip.
Does it always stop with the transaction you referred to, or just during the parsing in general?

@dexX7 i think the issue appears to be related to the rpc calls when its loading.  I disabled all remote query programs and restart omnicore again and it was able to finish parsing and no longer displays the timeout messages and responds to rpc commands as expected.   Not sure entirely but for now it seems the issue has disappeared so i'm going to close this

Ah, thanks for the quick update and keeping me in the loop. Great to hear the issue is resolved for you.
It's a bit disturbing though. During the initialization phase, including the initial parsing, all RPC requests are responded to with JSON exceptions (error code -28), and this is pretty shielded from the rest. Please let me know, if you uncover something new. :)

yea, it may have just been a coincidence that disabling those other things first allowed it to work or it could have been a network thing that just worked itself out. either way i'll keep an eye on it


shelby gluck chrome ext

https://www.youtube.com/watch?v=qLSOHH68vWw&feature=youtu.be
Demo of my extension as a public link on youtube.


Long error messages should be cut in production

As noted by @blesh in https://twitter.com/BenLesh/status/727659194711597056, we should gate long error messages:
if (process.env.NODE_ENV === 'production') {
  throw new Error('short message');
} else {
  throw new Error('long message');
}

This way Uglify can dead-code eliminate the long version in the minified builds.

Makes sense. I was wondering if uglify does this by default

@gaearon you mean DefinePlugin / Envify? not sure Uglify does such thing

Also, for those like me logging all production errors in GetSentry, it's better to not do like React and still have meaningful errors in production, otherwise what we log in GetSentry is useless. A short message or an error code is relevant, but a generic "redux saga error" would be bad
See also https://github.com/facebook/react/issues/2686

Yeah, I meant that this project already envifies with DefinePlugin so adding a condition is enough to get this eliminated with Uglify.

How it usually works: DefinePlugin/envify just replace process.env.NODE_ENV with a string. However it is Uglify that actually removes if ('production' !== 'production') blocks as dead code.

@gaearon Thanks for the clarification. I'll add this in the next patch
@slorber
Agree but I think in cases like the one in the tweet above it's not necessary. Because the errors are related to the app startup itself. It's very unlikely that the app will be shipped in production with that type of errors.

The one important thing is to how consistent throwing behavior in dev and prod. Giving a shorter message in prod is fine, but throwing only in dev is problematic because it makes app behaves inconsistently.


Update MainActivity.java

Fixed profile picture ID. The cover photo needs to be converted into an image view. I don't want to mess up your layout though.

I've done some debugging and the cover photo not appearing seems to be unrelated to the ImageView. Thanks for your help though.


[gbc] Temporarily pin derive dependency to < 2.6

gbc-tests no longer builds with derive 2.6 or later. While we
investigate that problem, pin the dependency to < 2.6 to keep gbc-tests
building.
Mitigates https://github.com/Microsoft/bond/issues/342

CI Failures unrelated. Looks good.


Send power on until successful

Feature request...
Can you have the power on packets sent continuously until it receives a successful reply?
I see some people having problems likely due to intermittent activity/connection/ping of their Xbox. I’ve tested this on my network and I usually get 50% or less ping reply when my Xbox is off for more than a minute. I think this may be common amongst those with a mesh WiFi network. Even when hard wired. Still investigating my router settings to help with that.
Thanks!

I just got a reply in a Xbox-smartglass issue I posted with this same issue. It sounds like this request is doable. I'm guessing it would be a similar "fix" here?

NIIIICE!!!  THANKS!


fix wrong colors when editor findMatchForeground is not defined

fixes #29091
When editor.findMatchForeground is not defined, it still overwrites the token colors. This PR changes the css to only enable the  editorFindMatchForeground css when editor.findMatchForeground is defined.
https://github.com/microsoft/vscode/assets/23744935/b250115f-0e8f-4095-9457-28a7171a5e95

Thanks for the fix!


Fatal Exception: java.lang.NullPointerException: Action.act(float) on a null object reference

Issue details
Crash appears while rendering screen.
Reproduction steps/code
StageScreen
public void render(float delta) {
        Gdx.gl.glClear(16384);
        if(null != this.stage) {
            this.stage.act(delta);
            this.stage.draw();
        }

    }

BaseScreen
 @Override
    public void render(float delta) {
        super.render(delta);
        if (null != fpsLabel) {
            fpsLabel.setText(String.valueOf(Gdx.graphics.getFramesPerSecond()));
        }
    }

BaseGame
public void render() {
        if(this.screen != null) {
            this.screen.render(Math.min(Gdx.graphics.getDeltaTime(), 0.033333335F));
        }
    }

Version of LibGDX and/or relevant dependencies
gdxVersion = '1.9.6'
Stacktrace
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.badlogic.gdx.scenes.scene2d.Action.act(float)' on a null object reference
       at com.badlogic.gdx.scenes.scene2d.actions.RepeatAction.delegate(SourceFile:29)
       at com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.act(SourceFile:43)
       at com.badlogic.gdx.scenes.scene2d.Actor.act(SourceFile:96)
       at com.badlogic.gdx.scenes.scene2d.Group.act(SourceFile:49)
       at com.badlogic.gdx.scenes.scene2d.Group.act(SourceFile:49)
       at com.badlogic.gdx.scenes.scene2d.Stage.act(SourceFile:221)
       at ....StageScreen.render(SourceFile:98)
       at ....BaseScreen.render(SourceFile:71)
       at ....BaseGame.render(SourceFile:97)
       at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(SourceFile:459)
       at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1583)
       at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)

Please select the affected platforms

[x] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[ ] MacOS

Provided code can't cause your crash. Somewhere in your code, you must be adding RepeatAction with null action to repeat. This could be caused by releasing the RepeatAction back to its pool without actually removing it from the Actor. (Or maybe you are adding single RepeatAction instance to multiple Actors).
Anyway, this does not appear to be a libGDX problem, so it would be more suited for the forum or IRC.

Looks like one of the actor has been added to the Scene2d stage without having been instantiated.
This would happen if you have something like
Label fpsLabel;
stage.addActor(fpsLabel);

instead of
Label fpsLabel = new Label();
stage.addActor(fpsLabel);

Hard to say without the full code...

@julienvillegas Action.act(float) call threw NPE, so the null object in question is an Action, not an Actor. (line of NPE)

oups! good point

@Darkyenus, thank you for the clarification.


Further HasMany tests & Model.build() correctly remembers relationship

Codecov Report
Patch coverage: 79.51% and project coverage change: +0.02 :tada:

Comparison is base (142fcb6) 84.58% compared to head (26788e5) 84.61%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   84.58%   84.61%   +0.02%
==========================================
  Files         124      124
  Lines       10966    11004      +38
  Branches     1367     1371       +4
==========================================
+ Hits         9276     9311      +35
- Misses       1661     1664       +3
  Partials       29       29

Impacted Files
Coverage Δ

<EMAIL_ADDRESS>55.07% <0.00%> (+0.78%)
:arrow_up:

<EMAIL_ADDRESS>84.12% <50.00%> (-0.45%)
:arrow_down:

<EMAIL_ADDRESS>85.49% <92.59%> (+0.50%)
:arrow_up:

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

<EMAIL_ADDRESS>82.78% <100.00%> (ø)

<EMAIL_ADDRESS>100.00% <100.00%> (ø)

<EMAIL_ADDRESS>80.29% <100.00%> (ø)

<EMAIL_ADDRESS>99.10% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Publication]: Mobile view: Admin: Link "Go to publication view" does not open Prompt's view pop-up if side Prompts list panel is colapsed

EPAM AI DIAL chat version
0.12.0
How to reproduce
Steps:

admin click on any publish request for prompt on mobile device
admin collapse side prompt list panel
click "Go to publication view"

Actual result
Actual result: prompt's view pop-up is not shown. it becomes visible only if click on prompt list button
https://github.com/epam/ai-dial-chat/assets/77381071/12893c7d-8c24-4daf-ac7f-68b499d6a932
Note : reproducible on desktop view
Note: related issue #1296
Expected result
Link "go to publication view " should open prompt view pop-up
Confidential information

[X] I confirm that do not share any confidential information

https://github.com/epam/ai-dial-chat/assets/77381071/7c40bc55-1cd0-4f56-adeb-55c375cd8e65
View pop up is not open when collapse prompt side panel, just side panel is open
Steps:

click on Prompt publication request
close Prompt side panel
click on "go to publication review" link

Actual result: Prompt side panel is open, no prompt view pop-up displayed
Expected result: need to open Prompt view pop-up on click "go to publication review" link

Verified on STG - fixed


Route Group as appending to routes without an as.

If you define a route i.e a Post route without an as and you wrap it in a Route::group if you use as it appends the as to that as well, shouldn't it ignore those?
Route::group(['as' => 'test.']) {
    Route::get('test', ['as' => 'index', 'uses' => 'Controller@method']);
    Route::post('test', 'Controller@postMethod');
}

Now it will output test.index and test. for the second.

This has come up multiple times before, and this is the expected behaviour.


[project] add 'cache/in-memory'

Add the cache/in-memory crate, named dawn-cache-inmemory. This is an in-memory, (mostly) immutable cache with no public locking.

The initial implementation is committed, it just needs:

[ ] finishing the last few events (presence update, reaction remove, reaction remove all)
[ ] looking over and making sure all relevant data is removed on deletes, relations are mapped on inserts, etc

Closing this one out and making individual issues for those features


Missing required parameter 'client_id' when do deploy to server

when i try run at local it can show like this

and i try deploy to server , this is the message i've got, already change in Credentials page

is there something i need change if i wanna deploy ?

Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


JobTrigger.ExecutionWindowTrigger jobTrigger = Trigger.executionWindow(0, periodicity);
Change to JobTrigger.ExecutionWindowTrigger jobTrigger = Trigger.executionWindow(periodicity - 10, periodicity);
this is the windows in between service will execute.

I am also getting the same issue, Please provide the appropriate solution. It should start the job within the execution window. why it's taking more time?
Strange thing is few days ago I was set the execution window [10, 11] (in seconds), and that was working quite fine. I mean job become start within 10 to 13 seconds. But now it is being started after 30 seconds. Thats very inconsistent.
My use case is, I want to run a job periodically after every 10 seconds, is the right framework which I am using to schedule the periodic jobs?

alisolutions, +1

@laviua
I found the following solutions, if you want to run a job exactly after certain time like within 5 seconds.

Go with evernote/android-job and schedule a non-periodic job and then recursively reschedule a new job within the executed service. Also set the execution window without any tolerance, like if you want to run a job after each 5 seconds then set the execution window [5, 5].

Simply go with AlarmManager API. That will work accurately, but of course that will consume more battery.

The issue I found with FireJobDispatcher is, its using JobSchedule and Android has clearly documented that minimum window for the periodic job is 15mins.
Let me know if you need any other info.

M. Ali

@alisolutions
I decided to use HandlerThread with Handler(looper)
it can schedule Runnable with a short time period. in my case it can be 500ms or 5sec
Thanks for your solution

i'm sticking with the AlarmManager api in order to execute an exact job, nevertheless is important to be aware of battery consumption. @laviua i'm curious about your use case, why you need to run a job in some short period of time? maybe if you are performing a polling to a web service, the solution is using push notifications.

use case is polling sensors activity

On android 7.1 i cant able to execute job using evernote . Since the app has been swiped off from recent the background job stops and no service running in android 7.1.1.Please let me know any one solved this issue

the way to go now is using the work manager library from android architecture components, there's no point to keep this thread

but work manager support only minimum duration of 15 minute


October webinar

October webinar landing page.

Won't merge as suspect you'll want to time this with other content pushes on socials.

I actually need it live to do the social media so I merged it.


Runtime Manager does not display (no module autoware_msgs.msg)

Hi I am kinda new to python and linux. My system is Ubuntu 16.04
Here is the problem, when I try ./run to test out Autoware, the process manager doesn't display. And I found the issue #919 , which is similar with my problem. However, when I run command "source devel/setup.bash; roscore & rosrun runtime_manager runtime_manager_dialog.py", iit reports "ImportError: No module named autoware_msgs.msg". I think my question is clear, where should I install/find out the module?
Thanks

Actually, when building Autoware, this issue has happend:
CMake Error at /opt/ros/kinetic/share/catkin/cmake/assert.cmake:20 (message):
Assertion failed: file
'~/Autoware/ros/src/msgs/autoware_msgs/msg/autoware_msgs.msg'
does not exist.  Message: message file not found

@milanow Did you compile Autoware using catkin_make_release before running run?

@kitsukawa I have the same issue. When I try to run the runtime_manager, I get the error: ImportError: No module named autoware_msgs.msg. When I run catkin_make I get a CMake Error, it says: Could not find Glew (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY). I checked #682, but I have python installed (it doesn't seem to be the problem)

@lijecaru would running the following and then recompiling work?
sudo apt-get install libglew-dev

Thank you @jraclarke. I ran the command and then use catkin_make in the directory ~/Autoware/ros, but I get a Cmake errror (couldn't find a package configuration file provided by "module_comm_msgs"). If I try to run the Runtime manager again, I get the same error as before: No module named autoware_msgs.msg.
Should I install Autoware again somehow? What else could I have missed?

@lijecaru
I guess you did not clone submodule .
please try git submodule update --init and retry catkin_make_release

Hi. I am actually facing the exact same issue.
I am not able to see the Runtime Manager and I get the same error message:
Command:    cd $HOME/Autoware/ros/; source devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py
Message: Traceback (most recent call last):
File "/home/autoware/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 59, in
from autoware_msgs.msg import ConfigSsd
ImportError: No module named autoware_msgs.msg
The catkin_make_release was not run without any problems. I still get :
CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by
"jsk_recognition_msgs" with any of the following names:
jsk_recognition_msgsConfig.cmake
jsk_recognition_msgs-config.cmake

Add the installation prefix of "jsk_recognition_msgs" to CMAKE_PREFIX_PATH
or set "jsk_recognition_msgs_DIR" to a directory containing one of the
above files.  If "jsk_recognition_msgs" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
msgs/autoware_msgs/CMakeLists.txt:4 (find_package)
-- Could not find the required component 'jsk_recognition_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"jsk_recognition_msgs" with any of the following names:
jsk_recognition_msgsConfig.cmake
jsk_recognition_msgs-config.cmake

Add the installation prefix of "jsk_recognition_msgs" to CMAKE_PREFIX_PATH
or set "jsk_recognition_msgs_DIR" to a directory containing one of the
above files.  If "jsk_recognition_msgs" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
msgs/autoware_msgs/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/autoware/Autoware/ros/build/CMakeFiles/CMakeOutput.log".
See also "/home/autoware/Autoware/ros/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have tried all the above suggestion any nothing changed.
Can anyone help my here?

try sudo apt-get install ros-kinetic-jsk-recognition-msg

try sudo apt-get install ros-kinetic-jsk-recognition-msg

This results in E: Unable to locate package ros-kinetic-jsk-recognition-msg on my system.

try sudo apt-get install ros-kinetic-jsk-recognition-msg
This results in E: Unable to locate package ros-kinetic-jsk-recognition-msg on my system.

This should be actually
sudo apt-get install ros-kinetic-jsk-recognition-msgs
(msgs instead of msg)

try sudo apt-get install ros-kinetic-jsk-recognition-msg

This results in E: Unable to locate package ros-kinetic-jsk-recognition-msg on my system.

ros-kinetic-jsk-recognition-msgs


Keep track of which interaction points have been opened or not and guide the user towards them

[x]  Change colour of opened interaction points
[x]  Show the compass in VR and draw "blips" on it. Rotation-mode depending on having controllers or not.

Closed by #109


Upgade kotlin version

Description
The project has
ext.kotlin_version = '1.5.31'

which is an old version, vulnerable to CVE-2022-24329 and soon won't be supported by Android Gradle plugin (since Android Gradle plugin 7.3 requires kotlin 1.5.20)

We have to keep it in sync with the flutter tooling and they still have 1.5.31 as the default version.
You can overwrite the version on your own if needed.

Since we are following Flutter tooling, we will update Kotlin version when Flutter also updates it.


feat!: treat empty string as a nil value in deser

There's a significant pain point when deserializing optional values over JSON (and in hashes) when null is not used, and instead, an empty string is present for the absence of a value. This slightly modifies deserialization to treat empty strings as nil, as anecdotally this has been expected behavior.

Closing this, as it's an opinionated change that probably needs to be handled outside of sorbet-schema