cloud.get_file doesn't return a full idelib.dataset

This function doesn't fully parse the file and internally should use the ide.get_doc function.
Here is the code we need to resolve: https://github.com/MideTechnology/endaq-python/blob/8b971e95e10bf1248618c7c7ee53b3e562b3502d/endaq/cloud/core.py#L102

Now that we are in a shared library, this should be pretty easy to resolve
  #Get the URL via the API to Download File
  download_url = requests.get(cloud_access.domain + "/api/v1/files/download/" + files.values[0],
                            headers={"x-api-key": cloud_access.api_key}).json()['url']

  #Download File into a idelib.dataset Object
  doc = endaq.ide.get_doc(download_url)

To elaborate: The function currently instantiates a idelib.dataset.Dataset object directly. This creates the object but does not load the data. Addressed in PR #163, but needs testing.


Typescript typings

Hello, could you add typings for typescript?

I'm not using typescript, but feel free to send a pull request


Create Employee Table

id
first name
last name
role - ref Role db
manager-id

need to add Manager and Self-join


Add more detail to job list and get output

Currently, the output from tower-cli job list and tower-cli job get is too terse and only includes an id.  Perhaps additional attributes could be added, such as name, inventory, launched_by etc...
This issue is about deciding which fields are relevant to surface, and adding them to the tower-cli job [list|get] sub-commands.

The process of coding this is handling job and ad hoc commands at the same time. With latest commit, I have the following being printed:
job

id
job_template
created
status
elapsed

ad hoc command

id
created
status
elapsed
inventory
module_name
limit

With all of this, the ad hoc command output is already a little bit crowded.
Getting the username is not as simple. It looks you would want to drill down into summary_fields --> created_by --> username. This also applies for almost every resource that tower-cli deals with. It would probably go in a fairly top-level class and could be included in the get request for everything. I'm not sure if that will fit in this scope. I'll return to it after looking into the other new issue about stdout, because some of the details of implementation will be similar.


Technical > Create unit tests and update github actions for testing pipeline

Create unit tests for the new pipeline pdf2text cli.
Add github action which can set up a pipeline docker container in which to run the pipeline tests. This will ensure that pdfalto and other runtime dependencies are correctly installed when running the tests.

Tested changes in PR https://github.com/climatepolicyradar/navigator/pull/361 - all works ok (see comments in PR)


Replace abandoned rack-livereload gem

Rack-livereload still works but not very well: it outputs HTML4 and is locked to an older rack version and does not seem to get further updates. It can be replaced by a simple piece of rack middleware.
I've attached a PR here: https://github.com/denisdefreyne/adsf/pull/38
It also fixes issue https://github.com/denisdefreyne/adsf/issues/37 where it was sending a path instead of a URL.

See #38 — This is now merged (see e2b15cd006b18d2cdeef682867dfc984f692bbf3). I’ll do a release soon. Thank you!

This is fixed in the adsf 1.5.1 release.


v0.4.0  unknow job

kubean-cluster1-job-v5ggg    has little log and exit with 255
root@router:~# kubectl get pod -A -o wide
NAMESPACE            NAME                                         READY   STATUS    RESTARTS      AGE   IP           NODE                 NOMINATED NODE   READINESS GATES
kube-system          coredns-565d847f94-m58mr                     1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          coredns-565d847f94-wrhsn                     1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          etcd-kind-control-plane                      1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          kindnet-mrv8r                                1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          kube-apiserver-kind-control-plane            1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          kube-controller-manager-kind-control-plane   1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          kube-proxy-5ndp7                             1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kube-system          kube-scheduler-kind-control-plane            1/1     Running   1 (22m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kubean-system        kubean-5d7d8d79bc-cff2r                      1/1     Running   2 (21m ago)   22m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
kubean-system        kubean-cluster1-job-v5ggg                    0/1     Unknown   0             22m   <none>       kind-control-plane   <none>           <none>
local-path-storage   local-path-provisioner-684f458cdd-mm4dc      1/1     Running   2 (21m ago)   24m   <IP_ADDRESS>   kind-control-plane   <none>           <none>
root@router:~# echo 12 | grep -E "1|2"
12
root@router:~# echo 12 | grep -E "111|222"
root@router:~#
root@router:~# echo 222 | grep -E "111|222"
222
root@router:~#
root@router:~# kubectl logs -n kubean-system        kubean-cluster1-job-v5ggg
[WARNING]: Skipping callback plugin 'ara_default', unable to load
[WARNING]: Found variable using reserved name: no_log

PLAY [k8s_cluster] *************************************************************
Tuesday 06 December 2022  12:24:24 +0000 (0:00:00.030)       0:00:00.030 ******
root@router:~#
root@router:~#
root@router:~#
root@router:~# ping ^C
root@router:~# kubectl ^C
root@router:~# kubectl describe pod -n kubean-system        kubean-cluster1-job-v5ggg
Name:             kubean-cluster1-job-v5ggg
Namespace:        kubean-system
Priority:         0
Service Account:  kubean
Node:             kind-control-plane/<IP_ADDRESS>
Start Time:       Tue, 06 Dec 2022 20:24:22 +0800
Labels:           controller-uid=51a87406-51d2-4f1c-b8cb-d3c8e5010fd5
                  job-name=kubean-cluster1-job
Annotations:      <none>
Status:           Failed
IP:
IPs:              <none>
Controlled By:    Job/kubean-cluster1-job
Containers:
  kubespray:
    Container ID:  containerd://194171f28599fca2125868386ec8097eaa6ce5e105d9fd146f226862266878c7
    Image:         ghcr.m.daocloud.io/kubean-io/spray-job:v0.4.0
    Image ID:      docker.io/library/import-2022-12-06@sha256:5724bf8114c77215c2e4931d5041ba4ec1e815e4977552cd5a1d11ac7a226d03
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/entrypoint.sh
    State:          Terminated
      Reason:       Unknown
      Exit Code:    255
      Started:      Tue, 06 Dec 2022 20:24:23 +0800
      Finished:     Tue, 06 Dec 2022 20:24:39 +0800
    Ready:          False
    Restart Count:  0
    Environment:
      CLUSTER_NAME:  cluster1
    Mounts:
      /auth/ssh-privatekey from ssh-auth (ro,path="ssh-privatekey")
      /bin/entrypoint.sh from entrypoint (ro,path="entrypoint.sh")
      /conf/group_vars.yml from vars-conf (rw,path="group_vars.yml")
      /conf/hosts.yml from hosts-conf (rw,path="hosts.yml")
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-4l578 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  entrypoint:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      cluster1-entrypoint
    Optional:  false
  hosts-conf:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      cluster1-hosts-conf-1670329460653
    Optional:  false
  vars-conf:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      cluster1-vars-conf-1670329460714
    Optional:  false
  ssh-auth:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  sample-ssh-auth-1670329461239
    Optional:    false
  kube-api-access-4l578:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  24m   default-scheduler  Successfully assigned kubean-system/kubean-cluster1-job-v5ggg to kind-control-plane
  Normal  Pulled     24m   kubelet            Container image "ghcr.m.daocloud.io/kubean-io/spray-job:v0.4.0" already present on machine
  Normal  Created    24m   kubelet            Created container kubespray
  Normal  Started    24m   kubelet            Started container kubespray
root@router:~#
root@router:~#
root@router:~#
root@router:~#
root@router:~# kubectl logs -n kubean-system        kubean-5d7d8d79bc-cff2r
W1206 12:25:48.520643       1 app.go:56] Start KuBean Controller
I1206 12:25:48.725587       1 leaderelection.go:248] attempting to acquire leader lease default/kubean-controller...
I1206 12:26:05.439694       1 leaderelection.go:258] successfully acquired lease default/kubean-controller
W1206 12:26:05.471382       1 controller.go:35] Cluster Controller Start
W1206 12:26:05.472139       1 controller.go:47] ClusterOperation Controller Start
W1206 12:26:05.473045       1 controller.go:32] KubeanOfflineVersion Controller Start
W1206 12:26:05.473414       1 controller.go:39] InfoManifest Controller Start
W1206 12:26:05.570961       1 controller.go:96] update cluster cluster1 status.condition
W1206 12:26:05.590385       1 controller.go:194] InfoManifest Controller receive event kubeaninfomanifest-v0-4-0
W1206 12:26:05.710524       1 controller.go:151] ignoring kubean localService ConfigMap not found data
W1206 12:26:05.719181       1 controller.go:96] update cluster cluster1 status.condition
W1206 12:26:35.739736       1 controller.go:194] InfoManifest Controller receive event kubeaninfomanifest-v0-4-0
W1206 12:26:35.794279       1 controller.go:151] ignoring kubean localService ConfigMap not found data
W1206 12:27:05.806876       1 controller.go:194] InfoManifest Controller receive event kubeaninfomanifest-v0-4-0
W1206 12:27:05.820658       1 controller.go:151] ignoring kubean localService ConfigMap not found data
W1206 12:27:35.824114       1 controller.go:194] InfoManifest Controller receive event kubeaninfomanifest-v0-4-0

/kind bug

can not re-play the bug.


"Cungrea", "Cepești", "Ibănești", "Miești", "Oteștii de Jos", "Oteștii de Sus", "Spătaru" are listed in the drop-down menu

Description:
When user writes "Cungrea", "Cepești", "Ibănești", "Miești", "Oteștii de Jos", "Oteștii de Sus" and "Spătaru" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Cungrea"
Expected results
The location appears in the drop-down menu as "Sat Cungrea, OLT (Cungrea)"

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Cepești"
Expected results
The location appears in the drop-down menu as "Sat Cepești, OLT (Cungrea)"

Step 4
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Ibănești"
Expected results
The location appears in the drop-down menu as "Sat Ibănești, OLT (Cungrea)"

Step 6
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Miești"
Expected results
The location appears in the drop-down menu as "Sat Miești, OLT (Cungrea)"

Step 8
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Oteștii de Jos"
Expected results
The location appears in the drop-down menu as "Sat Oteștii de Jos, OLT (Cungrea)"

Step 10
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 11
Write in the search bar "Oteștii de Sus"
Expected results
The location appears in the drop-down menu as "Sat Oteștii de Sus, OLT (Cungrea)"

Step 12
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 13
Write in the search bar "Spătaru"
Expected results
The location appears in the drop-down menu as "Sat Spătaru, OLT (Cungrea)"


dng: Work around non-backwards compatible change to libtiff

Versions of libtiff from 4.2.0 onwards have made a non-backwards
compatible API change. Unfortunately code that was correct previously
still compiles but crashes the application at runtime.
Signed-off-by: David Plowman<EMAIL_ADDRESS>

@naushir @XECDesign
I was prompted to investigate by an issue that has been reported (https://github.com/raspberrypi/libcamera-apps/issues/80) and indeed there's a problem. Hopefully this should fix it - Serge, can you let me know when we have another set of new candidate images to test? Thanks!

LGTM

libcamera-apps package has been updated
You should be albe to use the old image and upgrade normally (sudo apt update && sudo apt full-upgrade).


fix (zh_cn) benchmark-tool.md - spelling mistakes

What is the purpose of the change
fix (zh_cn) benchmark-tool.md - spelling mistakes
Brief changelog

docs/zh-cn/user/benchmark-tool.md

Thanks for your contribution


Add a context to "Execute"?

like:
Execute(ctx context.Context)

I want to graceful quit the cmd manually

@fly-studio This should be in the latest 1.4.0 release. Let me know if you have any issues


issues in advanced search under purchase module

[x] expenses-some status are missing

[x] purchase order-add status cancelled and remove sent status
[x]  purchase order-vendor name not working
[x] purchase order--from date&to date field must be both picked to function the search
[x] purchase order-both total range min&max fields must be picked to function the search
[x] purchase order-both expected delivery from date& to date fields must be picked to function the search
[x] purchase order-both creation from date&to date fields must be picked to function the search
[x] bills - add status open
[x] bills-from date&to date field must be both picked to function the search
[x] bills-both total range min&max fields must be picked to function the search
[x] bills-both expected delivery from date& to date fields must be picked to function the search
[x] bills-both creation from date&to date fields must be picked to function the search
[x] payments made--from date&to date field must be both picked to function the search
[x] payments made-both total range min&max fields must be picked to function the search
[x] recurring bills-from start date&to date field must be both picked to function the search
[x] recurring bills-from end date&to date field must be both picked to function the search
[x] recurring bills-tax field not functioning
[x] recurring bills-accounts not working
[x] vendor credits-account
[x] vendor credit-from date&to date field must be both picked to function the search
[x] vendor credits-both total range min&max fields must be picked to function the search

issue fixed !


[fix][broker] Close ledger after schema data write.

Motivation
#17630
Modifications
Close ledger after addEntry.
Verifying this change
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] doc-not-needed

Why need to close the ledger?


added right settings xml for upstream projects

added right settinsg.xml also for upstream repos

@mbiarnes Is this a solution to our ill fated https://github.com/kiegroup/kie-wb-common/pull/2923?

@manstis hopefully


Fix hardcoded slash in line 72 of spawning.py

There may be other hard-coded slashes too. Be sure to check!

Solved now :).


log_params: fix invalid type msg

Before this PR, when logging an invalid parameter type, you would always get a generic error message that doesn't reflect the actual type passed:
>>> Live().log_param("p", pd.DataFrame())
...
dvclive.error.InvalidParameterTypeError: Parameter type <class 'tuple'> is not supported.

With this PR, you get info about the actual invalid type passed:
>>> Live().log_param("p", pd.DataFrame())
...
dvclive.error.InvalidParameterTypeError: cannot represent an object: Empty DataFrame

This happens because log_params dumps a dict to yaml and the error comes from failing to write to yaml. Unfortunately, I don't see an easy way to parse the error output to get more control over the message.

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

Comparison is base (f39c7e2) 88.79% compared to head (06feff9) 88.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #745   +/-   ##
=======================================
  Coverage   88.79%   88.79%
=======================================
  Files          53       53
  Lines        3357     3357
  Branches      294      294
=======================================
  Hits         2981     2981
  Misses        337      337
  Partials       39       39

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


ERROR: Could not find a version that satisfies the requirement pysfm (from versions: none)

ERROR: No matching distribution found for pysfm
@hyeonchang
Hi,
Pysfm won't install. Please assist
I have SFM Slim OEM module developing a linux python app

Got it sorted.
For anyone experiencing the same install python2.7 and pip for the same and pysfm will install successfully.


Compress condition as logical expression

Hi,
I wonder if it's possible to shrink an expression like
if (!a)
   c = b;
else
   c =a;

to
c = a || b;

instead of
c = a ? a : b;

You do such tricks already in a logical manner to kick out if-statements, but it would make sense within expressions as well. Or do I miss something, that it should be avoided?
Thanks!

This is a matter of optimizing a ? a : b to a || b.

Might be a good first PR for someone, since it would be a "peephole" optimization?

This was implemented in https://github.com/google/closure-compiler/pull/2354.


Use StateNotifier or StateProvider to store app's settings values

I'm currently using StateNotifier to store the app's setting and then update the UI accordingly.
The model:
class Settings {
  final bool showLastBookmark;
  final bool isDarkMode;

  Settings({
    this.showLastBookmark = true,
    this.isDarkMode = false,
  });

  Settings copy({
    bool showLastBookmark,
    bool isDarkMode,
  }) =>
      Settings(
        showLastBookmark: showLastBookmark ?? this.showLastBookmark,
        isDarkMode: isDarkMode ?? this.isDarkMode,
      );
}

And then:
final settingsProvider =
    StateNotifierProvider<SettingsNotifier>((ref) => SettingsNotifier());

class SettingsNotifier extends StateNotifier<Settings> {
  SettingsNotifier() : super(Settings());

  void updateShowLastBookmark(bool showLastBookmark) {
    final newState = state.copy(showLastBookmark: showLastBookmark);
    state = newState;
  }

  void updateIsDarkMode(bool isDarkMode) {
    final newState = state.copy(isDarkMode: isDarkMode);
    state = newState;
  }
}

This works fine without any problems, and it's convenient because I can use the methods to update the state. However I'm curious, am I'm doing it the right way? Or should I just use StateProvider instead? If I have more settings, say 10 parameters, is it fine to have lots of StateProviders?
Thanks

I would use also StateNotifier in your situation becouse StateNotifier is safer and better for bigger values. StateProvider I use it for single values.

Thank you @iamarnas
It turns out that using StateNotifier like I do above, each time I update a parameter, all other widgets that are watching other parameters are being updated as well. I guess it's because of the copy method where all the parameters are being copied to a new state.
Is there any way to just update 1 parameter in the state, and not copy the whole thing to a new state?
Thanks

To avoid rebuilding when unrelated parts of your state are updated, don't change how you're writing the state, but rather how you're reading it. You could create extra providers that only expose a certain value of your state, for example. Example from docs

@AlexHartford you're right, I didn't realize that. Thank you!


#define ⇒ enum?

Would you like to replace more defines for constant values by enumerations to stress their relationships?

P_DEV_…
P_PROP_…

That's a really important thing to do. We have to avoid defines as much as possible.


send stop before compiling

is it possible to send a stop command before execute a compile? I assume we don't have access to the radio jacdac stack?

Update deployEmpty to send a motor stop command?

makes sense. will do

@tballmsft in pratice this is quite valuable; otherwise you get plenty of runaway robots.

did you add this already? It does not seem to work for me


Prevent dangerous settings

Background
It would be a data disaster to send SimpleReport data to HHSProtect and other Federal destinations. It would at least be a SimpleReport TOS violation. It would also damage our reputation. However, given how easy it is to change our settings, it would be a simple human mistake to remove a jurisdiction filter on the HHSProtect setting and to have this disaster happen.
Feature Requests
Add hard-coded business rules that prevent data disasters.
Acceptance Criteria

The SettingFacade has hard-coded rules that prevent settings that are dangerous.
Code reviews are needed to change the business rules.
Good error messages in the prime cli.

@jimduff-usds I got the idea for this issue looking at the HHSProtect receiver setting in staging. It send all reports to HHSProtect (which would be a data disaster).


Get a ~temp_xxx file during uploading

Hi,
I'm trying to upload a 500MB file to onedriveforbusiness. I found there is a weird temp "~temp_xxx" comes to my space and I could do any operation on it (delete, rename, move...). If I did something to temp file, my upload session will fail.

Is it a ok to show a transfer temp on UI?

Still facing this issue.  I will get 500 {"error":{"code":"generalException","message":"An unspecified error has occurred."}} when I try to re-upload this file.

I am also curious about this. These files seem to be staging files created during upload that are then renamed on completion. If there is an exception on OD4B's side, the files can remain and prevent re-upload attempts.
I would expect OD4B to clean these up after an aborted upload. Barring that, is there a way that we can see them and remove them?

Sorry to hear you guys are running into issues with the upload api. The creation of a temporary stub file is expected. Once the upload completes, these stub files are committed and treated as regular files. Stub files are filtered from the response to /children, as these aren't actual files created by the user. If the target file already exists, users will only be able to create a single upload session at a time. Calling CreateUploadSession multiple times for the same file, will result in an error. The stub file should be marked for deletion 15 min of no activity and should be cleaned up within the next 24 hours (depending on when the cleanup timer job runs). However, if the target file doesn't exist, then the API allows multiple upload sessions to be created, each ends up creating a new unique stub file. Upon commit, the API will do name conflict resolution.

Hi @katahir . My apologies for not seeing this before. Are you saying that if he file has not already been successfully uploaded (so this is a new file rather than an update of an existing file) that this issue should not be hit because multiple sessions and unique stub files will be created for each attempt?

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Any plan to port to Xamarin?

There is already a port but it's outdated.

https://gist.github.com/BrunoVT1992/06b5a9fc75cf1dae407f428addf10e7b
Note, this is a work in progress


Admob and NSInternalInconsistencyException

[READ] Step 1: Are you in the right place?
Issue with error appearing in Firebase/Fabric and seems to be coming from Admob.
[REQUIRED] Step 2: Describe your environment

Xcode version: Xcode 11.3
Firebase SDK version:

AppAuth | 1.2.0 BoringSSL-GRPC | 0.0.3 Firebase | 6.9.0 FirebaseABTesting | 3.1.1 FirebaseAnalytics | 6.1.2 FirebaseAnalyticsInterop | 1.4.0 FirebaseAuth | 6.2.3 FirebaseAuthInterop | 1.0.0 FirebaseCore | 6.3.0 FirebaseCoreDiagnostics | 1.1.0 FirebaseCoreDiagnosticsInterop | 1.0.0 FirebaseDatabase | 6.1.0 FirebaseDynamicLinks | 4.0.5 FirebaseFirestore | 1.5.1 FirebaseFunctions | 2.5.1 FirebaseInAppMessaging | 0.15.4 FirebaseInAppMessagingDisplay | 0.15.4 FirebaseInstanceID | 4.2.5 FirebaseMLCommon | 0.18.0 FirebaseMLModelInterpreter | 0.18.0 FirebaseMLNLLanguageID | 0.16.4 FirebaseMLNLSmartReply | 0.16.4 FirebaseMLNLTranslate | 0.16.4 FirebaseMLNaturalLanguage | 0.16.4 FirebaseMLVision | 0.18.0 FirebaseMLVisionAutoML | 0.18.0 FirebaseMLVisionBarcodeModel | 0.18.0 FirebaseMLVisionFaceModel | 0.18.0 FirebaseMLVisionLabelModel | 0.18.0 FirebaseMLVisionObjectDetection | 0.18.0 FirebaseMLVisionTextModel | 0.18.0 FirebaseMessaging | 4.1.5 FirebasePerformance | 3.1.4 FirebaseRemoteConfig | 4.4.1 FirebaseStorage | 3.4.1 GTMAppAuth | 1.0.0 GTMSessionFetcher | 1.2.2 Google-Mobile-Ads-SDK | 7.50.0 GoogleAPIClientForREST | 1.3.10 GoogleAppMeasurement | 6.1.2 GoogleDataTransport | 2.0.0 GoogleDataTransportCCTSupport | 1.1.0 GoogleSignIn | 5.0.0 GoogleToolboxForMac | 2.2.1 GoogleUtilities | 6.3.0 Protobuf | 3.9.2 TensorFlowLiteC | 1.14.0 TensorFlowLiteObjC | 1.14.0 gRPC-C++ | 0.0.9 gRPC-Core | 1.21.0 leveldb-library | 1.22 nanopb | 0.3.901

Firebase Component: Core, Messaging, AdMob, Analytics
Component version: _____

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Firebase/Fabric is reporting this error quite often.
Fatal Exception: NSInternalInconsistencyException
Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.
Relevant Code:
#9. Crashed: WebThread
0  com.exposure.0                 0x104e736d0 CLSProcessRecordAllThreads +<PHONE_NUMBER>
1  com.exposure.0                 0x104e73ab8 CLSProcessRecordAllThreads +<PHONE_NUMBER>
2  com.exposure.0                 0x104e63334 CLSHandler +<PHONE_NUMBER>
3  com.exposure.0                 0x104e71cc8 __CLSExceptionRecord_block_invoke +<PHONE_NUMBER>
4  libdispatch.dylib              0x1b3d05fd8 _dispatch_client_callout + 20
5  (Missing)                      0xe317101b3d12800 (Missing)
6  (Missing)                      0x0 (Missing)
7  com.exposure.0                 0x104e71560 CLSExceptionRecordNSException +<PHONE_NUMBER>
8  com.exposure.0                 0x104e71154 CLSTerminateHandler() +<PHONE_NUMBER>
9  libc++abi.dylib                0x1b3e1f634 std::__terminate(void (*)()) + 20
10 (Missing)                      0x450ff501b3e1f000 (Missing)
11 (Missing)                      0x590d8481b3d79000 (Missing)
12 (Missing)                      0x0 (Missing)
13 (Missing)                      0x15542e01bc19c900 (Missing)
14 (Missing)                      0x715ea201b3d69800 (Missing)
15 (Missing)                      0x0 (Missing)

--

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x1b406096c __exceptionPreprocess
1  libobjc.A.dylib                0x1b3d79028 objc_exception_throw
2  Foundation                     0x1b454c5e0 -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints]
3  Foundation                     0x1b43458c4 -[NSISEngine _optimizeWithoutRebuilding]
4  Foundation                     0x1b43457d8 -[NSISEngine optimize]
5  Foundation                     0x1b4345448 -[NSISEngine performPendingChangeNotifications]
6  UIKitCore                      0x1b860113c -[UIView(CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:]
7  UIKitCore                      0x1b8601b84 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
8  libobjc.A.dylib                0x1b3d74a4c -[NSObject performSelector:withObject:]
9  QuartzCore                     0x1bac17a9c -[CALayer layoutSublayers]
10 QuartzCore                     0x1bac17eec CA::Layer::layout_if_needed(CA::Transaction*)
11 QuartzCore                     0x1bac2a614 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
12 QuartzCore                     0x1bab6f1c4 CA::Context::commit_transaction(CA::Transaction*, double)
13 QuartzCore                     0x1bab99fd0 CA::Transaction::commit()
14 QuartzCore                     0x1bab9aba4 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
15 CoreFoundation                 0x1b3fdb524 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
16 CoreFoundation                 0x1b3fd61c4 __CFRunLoopDoObservers
17 CoreFoundation                 0x1b3fd5f60 CFRunLoopRunSpecific
18 WebCore                        0x1bc19c8f0 RunWebThread(void*)
19 libsystem_pthread.dylib        0x1b3d69840 _pthread_start
20 libsystem_pthread.dylib        0x1b3d719f4 thread_start

#0. com.apple.main-thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x4d301601c31eac00 (Missing)
3  (Missing)                      0x75610201c31d0400 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x455b9681bc199000 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x4c269d81b865cc00 (Missing)
9  (Missing)                      0x0 (Missing)
10 (Missing)                      0x0 (Missing)
11 (Missing)                      0x0 (Missing)
12 (Missing)                      0x0 (Missing)
13 (Missing)                      0x0 (Missing)
14 (Missing)                      0x0 (Missing)
15 (Missing)                      0x0 (Missing)
16 (Missing)                      0x0 (Missing)
17 (Missing)                      0x31e0881b8166920 (Missing)
18 (Missing)                      0x0 (Missing)
19 (Missing)                      0x1517ff01b3fdb700 (Missing)
20 (Missing)                      0x0 (Missing)
21 (Missing)                      0x0 (Missing)
22 (Missing)                      0x4c38bd81be253400 (Missing)
23 (Missing)                      0x2e6beb01b814ea00 (Missing)
24 (Missing)                      0x0 (Missing)
25 libdyld.dylib                  0x1b3e54e18 start + 4

#1. com.google.admob.n.sql-storage
0  libsystem_kernel.dylib         0x1b3e4c464 fsync + 8
1  libsqlite3.dylib               0x1b5cfb7e4 sqlite3_free_table + 63788
2  (Missing)                      0x4e073801b5d05800 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x7420aa81b5cb2000 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x3d780581b5cd0200 (Missing)
8  (Missing)                      0x0 (Missing)
9  CoreFoundation                 0x1b40b0990 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 24
10 (Missing)                      0x0 (Missing)
11 (Missing)                      0x0 (Missing)
12 libdispatch.dylib              0x1b3d04b7c _dispatch_call_block_and_release + 32
13 (Missing)                      0x0 (Missing)
14 (Missing)                      0x0 (Missing)
15 (Missing)                      0x0 (Missing)
16 (Missing)                      0x0 (Missing)
17 (Missing)                      0x2c418081b3d6b600 (Missing)
18 (Missing)                      0x5f596401b3d71800 (Missing)

#2. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356

#3. com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1b3e28c04 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1b3e28020 mach_msg + 76
2  (Missing)                      0x1e12f301b3fdb900 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x4d41b701b431b400 (Missing)
6  (Missing)                      0x3e647001b431b200 (Missing)
7  (Missing)                      0x362caa01b81ea200 (Missing)
8  (Missing)                      0x32771901b431a000 (Missing)
9  (Missing)                      0x0 (Missing)
10 (Missing)                      0x747ac101b3d69800 (Missing)
11 (Missing)                      0x46557101b3d71800 (Missing)

#4. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356
2  (Missing)                      0x3c545b01b3d71a00 (Missing)

#5. com.twitter.crashlytics.ios.MachExceptionServer
0  libsystem_kernel.dylib         0x1b3e28c04 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1b3e28020 mach_msg + 76
2  (Missing)                      0x7251b10104e5e400 (Missing)
3  libsystem_pthread.dylib        0x1b3d69840 _pthread_start + 168
4  (Missing)                      0x0 (Missing)

#6. com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1b3e28c04 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1b3e28020 mach_msg + 76
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x172b3a01b72c8500 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x30411001b3d71a00 (Missing)

#7. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356
2  (Missing)                      0x366c4e01b3d71a00 (Missing)

#8. JavaScriptCore bmalloc scavenger
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x966fa81b3e9fd00 (Missing)
3  (Missing)                      0x1d5dea01c3227200 (Missing)
4  (Missing)                      0x6e677a81c322ac00 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x57357d81c322bc00 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x34097581b3d71a00 (Missing)

#9. Crashed: WebThread
0  com.exposure.0                 0x104e736d0 CLSProcessRecordAllThreads +<PHONE_NUMBER>
1  com.exposure.0                 0x104e73ab8 CLSProcessRecordAllThreads +<PHONE_NUMBER>
2  com.exposure.0                 0x104e63334 CLSHandler +<PHONE_NUMBER>
3  com.exposure.0                 0x104e71cc8 __CLSExceptionRecord_block_invoke +<PHONE_NUMBER>
4  libdispatch.dylib              0x1b3d05fd8 _dispatch_client_callout + 20
5  (Missing)                      0xe317101b3d12800 (Missing)
6  (Missing)                      0x0 (Missing)
7  com.exposure.0                 0x104e71560 CLSExceptionRecordNSException +<PHONE_NUMBER>
8  com.exposure.0                 0x104e71154 CLSTerminateHandler() +<PHONE_NUMBER>
9  libc++abi.dylib                0x1b3e1f634 std::__terminate(void (*)()) + 20
10 (Missing)                      0x450ff501b3e1f000 (Missing)
11 (Missing)                      0x590d8481b3d79000 (Missing)
12 (Missing)                      0x0 (Missing)
13 (Missing)                      0x15542e01bc19c900 (Missing)
14 (Missing)                      0x715ea201b3d69800 (Missing)
15 (Missing)                      0x0 (Missing)

#10. com.apple.CFSocket.private
0  libsystem_kernel.dylib         0x1b3e4b188 __select + 8
1  CoreFoundation                 0x1b3fe97b4 __CFSocketManager + 628
2  (Missing)                      0x174c5d01b3d69800 (Missing)
3  (Missing)                      0x0 (Missing)

#11. WebCore: LocalStorage
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x7d4f6681c31d0400 (Missing)
4  (Missing)                      0x195f5501c03aba00 (Missing)
5  (Missing)                      0x421a9781c03ae800 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x701f8081c31e8800 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x0 (Missing)
10 (Missing)                      0x291efb81b3d71a00 (Missing)

#12. AVAudioSession Notify Thread
0  libsystem_kernel.dylib         0x1b3e28c04 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1b3e28020 mach_msg + 76
2  (Missing)                      0x777ad801b3fdb800 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x307c5901c0f6e000 (Missing)
6  (Missing)                      0x24140601c0fbf200 (Missing)
7  (Missing)                      0x1794381b3d69840 (Missing)
8  (Missing)                      0x0 (Missing)

#13. Heap Helper Thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x40cf401c31eac80 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x503a7081c31a7000 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x7b452981c31ea400 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x0 (Missing)

#14. Heap Helper Thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x3d767301c31d0200 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x3364fa01c31a7400 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x526eab01c31ea400 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x7663f181b3d71800 (Missing)

#15. Heap Helper Thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0xd53fa01c31d0200 (Missing)
4  (Missing)                      0x0 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x7e7c6381c31e8800 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x240d7481b3d71a00 (Missing)

#16. Heap Helper Thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x394b0b01c31d0200 (Missing)
4  (Missing)                      0x6c0dd781c31a7000 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x0 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x0 (Missing)

#17. Heap Helper Thread
0  libsystem_kernel.dylib         0x1b3e4accc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1b3d6d21c _pthread_cond_wait + 676
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x0 (Missing)
4  (Missing)                      0x142d0701c31a7000 (Missing)
5  (Missing)                      0x0 (Missing)
6  (Missing)                      0x865c581c31e8900 (Missing)
7  (Missing)                      0x0 (Missing)
8  (Missing)                      0x0 (Missing)
9  (Missing)                      0x410e7981b3d71800 (Missing)

#18. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356
2  (Missing)                      0x0 (Missing)

#19. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356
2  (Missing)                      0xd1c5401b3d71a00 (Missing)

#20. Thread
0  libsystem_kernel.dylib         0x1b3e4bab4 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1b3d6b71c _pthread_wqthread + 356
2  (Missing)                      0x0 (Missing)

Looks like https://stackoverflow.com/questions/58393257/crashlytics-thread-crashed-only-on-ios13-built-with-xcode11
I recommend you try the answer there.

Thanks but I need this done programmatically. There are over 500 apps with this and they all have their own plist.

Since the discussion is already going in the Google Mobile Ads mailing list at https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/ios/I4EEWrPPbSc, I recommend you continue the conversation in that mailing list.


Reading file from clipboard throws virtualFileReceiveError

When running reader.getFile(Formats.png, ...) on Windows 11, I get this exception:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(super_native_extensions_error, virtual file receive error: item not found, virtualFileReceiveError, null)
This doesn't occur if I set allowVirtualFiles to false in the reader.getFile call.
Code snippet
final reader = await ClipboardReader.readClipboard();
final futures = <Future>[];
for (SimpleFileFormat format in formats) {
  if (!reader.canProvide(format)) continue;
  reader.getFile(format, (file) {
    futures.add(processFile(file, format));
  });
}
await Future.wait(futures);

the processFile function never gets run since reader.getFile throws without running the onFile callback.
formats is a list of image formats (Formats.jpeg, Formats.png, etc) but when I tested with just Formats.png the error still occured.

Seems like a regression. Which application are you trying to copy from?

I'm copying an image file from the Windows file explorer

This seems to be a bug in windows explorer IDataObject implementation. Should now be fixed in main.


In project.clang, replace -isystem by -I only if it starts with.

I wasn't able to use the clang flag -stdlib++-isystem and make a compile_commands.json with xmake because during the flags translation, it replaces all -isystem by -I (so i had -stdlib++-I in the compile_commands.json).
Now, it replaces the flags when it starts with -isystem
I also prevent code if -isystem-after flag is used or if -isystem if present in the path following -isystem flag.

thanks


Flush performance degradation with Garbage Collector

As i try to insert and update a massive amout of documents, i found that performance chart of a flush call has exponential growth to uow size.
However if i turn out GC, this growth is ease into normal, expected O(n) run-time.
What do you think about it?

Saying sorry may not be enough given all time that passed, but is this still issue in new PHP versions?


chia-blockchain 1.1.6.dev0 requires click==7.1.2, but you have click 8.0.0 which is incompatible.

Describe the bug
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chia-blockchain 1.1.6.dev0 requires click==7.1.2, but you have click 8.0.0 which is incompatible.
To Reproduce
Steps to reproduce the behavior, e.g.:

Install CHIA on fresh ubuntu 20.04 box
cd /root
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
cd /root/chia-blockchain
chmod +x ./install.sh
./install.sh
. ./activate
chia init

Try and install plotman
cd /root/chia-blockchain
. ./activate
pip install --force-reinstall git+https://github.com/ericaltendorf/plotman@main

Expected behavior
Obviously it run
System setup:

Ubuntu 20.04 LTS

Config
Not installed yet

Additional context & screenshots
Terminal log
root@ubuntu:~#         cd /root/chia-blockchain
root@ubuntu:~/chia-blockchain#         . ./activate
(venv) root@ubuntu:~/chia-blockchain# pip install --force-reinstall git+https://github.com/ericaltendorf/plotman@main
Collecting git+https://github.com/ericaltendorf/plotman@main
Cloning https://github.com/ericaltendorf/plotman (to revision main) to /tmp/pip-req-build-ap4in88n
Running command git clone -q https://github.com/ericaltendorf/plotman /tmp/pip-req-build-ap4in88n
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting appdirs
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pendulum
Downloading pendulum-2.1.2-cp38-cp38-manylinux1_x86_64.whl (155 kB)
|████████████████████████████████| 155 kB 36.2 MB/s
Collecting texttable
Downloading texttable-1.6.3-py2.py3-none-any.whl (10 kB)
Collecting desert
Downloading desert-2020.11.18-py3-none-any.whl (9.5 kB)
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting psutil~=5.8
Downloading psutil-5.8.0-cp38-cp38-manylinux2010_x86_64.whl (296 kB)
|████████████████████████████████| 296 kB 80.8 MB/s
Collecting marshmallow
Downloading marshmallow-3.12.1-py2.py3-none-any.whl (47 kB)
|████████████████████████████████| 47 kB 35.6 MB/s
Collecting click
Downloading click-8.0.0-py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 48.0 MB/s
Collecting pyyaml
Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting typing-inspect
Downloading typing_inspect-0.6.0-py3-none-any.whl (8.1 kB)
Collecting pytzdata>=2020.1
Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
|████████████████████████████████| 489 kB 116.7 MB/s
Collecting python-dateutil<3.0,>=2.6
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
|████████████████████████████████| 227 kB 104.5 MB/s
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting mypy-extensions>=0.3.0
Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting typing-extensions>=3.7.4
Using cached typing_extensions-<IP_ADDRESS>-py3-none-any.whl (26 kB)
Building wheels for collected packages: plotman
Building wheel for plotman (PEP 517) ... done
Created wheel for plotman: filename=plotman-0.3-py3-none-any.whl size=56473 sha256=3a010a5e4a5f9c091fd2f04bde32554d29d38c921011955dc9d3c27bcb93e6f5
Stored in directory: /tmp/pip-ephem-wheel-cache-5qd39b79/wheels/6e/4e/4d/284bb2756fdd9abdf6cbf8cc207251b72e1c81f806378c26fe
Successfully built plotman
Installing collected packages: typing-extensions, six, mypy-extensions, typing-inspect, pytzdata, python-dateutil, marshmallow, attrs, texttable, pyyaml, psutil, pendulum, desert, click, appdirs, plotman
Attempting uninstall: typing-extensions
Found existing installation: typing-extensions <IP_ADDRESS>
Uninstalling typing-extensions-<IP_ADDRESS>:
Successfully uninstalled typing-extensions-<IP_ADDRESS>
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: attrs
Found existing installation: attrs 21.2.0
Uninstalling attrs-21.2.0:
Successfully uninstalled attrs-21.2.0
Attempting uninstall: pyyaml
Found existing installation: PyYAML 5.4.1
Uninstalling PyYAML-5.4.1:
Successfully uninstalled PyYAML-5.4.1
Attempting uninstall: click
Found existing installation: click 7.1.2
Uninstalling click-7.1.2:
Successfully uninstalled click-7.1.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chia-blockchain 1.1.6.dev0 requires click==7.1.2, but you have click 8.0.0 which is incompatible.
Successfully installed appdirs-1.4.4 attrs-21.2.0 click-8.0.0 desert-2020.11.18 marshmallow-3.12.1 mypy-extensions-0.4.3 pendulum-2.1.2 plotman-0.3 psutil-5.8.0 python-dateutil-2.8.1 pytzdata-2020.1 pyyaml-5.4.1 six-1.16.0 texttable-1.6.3 typing-extensions-<IP_ADDRESS> typing-inspect-0.6.0
(venv) root@ubuntu:~/chia-blockchain#

If you remove --force-reinstall it will work.
(venv) root@ubuntu:~/chia-blockchain# pip install git+https://github.com/ericaltendorf/plotman@main                   Collecting git+https://github.com/ericaltendorf/plotman@main   Cloning https://github.com/ericaltendorf/plotman (to revision main) to /tmp/pip-req-build-jk0od5k6   Running command git clone -q https://github.com/ericaltendorf/plotman /tmp/pip-req-build-jk0od5k6   Installing build dependencies ... done   Getting requirements to build wheel ... done     Preparing wheel metadata ... done Requirement already satisfied: pendulum in ./venv/lib/python3.8/site-packages (from plotman==0.3) (2.1.2) Requirement already satisfied: desert in ./venv/lib/python3.8/site-packages (from plotman==0.3) (2020.11.18) Requirement already satisfied: texttable in ./venv/lib/python3.8/site-packages (from plotman==0.3) (1.6.3) Requirement already satisfied: psutil~=5.8 in ./venv/lib/python3.8/site-packages (from plotman==0.3) (5.8.0) Requirement already satisfied: attrs in ./venv/lib/python3.8/site-packages (from plotman==0.3) (21.2.0) Requirement already satisfied: pyyaml in ./venv/lib/python3.8/site-packages (from plotman==0.3) (5.4.1) Requirement already satisfied: click in ./venv/lib/python3.8/site-packages (from plotman==0.3) (8.0.0) Requirement already satisfied: marshmallow in ./venv/lib/python3.8/site-packages (from plotman==0.3) (3.12.1) Requirement already satisfied: appdirs in ./venv/lib/python3.8/site-packages (from plotman==0.3) (1.4.4) Requirement already satisfied: typing-inspect in ./venv/lib/python3.8/site-packages (from desert->plotman==0.3) (0.6.0) Requirement already satisfied: pytzdata>=2020.1 in ./venv/lib/python3.8/site-packages (from pendulum->plotman==0.3) (2020.1) Requirement already satisfied: python-dateutil<3.0,>=2.6 in ./venv/lib/python3.8/site-packages (from pendulum->plotman==0.3) (2.8.1) Requirement already satisfied: six>=1.5 in ./venv/lib/python3.8/site-packages (from python-dateutil<3.0,>=2.6->pendulum->plotman==0.3) (1.16.0) Requirement already satisfied: typing-extensions>=3.7.4 in ./venv/lib/python3.8/site-packages (from typing-inspect->desert->plotman==0.3) (<IP_ADDRESS>) Requirement already satisfied: mypy-extensions>=0.3.0 in ./venv/lib/python3.8/site-packages (from typing-inspect->desert->plotman==0.3) (0.4.3) (venv) root@ubuntu:~/chia-blockchain# plo plog     plotman

There are a couple other tickets for this I think.  Anyways, v0.3.1 was just released and should address this.

Yep, tried installing it today again and it worked in one go. Thank you!

Sure thing.  :]


[feature/composition-api-intro] Translate composition api introduction guide

Description of Problem
None.
Proposed Solution
Translate src/guide/composition-api-introduction.md
Additional Information
None.

Excellent work @Tintef! :tada::+1:


Targeting .NET 7 may prevent projects using older versions of .NET to use this SDK

Since the project currently targets .NET 7 (which is non-LTS release btw) people still using .NET 5 / 6  and older won't be able to use this library. Ideally we would want to target at least latest netstandard instead.

Ideally, it should be netstandard2.0 since it has far better coverage according to this doc

Nice, prob will need to add <LandVersion>latest</LangVersion> so that we still can use latest language features like records, switch expression etc

Since the nuget package is a compiled and archived version of the lib I don't think there should be issues for consumers of the library.


Fix client dependencies

https://github.com/thinknimble/tn-spa-bootstrapper/pull/196/ reorganizes the client side so that it aligns part of the web & mobile structure of the apps. It looks like it may be missing zod as a dependency, so we should add that to the client's package.json, bootstrap a client project and check that everything runs out-of-the-box.
Bonus points:

review if there are no similar missing dependencies on the mobile side of the bootstrapper

if I may understand the issue, zod used but not installed as dependency in the client side, what I don't understand is bootstraping a client project. please assist.

You are correct, zod is being used but not included in the package.json so the app crashes when running the client with yarn start. You can find info on how to bootstrap a project on this quickstart guide

Alright, I am very clear on what is needed to be done. can I go ahead?

@Nkiriobasi sure, go ahead! Here you will find more details about how to contribute


alchemy: manipulate/pull networks by just network key

Recently, @jthorton submitted a network with asap-alchemy under the asap-public scope. I can query the status of the network and (if I wanted to) stop it with the network key that I can see under status -a. What I can't do:

restart any errored tasks for this network
gather the network's outputs

We should adjust both of the above CLI endpoints to also accept a --network-key flag like we've built for asap-alchemy stop.

@JenkeScheen partial fix was #1150, leaving open for --restart


Localize HTML files

We need to localize the loose HTML files we use for when there are no interpreters available or we can't get to the survey/news site.
We then also need to handle loading the right one at runtime. Because this is non-trivial, we're not blocking the initial release on this.

We're closing old issues with no recent activity. If this is still important, please open a new issue.


Daily snapshots in Yearn Ethereum subgraph incorrect values

https://thegraph.com/hosted-service/subgraph/messari/yearn-v2-ethereum
Fetching data for poolID: 0xf2db9a7c0acd427a680d640f02d90f6186e71725
For snapshots on timestamp:<PHONE_NUMBER>, the TVL is 0 and cumulativeTotalRevenueUSD/cumulativeSupplySideRevenue is non 0.
This is odd as the TVL for other daily snapshots is non-0.
However, for snapshot entries after this timestamp, the cumulative revenue values are back to 0 which shouldn't be the case since cumulative values should be strictly increasing. The TVL also became non-0.
  vaults (where:{id:"0xf2db9a7c0acd427a680d640f02d90f6186e71725"}) {
    id
    name
    inputToken {
      name
      symbol
    }
    dailySnapshots (orderBy: timestamp, orderDirection:desc, where:{timestamp_gte:<PHONE_NUMBER>}){
    	timestamp
      totalValueLockedUSD
      cumulativeTotalRevenueUSD
      dailyTotalRevenueUSD
      cumulativeProtocolSideRevenueUSD
      dailyProtocolSideRevenueUSD
      cumulativeSupplySideRevenueUSD
      dailySupplySideRevenueUSD
      inputTokenBalance
      outputTokenSupply
      outputTokenPriceUSD
      stakedOutputTokenAmount
      pricePerShare
    }
  }
}

For better visualization: https://subgraphs.messari.io/subgraph?endpoint=https://api.thegraph.com/subgraphs/name/messari/yearn-v2-ethereum&tab=pool&poolId=0xf2db9a7c0acd427a680d640f02d90f6186e71725

Awesome 👍  from the charts, there's clearly an issue with the data

@lowjiansheng I have fixed this issue in #465

@lowjiansheng the reason for these zeros is because there are days where there is no harvest event, so we don't have any data for these days. One way to deal with this issue is to apply some sort of smoothing on the backend. Convex is a more extreme example of this where they harvest even more sparingly (IIRC).

@bye43 we can close this right?

Yes. Will close it out.


Docker container content

I have troubles to dockerize platformatic app.
What are the files/folder mandatory to create a docker container with a platformatic app ?
Is there a best mode to avoid multiple COPY stmts ?
This is the src folder structure :
my-project
|-- dist
|-- migrations
|-- node_modules
|-- plugins
|-- public
|-- routes
|-- types
...

# Dockerfile
FROM platformatic/platformatic:latest
USER root
WORKDIR /app
COPY .env.docker .env
COPY platformatic.db.json platformatic.db.json
COPY dist ./
COPY node_modules ./node_modules
COPY migrations ./migrations
COPY public ./public
COPY start.sh .
EXPOSE 5003
CMD ["platformatic", "start"]

The commands I use to create the container :
1. platformatic compile
2. docker build -t my-api .
3. docker compose up -d

The error is :
{"type":"Error","message":"Cannot find module '@fastify/static'\nRequire stack:\n- /app/plugins/static.js\n-<EMAIL_ADDRESS>/home/platformatic/packages/service/lib/plugins/sandbox-wrapper.js\n- /home/platformatic/packages/service/lib/plugins/plugins.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js","stack":"Error: Cannot find module '@fastify/static'\nRequire stack:\n- /app/plugins/static.js\n-<EMAIL_ADDRESS>/home/platformatic/packages/service/lib/plugins/sandbox-wrapper.js\n- /home/platformatic/packages/service/lib/plugins/plugins.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)\n    at Module._load (node:internal/modules/cjs/loader:922:27)\n    at Module.require (node:internal/modules/cjs/loader:1143:19)\n    at require (node:internal/modules/cjs/helpers:119:18)\n    at Object.<anonymous> (/app/plugins/static.js:7:34)\n    at Module._compile (node:internal/modules/cjs/loader:1256:14)\n    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)\n    at Module.load (node:internal/modules/cjs/loader:1119:32)\n    at Module._load (node:internal/modules/cjs/loader:960:12)\n    at Module.require (node:internal/modules/cjs/loader:1143:19)","code":"MODULE_NOT_FOUND","requireStack":["/app/plugins/static.js","/home/platformatic/node_modules/@fastify/autoload/index.js","/home/platformatic/packages/service/lib/plugins/sandbox-wrapper.js","/home/platformatic/packages/service/lib/plugins/plugins.js","/home/platformatic/packages/service/index.js","/home/platformatic/packages/runtime/lib/schema.js","/home/platformatic/packages/runtime/lib/config.js","/home/platformatic/packages/runtime/lib/build-server.js","/home/platformatic/packages/runtime/lib/app.js","/home/platformatic/packages/runtime/lib/api.js","/home/platformatic/packages/runtime/lib/worker.js"]},"msg":"Cannot find module '@fastify/static'\nRequire stack:\n- /app/plugins/static.js\n-<EMAIL_ADDRESS>/home/platformatic/packages/service/lib/plugins/sandbox-wrapper.js\n- /home/platformatic/packages/service/lib/plugins/plugins.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js"}

Any help will be appreciated. Thank's.

You need for sure:

Sorry @marcopiraccini, but this problem occurs now on the Azure build server.
Our build pipeline exec these steps :

and I cannot changed this code.
Executing pnpm install without --node-linker=hoisted we return on the previous error.
Can you please suggest me a docker file able to build on this situation ? Thank's in advance.

The "problem" is that you wan t to copy node_modules in the container and if you do so, the symbolic link that pnpm uses will disappear.
Assuming you need your node_modules (maybe because you are using other libraries than Platformatic) you can run pnpm install directly when building the container.
See for instance: https://pnpm.io/docker
Otherwise, if you just need to ruin platformatic, latest is already in the latest Docker image, so you could do something like (didn't test it, might have errors):
FROM platformatic/platformatic:latest

USER root

WORKDIR /opt/app
# Copy whatever you need
COPY migrations migrations
COPY platformatic.db.json platformatic.db.json
COPY plugin.js plugin.js

# these can be passed as ARG/ENV too
COPY .env .env

EXPOSE 3042

CMD ["platformatic", "start"]

@marcopiraccini But the platformatic start command provide also to compile and produce the dist folder ?
Can you explain please what do the PLT_TYPESCRIPT flag ?

21:37:51 {"level":20,"time":1699648671749,"pid":7,"hostname":"b908b510c543","name":"gemini","msg":"Migrating from /app/migrations/*"}
2023-11-10 21:37:52 {"level":50,"time":1699648672232,"pid":7,"hostname":"b908b510c543","name":"gemini","err":{"type":"Error","message":"Cannot find module 'typescript'\nRequire stack:\n- /home/platformatic/packages/service/lib/compile.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js","stack":"Error: Cannot find module 'typescript'\nRequire stack:\n- /home/platformatic/packages/service/lib/compile.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)\n    at Function.resolve (node:internal/modules/cjs/helpers:125:19)\n    at getTSCExecutablePath (/home/platformatic/packages/service/lib/compile.js:10:34)\n    at setup (/home/platformatic/packages/service/lib/compile.js:47:35)\n    at async Object.compile (/home/platformatic/packages/service/lib/compile.js:66:78)\n    at async setupTsCompiler (/home/platformatic/packages/service/lib/plugins/typescript.js:13:3)","code":"MODULE_NOT_FOUND","requireStack":["/home/platformatic/packages/service/lib/compile.js","/home/platformatic/packages/service/index.js","/home/platformatic/packages/runtime/lib/schema.js","/home/platformatic/packages/runtime/lib/config.js","/home/platformatic/packages/runtime/lib/build-server.js","/home/platformatic/packages/runtime/lib/app.js","/home/platformatic/packages/runtime/lib/api.js","/home/platformatic/packages/runtime/lib/worker.js"]},"msg":"Cannot find module 'typescript'\nRequire stack:\n- /home/platformatic/packages/service/lib/compile.js\n- /home/platformatic/packages/service/index.js\n- /home/platformatic/packages/runtime/lib/schema.js\n- /home/platformatic/packages/runtime/lib/config.js\n- /home/platformatic/packages/runtime/lib/build-server.js\n- /home/platformatic/packages/runtime/lib/app.js\n- /home/platformatic/packages/runtime/lib/api.js\n- /home/platformatic/packages/runtime/lib/worker.js"}
2023-11-10 21:37:17 The runtime exited before the operation completed
2023-11-10 21:37:30 The runtime exited before the operation

That does not match the Dockerfile we had in our call.

Yes, but I don't have any running solution at now.

Simplified and optimized
FROM platformatic/platformatic:latest
USER root

RUN corepack enable && corepack prepare pnpm@latest --activate

WORKDIR /app

COPY package.json pnpm-lock.yaml tsconfig.json global.d.ts platformatic.db.json ./
COPY migrations   migrations
COPY types        types
COPY routes       routes
COPY plugins      plugins
COPY public       public
# these can be passed as ARG/ENV too
COPY .env.docker .env

RUN pnpm install --fix-lockfile --frozen-lockfile
RUN pnpm run build

EXPOSE 5003
CMD ["platformatic", "start"]
#ENTRYPOINT ["tail", "-f", "/dev/null"] // Allows developers to exec bash command to debug container internals


Some latex typos in Math dataset

I try to show the dataset in a pdf file, and most of the latex files are good to transfer. But there are still some latex typos in:

test/intermediate_algebra/44.json

A URL appears to be mistakenly included in a JSON file, like
    "solution": "... the diagram,\n\nhttp://aops-classroom.s3.amazonaws.com/Algebra3/Algebra3_Putnam1958_Morning1.png\n\n ..."

Is it possible to correct this into a parsable form?

test/prealgebra/1117.json

"solution": "A $60 coat with a 20$\\%$ discount

test/number_theory/407.json
something like:

6 3 _ _ _ _

./test/prealgebra/1645.json

times $24.50 per square yard, or $\boxed{735}$ dollars.

I've uploaded a modified TAR file that hopefully addresses these issues.


Dependency on SLF4J - Migrate to System.Logger

Can dependency on SLF4J be removed or library updated to 2.0-alpha? 1.7 is not modularized.

I have had a closer look at slf4j 2.x to see what was going on and why it's still alpha etc.  Also just a little look at java.lang.System.Logger. For myself, I've been for so long just using slfj4-api that it had become a strong bias and I kind of missed java.lang.System.Logger arriving and yes it does look good to me.
That is, I'm starting to remove my bias away from slf4j-api and leaning towards the thought that java.lang.System.Logger might be the longer term better option when compared to slf4j-api 2.x. Given that avaje-inject has such little need for logging anyway it makes it more obvious for avaje-inject that we should probably push it towards the standard java logger(s)

Use multi-release jar to use SLF4J 1.7 for Java 8 and Platform Logger for Java 9+

We could do this or even use JUL for Java 8 and Platform Logger for 9+.  At some point we also raise the question of moving our minimal java dependency from 8 to 11 which would mean we should just use the Java Platform Logger / java.lang.System.Logger and wouldn't need multi-release jar (but MR-jar should also be a pretty good and simple approach here).
Next steps
I think the next step is to try and prepare a PR that looks to take a multi-release jar approach with JUL and Platform Logger and see what that looks like.

Note that I have the PR/branch https://github.com/avaje/avaje-inject/pull/172/files ... but I am somewhat unsatisfied with it at the moment.
My thought is that we almost certainly should change to System.Logger.  If we bump to Java 11 then this is pretty simple and I am thinking that is maybe the best long term path going forward.  To bump to Java 11 and at that time also change to use System.Logger.
https://www.reddit.com/r/java/comments/rdv98z/have_you_ever_wondered_how_javas_logging/ho49gp1/

PR #190 bumps to Java 11 and uses System.Logger.  Closing this as now fixed.


ROX-16765: Expose whether Central is managed on metadata endpoint

/test ?

/test gke-version-compatibility-tests

/test gke-version-compatibility-tests

@msugakov yes indeed
common/centralclient: 2023/05/03 21:11:54.716638 grpc_connection.go:79: Info: Check Central status failed: parsing Central /v1/metadata response with status code 200: unknown field "isManagedCentral" in v1.Metadata. Retrying after 703ms...

@msugakov do you know how to fix the style failure? golangci-lint does not seem to format the files that are triggering this problem

@ludydoo Strangely, check-generated-files seems to fail on central/graphql/resolvers/generated.go formatting that you haven't touched.
No idea why, but you may try rebase this PR form the recent master. Perhaps someone has fixed linter rules.

Closing as not the right approach


No more historical data

Since a few month I have no more any historical data.
The problem is not with python-panasonic-comfort-cloud because I have the problem also with the "Comfort Cloud" iOS application.
The immediate value for internal temperature is still available using python-panasonic-comfort-cloud but not the historical values.
Maybe Panasonic does not store any history if the air conditioning system is OFF for a long time?
I last used my cooling system the 1st September 2019. I have no data for internal temperature since 20th October 2019.
The problem is that the power consumption is only available as an historical value. So I don't have the power consumption for a long period of non-use.
It is the case for other people?
Any suggestion to fix that?

Surprisingly I have historic data again from 8 Jan 2020 18h00 without any change on my side. Very strange.
I then tried to use the iOS application and I had to accept again the "confidentiality policy".

Suddenly got data for the first time since may 2019 at exactly 8 january too :-P

closing this since we are getting data now


Loading overlay blocks browser navigation buttons

https://github.com/logue/vite-vuetify-ts-starter/blob/d013cbe9b53fa8d8133bc7dc84ba831bf2668d92/src/App.vue#LL109C8-L109C8
If you do not set the close-on-back="false" attribute, then there will be problems when working with browser navigation buttons (back/forward)
https://vuetifyjs.com/en/api/v-overlay/#props-close-on-back

It is a specification that it remains displayed when a script error occurs and becomes inoperable.
This loading screen is processed on the Pinia side.
https://github.com/logue/vite-vuetify-ts-starter/blob/d013cbe9b53fa8d8133bc7dc84ba831bf2668d92/src/store/GlobalStore.ts#L17-L28
For example, when a communication error occurs in axios, it is necessary to implement a process to manually turn off the loading screen as follows.
import axios, { type AxiosProgressEvent, type AxiosResponse } from 'axios';
import { useGlobal } from '@/store';

axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
axios.defaults.headers.common.Accept = 'application/json';
axios.defaults.withCredentials = true;
axios.defaults.onUploadProgress = (progressEvent: AxiosProgressEvent): void => {
  const globalStore = useGlobal();
  if (progressEvent.progress && progressEvent.total) {
    globalStore.setProgress(
      Math.round((progressEvent.loaded * 100) / progressEvent.total)
    );
  } else {
    globalStore.setProgress(null);
  }
  nextTick();
};
axios.defaults.onDownloadProgress = (
  progressEvent: AxiosProgressEvent
): void => {
  const globalStore = useGlobal();
  if (progressEvent.progress && progressEvent.total) {
    globalStore.setProgress(
      Math.round((progressEvent.loaded * 100) / progressEvent.total)
    );
  } else {
    globalStore.setProgress(null);
  }
  nextTick();
};
axios.interceptors.request.use(request => {
  const globalStore = useGlobal();
  globalStore.setLoading(true);
  return request;
});
axios.interceptors.response.use(
  (response: AxiosResponse<any, any>) => {
    const globalStore = useGlobal();
    globalStore.setLoading(false);
    return response;
  },
  async error => {
    const globalStore = useGlobal();

    globalStore.setMessage('An unknown error has occurred.');
    globalStore.setLoading(false);
    // location.reload();
    throw new Error(error);
    globalStore.setLoading(false);
    console.log(error.response.data);
    return await Promise.reject(error);
  }
);

Recorded a video for a visual example:

Fixed.

I liked the page loader indicator idea, but your fix removed it

This is a provisional measure.
Due to various reasons (TypeScript5 compatibility, vitest issues, etc.), this is a last resort for the significant delay in release.
Since the idea used in Vuetify2 was diverted as it is, there were parts that did not work properly.


adding secrets file upload

adding a simple option for uploading a secret text file into the secrets "textarea" and downloading it as a secret file on the receiver side.

fa36b647

https://onetimesecret.com/secret/acgudm7ur632qfni5

9rsO!nMPehD7

роза и соня

fa36b64

I'll be closing this one up unfortunately. Not implementing file support was and is an intentional design choice. Depending on the filetype, it's very easy to accidentally share sensitive information (PDFs, spreadsheets, images of course) without realizing it. We could add support for stripping that stuff out for common types, but we can't guarantee that a file is totally safe to share.
Our recommendation is still to upload the file using a service you trust, then create a secret with the shareable link. Why do that? Because you can share the secret without revealing where you store files and the exact path to get to one.
Also, what was going on with this thread??


Identify any work in IKS to leverage the recent zone/locality support

We need to identify how we can leverage the recent zone support to ensure the zone info from IKS nodes are passed correctly to the envoy sidecars when users use istio within IKS.  Is there anything we need to populate when bootstrap when users run multiZone IKS clusters, similarly like https://github.com/istio/istio/pull/11607/files
cc @ericvn

cc @vadimeisenbergibm

It seems I can get the region and zone from kubectl get nodes -o yaml from the returned:
      failure-domain.beta.kubernetes.io/region: us-south
      failure-domain.beta.kubernetes.io/zone: dal10

These same constants were added in #13927.
Will work on a code change to make the call and get the data.

Some simple code to look at proxy version for IKS and getting zone and region:
func main() {
	// creates the in-cluster config
	config, err := rest.InClusterConfig()
	if err != nil {
		panic(err.Error())
	}
	// creates the clientset
	clientset, err := kubernetes.NewForConfig(config)
	if err != nil {
		panic(err.Error())
	}

        // Get Nodes, but will only look at one
	nodes, err := clientset.CoreV1().Nodes().List(metav1.ListOptions{})
	if err != nil {
		panic(err.Error())
	}

	if len(nodes.Items) == 0 {
		fmt.Printf("No Nodes found\n")
		return
	}

	for _, node := range nodes.Items {
		nodeKubeProxyVersion := node.Status.NodeInfo.KubeProxyVersion
		onIKS := strings.HasSuffix(nodeKubeProxyVersion, "+IKS")
		if onIKS {
			fmt.Println("OnIKS: true")
		} else {
			fmt.Println("OnIKS: false")
			return
		}
		onIKS_2 := false
		var region, zone string
		for k, v := range node.Labels {
			if strings.HasPrefix(k, "ibm-cloud.kubernetes.io") {
				onIKS_2 = true
			}
			if k == "failure-domain.beta.kubernetes.io/region" {
				region = v
			}
			if k == "failure-domain.beta.kubernetes.io/zone" {
				zone = v
			}
		}
		if onIKS_2 != onIKS {
			fmt.Println("ERROR: - IKS from label is not equal to KubeProxyVersion")
			return
		}
		if region == "" || zone == "" {
			fmt.Printf("ERROR: - Unable to find region (%s) or zone (%s) on IKS \n", region, zone)
			return
		}
		fmt.Printf("IKS: region (%s) and zone (%s)\n", region, zone)
                return
	}
}

And this will need a ClusterRole and ClusterRoleBinding (if we don't already) for RBAC to access the node list from the API.

You don't need the locality in the bootstrap, Pilot will already read from the node labels. https://github.com/istio/istio/blob/ed792dda8df438667ec80be319a296e0aca6584e/pilot/pkg/serviceregistry/kube/controller.go#L317

That is great - thank you for chiming in @howardjohn!  @ericvn could you validate this works properly with IKS, e.g. reading the node labels and configure it properly in our env?

Moving back to milestone 1.3 as I will validate this is working properly now.

Testing shows that the localityLbSetting's do work on IKS.
I did this work on the master (soon to be the (1.3)) branch as it has localityLbSetting set to enabled:true by default. Note that no locality actions will be done without the specification of a outlierDetection in a DestinationRule (also need a service specified for the caller).
I deployed a multi-zone cluster on IKS using the Shared control plane (multi-network) instructions. Let's call WDC04 region a and WDC06 region b. At the conclusion of the install we showed that calling curl on helloworld from sleep(a) resulted in calls to both helloworld(a) and helloworld(b), and calling curl on helloworld from sleep(b) resulted in calls to both helloworld(a) and helloworld(b).
I then created a DestinationRule:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: helloworld-outlier-detection
spec:
  host: helloworld.sample.svc.cluster.local
  trafficPolicy:
    tls:
      mode: ISTIO_MUTUAL
    outlierDetection:
      consecutiveErrors: 7
      interval: 30s
      baseEjectionTime: 30s

and applied it to the control plane cluster: kubectl apply --context=$CTX_CLUSTER1 -f helloworld-destination-rule.yaml -n sample. I did not need to restart anything.
This enables the locality loadbalancer and calls should now stay within their regions.
The same curl commands run during the sample exercise do stay within their own region, ie. calling curl on helloworld from sleep(b) resulted in calls to helloworld(b) and calling curl on helloworld from sleep(a) resulted in calls to helloworld(a).
To test failover, I first tried scaling down the helloworld(b) application and curls from sleep(b), but they timed out. I was told that their is an issue with scaling down applications removing endpoints so this would NOT make helloworld(b) seem unhealthy, resulting in the timeouts. I scaled the replicas back to 1 and things worked as before. I then removed the application helloworld(b) and the curls in sleep(b) failed over to helloworld(a).
It's not easy to set the distribution in the localityLBsetting's. It might be with the new operator, and I will investigate that later. This precluded me from trying to distribute the calls from WDC04 to WDC06 and vice versa which should have caused the curls from sleep(a) to go to helloworld(b) and vice versa.
I do plan to write a blog extending the current sample (or an update in the doc) to talk about showing this behavior as the current docs are hard to interpret (and the current 1.3 doc still uses the old experimental flag).

Will close this since the there is no work to get things working with IKS. I will still do a blog/doc describing the process. I don't think we necessarily need an issue for the blog/doc.


Fix html entities in totaldomain parameter

Applies: https://github.com/gisce/ooui.js/pull/92
Related: https://github.com/gisce/webclient/issues/617

:tada: This PR is included in version 2.0.0-alpha.25 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Display of errors

Need to implement a system to propagate errors and display to the user.
For instance, if some of the files were not loaded, there should be a message to the user or at the very least a log file.

I noticed this when in the codebase yesterday playing with ICS config.

first step is to replace  print()s at https://github.com/anufrievroman/calcure/blob/fe6203a1c5a7a5130f51b0170e7dee5ef1476696/calcure/configuration.py#L297-L302
Also would be nice to (optionally) log exception and stack trace.

See also https://docs.python.org/3/howto/logging.html

Implemented 020aa700141ab4e2d9a17396a73adda20ed11c05 basic logging of errors and warning into log file and console.
In the future, should also display the errors in curses interface, at least after the start of the app, or maybe just a message like "Errors occurred, see info.log file".

Commit 868c3ead0442333aae35642b3c547117cd7275a8 adds display of error notification in curses interface.
So the issue is resolved. Maybe later the errors could be summarized more explicitly. Maybe I'll also introduce the same notification for incorrect input from the user.


For detailed analytics, enable the "Session" log

There is no "session" log for the Authentication agent.  Or the instructions are not complete in order to enable the session log, whatever it is.  I'm using agent version 1.5.1007.0 according to the file properties on the service.  I'm unable to find any way to get detailed logging on the agent.

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

ID: 6150b6e2-33af-97f5-928a-0bcdb7a34e39
Version Independent ID: b49e152b-20d0-670a-f66d-da14c61fb564
Content: Azure AD Connect: Troubleshoot Pass-through Authentication
Content Source: articles/active-directory/hybrid/tshoot-connect-pass-through-authentication.md
Service: active-directory
GitHub Login: @billmath
Microsoft Alias: billmath

@thx1200 Thank you for your query. We will investigate and update this thread.

@thx1200 . The session logs are present in the event viewer as mentioned in the article. Please fidn the screenshots for the same. Please open Event Viewer >> Application and Services Logs >> Microsoft > AAdApplicationProxy >> Connector . Under this you would find the admin and session logs. By default these will be disabled and you will have to right-click and enable it .

Note :- In case you are unable to see the same , please traverse through the view menu in event viewer and enable "Show analytic and debug logs " option.
As per the instructions here please don't run the Authentication Agent with this log enabled during normal operations; use only for troubleshooting. The log contents are only visible after the log is disabled again.

@thx1200 , We will now close this issue, Should you have any further queries, feel free to tag me to the conversation and we can continue the conversation again.
thank you.


Add email_alert_type to email_alert_signup details hash

This states explicitly the kind of page a given email signup is handling.
This improves clarity when viewing an email-signup content item retrieved
from the content store, and also helps the email-alert-frontend (for example)
resolve how to format its subscription payload for the email-alert-api.
The goal of all this is to handle email subscription/alerting via content
IDs in the links hash and eventually move away from the use of slugs.

I think the usual workflow is to add the attribute first, get it merged, update the consumer app and then make it required in a new PR. That way you won't have a failing test here.

@tijmenb dropped the 'required' for now.


WinappDriver - Send keys as per the german keyboard layout

Currently am facing an issue with sending keys to the input field as per the German keyboard layout.  My application is launched in german language and when I try to send keys using selenium method (SendKeys()), the values are passed as per the english keyboard layout.
Below are the things I tried which did not work out:

change the system language to German and then enter the values in input field
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("locale", "de_DE");

Does anyone has a solution to it?

As of now only english is supported.

Hi,
I hope you have found a solution till now. I would like to hear your solution as well.
Here is what I am doing, I am sending alt+shift key sequence before typing any text.


Swift: realm.objectForPrimaryKey(Object, key: id) expects Object.self

The realm.objects API allows the form realm.objects(Object) while the realm.objectForPrimaryKey(Object.self, key: id) API expects the Object param to be Object.self. Is this an intended behavior?
Imo just writing realm.objectForPrimaryKey(Object, key: id) would be the more Swift-way to do :+1:
The same applies to the realm.create(Object, value: ..., update: ...) API.

This is a limitation of Swift itself, we totally agree that the trailing .self is suboptimal.

Could you quickly explain why it works for realm.objects?

Because the type name is the only thing inside the parenthesis--there are no parameter labels or other parameters.


Shapes loaded seem to be rotated by 180°

I was wondering why my shapes look different from what i saw in the SVG loaded in my browser.
It looks like PocketSVG is loading the path somehow rotated.
In order to get it printed as seen on the browser i need to tranform the shape by 180°.
Did i miss something here or is this is a bug?
My code is very simple:
let svg = PocketSVG.pathFromSVGFileNamed("example").takeUnretainedValue()
let sh = SKShapeNode( path: svg, centered: true)
self.addChild(sh)

The code above works fine, but the shape is printed in a 180° rotated state.

is this iOS or macOS?

iOS

ok i tried to rotate manually, actually it is not rotated by PocketSVG it is mirrored/reflected.

why you closed this issue?

Because given your last comment I thought that you had resolved the issue.. Is PocketSVG causing the issue?

yes it is.
i thought PocketSVG is rotating or loading it in a wrong angle, but actually it is loaded in a mirrored manner. So fixing by manually rotating (with CGAffineTransform) didn't help.
Can you check loading some this SVG (its a simple clock) and check if on SKScene it is rendered the same way you can see it loaded in your browser or some preview?
clock.svg.zip
and verifying the rendered node is still pointing to right. In my case the arro

Hi @novumcoder
PocketSVG has been updated to v2.0.0! Please let me know if your issue is still happening on this new version.


SCI result: Unexpected ENDOFDEFINITION

Unexpected ENDOFDEFINITION, %3CCONTRO%3E.PROG.ABAP
There are no macros in this code. Any idea what it's related to?

does it INCLUDE <CONTRO> somewhere?
are you running the latest version?  was fixed sometime last week as far as I remember

After lint server got the bump from 2.40 to 2.42.1 the issue was gone (not sure why it skipped some). The  include is one of those hidden things SAP adds to the byte code when you use for example tabs on the selection screen


Include pictorial element in logo.png

Part of mysociety/alaveteli#2699.
Adding an icon to the logo makes it clear that it’s not just text, and that it needs to be replaced when you are making your own custom theme.

Closed in favour of #65 which is based off develop rather than master


Oauth exception on instagram

{
"code": 400,
"error_type": "OAuthException",
"error_message": "Redirect URI does not match registered             redirect URI"
}

Tried logging in with my instagram and hit this

hoo boy, that's bad. thanks for reporting. I wonder if I changed the Instagram app we use and forgot to tell @kylewm? I'll look.

i deployed myself and instagram seems to work again. @bcomnes, mind confirming? if so, i'll send @kylewm the new app id and secret.

Still getting the same exception.

aha i think i know what's going on. @bcomnes any chance you're using https://brid-gy.appspot.com/ and not https://www.brid.gy/ ?
if so, i should make that redirect to brid.gy on the front page, user pages, /about, etc.

Oh wow, yes!  The appspot url was the first thing to pop up in my url bar history.  This makes sense.


Dynamic Layer configuration - Wegue format

The current way to configure Layers is to define these in the Wegue config file like static/app-conf.json.
But there are scenario's where a remote server provides an API Endpoint that supplies a "Layer List". OGC Standard examples are WMS Capabilities documents. The GeoExt.tree.WMSCapabilitiesLoader is an example of a client that expands this to Layer objects.
And with the new OGC REST API an OpenAPI Feature "Collections" as a JSON doc, see example here.
These should be addressed in separate issues. The issue here suggests a more direct approach and format: as Wegue Layers are already JSON nodes, a remote endpoint (or local file under e.g. static) could provide an array of Wegue Layer definitions like:
[
    {
      "type": "VECTOR",
      "lid": "dutch_windmills",
      "name": "Dutch Windmills",
      "url": "https://demo.pygeoapi.io/master/collections/dutch_windmills/items",
      "formatConfig": {
        "dataProjection": "EPSG:4326"
       },
      "format": "GeoJSON",
      "visible": true,
      "selectable": true,
      "style": {
        "iconUrl": "https://someiconserver.io/windmill2.png",
        "anchor": [0.5, 37],
        "anchorXUnits": "fraction",
        "anchorYUnits": "pixels"
      }
    },
    {
      "type": "VECTOR",
      "lid": "dutch_castles",
.
.
]

Such a Wegue Layer Def could be defined as a special Layer type with the endpoint URL and possibly some other parameters.  Something at minimum:
    {
      "type": "OSM",
      "lid": "osm-bg",
      "name": "OSM",
      "isBaseLayer": true,
      "visible": true,
      "displayInLayerList": false
    },
    {
      "type": "WEGUELAYERCOLLECTION",
      "url": "https://some.server.io/api/layer_list"
    },

So, thanks for this @justb4. One general question: Is this all about "divide and conquer", so that we separate the mapLayers from the application config? Or is the main motivation the preparation of embedding remote endpoints as you described for OGC REST API an OpenAPI Feature? Are there any other advantages?
What bothers me is the fact that you can declare single layers directly in the app-config's mapLayers and inject others by a defining this special layer type. This might be confusing somehow, IMHO. But maybe I oversee something here.

@chrismayer : thanks for reaction. The requirement came from a real-world project where Vector data is managed within a CMS and unlocked via HTTP endpoints each providing GeoJSON Feature Collections.  The "Collection of Collections" (like Capabilities) is defined in a single endpoint that returns an array of Wegue Layer JSON definitions. Now one could argue that it would be better to use an OGC standard like WFS or better OGC API Features ("WFS3"), but then you would also have define/manage Styles, icons and other resources within the Wegue frontend app, in a somehow generic fashion. Now all these can be managed in the CMS.
The other use-case is  a local "LayerList" JSON file as static resource. This could help with app managers to separate the main config from a Layer list, having that list maybe created via other tools/transformations. One example I saw in the Wegue FOSSGIS 2020 presentation is the "QGIS2Wegue QGIS Plugin" by @JakobMiksch . Maybe it can be useful there.
The mechanism within Wegue (need async fetching/axios), getting layer-list can be factored out later to support OGC Capabilities endpoints for WMS, WFS and WFS3, and why not ;-) ArcGIS Online endpoints...Did something similar in the past with GeoExt/GXP/Heron, even generate a LayerTree. Big issue was with WFS how to deal with Layer styling...

Thanks for the clarification @justb4. Makes things much clearer. From my side we can introduce a dynamic layer configuration. I'll have a look at your PR #113


"Format code" seems to have stopped working?

I'm opening an XML file in Visual Studio Code 1.5.2, right-clicking on the text, clicking on "Format code" and nothing is happening. XML Tools 1.6.0 is installed.
I'm not sure if a Code update has broken something so I can't be sure when this last worked.
Sorry for not being more helpful.

This seems to have tanked for me recently as well, possibly since 1.5.0. Large files approx. 5000 lines take  20 seconds instead of 1 or 2 seconds. Files approx. 25000 lines hang vs code.

I honestly haven't had the time to revisit this extension over the past few months due to other priorities, so it is possible there have been some extension API changes I haven't kept up with. They are moving pretty fast over there! I'll take a look as soon as I can.
Thanks for reporting!

Running into the same issue with large XML files

Running into same issue as @Gil80 . Using VS Code version 1.6.0 and XML Tools version 1.6.0

I played around with this a little, and it seems like there is some sort of performance regression in vscode  in how it applies TextEdit's.  The vscode-xml extension currently uses a single "replace" edit to indicate the formatting, but this seems to take vscode a very long time to apply, even though the editor remains responsive (makes it appear like it does nothing).
Replacing (no pun intended) the single "replace" edit with a "delete + insert" makes it perform a little better with the file I was testing with, but subsequent formats took much, much longer.  In my case, the initial file had few total lines, but they were extremely long.  After formatting, the file had a ton of short lines, so the line count seems to have a significant negative impact on the performance.  For me, this change made it usable enough for what I was doing, so I didn't investigate further.
Maybe vscode folks will wind up fixing the underlying performance issue?  I suspect it also affects other extensions and maybe even the editor itself...  Or maybe there is some other strategy for constructing the "edit list" that vscode tends to handle better?

Hi everyone! Can someone confirm if this is still an issue on the latest version of VS Code? If so, what operating system are you using? I am unable to reproduce the performance issue using the following:

VS Code 1.8.1
XML Tools 1.6.1
Windows 10 (10.0.14393, x64)

Thanks!

Lightning quick again for me, 25,000 lines in less than a second.
XML Tools 1.6.1 alone was not enough, I needed VS Code 1.8.1
Thanks for fixing!

Good to hear! It must have been a regression on the VS Code side. No changes made here! Thanks for the help!

"Fomatting" doesn't work on the large XML file about 180,000+ lines.

VS Code: 1.11.2
XML Tools: 1.7.0
Windows 10 (10.0.14393 x64)

Doesn't work on 70MB single line xml.

VS Code: 1.38.1
XML Tools: 2.5.0
Windows 10.0.18362


August Heartbeat Blog post

Projected Publish Date: August 16, 2022
Checklist:

[ ] There are no grammatical errors, jargon, or obvious stylistic issues. (for reviewer to check)
[x] Have images been run through tiny.png?
[ ] Cover image complete
[x] Are all lines 80 characters or less?
[x] Are Oxford commas observed?
[x] Content Creator has done a complete review for typos/language after taking a break from content
[x] links checked in the piece
[x] Have reviewed what the piece looks like on your own [machine using yarn develop](https://dvc.org/doc/user-guide/contributing/docs#development-environment)
[x] changed discuss link
[x] Tweet loves are public tweets

@rogermparent I've checked all the failed Twitter links and they work in an incoginito window.  Correcting the bad github one now...

Ah, yeah, sorry about that. Twitter seems to be blocking our checks, escalating the arms race between our link checker and the checked websites.
Unfortunately, for now we'll just have to ignore the twitter links and hope they're good. I'll try and probe into why they started failing and fix it on the link check end!

@flippedcoder and @SoyGema Have made the changes.  Just need one approval to merge.


Implement revisions for reviews on each edit.

To allow on-application review each time you edit it you can view the differences.

We'll close this and it can be reopened if someone wants it.