WIP: Upgrade to MapLibre 11.0.0

Upgrade MapLibre to major version 11.x.x.
Closes #104
Following things have done for this:

Upgrade MapLibre
a. Update maplibre-native to version 11.0.0
b. Update maplibre-java modules to version 6.0.1
c. Rename affected imports
d. Replace MapLibre hosted mapbox-sdk-services (5.9.0) by Mapbox hosted mapbox-sdk-services (5.8.0) to solve package conflicts. This step was required because the project is currently using some classes from the services module. But the module was removed from the MapLibre project, and therefore not upgraded to the new package name.
Rename Mapbox classes to MapLibre

Things we should thinking about, before release the new major version:

Change package naming/structure. For example remove v5 from path.
Rename the Gradle modules. For example in core & ui.

Please note that the GL drawing is crashing (on emulator ?!) when roating the map. See: https://github.com/maplibre/maplibre-native/issues/2371.

I see always existing Mapbox names on resources that could changed. I will updates this near time.

In favor of maplibre-native#2505 I noticed that the layer IDs of the native project always on mapbox naming. We need a follow up update, if the changes are released on their site.

I tried to rename all Mapbox names to MapLibre. But while we use at the moment Mapbox requests as our default API, it was not very easy to differentiate the components and which names should renamed and which not.
Feel free to have an own look, and give some hints to missing parts. Alternative we can create a follow up PR when we detect missing things.
From my side this PR is ready to merge. A test usage has worked for me.

@boldtrn Can you review this?

Can this PR be merged, or are additional changes needed?

There are still issues, that I need to fix. I'm currently on holiday until august. I will continue working after this.

I'll be happy to test this when it's finished.

Oh dear, there are merge conflicts :/

@Fabi755 Thanks for taking the time to do this! While implementing your changes into our Flitsmeister app we noticed two things in NavigationRoute:

The origin(Point, Double, Double) function on line 239 still uses com.mapbox.geojson.Point instead of org.maplibre.geojson.Point. I see you did change it in the other variant, so the toMapboxPoint() needs to be moved to this one.
The addWayPoint(Point, Double, Double) function on line 314 also uses com.mapbox.geojson.Point instead of org.maplibre.geojson.Point (this also requires the MapLibreRouteFetcher to change to org.maplibre.geojson.Point).
Fixed!

when calculating a route using the NavigationRoute.builder, the app crashes on java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/api/directions/v5/MapboxDirections;. Could also have something to do with adding this sdk as a local aar file to test. I also needed to add retrofit2 dependencies.

In the example project it works fine. Do you use the NavigationRoute from the right package org.maplibre.navigation.android.navigation.ui.v5.route)?

Feel free to test the recent changes again and let me know if something is broken. But I noticed some issue with the location puck (since v11.0.1). I'm not sure yet, whats causing this.

@Fabi755 Thanks, everything seems to work so far! The last time I tested it everything worked on emulator as well, but now the map seems to crash on emulator. I guess I should report that to the native team.

Crashes on the emulator are known issues at the native project. There already exist issues on native project:

https://github.com/maplibre/maplibre-native/issues/2791
https://github.com/maplibre/maplibre-native/issues/2369
https://github.com/maplibre/maplibre-native/issues/2371

But sure, that is more an issue of the native project, and not part of the navigation :+1:

Thanks, I'm subscribing to that issue. Hopefully it can be fixed 🤞

As it's a big refacto, I think it should be merged before other PRs come into conflict with it.

When other things come up, and a conflict will created, it's easy to solve, while this changes are only renamings :-)
But this will merged soon. Review is already in progress.

Ideally the puck flickering will be fixed with the next release of Maplibre-Native https://github.com/maplibre/maplibre-native/pull/2992

The flickering issue has been resolved and this PR should be almost ready to be merged, if anyone finds an issue, please report this very soon or this PR will be merged (we can always include fixes later as well).


"hyprctl cursorpos" shows wrong cursor position

Recently I started using Hyprland and I am pleased to say that it works and looks pretty awesome.
But few days ago, I discovered swww wallpaper manager and I learnt about it's transitions and one of them was [--transition-type grow --transition-pos "$(hyprctl cursorpos)"], which in theory should start it's transition animation from wherever the mouse cursor is at that moment but It is happening opposite to the cursor location {on y-axis}.
So I checked the hyprctl cursorpos command to find the postion of cursor and it is inverted in y-axis.
I checked it on stable as well as git version of Hyprland but it is broken in both versions.

Here cusor is in higher position.

Here cursor is in lower position.
Sorry about not providing screenshots cuz I don't know how to make grim include mouse cursor in screenshot.

Cursor position starts at top left corner.
because your horizontal position (x) stays the same, and you change your vertical (y) position
everything is as expected.

Cursor position starts at top left corner. because your horizontal position (x) stays the same, and you change your vertical (y) position everything is as expected.

yeah here x-axis is same; but isn't y-axis should have higher value as the cursor is higher or in the upper side of monitor but here it is opposite upper side has lower y-coordinate value and lower side has higher y-coordinate value ?

Cursor position starts at top left corner. because your horizontal position (x) stays the same, and you change your vertical (y) position everything is as expected.
Also swww isn't working as expected.
This is the command I am running:
swww img  --transition-type grow --transition-pos "$(hyprctl cursorpos)" --transition-fps 60 --transition-duration 3

Cursor position starts at top left corner. because your horizontal position (x) stays the same, and you change your vertical (y) position everything is as expected.

Also swww isn't working as expected.
This is the command I am running:
swww img --transition-type grow --transition-pos "$(hyprctl cursorpos)" --transition-fps 60 --transition-duration 3

Cursor position starts at top left corner. because your horizontal position (x) stays the same, and you change your vertical (y) position everything is as expected.

yeah here x-axis is same; but isn't y-axis should have higher value as the cursor is higher or in the upper side of monitor but here it is opposite upper side has lower y-coordinate value and lower side has higher y-coordinate value ?

no you are wrong

Cursor position starts at top left corner. because your horizontal position (x) stays the same, and you change your vertical (y) position everything is as expected.

yeah here x-axis is same; but isn't y-axis should have higher value as the cursor is higher or in the upper side of monitor but here it is opposite upper side has lower y-coordinate value and lower side has higher y-coordinate value ?

no you are wrong
If you think this doesn't work as expected, create an issue in swww. The cursor position is returned correctly

Oh now I understand.
I am closing the issue and going to open one in swww repo.


fix(crds): Inline WorkflowSteps schema to generate valid OpenAPI spec

Signed-off-by: Trevor Wood<EMAIL_ADDRESS>Checklist:

[ ] My organization is added to USERS.md.

Well done. I could never figure this out myself.

Well done. I could never figure this out myself.


[Mobile:] Empty Answer Page

Description: P1: None of the answers are displayed
From: https://righton-education.slack.com/archives/C02D6KZ029L/p1668644630351589
Screenshot:

Resolved through: https://github.com/rightoneducation/righton-app/pull/440
To be tested on iOS side


feat: add C implementation for stats/base/dists/weibull/variance

Resolves #3851.
Description

What is the purpose of this pull request?

This pull request:

adds C implementation for stats/base/dists/weibull/variance along with relevant tests, docs, examples and benchmarks.

Related Issues

Does this pull request have any related issues?

This pull request:

Needs #3843 to be resolved

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

/stdlib merge


undefined method `gsub!' for #Arel::InsertManager

Hi !
I'm getting this error using impressionist in my Rails3.1 application, using mysql. I have a Service model which is_impressionable and a impressionist :actions => [:show] in my ServicesController. The error appears only when I add the impressionist line to the controller.
The error is not very descriptive, just a
NoMethodError in ServicesController#show

undefined method `gsub!' for #<Arel::InsertManager:0x0000012a7ac170>

Any ideas will be appreciated!

Hi!
I rebooted my machine and the problem dissapeared ... I really don't know what was causing this issue, but it doesn't seem now to be caused by ``impressionist`. You can delete it if you wish. Sorry !


Random Rows Random Columns Write Crash XLCell object has not been properly initiated

#include <OpenXLSX.hpp>
#include <iostream>
#include <cmath>
#include <time.h>

using namespace std;
using namespace OpenXLSX;

int main()
{
    XLDocument doc;
    doc.create("./Demo01.xlsx");
    auto wks = doc.workbook().worksheet("Sheet1");
    for (size_t i = 0; i < 1000; i++) {
        wks.cell(rand() % 100 + 1, rand() % 100 + 1).value() = "test";
    }
    doc.save();
    doc.close();
    return 0;
}

error msg: XLCell object has not been properly initiated

Windows11、Visual Studio 2022、OpenXLSX master branch(commit b80da42)
Same issue:
https://github.com/troldal/OpenXLSX/issues/122

I modified your example to be more demanding and can not reproduce the issue on Linux / g++. Also, the checks that threw an exception in your case have become obsolete and removed.
Can you check with the current version here whether the below code (or your original one) work now?
I will mark this issue as "ready for closure" and close it in a few days.
#include <OpenXLSX.hpp>
#include <iostream>
#include <cmath>
#include <time.h>

using namespace std;
using namespace OpenXLSX;

int main()
{
    XLDocument doc;
    doc.create("./Demo01.xlsx");
    auto wks = doc.workbook().worksheet("Sheet1");
    for (size_t i = 0; i < 100000; i++) {
        wks.cell(rand() % 10000 + 1, rand() % 5000 + 1).value() = i;
    }
    doc.save();
    doc.close();
    return 0;
}

closing as there's no further feedback from originator and the issue appears appears to no longer occur.


SQLite database can get locked on busy servers

See ticket-0247.
It is unclear what the root cause of this issue is. It appears harmless however, this is only a guess at what the issue is and not to be taken as a diagnoses.
Syncronisation is reportedly not affected and this error, [SQLite_CONSRAINT_NOTNULL], is thrown to proxy

SQLite can get locked due to the implementation using Hikari. Should be separate, as will be the case with HuskHomes v3.

Invalidated via #33


Preprocess Location to Mineral pipeline

Run extraction pipeline on CHTC

Running Location to Mineral extraction pipeline on full dataset on CHTC, ETA: June 13.

NCCL error in some jobs. Will only work on A100-80GB GPUs? (Previous batch worked with the same setup, unsure why this issue occurred.) Resubmitted with this additional restriction.

Hmm when was the previous batch run? And what is the error? We rolled out a small config change to how docker starts up ~2 weeks ago. I'd be shocked if that was the culprit but it's a bit suspicious...

Previous run was like 6 weeks ago? roughly

The error involves the NCCL driver. It seems more related to vllm than CHTC, or possibly their interaction. Using NCCL with a single GPU job doesn't make sense.

Yeah some unexpected configuration or interaction in the CHTC setting is my main concern. It doesn’t really make much sense but these kinds of things have surprised me in the past.
On Thu, Jun 13 2024 at 11:37 AM, Jason Lo<EMAIL_ADDRESS>wrote:
The error involves the NCCL driver. It seems more related to vllm than CHTC, or possibly their interaction. Using NCCL with a single GPU job doesn't make sense.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/UW-xDD/text2graph_llm/issues/51*issuecomment-2166183933__;Iw!!Mak6IKo!JVLyUT-mezNOkH5H4EL8dmn4FCM037r3bmDxT8pKK99pZceAwUn4CpEOloFejPiC7GW0ievNao7yqiY1g-dDcE8h$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AALAW7OOIKK3FS5EEQMNHQDZHHDFBAVCNFSM6AAAAABJEXVSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWGE4DGOJTGM__;!!Mak6IKo!JVLyUT-mezNOkH5H4EL8dmn4FCM037r3bmDxT8pKK99pZceAwUn4CpEOloFejPiC7GW0ievNao7yqiY1g1JK-013$.
You are receiving this because you commented.Message ID: @.***>


Issue with _set_item not consolidating

The following code breaks (though it worked in previous versions of pandas):
import pandas as ps
x = ps.DataFrame(index=[1,2,3], columns=None, data=None)
s = ps.Series(index=[1,2,3], data=[10,20,30])
x['a']=s
x['b']=s2
y = ps.DataFrame(index=[1,2,3], columns=None, data=None)
y['c']=s
y['d']=s2
z = x.join(y, how='outer')
Error:
z = x.join(y, how='outer')
File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 2191, in join
return self._join_index(other, how, lsuffix, rsuffix)
File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 2226, in _join_index
merged_data = join_managers(thisdata, otherdata, axis=1, how=how)
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 983, in join_managers
op = _JoinOperation(left, right, axis=axis, how=how)
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 997, in init
assert(left.is_consolidated())
AssertionError
If I add self._consolidate_inplace() to _set_item it no longer breaks, but I am not sure if this is where you would want to add it.
Thanks!

I fixed this earlier today, it's in git master:
https://github.com/wesm/pandas/issues/331
I'm going to put out a bugfix release within the next week but you can also install from source


Test calls api.

Most of this is setup. We just need to implement permissions for Calls so that the tests pass


Getting "Invalid file format" after opening pdf file.

Failed to download  valid file format after clicking a submit button with javascript set to postback.
I load a website in webview and after clicking the file download button in webview,  it download the file with .pdf extension but when I tried to open it in notification area it prompts me to open it in html app. Then I tried to open it from documents folder where it was downlaoded but it gives error "invalid file format".
Below is the html code of the downlaod button
input type="button" value="Download" onclick="javascript:__doPostBack('GridView1','Account_number$0')">

Still searching for solution. Can anyone help?

having same issue.. any solution?

same issue here


valueFiles was removed but is needed

To remove valueFiles (now exchanged for valueFileSecrets) is a bad move imo, as this obfuscates values that don't need masking, and removes the possibility to do a manual helm install with a values.yaml file, as we can't use that anymore. Please put it back.

valueFiles was only present in a PR branch, and only briefly. Is that what you're referring to? If so, I'm not sure it worked the way you think it did -- specifically, with respect to

removes the possibility to do a manual helm install with a values.yaml file, as we can't use that anymore

-- I don't think it enabled this possibility, any more or less so that valueFileSecrets. But you may be referring to another feature, or there is some interpretation I am missing. Perhaps you could elaborate on how you were expecting to use it, in that case.

There was a conversation on this commit https://github.com/weaveworks/flux/commit/f2c094bb80e566c7ec22406f02b22142602901a4#commitcomment-31251200

I understand. I am already happy I could use the intermediate SealedSecrets to load them :)

OK cool, thanks @Morriz. For the scenario of having a values.yaml file in git that you can use with helm install, you could keep both the values.yaml and the secret created from it, in git; and verify in CI that the latter is correct.


Without GPU why it took so much time???

My host has no GPU. I've injected ~170 M NYC Taxi trip records to MapD and tested some simple queries. The queries were not fulfilled very quickly. For example, this query
$ time echo "select avg(trip_time_in_secs) from trips;" | mapdql mapd

User mapd connected to database mapd
EXPR$0
811.999942
User mapd disconnected from database mapd
real	2m22.165s
user	0m0.004s
sys	0m0.016s

During the query, i observed ~20MB/s of data read rate. Assumed that 170M rows of 'trip_time_in_secs' values take 300MB after compression, it shouldn't take ~2.5 minutes to finish the query above.
Anything i can do to improve the performance?

Is this from cold cache? What happens if you run the query again?

Wow! Thanks for the prompt response!
Yes, 2.5min was from cold cache. If not cold, the same query is finished in a second.
Why does it take MapD so long to read 170M integers from disk at 20MB/s rate?

I don't know, 20MB/s does sound pretty low indeed. We see much better throughput on our servers, is this a spinning disk by any chance? That being said, the assumption of the product is that the workload fits in memory, once it's warmed up queries will be fast.

How did you load the data into the system?
Did you use a bulk load COPY FROM statement?
Could you share the logs of the DB startup plus the first query?

@asuhan. I got your point but if i toggle between querying 2 or more different columns i always got >20s response time. That seems not practical for interactive (<3s) query purpose; for example, a web page may issue 10+ queries on different columns.
My host has 1GB available memory while i guess 170M x 2 columns should take less than that amount of memory.

@dwayneberry. Yes, i used COPY FROM. It took few tens of minutes to load the data.
Here is the startup log:
E0908 12:11:42.807757 13196 MapDHandler.cpp:169] This build isn't CUDA enabled, will run on CPU
Thrift: Fri Sep  8 12:11:42 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
Thrift: Fri Sep  8 12:11:43 2017 TSocket::open() connect() <Host: localhost Port: 9093>Connection refused
E0908 12:11:43.788535 13196 MapDHandler.cpp:201] No GPUs detected, falling back to CPU mode
Received 1

1GB is way, way too little memory. We don't optimize for that case. It does take less than that amount memory, but it's extremely marginal and there are other things, both on the system and in the executable, which use memory as well.

What i mean 1GB free memory is after loading mapd-server. I would guess it is sufficient to hold 170M of two columns in memory w/o thrashing :)
My use case is simply to compare simply queries among different columnar databases like MapD and others like Clickhouse.

The reason it's using more than 1GB is probably the way our pooled memory allocation works. It's fairly configurable and we could expose an option to make it work under this type of memory pressure. That doesn't mean we should, though; running on a system which has 1GB of memory left is not a goal of the project.

Got it. Thanks!

BTW. FYI. On the same host and environment, WITHOUT data cached, ClickHouse finished the same query in ~20 secs. WITH data cached, it took <1s like MapD does.
Still, MapD is doing great without index. Keep on the excellent project!

My gaming desktop has a troughput in disk of 500mb/sec on a single sata ssd disk
Ottieni Outlook per iOShttps://aka.ms/o0ukef

From: Flea Papa<EMAIL_ADDRESS>Sent: Friday, September 8, 2017 9:33:54 PM
To: mapd/mapd-core
Cc: Subscribed
Subject: Re: [mapd/mapd-core] Without GPU why it took so much time??? (#68)
Wow! Thanks for the prompt response!
Yes, 2.5min was from cold cache. If not cold, the same query is finished in a second.
Why does it take MapD so long to read 170M integers from disk at 20MB/s rate?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/mapd/mapd-core/issues/68#issuecomment-328194508, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AdZQl9Q0X3bjwgOhdiXs43RVCezmIwiiks5sgZaigaJpZM4PRmLu.

@asuhan,

The reason it's using more than 1GB is probably the way our pooled memory allocation works. It's fairly configurable and we could expose an option to make it work under this type of memory pressure. That doesn't mean we should, though; running on a system which has 1GB of memory left is not a goal of the project.

In my opinion, the issue (at least for my test case) seem more related with how MapD loads and processes cold data than with memory pressure because, after i added another 1GB memory to my (VM) host, the same query still took 2m50s. After the query, free memory is 700+MB, so memory seems still ample :)
I know my disk is slow, but my test is comparative versus another two databases, one of which is columnar and another is row based, with identical h/w environment.
Sorry to comment after this issue is closed.

@fleapapa
Could you please include a compete log of the server startup including the execution of the first query.  This will help us identify the delay you are experiencing.  Is the machine a virtual machine or bare metal?
thanks

@dwayneberry , where can i find the complete log other than the one i posted previously?

@fleapapa That log you sent earlier is the correct one, its just only had the first few lines of the startup.  Restart the server. run your query. stop the server.  then send us the mapd_server.INFO.log

@dwayneberry. I did it again but the log shown on my screen looks the same as the previous one.
I can't find any file named mapd_server.INFO.log on my filesystem.
i started the mapd server using the following command:
mapd/bin/mapd_server  --data /mnt/trip/mapd/data

@fleapapa The file is just mapd_server.INFO it is a symbolic link to the latest log.  In your case it should be in /mnt/trip/mapd/data\mapd_log\mapd_server.INFO

@dwayneberry, here you go:
cat /mnt/trip/mapd/data/mapd_log/mapd_server.INFO
Log file created at: 2017/09/08 17:22:15
Running on machine: osboxes
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0908 17:22:15.659196  4637 MapDServer.cpp:602] MapD started with data directory at '/mnt/trip/mapd/data'
I0908 17:22:15.705051  4637 MapDServer.cpp:609]  Watchdog is set to 1
I0908 17:22:15.705080  4637 MapDServer.cpp:631]  cuda block size 0
I0908 17:22:15.705093  4637 MapDServer.cpp:632]  cuda grid size  0
I0908 17:22:15.705106  4637 MapDServer.cpp:633]  calcite JVM max memory  1024
I0908 17:22:15.705118  4637 MapDServer.cpp:634]  MapD Server Port  9091
I0908 17:22:15.705132  4637 MapDServer.cpp:635]  MapD Calcite Port  9093
I0908 17:22:15.705180  4637 MapDHandler.cpp:162] MapD Server 3.2.1-20170826-327e7ee
E0908 17:22:15.705200  4637 MapDHandler.cpp:169] This build isn't CUDA enabled, will run on CPU
I0908 17:22:15.706996  4637 DataMgr.cpp:120] cpuSlabSize is 1908.94M
I0908 17:22:15.715643  4637 FileMgr.cpp:116] Read table metadata, Epoch is 0 for table data at '/mnt/trip/mapd/data/mapd_data/table_0_0/'
I0908 17:22:15.716774  4637 Calcite.cpp:156] Creating Calcite Handler,  Calcite Port is 9093 base data dir is /mnt/trip/mapd/data
I0908 17:22:15.716797  4637 Calcite.cpp:95] Running calcite server as a daemon
I0908 17:22:16.558720  4637 Calcite.cpp:124] Calcite server start took 800 ms
I0908 17:22:16.558768  4637 Calcite.cpp:125] ping took 30 ms
I0908 17:22:16.571445  4637 Calcite.cpp:281] [{"name":"Tan","ret":"double","args":["double"]},{"name":"Truncate__","ret":"float","args":["float","i32"]},{"name":"ln","ret":"double","args":["double"]},{"name":"Floor__2","ret":"i32","args":["i32"]},{"name":"Floor__3","ret":"i64","args":["i64"]},{"name":"rect_pixel_bin","ret":"float","args":["float","float","float","i32","i32"]},{"name":"Floor__1","ret":"i16","args":["i16"]},{"name":"degrees","ret":"double","args":["double"]},{"name":"approx_distance_in_meters","ret":"double","args":["float","float","float","float"]},{"name":"Ceil__2","ret":"i32","args":["i32"]},{"name":"Ceil__1","ret":"i16","args":["i16"]},{"name":"Ceil__3","ret":"i64","args":["i64"]},{"name":"Log10","ret":"double","args":["double"]},{"name":"Log","ret":"double","args":["double"]},{"name":"distance_in_meters","ret":"double","args":["double","double","double","double"]},{"name":"round_to_digit","ret":"double","args":["double","i32"]},{"name":"Atan2","ret":"double","args":["double","double"]},{"name":"Acos","ret":"double","args":["double"]},{"name":"Sin","ret":"double","args":["double"]},{"name":"Ceil","ret":"double","args":["double"]},{"name":"distance_in_meters__","ret":"double","args":["float","float","float","float"]},{"name":"Floor__","ret":"float","args":["float"]},{"name":"Truncate","ret":"double","args":["double","i32"]},{"name":"radians","ret":"double","args":["double"]},{"name":"Ceil__","ret":"float","args":["float"]},{"name":"ln__","ret":"double","args":["float"]},{"name":"reg_hex_vert_pixel_bin_y","ret":"float","args":["float","float","float","float","float","float","float","float","float","float","i32","i32"]},{"name":"reg_hex_vert_pixel_bin_x","ret":"float","args":["float","float","float","float","float","float","float","float","float","float","i32","i32"]},{"name":"Round","ret":"double","args":["double"]},{"name":"power","ret":"double","args":["double","double"]},{"name":"conv_4326_900913_x","ret":"double","args":["double"]},{"name":"reg_hex_horiz_pixel_bin_y","ret":"float","args":["float","float","float","float","float","float","float","float","float","float","i32","i32"]},{"name":"conv_4326_900913_y","ret":"double","args":["double"]},{"name":"Atan","ret":"double","args":["double"]},{"name":"reg_hex_horiz_pixel_bin_x","ret":"float","args":["float","float","float","float","float","float","float","float","float","float","i32","i32"]},{"name":"Floor","ret":"double","args":["double"]},{"name":"Truncate__1","ret":"i16","args":["i16","i32"]},{"name":"Truncate__2","ret":"i32","args":["i32","i32"]},{"name":"Truncate__3","ret":"i64","args":["i64","i32"]},{"name":"Cos","ret":"double","args":["double"]},{"name":"Log__","ret":"double","args":["float"]},{"name":"Log10__","ret":"double","args":["float"]},{"name":"Asin","ret":"double","args":["double"]},{"name":"Cot","ret":"double","args":["double"]},{"name":"Tan__","ret":"double","args":["float"]},{"name":"rect_pixel_bin_x","ret":"float","args":["float","float","float","float","float","i32"]},{"name":"rect_pixel_bin_y","ret":"float","args":["float","float","float","float","float","i32"]},{"name":"pi","ret":"double","args":[]},{"name":"Exp","ret":"double","args":["double"]}]
E0908 17:22:16.572005  4637 MapDHandler.cpp:201] No GPUs detected, falling back to CPU mode
I0908 17:22:16.572693  4637 MapDHandler.cpp:210] Started in CPU mode
I0908 17:22:28.388641  4652 MapDHandler.cpp:359] User mapd connected to database mapd
I0908 17:22:28.392401  4652 MapDHandler.cpp:555] sql_execute :vl1WlQUyxzSUB9t7HYzzcdzAwoB7CZ8z:query_str:select avg(trip_distance) from trips;
I0908 17:22:28.393018  4652 Calcite.cpp:247] User mapd catalog mapd sql 'select avg(trip_distance) from trips;'
I0908 17:22:30.168512  4654 FileMgr.cpp:116] Read table metadata, Epoch is 310 for table data at '/mnt/trip/mapd/data/mapd_data/table_1_1/'
I0908 17:24:15.675556  4652 Calcite.cpp:260] Time in Thrift 14 (ms), Time in Java Calcite server 107268 (ms)
I0908 17:24:15.708613  4669 BufferMgr.cpp:266] ALLOCATION slab of 3909516 pages<PHONE_NUMBER>B) created in 0 ms CPU_MGR:0
I0908 17:25:15.353220  4652 MapDHandler.cpp:567] sql_execute-COMPLETED Total: 166960 (ms), Execution: 166956 (ms)
I0908 17:25:15.354565  4652 MapDHandler.cpp:369] User mapd disconnected from database mapd

@fleapapa Thanks for the log
The issue does appear to be stemming from your slow (extremely slow) disk access speeds.  it is not related to your memory footprint directly (there could be knock on memory issues that slow disk processing down due to OS caching and flushing etc)
Accesses that on a regular machine that take .8 secs are taking 107 secs on your machine.
Here is an equivalent log from a machine with a 180M taxi dataset during first query of that table and column.
I0908 20:55:12.880648 32350 MapDHandler.cpp:2302] User mapd sets CPU mode.
I0908 20:55:16.445469 32350 MapDHandler.cpp:555] sql_execute :s0XKrGNswtuPTNpg9U0IWHeGnX8KTcH9:query_str:select avg(trip_distance) from nyc_taxi_nolion_2014;
I0908 20:55:16.445830 32350 Calcite.cpp:247] User mapd catalog mapd sql 'select avg(trip_distance) from nyc_taxi_nolion_2014;'
I0908 20:55:16.956212 32344 FileMgr.cpp:116] Read table metadata, Epoch is 697 for table data at '/raidStorage/prod/mapd-storage/data/mapd_data/table_1_8/'
I0908 20:55:17.293797 32350 Calcite.cpp:260] Time in Thrift 5 (ms), Time in Java Calcite server 842 (ms)
I0908 20:55:17.317417 32355 BufferMgr.cpp:266] ALLOCATION slab of 8388608 pages<PHONE_NUMBER>B) created in 0 ms CPU_MGR:0
I0908 20:55:17.687477 32350 MapDHandler.cpp:567] sql_execute-COMPLETED Total: 1241 (ms), Execution: 1241 (ms)

the time between this line
I0908 20:55:16.956212 32344 FileMgr.cpp:116] Read table metadata, Epoch is 697 for table data at '/raidStorage/prod/mapd-storage/data/mapd_data/table_1_8/'

and this line
I0908 20:55:17.293797 32350 Calcite.cpp:260] Time in Thrift 5 (ms), Time in Java Calcite server 842 (ms)

is the time to read the metadata for the file
In a more normal case, like this it occurs first time from cold in about 800ms
In your case it is taking over 107 secs.
During this time MapD brings in all the metadata for all the columns of the table regardless of what the specific query is actually going to touch, so it is one time cost for the entire table.  These can be a large number of fairly small reads, so it is worse in your bad IO situation.  We have discussed options in this area in general to reduce the granularity of these reads, which would significantly improve your situation.
I can't speak to the other platforms but perhaps they amortize this across the different queries depending on how they manage their on disk representations and metadata (so perhaps the next column you touch will take another 20 secs etc).
In the second part of the process when we bring in the real data assuming the trip_distance is a decimal(14,2) there is about 170M x 8 bytes of data to load, so at 20MB/s there is about 68 seconds of transfer time to so the additional 60 seconds in you log lines up appropriately.
I0908 17:24:15.708613 4669 BufferMgr.cpp:266] ALLOCATION slab of 3909516 pages<PHONE_NUMBER>B) created in 0 ms CPU_MGR:0
I0908 17:25:15.353220 4652 MapDHandler.cpp:567] sql_execute-COMPLETED Total: 166960 (ms),

and basically something less than a second to do the actual query on the loaded data.
So no real mystery here other than a slow disk and a different model of when and how disk information is transfered to system I think

@dwayneberry, thanks a lot for the analysis. I really appreciate it!
First of all my disclaimer: I am not an employee of or affiliated with any of the companies which own the databases that i'm testing. For my current company project I'm simply trying to find an OLAP database that is best suitable for hundreds of TBs of network metrics (from reports by millions of endpoint per minute with each report of size 10KB) stored on general-purpose bare-metal storages and servers hosted in ordinary data centers.

I can't speak to the other platforms but perhaps they amortize this across the different queries depending on how they manage their on disk representations and metadata (so perhaps the next column you touch will take another 20 secs etc).
In the second part of the process when we bring in the real data assuming the trip_distance is a decimal(14,2) there is about 170M x 8 bytes of data to load, so at 20MB/s there is about 68 seconds of transfer time to so the additional 60 seconds in you log lines up appropriately.

Just did a fresh reboot of my VM as well as the other database i'm testing. The table i test has only 14 columns. Here is part of the schema relevant to the queries i'm testing for comparison.
_c7    tinyint,              # passenger_count
_c8    integer,              # trip_time_in_secs
_c9    float,                # trip_distance
Here is the three queries submitted immediately after system/database boot up.
:) set max_threads=4;
Ok.
0 rows in set. Elapsed: 0.007 sec.
:) select avg(_c9) from trip;
1 rows in set. Elapsed: 25.058 sec. Processed 172.04 million rows, 688.15 MB (6.87 million rows/s., 27.46 MB/s.)
:) select avg(_c8) from trip;
1 rows in set. Elapsed: 14.164 sec. Processed 172.04 million rows, 344.07 MB (12.15 million rows/s., 24.29 MB/s.)
:) select avg(_c7) from trip;
1 rows in set. Elapsed: 4.639 sec. Processed 172.04 million rows, 172.04 MB (37.08 million rows/s., 37.08 MB/s.)
Finally, my only point has been that MapD (cold) data access management has some space to improve.
Thanks again for deeply investigating my case. I really appreciate it!

By the way, i'm going to setup another VM with a faster disk and larger memory for the same comparison test. Will update later.

@fleapapa
Thanks for your detailed response.  We are always trying to improve all of MapD, currently we are not specifically focused on the cold load times, but we certainly have some places we know we can improve, so your feedback and experience is much appreciated.
Based on your use case I'm curious why cold start time is such a big issue?  Its seems steady state with constant insert would be more your area of key concern/focus.
As you are running on CPU, may I ask how many cores are available in the VM you are running?  With a dataset of only 170M our defaults would only be using 6 cores regardless of how many are available.
As a curiosity for myself I would be interested to see the times from the other database (I'm guessing clickhouse from the prompt :) )  when you include some kind of filter in the query?  Simply run a select avg(_c9) from trip  where _c8 = 2;

@dwayneberry, thanks for response again.
Quote:

Based on your use case I'm curious why cold start time is such a big issue? Its seems steady state with constant insert would be more your area of key concern/focus.

For columnar databases, heavy constant insert seems not a big issue. That's one of the reasons why i proposed to fork input data stream to a columnar database and gradually moving away from existing non-columnar databases. Interactive query is another (big) reason of doing so. Currently we're using a document-based NoSQL database to store JSON documents of network metrics, each of which is deeply nested of subdocuments. Our dashboard needs to show some hours up to 90 days of historical charts of various reported metrics for each or all devices of a user (who dials a service call) in 3 seconds. Due to our data volume, using all SSD incurs high cost, so a big portion of data is stored in spinning disks. The document database has no problem on quickly locating and loading cold data of a user into memory, but with our denormalized schema the database's aggregation pipeline incurs very high overhead, even for a simple query of one metric, making the system not perform well on serving high volume of customer service calls and simultaneous mobile app accesses. That's why i tried to migrate to a MPP database or columnar database.  With most columnar databases discouraging indexing and favoring all-in-memory operation, cold start time is critical to response time of our dashboard due to the following reasons:

again, our data can't fit all in memory
the system can't know in advance which user will make service call and what data to cache (i'm trying change this by machine learning:)
each page of the dashboard needs to pull dozens of metrics (join is inevitable)

We can't make any customer (representative) wait for a few minutes before starting to diagnose his network problem, right:?

As you are running on CPU, may I ask how many cores are available in the VM you are running? With a dataset of only 170M our defaults would only be using 6 cores regardless of how many are available.

The VM used in previous tests has only 2 cores. I am setting up another VM which will have 6 cores. (i can access couples of big EC2 with big SSD, but those can not be our final production environment:)

As a curiosity for myself I would be interested to see the times from the other database (I'm guessing clickhouse from the prompt :) ) when you include some kind of filter in the query? Simply run a select avg(_c9) from trip where _c8 = 2;

On my 2-core VM (with a slow disk), the time is:

:) select avg(_c9) from trip where _c8 = 2;
1 rows in set. Elapsed: 26.338 sec. Processed 172.04 million rows, 689.79 MB (6.53 million rows/s., 26.19 MB/s.)

But the time (of cold start) is much shorter if the column in filter is part of primary index:
:)          select avg(_c8) from trip where _c5>'2013-01-01 00:00:00' and _c5<'2013-02-01 23:00:00'
1 rows in set. Elapsed: 1.332 sec. Processed 15.07 million rows, 90.44 MB (11.31 million rows/s., 67.89 MB/s.)
I will update you soon with the times (and comparisons:) on the 6-core VM with faster disk which you're interested. Please stay tune :)

@dwayneberry, here comes "cold start" results from the other database after boot up on a 6-core VM with 5GB free memory and a SATA 6 Gb/s 7200 RPM Hard Drive:

:) select avg(_c8) from trip;
1 rows in set. Elapsed: 3.627 sec. Processed 172.09 million rows, 344.17 MB (47.44 million rows/s., 94.88 MB/s.)

With an indexed column in filter condition, the time is:

:) select avg(_c8) from trip where _c5>'2013-01-01 00:00:00' and _c5<'2013-02-01 23:00:00'
1 rows in set. Elapsed: 0.065 sec. Processed 15.32 million rows, 91.90 MB (235.35 million rows/s., 1.41 GB/s.)

The query that you're interested:

:) select avg(_c9) from trip where _c8 = 2;
1 rows in set. Elapsed: 5.353 sec. Processed 172.09 million rows, 705.05 MB (32.15 million rows/s., 131.72 MB/s.)

Will post result from MapD tomorrow after installing it on this VM tomorrow...

@dwayneberry, here is the result of queries, each of which was done right after MapD boot up:
Aggregation w/o a filter:

$ time echo "select avg(trip_distance) from trips;" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MAPD_PASSWORD
User mapd connected to database mapd
EXPR$0
10.433180
User mapd disconnected from database mapd
real	1m6.061s
user	0m0.000s
sys	0m0.008s

Reboot MapD and query with a filter:

$ time echo "select avg(trip_distance) from trips where trip_time_in_secs=2;" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MA
PD_PASSWORD
User mapd connected to database mapd
EXPR$0
5.187741
User mapd disconnected from database mapd
real	1m14.031s
user	0m0.004s
sys	0m0.000s

Reboot MapD and query with another filter:

$ time echo "select avg(trip_distance) from trips where pickup_datetime>'2013-01-01 00:00:00' and pickup_datetime<'2013-02-01 23:00:00';" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MAPD_PASSWORD
User mapd connected to database mapd
EXPR$0
3.400610
User mapd disconnected from database mapd
real	1m8.699s
user	0m0.008s
sys	0m0.000s

The results seem consistent.
I also redid test on the other columnar db and updated the results in previous cell. System cache was cleared and the db was restarted before each query was submitted.
Comparing the result of the range query, my take-away is that index does help a lot especially on fast cold start of a small range of data that is usually seen in interactive web/mobile applications.

By the way, in my test both databases perform almost equally well after cold data has been loaded in memory.
With MapD:

$ time echo "select avg(trip_distance) from trips;" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MAPD_PASSWORD
User mapd connected to database mapd
EXPR$0
10.433180
User mapd disconnected from database mapd
real	0m0.213s
user	0m0.000s
sys	0m0.000s
$ time echo "select avg(trip_distance) from trips;" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MAPD_PASSWORD
User mapd connected to database mapd
EXPR$0
10.433180
User mapd disconnected from database mapd
real	0m0.210s
user	0m0.004s
sys	0m0.000s

With the other database:

:) select avg(_c9) from trip;
┌──────────avg(_c9)─┐
│ 8.338322625856835 │
└───────────────────┘
1 rows in set. Elapsed: 0.321 sec. Processed 172.09 million rows, 688.35 MB (420.63 million rows/s., 1.68 GB/s.)
:) select avg(_c9) from trip;
┌──────────avg(_c9)─┐
│ 8.338322625855596 │
└───────────────────┘
1 rows in set. Elapsed: 0.322 sec. Processed 172.09 million rows, 688.35 MB (533.73 million rows/s., 2.13 GB/s.)

Considering the overhead bash forks a process, i guess MapD is bits faster in this case. From source code, it seems MapD dynamically generates LLVM IR code while the other database does not. I suspect whether the small performance gain can really justify the more complexity and, IMO, less flexibility of IR code generation. What i mean flexibility here is approximately the development cost of modifying/creating related IR-generation source code when changing/adding a SQL query. (implementing a SQL query in C++ is much easier than in IR, i guess)

@fleapapa I think some of the initial cold load slowness is because we by default reserve the CPU buffer pool in 4GB chunks, which means that you are swapping.
You can control the CPU buffer pool size with the --cpu-buffer-mem-bytes on mapd_server .
(Note: just saw that you increased the RAM allocated to the VM, still lowering the buffer pool size could help some).
In general users can get close to saturating SSD read bandwidth (500-1GB/sec) and we've seen figures north of 2GB/sec on RAIDed systems.  We haven't spent much time tuning for spinning disk since most of our users use SSDs.
With the right memory sizing (and making sure fragment_size is set correctly to spread the data across all available threads) I think you'll find MapD on CPU to be significantly faster than ClickHouse.  For example, in the benchmarks here (http://tech.marksblogg.com/benchmarks.html) we can still run the first query in 200ms on CPU.  A lot of this speedup is from dynamic compilation of query plans.

I should also add that much of the benefits of query compilation emerge with more complicated queries as compilation means you don't have to materialize intermediate results after each operation.

@tmostak, thank you for the comment.
I changed --cpu-buffer-mem-bytes setting, cleaned file cache and restart mapd server

mapd/bin/mapd_server  --data /mnt/trip/mapd/data --cpu-buffer-mem-bytes<PHONE_NUMBER>

but the query still took similar time.

$ time echo "select avg(trip_distance) from trips;" | mapd/bin/mapdql mapd     -u $MAPD_USERNAME     -p $MAPD_PASSWORD
User mapd connected to database mapd
EXPR$0
10.433180
User mapd disconnected from database mapd
real	1m6.457s
user	0m0.004s
sys	0m0.000s

I'm sure my VM has 4+GB free memory after mapd started. A 1GB chunk of cpu buffer should be more than enough to hold 170M values of a column.
The time taken seem much more than "ideal" I/O time of 170M values of a column per transfer rate of my SATA hard drive.
Could you please elaborate about what i should add to the command line to tune fragment_size for my 6-core VM?
By the way, as i described previously, depending on the duration that our (ISP) customers require us to retain the data, our data size can be from 100s TB to few PBs while data within last 7 days are frequently accessed and vice versa. However, (small) range queries from our dashboard need to span any datetime interval. Currently we periodically move cold data from SDD to spinning disks for x10 better cost effectiveness. Losing a bid once due to higher price tag makes us cost sensitive.


Feature/frontend widget

Current coverage is 92.25% (diff: 89.76%)

No coverage report found for master at 04a83bb.

Powered by Codecov. Last update 04a83bb...09bc171


Installing requirements error on OS X

After running "python kickthemout.py", I get this error:
ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt
I've done this and it gives me this error:
Requirement already satisfied: scapy in /anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Is kickthemout not recognizing that I already have installed scapy?

soo from what i saw up until now you have to not install scapy through pip but rather install scapy through home brew, which also does not seem to work at least for me, i get this message that says the formula does not exist.
in my case what happened was that i installed scapy through the requirements.txt file the other stuff through homebrew but after all that is done i get a network error.

try what is discussed in the link
https://github.com/k4m4/kickthemout/issues/57

Hi there. Check out the following issues: #13, #7 & #10. Please let me know if this resolves your issue. Thanks.


Fix return codes getting reset after piping to tee

The change to pipe the output to tee cause the return code to be reset to 0, this fixes that

approve assuming you tested this with at least a couple repo ports?

yep tested with zotsampleport (setting ZOPEN_CONFIGURE/MAKE/INSTALL to return non-zero) and also with autoconfport


fixing bug when running docker-compose up on M1 chip

Fixing the following problem when running docker-compose up on a M1 chip:
sudo docker-compose up
[+] Running 0/1
 ⠦ ogmios Pulling                                                          1.6s
[+] Building 0.0s (1/2)
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 2B                                         0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1441934098/Dockerfile: no such file or directory

This change still works on my Windows machine. Thanks for finding this!


cmp was removed in Python 3

A partial solution to #33
#!/usr/bin/env python2

for ab in (["a", "b"],
           ["a", "bb"],
           ["aa", "b"],
           ["aa", "bbb"],
           ["aaa", "bb"],
           ["", "b"]):
    old = ab[:]
    old.sort(lambda a, b: -cmp(len(a), len(b)))
    new = ab[:]
    new.sort(key=len, reverse=True)
    print(ab, old, new)
    assert old == new

By the way, have you yet attempted to run wraptypes under Python 3?


Add Karol S. Mazur's blog

I run a blog about iOS development. Thanks for this resource @daveverwer!

Thanks!


installing speed

Hello thank you for the amazing app, but i have question about speed.
i have Original SanDisk 80mb/s class 10 128gb, my highest speed is 1.40 mib/s is this normal?

yes


I am unable to install Spyder anymore with pip(probably PyQt problem)

Issue Report Checklist

[x] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I had to reinstall python (3.10) on my M1 Mac. After that I cannot install Spyder anymore. When I try "pip install spyder" it dies installing PyQt5. There are no version < 5.14 PyQt5 available on pypi.org. What version does Spyder require? On my other Macs I have PyQt5 5.12.3, but it is not available from pipit.org anymore.
What steps reproduce the problem?

Reinstall python 3.10
True to install Spyder with pip/

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

{21-10-13 16:15}LittleMacM1:~ gyuri% pip install spyder
Collecting spyder
  Using cached spyder-5.1.5-py3-none-any.whl (14.8 MB)
Collecting qtpy>=1.5.0
  Using cached QtPy-1.11.2-py2.py3-none-any.whl (58 kB)
Collecting nbconvert>=4.0
  Using cached nbconvert-6.2.0-py3-none-any.whl (553 kB)
Collecting intervaltree>=3.0.2
  Using cached intervaltree-3.1.0.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Collecting chardet>=2.0.0
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting atomicwrites>=1.2.0
  Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting python-lsp-server[all]<1.3.0,>=1.2.2
  Using cached python_lsp_server-1.2.4-py3-none-any.whl (55 kB)
Collecting qtawesome>=1.0.2
  Using cached QtAwesome-1.0.3-py3-none-any.whl (863 kB)
Collecting qtconsole>=5.1.0
  Using cached qtconsole-5.1.1-py3-none-any.whl (119 kB)
Collecting spyder
  Using cached spyder-5.1.4-py3-none-any.whl (14.8 MB)
  Using cached spyder-5.1.3-py3-none-any.whl (14.8 MB)
  Using cached spyder-5.1.2-py3-none-any.whl (14.8 MB)
  Using cached spyder-5.1.1-py3-none-any.whl (10.7 MB)
  Using cached spyder-5.0.5-py3-none-any.whl (10.6 MB)
Requirement already satisfied: setuptools>=39.0.0 in ./python3/lib/python3.10/site-packages (from spyder) (57.4.0)
Collecting jedi==0.17.2
  Using cached jedi-0.17.2-py2.py3-none-any.whl (1.4 MB)
Collecting spyder
  Using cached spyder-5.0.4-py3-none-any.whl (10.6 MB)
  Using cached spyder-5.0.3-py3-none-any.whl (10.6 MB)
Collecting spyder-kernels<2.1.0,>=2.0.3
  Using cached spyder_kernels-2.0.5-py2.py3-none-any.whl (66 kB)
Collecting spyder
  Using cached spyder-5.0.2-py3-none-any.whl (10.6 MB)
  Using cached spyder-5.0.1-py3-none-any.whl (10.6 MB)
  Using cached spyder-5.0.0-py3-none-any.whl (10.6 MB)
  Using cached spyder-4.2.5-py3-none-any.whl (10.5 MB)
Collecting spyder-kernels<1.11.0,>=1.10.2
  Using cached spyder_kernels-1.10.3-py2.py3-none-any.whl (65 kB)
Collecting spyder
  Using cached spyder-4.2.4-py3-none-any.whl (10.5 MB)
  Using cached spyder-4.2.3-py3-none-any.whl (10.5 MB)
  Using cached spyder-4.2.2-py3-none-any.whl (10.5 MB)
  Using cached spyder-4.2.1-py3-none-any.whl (10.9 MB)
  Using cached spyder-4.1.6-py3-none-any.whl (10.7 MB)
Collecting qtawesome<1.0.0,>=0.5.7
  Using cached QtAwesome-0.7.3-py2.py3-none-any.whl (832 kB)
Collecting numpydoc<1.0.0,>=0.6.0
  Using cached numpydoc-0.9.2.tar.gz (27 kB)
  Preparing metadata (setup.py) ... done
Collecting sphinx<=1.8.5,>=0.6.6
  Using cached Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB)
Collecting nbconvert<6.0,>=4.0
  Using cached nbconvert-5.6.1-py2.py3-none-any.whl (455 kB)
Collecting diff-match-patch==20181111
  Using cached diff-match-patch-20181111.tar.gz (58 kB)
  Preparing metadata (setup.py) ... done
Collecting qtconsole<5.0.0,>=4.6.0
  Using cached qtconsole-4.7.7-py2.py3-none-any.whl (118 kB)
Collecting applaunchservices<1.0.0,>=0.1.7
  Using cached applaunchservices-0.2.1-py3-none-any.whl (6.1 kB)
Collecting pygments<=2.5.2,>=2.0
  Using cached Pygments-2.5.2-py2.py3-none-any.whl (896 kB)
Collecting spyder
  Using cached spyder-4.1.5-py3-none-any.whl (10.7 MB)
Collecting keyring
  Using cached keyring-23.2.1-py3-none-any.whl (33 kB)
Collecting watchdog
  Using cached watchdog-2.1.6-cp310-cp310-macosx_11_0_arm64.whl (86 kB)
Collecting pickleshare>=0.4
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting cloudpickle>=0.5.0
  Using cached cloudpickle-2.0.0-py3-none-any.whl (25 kB)
Collecting psutil>=5.3
  Using cached psutil-5.8.0.tar.gz (470 kB)
  Preparing metadata (setup.py) ... done
Collecting qdarkstyle>=2.8
  Using cached QDarkStyle-3.0.2-py2.py3-none-any.whl (453 kB)
Collecting spyder
  Using cached spyder-4.1.4-py3-none-any.whl (10.7 MB)
  Using cached spyder-4.1.3-py3-none-any.whl (10.6 MB)
Collecting jedi==0.15.2
  Using cached jedi-0.15.2-py2.py3-none-any.whl (1.1 MB)
Collecting spyder
  Using cached spyder-4.1.2-py3-none-any.whl (10.6 MB)
  Using cached spyder-4.1.1-py3-none-any.whl (10.6 MB)
  Using cached spyder-4.1.0-py3-none-any.whl (10.2 MB)
  Using cached spyder-4.0.1-py3-none-any.whl (10.1 MB)
Collecting pyzmq
  Using cached pyzmq-22.3.0-cp310-cp310-macosx_10_15_universal2.whl (2.0 MB)
Collecting pylint
  Using cached pylint-2.11.1-py3-none-any.whl (392 kB)
Collecting pexpect
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting spyder
  Using cached spyder-4.0.0-py3-none-any.whl (10.1 MB)
  Using cached spyder-3.3.6-py3-none-any.whl (2.8 MB)
Collecting jedi>=0.9.0
  Using cached jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
Collecting pyflakes
  Using cached pyflakes-2.4.0-py2.py3-none-any.whl (69 kB)
Collecting rope>=0.10.5
  Using cached rope-0.20.1.tar.gz (257 kB)
  Preparing metadata (setup.py) ... done
Collecting spyder
  Using cached spyder-3.3.5-py3-none-any.whl (2.8 MB)
  Using cached spyder-3.3.4-py3-none-any.whl (2.8 MB)
Collecting spyder-kernels<1.0,>=0.4.3
  Using cached spyder_kernels-0.5.2-py2.py3-none-any.whl (42 kB)
Collecting pygments>=2.0
  Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Collecting spyder
  Using cached spyder-3.3.3-py3-none-any.whl (2.8 MB)
  Using cached spyder-3.3.2-py3-none-any.whl (2.8 MB)
Collecting pycodestyle
  Using cached pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
Collecting sphinx
  Using cached Sphinx-4.2.0-py3-none-any.whl (3.1 MB)
Collecting numpydoc
  Using cached numpydoc-1.1.0-py3-none-any.whl (47 kB)
Collecting spyder
  Using cached spyder-3.3.1-py3-none-any.whl (2.7 MB)
  Using cached spyder-3.3.0-py3-none-any.whl (2.7 MB)
  Using cached spyder-3.2.8-py3-none-any.whl (3.5 MB)
  Using cached spyder-3.2.7-py3-none-any.whl (3.5 MB)
  Using cached spyder-3.2.6-py3-none-any.whl (2.7 MB)
Collecting pyqt5
  Using cached PyQt5-5.15.4.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp_m_4_wmb
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_b84b36b2d73849338d4eebaf8b9a73f6
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 587, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_b84b36b2d73849338d4eebaf8b9a73f6/project.py", line 63, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 234, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-0wdpr85b/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 67, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8e/a4/d5e4bf99dd50134c88b95e926d7b81aad2473b47fde5e3e4eac2c69a8942/PyQt5-5.15.4.tar.gz#sha256=2a69597e0dd11caabe75fae133feca66387819fc9bc050f547e5551bce97e5be (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp_m_4_wmb Check the logs for full command output.
  Using cached PyQt5-5.15.3.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp3umanv9d
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_935d965f8a044bcaaeb5662b268b16f1
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 587, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_935d965f8a044bcaaeb5662b268b16f1/project.py", line 63, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 234, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mcmd699c/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 67, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6e/86/d715e71771cece0e060f2ebab20f3ded067b08a0927dfb3143530cae8098/PyQt5-5.15.3.tar.gz#sha256=965ba50e7029b37f218a54ace24e87c77db3e5a9f0b83baeb21fb57b4154b838 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp3umanv9d Check the logs for full command output.
  Using cached PyQt5-5.15.2.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpcgar_a0a
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_6aaacc7174404866aafd4e731264ba51
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 587, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_6aaacc7174404866aafd4e731264ba51/project.py", line 63, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 234, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-mhe1xkkv/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 67, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/28/6c/640e3f5c734c296a7193079a86842a789edb7988dca39eab44579088a1d1/PyQt5-5.15.2.tar.gz#sha256=372b08dc9321d1201e4690182697c5e7ffb2e0770e6b4a45519025134b12e4fc (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpcgar_a0a Check the logs for full command output.
  Using cached PyQt5-5.15.1.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpql99n0_8
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_fe50dd016fd146a0b99efbdfd5fb4a73
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 587, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_fe50dd016fd146a0b99efbdfd5fb4a73/project.py", line 64, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 234, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-5536hgt9/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 67, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/1d/31/896dc3dfb6c81c70164019a6cbba6ab037e3af7653d9ca60ccc874ee4c27/PyQt5-5.15.1.tar.gz#sha256=d9a76b850246d08da9863189ecb98f6c2aa9b4d97a3e85e29330a264aed0f9a1 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpql99n0_8 Check the logs for full command output.
  Using cached PyQt5-5.15.0.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp2cnsz1ph
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_7ac38f83690e43ea89dbafe45bc5e2c6
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 587, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_7ac38f83690e43ea89dbafe45bc5e2c6/project.py", line 62, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 234, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-gt1a2ecp/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 67, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8c/90/82c62bbbadcca98e8c6fa84f1a638de1ed1c89e85368241e9cc43fcbc320/PyQt5-5.15.0.tar.gz#sha256=c6f75488ffd5365a65893bc64ea82a6957db126fbfe33654bcd43ae1c30c52f9 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp2cnsz1ph Check the logs for full command output.
  Using cached PyQt5-5.14.2.tar.gz (3.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp8equ9tbc
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_6f0bf178a1604129807883e2c83f4001
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 479, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_6f0bf178a1604129807883e2c83f4001/project.py", line 62, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 225, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-tajhchg3/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 66, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/4d/81/b9a66a28fb9a7bbeb60e266f06ebc4703e7e42b99e3609bf1b58ddd232b9/PyQt5-5.14.2.tar.gz#sha256=bd230c6fd699eabf1ceb51e13a8b79b74c00a80272c622427b80141a22269eb0 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmp8equ9tbc Check the logs for full command output.
  Using cached PyQt5-5.14.1.tar.gz (3.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing wheel metadata (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpt5m2y4fm
       cwd: /private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_eacc9a6f14544071b1f384a59cdab3a9
  Complete output (29 lines):
  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
      project = AbstractProject.bootstrap('pep517')
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
      project.setup(pyproject, tool, tool_description)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 479, in setup
      self.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-install-upampu76/pyqt5_eacc9a6f14544071b1f384a59cdab3a9/project.py", line 62, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
      super().apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 225, in apply_user_defaults
      self.builder.apply_user_defaults(tool)
    File "/private/var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/pip-build-env-onpoc5n1/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 66, in apply_user_defaults
      raise PyProjectOptionException('qmake',
  sipbuild.pyproject.PyProjectOptionException
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz#sha256=2f230f2dbd767099de7a0cb915abdf0cbc3256a0b5bb910eb09b99117db7a65b (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/gyuri/python3/bin/python3 /Users/gyuri/python3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/17/1l_bdsbn41x7648clrrndfjw0000gn/T/tmpt5m2y4fm Check the logs for full command output.
  Using cached PyQt5-5.14.0.tar.gz (3.2 MB)
ERROR: pyqt5 from https://files.pythonhosted.org/packages/7c/5b/e760ec4f868cb77cee45b4554bf15d3fe6972176e89c4e3faac941213694/PyQt5-5.14.0.tar.gz#sha256=0145a6b7de15756366decb736c349a0cb510d706c83fda5b8cd9e0557bc1da72 (from spyder) has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6'

Versions

Spyder version: lates
Python version: 3.10
Qt version: n/a
PyQt version: n/a
Operating System name/version: MacOS 11.6 (Big Sur on M1 Max Mini)

Dependencies

PASTE DEPENDENCIES HERE

Hey @gvizkelethy, thanks for reporting. As you can see on PyPI, there are no PyQt5 wheels for Python 3.10 for the version we currently support (i.e. 5.12)

nor for the latest one (i.e. 5.15)

So it's not possible to install Spyder with Python 3.10 using pip. And there's nothing we can do about it because it's not something control.
So, please keep using Python 3.9 for the time being. Most probably it'll pass a year and half or two years until we support PyQt6. Your other option is to use Anaconda with Conda-forge, once Python 3.10 packages are available there.

Hi Carlos,
Thanks for the quick reply. There are a few problem. When you try to install Spyder it goes down only PyQt 5.14.0 automatically. It is tru that I can download the 5.12.3 wheel but it does not install on my M1 Mac.
{21-10-13 18:40}LittleMacM1:~/Downloads gyuri% pip install PyQt5-5.12.3-5.12.10-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
ERROR: PyQt5-5.12.3-5.12.10-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl is not a supported wheel on this platform.
{21-10-13 18:40}LittleMacM1:~/Downloads gyuri% python --version
Python 3.9.4
The funny thing is that I had it running with python 3.9.x before I reinstalled python.
George

On Oct 13, 2021, at 18:13, Carlos Cordoba @.***> wrote:
Hey @gvizkelethy https://github.com/gvizkelethy, thanks for reporting. As you can see on PyPI, there are no PyQt5 wheels for Python 3.10 for the version we currently support (i.e. 5.12)
https://user-images.githubusercontent.com/365293/137229338-d78e12b3-c189-4965-b7b7-8e8d65b2e377.png
nor for the latest one (i.e. 5.15)
https://user-images.githubusercontent.com/365293/137229400-ea88a878-dc6c-4d66-a24e-361b6a7a1649.png
So it's not possible to install Spyder with Python 3.10 using pip. And there's nothing we can do about it because it's not something control.
So, please keep using Python 3.9 for the time being. Most probably it'll pass a year and half or two years until we support PyQt6. Your other option is to use Anaconda with Conda-forge, once Python 3.10 packages are available there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/16584#issuecomment-942813816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBKEO3N566MJCT52VWBSQTUGYODVANCNFSM5F6IDG6Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi Carlos,
I guess you did not see my reply because you closed the case. A few things:
When I try to install Spyder it goes down only 1o PyQt 5.14.0 and then stops because that version has a bug in it.
I could download PyQt 5.12.3 but out does not install on my M1 Mac, sayin it is not valid for this platform. That is strange because I had Spyder running on this M1 Mac before.
When I try to install Spyder it downloads all versions down to 3.2.6. Why does it do it?
George

On Oct 13, 2021, at 18:13, Carlos Cordoba @.***> wrote:
Closed #16584 https://github.com/spyder-ide/spyder/issues/16584.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/16584#event-5460465115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBKEO7CHZTWNXRWQEBRVADUGYODXANCNFSM5F6IDG6Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


:Fixes authentication issue if an Autorun value is set in registry

Fixes authentication issue if an Autorun value is set in HKLM\SOFTWARE\Microsoft\Command Processor on Windows
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Thanks for the contribution, @ManagedUx !
Would you mind adding this to the AzureDeveloperCliCredential as well?

Thanks for the contribution, @ManagedUx !
Would you mind adding this to the AzureDeveloperCliCredential as well?

Absolutely. New commit added to the PR.


Accept Pirep button not changing row inline

Not changing from "pending" to "accepted" unless refreshed

#880


Docs improvements

Here we include some extra subsections to simplify the navigation from the user point of view.

@stavros11 I would like to merge this before completing the docs in #398, could you please let me know if you agree?


user profil

add a page dedicated to the user to make these changes, both for these coordinates and these events

I believe the page exists, here: https://github.com/Israel-Laguan/Private-Events/blob/develop/app/views/users/edit.html.erb
Or are you referring to something else?

a profile page like the pictures, and in the history tab, we could put the events.
So it's also possible to add a photo for the user.

Got it, its ok to me, we must do it


Decompiler process exhibits memory errors with certain inputs

Describe the bug
I've been seeing a lot of "Decompiler process died" errors while running a custom script, and I think I found a reproducer for the crash.
To Reproduce

Click to expand
$ cat decompile.in.GtHb5ddYYm | valgrind ./ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile >/dev/null
==618445== Memcheck, a memory error detector
==618445== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==618445== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==618445== Command: ./ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile
==618445==
==618445== Invalid read of size 1
==618445==    at 0x555B84: TypeFactory::clearNoncore() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525E44: FlushNative::rawAction() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525677: GhidraCommand::doit() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525AED: GhidraCapability::readCommand(std::istream&, std::ostream&) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x4040FE: main (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==  Address 0x522a030 is 32 bytes inside a block of size 80 free'd
==618445==    at 0x484889F: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==618445==    by 0x55D26C: TypeStruct::~TypeStruct() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x555BF3: TypeFactory::clearNoncore() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525E44: FlushNative::rawAction() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525677: GhidraCommand::doit() (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x525AED: GhidraCapability::readCommand(std::istream&, std::ostream&) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x4040FE: main (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==  Block was alloc'd at
==618445==    at 0x4846003: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==618445==    by 0x55DF32: TypeStruct::clone() const (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x556207: TypeFactory::findAdd(Datatype&) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x559BA9: TypeFactory::restoreStruct(Element const*, bool) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x559EEE: TypeFactory::restoreXmlTypeNoRef(Element const*, bool) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x55A9DE: TypeFactory::restoreXmlType(Element const*) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x4387E0: TypeFactoryGhidra::findById(std::string const&, unsigned long, int) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x55A9B2: TypeFactory::restoreXmlType(Element const*) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x55BED8: TypeFactory::restoreTypedef(Element const*) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x559E1A: TypeFactory::restoreXmlTypeNoRef(Element const*, bool) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x55A9DE: TypeFactory::restoreXmlType(Element const*) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
==618445==    by 0x4387E0: TypeFactoryGhidra::findById(std::string const&, unsigned long, int) (in /home/tavianator/code/rcs/bcpi/ghidra/ghidra_10.1.4_PUBLIC/Ghidra/Features/Decompiler/os/linux_x86_64/decompile)
...

Attachments
decompile.in.GtHb5ddYYm.gz
Environment (please complete the following information):

OS: Arch Linux
Java Version: 11.0.15
Ghidra Version: 10.1.4
Ghidra Origin: official GitHub distro

It looks like the problem is here: https://github.com/NationalSecurityAgency/ghidra/blob/bb5cab82058d2349798c11c289408431dd60d716/Ghidra/Features/Decompiler/src/decompile/cpp/type.cc#L3458-L3473
It does findAdd(ct) followed by setFields(..., ct, ...).  But findAdd() has inserted ct into an std::set with a custom comparator that looks at the fields of the struct: https://github.com/NationalSecurityAgency/ghidra/blob/bb5cab82058d2349798c11c289408431dd60d716/Ghidra/Features/Decompiler/src/decompile/cpp/type.cc#L1404-L1419
So the type is first inserted in a binary search tree, then mutated in a way that changes how it compares to other elements in the tree, which means it can be in the wrong place.  Then a later erase() goes wrong since the tree is invalid, but the object is still deleted: https://github.com/NationalSecurityAgency/ghidra/blob/bb5cab82058d2349798c11c289408431dd60d716/Ghidra/Features/Decompiler/src/decompile/cpp/type.cc#L2515-L2516
A further iteration finds the deleted object again an dereferences it.  I'll have a patch shortly.

Hmm actually setFields() already does that: https://github.com/NationalSecurityAgency/ghidra/blob/bb5cab82058d2349798c11c289408431dd60d716/Ghidra/Features/Decompiler/src/decompile/cpp/type.cc#L2705-L2715

Ah the problem is here: https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_10.1.4_build/Ghidra/Features/Decompiler/src/decompile/cpp/type.cc#L2772
Seems like it was already fixed by https://github.com/NationalSecurityAgency/ghidra/commit/3fdbbbb2312b3f8eab0b7f93ed201133c5083fbd, which is not released yet.

Is it worth doing a patch for the stable branch?


Update eval-defender-investigate-respond-simulate-attack.md

The URL to download the payload points to a redirect which makes the script returns an error. I added the redirected URL in the script so it does work. The indentation was incorrect as well which you couldn't copy and paste the script without making any adjustments to the script.

@Dansimp Please merge this PR. Thanks


Relabel LMP days in edit pregnancy and new pregnancy form

We're currently using '.' as a placeholder for the label on the LMP days field in both the patient dashboard and the new pregnancy form. We should come up with something prettier to display.

Someone ( @CamLatimer or @rekhers ?) resolved this during civic hack day with some creative CSSing; marking resolved.


Add a window event listener with a callback that receives an event that has been cast to its non-generic type.

Overview
This PR introduces a new function window_event_listener_with_precast to remove a common boiler plate case of window_event_listener. This solution also enables better compile time checks by enumerating the types of events that can be listened to.
Discussion
Presently we have a the following definition for window_event_listener
pub fn window_event_listener(
    event_name: &str,
    cb: impl Fn(web_sys::Event) + 'static,
) {
    cfg_if::cfg_if! {
      if #[cfg(debug_assertions)] {
        let span = ::tracing::Span::current();
        let cb = move |e| {
          leptos_reactive::SpecialNonReactiveZone::enter();
          let _guard = span.enter();
          cb(e);
          leptos_reactive::SpecialNonReactiveZone::exit();
        };
      }
    }

    if !is_server() {
        #[inline(never)]
        fn wel(cb: Box<dyn FnMut(web_sys::Event)>, event_name: &str) {
            let cb = Closure::wrap(cb).into_js_value();
            _ = window().add_event_listener_with_callback(
                event_name,
                cb.unchecked_ref(),
            );
        }

        wel(Box::new(cb), event_name);
    }
}

which results in extra boiler plate to process the event in the callback.
For example, consider the following listener:
window_event_listener(&"mousemove", my_mouse_callback);

Then then the callback will be of the form:
let my_mouse_callback = move |event: Event| {
    // function body
}

But usually we want access to the specific event object associated with the call. Which in this case is MouseEvent
let my_mouse_callback = move |event: Event| {
   let event = gen_event.dyn_into::<MouseEvent>().unwrap();
    // function body
}

This cast of the Event can be inferred from the event_name so there should be an option for it to be already done by the window_event_listener.
This PR handles that case as well as having the benefit of checking that the event_listener string is correct by using an EventDescriptor object instead for better compile time checks.

Looks good! I just made one small change (to replace .dyn_into().unwrap() with .unchecked_into()) and it should be good to go.

On discord, dgsantana@ was suggesting that maybe this should be a change to window_event_listener itself. Since this would be a breaking change, we'd need to do it for 0.3
Is there a reason not to make this the new default behavior? I'm happy either way


Chatbot will respond multiple times after a while.

Sometimes chatbot for Slack will respond multiple times.

FIXED