Read Only Issue

Type: Bug
After Apple techs wiped my 2022 Mac book air. I reinstalled V S Code. Built a new project. Projects is in read me only. Changed settings on the folder levels, checked Json settings, checked code-runner settings. Opened a git repository still read only. Reapeated setting steps. Cloned a git repository repeated setting steps still read only. Deleted VS Code reinstalled repeated all of the above steps, still read only.
 Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Tapping off the UIMenu taps the FlatList underneath and causes an onPress event

I had expected that tapping off of the UIMenu would simply dismiss the menu however the FlatList (which renders the UIMenu in each row) processes the tap event and causes an action at the same time as dismissing the UIMenu.
How are people handling this?

@lprhodes any news on this issue? 👀

@lprhodes found a solution?

No, sorry - I’ve just accepted that it’s working that way for now.


V0.8.1

Description
This release has sensorconnect and updates for our dependencies.
Type of change

[X] Release

v0.8.1 sensorconnect on minikube

Node-Red plugin

@JeremyTheocharis v0.8.1 is ready for review

SonarCloud Quality Gate failed.
  0 Bugs   0 Vulnerabilities   1 Security Hotspot   7 Code Smells
 No Coverage information  4.7% Duplication

This is irrelevant.
<IP_ADDRESS>/24 is a normal CIDR notation and does not expose any information


Set backgroundLockVisible before presenting lock screen

Sets backgroundLockVisible before presenting lock screen

Cool with me. Just to confirm, this is to fix the reliance of rootViewController on self.backgroundLockVisible being set?


community: Allow including vectors with text missing for Pinecone

Description:
This PR adds the option to include vectors that don't have page content. Currently, any such vectors will be skipped. This change can be useful when you're only concerned about the similarity score and not the page content. I'm a contributor to Rebuff, and we are working on adding a standalone Python SDK. When we query Pinecone, we only need the vector scores. Currently with Langchain, if a Rebuff user sets up their Pinecone database without a metadata field named "text", they will not receive any vector scores when querying Pinecone. With this PR, it won't matter the name of the metadata field used for page content.
For what it's worth, langchain-js does not skip vectors when the page content cannot be found: pinecone.ts.
I didn't update the Pinecone integration tests because I could not get the tests to pass (even before my changes). They were repeatedly failing because Pinecone is eventually consistent and the tests were assuming the changes would be applied immediately.
Issue: N/A
Dependencies: No changes needed

@eyurtsev, Could you take a look at this PR?

@ristomcgehee the main pinecone integration has been moved to it's own package in libs/partners/pinecone, could we move this change there?

I'll close this PR and open a new one when I have time to make that change.


Add documentation for expect.assertions

I was really excited to see expect.assertions land - but it is not documented! This PR takes a pass at fixing that.

We are rewriting docs on the new-docs branch. Would you mind taking a look there and adding this there? :) Thank you!

Oh snap. Yes.

Already in there. Should have filed an issue first!

Sorry about that! Thanks for your PR though :)


questions about safeSend

I came across safeSend while investigating #1514. It seemingly provides devs an alternative to try/catch, as they can discriminate between PendingTransactionStatuses.
If there were other members in this union (aside from "pending" and "rejected"), I would agree with this approach... however it seems there are at most two paths (happy path vs. error handling). This leads me to believe the JS-idiomatic handling within send is good enough.
try {
  await tx.send()
} catch(e: TransactionFailedError) {
  // recover ...
}

Are there more use cases for safeSend that I'm missing?

I think what you've outlines is all that safeSend() is doing.
The thinking was that in situations where you definitely don't want any errors to bubble up (i.e. UI components), it would be more ergonomic to handle the transaction status than to add your own try-catch block

While it would be nice to have any error data in a type-safe manner, this isn't standard in JS. I sure do wish JS had an effect system :/ if it did, I'd imagine a Rust-like try implementation in this situation.
// If this produces an error, yield that error to the parent block
let pending = await tx.send()?
// `wait` exists on the result of calling `send` bc error variant is no longer handled in this block
// – aka. it is typed as solely the successful variant
pending.wait()

Without an effect system, safeSend's return type would cause interruption to subsequent chaining.
Regarding your comment about use case:

in situations where you definitely don't want any errors to bubble up (i.e. UI components)

In the context of UI creation, I believe framework-specific libraries would offer better error handling solutions. For instance, a hypothetical react-mina library could provide a useTransaction hook, which would account for Suspense's approach to error+loading states + the canary compiler's SSR + hydration quirks.


Need plugin support:

Hello, I need help. I need to use my own svg spritesheet plugin with the generate-page-webpack-plugin. Please give me an advice.
Plugin source here:
https://www.npmjs.com/package/svg-sprinter-html-webpack

Hey @XPilot supporting that would be awesome,
I choose to keep this plugin simple, mainly because that fitted my own needs,
Do you think we should create hooks for this plugin as html-plugin has done?
Or would there be other ways to add the svg elements to the outputted html pages?


looks like new rageshake doesn't send a screenshot

true. The rageshake API does not support it yet.

The support was added to the rageshake API a while ago.


feat: Customize build outputs

This closes #128. This closes #92.

[x] Allow customizing build.output.*FileName options
[ ] Properly generate manifest

Hello, Is this PR still pending, I would really love to have it. Thanks!

Yeah, I still haven't implemented the changes to how the manifest is generated. I've been focused on other projects recently.

Hi, any progress on this one? Thanks a lot for the effort

@erickjth Nope. The only way I can make this change safely is to enable and rewrite all E2E tests and make them consistent so they're not flakey. But that will take time I don't have. I'm close to releasing 1.0 of WXT, this plugin's successor, so I've decided to stop feature development of this plugin.


Allow '_ to be parsed as a lifetime

Released in 0.12.13. cc @withoutboats

Awesome!! thanks! <3 <3


[bugfix] Gray out bars for NaN values in DAC calculator

Fixes https://github.com/carbonplan/research/issues/195
This PR restores the previous behavior in the DAC calculator where bars for any parameter value that would result in a NaN result gray out. This is now achieved by:

explicitly returning a negative y-value for invalid cost result
filtering negative values in ParamChart and rendering data in a separate grayed-out Bar chart

looks great!


0xFF0F - Interrupt flag, not mentioned in memory layout

In the Memory Map, 0xFFFF is explicitly mentioned, but 0xFF0F is not covered.
It seems to fall under "I/O registers" according to the map, but the I/O registers do not list it either.
Only when you go to the specific page about interrupts is it mentioned.

Indeed, seems like it's missing from the "I/O ranges" map. Do you mind opening a PR adding it?

I think i can, but currently busy. I will try to do it when i got time.

Fixed by #553.


Firefox Browser Mobil Not Working

Hi,
We Tested, but Firefox does not work on mobile.
Please check firefox mobil.
Thank you.

Please help ?

https://github.com/pawelczak/EasyAutocomplete/issues/189#issuecomment-274885047


[DOC] Update search profile API documentation with concurrency related changes

What do you want to do?

[X] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
As a part of introducing concurrent segment search we have also updated the search profile API to return more detailed summary stats in cases with concurrency.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
https://github.com/opensearch-project/OpenSearch/issues/7355
https://github.com/opensearch-project/OpenSearch/pull/7898

Hi @hdhalter, we are targeting this for 2.9 as well.

Thanks for the clarification, @ticheng-aws!

https://github.com/opensearch-project/OpenSearch/pull/8801

2.10 changes tracked in #4989

@sohami Is there any documentation needed for the 2.11 version for this issue?

Confirming we don't need any change in 2.11 for this API doc

We need to update the document for the query profile part in the next release https://opensearch.org/docs/latest/api-reference/profile#the-query-array-1


feat(schemes:jwt): add custom jwt payload functionality

Add the ability to provide a custom object model to be serialized into the JWT payload
Closes #13

Coverage decreased (-0.3%) to 97.26% when pulling 651e729e5b534ff47e0e8b4cfb83beba23c22b3d on starr0stealer:jwt-custom-payload into e9b816e24b97edbac489983e5c91c9ac986ee5db on adonisjs:develop.

Coverage increased (+0.02%) to 97.603% when pulling e0591810d315b688e0aa728aac1944bd4f274603 on starr0stealer:jwt-custom-payload into e9b816e24b97edbac489983e5c91c9ac986ee5db on adonisjs:develop.

Coverage increased (+0.02%) to 97.603% when pulling e0591810d315b688e0aa728aac1944bd4f274603 on starr0stealer:jwt-custom-payload into e9b816e24b97edbac489983e5c91c9ac986ee5db on adonisjs:develop.

Coverage increased (+0.02%) to 97.603% when pulling b1ff141f34591fc4d0e2518547a92edc555359d0 on starr0stealer:jwt-custom-payload into e9b816e24b97edbac489983e5c91c9ac986ee5db on adonisjs:develop.

Closing since tests are still failing.

Test weren't failing, there is some to cover but not from my additions. I was waiting feedback that was requested

Sorry, my bad

Can u please rebase the branch and lemme play with it. I am sure that JWT may need more flexibility and lemme see how far and gracefully we can allow that.

I will get my branch sync'd up.

Coverage increased (+0.02%) to 97.611% when pulling 20680e07eb11bf025bbb85473094ede932165af6 on starr0stealer:jwt-custom-payload into 46b8bb70b4c63739f9d77cea0fb83f89477baa03 on adonisjs:develop.

@thetutlage Everything should be sync'd and passing now

Yeah looks good!

In #13 I have sample usage of this new feature, my second to last comment

Yes this one looks great to me. I am also concerned if you want to verify something inside the custom payload. Like I add the user ip-address to the payload and want to make sure that it is decoded it is checked against the current ip-address.

Checking of the IP stored in the Payload sounds like custom business logic, something this library shouldn't be concerned with

@thetutlage I have resync'd this PR again with develop

Coverage increased (+0.02%) to 97.611% when pulling b6434eff8c4140f59a0af03b070436448ca88200 on starr0stealer:jwt-custom-payload into cfec3c236a5dc115441285706e70c35c002e3b27 on adonisjs:develop.

This will have breaking changes for anyone that was using identityId  which is now uid. Also worth noting in the Auth0 spec uid key in JWT payload is usually the email

There is no one using identityId so far and uid needs to be unique identifier which seems to be safe with email but id makes more sense to adonis

It's not JWT compliant.

@marines How so? The payload is passed directly to jsonwebtoken, there is no explicit definition of the format of the payload as its meant to be flexible. This change was the make the JWT feature more compliant by offering the payload feature. It does not add any violations

Even Adonis' token validation takes exp field of the payload which cannot be set manually in this approach. JWT RFC describes recommendations (which are implemented in majority if tools) with which it's not compliant at all. One of the main assumptions of JWT is to make it as short as possible. Why introducing payload subkey when it's a payload already?


How to know if nginx rtmp streaming is stopped or finished?

We are trying to make a live streaming and we implemented nginx rtmp module and added on_publish callback to check if the stream key is valid or not.
Now we need one thing
We need to call api like on_publish when the user stops streaming for example clicks stop streaming in OBS.
I tried with on_done but it is called every few seconds automatically not when stream is closed.
How to do that?
Thank you.

Try to use on_pushlish_done


consistency tests

This PR adds a new test suite aimed at validating the output of the simulated backend against the output of the real hook tools.
tests/consistency/conftest.py exposes a compare function to be used like:
compare("relation_list", "relation_name").
this will compare the _MockModelBackend result against the result of, essentially, running juju exec -u some-unit/0 -m some-model -- relation-list relation_name.
If the hook tool call returns an error code, wrapped by _ModelBackend in an ops.model.ModelError, compare() checks that _MockModelBackend raises a similar error.
If the hook tool call returns a value, compare() checks that _MockModelBackend returns the exact same value as _ModelBackend.
For now this works with a hardcoded model and unit name, and the State used by _MockModelBackend is also hardcoded.
Next steps:
create a testing charm (or bundle?) to pack and deploy using pytest-operator, and a corresponding State. Or pick a reference charm/bundle to deploy and test with. Probably best.

transferred to https://github.com/canonical/ops-scenario/pull/2


replace v1 to v2

What problem does this PR solve?
https://github.com/pingcap/tispark/issues/2242
What is changed and how it works?

add TiDBWriterBuilder, TiDBBatchWrite, TiDBDataWriterFactory, TiDBDataWrite
remove the logical in TiDBRelation
remove some  v1 interface
add some tests

Check List
Tests

Unit test
Integration test

New feature
dataset.writeto or dataframe.writeto is available now, but it is experimental. Some of its behavior may not be the same as dataframe.write
example
val tidbOptions: Map[String, String] = Map(
  "tidb.addr" -> "<IP_ADDRESS>",
  "tidb.password" -> "",
  "tidb.port" -> "4000",
  "tidb.user" -> "root",
  "spark.tispark.pd.addresses" -> "<IP_ADDRESS>:2379"
)
val df = spark.sql("select * from tidb_catalog.$dbname.$tablename")
df.writeTo("tidb_catalog.$dbname.$tablename").options(tidbOptions).append()

/run-all-tests

@xuanyu66 @birdstorm PTAL

/run-all-tests profile=spark-3.1.1

/run-all-tests

@xuanyu66 I have fixed the problems, PTAL again

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/merge


Make UDP socket available to partitions

This is a PoC that makes a UDP socket available to every partition.
The UDP socket can do networking outside of the partition's namespace.

To view what is send
nc -lu 34256

@emilengler @wucke13 for review

@dadada Please address @emilengler comments when you have time :smile:

Ping @emilengler for review.


[Minor] Fix typos in Ansor

Recently I installed a spell checker in VSCode...

Let's wait for a few days before merging this PR, as I found some typos leftover

@junrushao1994 please incorporate @leandron 's comment then we can merge it in

should wait for #6448 before landing

@junrushao1994 please rebase and address @leandron 's comment

Should be good to go :-)

@tqchen @jcf94  Could you take another look? Thanks!

Thanks @junrushao1994 @leandron  @jcf94 @electriclilies !


[Scaffold] Progress Status Circular Bar

As	a
I would like to
So that
Acceptance criteria

user
see progress in blockheight and % of the sync process
I can be aware that my wallet is doing something and know what to expect

user
optimistic synchronization progress
I can know how long might take to sync

user
see an offline status if no there's no internet connection
I can know that I'm offline and take action

user
see an error state if something went wrong
I can know that and take action

on the lottie animation: Make sure that it plays well with the progress calculation so that indicating a % to progress the animation to, matches the circular progress you want, to a avoid bugs and headaches. ^^

For clarity, scaffolding is all about functionality. Feel free to fully ignore designs and use two [----->50%         ] simple progress bars for the circle dials!

Hi @geffenz, please, can we have all icons from this pack exported? Thank you.


Update utils.py to handle exception when pytorch_lightning >= 1.9

What does this PR do?
I started openspeech as follow:
python3 ./openspeech_cli/hydra_train.py dataset=ksponspeech dataset.dataset_path=/workspace/data dataset.manifest_file_path=/workspace/data/transcripts.txt tokenizer=kspon_character model=conformer_lstm audio=fbank lr_scheduler=warmup_reduce_lr_on_plateau trainer=gpu criterion=cross_entropy

This error occured directly:
ImportError: cannot import name 'LightningLoggerBase' from 'pytorch_lightning.loggers' (/root/anaconda3/envs/mirae/lib/python3.8/site-packages/pytorch_lightning/loggers/__init__.py)

Fixes #212 Import error of pytorch_lightning LightningLoggerBase
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Was this discussed/approved via a Github issue? Please add a link
to it if that's the case.
[x] Did you write any new necessary tests?

I did testing on my environment. After applying this code, the error is removed.

Cannot import name 'LightningLoggerBase' from 'pytorch_lightning.loggers' #962 <-- this issue shows information that LightingLoggerBase transfers into Logger when version begins >=1.9
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag

@DevTae After modifying the code, does learning proceed well? The current code is written based on pytorch-lightning==1.4.0, so full testing is required when upgrading the lightning version.

@upskyy After modifying code, the learning proceed has problem as like below.
Traceback (most recent call last):
  File "./openspeech_cli/hydra_train.py", line 53, in hydra_main
    trainer.fit(model, data_module)
  File "/root/anaconda3/envs/temp/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 608, in fit
    call._call_and_handle_interrupt(
  File "/root/anaconda3/envs/temp/lib/python3.8/site-packages/pytorch_lightning/trainer/call.py", line 36, in _call_and_handle_interrupt
    return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
  File "/root/anaconda3/envs/temp/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 113, in launch
    mp.start_processes(
  File "/root/anaconda3/envs/temp/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 189, in start_processes
    process.start()
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/root/anaconda3/envs/temp/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'dict_keys' object

So, I changed pytorch lightning version into 1.6.0. Then, the error is resolved, and training process performed well. (conformer_lstm)
I think this pr is unnecessary for now, so I close this pr.
However, It is necessary to announce to download Pytorch Lightning 1.4 , ..., 1.6, not above 1.9.0


[SPARK-8420] [SQL] Fix comparision of timestamps/dates with strings (branch-1.4)

This is branch 1.4 backport of https://github.com/apache/spark/pull/6888.
Below is the original description.
In earlier versions of Spark SQL we casted TimestampType and DataType to StringType when it was involved in a binary comparison with a StringType.  This allowed comparing a timestamp with a partial date as a user would expect.

time > "2014-06-10"
time > "2014"

In 1.4.0 we tried to cast the String instead into a Timestamp.  However, since partial dates are not a valid complete timestamp this results in null which results in the tuple being filtered.
This PR restores the earlier behavior.  Note that we still special case equality so that these comparisons are not affected by not printing zeros for subsecond precision.
Author: Michael Armbrust<EMAIL_ADDRESS>Closes #6888 from marmbrus/timeCompareString and squashes the following commits:
bdef29c [Michael Armbrust] test partial date
1f09adf [Michael Armbrust] special handling of equality
1172c60 [Michael Armbrust] more test fixing
4dfc412 [Michael Armbrust] fix tests
aaa9508 [Michael Armbrust] newline
04d908f [Michael Armbrust] [SPARK-8420][SQL] Fix comparision of timestamps/dates with strings
Conflicts:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/HiveTypeCoercion.scala
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala

@marmbrus This is the backport.

Merged build triggered.

Merged build started.

Test build #35341 has started for   PR 6914 at commit e6e15d6.

Test build #35341 has finished for   PR 6914 at commit e6e15d6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #35345 has started for   PR 6914 at commit e2b7d50.

Test build #35345 has finished for   PR 6914 at commit e2b7d50.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

I will merge it once it passes the jenkins.

Merged build triggered.

Merged build started.

Test build #35415 has started for   PR 6914 at commit 9882915.

Test build #35415 has finished for   PR 6914 at commit 9882915.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

test this please.

Merged build triggered.

Merged build started.

Test build #35433 has started for   PR 6914 at commit 9882915.

Test build #35433 timed out     for PR 6914 at commit 9882915     after a configured wait of 175m.

Merged build finished. Test FAILed.

test this please

Merged build triggered.

Merged build started.

Test build #35455 has started for   PR 6914 at commit 9882915.

Test build #35455 has finished for   PR 6914 at commit 9882915.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

test this please

Test build #951 has started for   PR 6914 at commit 9882915.

Merged build triggered.

Merged build started.

Test build #35456 has started for   PR 6914 at commit 9882915.

Test build #951 has finished for   PR 6914 at commit 9882915.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #35456 has finished for   PR 6914 at commit 9882915.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

OK. I am merging it.

This pr has been merged to branch-1.4. I am closing it.


GPU, single-node multi-GPU, multi-node multi-GPU support for forecast generation

It is not clear from the documentation and the sample code, if the forecast generation can be performed on a GPU, multiple GPUs, or multiple GPUs in multiple nodes. If this is the case, please add some descriptions on how to achieve this.

Hi Ryuta,
Thanks for your interest in MOMENT!
Depending on the batch size, which is typically in the range of 16--64 during fine-tuning, MOMENT can be fine-tuned on a single GPU. For reference, all the tutorials were run on a single NVIDIA A6000 GPU with 48 GB RAM.
With that said, we are about to release a tutorial to fine-tune MOMENT using parameter efficient fine-tuning to reduce GPU memory usage, and also enabling multi-GPU training. Stay tuned!
I'll keep this issue open until we release the tutorial!

Hi! Thanks for the prompt reply and I'm looking forward to the tutorial for fine-tuning.
My question was more on the inference side rather than the training. Is there a way to assign a GPU to make an inference (i.e. model(context, input_mask=input_mask)) or even distribute an inference across multiple GPUs?
I highly respect the work you are doing!

Hi Ryuta,
We added tutorials recently which would enable you to use multiple GPUs.
I am closing this issue at this point.
Thanks for your interest in MOMENT, and let us know if you have any questions!
Best,
Mononito

Hi Mononito，
Can you tell me where the code is for how to call multiple gpu's, I don't see a corresponding tutorial for it.

Hi @ooooooover, You can follow this notebook: https://github.com/moment-timeseries-foundation-model/moment/blob/main/tutorials/ptbxl_classification.ipynb for multi-GPU training and PEFT fine-tuning.
Best,
Mononito

Thank you for your reply.


Add ability to sample data

[ ] use better default locator?
[ ] add tests
[ ] wait for changes upstream to better support locators without using to use vtk directly.

Current docstring test for surface sampling has some points that cannot be located in the original mesh.  Using vtkStaticCellLocator fixed this, but wait for a newer version of PyVista to better support this.


Write tests for the prefetch-on-server feature

This is my intent (choose one)

[ ] I want to report a bug
[ ] I want to request a feature or change
[x] I want to provide or change a feature

The problem
We were able to introduce a bug in #703 without noticing.
Proposed solution
Cover that feature in a (unit?) test.

We have a ticket about introducing unit tests in our internal back log and will tackle this issue as part of that task.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_33djxceefs/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
ERROR: /tmp/abs_33djxceefs/clone/recipe/meta.yaml:38: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_33djxceefs/clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Ensure that reference IDs are assigned to a single unique reference path

However, it is fine if multiple IDs are assigned to the same path

done


fix: ⚡ replace infinite-scroll lib

very untested for now

i'll merge it now. we con do further fixing in develop.


Video example not skipping ad

It was reported in https://github.com/prebid/Prebid.js/issues/3294:
http://prebid.org/examples/video/videojs-demo.html - while skipping the ads the ad gets played continuously and the video content was not playing.
I do see that skip doesn't work, though I suspect this is due to the player not having any content

I think these are working now.


Implement as ReSharper extension

Hi. You can implement this as a resharper extension, by bundling the annotations file up into an extension nuget package and distributing it in the ReSharper extension gallery. You can find out more in the devguide (here and here), or perhaps submit the annotations to the Community Annotations project (also a useful place to see how it's done).

Hi Matt, thanks for the information. We'll be looking at updating this to be a R# nuget package in the near future.


Desktop installer stuck

Initially tried setting up using the installer couldn't get anything to work switched to the desktop version but its not running appears to be stuck.
NonSteamLaunchers-install.log

Ended up cleaning deleting this directory NonSteamLaunchers
Here:  /home/deck/Steam/steamapps/compatdata/NonSteamLaunchers
And downloading the latest zipped version doing each install one at a time worked for me


Adding Feature test UIAutomation

issue: [ Migrate ] UI Automation Area - Feature Tests #89
Description
Adds the UI Automation Area - Feature Tests
Number of tests added - 95 (Passed)
Customer Impact
Developers can run the tests using .\RunTests.cmd /Area=uiautomation command and test their fixes.
Regression
--
Testing
Built and ran the tests.
Microsoft Reviewers: Open in CodeFlow

/azp run


Improve caching of Stats information

At the moment when the users are offline they cannot see any stats information even if they just synced the information minutes ago.
An improved cache mechanism that allows the information to be saved and maybe some UI to inform the user the last time the information was synced.

Closing issue and migrating to new repo.


Which one is the most reliable ? Unet sharing or HTK Sharing

Hi,
I've been working on a project for 4 months, and we've used the HTK sharing to share Holograms. We have a lot of Holograms to share, and we also made made a custom event trigger system that allows us to trigger events and send data from one device to another.
Everything works fine with 2 or 3 devices, but once we have more than 3 devices, the SharingService is unreliable and we have a lot of crashes.
I guess the problem is due to the high traffic between so much devices, so before starting to change everything, I would like to know if any of you have worked with the Unet sharing ?
If so, how reliable is it ? did you encounter any problems with it ? Is it stable with a lot of devices ?
Every bit of information would be usefull to me, so please share your experience.
Thank you.

That's a very good question. Personally I've seen up to 5 devices work really well using the Sharing Service.  I'm currently working on a project where we're going to have up to 25 devices using the same network at once, and we will be testing that out pretty soon.
Some things to take into consideration with the Sharing Service: Network infrastructure and bandwidth is critical; Make sure you're not sending more info that you need across the network at once; Use the sync system (See SharingSpawnTest example) over sending messages at a low level (See CustomMessages class in the SharingTest example).
As far as UNet, I've no real experience with that service.

In the current state, we have 3 hololens and 2 computers.
The 2 computers are kind of spectator views, so we use MRVC because we don't need more than 720p and the Spectator View is not ideal when you want to move around with it.
In addition to that, we have a "SyncMessage" GameObject for each device, and each device has a reference to other devices' SyncMessage. That GameObject is used as an event trigger, and as a simple way to send data along with the event.
We use this system for visual effects like highlights, and click effects, and also for a bunch of other stuff, because sharing the transforms of nested GameObjects is a bit complicated: for example, when you have let's say a menu, and this menu has buttons as child GameObjects, and you want to share the transform of the menu as well as the transform of the buttons, well you can't because when a new device connects to the session, it will try to instantiate the child GameObject before the Menu GameObject (which is the parent).
To sum up, it will instantiate the GameObjects in reverse order (last spawned object is instantiated first) or maybe in random order, I'm not really sure, but everytime we've tried, it tried to instantiate the child before the parent and raised an exception because the parent didn't exist yet.
For the spectator side, the Hololens sends the video stream directly to the computer without going through the SharingService, so this shouldn't be the problem.
The server is running in the cloud, and we have at least 50 mbps up and down on each side, I think it should be enough.
It would help to have the source code of the SharingService to see where the problem comes from. Do you know if it's available somewhere, or do you have any contacts that could provide it to us?

https://github.com/Microsoft/HoloToolkit

Wow thanks !  I'd suggest not making the menus and effects networked, but instead only drive those things locally. Only network the objects you know other people will need to see changed.  imo, a users UX should only ever be locally driven, with information populated from your network.

The main purpose of the application is to be shown at a convention, so our client asked us to show as much as possible, even the menus so that spectators can see what's really going on in front of the guy wearing the Hololens.

I cannot get anything with UDP to work. Do you guys have Auto discovery working? I've tried both my own implementation (which works fine on Windows 10 and other devices) and HoloToolkit examples. It seems direct IP is the only thing that works?
Because I'm sending very very little data (I just want to manage scenes loading) I don't really need a dedicated server as the SharingService. It seems this is also the only way for me to communicate with the Hololens (SharingService + direct IP). Have you guys ever gotten a simple UDP packet through to the Hololens? I can see the messages on the network btw. Also no firewalls anywhere (except possibly the Hololens, which I am unaware of if it even has one).

We didn't manage to get Auto Discovery working. We have one device that sets the Sharing Server's IP, and then, broadcasts a message with that IP to the other Hololens.
Since you only need some casual data transfers, maybe you could use that:
https://docs.unity3d.com/ScriptReference/Networking.NetworkDiscovery.html

Thanks for the reply @saidbet.
Thing is I've tried just about everything. Hololens doesn't respond to anything even though it works fine between other devices (UWP). Can you share your broadcasting code so I can test it? I'm really desperate. Need to figure out if there is something wrong with my equipment.

I've been using Unet for the majority of projects. Had 4 devices reliably sharing. Adding a 5th device had a few slow downs, but didn't have time to iron out any networking optimizations before needing to move onto the next project. We networked UI and many hologram positions.
Another note: Spectator View had a PR that went into master rather recently that started leveraging Unet. Therefore you may want to do investigations on this before switching.

The HoloToolkit solution was way overhead for me. I decided to implement it myself using UNET. But then again, I basically send control messages every now and then.
Could never get the HoloToolkit version to work well either. I now have auto discovery working with a workaround where the hololens acts as both server and client before passing control to the actual server. Weird but it works.

@StephenHodgson any chance you could share some more details on the project you mentioned having up to 25 devices? I might soon be working on a project having up to 15 devices on the sharing service, and I'd be interested to learn how difficult it was.

There seems to be a lot of weird UDP issues on Hololens. Sometimes it works. Sometimes not. Are there any official word on why UDP behaves this way?

Going to close this.  It's probably been archived by google by now.


Introduce CanBuild on top of #85

I’m still not sure that’s the best solution. I’m going to experiment with another solution requiring users to explicitly pass the SpecificIterableFactory (as we do with the .to method)

I gave a try to the solution explained in the above comment but I’m not super happy with it. In short, I still think that providing implicit CanBuild instances in factories (as it is done in this PR) would provide the best developer experience.
You can see the diff here: https://github.com/scala/collection-strawman/compare/expose-factories...expose-factories-bis
The problem I wanted to solve was the ability to have optionSequence return sorted collections or map collections (in the expose-factories branch this is not possible). By taking the FromSpecificIterable as an explicit parameter users can supply whatever factory object they want (e.g. TreeSet, HashMap, etc.), however some problems still remain:

because of the way type inference works this parameter has to be the last one, which is not always convenient ;
the optimization that uses the “specific” builder, when available, instead of an intermediate ArrayBuffer, requires a type cast ;
in practice users would need to versions of the methods, one with the explicit factories and one based on iterableFactory.

/cc @szeiger @odersky


(bug) Screenshots do not match with different monitor setups.

Describe the bug
Screenshots do not match if the monitor setup has changed from the initial screenshot monitor setup.
To Reproduce
Steps to reproduce the behavior:

Clear your screenshot folder
Let your test run and let the runner create the reference screenshots
Disconnect / Connect a Monitor (change the setup)
Start the tests again

2nd way to reproduce:
1. Start Cypress in head mode (npx cypress open) GUI
2. Clear your screenshot folder
3. Start the Test on e.g. Monitor 1 (which is in my case a retina display and different resolition)
4. Start the Test on e.g. Monitor 2
The screenshots will fail.
Expected behavior
The Screenshots should match, no matter the resolution or amount of monitors.
The Screenshots look almost the same, except some font rendering pixels, but even a threshold of 50% doesn't work.
Desktop (please complete the following information):

OS: macOS 10.15.4
Cypress Version 3.8.3
Node: v13.7.0
cypress-plugin-snapshots: 1.4.3
Browser: Chrome 81 (headless)

Additional context
Thats basically the code i use.
The Screenshot captures an iframe within a lightbox and some text.
Due to the client's data protection reasons i cannot add a screenshot.
// testfile.js
cy.get('.lightbox').within(($overlay) => {
  cy.testPreviews($overlay, numberOfExpectedPreviews);
});

// support/command.js
Cypress.Commands.add('testPreviews', (scope) => {
    cy.wrap(scope).contains('teststring').should('be.visible');
    cy.wrap(scope).toMatchImageSnapshot({});`
}

I have a similar problem. Screenshots made while running in CI look slightly different than on a monitor. It looks like a color setting difference. The difference is ever so slightly that I only noticed it when I opened both screenshots in Photoshop on top of each other.

NB: The screenshots are cropped by Github, so the colors look even more different on my Mac.


OpenSearch SIEM for ASEA Addon

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
This deploys the OpenSearch SIEM solution as an addon for the ASEA. See the README for additional details.
This depends on the currently open PRs 913 and 914

This PR replaced reverted PR #853 as a standalone add-on, located here:
https://github.com/aws-samples/aws-secure-environment-accelerator/tree/main/reference-artifacts/Add-ons/opensiem


Build/Test: Fix some build stuff

I created another branch, since this one mixes multiple things not fitting together.


WIP: Add versioned API docs workflow

Description
This PR adds a version switcher dropdown to the docs, and a github action to deploy these docs to the napari/napari.github.io upon merge to main (Currently this is not true, as I've set this up to deploy to my own fork for testing and reviewing purposes)
This should be merged first, followed by https://github.com/napari/napari.github.io/pull/350
The caveat here, as mentioned in #4593 , is that links to the docs pages will change due to the new folder structure pointing to /dev, /stable etc.
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

References
Closes #4593
How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

A remaining question is if we want to use tags for the folder names, as suggested here https://github.com/napari/napari/issues/4593#issuecomment-1141676349 (thanks, @lucyleeow !)

The caveat here, as mentioned in https://github.com/napari/napari/issues/4593 , is that links to the docs pages will change due to the new folder structure pointing to /dev, /stable etc.

Potentially adding an index.html file in root of gh-pages that re-directs to stable could work. E.g., for skan I redirected to stable:
<meta http-equiv="refresh" content="0; url=https://jni.github.io/skan/stable" />

@melissawm I just had a look at the versioned docs in your repo (looks great!): https://melissawm.github.io/napari.github.io/dev/
The switch to stable did not seem to work for me, it went to: https://napari.org/stable/ instead of https://melissawm.github.io/napari.github.io/stable/ as per version_switcher.json
My guess would be that the version key in version_switcher.json needs to match version_match in the config.py (I looked at the config.py and switcher.json of pydata theme and I think that is what it is doing...)

Oh yes sure - this is how it will look after merged so I just didn't change that link. But all else is working so I'll put in a complete version. Thanks for checking!

Ok - might be a rudimentary solution but it seems to work :) @jni can you take a look when you have the time?
Feel free to push to it if you want to move it forward, as I won't be able to respond for a few days.

We discussed in the docs working group that this is ready to merge, pending updates to the stable version number. Love the redirect! ❤🔥 Thanks @melissawm! Please ping me on Zulip when this is ready to merge!

@jni @melissawm Does this still need code review/approval? Anything I can do to help coordinate next steps?

I was about to get this started the other day when our linux and doc builds started failing, so I decided to wait. 😅 Now I think @melissawm needs to merge main again into napari/napari.github.io#350, then we can try again?

Just rebased - should be good to go!


Schema Command Should Support Structured Output

Stumbled upon this project and it looks like a real missing link in parquet tooling.
For the schema subcommand, it would be nice if there was an optional way to output the data in a structured way (eg json) for consumption by other tools. Something like pqrs schema data.parquet --json. Ideally both the simple and detailed flags, but even capturing only the non-detailed data would be handy.

Thanks @dbready - that's a good idea, I will look into this feature.


Manager migration

The idea of a migration is that we want to disable the old program, and transfer funds from the old program to the new program.
The logic of how we do it is:

We first verify the migration data is correct (accounts exists, id is not 0, etc.)
We create the new program to get the new account addresses
We generate the authorizations needed to move funds from the accounts the user specified
We generate the send funds messages and insert them on the authorization (processors)
We generate pause processor messaged to be executed on the authorization to stop the old program from running.

We need from the user the next things:

New program config - to instantiate a new program
The old program id to get the info from registry
A vector of transfer funds data - info regarding the transfer, from account, to account, what domain and what denom and amount to transfer.

The migration function will output a list of instructions to be executed by the owner (like in the update), in migration we also have another set of messages to be executed by the owner - pause_processor_messages
I've separated them from the general instructions because we need to halt the processors only after all fund transfer messages were executed successfully, so its up to the UI to make sure everything is moved before letting the owner execute the pause processors, else we would need to unpause the processor, transfer funds again, and pause it again.
TODO:

[x] Create tests to make sure everything is working

Oh, I did the mistake of merging the other PR that relies on this one.
So any changes after this I will do in a new PR, and will close this one (as those are already on main).
@keyleu @bekauz

@Art3miX so if I understand correctly, this PR should be closed without being merged ?


Change prelude main to return a Result

In #441 we changed button::Listener::new to never trap and never return an error, allowing users to use an early return of ? if they don't care about the error. That PR unwrap ed the result instead of handling the error or propagating the error to its caller (sometimes  main()).
This PR makes sure we properly handle the errors that we get from  button::Listener::new .

@ia0 I've changed this PR by adding the  MaybeUnwrap trait you suggested, and only returned a  Result<(), Error> on examples that currently use  button::Listener::new. Let me know if you think we should have some other main functions start returning  Results in this PR as well.


mozextension page theming can break addons

I use a sidebar addon which can link into the new firefox theme api.  Because the userContent part of firefox-gnome-theme sets the background color of mozextension pages statically that part of the extension breaks.  So while this setting may be useful for mozextension pages that show in a normal tab it can have unintended side effects for those that show in the sidebar.  Is there possibly a way to restrict the theming to just the normal tab pages

I don't think there is a clear way to restrict theming just the settings page but not other pages since the extensions' file names seem to not be standarized, but we can try to hack our way around this problem with a regexp, similarly to how we handle extensions' popups:
@-moz-document regexp("^moz-extension://.+/popup.html$")
Can you give me a link to that extension you are talking about or its name, so I can test if it works with my regexp? I see uMatrix adds a panel to the sidebar too, its URL is  moz-extension://<extension id>/logger-ui.html. And it's the same for uBlock.


Tables rendered by gatsby in the markdownfiles needs to be scrollable

On mobile you get a sideways scrollbar on the whole page when you have wide tables. Need to figure out a way to make them scrollable sideways so it doesn't affect the whole page.

Would you like to point out any link which has tables


systemctl hooks could use --no-block

On Debian's homebrewed timesyncd hook, we received a bug report that it should use systemctl's option --no-block.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003225
https://blog.oddbit.com/post/2014-12-02-starting-systemd-services-with/
It would be desirable for all dhcpcd exit hooks that call systemctl to use that option.

Does --no-block work when you stop a service as well? If you could test that and let me know it makes the fix easier.

As far as I can tell from this, it would:
https://www.freedesktop.org/software/systemd/man/systemctl.html
--no-block
Do not synchronously wait for the requested operation to finish. If this is not specified, the job will be verified, enqueued and systemctl will wait until the unit's start-up is completed. By passing this argument, it is only verified and enqueued. This option may not be combined with --wait.

As an example, this is how Debian's current hook was modified:
https://salsa.debian.org/debian/dhcpcd5/-/commit/7ca3cf324f417136731f42a3b2d63983e595d878


Pr darrenfromsandbox

JIRA link (if applicable)
Change description
Testing postgres flexi server build following tims fixes
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

overlapping names for hub components


[Feature Request] Expandable menu item that has sub-menu items. Visual reference in description.

If any maintainer could chime in and share if this is something that wouldn’t be too complicated to implement for someone currently unfamiliar with the codebase, I could give it a shot.

Hi @NamanShergill,
You can see the latest discussion around this topic here for some insight about the issue - https://github.com/notDmDrl/pull_down_button/issues/26

if this is something that wouldn’t be too complicated to implement for someone currently unfamiliar with the codebase

I haven't actually tried to implement this yet. Still, I imagine it will be a rather challenging task as apparently, Flutter is not friendly towards animated nested menus (see https://github.com/notDmDrl/pull_down_button/issues/26#issuecomment-1668547484 for context).
Based on the latest updates from the Pull-Down button's issue in the Flutter repo, the PR is coming soon so you might want to wait for it before working on this if you want.

Since this is a duplicate of https://github.com/notDmDrl/pull_down_button/issues/26, I'll close this issue in favor of having all discussions and updates there.

Ah, I see, thank you!


Formatter raises error with system function without parenthesis

Test case
module test;

  initial begin
    $stop;
  end

endmodule

Formatter works as expected, but it raises an error:
$ verible-verilog-format --inplace test.sv
E20220608 12:43:36.855474 16973 tree_unwrapper.cc:2066] formatting of macro call failed: paren_group not found.
*** Please file a bug. ***
E20220608 12:43:36.855831 16973 tree_unwrapper.cc:2066] formatting of macro call failed: paren_group not found.
*** Please file a bug. ***

Adding parenthesis to the $stop system function prevents the error.
It fails with version: verible-v0.0-2152-gdd5e91a4-CentOS-7.9.2009-Core-x86_64
AFAIA, it was working OK with version: verible-v0.0-1895-g7e010108-CentOS-7.9.2009-Core-x86_64

Is duplicate of #1280


SLI query example #158378094

This includes an example query for the canary app availability sli. This example is in line with how we plan to do uptime/error budget in healthwatch. It is not a simple query that spits out 9s. We could (and have) written a simple query that does this, but only because the metric value of 1 = healthy and 0 = fail.
Here's how we plan to do sli calculation in healthwatch:
indicators:
- name: canary_app_availability
  service_level: {}
  promql: health_check_CanaryApp_available{source_id="healthwatch-forwarder"}
  thresholds:
  - level: critical
    lt: 1

So here we are saying that the canary app indicator is in a critical state if the value is less than 1. Notice that the promql has no ranges/aggregates. If we run this query 60 times over the last hour, and we are in a critical state once, the uptime is 59/60 or 98.3%.
Let's look at a more interesting example to see why this is necessary.
indicators:
- name: http_latency
  description: Service level is in adherence if 95% of requests complete within 1 second.
  service_level:
    objective: 0.9999 # defined by operators, 259 seconds of error budget allowed over the last 30 days

  # taking all endpoints into account, what percentage of requests complete within a second
  promql: sum(rate(http_request_duration_seconds_bucket{le="1"}[1m])) / sum(rate(http_request_duration_seconds_count[1m]))
  thresholds:
  - level: critical
    lt: 0.95 # defined by component developer, can be overridden by operator

This is a latency SLI. We can get all values over the past 30 days by running a query_range against log-cache. We should evaluate this with a step of 15s for granularity. For each result that is less than 0.95, we subtract 15 seconds from the error budget. So if it is in a critical state 10 times in the last 30 days, we have 259 - (10 * 15) = 159 seconds of error budget remaining. Stephen Thorne's post has some good information on this!

This is supposed to be against 1.4


update README.md

[Current coverage][cc-pull] is 100%

Merging [#446][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #446   diff @@
====================================
  Files          24     24
  Lines         358    358
  Methods        81     81
  Messages        0      0
  Branches        0      0
====================================
  Hits          358    358
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [5710c44...9f2548d][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/5710c44d0e5becf24ead1dc54dc75f53bdfe3b36...9f2548d042a79d8e232f208e59da6f98ad51827a
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/446?src=pr


New SIG scenarios

Docs Build status updates of commit c114938:
:clock10: Pending: waiting for processors (22 builds ahead of you)
:warning: Docs Build is busy, currently there are 22 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 990065e:
:clock10: Pending: waiting for processors (20 builds ahead of you)
:warning: Docs Build is busy, currently there are 20 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c114938:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-5.1.0/Az.Compute/New-AzDisk.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVM.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 990065e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-5.1.0/Az.Compute/New-AzDisk.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVM.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit bd74edd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-5.1.0/Az.Compute/New-AzDisk.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVM.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 372c281:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-5.1.0/Az.Compute/New-AzDisk.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVM.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/New-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzGalleryImageVersion.md
:white_check_mark:Succeeded
View (azps-5.1.0)

azps-5.1.0/Az.Compute/Update-AzVmss.md
:white_check_mark:Succeeded
View (azps-5.1.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


empty-table-header violation at /examples/pydata.html

This has to do with a Pandas data frame converted to an HTML table. The top left table cell is marked up with a <th> but it's empty. Axe does not like empty th tags. The test failure goes away if you convert the <th> to a <td> but I'm not sure where the code lives that converts the Pandas data frame to an HTML table.

it's not us, everything is done by nbsphinx and/or myst-nb. so I think you will need to let this one pass.

Relevant: https://github.com/pydata/pydata-sphinx-theme/pull/1482

Got it, thanks for the info. I will try to close this issue with a PR that suppresses this Axe error on that page. It seems to me like a pretty minor issue anyway. Definitely not needed for WCAG conformance.


Brew Update of saltstack 2017.7.4 on OSX 10.9 -- Failed

brew upgrade saltstack --build-from-source
==> /usr/local/Cellar/saltstack/2017.7.4/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/saltstack--pygit2-20180322-33104-4z550y/pygit2-0.26.3
Last 15 lines from /Users/.../Library/Logs/Homebrew/saltstack/16.pip:
Removing source in /private/tmp/pip-o1ZLe9-build
Command "/usr/local/Cellar/saltstack/2017.7.4/libexec/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-o1ZLe9-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-_AQn5o-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/saltstack/2017.7.4/libexec/include/site/python2.7/pygit2" failed with error code 1 in /private/tmp/pip-o1ZLe9-build/
Exception information:
Traceback (most recent call last):
File "/usr/local/Cellar/saltstack/2017.7.4/libexec/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/Cellar/saltstack/2017.7.4/libexec/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/usr/local/Cellar/saltstack/2017.7.4/libexec/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/usr/local/Cellar/saltstack/2017.7.4/libexec/lib/python2.7/site-packages/pip/req/req_install.py", line 878, in install
spinner=spinner,
File "/usr/local/Cellar/saltstack/2017.7.4/libexec/lib/python2.7/site-packages/pip/utils/init.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "/usr/local/Cellar/saltstack/2017.7.4/libexec/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-o1ZLe9-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-_AQn5o-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/saltstack/2017.7.4/libexec/include/site/python2.7/pygit2" failed with error code 1 in /private/tmp/pip-o1ZLe9-build/
Check on pygit2 python package --
pip2 install pygit2
Requirement already satisfied: pygit2 in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: cffi in /usr/local/lib/python2.7/site-packages (from pygit2)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from pygit2)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/site-packages (from cffi->pygit2)
Cannot explain this output from the brew installation command:
InstallationError: Command "/usr/local/Cellar/saltstack/2017.7.4/libexec/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-o1ZLe9-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-_AQn5o-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/saltstack/2017.7.4/libexec/include/site/python2.7/pygit2" failed with error code 1 in /private/tmp/pip-o1ZLe9-build/
Also, despite the advisement in the brew update message, this is NOT an OSX version issue.

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Also, wrong repository.


Sorting of workspace folders not working.

VSCode Version: 1.52.0
OS Version: macOS 10.15.7

Steps to Reproduce:

Right-click in the explorer (workspace) window and choose "Add Folder to Workspace"
Add folders in random order
Watch them not be sorted

Does this issue occur when all extensions are disabled?: Yes/No
Yes
Previously when you right-clicked, you had an option to manually sort, where'd that go? Both User and Workspace settings are set to default sort-order.

Seems it was an extension, WorkspaceSort that gave me the sorting capability. There are multiple feature requests dating back to 2018 to support this natively. A shame really.


Issue 203

@stojsavljevic , please review.
You will notice a change in SpringMvcEndpointGeneratorMojo about the way typeGenerationConfig is initialised. I was considering adding a callback, like PostConstruct to the mojo, but it's too much trouble it seems(will require something like mycila-guice-jsr250) and it will take me some time because I'm not very much familiar with the way Guice/Sisu is used under the hood.
In any case, I don't think it's worth it in this simple case.
Otherwise, I tested it on our project and it works like a charm.

Hold on, @stojsavljevic. I just noticed my controllers do not have imports for type objects. I hope this si a quick one, but I'm not very enthusiastic about anything related to JCodeModel:)

@stojsavljevic , please check now.


Additional keystore output formats

We want to use this CSI driver with an application that does not directly support PEM certificates, and would like to see support for requesting additional keystore output format(s) - as you can with the cert-manager Certificate resource.
Of the additional keystore formats that cert-manager Certificate supports, I would put pkcs12 as first priority.
Suggested new attributes:
csi.cert-manager.io/keystore-type (default value: pkcs12)
csi.cert-manager.io/keystore-file
csi.cert-manager.io/keystore-password (default value: " the default keystore password")
This implies that an additional keystore should be created if the attribute csi.cert-manager.io/keystore-file is set.
To actually add an attribute for the keystore password is debatable. I would actually prefer not to, and always set the keystore password to the default value (changeit). Adding a reference to a Secret containing the password, as cert-manager Certificate does, adds too much complexity/abstraction on this level - in my opinion. And I am not sure if we can/want the CSI driver to read a Secret in the pod namespace?

Thanks @erikgb, this makes sense to add to me.
+1 on not including the password as an attribute, and instead just using the changeit default password. I also agree re: Secrets, I don't want the csi-driver getting Secrets.
We can also add the password attribute later if wanted.
/assign
/cc @munnerz

Should the default password be something other than changeit given that users can't actually change it? 😅

"changeit" is recommended

DefaultPassword is the string "changeit", a commonly-used password for PKCS#12 files. Due to the weak encryption used by PKCS#12, it is RECOMMENDED that you use DefaultPassword when encoding PKCS#12 files, and protect the PKCS#12 files using other means.

See: https://pkg.go.dev/software.sslmate.com/src/go-pkcs12#pkg-constants

In this case I'll trust the lib authors in this statement:

DefaultPassword is the string "changeit", a commonly-used password for PKCS#12 files.

If we used a different password, I'm afraid that would confuse Java developers as I think they'd assume the password is changeit if they work with PKCS12/pfx/p12 - but now they'd have to go look for it in the csi-driver docs. I think this is net-less confusion than us using something else, even though changeit is an unfortunate default.

So looking into it some more, it looks like the changeit text comes from the keytool.exe using that as a default when generating keystores because they want the user to change the password: https://stackoverflow.com/questions/56989732/what-does-changeit-really-do-in-java-net-ssl-keystore
We are ourselves a generator of keystores here so I'd still vote against adopting this behaviour if we don't allow users to change the password to avoid confusion. Maybe even 'insecure' as a default (inline with the library author's recommendation to protect the keystore through other means as this protection is considered insecure anyway)

cc @JoshVanL as another maintainer of the csi-driver project 😊

Hmmm, to make this feature even more familiar for cert-manager users, we could have no default password - as in cert-manager. The potential issue by doing so, might be the UX: How do we communicate back to the user that he/she has to set a password attribute? This is not a full-fledged API with validation, as in cert-manager. 🤔

I have no strong feelings on the password, so if the maintainers give a definitive answer I'll happily implement it :)

WDYT about raising the password-question on Slack (#cert-manager-dev)? It is a major decision, that will affect the UX, and I think it makes sense to discuss this in a more general context. The JKS/PKCS12 feature is already provided by cert-manager, and works as it does. And I would love to see the same support in cert-manager/csi-driver and cert-manager/trust...

Hmmm, to make this feature even more familiar for cert-manager users, we could have no default password - as in cert-manager. The potential issue by doing so, might be the UX: How do we communicate back to the user that he/she has to set a password attribute? This is not a full-fledged API including validation, as in cert-manager. thinking

I would be in favor of requiring a password! It is what we are doing already today in cert-manager Certificates.
Omitting the password would result as an error on the Pod during start. Not too terrible, and is already the case of other attributes which fail validation.

Hmmm, to make this feature even more familiar for cert-manager users, we could have no default password - as in cert-manager. The potential issue by doing so, might be the UX: How do we communicate back to the user that he/she has to set a password attribute? This is not a full-fledged API including validation, as in cert-manager. thinking

I would be in favor of requiring a password! It is what we are doing already today in cert-manager Certificates.
Omitting the password would result as an error on the Pod during start. Not too terrible, and is already the case of other attributes which fail validation.

+1

/unassign


Refactoring code to use new datasource operators

Description
This PR will do the following changes -

deleted old datasource class
deleted old prometheus datasource class
deleted old datasource operator
refactor code to use new datasource operator

Type of change

[x] Refactoring Code
[ ] New feature

How has this been tested?
Using kruize-demo scripts.
Image: quay.io/rh-ee-shesaxen/autotune:kruize-dsop2
Test Configuration

Kubernetes clusters tested on: minikube

Checklist :dart:

[X] Followed coding guidelines
[X] Comments added
[ ] Dependent changes merged
[ ] Documentation updated
[ ] Tests added or updated

Additional information
https://github.com/kruize/autotune/pull/1139 should be merged before this PR.

@shekhar316 Please resolve conflicts

@shekhar316 Please resolve conflicts

Resolved


Perform a clean Gradle build if android plugins changed

Fixes #38986
To check if a plugin has been part of the previous build i check if it appears in the manifest merger logs in build/outputs/logs/. If it has been enabled/disabled since the last build i do a clean Gradle build, which deletes the android/build/build directory.
Note, that i only tested this on the 3.2 branch, but since there is no difference between master and 3.2 i directly opened this PR against master.

@mbrlabs This seems to do the job partially as the logic doesn't check for changes to the plugin dependencies (both local and remote ones) in the manifest merger logs.
I wonder though if it would be easier and simpler to compare the last updated timestamp instead.
We can add a last_updated field to the PluginConfig struct and at load time (the logic used by get_plugins()) fill it with the value of the last updated component of the plugin:

Start with the last update time for the plugin configuration file.
If any of the plugin binary or local dependencies has a more recent updated timestamp, use that instead.

Then at export time, check the last update timestamp of the build directory with the ones from the enabled plugins. As soon as one of the enabled plugins is newer, perform a clean build.
To check for added/removed plugins, we can store in memory the list of plugins' names used in the last build, and compare with the current build.

Right, i didn't consider the plugin's dependencies. Your solution sould be easy to implement. I'm going to have a shot at it tomorrow.
Concerning the check for enabled/removed plugins: I thought about doing it in-memory at first as well, but then went for the logfile checks because it's not garanteed that the user made a build before enabling/disabling plugins in the editor...so it might not be in memory.

Concerning the check for enabled/removed plugins: I thought about doing it in-memory at first as well, but then went for the logfile checks because it's not garanteed that the user made a build before enabling/disabling plugins in the editor...so it might not be in memory.

In that scenario, we can just default to having a clean build similarly to the logic you have when unable to open the log files.
In practice, this should only affect the first build after the editor has been opened. It seems like good practice to always have the first build be a clean build.

@m4gr3d Done.
One thing tough: It's not possible to check the modification time of a folder (at least not in Windows) if no files have been added/removed directly, so instead of checking a particular file i used an in-memory last_custom_build_time field which is initially set to 0 and also makes sure that the first build is always a clean build.

I don't know whats going on with the static analysis checks. The last time i updated this PR was because Clang wanted spaces between the comments and values and now i should remove them again?

One thing to notice though is that if the user doesn't use plugins, then the first build won't be a clean build.
We could change that by checking if last_custom_build_time == 0 and triggering the clean build flag, but that may be overkill.
I don't have a preference either way so I'm opened to suggestions.

Checking for  last_custom_build_time == 0 should be fine.

Alright, i pushed the changes. CI checks should be fixed now as well i hope :)

Thanks!

Cherry-picked for 3.2.2.


[18.03] libmspack: 0.6alpha -> 0.7.1alpha

Motivation for this change
This addresses the following issues:

CVE-2018-14697
CVE-2018-14680
CVE-2018-14681
CVE-2018-14682

(cherry picked from commit 3c1f5d96ff3dc863ba96179cb454ffa5dcd32dbf)
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] 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 nox --run "nox-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)
[X] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/msexpand
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/oabextract
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/chmextract
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/cabrip
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/lib/libmspack.so.0.1.0
strip is /nix/store/k8b9hqv58dd1z0j4ikak24ykndcm91s6-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/lib  /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha
checking for references to /build in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha...
/nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha

Success on aarch64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/oabextract
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/msexpand
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/chmextract
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/cabrip
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/lib/libmspack.so.0.1.0
strip is /nix/store/hy39vplmzpwckvzxgyhr54dwz0mnfv2p-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/lib  /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha
checking for references to /build in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha...
/nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha

Apparently this rebuilds a few libreoffice variants... I'll rebase this against staging-18.03.

@GrahamcOfBorg build libmspack

Success on x86_64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
/nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha

Success on aarch64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/oabextract
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/msexpand
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/chmextract
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin/cabrip
shrinking /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/lib/libmspack.so.0.1.0
strip is /nix/store/hy39vplmzpwckvzxgyhr54dwz0mnfv2p-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/lib  /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha
checking for references to /build in /nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha...
/nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha

Success on x86_64-linux (full log)
Attempted: libmspack, libtiff, libxml2, openssl_1_0_2, openssl_1_1_0
Partial log (click to expand)
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/chmextract
strip is /nix/store/k8b9hqv58dd1z0j4ikak24ykndcm91s6-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/lib  /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha
checking for references to /build in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha...
/nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha
/nix/store/gyk0ga511fk9lg18rwlfd7hbq6wpyhd3-libtiff-4.0.9-bin
/nix/store/vywwsqjz3gpdrqc3hpilw8s043xzmmwc-libxml2-2.9.7-bin
/nix/store/3wmhxc5wfcqrsh1q1yvwkf20bhwrg923-openssl-1.0.2p-bin
/nix/store/pybhczdbj9m9g82nwdrbbg87qrzwplh8-openssl-1.1.0i-bin

Success on aarch64-linux (full log)
Attempted: libmspack, libtiff, libxml2, openssl_1_0_2, openssl_1_1_0
Partial log (click to expand)
copying path '/nix/store/k1zlikjjd5cbgdrx04fighq03lb0jha8-libxml2-2.9.7' from 'https://cache.nixos.org'...
copying path '/nix/store/h2sj6y126w6h60vvzp70ykcv44x79jy2-openssl-1.1.0i' from 'https://cache.nixos.org'...
copying path '/nix/store/njmdbayzviqglax2hlxhfnfdr065ggi2-libxml2-2.9.7-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/rz8187b7j6i7hfzlnmzpckm1rzc3cq6l-libtiff-4.0.9-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/4jp6k1xf3kfldhh5fzjacxb6fnsk0jba-openssl-1.1.0i-bin' from 'https://cache.nixos.org'...
/nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha
/nix/store/rz8187b7j6i7hfzlnmzpckm1rzc3cq6l-libtiff-4.0.9-bin
/nix/store/njmdbayzviqglax2hlxhfnfdr065ggi2-libxml2-2.9.7-bin
/nix/store/r06c6lci780kvmg63ypvaizhsrimpg9z-openssl-1.0.2p-bin
/nix/store/4jp6k1xf3kfldhh5fzjacxb6fnsk0jba-openssl-1.1.0i-bin

Success on aarch64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
/nix/store/n934fxm9nhxskm3l6lklx7syi425jfxb-libmspack-0.7.1alpha

Success on x86_64-linux (full log)
Attempted: libmspack
Partial log (click to expand)
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/lib/libmspack.so.0.1.0
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/msexpand
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/cabrip
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/oabextract
shrinking /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin/chmextract
strip is /nix/store/k8b9hqv58dd1z0j4ikak24ykndcm91s6-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/lib  /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha
checking for references to /build in /nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha...
/nix/store/gm4q6h8r8wri5kkj6fq0wij0pdss4dq1-libmspack-0.7.1alpha

Success on x86_64-darwin (full log)
Attempted: libmspack
Partial log (click to expand)
 /nix/store/5601x6iw0d16a62lf82h8vr2vlr1qvj8-coreutils-8.29/bin/mkdir -p '/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/include'
 /nix/store/5601x6iw0d16a62lf82h8vr2vlr1qvj8-coreutils-8.29/bin/install -c -m 644 mspack/mspack.h '/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/include'
 /nix/store/5601x6iw0d16a62lf82h8vr2vlr1qvj8-coreutils-8.29/bin/mkdir -p '/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/lib/pkgconfig'
 /nix/store/5601x6iw0d16a62lf82h8vr2vlr1qvj8-coreutils-8.29/bin/install -c -m 644 libmspack.pc '/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/lib/pkgconfig'
make[1]: Leaving directory '/private/tmp/nix-build-libmspack-0.7.1alpha.drv-0/libmspack-0.7.1alpha'
post-installation fixup
strip is /nix/store/apq9nivzars5hkwfq4pwdwfp89rn3bnl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/lib  /nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha/bin
patching script interpreter paths in /nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha
/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha

Success on x86_64-darwin (full log)
Attempted: libmspack, libtiff, libxml2, openssl_1_0_2, openssl_1_1_0
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/rynmmpwacsa0kskz93niml9g35kxaj3i-openssl-1.1.0i/lib
patching script interpreter paths in /nix/store/rynmmpwacsa0kskz93niml9g35kxaj3i-openssl-1.1.0i
gzipping man pages under /nix/store/74rg348b8brn5rrc4lspvrl0a7nrxja6-openssl-1.1.0i-man/share/man/
strip is /nix/store/apq9nivzars5hkwfq4pwdwfp89rn3bnl-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/74rg348b8brn5rrc4lspvrl0a7nrxja6-openssl-1.1.0i-man
/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha
/nix/store/9713js0cabnwqbkcknzb5w2jzqcmr6lv-libtiff-4.0.9-bin
/nix/store/07rh4zm9m4zp87zn01v6dchifp44dwq0-libxml2-2.9.7-bin
/nix/store/kkk9gp2kjlrishzsn64x723w6sz86d7c-openssl-1.0.2p-bin
/nix/store/dycwsdmhicxqba6b447mdqabkxz771cr-openssl-1.1.0i-bin

Success on x86_64-darwin (full log)
Attempted: libmspack
Partial log (click to expand)
/nix/store/izimvd85cap30jxrbjxqh5iwdgccb2mz-libmspack-0.7.1alpha

Office built good on Hydra.


Inactive/deactived Sensor Smoke/Presence

I agree to the following

[X] I have read the documentation right now
[X] I have read the FAQs right now
[X] I am aware of the latest release notes
[X] I am aware that an integration that was installed via HACS also needs to be updated via HACS
[X] The Backend (CCU/Homegear/...) is working as expected, devices are taught in and are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
Hi, I have discovered that my Smokesensor HmIP-SWSD / Pesencedetector HmIP-SPI can not be activated or deactivated.
In the CCU interface I can use them as normal as usual. I can activate the sensor when I leave and deactivate when I come back. But in Homeassistant the Device is there but the sensor is in status „deactivated“ even though I can not change it there.

In the first Versions was it possible, now there seams a connection/interpreter error. Can you verify this?
What version of HomematicIP (local) has the issue?
1.60.1
What was the last working version of HomematicIP (local)?
1.60.1
What type of installation are you running?
Home Assistant Container
What type of installation are you running for your homematic backend?
CCU3
Which version of your homematic backend are you running?
3.75.7
What hardware are you running for your system?
No response
Which config details do you use

[ ] TLS
[ ] callback data (see)

Which interfaces do you use?

[X] Homematic IP
[X] Homematic (Bidcos-RF)
[ ] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information (no logs here)
No response
Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!
-

Additional information

Please add the log file:

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

Basically this is not a problem with the integration, as these devices work without a problem in my environment, So I think it‘s a communication problem on your system.
The logs might have more information.

In the first Versions was it possible

This information is useless, unless you specify a version!

Hi SukramJ,
Thanks for your response. Maybe this information seems useless, but it also means that this was working some time ago and may have to do something with the environment.
All other devices are working fine in my environment, only those two having a topic with the sensor. Maybe we can eleborate together a solution here.
This is a pic from CCU3 where i can change the status.

home-assistant_2024-04-28T18-39-54.781Z.log
Also please find attached the logfile you requested.
Thank you for your help

Your logs are full of errors that indicate communication problems from HA to CCU, and maybe from CCU to HA.
Please check the docs especially for docker related infos (search for docker).

Hi, okay I will check that again and get back to you in the next two days.

I move this to discussion, because I see no issue with the integration.


Setup Yarn workspace and packages

Right now all the components are just part of the main application. Let's move to Yarn workspaces for better package separation, and so we can publish our components individually.

Done

Done


Default example not working

apistar new .
./app.py
./tests.py

apistar run
 * Running on http://<IP_ADDRESS>:8080/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!

            These types use either a matched URL keyword argument, or else
            a query parameter.

            Args:
                name: The name of the parameter.
                kwargs: The URL keyword arguments, as returned by the router.
                query_params: The query parameters of the incoming HTTP request.

            Returns:
                The value that should be used for the handler function.
            """
        if name in kwargs:
            return kwargs[name]
>       return query_params.get(name)
E       AttributeError: 'QueryParams' object has no attribute 'get'

/usr/local/lib/python3.5/dist-packages/apistar/components/dependency.py:386: AttributeError

app.py
from apistar import Include, Route
from apistar.frameworks.wsgi import WSGIApp as App
from apistar.handlers import docs_urls, static_urls

def welcome(name=None):
    if name is None:
        return {'message': 'Welcome to API Star!'}
    return {'message': 'Welcome to API Star, %s!' % name}

routes = [
    Route('/', 'GET', welcome),
    Include('/docs', docs_urls),
    Include('/static', static_urls)
]

app = App(routes=routes)

if __name__ == '__main__':
    app.main()

In python 3.6.2 works fine, python 3.5.2 does not work

Same Issue, I think.
Steps to reproduce:
    # On  ubuntu 16.04
    python3 -mvenv envs/apistar
    . ./envs/apistar/bin/activate
    pip install apistar==0.2.10
    apistar new .
    apistar run
    # browse to http://localhost:8080

Error Generated
Traceback (most recent call last):
  File "/home/jjasinski/test/apistar/envs/apistar/lib/python3.5/site-packages/apistar/frameworks/wsgi.py", line 115, in __call__
    response = self.http_injector.run(self.exception_handler, state=state)
  File "/home/jjasinski/test/apistar/envs/apistar/lib/python3.5/site-packages/apistar/components/dependency.py", line 110, in run
    ret = step.func(**kwargs)
  File "/home/jjasinski/test/apistar/envs/apistar/lib/python3.5/site-packages/apistar/frameworks/wsgi.py", line 112, in __call__
    response = self.http_injector.run(handler, state=state)
  File "/home/jjasinski/test/apistar/envs/apistar/lib/python3.5/site-packages/apistar/components/dependency.py", line 110, in run
    ret = step.func(**kwargs)
  File "/home/jjasinski/test/apistar/envs/apistar/lib/python3.5/site-packages/apistar/components/dependency.py", line 386, in empty
    return query_params.get(name)
AttributeError: 'QueryParams' object has no attribute 'get'

Packages installed
(apistar):~/test/apistar$ pip freeze
apistar==0.2.10
certifi==2<IP_ADDRESS>
chardet==3.0.4
coreapi==2.3.1
coreschema==0.0.4
idna==2.6
itypes==1.1.0
Jinja2==2.9.6
MarkupSafe==1.0
pkg-resources==0.0.0
py==1.4.34
pytest==3.2.1
requests==2.18.4
uritemplate==3.0.0
urllib3==1.22
Werkzeug==0.12.2
whitenoise==3.3.0

Python Version
(apistar):~/test/apistar$ python
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux

Okay, I suspect this is an issue in 3.5.2 that may not be present in 3.5.3+ (So far have confirmed QueryParams does include a .get method in 3.6 at least.)

I'm using Python 3.6.0a3 and am currently having this issue.

@m1yag1 Could you upgrade to a stable Python release (3.6.3)? Is there a reason why you stuck with Alpha release of Python?

Whats wrong with 3.5.2?
from apistar.http import QueryParams
a=QueryParams({"Type":"new"})
a.get("Type")

ends with

Traceback (most recent call last):
File "test_apistar.py", line 4, in
a.get("Type")
AttributeError: 'QueryParams' object has no attribute 'get'

Closing, given #400.


[Vue warn]: Component emitted event "update:rowData" but it is neither declared in the emits option nor as an "onUpdate:rowData" prop.

Describe the bug
Type declaration:
export type InputCellEmits = {   'update:rowData': [rowData: any]; };
[Vue warn]: Component emitted event "update:rowData" but it is neither declared in the emits option nor as an "onUpdate:rowData" prop.
step：

click the cell and input cell
Click anywhere

Reproduction
https://github.com/lixiaofa/test636/blob/main/vite.config.ts
System Info
"unplugin-vue-macros": "^2.7.2",

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

It seems like there's still a problem with it

When importing from other files


Annotations with commas cause errors

Example test case that fails:
==================
Comma in annotation property
==================

class EnvironmentSpec {
    @Option(
      names = ["--environment", "--env"],
      arity = "0..1",
      description = [
          "Which environment to use",
      ],
    )
    var environment: Environment
}

---

(source_file
  (class_declaration
    (type_identifier)
    (class_body
      (property_declaration
        (modifiers
          (annotation
            (constructor_invocation
              (user_type
                (type_identifier))
              (value_arguments
                (value_argument
                  (simple_identifier)
                  (collection_literal
                    (string_literal (string_content))
                    (string_literal (string_content))))
                (value_argument
                  (simple_identifier)
                  (string_literal (string_content)))
                (value_argument
                  (simple_identifier)
                  (collection_literal
                    (string_literal (string_content))
                  ))))))
        (binding_pattern_kind)
        (variable_declaration
          (simple_identifier)
          (user_type
            (type_identifier)))
      ))))

Something like this might fix it:
// https://kotlinlang.org/spec/syntax-and-grammar.html#grammar-rule-collectionLiteral
    collection_literal: $ => seq(
      "[",
      $._expression,
      repeat(seq(",", $._expression)),
      optional(","),
      "]"),


Question about key point

In class generate_data， What is the purpose of using 10 models?
I noticed make_ training_ Data.py  seems to be used to generate data， but I want to train the first stage with my own labeled training data. How should I operate?

Thank you！

We used an ensemble of MLP classifiers to improve performance.
You need to first embed real image in GAN's latent space. An encoder + optimization could work. I encourage you to read [1] for more details.

[1] Elad Richardson, Yuval Alaluf, Or Patashnik, Yotam Nitzan, Yaniv Azar, Stav Shapiro, and Daniel Cohen-Or. Encoding in style: a stylegan encoder for image-to-image translation. arXiv preprint arXiv:2008.00951, 2020.

Hello,I trained 300 epochs with 68 key points of the given 16 face images, but in generate_ Data the results don't look good. Is it because I have too many target key points?
This is generate images 256*256

hey. In the paper, we only perform key point detection tasks on car and bird.
Actually applying key point tasks on face is not reasonable. Since stylegan has a pre-processing step which is basically key point detection and affine transformation.  Please refer to https://github.com/NVlabs/ffhq-dataset/blob/master/download_ffhq.py#L339 for more details.

hey. In the paper, we only perform key point detection tasks on car and bird.
Actually applying key point tasks on face is not reasonable. Since stylegan has a pre-processing step which is basically key point detection and affine transformation. Please refer to https://github.com/NVlabs/ffhq-dataset/blob/master/download_ffhq.py#L339 for more details.

Thanks，
What appropriate method should I use to modify the code so that it can generate labeled face data?
Such as retrain a stylegan based on face data?
There is another problem. If I want to generate some large pose tagged face data, how can I adjust the latent = np.random.randn (1, 512) in the generated data

You can train a stylegan without pre-processing.
Can you explain your the second question in more detail?

You can train a stylegan without pre-processing.
Can you explain your the second question in more detail?

Thank you for your help,
The second problem is that in the first stage, we use the training data for training.
When generating labeled data in the second stage, I want to generate some labeled face images with large facial posture for training my own ldmk detection model.

You can train a stylegan without pre-processing.
Can you explain your the second question in more detail?

Thank you for your help,
The second problem is that in the first stage, we use the training data for training.
When generating labeled data in the second stage, I want to generate some labeled face images with large facial posture for training my own ldmk detection model, rather than a fixed frontal pose. So how can I generate such face data?


Sync elapsed seconds using pure SQL

We are currently syncing split time elapsed seconds using a callback that invokes potentially several ActiveRecord calls to the database. This ends up taking nearly a full second per record to run in production.
This MR changes the update over to pure SQL, skipping callbacks and validations. This is appropriate because the elapsed_seconds column is read-only in any case, and changes to that column should not result in (for example) the updated_at column being updated except in the case of the exact split_time for which the column was updated.
Running the rake task using this new query results in updates at the rate of approximately 400 efforts per second.
The SQL query used in this MR updates all elapsed_time attributes for an effort when any split time of that effort is updated. This may seem like overkill, but it allows us to use a single update regardless of whether the split time being updated is a start time or not, and regardless of whether a starting split time is destroyed. The query takes about 1ms to run locally and should perform much faster in production than the current solution does.

Rake task ran in staging environment; took 45 seconds (162 efforts per second) as opposed to about an hour using the old method.

Rake task ran in production environment; took just over 3 minutes as opposed to over four hours using the old method.
17250-MOveson:OpenSplitTime markoveson$ heroku run rake temp:initialize_elapsed_seconds --app opensplittime
Initializing the elapsed_seconds column
Found 19260 efforts
[########################################################################################] [19260/19260] [100.00%] [03:02] [00:00] [  105.77/s]