build(deps): upgrade indexmap crate

Summary
Upgrade indexmap to 2.x
Only schemars (a dev dependency) requires indexmap 1.x.
Thus, we can upgrade to indexmap 2.x
I also enabled the serde feature of indexmap to remove our custom serde implementations. Unfortunately, we cannot remove STringSet` because schemars don't provide schemas for indexmap 2.x
It seems that we use IndexMap in cases where we could use a HashSet or a sorted Vec.
A future PR should investigate some possible implications / perf improvements.
Test Plan
CI must pass.

It seems that we use IndexMap in cases where we could use a HashSet or a sorted Vec.

Do you have examples of where that’s the case? Generally I’m hesitant with HashSet/HashMap because I don’t like undefined ordering, which is notorious for creating situations with hard-to-reproduce bugs that only manifest in certain situations based on ordering.
Of course sorted Vecs don’t have that problem and are indeed sufficient in many cases, though I often reach for BTreeMap/BTreeSet too.

Do you have examples of where that’s the case? Generally I’m hesitant with HashSet/HashMap because I don’t like undefined ordering, which is notorious for creating situations with hard-to-reproduce bugs that only manifest in certain situations based on ordering.

For example in the path interner or for storing the globals config field.


Added stdout logging to support bash piping

I use your great script from inside a bash script and needed to pipe everything to a file so I added stream=sys.stdout to the logging config.
This is only the second time I change python scripts so bear with me.

@mkjaer two things. one: i just fixed a bug with logging: 099a461. can you re-install and re-attempt whatever you are doing? second: logs go to stderr by default. can you use that instead of stdout? you may get what you want to redirecting stderr to the same stream with 2>&1.

I tried the new version which seems to work if I pipe stderr into my logfile.
I guess I just didn't realize INFO statements also went into stderr. Is there a reason for that?

technically speaking, all python logs seem to go to stderr by default (reference). i'm not entirely sure why they made that decision. shall we close this then?

I see. I guess it's mainly up to you how you want it to work. I got my script working so I don't mind either way :)


AcrylicOpacity doesn't work

Environment
Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 1.4.3141.0

Any other software? No

Steps to reproduce

Set Acrylic Opacity to any value with Use Acrylic as true
Expected behavior

The window goes translucent
Actual behavior

The window remains opaque.

If you're not in battery saver mode, or have transparency effects disabled across the OS, this is a /dup of #7047. Sorry!


added -dynamiclib for MacOSX

adding -dynamiclib makes this runnable on the Mac (i had to also rename src/main/native/libbwajni.so -> src/main/native/libbwajni.jnilib)

@akiezun

i had to also rename src/main/native/libbwajni.so -> src/main/native/libbwajni.jnilib

I think I can do this in the Makefile. What the output of:
uname

on your side ?

on the mac it says "Darwin"

I wrote a new branch witch should detect your os: https://github.com/lindenb/jbwa/commit/a9d866437bcd4430915217edd5cf34b74b3446be#diff-b67911656ef5d18c4ae36cb6741b7965
can you test this please ?

yes, it worked for me on the mac! thanks

ok, I've merged in master


Added guide on server installation. Update to the readme.md file.

Updated the readme file with the information on how to start the server.

You can install libdeflate from apt as well
And homebrew

https://skullians.github.io/zeppelindocs/start/get-started.html This has existed for a while

https://skullians.github.io/zeppelindocs/start/get-started.html This has existed for a while

Just a small description for people to see, do some changes if you want to. I also implemented some bans and connection limiter. Contributions are welcome, what I can say.

Why don't we just create a separate documentation from the organizations account? ZeppelinMC/docs. Use read the docs and it will be fire.

Thanks but I think a generic “playerlist manager” for whitelist, op, bans would work better

Some wasted effort right there. It's chill, I guess. Good luck with the project, will look into it 5 years down the road. Graveyard or not, may God be with you.

Some wasted effort right there. It's chill, I guess. Good luck with the project, will look into it 5 years down the road. Graveyard or not, may God be with you.

@oq-x this should be merged. Seeing as my docs are not official you may as well have the installation guide somewhere people can actually easily access


Jenkins google login

Please do not merge this code yet
Managing Google OAuth credentials
Once you have created Google OAuth2 credentials, you can modify them using the following:

Go to https://console.developers.google.com. You should see Google APIs re-build-systems (or whatever the name of you application is).

Click on the down arrow next to re-build-systems.

Click on the three horizontal lines icon in the top left, then select Credentials.

Click on the "OAuth client" in the OAuth client IDs table.

The Authorised JavaScript origins bit should be blank and the Authorised redirect URIs needs to be one or more Jenkins redirect uris. These can be ones on the web (e.g. AWS instance) or locally (e.g. local Docker container).
Remember to save any changes.
Examples are:
https://ec2-18-130-84-1.eu-west-2.compute.amazonaws.com/securityRealm/finishLogin
http://localhost:8000/securityRealm/finishLogin

You can obtain the public DNS name of the EC2 instance using:
terraform/tools/copy-s3-state-from-bucket -b re-build-systems -e test -p re-build-systems
aws ec2 describe-instances --instance-ids $(grep '"instance": "i' re-build-systems.tfstate | cut -d'"' -f4) --query 'Reservations[].Instances[].PublicDnsName'

This branch is being archived. Unfortunately, the issue https://issues.jenkins-ci.org/browse/JENKINS-47444 is preventing us from logging into Jenkins via Google OAuth.


chip-device-ctrl: attribute subscribe failed with "CHIP Error 0x0000000B: No memory"

Problem
The test case TC-IDM-4.2 of TE6 failed.

expected behavior
chip-device-ctrl works as what expected in the TE6_TestPlanVerificationSteps-v1.3.
actual behavior
chip-device-ctrl failed at Step 16.
The error message shown in the TH console is:

chip-device-ctrl > zclconfigure OnOff OnOff 12344321 1 10 20 0
An exception occurred during configuring reporting of ZCL attribute:
CHIP Error 0x0000000B: No memory

Acturally, there is about 6.8GiB memory available on the rasperry pi.

steps to reproduce
See TC-IDM-4.2
Basically, subscribe OnOff attribute 4-5 times using zclconfigure command.

system configuration
DUT:

ESP32
TH:
Raspberry Pi 4 Model B Rev 1.4
RAM: 8GiB
SDcard: 32GiB

screenshots, images, logs, etc.
Logs:
TC-IDM-4.2.txt

No memory is likely related to pre-allocated number of concurrent subscriptions rather than actual RAM. The description says "subscribe 4-5 times" which leads me to believe that we never unsubscribe.
This seems to work as expected - we have a limit on number of concurrent subscriptions as each subscription take RAM on constrained devices (and those pre-allocate fixed sizes).
Asking for the linux-side to have higher limits seems reasonable (linux/mac/android can allocate a lot more RAM for subscriptions), changing device side to support more subscriptions is probably not possible and this is the reason we have wildcard subscriptions.

Tagging as "future" for now as this seems expected behaviour, however if we need to adjust subscribe prealloc count we can revisit.


Random exception handling

Need:
Catch service errors in the client to treat them
Deliverable:
Service exceptions consistently show in the client
How to reproduce:

Have grpcio==0.13.0 and protobuf==3.0.0b2.post2

Copy the below proto definition in proof.proto:

syntax = "proto3";
package proof;
service Proof{
rpc get (ProofRequest) returns (ProofResponse) {}
}
message ProofRequest {}
message ProofResponse {string response = 1;}
```

Run the proto generation:

protoc --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=which grpc_python_plugin proof.proto
```

Copy the code below in proof.py:

import time
from grpc.beta import implementations
from grpc.beta.interfaces import StatusCode
import proof_pb2
PORT = 55003
class Servicer(proof_pb2.BetaProofServicer):
def get(self, request, context):
try:
raise Exception('OOPS')
return proof_pb2.ProofResponse(response="OK")
except Exception as e:
context.details(str(e))
context.code(StatusCode.INTERNAL)
return proof_pb2.ProofResponse(response="NOT OK")
def client():
channel = implementations.insecure_channel('localhost', PORT)
stub = proof_pb2.beta_create_Proof_stub(channel)
print stub.get(proof_pb2.ProofRequest(), 30)
if name == 'main':
server = proof_pb2.beta_create_Proof_server(Servicer())
server.add_insecure_port('[::]:%s' % PORT)
server.start()
 try:
    while True:
        time.sleep(10)
 except KeyboardInterrupt:
    server.stop(0)

4. Run the server:

    ```python proof.py```

5. Run the client:
    ```
python
import proof
proof.client()
proof.client()
proof.client()
proof.client()

```

sometimes you'll see a NOT OK response
other times you'll see a stacktrace with OOPS (expected behavior)

proof.client()
response: "NOT OK"

proof.client()
Traceback (most recent call last):
File "", line 1, in
File "proof.py", line 23, in client
print stub.get(proof_pb2.ProofRequest(), 30)
File "/usr/local/lib/python2.7/dist-packages/grpc/framework/crust/implementations.py", line 73, in call
protocol_options, metadata, request)
File "/usr/local/lib/python2.7/dist-packages/grpc/framework/crust/_calls.py", line 109, in blocking_unary_unary
return next(rendezvous)
File "/usr/local/lib/python2.7/dist-packages/grpc/framework/crust/_control.py", line 412, in next
raise self._termination.abortion_error
grpc.framework.interfaces.face.face.NetworkError: NetworkError(code=StatusCode.INTERNAL, details="OOPS")

```

Did some digging and found out that:

When the OOPS exception is caught on the client, it also hangs

If we remove the entire line return proof_pb2.ProofResponse(response="NOT OK") and let it return None, it will always show the OOPS exception (and as previously stated, it will always hang)

When the NOT OK response was received:

# list of tickets from framework/core/_operation.py:_EasyOperation.handle_ticket:
Ticket(operation_id=UUID('dc3839d3-ad7d-452a-b3e7-a3c9c95edbfc'), sequence_number=0, group=None, method=None, subscription=None, timeout=None, allowance=None, initial_metadata=None, payload=None, terminal_metadata=None, code=None, message=None, termination=None, protocol=Protocol(kind=<Kind.INVOCATION_CONTEXT: 'invocation context'>, value=<grpc._links.invocation._Context object at 0x1c6e390>))
Ticket(operation_id=UUID('dc3839d3-ad7d-452a-b3e7-a3c9c95edbfc'), sequence_number=1, group=None, method=None, subscription=<Subscription.FULL: 'full'>, timeout=None, allowance=None, initial_metadata=<grpc._cython.cygrpc.Metadata object at 0x1c2caa0>, payload=None, terminal_metadata=None, code=None, message=None, termination=None, protocol=None)
Ticket(operation_id=UUID('dc3839d3-ad7d-452a-b3e7-a3c9c95edbfc'), sequence_number=2, group=None, method=None, subscription=None, timeout=None, allowance=None, initial_metadata=None, payload=response: "NOT OK"
, terminal_metadata=None, code=None, message=None, termination=None, protocol=None)
response: "NOT OK"

#stacktrace before calling callbacks
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(134)_terminate_internal_only()
-> self._pool.submit(
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(140)_terminate_and_notify()
-> self._terminate_internal_only(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(201)abort()
-> self._terminate_and_notify(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_operation.py(82)abort()
-> self._termination_manager.abort(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_end.py(72)_abort()
-> operation.abort(base.Outcome.Kind.LOCAL_SHUTDOWN)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_end.py(162)stop()
-> _abort(self._cycle.operations.values())
> /usr/local/lib/python2.7/dist-packages/grpc/beta/_stub.py(109)down()
-> self._end_link.stop(0).wait()
> /usr/local/lib/python2.7/dist-packages/grpc/beta/_stub.py(80)__del__()
-> self._down()
> /home/django/web/frontend/x(2)<module>()
-> import server;server.client()
*** Oldest frame

When the OOPS response was received:

# list of tickets from framework/core/_operation.py:_EasyOperation.handle_ticket
Ticket(operation_id=UUID('31a55c28-0a59-4b47-a426-514febff6dd4'), sequence_number=0, group=None, method=None, subscription=None, timeout=None, allowance=None, initial_metadata=None, payload=None, terminal_metadata=None, code=None, message=None, termination=None, protocol=Protocol(kind=<Kind.INVOCATION_CONTEXT: 'invocation context'>, value=<grpc._links.invocation._Context object at 0x277f390>))
Ticket(operation_id=UUID('31a55c28-0a59-4b47-a426-514febff6dd4'), sequence_number=1, group=None, method=None, subscription=<Subscription.FULL: 'full'>, timeout=None, allowance=None, initial_metadata=<grpc._cython.cygrpc.Metadata object at 0x273daa0>, payload=None, terminal_metadata=None, code=None, message=None, termination=None, protocol=None)
Ticket(operation_id=UUID('31a55c28-0a59-4b47-a426-514febff6dd4'), sequence_number=2, group=None, method=None, subscription=None, timeout=None, allowance=None, initial_metadata=None, payload=None, terminal_metadata=<grpc._cython.cygrpc.Metadata object at 0x273daf0>, code=<StatusCode.INTERNAL: 13>, message='OOPS', termination=<Termination.TRANSMISSION_FAILURE: 'transmission failure'>, protocol=None)

#stacktrace before calling callbacks:
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(134)_terminate_internal_only()
-> self._pool.submit(
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(140)_terminate_and_notify()
-> self._terminate_internal_only(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_termination.py(201)abort()
-> self._terminate_and_notify(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_reception.py(88)_abort()
-> self._termination_manager.abort(outcome)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_reception.py(155)receive_ticket()
-> _utilities.Outcome(outcome_kind, ticket.code, ticket.message))
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_operation.py(76)handle_ticket()
-> self._reception_manager.receive_ticket(ticket)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/core/_end.py(204)accept_ticket()
-> operation.handle_ticket(ticket)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/foundation/relay.py(92)_spin()
-> behavior(value)
> /usr/local/lib/python2.7/dist-packages/grpc/framework/foundation/logging_pool.py(41)_wrapping()
-> return behavior(*args, **kwargs)
> /usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py(61)run()
-> result = self.fn(*self.args, **self.kwargs)
> /usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py(73)_worker()
-> work_item.run()
> /usr/lib/python2.7/threading.py(504)run()
-> self.__target(*self.__args, **self.__kwargs)
> /usr/lib/python2.7/threading.py(551)__bootstrap_inner()
-> self.run()
> /usr/lib/python2.7/threading.py(524)__bootstrap()
-> self.__bootstrap_inner()
*** Oldest frame

Since that hanging always happens when OOPS is shown, we'll return None and keep an eye on memory leaks.
But I have to say, this is an important problem to solve before grpc would be production ready.

This is now fixed on source control master (or if it isn't, please reopen this issue) and the fix will be released on 0.15.


Make Start Issue

Hi, I tried to run make start and I got this error. Does anyone know why did it happen? Thanks!
Error response from daemon: Ports are not available: exposing port TCP <IP_ADDRESS>:5432 -> <IP_ADDRESS>:0: listen tcp <IP_ADDRESS>:5432: bind: An attempt was made to access a socket in a way forbidden by its access permissions. make[1]: *** [Makefile:210: start-docker-compose] Error 1 make[1]: Leaving directory '/home/xiaor2/cello' make: *** [Makefile:191: start] Error 2

dont use. Bad document


Fix its singular value

Fixed faulty over restriction in Then its singular value condition match the "search_regex" regex.
(i.e. haven't accounted for the stash could being occupied by multiple resources)

Pull Request Test Coverage Report for Build 1053

0 of 13 (0.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 60.101%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/steps/then/its_value_condition_match_the_search_regex.py
0
13
0.0%

Files with Coverage Reduction
New Missed Lines
%

terraform_compliance/common/defaults.py
6
83.33%

Totals

Change from base Build 1050:
0.03%

Covered Lines:
1193

Relevant Lines:
1985

💛  - Coveralls


Adding REQUEST Header for Apis

I can't find any method to add REQUEST headers for api documentation. Is there any method to do it? 'Cause only the RESPONSE header feature is only there.

I think I got the solution, the trick to add REQUEST headers is just by adding - header in the params like this:
@param {string} example.header - example description - header

I used this but it does't change the url thats being generated on "try it" but the UI changes the name to "header". So I am still at the starting point, any help will be beneficial.


Energy today and yesterday?

Does official api provide energy sum for today and yesterday like tasmota does? At least yesterday would be pretty useful for me to get. But maybe that would me reverse engineering original api for calendar/history/csv download and parsing it?

hi @evlo (sorry for late reply)
i have no idea if something like your request is possible. do you need it available & displayed somehow in HA or just a standalone type of requests in order to pull the data?

I wanted to have it displayed in HA, but since then I just gave up :D


Add back date of releases to CHANGELOG?

http://keepachangelog.com/

Will do this for all future versions


bulkDelete issue

Warning when trying to delete messages older then 14 days with the purge command.
Cheking the older message of the stack should determine if the command can be applied to a TextChannel.

Fixed returning error message in the discord text channel when trying to do it


Handling Link-to-Web resources using ArkLib

Something went wrong with writing link to disk.
https://user-images.githubusercontent.com/581023/186062454-7714a739-4a24-44f1-a231-a1a353039fb4.mp4

Not sure how to proceed with this PR.


Can you support screenshots?

Like adb shell screencap -p > screen.png. Hope to support one-click screenshots. Thanks!

Duplicate of #684. Also see #2040.

I see. But I can't found the relevant screenshot command for scrcpy. Likes adb shell screencap -p > screen.png. Thanks!

Duplicate of #684. Also see #2040.

I see. But I can't found the relevant screenshot command for scrcpy. Likes adb shell screencap -p > screen.png. Thanks!


fix(sync): full sync not working if dedicated disabled

Summary
Clustering initialization needs to be handled when dedicated worker is off
Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
Fix KAG-5807

I have tested this pr using its generated image tag: kong/kong-gateway-dev:da7be384030787b1477a8972d0a88d7abb236534-ubuntu, with this fix, the DP could work as expected.

The related test cases will be added in KAG-5811.


RE: Cutom Images

Hi, I am having trouble displaying a custom image. Could you let me know if something looks off? I've been reading a lot of the resolved solutions and I can't seem to figure it out.
                    let size = CGSize(width: 200, height: 200)
                    let successImage = UIImage(named: "check_mark")!
                    SVProgressHUD.setDefaultStyle(.custom)

                    SVProgressHUD.setImageViewSize(size)

                    SVProgressHUD.show(successImage, status: "Success!")
                    SVProgressHUD.dismiss(withDelay: 2)

Image related problem. Closing


asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress

Once the bot notified me twice about a new mark:

I checked the log and found that the problem is with PostgreSQL:

2020-12-09T08:24:37.738959+00:00 app[worker.1]: ERROR:root:
2020-12-09T08:24:37.738971+00:00 app[worker.1]: Traceback (most recent call last):
2020-12-09T08:24:37.738971+00:00 app[worker.1]: File "/app/notifier.py", line 26, in _loop
2020-12-09T08:24:37.738971+00:00 app[worker.1]: marks = await asyncio.gather(*tasks)
2020-12-09T08:24:37.738972+00:00 app[worker.1]: File "/app/notifier.py", line 60, in check_user
2020-12-09T08:24:37.738973+00:00 app[worker.1]: await self.db.update_marks(user.vk_id, json.dumps(new_marks))
2020-12-09T08:24:37.738973+00:00 app[worker.1]: File "/app/db_access.py", line 71, in update_marks
2020-12-09T08:24:37.738974+00:00 app[worker.1]: await self.conn.execute(
2020-12-09T08:24:37.738974+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/asyncpg/connection.py", line 297, in execute
2020-12-09T08:24:37.738975+00:00 app[worker.1]: _, status, _ = await self._execute(query, args, 0, timeout, True)
2020-12-09T08:24:37.738975+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/asyncpg/connection.py", line 1444, in _execute
2020-12-09T08:24:37.738976+00:00 app[worker.1]: with self._stmt_exclusive_section:
2020-12-09T08:24:37.738976+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/asyncpg/connection.py", line 1890, in __enter__
2020-12-09T08:24:37.738976+00:00 app[worker.1]: raise exceptions.InterfaceError(
2020-12-09T08:24:37.738976+00:00 app[worker.1]: asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress

Even if the problem appears rarely, I need to fix it. I have to find a way to handle multiple operations at the same time. Of course, I can just wait for the connection to be released, but there's probably a better way.

It was a mistake to store the connection in self.conn like that:
https://github.com/raitonoberu/ruobr_vkbot/blob/05e1111c0afb92570927d0f709a531daf166dbd7/db_access.py#L31-L41
The correct way is to use a connection pool that creates multiple connections:
https://github.com/raitonoberu/ruobr_vkbot/blob/ca2f08d418a643431fc7252af0c6382eb830fd44/db_access.py#L29-L40
More here: https://magicstack.github.io/asyncpg/current/usage.html#connection-pools


✨add accessibility & app features

Build succeeded!
Built with commit 7fae7945f370a9a77ece10948adb3dee8869289a
https://deploy-preview-60--padpad.netlify.com


ImportError: No module named 'nvdiffrast_plugin'

Hi, thanks for your job. When I use train.py, I encounter some problems:

ImportError: No module named 'nvdiffrast_plugin' happen, I first set docker with cuda10 cudnn7, Then I deploy by your environment.yml.
I found a similar problem https://github.com/NVlabs/nvdiffrast/issues/46

hi, have you solved this issue? I encounter the same problem

It's because you didn't compile the nvdiffrast package correctly. You may reinstall this package and check whether there are nvdiffrast_plugin in ~/torch/torch_extensions path.

这是因为你没有正确编译 nvdiffrast 包。您可以重新安装此软件包并检查路径nvdiffrast_plugin中是否存在。~/torch/torch_extensions

Can you say more details?


How to pass an X-Forwarded-For header

I notice that there is a headers: {} config option but no documentation on how to define the header.
I've tried a literal string, and an array. Neither of these work.  Can you provide an example of passing an X-Forwarded-For header.

@thatguy666 Did you use the master branch or v0.1.0?
On the v0.1.0 branch it should be as simple as:
{
  'X-Forwarded-For':'<IP_ADDRESS>'
}

Please check out connection.js


fix: missing API versions in k8s imports

Fixes #45
The high-level strategy behind this fix is described here: https://github.com/cdk8s-team/cdk8s-cli/issues/45#issuecomment-887753986
I tested this by running cdk8s import in a separate project. The main difference in the generated k8s.ts file is that multiple versioned interfaces are generated for non-top-level definitions that have identical names but different resources. By non-top-level definitions, we mean the generated types that don't subclass from ApiObject, such as XxxSpec.
So now as an example, KubeDeploymentV1Beta1Props refers to DeploymentSpecV1Beta1 instead of DeploymentSpec, and DeploymentSpecV1Beta1 is generated in addition to DeploymentSpec (whereas it was previously omitted). If a spec is versioned at v1, then the version postfix is implicitly omitted.
The only minor regression caused by this fix is that the "schema" values associated with these types are all overwritten, as visible in the diff:
       "datatype": true,
       "docs": Object {
         "custom": Object {
-          "schema": "io.k8s.api.rbac.v1beta1.AggregationRule",
+          "schema": "AggregationRule",
         },
         "summary": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole.",
       },

@Chriscbr I took a deeper look here as we discussed and I believe there is a simpler, more appropriate fix we should push to json2jsii.
Basically the offending code is here: https://github.com/cdklabs/json2jsii/blob/main/src/type-generator.ts#L500.
It causes all versioned structs to collapse to a single one (the first on the list). I think the fix would be to apply the same logic from here when dealing with namespaced references, so I am preparing a fix. Let me know if you think differently.

@iliapolo Got it, I think that approach makes sense. 👍

Closing in favor of https://github.com/cdklabs/json2jsii/pull/509


Refactoring the entire bot.

All functions/methods/classes have been documented and annotated.
I have removed weather.py and trivia.py because those are projects for a different day to refactor.
I would suggest not merging this until other PRs are done, and the removed cogs have been re-added, and fixed.

D:


feat: update thank-you message date format plus some other chores

Tasks Completed

Updated thank-you message date format
Updated to using flat config
Downgraded eslint

Thanks @gounthar and @MarkEWaite for the reviews


Unfortunately, your request to provision "Custom learning for Office 365"  template failed.

Category

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

Expected or Desired Behavior
SharePoint Provisioning Service creates the Custom Learning Module (now M365 Learning Paths) site in tenant.
Observed Behavior
Provisioning service fails with below error:
SharePoint Online Provisioning Service
Unfortunately, your request to provision
"Custom learning for Office 365"
template failed.
Here is the exception that occurred:
Type = Microsoft.SharePoint.Client.ServerException Message = Column 'ClientSideApplicationId' does not exist. It may have been deleted by another user. /sites/Liberty-O365-Learning-Academy/SitePages Source = Microsoft.SharePoint.Client.Runtime ServerStackTrace = ServerErrorCode = -2147024809 ServerErrorTypeName = System.ArgumentException ServerErrorTraceCorrelationId = 6c76de9e-2003-8000-54f0-35ec917914d2 TargetSite = Void ProcessResponseStream(System.IO.Stream) StackTrace = at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRequest.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRuntimeContext.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientContext.d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientContextExtensions.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) at OfficeDevPnP.Core.Pages.ClientSidePage.Save(String pageName, File pageFile, List pagesLibrary) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectClientSidePages.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchySequenceSites.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser tokenParser, ProvisioningTemplateApplyingInformation applyingInformation) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__2.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 389 HResult = -2146233088
PnP Correlation ID: 948362a3-0222-4d04-9685-1c504442c361
Steps to Reproduce
Attempt to deploy CLM template, enter tenant admin details, receive error.
Submission Guidelines
Thanks for your contribution! Sharing is caring.

@mimullan Unfortunately your issue is related to the SharePoint online provisioning service and not Microsoft 365 learning pathways which means we have no expertise to be able to assist you. You will need to submit this issue to their repository to get assistance which is at https://github.com/SharePoint/sp-dev-docs/issues.


build fail on windows 10 with QT5.7 MingW

OS: windows 10 x64
QT 5.7
MINGW 530_32
get error:
\cpr\opt\googletest\include\gtest\internal\gtest-port.h:1787: error: 'AutoHandle' does not name a type
AutoHandle thread_;
^

Just in case you find this issue, easiest think to do is to disable building of tests:
cmake -DBUILD_CPR_TESTS=OFF ..


Lint everything

Check linting for every Python file in the project. Disabled unspecified-encoding rule. Currently, the linting checks only the files in the Protostar directory.

Missing timeout argument for method ‘requests.get’ can cause your program to hang indefinitely

Maybe this is why CI kept freezing?

@karol-bisztyga Could you please review this one?


Access from the jcenter

Currently it is impossible to use library without direct adding of repository (https://dl.bintray.com/insanusmokrassar/StandardRepository/) into repositories list

I have found the issue reason. Previously project was jvm-only and when I have to requested access to publishing into jcenter it was approved only for one required on that moment package: com.github.insanusmokrassar.TelegramBotAPI. For now I have written into support team for extending of publishing artifacts packages for the project https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI

@Djaler (mention cause of you have said about this issue):
Currently this library available directly from jcenter and with TelegramBotAPI name of dependency

Thanks!

Hmm, didn't work for me. Should it work with 0.21.0?

There are no main jar in jcenter - https://jcenter.bintray.com/com/github/insanusmokrassar/TelegramBotAPI/0.21.0
And in maven central too - https://repo1.maven.org/maven2/com/github/insanusmokrassar/TelegramBotAPI/0.21.0/

It is look like for local maven it was built correctly, but for gradle and maven central is not-.- let me a few minutes

Unfortunatelly, it will take more time

@Djaler can you, please, try again to use TelegramBotAPI with jcenter()? I have checked on my environment, but it will be better, if you will check it too

Still doesn't work

Can you send gradle build file which you are using to check?

https://github.com/Djaler/evil-bot/blob/master/build.gradle.kts this

So, what have you changed? Repository and dependency?

Yeah, I tried to remove maven("https://dl.bintray.com/insanusmokrassar/StandardRepository") and drop -jvm from dependency name

Ok, I will try this

I have fixed. From you will be better to do several additional actions:

Move jcenter as primary source:

repositories {
    jcenter()
    mavenCentral()
}

And remove cache (on linux it will be rm -rf ~/.m2/repository/com/github/insanusmokrassar/* ~/.gradle/caches/modules-2/files-2.1/com.github.insanusmokrassar)

@Djaler please, let me know about results

It works, thanks! Also, there are feature to use repository only for specific dependencies - https://docs.gradle.org/current/userguide/declaring_repositories.html#declaring_a_repository_filter, so I can make something like:
repositories {
    jcenter {
        content {
            includeGroup("com.github.insanusmokrassar")
        }
    }
    mavenCentral()
}

I think, it is up to you:) thank you


Tidy signature page generation script

https://trello.com/c/jEZzVo2u/326-tidy-signature-page-generation-script
Refactoring the signature page generation script to be more verbose and more user-friendly.
Now with added functional tests! Functional tests require https://github.com/alphagov/digitalmarketplace-test-utils/pull/20, Travis won't pass until this is merged.

Changes look positive to me. Nice one!
Couple points but not blockers:

Not 100% sure about the setup.sh files. Are they a cram thing? Looks like most of it could be Make commands instead 🤷♂
Generally it's recommended to use implicit line continuation rather than backslash line continuation https://github.com/google/styleguide/blob/gh-pages/pyguide.md#32-line-length

Changes look positive to me. Nice one!

Thanks! Thanks for wading through them ;)

Couple points but not blockers:

Not 100% sure about the setup.sh files. Are they a cram thing? Looks like most of it could be Make commands instead :man_shrugging:

That's true, however I feel they are useful as it means you can if you wish run cram standalone, which I found useful.

Generally it's recommended to use implicit line continuation rather than backslash line continuation https://github.com/google/styleguide/blob/gh-pages/pyguide.md#32-line-length

Yeah I prefer the implicit line continuation normally, but for some reason putting a lambda in brackets made me all weirded out...


Does this work with OSM with JS files loaded locally?

All the examples I saw are with mapbox. Furthermore I read also that there are constraints with CORS.
Therefore I pose the question:
Does this plugin also work with open street maps with the leaflet JS files loaded locally?
Thanks

I confirm it does work


How do I switch between connections

I've set up 2 targets. I suppose I have to use Deploy: Change switch?
I'm getting this message when doing so.
[vs-deploy] No swicthes available!
settings
"deploy": {
    "targets": [
      {
        "type": "sftp",
        "name": "DevServer",
        "description": "..",
        "dir": "/home",
        "host": "....",
        "port": 22,
        "user": ".....",
        "password": "...."
      },
      {
        "type": "sftp",
        "name": "LiveServer",
        "description": "..",
        "dir": "/home",
        "host": "....",
        "port": 22,
        "user": ".....",
        "password": "...."
      }
    ]
  },

Fixed it by putting targets in workspace settings. I had them located in user settings before that.


[MAS2.1.1] 'Encrypt your keys' check-box is not accessible using keyboard.

Actual Result:
'Encrypt your keys' check-box present in 'New Bot Configuration' dialog-box is not accessible using keyboard.
Expected Result:
'Encrypt your keys' check-box present in 'New Bot Configuration' dialog-box should be accessible using keyboard.
Repro Steps:

Open the Bot Framework V4 Emulator.
Welcome screen will open up.
Navigate to 'Create a new bot configuration' link and select it.
In 'New Bot Configuration' dialog-box, navigate using Tab key and notice that focus does not come at 'Encrypt your keys' check-box.

User Impact:
Keyboard dependent users won't be able to use the controls which are not accessible using keyboard in any way.
Test Environment:
OS: Windows 10
OS Build: 17134.167
OS Version: 1803
Browser: Edge
Impacted MAS Link:
MAS 2.1.1 – Keyboard (36)
Attachments:
MAS2.1.1_BotFrameworkEmulator_NewBotConfiguration_EncryptYourKeys_CheckBox.zip

Fixed


Consider support for source generators

There is a fair amount of runtime expression manipulation handled by this library that might benefit from using a source generator at compile time. As I'm integrating this into a keyset paginated API, some benefits I could see from a source generated version:

Faster initialization time, especially in serverless environments.
Generate a serializable key type that corresponds to the columns required for the reference object, so that it's easier to provide pagination tokens to clients.
Aligns with the .NET 8 AOT performance goals as the EF Core team also investigates support for AOT.

It may also be reasonable to generate both IQueryable and IEnumerable versions using source generation to resolve #12, or determine if EFCore Async methods are available for IQueryable to resolve #32.

At the time, my opinion was that since this is built on top of an ORM, any performance gains from using source generation will be negligible compared to the database query that will take place as part of calling this. But you make a good point about supporting AOT. And this library is about performance too after all.
Also, generating bespoke methods to build the keyset might greatly decrease allocations as right now we box to object every time we obtain a column's value if it's a value type (and most columns in keysets are usually value types).
One problem would be generating the code to obtain the column values of a reference, due to loose typing this can be any object. Would need to find a good way or an alternative to remove reflection here.
This will likely require a new major version as I suspect some breaking changes, but that's fine.
As for pagination tokens. The way this library works now, it's up to the consumer how a reference is obtained. Usually, an id is sent between the front and the back. But I could see some code generation giving more flexibility to what you're allowed to provide instead of this reference. i.e. Instead of needing an object reference, it could be a record of the keyset as an alternative, which would allow a frontend to send the keyset values instead of an id, which would remove the need for a db query to load the reference. Not sure if this is similar to what you meant by serializable key.
In any case, this will be a major rewrite but would love to do this eventually.

it could be a record of the keyset as an alternative, which would allow a frontend to send the keyset values instead of an id, which would remove the need for a db query to load the reference. Not sure if this is similar to what you meant by serializable key.

Yes, this is exactly what I'd love to see, as the lookup introduces an extra db call and is the source of a potential bug when that record has been removed in between page navigations.

One problem would be generating the code to obtain the column values of a reference, due to loose typing

Presumably the reference could be of the generic type corresponding to the query or the record of the keyset type.  For other arbitrary types, you could require the caller maps their reference object to the keyset record type.  Or, since the DTO pattern is common here, you could potentially name additional types during specification of the sort which would generate typed overloads that perform that mapping for you.

Agreed. Mapping is less ergonomic (keysetContext.HasNextAsync(data.Select(x => ...))), but could be a good base option. An alternative of providing the additional types to be generated might be a good second option as these should be limited.


A disk-based cache for all provider queries to prevent provider API throttling

If you play around with settings and importing parts too much, you might get yourself throttled or blocked by the providers. Adding caching would prevent you from repeating the same queries to the providers, saving you from this fate.
Might make sense to use something like diskcache (sqlite-based) to cache all provider queries based on the arguments, with a configurable TTL (say 6h for a default).
This would imply that if you have caching enabled, whenever you search for a part or similar, the result is cached. If you search for it again in the next n hours, you'll just get the cached response and you won't hit the API again, lessening the chance of getting yourself throttled.
Might make sense to add a CLI arg for avoiding cache, and a subcommand or flag for clearing it.

Btw I'd like to help on things like this, I'm not just asking for you to do something, but you gotta approve it first.

I've thought about this a while ago, but ultimately decided it's not worth the effort really. With normal use (i.e. not during initial setup/testing) duplicate request shouldn't really happen between runs. So I'm already caching requests during runtime, which imo is sufficient.

you might get yourself throttled or blocked by the providers

This only applies to suppliers that I use crawling for (Mouser, LCSC, reichelt), from those Mouser currently just doesn't work at all, because they hardened their protections (see #49) and I haven't had many problems with blocking from either LCSC or reichelt.


Update Salmon logo, uri and sdk

Update Salmon wallet logo and Uri. And update salmon-adapter-sdk dependency version.

Published<EMAIL_ADDRESS>


FAQ entries on how to use ion-sfu

All written by @leewardbound
Until now we didn't provide any direction on how to actually use ion-sfu. Now we do!

@tarrencev @OrlandoCo Please edit the text as you see fit. This came out of a long discussion on Slack between @leewardbound , @billylindeman and myself.

This is super awesome!


Add collect

Note that the fact that type annotations are required (see in tests) is an important problem. We will have to fix type inference in both Scala and Dotty.

During our last meeting we emit the idea that we don’t need collect on Sorted collection types (such as SortedSet and SortedMap). Actually, I disagree, I think that it is important to be able to write things like:
val xs: TreeSet[Int] = TreeSet(1, 2, 3).collect { case x if x % 2 == 0 => x }

(And same with SortedMap).
Thus, we have to fix type inference in Scala and Dotty.

I just checked that we have that functionality in existing Scala. So, yes, we should support it if possible. But it's not a show-stopper if we can't.


Sanity check on Scene data where the child entity is in the Entity data children list twice

Related tickets:
https://github.com/playcanvas/engine/issues/4228
https://github.com/playcanvas/editor/issues/758
I'm not advocating for this change as it seems like it could affect runtime performance but more to show what we would need if we wanted to make the engine resilient against scene corruption from the Editor in issue: https://github.com/playcanvas/editor/issues/758
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Closing as this isn't realistic to merge in


InvalidSyntax error on autosave file

When extracting an autosave file, I'm getting this error: "An errror occurred while extracting the save file: Ck3Error(Deserialize { part: None, err: Error(InvalidSyntax { msg: "unexpected scalar value", offset: 4 }) })".
I've uploaded the save file here: https://drive.google.com/file/d/1Dm6CEYX4s3fCWfG7SB30HGqGqMHKL-xv/view?usp=sharing
Any idea what scalar value was unexpected? Could this be related to https://github.com/rakaly/jomini/issues/96?

Awesome! Thanks! Yeah I had flipped the option to save as text for the purposes of modding and this ck3 editor I'm working on

confirmed that the issue has been resolved - thanks!


fix(script): Kestra expression for outputs are put on a single line i…

…n docker runner logs
closes #52

Putting it as a draft since I'm not sure about my implementation, it feels strange to include the Kestra expression syntax (::{ & }::) but this is the only type of log line which we can be sure should be grouped together.
Since docker-java-client doesn't provide any way to know that a log is only part of a line, I don't see any other way to get around


Enhanced enum type parameters do not work well in functions with switch statements

Consider the following example:
enum TimestampValueType<T> {
  unknown<void>(),
  dateString<String>(),
  microseconds<int>(),
  milliseconds<int>(),
  seconds<int>();

  DateTime convert(T timestamp) {
    switch (this) {
      case TimestampValueType.unknown:
        throw ArgumentError('Timestamp scheme is unknown.');
      case TimestampValueType.dateString:
        return DateTime.parse(timestamp);
      case TimestampValueType.microseconds:
        return DateTime.fromMicrosecondsSinceEpoch(timestamp);
      case TimestampValueType.milliseconds:
        return DateTime.fromMillisecondsSinceEpoch(timestamp);
      case TimestampValueType.seconds:
        return DateTime.fromMillisecondsSinceEpoch(timestamp * Duration.millisecondsPerSecond);
    }
  }
}

I'd expect to be able to implement the convert function in this way, where the timestamp argument type is known in each switch branch based on the matched enum value.
At the moment, though, this code does not even compile, even when casting timestamp usages.
Every case statement results in an error like the following, where X is the type argument given in the relevant enum declaration:
Error: Type 'TimestampValueType<X>' of the case expression is not a subtype of type 'TimestampValueType<T>' of this switch expression.

You do not get promotion from identical checks in Dart. That includes those done by switch cases. So, the type of this doesn't change just because it happens to be identical to something you know the type of.
Your class is generic. That means that it treats a family of types, those accepted as type arguments, generically. You would have the same issues if it wasn't an enum. You can promote this internally if you want to, like: if (this is TimestampValueType<int>) ... but that allows you to treat this that way, not T timestamp.
To promote that, you still need to do (timestamp as int).

Ah, right. The casting issue isn't a problem then, but the switch statement itself is also broken. Even with nothing inside the case blocks, the error mentioned above is generated.

It perhaps shouldn't be necessary. Good point.
That's a language issue, implementations are acting as currently specified. Moving this to the language repo.
We used to require that the type of case expressions of switch should be instances of the same class as the switch expression.
We changed that for Null Safety to require it being a subtype.
That fails when switching on this inside a generic class, because the switch expression has type C<T> and the constants have type, say, C<int>. There is no subtype relation between the two.
It's not just for enums, you can get the same problem for any generic class:
class C<T> {
  const C();
  static const C<int> x = C<int>();
  static const C<double> y = C<double>();
  static const C<String> z = C<String>();

  void m() {
    switch (this) {
      case C.x: print("x"); break; // The switch case expression type 'C<int>' must be a subtype of the switch expression type 'C<T>'.
      case C.y: print("y"); break; // The switch case expression type 'C<int>' must be a subtype of the switch expression type 'C<T>'.
      case C.z: print("z"); break; // The switch case expression type 'C<int>' must be a subtype of the switch expression type 'C<T>'.
    }
  }
}

So, this is working as intended. It might just be a corner we hadn't considered.
Should we change the "subtype of the static type of e" to be "subtype of the static type of e with type variables instantiated to bound"?


Regenerate Spatial Index whenever project is reloaded

Whenever the radar viewer plugin is first activated, it will generate a spatial index of all features under the "QIceRadar Index" group. This is slow, so we cache the index it between activations.
If the user opens a new project, the index will be invalidated, and needs to be regenerated.

Right now, if the user deletes the ANTARCTIC QIceRadar Index group after first activating the plugin and then re-imports it, any attempts to use the plugin will yiels "AttributeError: 'NoneType' object has no attribute 'isVisible'", triggered by selected_point_callback's if not tree_layer.isVisible()
So, I think it would be possible to catch this error and use it as the trigger to find the root data group again and re-index.
It would be smoother if after re-indexing, it continued on with the selected action, but that's probably more complication than I want. Maybe just pop up a messagebox indicating what's happening, and directing the user to re-try the previous input?

Fixed!


add PRs to automation for core triage project

the code looks like it's adding PRs, but doesn't seem to be. confirmed with this one: https://github.com/dbt-labs/dbt-bigquery/pull/284
which is still not showing up here: https://github.com/orgs/dbt-labs/projects/22/views/20
I vaguely recall PRs not working for some reason

ah...just for context in case someone takes this instead of me, there's some incorrect logic in the code here:
https://github.com/dbt-labs/actions/blob/067b10a38b963237078bdd572da44a1dbdf56b1b/scripts/core-triage/project.py#L188-L193
then in that function:
https://github.com/dbt-labs/actions/blob/067b10a38b963237078bdd572da44a1dbdf56b1b/scripts/core-triage/project.py#L122-L131
so it's using the issues_query instead of a pr_query. when working on this the local script I was running and the one in here diverged a bit. I remember trying to change this over locally, running into some issues, and just removing the PR logic. might be a simple fix for this

the issue with naively re-using the issue code is this:
Processing PR label: ready_for_review...

200
{"errors":[{"path":["query","repository","pullRequests","filterBy"],"extensions":{"code":"argumentNotAccepted","name":"pullRequests","typeName":"Field","argumentName":"filterBy"},"locations":[{"line":4,"column":47}],"message":"Field 'pullRequests' doesn't accept argument 'filterBy'"}]}
Traceback (most recent call last):
  File "/workspaces/codyspace/actions/scripts/core-triage/project.py", line 221, in <module>
    main(PROJECT_NUM, CORE_TEAM, ISSUE_LABELS, PR_LABELS, NUM_ITEMS)
  File "/workspaces/codyspace/actions/scripts/core-triage/project.py", line 214, in main
    prs = get_prs(repo, pr_label, num_items)
  File "/workspaces/codyspace/actions/scripts/core-triage/project.py", line 143, in get_prs
    prs = process_request(
KeyError: 'data'

see the start of prs_query:
# graphql query to get list of prs for the github repo
prs_query = """
    query {
        repository(owner:$org, name:$repo) {
            pullRequests(last:$num_items states:OPEN filterBy: {
                labels: [$label]
            }) {
                edges {
                    node {
...

removing the label works. can't find good info online for why filterBy isn't supported for prs.


Update salsa

Summary
Pull in the latest salsa changes. The most notable changes are:

The Handle<Database> was removed again. This requires re-adding snapshot methods to RootDatabase and using an Arc for System. @dhruvmanila this requires some trickery to implement system_mut. I can with that in case my PR lands first
Fewer thread local storage usage (let's see if this shows in the benchmarks
The builder API is now part of the official salsa

Test Plan
cargo test

I'll wait for @dhruvmanila to merge the LSP first

@MichaReiser I've merged the LSP PR


Rebuild problems

I'm trying to put another watcher and is going a very strange error. When trying to rebuild, it is loading content as name .html file.
My code: https://github.com/gpedro/conf-boilerplate/tree/fix/metalsmith-watch
to build on startup it works perfectly, but to change any file and trying rebuild, it happens this:

@ianstormtaylor this commit https://github.com/segmentio/metalsmith/commit/19af5486a66a6f4c9d8f8c3cec5d0301b035f02d has introduced a breaking change to the public api https://github.com/segmentio/metalsmith#runfiles-fn which doesn't respect semver.
I am not familiar yet with generators, and since you use unyield, I am not sure if we can adjust the api depending on the presence of plugins parameter when #run() is called.
@gpedro fyw, I am working on metalsmith-watch v1.0.0 which will solves a lot of problem for partials rebuild.

@ianstormtaylor I am not sure you did actually broke somethings. But I am definitly having differences with run() method that seems to not work as expected (it's like a done() callback is never executed when yield run() is called in prototype.run(). I added some stupid console.log() after this method and it's never outputed. cpu isn't high so not sure what is wrong. Maybe a recent changes to a dep of a dep...
I am very new to generators so if you have any idea for this regression, your are welcome :)
I will continue my investigation.

I hate when you resolve an issue by doing rm -rf node_modules && npm i... Sorry for the noize.

Haha no worries man, I know that feeling. Sorry for the headache regardless.

@MoOx the problems persist with metalsmith-watch v1.0.1

From what I see, you did not upgrade the configuration of metalsmith-watch https://github.com/FWeinb/metalsmith-watch#paths-default-source-true

@MoOx

I hate when you resolve an issue by doing rm -rf node_modules && npm i... Sorry for the noize.

https://github.com/gpedro/conf-boilerplate/commit/9e540ded7b73b3fb12124ef4dccadecef5f8ae69
now it does not show the error, but not updated.

@MoOx holy crap. sorry for that.
https://github.com/gpedro/conf-boilerplate/commit/ebd09c78093a4e8765f34bc7c8fe7c36fddcecdf

You don't read correctly again....

@MoOx lol
he are watching src/**/*  and rebuilding **/* when changed. But the problems is: he are using content instead filename.
[metalsmith-watch] ✔ src/layouts/default.html changed
[metalsmith-watch] - Updating 17 files...
[metalsmith-watch] ✗ Error: ENOENT, open '/Users/gpedro/bp-fix/src/layouts/{{#if forkButton}}

{{/if}}

      {{ conf.name }}

{{ conf.date }}, {{ conf.venue }}, {{ conf.city }}

      {{#if conf.price }}
        Only {{ conf.price }}
      {{/if}}

      {{#if callToAction }}
        {{ callToAction.text }}
      {{/if}}

.html'

You are completly wrong about how to use metalsmith. Your templates have nothing to do as source files. Please just take 5min to read the entire readme of metalsmith-watch and pay attention to the paths option and the example that involve the template directory.
Tempaltes & partials should not be read as metalsmith sources. So whether you use metalsmith.source("src/documents), whether you move your layouts of the src folder and you read again https://github.com/FWeinb/metalsmith-watch#paths-default-source-true
@ianstormtaylor I think you should close this issue, the current problem is clearly pebkac :)


enable on restructured text (rst files)

When I try to run the grammarly extension on restructuredtext files, I get the error

Command 'Grammarly: Check grammar errors' is not enabled in the current context.

Could you enable the extension for rst files?
Or maybe more general, make it configurable on which languages the extension should be executed.

I don't know how to make the languages configurable. I have to read about that. For now, I am including rst files in configuration.

@znck This does not work yet and throws The .rst filetype is not supported. I had to add .rst to the list of Languages myself to make working.

@Surendrajat Hi, could you please elaborate on "add .rst to the list of Languages myself to make working"? I cannot find the option to do that.

@edxu96 I cloned this repo and edited the file that contains the list of file types(forgot which one) and built the extension myself.

Got it. Sounds challenging for me ... Thanks for the reply


Use iPhone 5s for running tests on 32-bit iOS simulator

In Xcode 11.4.1 by default there is no 'iPhone 5' device, only 'iPhone 5s'.
% xcrun simctl spawn --standalone 'iPhone 5' /bin/true
Invalid device: iPhone 5
% xcrun simctl spawn --standalone 'iPhone 5s' /bin/true
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
The operation couldn’t be completed. No such file or directory
No such file or directory

@swift-ci Please review

@swift-ci Please test

Mishal prefers that we continue using iPhone 5 because it does not have a 64-bit slice at all.


Angular 11 HTTP Client - Quickstart Guide

Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Proposed title of article
Angular 11 HTTP Client - Quickstart Guide
Introduction paragraph(s):
This post will be a quick practical guide for the Angular HTTP Client module. We will cover how to do HTTP in Angular in general. We will be using the new @angular/common/http module, but a good part of this post is also applicable to the previous @angular/http module.
We will provide some examples of how to use this module to implement some of the most common uses that you will find during development.
Key takeaways:

Introduction to the new HTTP Client module
HTTP Request Parameters (Immutability-based API)
HTTP PUT, PATCH, POST, DELETE
HTTP error handling
HTTP Interceptors

References:
N/A

How To Guide Template
Software Review Template
Tutorial Template

good topic @owinowendy - approved


The range of obs in individual_observation_names

Hi, I found no value range of observations in individual_observation_names.
For example: the individual_observation_names of clean_up is
['RGB', 'READY_TO_SHOOT', 'POSITION', 'ORIENTATION']

It is available via the following code:
from meltingpot.python import substrate
env_config = substrate.get_config(substrate_name)
individual_observation_names = env_config.individual_observation_names

The shape of each individual observation is available, such as env_config.timestep_spec.observation['POSITION']. However, the range of each observation is not available.

That is correct. In principle these are substrate dependent. In particular, POSITION can span the size of the map (as integers). ORIENTATION can be 0-4 inclusive. and READY_TO_SHOOT is between 0 and 1 (float, inclusive). RGB is between 0-255 uint8, inclusive.

That is correct. In principle these are substrate dependent. In particular, POSITION can span the size of the map (as integers). ORIENTATION can be 0-4 inclusive. and READY_TO_SHOOT is between 0 and 1 (float, inclusive). RGB is between 0-255 uint8, inclusive.

I see. Thank you.  It would be great if the range could be added in the `env_config.

POSITION and ORIENTATION are meant to be just for debugging... They weren't
intended to be actual observations used by RL agents.
On Fri, Jul 22, 2022 at 4:04 PM GoingMyWay @.***> wrote:

That is correct. In principle these are substrate dependent. In
particular, POSITION can span the size of the map (as integers).
ORIENTATION can be 0-4 inclusive. and READY_TO_SHOOT is between 0 and 1
(float, inclusive). RGB is between 0-255 uint8, inclusive.
I see. Thank you. It would be great if the range could be added in the
`env_config.
—
Reply to this email directly, view it on GitHub
https://github.com/deepmind/meltingpot/issues/58#issuecomment-1192666033,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHFJWTMUQA3PLXS7NHXGDLVVKZ67ANCNFSM54F34DVA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

POSITION and ORIENTATION are meant to be just for debugging... They weren't intended to be actual observations used by RL agents.
…
On Fri, Jul 22, 2022 at 4:04 PM GoingMyWay @.> wrote: That is correct. In principle these are substrate dependent. In particular, POSITION can span the size of the map (as integers). ORIENTATION can be 0-4 inclusive. and READY_TO_SHOOT is between 0 and 1 (float, inclusive). RGB is between 0-255 uint8, inclusive. I see. Thank you. It would be great if the range could be added in the `env_config. — Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHFJWTMUQA3PLXS7NHXGDLVVKZ67ANCNFSM54F34DVA . You are receiving this because you are subscribed to this thread.Message ID: @.>

Noted with thanks. Thank you!


hologram: 20170130 -> 20180319

In AdRoll/hologram#62 support was added to hologram to configure
LDAP-based authorization of which roles a user was allowed to get
credentials for. This adds the ability to configure that.
Additionally, AdRoll/hologram/#94 added support to customize the LDAP
group query, so this also feeds that configuration through.
Motivation for this change
Support new Hologram features
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build hologram

Success on x86_64-linux (full log)
Attempted: hologram
Partial log (click to expand)
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_osx_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_linux_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/docker/server/start.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/docker/server/build-container.sh: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/hologram.sh: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/vendor/github.com/peterbourgon/g2s/fix.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/agent/support/darwin/postinstall.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/agent/support/darwin/preinstall.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/4jln98aqiglx6p5975jd35kyfpzi70s4-hologram-20180319-a7bab58...
/nix/store/q3srvdn1sc1j29qlncp5brg3w3a31xdc-hologram-20180319-a7bab58-bin

Success on x86_64-darwin (full log)
Attempted: hologram
Partial log (click to expand)
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/agent/support/darwin/postinstall.sh: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/agent/support/darwin/preinstall.sh: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_all_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/generate_docs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/compile_hologram.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_linux_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_osx_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/start.sh: interpreter directive changed from "/bin/bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/0ij3fw1jvfjdnm42s16gv4svv6klayaa-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/vendor/github.com/peterbourgon/g2s/fix.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/bash"
/nix/store/mxhsvjwc6p0ckhyp714dr9kzcdqagmkv-hologram-20180319-a7bab58-bin

Success on aarch64-linux (full log)
Attempted: hologram
Partial log (click to expand)
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/build_osx_pkgs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/compile_hologram.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/generate_docs.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/buildscripts/start.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/docker/server/build-container.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/docker/server/start.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/hologram.sh: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58/share/go/src/github.com/AdRoll/hologram/vendor/github.com/peterbourgon/g2s/fix.bash: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/phbhm4w5h7lgdfkqv254ndv6vvin9fdv-hologram-20180319-a7bab58...
/nix/store/jw8hva5nwbak3j602h0kp9klpjzr6703-hologram-20180319-a7bab58-bin

Have now tested the build and service on NixOS and validated it works as expected.

merged in fe2e4d6fb952fabd69d9636ee5e6b8464923f4b4
I also split one commit into two, while removing the hash prefix from the version number.


Docker Version

Hello:
We are trying to using SVclone do some analyses. thanks for developing this software, it's very useful. Do you have any docker version? We have some issue to install it. it's have the following error, do you have any idea? Thanks.
zhangt8@cn3241:/data/zhangt8/Ref/SVclone/SVclone$ SVclone.py -h
Traceback (most recent call last):
File "/usr/local/apps/svclone/0.2.2-13-ge402c3f/SVclone.py", line 7, in
from SVclone import run_filter
File "/usr/local/apps/svclone/0.2.2-13-ge402c3f/SVclone/run_filter.py", line 15, in
from . import run_clus
File "/usr/local/apps/svclone/0.2.2-13-ge402c3f/SVclone/run_clus.py", line 25, in
from . import cluster
File "/usr/local/apps/svclone/0.2.2-13-ge402c3f/SVclone/cluster.py", line 8, in
from sklearn.cluster import KMeans
File "/home/zhangt8/.local/lib/python2.7/site-packages/sklearn/cluster/init.py", line 6, in
from .spectral import spectral_clustering, SpectralClustering
File "/home/zhangt8/.local/lib/python2.7/site-packages/sklearn/cluster/spectral.py", line 17, in
from ..manifold import spectral_embedding
File "/home/zhangt8/.local/lib/python2.7/site-packages/sklearn/manifold/init.py", line 8, in
from .spectral_embedding_ import SpectralEmbedding, spectral_embedding
File "/home/zhangt8/.local/lib/python2.7/site-packages/sklearn/manifold/spectral_embedding_.py", line 12, in
from scipy.sparse.linalg.eigen.lobpcg.lobpcg import symeig
ImportError: cannot import name symeig
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

Thank you for reporting this and sorry about the late reply. The clustering code has changed significantly and no longer requires scikitlearn, so the bug you reported should no longer occur. We currently do not have a docker version, but will consider one for the future.


Decomposition tests failing on CUDA

https://app.circleci.com/pipelines/github/pytorch/functorch/1323/workflows/e53da1f4-8571-415f-bc08-f7a6e3dbd2f2/jobs/7934
test_decomposition_log_softmax_cuda_bfloat16
test_decomposition_nn_functional_softmin_cuda_bfloat16
Going to skip for now to get CI green.
@Chillee do we need to adjust the tolerance?

Sigh, maybe.
Not sure if there's a better way to test tolerance on these ops...

Fixed already


Unknown FUSE opcode (39)

ioctl(TCGETS) on a file opened from a filesystem implemented with fuse-rc causes filesystem to be unmounted:
[2019-12-03T13:26:05Z ERROR fuse::request] Unknown FUSE opcode (39)
[2019-12-03T13:26:05Z INFO  fuse::session] Unmounted /tmp/m

Such ioctl is issued e.g. by git gui on file .git/HEAD for some reason.
Using Linux kernel version 4.19.85.

I also got this error when doing dd if=<file_in_fuse_mount> skip=<some_offset> of=/dev/null.

After checking the source code, that opcode is behind a feature flag:
https://github.com/zargony/fuse-rs/blob/42e29d964e2b24e32e21b179b77e4d0d0a0857ac/fuse-abi/src/lib.rs#L275-L276

Interesting. The kernel driver shouldn't send requests with this opcode at all since we're requesting ABI 7.8 in the FUSE_INIT reply.

I am running Fedora 31 with Linux 5.3.12-300.fc31.x86_64 on the computer with my FUSE server program. According to the upstream Linux kernel source, there is no check against the server's ABI version when sending the IOCTL request [0].
[0] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/fs/fuse/file.c?h=v5.3.12#n2665

Can it just safely ignore all unknown opcodes with only a warning instead of error?

i'm also seeing this issue trying to open files with audacity. it's particularly frustrating that the filesystem immediately unmounts and i can't do anything about it, fuse-rs should handle this more gracefully.

This looks like it might be easier to implement on the modernize branch. I got around this issue by defining the rest of the opcodes and basic parsing for them, but returns ENOSYS on opcodes that are not implemented.

Hi all,
Until it's incorporated in an actually decent fashion, you might use my quick'n dirty fork that I patched for this problem. Basically, it just replies a simple ENOSYS to any unknown request instead of Err-ing.


skate: 0.2.0 -> 0.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/charmbracelet/skate/releases.
meta.description for skate is: "A personal multi-machine syncable key value store"
meta.homepage for skate is: "https://github.com/charmbracelet/skate"
meta.changelog for skate is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.1 with grep in /nix/store/4adjwi8cambd8l79q63bizp64vz1rrm9-skate-0.2.1
found 0.2.1 in filename of file in /nix/store/4adjwi8cambd8l79q63bizp64vz1rrm9-skate-0.2.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
skate

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4adjwi8cambd8l79q63bizp64vz1rrm9-skate-0.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A skate https://github.com/r-ryantm/nixpkgs/archive/20e1a64bb80cdb3dfc0f7db539ec3a2f0dede3b2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4adjwi8cambd8l79q63bizp64vz1rrm9-skate-0.2.1
ls -la /nix/store/4adjwi8cambd8l79q63bizp64vz1rrm9-skate-0.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

skate

Maintainer pings
cc @penguwin for testing.

LGTM

Result of nixpkgs-review pr 186012 run on x86_64-linux 1

1 package built:

skate


bug: running --version reports fixed semver (0.1.0) regardless of debug or release target

the expanded output after 0.1.0 is added for clarity
$ forge --version
foundry-cli 0.1.0

$ ./target/debug/forge --version
forge 0.1.0 (8c0fac7 2022-01-24T20:14:32.529120+00:00)

$ ./target/release/forge --version
forge 0.1.0 (8c0fac7 2022-01-24T20:31:45.164274+00:00)

creating a debug version vs release should at least be reported something like 0.1.0-SNAPSHOT or 0.1.0-DEBUG imho

I think we don't really need to differentiate between debug / release in the --version as there's no diff between them in features

there actually is

The output for version should be dependent upon input, no?


Duplicate: variant_id appears twice in purchase_item entity definition

https://github.com/exponea/bloomreach-magento2-integration/blob/e4cf0f2f7b19c8c487379288a189eaea2ff100e1/etc/bloomreach_entity_mapping.xml#L318-L320

Included in 1.1.1 version
@pip77, thank you for reporting this one


A drawing app

Using this app,users can be able to draw using different geometrical shapes,also can save their work to their local system.

Assign this to me

Thank you so much sir/ma'am.
On Thu, 26 Jan 2023 at 22:06, Vanshita Mathur @.***>
wrote:

Assigned #106
https://github.com/TusharKesarwani/Front-End-Projects/issues/106 to
@tejasri415 https://github.com/tejasri415.
—
Reply to this email directly, view it on GitHub
https://github.com/TusharKesarwani/Front-End-Projects/issues/106#event-8365826622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOGI76EPQOJDLOQXDMQ4ZLWUKRZLANCNFSM6AAAAAATT3KMRM
.
You are receiving this because you were assigned.Message ID:
<TusharKesarwani/Front-End-Projects/issue/106/issue_event/8365826622@
github.com>

Please review my PR.


BibRank: possibility to disable citation losses check

BibRank's citation indexer currently skips updating records for which the number of citations drops under a certain threshold.
It should be possible though, to disable this check, e.g. with a CLI flag such as --disable-citation-losses-check so that it's again possible to update those records for which a human has well verified that the citation drop has an justifiable explanation.

This is actually implemented in INSPIRE fork and can be integrated.

@kaplun Thanks.  Can you please prepare a PR, considering this is labelled as "critical"? Or downsize its importance?

That was critical for INSPIRE, but is minor now since the code was already implementing and is related to processes that are completely INSPIRE specific.

Closing as per missing PR.


not working

Win - short text "Traceback ( most recent ................"
What to do to fix this problem ?

for windows please install python and execute main.py

Can you explain step by step? Because I have been trying to open the file inn python and it has been closing very quickly. Do i need to type something in the python command?

Same problem as me. Very short text begining with "Traceback............" appearing and then the window closes instant

I got the termux version to work on my android but it doesn't really do much .. that's why I want to do this version with python to see if there can more done.. it just won't open to even let me type my password and username in.

edit config.py username and password, you may want to join discord  for more support and news.

I already edited config.py
I inserted my username and my password between the both "...." and "....."
Still the same problem of very fast closing the main.py
My Username contains a _ . Could that be a problem ?

please look here
https://www.howtogeek.com/197947/how-to-install-python-on-windows/

I did this

even tried with v3 of Phyton

please connect discord i look with you

https://discord.gg/uGVkY6 link

in about 11h I'll be @home. then I connect with you on discord. okay ?

ok where your live ? i live in france it's 12:00PM for me

Same for me, but I am from Germany

ok no problem :)

Thank you for personal look at me beeing to silly to run it in cmd. MY FAULT !
Thank you so much


Sometimes it breaks? Continuous mode doesn't work?

Hello,
I need my assistant to constantly listen for mic input. But sometimes it just stop listenning (when looking at debug, it doesn't print anything). If I understood well, continuous mode is suppose to restart the "object" right?
How can I make sure it doesn't crash?
// Create a variable that stores your instance
    this.artyom = new Artyom();
    // Start the commands !
    this.artyom.initialize({
      lang: 'fr-FR',
      continuous: true, // Listen forever
      soundex: true, // Use the soundex algorithm to increase accuracy
      listen: true,
      debug: true,
      name: 'Watson',
    }).then(() => {
      console.log('Artyom has been succesfully initialized');
    }).catch((err) => {
      console.error(`Artyom couldn't be initialized: , ${err}`);
    });

    this.artyom.on(['*'], true).then((_, wildcard) => {
      this.listenForCommand(wildcard);
    });

    this.artyom.when('SPEECH_SYNTHESIS_START', () => {
      if (this.artyom.isRecognizing()) {
        this.artyom.dontObey();
      }
    });

    this.artyom.when('SPEECH_SYNTHESIS_END', () => {
      if (!this.artyom.isRecognizing() || !this.artyom.isSpeaking()) {
        this.artyom.obey();
      }
    });
listenForCommand(wildcard) {
    this.bip.play();
    this.artyom.say(wildcard);
  }

I'm experiencing the same thing and have not found a way to reproduce it reliably or debug it at all.. if you find out what's happening or have any insight at all.. such as a way to replicate please reply back because I really need to find a way to fix this too.
I wonder if a timeout that reinitializes it every minute would be a workaround

I found out how to "reproduce" this problem.
It's basically because of the surrounding noise. When I use a good mic it works undefinetly as long as I speak clearly. But whenever I speak non words such as 'Aaaaaaaaaa' and noises like these. it crashes.

any progress on that? i experience this also just with podcasts in the background or people talking. after some time it restarts and works as expected again but does not print out anything.
i simply can not nail the problem down...


Tailwind config file for the users

As a PO, I would like to expose Tailwind config file tailwind.js.config for the users to let them use their own global (whole app) styling (fonts and colors) without any CSS framework
Blocked by "Tailwind compilation"
Expose the file
Make sure the configuration file is valid

We have to have research here for the right way @leandrocp
FYI @adam-phillips


GEODE-7051: Upgrade to log4j 2.12.0

Upgrade to log4j 2.12.0 and mark log4j-core dependency as optional in geode-core.

UnitTestOpenJDK11 failed due to PowerMock which has nothing to do with Log4j. There are no tests involving Log4j that use PowerMock.

@rhoughton-pivot I can pair with you to change the version strings. Let me know when you're available.

Note: @rhoughton-pivot has given me the go-ahead to commit this PR as is.

The UpgradeTestOpenJDK11 failure is a hang in WANRollingUpgradeMultipleReceiversDefinedInClusterConfiguration which Bruce reported on this morning.


🐛 Bug Report: technically github users can be null

📜 Description
Just had a quite nasty bug in our installation, as it turns out a user can actually be null when returned from a getPullRequest call. That is if the user has chosen to delete their account.
👍 Expected behavior
A deleted user is handled as author of a pr.
👎 Actual Behavior with Screenshots
A crash on getPullRequestsByTeam, used in: https://github.com/backstage/backstage/blob/master/plugins/github-pull-requests-board/src/components/EntityTeamPullRequestsCard/EntityTeamPullRequestsCard.tsx
error was l is null, however that is minified code. The actual error was just that content was null.
👟 Reproduction steps

Create github account
Add github account to a team in an organization
Open pr in an team
Go to backstage /pull-requests with a <EntityTeamPullRequestsCard/> component
It should crash

📃 Provide the context for the Bug.
TypeError: l is null
    ce useUserRepositories-ef5b4606.esm.js:259
    React 7
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    D useUserRepositories-ef5b4606.esm.js:467
    ve useUserRepositories-ef5b4606.esm.js:470
    nf React
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
    k scheduler.production.min.js:16
    onmessage scheduler.production.min.js:12
    46475 scheduler.production.min.js:12
    Webpack 16
react-dom.production.min.js:216:199

minified however, here is the snippet:
const cardTitle = isDraft ? `\u{1F527} DRAFT - ${title}` : title;
  return /* @__PURE__ */ React.createElement(Card, {
    title: cardTitle,
    createdAt,
    updatedAt,
    authorName: author.login, // file and line: useUserRepositories-ef5b4606.esm.js:259
    authorAvatar: author.avatarUrl,
    repositoryName,
    prUrl: url
  }

🖥 Your Environment
OS:   Darwin 22.2.0 - darwin/arm64
node: v16.19.0
yarn: 1.22.17
cli:  0.19.0 (installed)
backstage:  1.6.0

Dependencies:
  @backstage/app-defaults                               1.0.6
  @backstage/backend-app-api                            0.2.1
  @backstage/backend-common                             0.15.2
  @backstage/backend-plugin-api                         0.1.2
  @backstage/backend-tasks                              0.3.6
  @backstage/backend-test-utils                         0.1.28
  @backstage/catalog-client                             1.1.1
  @backstage/catalog-model                              1.1.1, 1.1.2
  @backstage/cli-common                                 0.1.10
  @backstage/cli                                        0.19.0
  @backstage/config-loader                              1.1.5
  @backstage/config                                     1.0.3
  @backstage/core-app-api                               1.1.0
  @backstage/core-components                            0.11.1
  @backstage/core-plugin-api                            1.0.6, 1.0.7
  @backstage/dev-utils                                  1.0.6
  @backstage/errors                                     1.1.1, 1.1.2
  @backstage/integration-react                          1.1.4
  @backstage/integration                                1.3.2
  @backstage/plugin-analytics-module-ga                 0.1.20
  @backstage/plugin-api-docs                            0.8.9
  @backstage/plugin-app-backend                         0.3.36
  @backstage/plugin-auth-backend                        0.16.0
  @backstage/plugin-auth-node                           0.2.5
  @backstage/plugin-catalog-backend-module-github       0.1.7
  @backstage/plugin-catalog-backend                     1.4.0
  @backstage/plugin-catalog-common                      1.0.7
  @backstage/plugin-catalog-graph                       0.2.21
  @backstage/plugin-catalog-node                        1.1.0
  @backstage/plugin-catalog-react                       1.1.4, 1.2.0
  @backstage/plugin-catalog                             1.5.1
  @backstage/plugin-github-pull-requests-board          0.1.3
  @backstage/plugin-home                                0.4.25
  @backstage/plugin-jenkins-backend                     0.1.26
  @backstage/plugin-jenkins-common                      0.1.8
  @backstage/plugin-jenkins                             0.7.8
  @backstage/plugin-org                                 0.5.9
  @backstage/plugin-permission-common                   0.6.4, 0.7.0
  @backstage/plugin-permission-node                     0.6.5
  @backstage/plugin-permission-react                    0.4.6
  @backstage/plugin-proxy-backend                       0.2.30
  @backstage/plugin-scaffolder-backend                  1.6.0
  @backstage/plugin-scaffolder-common                   1.2.0
  @backstage/plugin-scaffolder                          1.6.0
  @backstage/plugin-search-backend-node                 1.0.2
  @backstage/plugin-search-backend                      1.0.2
  @backstage/plugin-search-common                       1.1.0
  @backstage/plugin-search-react                        1.1.0
  @backstage/plugin-search                              1.0.2
  @backstage/plugin-stack-overflow                      0.1.5
  @backstage/plugin-tech-insights-backend-module-jsonfc 0.1.21
  @backstage/plugin-tech-insights-backend               0.5.3
  @backstage/plugin-tech-insights-common                0.2.7
  @backstage/plugin-tech-insights-node                  0.3.5
  @backstage/plugin-tech-insights                       0.3.0
  @backstage/plugin-techdocs-backend                    1.3.0
  @backstage/plugin-techdocs-module-addons-contrib      1.0.4
  @backstage/plugin-techdocs-node                       1.4.0
  @backstage/plugin-techdocs-react                      1.0.4
  @backstage/plugin-techdocs                            1.3.2
  @backstage/plugin-todo-backend                        0.1.33
  @backstage/plugin-todo                                0.2.11
  @backstage/plugin-user-settings                       0.4.8
  @backstage/release-manifests                          0.0.6
  @backstage/test-utils                                 1.2.0
  @backstage/theme                                      0.2.16
  @backstage/types                                      1.0.0
  @backstage/version-bridge                             1.0.1
Done in 0.54s.

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

It is a little bit of a bother to reproduce, I do however, have quite an easy setup to replicate it in. It is private to our org sadly.

Oh dear 😅
Well I would think the troublesome query is over here. Just need to make sure we check whether the user is present or not.

Hello @kjuulh ! I would like to contribute. I have never contributed before and have experience with javascript. Could you help me out ?

@Mayank1728 I'd love to. That said I haven't contributed much to backstage and don't even know if they've got a mentorship program.
As long as @Rugvip agrees then lets proceed :)
I had totally forgotten I'd posted the issue

@Mayank1728 I assigned you now at least!

Sure. Thank you! How exactly should I proceed sir?

Hi @Mayank1728!
I'd start by reproducing this locally in this repository(you can start the example app using yarn dev) based on the reproduction steps above, once you can reproduce it and implement a fix you could submit a PR. Reading contributing.md is also a great start for how to contribute to Backstage.


Add Ilokano language

@mrtavor please add the Ilokano language as soon as the website is proofread on Crowdin.
It's Ilokano on Crowdin, but we call it as listed on the jw.org – Iloko

Done and it will be very soon on Organized About


Safari UI: dark header

Reviewer:
@jdorweiler
**CC: @andrey-p
Description:
This ports the UI changes to the search box in the header from the develop branch to the Safari branch.
Original PR to develop:
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/76
Steps to test this PR:

build this branch for safari
confirm header is dark, everything works as usual

Automated tests:

[ ] Unit tests
[ ] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

👍


Dnaapler custom DB

Hi @gbouras13, is it possible to specify a custom dnaapler DB in hybracter? Thanks!

Hi @simone-pignotti ,
You should be able to do this now (dev branch) with --dnaapler_custom_db.
Let me know what you think.
George

Fixed by v0.2.0


add a link of velero plugin for alibabacloud to support-matrix docs

A velero plugin for AlibabaCloud has been published , see https://github.com/AliyunContainerService/velero-plugin .
A new link of velero plugin for alibabacloud should be added to support-matrix docs
Fixes: #1542

@skriss Sure,  thanks a lot

Once you update the v1.0.0 file as well this is ready to merge.

Once you update the v1.0.0 file as well this is ready to merge.

updated it.


Limit data sent on creates/updates

Adding the ability to specify read only attributes for a class. It's a class attribute so it should be inheritable if for some reason you want to set it on a base class.
class MyResource < JsonApiClient::Resource
  self.read_only_attributes += ["created_at"]
end

This fixes #79, #57, #44

@chingor13 , how to use different  read_only_attributes for persisted and non-persisted objects ?

I don't want to bake in the idea of create vs. update attributes - instead I'll add a hook that you can use to customize what attributes are returned for serialization. It will default to all attributes except the read_only_attributes
See #85