Unmanaged dependency failed to be resolved

I followed the instructions from:
https://devcenter.heroku.com/articles/local-maven-dependencies
When I push my app to Heroku it can not find the added jar in its local repository. This works fine on my local instance.
[ERROR] Failed to execute goal on project api: Could not resolve dependencies for project com.h2lo:api:jar:1.0: Could not find artifact pubnub:pubnub-java:jar:3.4 in project.local (file:/tmp/build_30y04zs5a9clk/repo) -> [Help 1]
Thoughts?
Thanks in advance.
Franz Garsombke

hi, @jcouyang thanks for you help.

Thanks @jcouyang for saving the day.

Thanks @jcouyang u saved my day


docs: fixed dead link to docs

Fixes this issue https://github.com/posva/pinia/issues/637

@posva Thanks, I originally created the issue because I wasn't sure where the URL should have pointed to in the docs until I read all the way to the bottom. At that point I decided I might as well fix my own issue.


Add RazorProject - an abstraction for working with Razor files in a project

Fixes #842

cc @rynowak

@NTaylorMullen could you have a look at the tests when you have a chance?

:shipit:


[Suggestion] A way to mark .d.ts files that they are strictNullCheck compliant

A project often depends on other libraries which come with their own .d.ts files. For example:
Library: lib_a.d.ts
declare function foo(name: string): string;

When my project turns on strictNullChecks it is not clear to me if the lib_a.d.ts can be trusted. Because if it was compiled without strictNullChecks than my project should interpret it as:
Library: lib_a.d.ts
declare function foo(name: string|null|undefined): string|null|undefined;

but if it was compiled with strictNullChecks than the lib_a.d.ts should be trusted as is.
In real life there are often many library dependencies, and I would like to turn on strictNullChecks in my project before I have to wait that all of the third party libraries are ready.
Straw-man syntax would be:
Library: lib_a.d.ts
/// <compiler-options strictNullChecks: true>
declare function foo(name: string): string;

The TS compiler would than adjusted the types on the fly as it reads the libraries because it knows with what options they have been compiled.

We've discussed something like this at some point in the past - the problem is that you now make the task of using anything from that library extremely onerous. Anything returned from the API must now unconditionally be checked or non-null asserted. What's more, inputs to your API are now potentially too lax.
There'd also be the question of what to do with object members - properties would presumably be optional, but would methods?

One thing to note is that null / undefined annotations can be added to a library without --strictNullChecks on. for instance the typescript.d.ts has  | undefined in multiple places, even though we do not compile with --strictNullChecks just to enable users who use --strictNullChecks.
Our analysis of libraries also showed that most APIs do not change, and that the library definition with no null/undefined annotations is likely usable with --strictNullChecks.
Our recommendation is to flip --strictNullChecks on your code base, using the existing declaration files for your dependencies;  for blocking issues in your dependencies push fixes to their .d.ts even though they do not --strictNullChecks.
We believe this is a point in time, and moving forward new libraries will be null-aware. We have enforces this on DT new definitions for instance.

We could really use this to make #9041 ergonomic

Without a clear distinction between input and output positions, this is kind of useless - from a read position you want to keep null and undefined out of the type (to avoid having to write foo!.bar!.baz! everywhere), but write positions sort of want null/undefined added (even though presuming that foo(null) is acceptable in the absence of evidence to the contrary is really suspect). So the status quo seems like the best bet.


Change runtime user from github to runner

This aligns with the hosted github runners and fixes some issues with hardcoded home paths /home/runner in actions.
Change-type: major

I self-certify!


Create token accounts if they don't already exist

Swapping to a token should create an associated token account, if it doesnt already exist. This includes intermediary accounts (udsc, usdt) for transitive swaps. This should happen in the transactions constructed from the @project-serum/swap package.

This shouldn't block the first release. Removing p1 tag.

This issue is resolved, just tested. Can close the issue


Great content.

So many protocals  are embedded in uefi .  Thanks  to all authors  for getting mentioned in this article and giving good circuit diagram based on current article.
Really  colorful diagram are  most suitable for  article.
I am little sad , because  many of the  windows users are  not giving feedback or comments .Eventhough  authors   are giving good example with their continuous efforts.

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

ID: 7b71bc68-55a4-256d-5f2d-75cf2477b7fc
Version Independent ID: d0830cb2-8897-ab2d-a03d-212d8cd31ae2
Content: UEFI in Windows - Windows drivers
Content Source: windows-driver-docs-pr/bringup/uefi-in-windows.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @barrygolden
Microsoft Alias: bagold

Thanks for your comment @RAJU2529, we appreciate knowing that this content is correct and useful for driver developers.
We welcome and encourage developers to open issues and submit pull requests to help us improve the bring up and driver documentation.


Display Mbtiles not just convert

https://gitlab.com/IvanSanchez/Leaflet.TileLayer.MBTiles - using a plugin like or offline for local mbtiles

Simply displaying MBtiles on the map is out of the scope of this project.  This project is concerned with displaying GeoPackage files and converting to GeoPackage.


Removed some duplications

Your welcome 😄
Pay attention to make your code clean and testable.
There are a lot of possibility to make your code more readable, testable and clean.
Hints:

unit tests? (try to extract some duplicate functionalities)
interfaces? (abstracting is the key to make your code more flexible)

Regards


Can't run wrker-build, assumes ~/.cargo/bin is in PATH and fails otherwise

🐛 Bug report
Describe the bug
This is just developer friction / newbie trap.
Wrangler 1.19.2 installed by building via cargo.
Reproduce the bug
With the template Rust workers demo from https://blog.cloudflare.com/workers-rust-sdk/
$ wrangler dev
🌀  Running cargo install -q worker-build && worker-build --release
sh: worker-build: command not found
Error: Build failed! Status Code: 127

$ PATH="$PATH:$HOME/.cargo/bin"
$ wrangler dev
🌀  Running cargo install -q worker-build && worker-build --release
Installing wasm-pack...

Expected behavior
Ideally:

Don't rely on user $PATH.
Don't even attempt to install things on the fly automatically. (My opinion.)

Environment and versions
Fill out the following information about your environment.

operating system: Linux, NixOS 21.05
output of wrangler -V: wrangler 1.19.2
output of node -v: node: command not found
content of wrangler.toml: unedited from template

Hey @tv42 - thanks for reporting this.
If you're already using Rust, you're probably using cargo, which itself is a very opinionated toolchain that generally makes these same assumptions. I agree it's preferable to not install tools so automatically and to be as flexible as possible. But, the goal here is largely to make it as easy as possible to get a project built.
You're welcome to run your own build script in place of the one placed in the template though! Happy to consider any suggestions to work around your 2 ideals above.

Is the issue with PATH being used just that you didn't have your PATH set after installing Rust via something like rustup? If so, rustup does explain that you'd need to add that directory to your path, or even add it for you I believe.


line 37: run.sh: syntax error: invalid arithmetic operator (error token is ".sh")

Here is the command I used to create custom image:
python generate_custom_image.py \
    --image-name core-spark-conda-test \
    --dataproc-version 1.4.10-debian9 \
    --disk-size 50 \
    --customization-script ../start_actions.sh \
    --zone us-central1-f \
    --gcs-bucket gs://test-misc/dataproc-custom-image \
    --no-smoke-test

The start_actions.sh is here.
It worked in July 2019 after this commit 49f33752bc83a135ce1d62875b02b270b5c1ed7d. Now I run it again on the latest commit, it gives me the following error:
+ echo 'Uploading files to GCS bucket.'
Uploading files to GCS bucket.
+ sources=([run.sh]='startup_script/run.sh' [init_actions.sh]='../init_actions.sh')
/var/folders/fr/hc45cptn3cs_hkf6y1zr7l7w0000gn/T/tmpQy24Bb: line 37: run.sh: syntax error: invalid arithmetic operator (error token is ".sh")

But when I roll back to this commit (49f33752bc83a135ce1d62875b02b270b5c1ed7d) It works.
Does anyone know what causes this error and how to fix it?

What bash version do you use?
May you post output of:
sh --version
bash --version
/usr/bin/bash --version

This is most likely an issue due to version difference between /usr/bin/bash and bash in your environment.

I'm getting the same error, first time using it though...
I get the following version for sh, bash, and /bin/bash.
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Copyright (C) 2007 Free Software Foundation, Inc.

While /usr/bin/bash --version returns:
bash: /usr/bin/bash: No such file or directory

@jason-huling You need to use bash 4, see requirements for more details.


chore: update openai to latest API version

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.53%. Comparing base (86ecbca) to head (54a6295).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2190       +/-   ##
===========================================
- Coverage   85.75%   61.53%   -24.22%
===========================================
  Files         329      329
  Lines       17086    17086
  Branches     1515     1515
===========================================
- Hits        14652    10514     -4138
- Misses       2434     6572     +4138

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Run end-to-end tests in Espresso mode

Depends on https://github.com/EspressoSystems/espresso-sequencer/pull/570
Depends on https://github.com/EspressoSystems/op-geth/pull/2
Closes #31
Closes #30
Closes #43
Closes #8
Closes #7

Adding the espresso.Client implementation to this PR since I need it to run the tests and I need the tests to check the client

Current status: I'm running an end-to-end test in Espresso mode with
cd op-e2e
OP_E2E_USE_HTTP=true go test -v \
                -l1-allocs ../.devnet-espresso/allocs-l1.json \
                -l1-deployments ../.devnet-espresso/addresses.json \
                -deploy-config ../packages/contracts-bedrock/deploy-config/devnetL1-espresso.json \
                -run TestSystemE2E ./... 2>&1 | tee /tmp/log.txt

The first thing this test does is force a deposit through L1, without sending it to the sequencer. This actually works, which is awesome! It means the L1-L2 bridge/escape hatch is going to work after this integration.
Next it sequences an L2 transaction by sending it to the sequencer RPC (which I have configured to point at the op-geth-proxy service). From logs, I can see that the transaction is sequenced by HotShot and included in a batch by the OP sequencer, which is then sent to op-geth and sealed. Also awesome!
However, the test gets stuck immediately after that, because the next HotShot block includes the same transaction, whose nonce is of course invalid the second time. op-geth refuses to execute a block with an invalid transaction, and the sequencer gets stuck in a loop of trying to seal the same batch repeatedly until the test times out. So, it is looking like we'll need to do something about invalid transactions :(

Found the place where they add an exception for deposit transactions, where invalid transactions are converted to failed transactions and still added to the block: https://github.com/ethereum-optimism/op-geth/blob/optimism/core/state_transition.go#L355.
We'll have to fork op-geth, but I think adding a similar exception for Espresso transactions should fix the problem. It makes sense that these would be treated similarly, as they both have the same problem: they are force-included (deposit by L1, Espresso transactions by HotShot), the sequencer has no discretion to discard invalid ones.

Yeah, I think of this as a last resort. The derivation pipeline would also have to do the same thing, execute the full batch and gradually shrink it, to determine that the sequencer shrank it honestly.
I don't think it will be too much work to at least see if patching op-geth is feasible. I'll try to find out today.

 Many are not, but I think at this point the best thing to do is clean up CI and then merge it, so we can move on to working on the demo and cleaning up some loose ends. We can selectively fix and enable more tests time permitting. I suspect many of the failing tests are just having timeouts, since there's a little bit of extra latency in Espresso mode compared to the centralized sequencer.

I'm pretty sure the failing test is just flaky. It passes sometimes, and when it fails it's just a timeout. And it passes consistently for me locally. Since it's a legacy mode test I don't think it's worth debugging right now, I'm just going to merge this


us/ms/rankin containing incorrect cities and postalcodes

Currently data for us/ms/rankin includes data with the wrong town and state. The street number and street name appear to be correct, along with the actual location of the address. However, the town, state, and zipcode appear to reference a different town in a different state.
I've taken a quick look at the Rankin County Map Viewer with the Houses data layer on and it seems some of the data only has a street number and name, so I presume in some cases the filling in of a zipcode, town, and state is going wrong.
An example can be seen in the processing job: https://batch.openaddresses.io/job/259421 and I've attached some of the problematic data below. The first two have been incorrectly labelled CO.
{"type":"Feature","properties":{"hash":"becac994fafb3b9b","number":"600","street":"INDUSTRIAL DR","unit":"","city":"LOUISVILLE","district":"","region":"CO","postcode":" ","id":""},"geometry":{"type":"Point","coordinates":[-90.1535056,32.2084325]}}
{"type":"Feature","properties":{"hash":"a27ded555f4c1d7e","number":"600","street":"INDUSTRIAL DR","unit":"","city":"LOUISVILLE","district":"","region":"CO","postcode":"80027","id":""},"geometry":{"type":"Point","coordinates":[-90.1532658,32.2081806]}}
{"type":"Feature","properties":{"hash":"ced774a346801ef8","number":"520","street":"INDUSTRIAL DR","unit":"","city":"RICHLAND","district":"","region":"MS","postcode":"39218","id":""},"geometry":{"type":"Point","coordinates":[-90.1546102,32.2097352]}}

Usually this happens because the data we're pulling from has "owner" address info instead of "situs" address.


[Vssue]Tags

http://localhost:8080/tags/testnet

#wallet is nowhere to be found on the chart. It should be the highest rated topic


The future of the lettuce reactive API

lettuce brought with 4.0 a reactive API based on rx-java 1. The reactive API mirrors mostly the asynchronous API and resolves List and Set types into Observable. The reactive API has some drawbacks:

It emits null values
Method invocation and result processing are decoupled. In some cases, data ordering depends on the input arguments that can make it hard to correlate input parameters to result
(more to come)?

Reactive libraries move towards Reactive Streams, and the rx-java 1 library will be superseded by rx-java 2 that will use Reactive Streams as well.
Especially the null handling is in Reactive Streams pretty clear defined: null values are not allowed which means lettuce has to react to this requirement.
The null problem
Redis emits null in several cases. The most frequent case might be MGET to retrieve values by a key. In case the key does not exist, a null value is returned. Returning null values is discouraged anyways, with Reactive Streams it's no longer allowed. This rule requires lettuce to introduce a representation for absent values. While it's simple for singular values like GET to use a Mono (see Project Reactor, multiple absent values are harmful to the API consumer because it cannot be longer correlated, which value of e.g. a MGET is absent.
It's obvious for at least commands returning multiple values by key to return a different result type than the value type. Something like Publisher<Value<T>> could wrap the value.
The ordering problem
Result order in the sync/async API is not an issue. The result type of commands using a particular order is either List or a Map using a LinkedHashMap implementation. The input argument order can be easily matched against the result ordering since both values are quite near to each other. Reactive APIs introduce the possibility for deferred and lazy event processing where the stream can be processed in a different place than the command invocation. Emitting just the value type might be not enough in that case.
A possible solution might introduce a keyed value type that holds the correlation to the input argument. Currently GET and MGET and its variants are known to fall into this category of commands.
Something like Publisher<KeyValue<K, V>> could wrap the value.

Regarding null problem -- what about Optional? Also, as far as I know -- lettuce do not return null in Reactive API? I use lastOrDefault(null) to get around this.
I also had ordering problem, but a bit in different context. I ended up with simillar wrapper, or, if object returned from Redis had this key inside -- without wrapper.

Thank you for your feedback. You're right, GET does not return a null but MGET does. I fixed the description.
Try reactive.mget("a", "b", "c").doOnNext(s -> System.out.println(s)).doOnCompleted(() -> System.out.println("complete")).subscribe(); where the keys are absent. It prints:
null
null
null
complete

If Reactive Streams it's no longer allowed null value, bypass it by using wrapper class doesn't seem to be a good idea. IMHO, if lettuce return with the correlation of the key and value, it seems null value could just be skipped.

Rather than using position to pair resulting values with requested fields, why not supply a collection containing key/value pair objects for those values which were non-null? If the alternative is using Optional, there isn't much added overhead, and the source of each value is more explicit.

@jedwardsaviata I thought about something like KeyValue<K, V> which would transport the key and the value, like an Optional with a key.

Following methods are known to emit arrays containing null-elements at top-level:

mget(K...), could emit KeyValue<K, V>
hmget(K,K...), could emit KeyValue<K, V>
geohash(K, V...), could emit Optional<String>
sort(…), could emit KeyValue<K, V>
bitfield(…), could emit Optional<Long>
exec(…), could emit Optional<Object>

RxJava announced its roadmap towards 2.0. RxJava will feature a couple of breaking changes. It will be compliant with Reactive Streams but requires each Observable and Single to be converted to a Flowable. The other way round, Observable/Single creation is possible with Observable.from(Publisher).
I've worked with Reactive Streams and RxJava and I have to admit the Project Reactor implementation provides a very clean an concise API. I'm tempted to drop RxJava in favor of Project Reactor. Supporting both libraries is not doable by myself. RxJava users can convert Publisher <-> Observable in both directions using the provided Project Reactor adapters.
Any opinions?

I see your point. Being able to convert is big plus.Have you worked with Project Reactor elsewhere?

I'm currently building reactive APIs for MongoDB and Cassandra using Project Reactor. Working with RxJava/Project Reactor reveals small differences and the Project Reactor API feels more mature. RxJava 1 has a different internal architecture which prevents some optimizations that are made by Reactor. The devs of RxJava contribute to Reactor and vice versa so you find similar code in both projects.

I've migrated the reactive API for lettuce 5.0.0 to use project reactor and Reactive Streams. You can take a first look on the very first snapshot builds:
<dependency>
    <groupId>biz.paluch.redis</groupId>
    <artifactId>lettuce</artifactId>
    <version>5.0.0-SNAPSHOT</version>
</dependency>

Closing this ticket as the direction is clear now. The reactive API was migrated to Reactive Streams/Project Reactor with #349.

Users of RxJava 1 can benefit from the upcoming command interfaces abstraction (dynamic API) by declaring RxJava1/RxJava2 return types. Wrapper type conversion happens under the hood and the migration path improves by retaining RxJava on a different abstraction level, see #383.


Will the MQTTnet support websocket without asp.net core hosts?

Hi,
I hosts the mqtt server in the console app. Now I forward the message to web with the lib websocket-manager. So does the mqttnet possible support websocket server without asp.net core hosts?
Thank you.

Hi,
this is not planned yet but you can implement an adapter if you want.
Best regards
Christian

Thank you !


Benchmarks for totalCaptured, totalAuthorized, events and subtotal on Order Type

I want to merge this change because it adds benchmarks for unoptimized resolvers on Order type:

totalCaptured
totalAuthorized
events
subtotal
Each of these produces unoptimized number of queries which will be fixed in subsequent PRs.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2736 Optimize totalCaptured resolver in Order type


execute the created code

convert everything to JS and execute JS locally. This is a better approach compared to using Pyodide as it will allow us to do more interesting things such as getting user input through a modal similar to Scratch, or display output in interesting ways.
Using JS would also allow future versions of the tool to create interactive outputs (draw lines, animate objects, and etc.)

Agreed, javascript execution is preferred over python, and we can equate logging with print/say statements.
The following function is an example of how we can do this.
var test= "console.log("Hello World");"

function execute(code) {
  var F = new Function(code);
  return (F());
}

execute(test);

use prompt to get input from user and test it


Compliance Report | Gov Analyst Recommend Rejection |3|

Story:
As a Government Analyst, I want to be able to recommend rejection of a compliance report.
Scenario:
GIVEN that I am an IDIR user
AND I have the Government Analyst role
AND I am viewing a submitted Compliance Report (i.e. status = Submitted)
AND I am on the Summary page
WHEN I click on the Recommend Rejection button
AND I accept the confirmation alert
THEN I am returned to the main compliance reporting page
AND the status of the report in the UI changes to Reviewed - Analyst (back-end status should be "Recommended Rejection - Analyst")
And a report history record is created (see below)
AND a system alert appears on the screen
Status update visibility:

The status change should only be visible to IDIR users. For BCeID users, the status should remain at Submitted.

Report History Record:
A report history record should be created when the Gov't Analyst recommends rejection of the report. The format should be as follows:

Reviewed and <Status> on Month DD, YYYY by <First, Last Name> of <Organization Name>
Example: Reviewed and Recommended Rejection on March 31, 2019 by Justin Lepitzki of Government of British Columbia

Note: This report history record should only be visible to IDIR users.
Confirmation Alert Messaging:

Are you sure you want to recommend rejection of the compliance report?

System Alert Messaging:

Rejection Recommended

https://trello.com/c/4HfyILRV/1671-compliance-report-gov-analyst-recommend-rejection-3

resolved in sprint vulcan


[WIP] Change Import Version to github.com/cloudevents/sdk-go/v2

This is necessary to satisfy the go module import compability rule: https://blog.golang.org/v2-go-modules.

If an old package and a new package have the same import path, the new package must be backwards compatible with the old package.

Fixed by https://github.com/cloudevents/sdk-go/pull/395


Updating IMDS endpoint discovery to be non-throwing

This updates the mechanism to discover if the IMDS endpoint is available from trying to send a request to directly trying to create a TCP connection. This enables us to check for existence without throwing and handling exceptions.
Fixes #8790

It's unfortunate that we don't have positive tests for these.

Are you planning to add the HTTP request back and use TcpConnection as optimistic check? I was postponing the full review waiting for the change.

@pakrym After thinking about it further I'm unconvinced that the HTTP request adds value over just the Tcp connection. Since we're only checking for a response not a sucessful response, the only corner case that this would be that something else is listening on this private ip at the correct port that isn't IMDS and doesn't use HTTP. So I don't think the added complexity is worth guarding this very edge case. Plus there is a workaround in this case for the DefaultAzureCredential as the customer could disable the ManagedIdentityCredential.


az mesh deployment create --parameters does not have documentation

az mesh deployment create has no help for parameters.
Arguments
--no-wait                     : Do not wait for the long-running operation to finish.
--parameters

would also be nice if there was an easier way to specify parameters when calling the azure CLI from powershell as it's really painful to properly escape the json.
Something like
-param Key1=Value1 Key2=Value2

would be good

@markheath I'm experiencing the pain with this as we speak. Do you have any pointers or gotchas you can pass along that you may have discovered in your troubles?

Hello @andrewdmoreno/ @markheath
We have updated the help strings of cli and have added couple of options to specify the parameters as shown below:


[BEAM-5317] Finish Python3 porting for options module

This is is part of a series of PRs with goal to make Apache Beam PY3 compatible as per the proposal

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

R: @RobbeSneyders @aaltay

Retest this please

R: @tvalentyn

LGTM!


plugins/nvim-lsp: fix lua_ls workspace library attribute type

plugins.lsp.servers.lua-ls.settings.workspace.library is supposed to be an array of library paths.

Sorry CI does not seem to pass (infinite recursion)

CI seems to pass now


When will this doc be removed since azure disk pool will be decommissioned

Can I know when the docs for Azure Disk pools will be removed? It caused some confusions

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

ID: 71266093-f861-cce6-0b06-f613a7c03baf
Version Independent ID: b84e4ca9-3baf-380a-4b6c-b012bb389556
Content: Azure disk pools (preview) overview - Azure Virtual Machines
Content Source: articles/virtual-machines/disks-pools.md
Service: storage
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@MS-Jerry
Thanks for your feedback! We will investigate and update as appropriate.

@roygara
Can you add your inputs on above query.

@MS-Jerry
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@MS-Jerry We've added an alert to the articles to make it clear it's being retired. That alert should be live in a few hours.
In the future, please reach out to article authors directly. GitHub issues are meant exclusively for external contributors.
#please-close


message transformation example fails Doc

Location : https://ei.docs.wso2.com/en/7.0.0/micro-integrator/use-cases/tutorials/transforming-message-content/
Hi , I ran this example (unchanged) from the zip file located at github.
Prior to that I ran two others that run without problems.
However this one fails at the mapper stage with a null pointer exception
transformation-example.txt

needs further investigation


Multiple transactions in single block errors with MerkleWitness not valid for StateTransition

Describe the bug
When sending many transactions to an app-chain & then producing a block the test errors with:
test/Balances.test.ts:
Block Production time: 1696 milliseconds
111 |         if (response.taskId !== undefined) {
112 |             const resolveFunction = this.resultsPending[response.taskId];
113 |             if (!this.erroredOut) {
114 |                 if (response.status === "error") {
115 |                     this.erroredOut = true;
116 |                     this.errorFunction?.(new Error(`Error in worker: ${response.payload}`));
                                            ^
error: Error in worker: MerkleWitness not valid for StateTransition (0, type normal)
Bool.assertTrue(): false != true

I came across this error in both bun and npm.
To Reproduce
Steps to reproduce the behavior:

Go to bun bug repository or the npm bug repository
Run the tests (bun install && bun test or npm test)
See error

Expected behavior
When sending multiple transactions to the app-chain it should produce a block and not error.
Additional context
Add any other context about the problem here.

Fixed in #54


Firefox addon  Promise rejection value is a non-unwrappable cross-compartment wrapper

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I have a problem when I want to use algoliasearch-client-javascript in my firefox addon, because I can´t get Hits
This is the show up in my console when I debug the code:
If the current behavior is a bug, please provide all the steps to reproduce and a minimal
JSFiddle example or a repository on GitHub that we can npm install
and npm start.
uncaught exception: AlgoliaSearchNetworkError: Network issue, see err.more for details  main.js:2:253575 uncaught exception: AlgoliaSearchUnknownError: Promise rejection value is a non-unwrappable cross-compartment wrapper.
What is the expected behavior?
Get the hits from algolia search

Hey @Zitle-Nancy, could you make a GitHub repository we can try this out on, this seems like a very particular issue that we haven't had in other use cases yet. Thanks!
Seeing some bugs in FF related to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1368436

@Zitle-Nancy have you found the time to make a reproduction or is this fixed ? 🤔

Please reopen if this happens again 🙂


[Help Wanted] Power Drag

WIP DO NOT REVIEW!!!
Summary of the Pull Request
Adds #269
PR Checklist

[x] Applies to #269
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[x] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #269

Info on Pull Request
Very Early Prototype of Alt Drag functionality [WIP]
I have been able to achieve basic dragging functionality, screen record shortly
Validation Steps Performed
Build project

@crutkas @enricogior I have fixed the build. You can test the PR by changing the project type of altdrag from static library to application(exe). I need help with changing the build output directory to have the files inside modules/altdrag please guide🙏

@AnuthaDev when do you want us look at this

Soon

@crutkas

I am thinking of using Windows 8 hand cursors when hovering over a window and grabbing(the one that showed when you moved cursor to top of window)

Hey @crutkas Can you please help me find the .cur file of the cursors that were used in windows 8 when closing an app by dragging from top. I can't find them anywhere online.
Pic:

@AnuthaDev
do we need to change cursor? Changing cursor can have side effects and the code needs to be 100% robust to avoid situation where the cursor doesn't get reset properly, we don't want to spend time on issues reported by the user regarding the cursor not being reset properly or overwrite their custom cursors.
My 2 cents is to not change the cursor.

@enricogior I personally would want the cursor to provide some feedback, so Yes, we need to change cursor. Regarding the robustness point, that won't be an issue. I am not changing the system cursor. I have an invisible window that follows the mouse when alt is pressed, and I am only changing the cursor of that window. Worst case the window doesn't get hidden and the user sees the hand cursor in a 100x100 px screen region only. All we need to do is to ensure that window remains hidden when alt is not pressed. So, My 2 ₹rupees is to change the cursor😅

@AnuthaDev
have you already tested with different DPI settings? And when moving from one monitor to another monitor with different DPI scaling?

@enricogior I haven't tested different DPI, but I think it should work, will test soon. And I only have 1 monitor, so I can't test the other one.

@crutkas I have tried to make it work, please test, the runner project is not compiling for me.

Oh! Forgot to create xaml interface in settings project, means it won't show up in settings. Oops

@AnuthaDev , This is quite exciting! Do you have AppVeyor artefacts for others to test the binary?

@savchenko Well, you can try this prototype I made:
https://drive.google.com/file/d/1P-Wud5zI24Gw-ipDKttf69gn9dV-9WKu/view?usp=drivesdk
It cannot move maximized windows, can move start menu windows, taskbar icons, so be careful. You need to close it using task manager.

@savchenko LOL what? Wait a moment

AltDrag.pdf
Download this and change extension from pdf to exe

I'll probably wait for a build, WinDefender shoots it down as Win32/Wacapew.C!ml. Thanks for an effort though!

@savchenko No problem, I totally understand. But I would like to just leave this here: https://github.com/pbatard/rufus/wiki/FAQ#Antivirus_X_reports_that_Rufus_contains_malware

More progress!!! (Although it crashes en)

@crutkas Were you able to find the cursors?

Remaining work (for this PR):

[ ] Fix settings crash
[ ] Fix hidpi
[ ] Hotkey customisation
[ ] Finalize icon
[ ] Windows 8 hand cursors (or something better)
[ ] Add required strings (name, description etc.)
[ ] Revert accidental changes (version bump)
[ ] Final cleanup

Followup work:

[ ] Async low level hooks

@AnuthaDev email me, trying to get in contact with you to validate a different item<EMAIL_ADDRESS>

@crutkas Sent an email😄

@crutkas OK, you should be able to test it now. For some reason the toggle for disabling only works 1/2 times, so that's weird. Still WIP

The actual code for the powertoy is trivial as compared to the plumbing required to integrate it.🙁

Will you keep minimizing support (win+RMB)?

...and "toggle always on top"? :)
(Middle mouse button)

@Eneen I don't think this PR has any effect on Win+RMB
@savchenko There is another proposal for always on top. I am not touching it in this PR

@crutkas I am adding the "In Progress" to #269

@AnuthaDev Just curious on the status of this PR

@alannt777 Still WIP. I got a little busy. Will work on it this week.

Awesome!

@AnuthaDev you may want to pull changes from master

FYI, updated and (hopefully) maintained version of AltDrag is now here: https://github.com/RamonUnch/AltDrag

New name?

How about PowerDrag?

PowerToys Move?

There is a possibility to integrate SyncToys? Or refresh the synctoys old project?

@AnuthaDev
do you have plans to complete this PR or should we close it?
Thanks.

I am looking forward to this powertoy. This will allow me to move the Windows Terminal while its in focus mode

I haven't been able to make the original AltDrag work with PowerToys, and this PR would give this functionality. So it would be a bummer to see this getting closed or remaining stale.

PowerToys Move?

Sounds a bit like mover PowerToys.
Suggestion:

PowerToys WinDrag
PowerToys WinMove

PowerToys Move?

Sounds a bit like mover PowerToys.
Suggestion:

PowerToys WinDrag
PowerToys WinMove

Can someone built on top of this code if this PR remains stale?

Can someone built on top of this code if this PR remains stale?

@AnuthaDev is this still a WIP?

@AnuthaDev is this still a WIP?

@crutkas Unfortunately I won't be able to work on the PR in the foreseeable future. I would have loved to complete it, but some extremely important stuff has come up.
It would be great if someone from the community takes this PR and works on it.
I am leaving it open for visibility.... You can close it if/when you want

@crutkas Unfortunately I won't be able to work on the PR in the foreseeable future. I would have loved to complete it, but some extremely important stuff has come up.
It would be great if someone from the community takes this PR and works on it.
I am leaving it open for visibility.... You can close it if/when you want

FYI, updated and (hopefully) maintained version of AltDrag is now here: https://github.com/RamonUnch/AltDrag
https://github.com/RamonUnch/AltDrag/issues/13#issue-784543596

FYI, updated and (hopefully) maintained version of AltDrag is now here: https://github.com/RamonUnch/AltDrag
https://github.com/RamonUnch/AltDrag/issues/13#issue-784543596

I am thinking of using Windows 8 hand cursors when hovering over a window and dragging(the one that showed when you moved cursor to top of window)

How about this one: https://maps.gstatic.com/mapfiles/openhand_8_8.cur

I am thinking of using Windows 8 hand cursors when hovering over a window and dragging(the one that showed when you moved cursor to top of window)

How about this one: https://maps.gstatic.com/mapfiles/openhand_8_8.cur

@crutkas Unfortunately I won't be able to work on the PR in the foreseeable future. I would have loved to complete it, but some extremely important stuff has come up.

I filled an issue with the repo savchenko mentioned:

FYI, updated and (hopefully) maintained version of AltDrag is now here: https://github.com/RamonUnch/AltDrag

and RamonUnch said:

Very sad that this project stopped.
The truth is that it is very integrated into PowerToys, I never worked on this project and It would take ages for me to >understand the logic and to start to be able to write something.
For the moment the only thing I use in PowerToys is the bulk rename utility.
If you want AltDrag to work in together with FancyZones you need to really integrate the program into PowerToys.
in short: I may consider this in the future, but not right now.

@crutkas Unfortunately I won't be able to work on the PR in the foreseeable future. I would have loved to complete it, but some extremely important stuff has come up.

I filled an issue with the repo savchenko mentioned:

FYI, updated and (hopefully) maintained version of AltDrag is now here: https://github.com/RamonUnch/AltDrag

and RamonUnch said:

Very sad that this project stopped.
The truth is that it is very integrated into PowerToys, I never worked on this project and It would take ages for me to >understand the logic and to start to be able to write something.
For the moment the only thing I use in PowerToys is the bulk rename utility.
If you want AltDrag to work in together with FancyZones you need to really integrate the program into PowerToys.
in short: I may consider this in the future, but not right now.

I think I have a "catchy" name: "Easy Move" or "Easy Drag".

I am working on a modification of AltDrag (AltSnap) so that it interacts better with FancyZones.
It is still beta software and not yet extensively tested: https://github.com/RamonUnch/AltSnap/issues/97
if you are interested.

I think you should use the Windows key for this by default (as I do now in AHK) because it doesn't conflict with anything. Many graphics packages and 3D modelling tools already use Alt+Drag for various purposes. (Also dragging windows with Windows+Drag seems very appropriate)
The only thing that that doesn't play nicely with now that I can find, is PowerToys' own Shortcut Guide.

Suggesting making the modifier key configurable like the AltDrag app already does.

@jaimecbernardo @crutkas Noone seems willing to do this, so I think it can be closed out.

It's been here for long enough. It can be re-opened if needed.

I think I've found bug: when PC becomes unresponsive e.g. due to some app working hard in background then altdrag locks alt key so it's "always pressed". To overcome this I just need to press alt. Win 11 here, but it was same on Win10 and old AltDrag. Can do proper bug report if necessary, but just letting know here.

@1234Brian Could you please stop approving PR's unless you're really testing them.

👍

What is the bare minimum work required to merge an MVP of this PR? It's cool to see the gif of the proof of concept above. Is it just in need of testing?
I see this list  from AnuthaDev. I'm trying to parse this so here it is as a markdown table. Feel free to add to my comments or revise:

Required?
Task status
Task name
Additional questions/notes

x
Fix settings crash

required

Fix hidpi
is it broken or untested?

nice to have

Work on maximised windows
Assuming this is nice to have

?

Allow shortcuts like alt+f4 to work??
What does this mean? Would you press Alt+F4 while doing an alt+drag?

nice to have

Prevent working in full screen mode?(for gaming)
Nice to have? Assuming there is a global shortcut to enable/disable

nice to have

Ignore shell windows (start menu, taskbar etc.)
Nice to have?  Does anything bad happen without this?

nice to have

Work elevated
Assuming this means in an elevated permissions window. Which is not that often. I'd be fine with nice to have.

?

Hotkey customisation
Assuming this is solved/boilerplate

nice to have

Finalize icon

nice to have

New name?

nice to have

Windows 8 hand cursors (or something better)

x
Add required strings (name, description etc.)

x
Revert accidental changes (version bump)

required

Final cleanup

should have

Resizing support
Ah, so is this the main feature not implemented yet?

?

Async low level hooks
Is this a performance issue?

nice to have

Snap to monitor edges (Aero snap)

required

Robust multi-monitor support
assuming this is general stability and testing

nice to have

How does it relate to fancyzones?
?

nice to have

Touch support

From this I think the major efforts are:

Implement resizing
Testing and fixing any issues with hidpi, multimonitors, and general performance
Final cleanup including boilerplate items like hotkey setting, icon, name

Let me know if that sounds right


Support entrypoint in Dockerfile

entrypoint is operator friendly：
FROM scratch
COPY . .
ENTRYPOINT ["kubectl apply -f mysql-operator.yaml"]
CMD ["kubectl apply -f mysql-instance.yaml"]

So that I only need to overwrite the CMD when I want to use my own mysql config.

Hi, I'd like to do this job.

@cuisongliu you can show some guide about how to provide this feature.

https://github.com/labring/sealos/blob/main/pkg/guest/guest.go


fix: fix the store upgrade for metoken on v6.1.0

Description
closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

I added skip-e2e-test for merging this pr , because the change related to upgrade


how to enable exordum after installation

This is not bug/issue, it is question.
Regarding to installation, should I made any changes to ~/.emacs or ~/.emacs.d/init.el?
git clone https://github.com/emacs-exordium/exordium.git  ~/.emacs.d/
after git clone.
I restart emacs, but nothing change as the said "download and compile the required packages" does not happen. They do happen when i ran init-test.sh

Following How Emacs Finds Your Init File:

Emacs looks for your init file using the filenames ~/.emacs.el, ~/.emacs, or ~/.emacs.d/init.el in that order; [...]

Please make sure you don't have the former two files when Emacs starts (i.e., mv ~/.emacs.el{,.orig}; mv ~/.emacs{,.orig} and ignore errors about missing files)

After removing ~/.emacs and restart emacs, the outlook shows similar to that of init-test.sh.
Yet, when i tried some short-cuts mentioned in README, it looks like all these short cuts, excluding emcas default keys, are all invalid. Meanwhile, init-test.sh works as expected.  Is there any minimal ~/.emacs.d/init.el configuration required?


RTL support

I'm using the Bulma theme with $rtl: true in my scss and dir=rtl on my body and it appears some components don't render quite right in RTL, specifically so far I've noticed Steps looks off:

<o-steps v-model="store.activeStep" animated="true" rounded="true" has-navigation="false" label-position="bottom"
  size="small" stepMarkerClass="mb-2" stepContentClass="pt-5" stepLinkLabelClass="has-text-weight-normal">

  <o-step-item step="1" label="Design" :clickable="true">
    <DesignStep @done="designStepDone" />
  </o-step-item>

  <o-step-item step="2" label="Material" :clickable="materialStepClickable">
    <MaterialStep @done="store.activeStep = 3" />
  </o-step-item>

  <o-step-item step="3" label="Quote" :clickable="store.selectedMaterialVariant != null">
    <QuoteStep />
  </o-step-item>
</o-steps>

How would I go about fixing this? Either locally or in Oruga itself.

@jtommy any chance you could take a look and provide some guidance here? This is one of the main blockers for our launch.

Another thing I noticed is the direction of the step content swipe animation should be flipped as well.

We might manage it on Bulma repo 😉


TV-Shows not streaming properly anymore in release 07-09

Hello Mr-Know,
I have updated one of my Kodi boxes with the latest Specto (07-09) yesterday and TV-Shows were not streaming properly anymore. They kept buffering and even putting on pause for 5min is not filling the buffer. This did not happen on the same box just before the upgrade.
I tested:

same TV-Show and source from Exodus is working on the same box
same TV-Show and source running on 2nd tv box with previous Specto is working

I'm only using SD sources for the streaming of TV-Shows!
Would be great if you can fix this .. Great work on this Add-on .. keep going !!

same here

I was using my 2nd box yesterday and TV-Shows were working properly on previous version till 8pm than the Specto autoupdate kicked .. afterwards the TV-Shows kept stopping as on box 1 and described above .. I have tried other TV-Shows (Big Bang, GOT, Heroes, Gotham,etc) as well with the same result  :(
Any advise on how to roll-back to previous Specto ?

Is there not any zip files to download. I had same problem the 4 last updates :'(

http://kodi.filmkodi.com/plugin.video.specto/

There it is :-)

I had to delete the entire SPECTO folder under USERDATA and re-install specto .. but now it is working with the version 26/06
I did the same excercise on my 2nd box and it worked there too .. I was curious and updated to the latest SPECTO version .. and the same streaming issue (see 1st post) happened again.
Additionally I have checked the Movie section and the same streaming issue is there too!
Again: All is streaming fine with the previous version or with other Add-ons like SALTS and EXODUS
SPECTO is still my favorite ;)

Yes how to do that I mean delete
I wanna test
Yes mine to cut when it not working I have force to use other alternative
cheers :-)
Skickat med AquaMail för Android
http://www.aqua-mail.com
På 14 juli 2016 00:53:10 xX-Nexus-Xx<EMAIL_ADDRESS>skrev:

I had to delete the entire SPECTO folder under USERDATA and re-install
specto .. but now it is working with the version 26/06
I did the same excercise on my 2nd box and it worked there too .. I was
curious and updated to the latest SPECTO version .. and the same streaming
issue (see 1st post) happened again.
Additionally I have checked the Movie section and the same streaming issue
is there too!
Again: All is streaming fine with the previous version or with other
Add-ons like SALTS and EXODUS
SPECTO is still my favorite ;)

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/mrknow/filmkodi/issues/393#issuecomment-232510151

Add-on settings--> Uninstall ... than go into USERDATA and delete the SPECTO folder ... restart

user data is in folder in computer?=
2016-07-14 9:07 GMT+02:00 xX-Nexus-Xx<EMAIL_ADDRESS>
Add-on settings--> Uninstall ... than go into USERDATA and delete the
SPECTO folder ... restart
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mrknow/filmkodi/issues/393#issuecomment-232578454,
or mute the thread
https://github.com/notifications/unsubscribe/ASnEfSyy4p8weC9uNzPABUP_T0w7n3l7ks5qVeA9gaJpZM4JJ3we
.

cant find it thats why:/
2016-07-14 9:09 GMT+02:00 Superswede AWESOME<EMAIL_ADDRESS>
user data is in folder in computer?=
2016-07-14 9:07 GMT+02:00 xX-Nexus-Xx<EMAIL_ADDRESS>
Add-on settings--> Uninstall ... than go into USERDATA and delete the
SPECTO folder ... restart
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mrknow/filmkodi/issues/393#issuecomment-232578454,
or mute the thread
https://github.com/notifications/unsubscribe/ASnEfSyy4p8weC9uNzPABUP_T0w7n3l7ks5qVeA9gaJpZM4JJ3we
.

Operative system 	File path
Android 	Android/data/org.xbmc.kodi/files/.kodi/userdata/ (see note)
iOS 	/private/var/mobile/Library/Preferences/Kodi/userdata/
Linux 	~/.kodi/userdata/
Mac 	/Users/<your_user_name>/Library/Application Support/Kodi/userdata/ (see note)
OpenELEC 	/storage/.kodi/userdata/
Windows 	Start - type %APPDATA%\kodi\userdata - press

I did a bit more comparison between Specto 07-09 and Specto 06-26-3.
First box:

Upgrade to 07-09 and the TV-Shows stopped streaming properly
Deleted 07-09 and installed 06-26-3
All TV-Showhs are streaming fine .. putting the TV-Show on pause is filling the buffer to the end

Second box:

Upgrade to 07-09 and the TV-Shows stopped streaming properly
Streaming the same TV-Shows via EXODUS or SALTS does work fine

I have now started the same TV-Shows with the same sources on both systems. The playback is starting on both systems identically, Only on first box the buffer is not filling up. Even on pausing the stream the buffer keeps empty.
The playback on second system works seamless!
It looks like that some playback settings have been changed in the latest version of SPECTO. I tried all different kind of settings for the buffer (Zero-config etc) but the player is not buffering during streaming. The System does stream for all other add-ons like EXODUS and SALTS.
Can you pls check your player settings in the lates SPECTO release and revert back to what you had earlier !!
Thank you for your great Add-On!


[FEATURE] support shuffle partition data write to multiple shuffle servers

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Currently, data from one partition can only be written to a designated shuffle server.
In some scenarios, such as when a large partition occupies a significant amount of shuffle server disk space, this can lead to server crashes in extreme cases.
Based on #825, we could support writing one partition data to multiple shuffle servers.
Motivation
No response
Describe the solution

Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

When to trigger the next node write?
Two strategies I propose are:

Based on the application quota of a shuffle server.
Based on the shuffle server's health status.

@jerqi @zuston @leixm

+1 for that.
I hope the trigger strategies could be designed as the pluggable mechansim

How would this differ from rss.data.replica.write

When to trigger the next node write?
Two strategies I propose are:

Based on the application quota of a shuffle server.
Based on the shuffle server's health status.

@jerqi @zuston @leixm

+1 for this proposal.

How would this differ from rss.data.replica.write

This may only write one replica but the replica can be stored in different servers.

@jerqi @zuston added a dataflow diagram in describe the solution for implementation plan.

@jerqi @zuston added a dataflow diagram in describe the solution for implementation plan.

Looks good.

@jerqi @zuston added a dataflow diagram in describe the solution for implementation plan.

You would better give us a google document.

@jerqi @zuston added a dataflow diagram in describe the solution for implementation plan.

You would better give us a google document like https://docs.google.com/document/d/1p1PksBN2LJ-OtGEHvdyEuH9b1Mv1aD_exMPl4TNaTs0/edit#heading=h.c7fauf9cicbi

OK. added a google doc https://docs.google.com/document/d/1FRGP82R7JBnr3IjmF8PQ6qWP9GnKQsk-N1OWk_f1kSY

LGTM. Please go ahead.

@xumanbu This is a great feature! But it seems not finished. I guess it lack a piece about how server reject the  large partition and split to write to another server. WDYT?

@xumanbu Thanks for your reply, I submit a PR https://github.com/apache/incubator-uniffle/pull/2093/files  to support write shuffle data to multiple shuffle servers, PTAL.


Water sensors FQU indigo Tyler

Farm stop communicating 2 days ago, go to the farm and download data, and reset. rep 2 bare. middle sensor check for bent prongs.

received data from Tyler all good here. data is on drive


Undefined vnode.attrs in child components in 1.0

Hello, with the latest version I'm unable to pass down data via vnode.attrs to child components.
Commit https://github.com/StephanHoyer/mithril-node-render/commit/ddf38d10d613895e2c5c1dd2c15a50ccc5df3d26 seems to be the culprit - previous versions are working as expected.
Test code to reproduce the issue:
package.json:
{
  "name": "test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "mithril": "https://github.com/lhorie/mithril.js/tarball/48d786b08553d5463d8ed14e6fb6c95610801520",
    "mithril-node-render": "github:stephanhoyer/mithril-node-render#rewrite"
  }
}

index.js:
global.window = require('mithril/test-utils/browserMock')();
global.document = window.document;

const m = require('mithril');
const render = require('mithril-node-render');

const component = {
    view: () => {
        return m('strong', m(subComponent, {text: 'test'}));
    }
}

const subComponent = {
    oninit: (vnode) => {
        console.log('vnode.attrs: ', vnode.attrs);
    },
    view: (vnode) => {
        return m('span', vnode.attrs.text);
    }
}

const html = render(m(component));
console.log('HTML: ', html);

Same issue here

fixed with #48

Tested on a fairly complex isomorphic app and it works again as expected. Thank you sirs 👍


[1.7.10] Dupe of a rocket after a warp jump

Orbital station with a rocket on the landing site. We do a warp jump to any planet. We fly to the planet on a rocket. We return on the same rocket. We do a warp jump to any other place, after that the rocket is doubled on the landing site.

it is possible to fix it?

If I can figure out how to replicate it I can probably fix it, though I've not been able to get this issue to occur in my worlds so far.

The player arrives at the station on the rocket. Flies with the station to another planet. Sits in a rocket on this planet. He returns on the same rocket back to the station, but for some reason the player himself is not in the rocket, but under it (visually). The rocket sits down, the player rejoins the server and is in the rocket (as if everything is normal), but under that rocket there is another rocket (a copy).

Please test only through the server

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


Replace symbol_with_update macros by const generics

After using compile-time generics instead of dyn dispatch for writers, the #[always(inline)] on symbol_with_update causes it to be inline for the long tail of larger CDF sizes. This results in larger binary size, for no speed benefit. Converting to const generics and removing inline preserves the specialization for smaller CDF sizes and reduces binary size by 40KiB on x86_64. The code is also more clear and concise.

Coverage increased (+1.9%) to 83.66% when pulling ec272cc940794615b926ee04e4182cc459b6871e on barrbrain:cdf-const-size into ef9c3b7bb3caf682a083ada05c9e8812aa2568b1 on xiph:master.


Update @azure/ms-rest-js to 1.8.4 (no node upgrade)

Fixes #916
Description
Upgrade to ms-rest-js reference to 1.8.4 to match cognitiveservices-luis-runtime version.

Pull Request Test Coverage Report for Build #2261

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 85.692%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-config/src/botConfigurationBase.ts
2
85.59%

Totals

Change from base Build #2252:
-0.05%

Covered Lines:
3258

Relevant Lines:
3666

💛  - Coveralls

Closing in favor of #922.


Past and active users and projects can now be directly linked to

The developer tab in the nabber is no longer highlighted when looking at past users

Fixed


Styles on editor

Hi @cearls perviously we had the chance to see blocks styled directly on the WP Editor, now with the new version it's not possible. Thoughts about this?

Hi! You can see styles in the editor by running npm run build and changing the vite environment variable in config.json to production.
I'm going to rethink how this works because I liked the previous version better as well.


detect face with rotated camera

I have howdy running on a Thinkpad X1 Tablet gen3 and it works beautifully in general.
However, faces are only detected when the tablet/camera is in its standard landscape orientation. Adding a model or running howdy test fails in portrait mode.
It would be great to rotate the camera input before the face recognition algorithm kicks in, to make sure it matches the physical orientation. Maybe this can be achieved by checking the position sensors or even better,  the user interface orientation?

Although it sounds reasonable, i think it's out of scope for the project and would only be used by a very small subset of Howdy users. I'm closing this for now to focus development elsewhere.
If anyone would also like to see this implemented, feel free to add a comment here or propose a PR.

I am trying to implement a script that, when rotation is detected, instead of launching howdy, a howdy wrapper is launched that does, more or less:

modprobe v4l2loopback (this is mandatory, it should be decided how to load it)
catch the dummy device and launch
ffmpeg -f v4l2 -i /dev/video0 -vf "vflip" -f v4l2 /dev/dummy
change device_path in /lib/secure/howdy/config.ini to /dev/dummy

doing this manually it works, maybe there is some more elegant way to achieve the same results?
Best,
Denis

hi @boltgolt do you have an idea if this is "scriptable"? I do not know the security system enough to see if what I am saying would be just a waste of time

It would be great to have this feature out of the box with howdy! I also have a convertible and howdy does not work in tent mode. One idea for a workaround: just train additional faces in howdy when the camera is flipped.

Training additional faces in flipped mode works, i just tried it :)


Change paging model name to ListResult

Fix https://github.com/Azure/autorest.csharp/issues/2989

Don't need that now.


Polaris v12 styles

Based on suggestions in #352 we're going to add support for v12 styling on v11 markup. Upgrade to new styles will be done by adding Polaris-Summer-Editions-2023 class on html tag. During installation we'll enable this tag by default, but it should be still possible to stay on the old v11 styling. The target version for these changes is v1.5. No breaking changes is expected in this release. #352 PR will kickoff the upgrade.
TODOs

[x] #353
[x] #354
[x] #355
[x] #356
[x] #357
[x] #358
[x] #359
[x] #360
[x] #361
[x] #362
[x] #368
[x] #364
[x] #370
[x] #380
[x] #384
[ ] #385
[ ] #386
[ ] #387

Exciting!

@forsbergplustwo let's use this issue to keep track of the upgrade progress

@kirillplatonov - Great! I've created branch v1.5-develop and merged the original #352 PR to it. That way we can base other PRs off that branch, making dev easier before a release. Ok with you?

@forsbergplustwo yeah, sounds good. The only suggestion is to rename v1.5-develop branch to polaris-v12 since v1.5 may include other changes not related to Polaris upgrade.

I've now gone through every component and made adjustments for what I could see needed changing. The CSS isn't super clean, but Shopify uses !important in their own Summer-Editions-2023 overrides, so they cannot be avoided.
A couple of notes:

Button: outline option no longer exists in Polaris. I've set it to render a normal button instead, but open to better fallbacks. Usually I would have used these in Page footer for destructive actions, so falling back to normal destructive button would be correct there.
SettingsToggle component is deprecated, so I haven't spent the time upgrading it.

Before merging this I'll try it out on our apps for a while in development, as I'm sure there are minor things needing taking care of. Will report back how it goes. Would appreciate others doing the same and posting PRs or Issues for anything found 😊

Incredible job with the update! 👏
The plan sounds good! Let's test this out with real apps and release v2.0 once we're confident.


A toggle for light and dark mode in live preview.

If this exists, I could not find it. But when working on a website, and using Live Preview to see changes as you make them, it would be great if there would be a toggle in the tab to switch back and forth from light to dark mode.
Currently I have to open it in the browser and go to settings to switch back and forth.

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it is for you.


[CI] Update Cypress to 6.9.1 and rearrange docker ci files location

Description
[CI] Update Cypress to 6.9.1 and rearrange docker ci files location.
This is in preparation for another follow up PR #711 that cleanup the release folder.
Issues Resolved
#679
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do we have a list of available images anywhere?
We are going to hit "version 1.1 needs cypress 5 and version 1.2 needs cypress 6" very soon.

https://hub.docker.com/r/opensearchstaging/ci-runner/tags?page=1&ordering=last_updated
All the tags are here or do you want to add a list directly in README?
I think I can open a PR to do that.

Do we have a list of available images anywhere?
We are going to hit "version 1.1 needs cypress 5 and version 1.2 needs cypress 6" very soon.

https://hub.docker.com/r/opensearchstaging/ci-runner/tags?page=1&ordering=last_updated
All the tags are here or do you want to add a list directly in README? I think I can open a PR to do that.

Definitely. However how will I be able to use different images? Right now we have one big Jenkinsfile that declares once the image to use.


create generic macro for eprint and openacess

Hi,
May be some part of the bug are better in biblatex, but in order to implement eprint effeciently I use:
% generic command for printing hrefwitheprint easy to override for styling
\NewDocumentCommand{\hrefeprint}{mom}{%
  \ifhyperref%
      {\href{#1}{\color{orange}{\nolinkurl{#3}\IfNoValueF{#2}{#2}}}}%
      {\nolinkurl{\color{orange}{#3}\IfNoValueF{#2}{#2}}}%
}%

% maybe implement with place holder instead of optional arg ?
\NewDocumentCommand{\DeclareEprintGeneric}{m O{always} m O{} m O{}}{
  \DeclareFieldFormat{eprint:#1}{%
    #3\addcolon\space%
    \hrefeprint{#5##1#6}{#4##1}%
  }%
  \IfNoValueF{#2}%
    {\DeclareOpenAccessEprintUrl[#2]{#1}{#5\thefield{eprint}#6}}%
}

\makeatletter
\DeclareFieldFormat{eprint:arxiv}{%
  arXiv\addcolon\space
  \hrefeprint{https://arxiv.org/\abx@arxivpath/#1}[%
    \iffieldundef{eprintclass}%
      {}%
      {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}]%
      {#1}%
}
\makeatother

\DeclareEprintGeneric{ark}{ARK}[ark:/]{https://identifiers.org/ark:/}
\DeclareEprintGeneric{archive.org}{archive.org}{https://archive.org/details/}
\DeclareEprintGeneric{BHL}{BHL}{https://www.biodiversitylibrary.org/bibliography/}
\DeclareEprintGeneric{Caltech}{Caltech}{https://resolver.caltech.edu/}
\DeclareEprintGeneric{DTIC}{DTIC}{https://apps.dtic.mil/docs/citations/}
\DeclareEprintGeneric{DurhamEThese}{Durham E-These}{http://etheses.dur.ac.uk/}
\DeclareEprintGeneric{DSpace@MIT}{DSpace{@}MIT}{https://dspace.mit.edu/handle/}
\DeclareEprintGeneric{dtu.dk}{DTU.dk}{https://orbit.dtu.dk/files/}
\DeclareEprintGeneric{EThOS}{EThOS}{https://ethos.bl.uk/OrderDetails.do?uin=}
\DeclareEprintGeneric{HAL}{HAL~Id}{https://hal.archives-ouvertes.fr/}
\DeclareEprintGeneric{hdl}{HDL}{http://hdl.handle.net/}
\DeclareEprintGeneric{iastate}{iastate}{https://lib.dr.iastate.edu/}
\DeclareEprintGeneric{LUT}{LUT}{http://lutpub.lut.fi/handle/}
\DeclareEprintGeneric{KITopen-ID}{KITopen-ID}{https://publikationen.bibliothek.kit.edu/}
\DeclareEprintGeneric{Manchester}{Manchester}{https://www.research.manchester.ac.uk/portal/files/}[/FULL_TEXT.PDF]
\DeclareEprintGeneric{ResearchGate}{ResearchGate}{https://www.researchgate.net/publication/}
\DeclareEprintGeneric{Tampere}{Tampere}{https://trepo.tuni.fi//handle/}
\DeclareEprintGeneric{TUDelft}{TUDelft}{https://repository.tudelft.nl/islandora/object/uuid\%3A}
\DeclareEprintGeneric{soton}{Soton}{https://eprints.soton.ac.uk/id/eprint/}
\DeclareEprintGeneric{WhiteRose}{WhiteRose}{https://eprints.whiterose.ac.uk/}

If ok with the principle I can cook a better patch and made a pull request

This looks like a cool idea, but I'm wondering how useful it is in general. If people are defining lots of eprint types like you and feel that they are duplicating a lot of work, they can probably whip up a helper macro that works for them (just as you did). But for the occasional use this might be overkill and if people define very exotic eprint fields, something formulaic like this might not be enough (even though this approach looks quite customisable).
From the developer standpoint adding this also means that it has to be documented extensively and I'm just not sure if the effort of documenting all this properly is really worth the gain for power users with many eprint definitions.

@moewew I will try to simplify the macro.
They are two part:

I think a bibmacro{eprint+eprintclass} is worthless. It allow easy custumisation
the second part could be simplified

simpler:
\NewDocumentCommand{\DeclareEprintGeneric}{m O{always} m O{\thefield{eprint}} m}{
\DeclareFieldFormat{eprint:#1}{%
#3\addcolon\space%
\hrefeprint{#5}{#4}%
}%
\IfNoValueF{#2}%
{\DeclareOpenAccessEprintUrl[#2]{#1}{#5}}%
}
\DeclareEprintGeneric{ark}{ARK}[ark:/\thefield{eprint}]{https://identifiers.org/ark:/\thefield{eprint}}
\DeclareEprintGeneric{archive.org}{archive.org}{https://archive.org/details/\thefield{eprint}}
\DeclareEprintGeneric{BHL}{BHL}{https://www.biodiversitylibrary.org/bibliography/\thefield{eprint}}
\DeclareEprintGeneric{Caltech}{Caltech}{https://resolver.caltech.edu/\thefield{eprint}}
\DeclareEprintGeneric{DTIC}{DTIC}{https://apps.dtic.mil/docs/citations/\thefield{eprint}}
\DeclareEprintGeneric{DurhamEThese}{Durham E-These}{http://etheses.dur.ac.uk/\thefield{eprint}}
\DeclareEprintGeneric{DSpace@MIT}{DSpace{@}MIT}{https://dspace.mit.edu/handle/\thefield{eprint}}
\DeclareEprintGeneric{dtu.dk}{DTU.dk}{https://orbit.dtu.dk/files/\thefield{eprint}}
\DeclareEprintGeneric{EThOS}{EThOS}{https://ethos.bl.uk/OrderDetails.do?uin=\thefield{eprint}}
\DeclareEprintGeneric{HAL}{HAL~Id}{https://hal.archives-ouvertes.fr/\thefield{eprint}}
\DeclareEprintGeneric{hdl}{HDL}{http://hdl.handle.net/\thefield{eprint}}
\DeclareEprintGeneric{iastate}{iastate}{https://lib.dr.iastate.edu/\thefield{eprint}}
\DeclareEprintGeneric{LUT}{LUT}{http://lutpub.lut.fi/handle/\thefield{eprint}}
\DeclareEprintGeneric{KITopen-ID}{KITopen-ID}{https://publikationen.bibliothek.kit.edu/\thefield{eprint}}
\DeclareEprintGeneric{Manchester}{Manchester}{https://www.research.manchester.ac.uk/portal/files/\thefield{eprint}/FULL_TEXT.PDF}
\DeclareEprintGeneric{ResearchGate}{ResearchGate}{https://www.researchgate.net/publication/\thefield{eprint}}
\DeclareEprintGeneric{Tampere}{Tampere}{https://trepo.tuni.fi//handle/\thefield{eprint}}
\DeclareEprintGeneric{TUDelft}{TUDelft}{https://repository.tudelft.nl/islandora/object/uuid%3A\thefield{eprint}}
\DeclareEprintGeneric{soton}{Soton}{https://eprints.soton.ac.uk/id/eprint/\thefield{eprint}}
\DeclareEprintGeneric{WhiteRose}{WhiteRose}{https://eprints.whiterose.ac.uk/\thefield{eprint}}

Sorry, I don't quite understand what you say about bibmacro eprint+eprintclass. There is no such bibmacro. eprintclass formatting is currently handled within the relevant field format (and only for arXiv).
Now with the simplified macro I'd be even more tempted to say that it is fairly easy for people who want something like this to quickly define it themselves at exactly the level they need. As general macro implemented in the package here, I'm currently inclined to believe that it is almost impossible to strike a good balance between useful, generally applicable, customisable on the one hand and usability, 'documentability' on the other hand.

@moewew in fact in 99% of case eprint is always:
eprintname: eprintfiledwithurl [optional eprintclass]
so a eprint:* bibmacro with 3 parameter and one optional will be better and will even simplify biblatex code

Hmmm. Making this macro less complex obviously makes it easier to document and use, but at the same time it becomes almost trivial to replicate for people who want this (and possibly with additional bells and whistles people may want on a case-by-case basis). So I'm wondering how useful this is going to be. I guess on the whole biblatex does not need to define all utility commands anyone would ever want to use. It is enough if the building blocks are there.

I'm going to close this and will not implement a macro like this in biblatex-ext. As I said above, I don't believe that I can find a satisfying balance between usefulness on the one hand and usability/documentability on the other hand. Plus, this is going to be fairly niche stuff anyway. If you think this could be useful you can always share your code via question and self-answer on TeX.SX or other TeX forums, or you can create your own biblatex utility package and send it off to CTAN.


Updating to latest Quarkus (3.2.7.Final)

Fixes #

Proposed Changes

as per title

Release Note

Docs

/retest

/retest

/close
contained in #3426


resize causes degradation in quality

I am trying to resize a png (

).  My requirement is to resize the image preserving aspect ratio as close as possible to the passed in width/height and then embed it in a transparent background.
My snippet is:
sharp('1039.png')//249*150     .resize(70, 70)     .background({r: 0, g: 0, b: 0, a: 0})     .embed()     .toFormat(sharp.format.png).toFile('output.png');
The output seems to have suffered quite a bit- please see

I also tried with resize preserving the aspect ratio and no embed- like so:
sharp('1039.png')//249*150     .resize(83, 50)     .toFormat(sharp.format.png).toFile('output1.png');
but there is still a loss in quality-

I read the documentation but there does not seem to be any option for antialias (maybe its turned on by default?). Could you tell me if its something I am doing wrong? Or is it that I am being overtly finicky and this is the best I can get?

Hello, did you see the kernel option of the resize operation? Perhaps try cubic for this rather blurred input image.
sharp('1039.png').resize(70, 70, { kernel: 'cubic' })...

Thanks @lovell - I have decided to stick with the default filter- closing this.


How do we change the feature scope for an SPFx extension?

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
When creating an SPFx extension (e.g. application customizer), I expected to be able to change the feature scope when the feature is defined in package-solution.json. The default is a site/web scoped feature, but sometimes we may want a site collection-scoped feature.
Observed Behavior
There is no "scope" property of the feature node, and adding one makes the file fail to be validated against schema in the bundling/build process. The following error is observed:
ERROR: Error parsing file 'package-solution.json'
(#/solution/features/0) Additional properties not allowed: scope
Steps to Reproduce

Create an application customizer using the steps outlined in the documentation at https://dev.office.com/sharepoint/docs/spfx/extensions/get-started/build-a-hello-world-extension.
Add a "scope" child to a feature node in package-solution.json.
Run gulp serve.

Here's an image which shows what I expected to do to change feature scope:

Can this be done? If so, how?
Thanks!
COB.

This is not currently supported. All SPFx solution features are always scoped to 'Web' scope. We are though looking into releasing additional switches for the developers, which can be used to push out the SPFx solution to be available cross the site collections in the tenant as long as it's installed on the app catalog. You'd still need to associate the extension to be used in the site collection, but you do not need to install SPFx solution specifically to the sites.
This means that from the deployment perspective, scenario or steps would be following.

Deploy your package to app catalog with specific configuration to enable that in the site collections - If it's a web part, it will be available immediately in the web part picker
If it's an extension, you'll need to still associate the right ClientComponentId to specific location or to FIeld object
You'll use remote provisioning techniques to set the Extension instance on the specific object

In your example case, you are building an ApplicationCustomier - so the process would be following to enable that cross specific or all sites.

Deploy to app catalog
Write needed code to associate add CustomAction with specific location and ClientComponentId matching to your manifest identifier
You can use REST/CSOM/PowerShell for the association, based on your business scenario. PnP PowerShell and PnP Provisioning Engine has native support for associating these settings to site level objects

Hey Vesa,
OK, that works! I don't mind it being a separate thing to do the association/binding, and there's a lot of control that comes it with it being done that way.
Will PnP XML schema be extended to support this?
Cheers,
COB.

Yes - PnP 2017-05 PnP provisioning schema supports this. The engine has not yet been updated to match this requirement due to resource constraints, but coming soon as well. Since we will be however taking a break during July on PnP releases, engine update will be available from August 2017 release forward.

Great, thanks Vesa. Yes, I see the bits of documentation related to this in the 2017-05 schema (e.g. https://github.com/SharePoint/PnP-Provisioning-Schema/blob/master/ProvisioningSchema-2017-05.md#clientsidepages)
Good news all round, thanks!
Cheers,
COB.

@VesaJuvonen You say the engine has not been updated to associate global apps,  but are you implying the code/logic behind this is available? Or is backend and PnP wrapper code targeted for August both? If API's are there to deploy to app catalog and associate to a web today I'd be thrilled :) Having it in PnP is nice and preferrable to me, but not a showstopper :)

@wobba - Globally deployed apps/SPFx solution will be soon available with SPFx update for both server and client side. PnP templating does also support associating ClientSideComponentId with the latest schema for the sites, but you can absolutely use also native CSOM to get this completed. Steps to complete the scenario:

Get SPFx update available and out
Associate ClientSideComponentId with remote APIs for the needed objects in site collections - can be CSOM, REST, PnP Templates etc.

We'll obviously announce the global deploy option across different channels when it's available.

Nice :) The association to add oob parts I have allready tried :) And when you fill the deploy gap, that will be huge for the app/add-in model indeed.

Hello @chrisobriensp, can you please let me know how can i staple my extension through out all my site collections after i deploy that inside my app catalog?
Can i get the extension in all my site collection though out my tenant?

As @VesaJuvonen  mentioned, you can use CSOM, REST or PnP to programmatically associate ClientSideComponentId with the site collection you want.

@VesaJuvonen Is there a sample on how to associate my spfx extension to a site collection instead of only a web? Add-PnPCustomAction only adds it to a web scope..

Few things.

We are working on centralized control which would optionally allow you to associate extension to all site collections / sites from app catalog. No ETA at this point, but work in progress.
Add-PnPCustomAction does support adding the extension to Site level if you define the Scope parameter for the cmdlet call. See official documentation at https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/add-pnpcustomaction?view=sharepoint-ps - "The scope of the CustomAction to add to. Either Web or Site; defaults to Web. 'All' is not valid for this command."

@VesaJuvonen Is it possible to control to activation of features inside the feature framework ? Currently whenever a new app is added in a site, the corresponding feature automatically gets activated resulting in creation lists & libraries. I want to activate only on demand or based on the my requirements. This is a very basic requirements and is always available in earlier packaging (WSPs).

@VesaJuvonen Any update on the centralized control for extensions?

I'm struggling to get my ListViewCommandSet loaded on all sites in a site collection.
I think I followed the steps described in the previous posts correctly:

deploy the package in the AppCatalog
install the app on the site collection in question
use code to add a CustomAction on SiteCollection scope.

The ListViewCommandSet only gets loaded correctly on the root site of the site collection. On the subsites there is the following error message:  Failed to loadCommandSet, id: 925aa26d-90ee-4cf7-8246-a38d53733036, error: Error: ***Manifest not found for componentId "925aa26d-90ee-4cf7-8246-a38d53733036".
The ID mentioned in the error message is the correct one, the one that is registered in the manifest file.
Is there something else I need to do?

@freekbe try adding the app on your subsites as well, as apps are web scoped.

@wobba Adding the app to the subsites solves this problem. But that is exactly what I want to avoid. The idea is to have the CustomAction activated on SiteCollection level so it is automatically available on all current and future subsites.
From the previous comments I understood that this is possible by registering the CustomAction through code on the correct scope.

I got it work! The missing piece of the puzzle is that you need to create a "Tenant-Scoped" solution.

@freekbe sure..that helps if you want it on all sites in your tenant :) didn’t get that from your question.


autoValue() shouldn't have to check for isSet if field is required

You have to check isSet in autoValue even if it's required, it would make little sense to return value that will be validated in autovalue and require it at the same.

It depends on whether you're ever validating MongoDB modifiers. For simple plain object validation, yes, you can skip the isSet check if you want. But in most cases people are writing autoValue to handle more complex modifier validation, in which case it might not be set even though it's required.

I mean autoValue should just throw an error if field is required and isSet is false, or make a similar field that does this for convenience overload.

The whole point of autoValue is to provide a value if isSet is false, in order to avoid an invalid error. It runs before the required check.

If the field is required, you will probably not provide an empty value with autoValue, so maybe run a check on required/optional values.


Populate 'public_timestamp' for all documents

specialist-publisher sets 'last_update' as the timestamp signifying the freshness of a document. This is semantically identical to 'public_timestamp', which is the field that other publishing applications use. To ease the transition to using 'public_timestamp' across all applications (and removing 'last_update'), 'public_timestamp' will be set on any documents that are indexed with 'last_update'. A re-index will update all existing documents.
This change will allow us to update finder-frontend to order rummager queries by 'public_timestamp', which will mean results can be fetched for both specialist content and whitehall content (whitehall content doesn't set 'last_update' so ordering by 'last_update' excludes them from results).

Not entirely sure how to test this. Guidance would be much appreciated.

I think some unit tests of this would be good.  There's no neat way to do this, presently; the ones I added for a similar thing to populate the mainstream_browse_pages field are at https://github.com/alphagov/rummager/blob/master/test/unit/elasticsearch_index_test.rb#L293 - it would be reasonable (though ugly) to just make another test like that.  Lots of stubbing, though.
In terms of testing in preview/production - the best approach is probably to run the migration, and then use elasticsearch head plugin to check examples of documents which are meant to have had the public_timestamp added.

Now with added unit test.

:up: :banana:


idf.py --version not working properly with VSCode extention (IDFGH-4536)

I am trying to run the monitor command however i keep getting the following error. I am using VS code extension v6 with esp-idf version v4.2
PS D:\Coding\course-code\Chapter3-C_tutorial\example1-basics> C:\Users\fahad.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe C:\Users\fahad\esp\esp-idf\tools\idf.py -p COM3 monitor
Traceback (most recent call last):
File "C:\Users\fahad\esp\esp-idf\tools\idf.py", line 788, in
main()
File "C:\Users\fahad\esp\esp-idf\tools\idf.py", line 704, in main
checks_output = check_environment()
File "C:\Users\fahad\esp\esp-idf\tools\idf.py", line 68, in check_environment
print_idf_version()
File "C:\Users\fahad\esp\esp-idf\tools\idf.py", line 117, in print_idf_version
version = idf_version()
File "C:\Users\fahad\esp\esp-idf\tools\idf_py_actions\tools.py", line 54, in idf_version
version = subprocess.check_output([
File "C:\python38\lib\subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\python38\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Hi @fahadalisarwar1. Please try to run the following commands from both ESP-IDF Command Prompt and Vscode terminal.
idf.py --version
git --git-dir=$IDF_PATH/.git --work-tree=$IDF_PATH describe --tags --dirty

Hi @fahadalisarwar1. Please try to run the following commands from both ESP-IDF Command Prompt and Vscode terminal.
idf.py --version
git --git-dir=$IDF_PATH/.git --work-tree=$IDF_PATH describe --tags --dirty

this seems to be a duplicate of: espressif/vscode-esp-idf-extension#266

this seems to be a duplicate of: espressif/vscode-esp-idf-extension#266

has been fixed in v0.6.1 and can be closed

has been fixed in v0.6.1 and can be closed

Resolved in update v0.6.1

Resolved in update v0.6.1


how do i convert the shader to URP?

i dont really use shaders that much, any idea how i can use the shader with URP?

A very late reply,
Here is a unity guide to convert the shader to UPR.
Or you could try to recreate it in a shader graph. It looks like someone already made a shader graph conversion here.
I would suggest trying to convert the shader to a shader graph yourself as it isn't too hard and will help you understand the process as you remake it.


Improve the formatting of keyboard keys

using the <kbd> HTML tag

Stylistically, should Ctrl and T be in the same box because it’s one key combo?

I honestly don't mind it with the separate tags for each button because it is two keys on my keyboard and this makes that very clear.
But I don't know if there's some philosophy/policy that should be guiding our decision as this is among the first times I've seen this.

I'm fine with this. Thanks for the contribution!


host dns resolution is not working

Required information

Distribution: Ubuntu
Distribution version: 14.04.4 LTS
The output of "lxc info":
apicompat: 0
auth: trusted
environment:
addresses: []
architectures:
certificate: |
driver: lxc
driverversion: 2.0.0.rc5
kernel: Linux
kernelarchitecture: x86_64
kernelversion: 4.2.0-30-generic
server: lxd
serverpid: 1125
serverversion: 2.0.0.rc1
storage: btrfs
storageversion: "4.0"
config: {}
public: false

Issue description
Enabling lxc domain to lxc-dnsmasq and installing a host dnsmasq I could not resolve
the container by name
Steps to reproduce

Enabled LXC_DOMAIN in /etc/default/lxc-net
Added server=/lxc/<IP_ADDRESS> to /etc/dnsmasq.d/lxc
Installed a host dnsmasq
Rebooted lxd host

Information to attach

ps info about running lxc & host dnsmasq

dnsmasq -s lxc -S /lxc/ -u lxc-dnsmasq --strict-order -bind-interfaces --pid-file=/run/lxc/dnsmasq.pid --listen-address <IP_ADDRESS> --dhcp-range <IP_ADDRESS>,<IP_ADDRESS> --dhcp-lease-max=253 --dhcp-no-override --except-interface=lo --interface=lxcbr0 --dhcp-leasefile=/var/lib/misc/dnsmasq.lxcbr0.lease --dhcp-authoritative

/usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new,.cur,.org

DNS container resolution error on host
user@lxchost:/$ nslookup alps02 <IP_ADDRESS>
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

** server can't find alps02: NXDOMAIN
+--------+---------+-------------------+------+------------+-----------+
|  NAME  |  STATE  |       IPV4        | IPV6 |    TYPE    | SNAPSHOTS |
+--------+---------+-------------------+------+------------+-----------+
| alps00 | STOPPED |                   |      | PERSISTENT | 0         |
+--------+---------+-------------------+------+------------+-----------+
| alps01 | RUNNING | 10.0.3.x (eth0)  |      | PERSISTENT | 1         |
+--------+---------+-------------------+------+------------+-----------+
| alps02 | RUNNING | 10.0.3.y (eth0) |      | PERSISTENT | 0         |
+--------+---------+-------------------+------+------------+-----------+

This isn't going to be a LXD issue as LXD doesn't do any bridge, dnsmasq or network configuration at all.
I'd suggest making sure that the hostnames are correct in /var/lib/misc/dnsmasq.lxcbr0.leases

@stgraber: You point me to the right direction, and yes the problem is outside lxd.
I am trying to get alpine linux running on lxd. Everything looks apparently good, only the busybox implementation of udhcpc is buggy no hostname is set and therefore I get a star. This
prevents indeed naming resolution.
I got rid of this nasty behavior by adding in /usr/lib/x86_64-linux-gnu/lxc/lxc-net an option --dhcp-script=<....>  to trigger insertion and removal of hosts and change /etc/hosts accordingly.
If someone has a better implementation, feel free to enlighten me.

@giminni Can you try with the image built using the following script for Alpine.
https://github.com/saghul/lxd-alpine-builder

@IshwarKanse thx for this info, yes I use the script and it works like a charm, my dns problem was solved by myself. Here my findings:

busybox dhcp client implementation inside alpine linux is buggy, I installed dhcpcd from alpine repo and it works as expected I get now an hostname inside my dhcp lease file.
Using a system dnsmasq on the lxd-host is not so trivial as I imagined,
I made the lxc-dnsmasq dumb (no-host, no-resolv)
added some useful options (expand-hosts, domain-needed, bogus-priv)
and even dns nameserver that are added automatically inside the lxc container
(lxc-net-dns, lxd-host-dns, area-dns)
the second dns server running on the lxd host has specific dns routes like:
server=/lxc/<IP_ADDRESS>
server=/3.0.10.in-addr.arpa/<IP_ADDRESS>

At the end every thing works fine being able to work with forward and reverse dns resolution


Patch release 0.1.1 pining bokeh

It's not clear that we can do a release 0.2.0 bumping up all the packages see

https://github.com/coiled/coiled-runtime/issues/526

However, due to the unpin version of bokeh in distributed the current runtime breaks the dashboard see https://github.com/coiled/coiled-runtime/issues/520.
Action items.

[ ] Reverting the packages version of the runtime to the versions in 0.1.0 and add bokeh=2.4.3
[ ] Do a release

+1

Reverting the packages version of the runtime to the versions in 0.1.0 and add bokeh=2.4.3

Do you really have to revert?
I'd expect the easiest we to do this kind of patch release is:

branch off the 0.1.0 tag
update the bokeh pin and tag as 0.1.1
release that

@dchudz there is already a plan of action, we don't want to do a release without reverting the updates because there are some broken things on newer versions plus some regressions we don't yet understand. If you want to learn more about that, read https://github.com/coiled/coiled-runtime/issues/526 but more specifically https://github.com/coiled/coiled-runtime/issues/500.
The release was a bit delayed due to other issues but now we should be good to go. I'll have the release done in the next hour, have a few things to take care of first.

Closing as the release has been done in both pypi and conda-forge

Woo -- thanks @ncclementi!


add CSS Grid page

Live: https://zen-cori-b3d00a.netlify.app/pages/layout/css-grid.html

Thank you for reviewing.


Add initial esp-idf support for clockwise.

Add project configuration menu for selecting the desired clockface
Add support for swapping Blue and Green colors, which is a common problem with some 64x64 HUB75 displays.

(note that esp-idf will fail to compile this project until https://github.com/jnthas/clockwise/pull/5 is merged in.)


Mac OS X installation problem

When installing PyAV in Mac OS X 10.9 the cythonize step is ignored (around line 562 in setup.py) without creating the C source files (the ext.sources list consists in a list of filenames with extension .c and not .pyx for each ext). At compiling time, the compiler fails to find av/_core.c and the process stops.
Any ideas to make a a successful compilation/installation?

We've seen that happen with old versions of setuptools. Can you upgrade that and try again?

the default version of setuptools for mavericks yosemite is
pip show setuptools
Name: setuptools
Version: 0.6c12dev-r88846
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python

(sorry for the late reply... it's a lab computer so I can't use it at any time)
pip show setuptools
Name: setuptools
Version: 0.6c12dev-r88846
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
and when upgraded to setuptools-18.2 the problem disappears. Thank you for your help :-)

Thanks! I'm going to resubmit this as something we should warn about.