Concourse deployment of the aws-rds broker

We have multiple brokers which are not yet in a CI pipeline.  In order to progress towards our goal of automated, repeatable deployments we should create a Concourse pipeline to deliver the service

[ ] Create reusable broker pipeline in Concourse
[ ] aws-rds broker is deployed by pipeline
[ ] aws-rds required database is deployed via Terraform for net-new broker instances

We have created a minimum viable terraform RDS profile along with IAM permissions, and are looking to be able to deploy to staging by close of business today

Update: as of http://ci.cloud.gov/pipelines/deploy-aws-broker-staging/jobs/push-aws-broker/builds/21, we're provisioning databases and deploying to staging. We should be able to pull in something like https://github.com/18F/aws-broker/compare/master...jmcarp:update-broker?expand=1, and then we'll have the broker registering itself and updating its catalog on deploy.
From there, it sounds like we'll want to run some kind of acceptance tests on staging before deploying to production, which I'm guessing will be something along the lines of creating a service instance, binding it to an app, and verifying that the expect credentials are injected into the app environment.

Are there any data migration concerns for the hand-propped broker that's out there in AWS E/W now?

There aren't any schema changes pending, so all we need to do is point what we're calling rds-internal to the existing rds instance, or create the new rds instance from a backup of the existing instance. I'm hoping we can point our terraform rds module to the instance id of the existing database, which would require exposing that attribute in our module, unless there's a better approach--@LinuxBozo, what do you think?
This reminds me of a few related issues:

There are currently two brokers that support rds: aws-broker and rds-broker. Is the idea to retire rds-broker in favor of aws-broker?
The current deploy of aws-broker uses a mysql rds instance to store internal state and for the shared-msql plan, and a postgres rds instance for the shared-psql plan. This PR uses three instances: one for internal state (can be postgres or mysql), one for shared-mysql, and one for shared-postgres. I think this is better than keeping internal state and shared data in the same place, but it makes the migration a little more complicated, since we're mapping three rds instances to two. Maybe copying the current internal rds instance from a backup is the way to go here.

There are currently two brokers that support rds: aws-broker and rds-broker. Is the idea to retire rds-broker in favor of aws-broker?

Yes, however we must first ensure that no one's using rds-broker service instances before we retire it.
As a product person I have no opinions on whether the internal broker state should be split into another DB instance, nor any requirements for that before accepting, but other people on the team might have thoughts.

@jmcarp From my research, there is a hacky method for getting terraform to recognize already deployed bits, but it involves hacking up a proper tfstate file so that everything matches. There is this: https://github.com/dtan4/terraforming that will try to do the tfstate thing for you, but I haven't had a chance to try it.
It is a frequently requested issue though: https://github.com/hashicorp/terraform/issues/581

Update: based on conversation with @dlapiduz, we're not going to deal with migration in this issue, so we can defer the terraform question for now.
In case this comes up again later, I took a look at terraforming and was able to get terraform to manage an existing rds instance--although I had to change the generated terraform state file to get it to work with our terraform rds module.

I believe this is done besides deploying to GovCloud, right? If so, let's close in favor of https://github.com/18F/cg-atlas/issues/25#issuecomment-224368518.

Would someone mind updating the checkboxes at the top?

pinging

Would someone mind updating the checkboxes at the top?

Can we close this now?

Closing as I'm pretty sure there's nothing left to do here.


Replaying tapes against the server

Congrats for this nice project.
This is more a question than an issue:
Is it possible/planned to replay the tapes also against the server? It would be nice to benefit from the recording to also perform server tests.
Maybe it could use/integrate a HttpUnit or a similar library.

@lbovet How would we know to record without a request that instigates the conversation? I'm not sure how we could effectively manage opening a connection to listen for unprovoked server responses...


Can we override the random source?

The official bip39 in JS supports overriding the random source. Can we override it here too?
This can help use this library in environments where neither node crypto nor webcrypto is available.

Right now I'm doing something like this:
// @ts-ignore - this overrides the random source used by @noble and @scure libraries
utils.randomBytes = (size: number = 32) => getRandomBytesSync(size);

No. Not planned. This is easy path to backdoors.


Can This Lib work in a background Service?

Hello, that's my question pretty much. I need to check for location permissions in my background service so I thought this lib could save me a lot of time (and code).

Requesting a Runtime Permission is currently not possible from a Service, since requestPermissions() is available only from Activity and the two flavors of Fragment. This is a limitation imposed by the framework.
The common practice how to approach this would be to check for the permission in your Service using our PermissionUtils.hasSelfPermission() method (since that only requires a Context), and if you haven't been granted the Location permission, you fire a notification to the device's notification bar, which redirects to an Activity from which you can then request the permission.

Damn that new permission system is making my life harder. But Thank you @aurae that's actually a good idea. I'm going to implement it just like that. Cheers!

Yeah that's the problem for official android mechanism.
You can also use PermissionChecker in support v4 library.

Can I use this lib in JobIntentService now in 2018?

@thuan09878 you should handle permission before running JobIntentService. It's Activity or Fragment responsibility.


Adding some more railway presets

This is to, fix #4193
So far I have added

Railway Derailer
Railway Milestone
Railway Signal
Railway Switch
Railway Wash Train wash (6da0719f3a49d4173fe4769e2522a2edccd62885)

Todo:

[x] Find an appropriate icon for milestone (triangle-stroked)
[ ] Draw railway-signal icon, maybe using something similar to this: Traffic light with two lights instead of 3
[x] Update wash icon.

This could also change the car_wash icon, as currently it is just a car, and looks like a few other presets, this is also the same for railways. So I thought we could maybe add some brushes around the side like shown:

All we need to do is change the car to a train, then we're done.

Maybe you could use this icon as a starting point, as caution is unique to railways:

Because there are so many different railway signals around the world, I think I'm just going to use the existing traffic signal icon, but with 2 lights instead of 3.   I don't want to overthink it - it just needs to look like a signal but not a highway=traffic_signals.

Just my two cents as a railway mapper and OpenRailwayMap contributor:
@bhousel wrote:

Because there are so many different railway signals around the world, I think I'm just going to use the existing traffic signal icon, but with 2 lights instead of 3. I don't want to overthink it - it just needs to look like a signal but not a highway=traffic_signals.

I agree with that. Icons should be simple because they are small. iD is no railway map.
Milestones are white signs with black numbers on them mounted on catenary masts or separate poles in many developed countries nowadays. But JOSM uses a milestone icon, too. Could you please add railway:position=* to the milestone preset? It is used to indicate the distance printed on the milestone/sign.
Using a roadblock as a marker is inappropriate from my point of view but I do not know a better icon. Derailers are small devices.

Thanks for your feedback @Nakaner!

Milestones are white signs with black numbers on them mounted on catenary masts or separate poles in many developed countries nowadays. But JOSM uses a milestone icon, too. Could you please add railway:position=* to the milestone preset? It is used to indicate the distance printed on the milestone/sign.

Sounds good, we can add this.

Using a roadblock as a marker is inappropriate from my point of view but I do not know a better icon. Derailers are small devices.

Oh the Maki "roadblock" icon I'm thinking of looks like this - it's not a literal road block:

Could you please add railway:position=* to the milestone preset?

Added:

@JamesKingdom Thank you for the quick response. Could the input field show a "only one decimal"? Railway mappers use two tags for the distance, railway:position for the rounded value which is printed in large digits on the sign and railway:position:exact which is the raw value (resolution 1 meter) which is either printed in small digits or is missing at all.
Adding two values might confuse the users. :-/
You could drop the name field because they are nameless and it invites to add name=* which are no names.

@bhousel wrote:

Oh the Maki "roadblock" icon I'm thinking of looks like this - it's not a literal road block:

The icon is ok. You could rotate the bar by 45° anti-clockwise if you need a distinction between road blcoks and derailers. If I think that I have a better icon, I will file a pull request. Even the OpenRailwayMap JOSM MapCSS style does not have a derail icon.

Could the input field show a "only one decimal"?
You could drop the name field

Thanks for the recommendation, unfortunately we can't remove the name, or only show one decimal.

Milestones are white signs with black numbers on them mounted on catenary masts or separate poles in many developed countries nowadays.

We are adding another icon to look more like a milestone, just to confirm what feature they are adding, as a triangle is quite generic and could stand for essentially anything.
Again, it is nice to hear ideas from someone with more experience in the subject, thank you!

This seems fine @JamesKingdom  - can you commit the above change that adds the Milestone Position field, and then you can merge it, and I'll add the icons.
Sorry @Nakaner, as @JamesKingdom said we can not add decimal point formatting to the Milestone field, or remove the Name field.  Both of these are reasonable suggestions though, so you can open up new issues for these things if it would help avoid problems with railway mapping.
For now the best thing I can suggest is to make sure that the osm wiki has a really good description and image in the tag template - these things are displayed when the user hits the ℹ button next to the field.

@bhousel wrote:

Sorry @Nakaner, as @JamesKingdom said we can not add decimal point formatting to the Milestone field, or remove the Name field. Both of these are reasonable suggestions though, so you can open up new issues for these things if it would help avoid problems with railway mapping.

I think you misunderstood me (or I expressed my thoughts not clearly enough). I don't want that the input fields enforce a format. This would be out of scope here. But the text which is displayed in an empty input field could suggest a format, couldn't it?
distance on the milestone rounded to one decimal (i.e. 123.4) or rounded to one decimal (i.e. 123.4)

I don't want that the input fields enforce a format

Sorry for the misunderstanding, but yes we can certainly add a placeholder.
I shortened it down because it looked pretty messy with all that text in.

awesome, thanks @JamesKingdom 👍


Update dist-git fork ACL to allow users to push

Fixes #2078.

RELEASE NOTES BEGIN
Packit now updates ACL of its own dist-git forks to allow users and groups with commit rights to the original dist-git repo to push directly to a fork.
RELEASE NOTES END

Eventually we should probably remove them too, since that was the exact concern with giving the ACLs.
Apparently we do have an API for that, it's not very well documented though /o https://packit.github.io/ogr/services/pagure/project.html#ogr.services.pagure.project.PagureProject.add_user_or_group

Eventually we should probably remove them too, since that was the exact concern with giving the ACLs.

Good point.

Apparently we do have an API for that, it's not very well documented though /o https://packit.github.io/ogr/services/pagure/project.html#ogr.services.pagure.project.PagureProject.add_user_or_group

Yes, what I meant is there is no API for querying groups with commit access (or any access level for that matter).

/packit-stg test https://github.com/packit/ogr/pull/815

The tests fail because updated ogr hasn't been released (on PyPI nor in Fedora). Should I merge this manually or wait?

We could do the release before merging. But I am not against merging manually.

recheck


2.1 doesn't work with OCaml 4.02.1 + merlin - update opam to reflect this

The opam package for 2.1 should probably be constrained to OCaml >= 4.02.2

I'll submit the change to ocaml/opam-repository if you agree.

Sure.

Have you ever submitted this change?

@hcarty Ping?

Done.


Pip-installable version for python-mapnik

Hello, do you guys have any idea on how hard would it be to have the pip instalable bindings for python mapnik. Just to give me some pointers so I can do it (or else, not do, if it's completely unfeasible)

It would be theoretically possible, but not easy.  An effort was recently undertaken to make ITK's python binding pip installable.  The results of that are in https://github.com/InsightSoftwareConsortium/ITKPythonPackage.  I don't know much about how it works, but I think it relies heavily on the fact that ITK is built with CMake.  If you want to pursue it, @jcfr and @thewtex could probably fill in more details for you.

ITK's Python packaging uses a Python package called scikit-build to make packaging of Python C extensions built with CMake possible. We would be happy to see it utilized by other projects!

@tiagofassoni FWIW locally I build a wheel from python-mapnik's source code and then use that to install across different development/review environments.  The wheel can't really be distributed,  but it does save time on building from source


feat(modulify-ui): update library

Description:

fix ComponentBuilder (method updateHTML)
fix README
add data-customization-id for components

UI changes
<Please, provide Screenshots or Figma links>
Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review


Build nav search bar functionality

The search navbar will be on every page so users can search through the database on whatever page they land on. Create the search bar to store the query in state and filter through the myths from the API.

we are not creating a nav search bar any longer! only will have on search bar on main page


[FLINK-35539] Fix artifactId of flink-migration-test-utils module

What is the purpose of the change
fix typo
Brief change log
Verifying this change
Flink CI
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):no
The serializers: no
The runtime per-record code paths (performance sensitive):no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Introduced in #21736, @gaoyunhaii @XComp could you please take a look?


Fixed toggle_snake_camel_pascal not handling single-word lowercase variables

I tried to toggle a variable named index to PascalCase, and found that it did nothing! This is because the variable is neither snake_case nor camelCase, but simply lower case with no separator. This fix treats lower-case-no-separator as camelCase so that it converts to PascalCase, which is more convenient than doing nothing at all.

Just considered something: if you're toggling multiple variables, they'll go out of sync:
foo     -> Foo    -> foo    -> Foo
foo_bar -> fooBar -> FooBar -> foo_bar

Obviously, the toggle function can't know the expected state of the single-word variable. At least, not without some complexity that's probably not worth implementing. The question is, might it actually be better to do nothing to the single-word variable?


Bug_Patterns> Default/ Call to Action/ Search/ Custom Children/Icons Buttons As Children/ Everything/ Everything Inverse> 'logo' control prop> Error message appears if user click the 'ref' value and clicks outside without changing the value.

Describe the bug
Error message appears if user clicks the 'ref' value and clicks outside without changing the value.
To Reproduce
Steps to reproduce the behavior:

Go to https://storybook-preview-290--upbeat-sinoussi-f675aa.netlify.app/?path=/story/patterns-header--default&args=logo.key:Test;logo.ref:null
Click on 'Controls'
Select 'logo' control prop
Click on 'ref' value
Verify the Preview

Expected behavior
Error message should not appear.
Screenshots
https://somup.com/c3nblFThUL
Desktop:
OS: [Win 10]
Browser [chrome]
Version [Version 98.0.4758.82 (Official Build) (64-bit)]

Changing an elements internal props will give an error. You would have to change the element itself in the code. This is not something we will fix as this is known to the developers and storybook is only used for development purposes.


Update kube-dns to the one bundled with k8s v1.5.1

kube-dns is now deployed via a deployment instead of a replicaset
kube-dns supports zero downtime rolling update (https://github.com/kubernetes/kubernetes/pull/37730)
prometeus metris are exposed

fix #173
ref #111

Current coverage is 69.36% (diff: 100%)

Merging #177 into master will not change coverage

@@             master       #177   diff @@
==========================================
  Files             4          4
  Lines          1126       1126
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            781        781
  Misses          259        259
  Partials         86         86

Powered by Codecov. Last update 8b2d12c...2aa6b84


Feature/large rsa keys

Description
This PR adds support for RSA3072 and RSA4096 keys.
It also contains a mandatory whitelist of Yubikey serial numbers to be added in either environment variables or in a configuration file. This is to prevent users from accidently running integration tests on the wrong keys.
The previous block list was removed. Users must add their white listed serial numbers in a white list.
The whitelist text file should be in the C:\Users<username>\AppData\Local\Yubico
for Windows users and /Users/<username>/.local/share/Yubico for macOS users.
Fixes # YESDK-1300
Type of change
Please delete options that are not relevant.

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

How has this been tested?
Adding the new functionality and running the integration tests, amending them where needed.
Test configuration:

Firmware version: 5.4.3, 5.7
Yubikey model: FIPS, Non-FIPS

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have run dotnet format to format my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Ping @equijano21 adding support for 3072 and 4096 RSA keys


[ENH] Add KDTW kernel to be used with kernelKmeans algorithm for time series clustering

Describe the feature or idea you want to propose
The algorithm TimeSeriesKernelKMeans in the API reference for clustering does not take KDTW**, A Regularized Dynamic Time Warping Kernel, as a kernel.
** : https://github.com/pfmarteau/KDTW/tree/master
Describe your proposed solution
Integrate the KDTW given above in https://www.aeon-toolkit.org/en/stable/api_reference/auto_generated/aeon.clustering.TimeSeriesKernelKMeans.html#aeon.clustering.TimeSeriesKernelKMeans
The kernelKmeans algorithm must use the KDTW as a kernel.

great idea, @chrisholder is on it


Release/1.40.0

What
Release 1.40.0

[x] 5786 - Display Coverage selection on data set landing page
[x] 1276 - aria-expanded fixed by updating sixteens version

How to review

Sense check
Tests pass
Check nothing's there that shouldn't be

Who can review
!me

Looks all good to me


export data symbols

Hey @hmaarrfk,
this is intended for your information. It doesn't work yet. While this compiles fine, the test exits with Exit code 0xc0000135, which means that the lemon.dll cannot be found. I have confirmed that it is in fact build, but I don't understand why it is not found.
Don't know if I will have more time on the weekend to work on it.

if I add
set PATH=lemon/Release;%PATH%

in bld.bat before calling ctest -R ... it works, but this looks super hacky.

looks like it's not a completely hacky idea after all...
i checked test/CMakeLists.txt and it's copying other shared libraries to the test folder, too:
https://github.com/k-dominik/lemon/blob/cd048885e1e3539d533febf1f54d0fc2b3ade56a/test/CMakeLists.txt#L88-L92
some more digging led me to this wonderful advice: https://stackoverflow.com/a/59594095 :pray:
I added a patch accordingly that copies lemon.dll to the tests' output folder(s) if not already present.
The one test we run passes :tada:

okay, hang on, my last (meant to be cleaned up) force-push broke it again

back on track! This is ready to be reviewed/merged :)

much fun!


LUN-300: Adjustments for new HomeScreen

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword LUN.
In the ticket I noted for every point if I did it / if it was already done/ or if I won't do it.

This pull request belongs to an issue on our bugtracker. You can find it there by looking for an issue with the key which is mentioned in the title of this pull request. It starts with the keyword LUN.
In the ticket I noted for every point if I did it / if it was already done/ or if I won't do it. With this ticket the home screen is ready for deployment, so feel free to test everything, all should work now.


File path formatting in command line help

I installed whitebox tools from source on my macbook pro, and have noticed a strange formatting issue when calling "toolhelp" from the command line. For context: after installing from source, I moved the whitebox_tools binary to a directory listed in my PATH (/Users/bdv/.local/bin). The following is an example of an output to a tool help:
$ whitebox_tools --toolhelp=zLidarToLas

ZlidarToLas
Description:
Converts one or more zlidar files into the LAS data format.
Toolbox: LiDAR Tools
Parameters:

Flag               Description
-----------------  -----------
-i, --inputs       Input ZLidar files.
--outdir           Output directory into which zlidar files are created. If unspecified, it is assumed to be the same as the inputs.

Example usage:
>>./Usersbdvlocalbinwhitebox_tools -r=ZlidarToLas -v --wd="/path/to/data/" -i="file1.zlidar, file2.zlidar, file3.zlidar"

Notice how the /'s have been omitted from the filepath to the WBT binar in the "Example Usage". This is a formatting bug and does not affect performance at all.

Hello @bendv ,
I am unable to produce this formatting issue on my macbook pro with version 1.5.0 of WBT. I have tried both versions (i.e. build directly from source and download the pre-built binary) and was unable to replicate this formatting issue. Is this still persistent in your environment?
$ whitebox_tools --toolhelp=zLidarToLas
ZlidarToLas
Description:
Converts one or more zlidar files into the LAS data format.
Toolbox: LiDAR Tools
Parameters:
Flag               Description

-i, --inputs       Input ZLidar files.
--outdir           Output directory into which zlidar files are created. If unspecified, it is assumed to be the same as the inputs.
Example usage:

./whitebox_tools -r=ZlidarToLas -v --wd="/path/to/data/" -i="file1.zlidar, file2.zlidar, file3.zlidar"

Hi @Afrancioni
Interesting that there is all this traffic on these issues, I noticed this last night while working on the R frontend
I can confirm that this bug occurs on my work windows machine where whitebox_tools directory is in my PATH.
This is a computer that I don't have install priveliges on, so stuck on 1.4.0 there.
$ whitebox_tools --toolhelp=zLidarToLas
ZlidarToLas
Description:
Converts one or more zlidar files into the LAS data format.
Toolbox: LiDAR Tools
Parameters:

Flag               Description
-----------------  -----------
-i, --inputs       Input ZLidar files.
--outdir           Output directory into which zlidar files are created. If unspecified, it is assumed to be the same as the inputs.

Example usage:
>>.\C:Program FilesUniversityofGeulphWhiteboxTools140_WKSWBTwhitebox_tools.exe -r=ZlidarToLas -v --wd="\path\to\data\" -i="file1.zlidar, file2.zlidar, file3.zlidar"

I have also observed it on my Linux machine with whitebox tools on PATH and calling something like /home/path/to/whitebox_tools --toolhelp=zLidarToLas -- this is with the latest release of WBT 1.5.0 compiled from source.


Google Indexing Problem

Hey,
Great library for Angular, thank you!
But I have some issues about Google indexing. I checked the other issues related this one but nothing helped me.
The site address is: http://www.lulutata.com
Sitemap: http://www.lulutata.com/sitemap.xml
My js file: http://lulutata.com/js/web.js
When i search "site:lulutata.com" I see {{ngMeta.title}} as title :(
Any help will be appreciated, thank you so much!

Looks like you have already fixed the issue @ibrahimmumcu . Can you share your solution?

@ccaymaz
@ibrahimmumcu
how are you everybody?
where is the solution plz ..


When showing by heart level, toggling off and on allows showing NPCs who don't meet the conditions.

Currently I have the configs set so that only NPCs with whom I have a relationship level of 2 or greater hearts will show up on the map but I found that if I toggle the check mark off then on again of an NPC with whom I don't yet have 2 hearts, the mod then shows me that NPC on the map, ignoring the settings in the config file.
My preferred fix for this would be to grey out the check box for NPCs who don't meet the requirements. (The same way that it's greyed out for NPCs that the player hasn't met yet.)

I followed the steps and was unable to reproduce this bug.
There is a separate option to show hidden NPCs instead of not rendering them at all. Visually, it's not great but it was the best I could do with the limitations of XNA.


one v1.0.1

Removed from milestone, because a newer version is present in the milestone at https://github.com/nils-a/cake-test/issues/3


Add culture support for PowerShell informational messages

We should plan for adding localisation support into rule definitions.
The PowerShell supports localisation of modules using .psd1. Rules may also want to provide localised error, warning and verbose messages.

Required for #200


Dependency Updates

Some updates:

[x] Bootstrap 3.0 update
[x] update to AngularJS 1.2
[x] using Angular-route for router
[x] update demo to work with angular router, angularjs 1.2, and bootstrap 3
[ ] fix tests

Closing due to inactivity.


Add action to automate toots

This action might work well

After working on the implementation for this, it will need a bit more that just the stock action. It will need to replicate:

Only toot when "New Post " is at the start of the commit message
The toot needs to include the Title
The toot needs to include the URL

going to mark this as done because I think it should be handled by the local toot.py script that I have


Write a Java program to convert minutes to seconds

Description
Write a Java program to convert minutes to seconds
1 minute = 60 seconds
Input  : 5
Output : 300

How to contribute

Save the solution in ConvertMinutesToSeconds.java file
Add ConvertMinutesToSeconds.java file in convert-minutes-to-seconds folder

!assign


Include option for No Mock Library

Installed product versions

Visual Studio: Proffesional 2017 Preview v 15.8.0 Preview 4
This extension: V 1.9.10

Description
Please add an option for using no Mock library. In many cases, we don't want a Mock layer in our testing. I do use mocks and appreciate them very much but mocks are not a one size fits all answer.
In many cases I want a simple test class constructed. A method for creating the object is great and a few support functions but otherwise just a basic class object would be wonderful.
Expected behavior
Right click on class and select "Create Unit Test Boilerplate..."
Choose the appropriate test framework.
In the Mock Framework drop-down there would be a selection of "None"
Create Unit Test would then create a test class using the appropriate template using No Mock library.

So you'd just want it to make the test file and methods for all the public methods?

Yes, basically.
The tools allow us to force consistency across the developers. It is a quick way to set up the test class in the right place and the right way.  Ideally, I would like to be able to edit the template for the no mock option, but even a basic no frills option would be a huge help.

I'll put that support on the backlog. For now you could edit the VisualStudio/Moq template and take out the parts you don't need. It will default to Moq when it can't detect any mocking framework.

Sounds good. Thanks for responding on these.

Problem with this approach is that it makes it so you can't use boilerplate to render with Moq on a different project without changing the templates back again.
This is potentially an issue when your requirements for testing your organization's in-house code is different from that of 3rd party open source projects your organization contributes to.
However, it may be more useful to make the Mocking library option "Custom" rather than "None" as "None" implies no mocking and there is also a use-case for changing the parts to reflect other mocking libraries which aren't currently supported.

Implemented ability to choose "None" for a mock framework in 1.10.5.
In the generated test methods it will have "TODO" for constructor parameters as it has no way to know how to fill them.


Review page and website variable names

And the terminology in general.

TODO:

Rename moreText?
Review the documentation

A big change in https://github.com/dbohdan/tclssg/pull/41: page/website config variables renamed 'settings'.

Related changes in ed1167b802d7d05e4ad3b6c0082922de0391b443: a new way for the default template to access settings.

RSS and sitemap settings were grouped in bfdf8c6e476127c427ba25ccefe10da9709e1eb1.


Help needed in Arctos - Accessions bulkload error explanation

Tell us what you are trying to do
I am trying to bulkload accessions and getting this error on everything:
load fail::ERROR: null value in column "agent_id" of relation "trans_agent" violates not-null constraint Detail: Failing row contains (10280160, 21143794, null, entered by). Where: SQL statement "INSERT INTO trans_agent( transaction_id, agent_id, trans_agent_role ) values ( NEW.transaction_id, getagentidfromlogin(session_user), 'entered by' )" PL/pgSQL function trigger_fct_trans_agent_entered() line 3 at SQL statement
Please explain! Data I'm trying to load: bulkloadAccnData(12).csv
What are relevant pages in Arctos
Provide a link to or a description of the page where you need help.
https://arctos.database.museum/tools/BulkloadAccn.cfm
@dustymc @happiah-madson @mkoo

patched


Using formValueSelector to get value of Material Toggle

How is it possible to get the checked attribute value using formValueSelector or how to change the value attribute?
<Field
    name="isUrlWriteable"
    component={Toggle}
    value={false}
    onToggle={
        (e) => {
                 e.target.checked = e.target.checked ? true : false;
                 e.target.value = e.target.checked;
		this.setState({...this.state, isUrlSwitchToggled: e.target.checked})
	}
    }
/>

The TextFields work with formValueSelector only the Toggle makes me some trouble.
I think the problem is how I assign the value attribute.
In the React Developer Tools the value of the component.input is an empty String altough I also tried setting the value attribute directly using value={false}

My fault, I imported directly from material-ui


The "See how it works" page give 404

When landing on https://github.com/iron-io/iron_mq_python, and clicking "See how it works", I get a 404 error. Not very good first impression of the Python/IronMQ binding ;)

Thanks for the heads up, old links.


Services of type LoadBalancer not working

Creation errors with:
Events:
  Type     Reason                      Age   From                Message
  ----     ------                      ----  ----                -------
  Normal   EnsuringLoadBalancer        11s   service-controller  Ensuring load balancer
  Warning  CreatingLoadBalancerFailed  4s    service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service default/nginx: [ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller2 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]", ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller3 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]", ensure(default/nginx): backendPoolID(/subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics/backendAddressPools/containerd2nics) - failed to ensure host in pool: "network.InterfacesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code=\"NetworkInterfaceUsesMultipleLoadBalancersOfSameType\" Message=\"Network interface /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/networkInterfaces/controller1 references more than one load balancer of the same type (internal or public): /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics-public, /subscriptions/e766d9ee-d3d9-4b63-a912-8963dcfdf655/resourceGroups/containerd2nics/providers/Microsoft.Network/loadBalancers/containerd2nics. Only one internal and one public load balancer are allowed per availability set.\" Details=[]"]

Fixed by 0f3a07e76345892a9e69cc1dbbcce3ebd257628f.


Regression on PPC970, resulting in [some] dependents of OpenBLAS being unusable

I have built OpenBLAS from the current master 17803e790119705d2e2326f9bdbb641999fa04ab and it turns out the library is broken on Darwin PowerPC.
Updated. Release 0.3.28 works fine without native optimizations, but exhibits the same problem when optimizations are enabled.
Specifically, I tried building py-scipy against the new OpenBLAS, and it failed at configure. Meson was not really helpful with the output, however eventually I found where exactly configure fails and just tried the same command outside of the build:
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -c 'import os; os.chdir(".."); import numpy; print(numpy.get_include())'

It led to a bus error:
Process:         Python [1164]
Path:            /opt/local/Library/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         ??? (???)
Code Type:       PPC (Native)
Parent Process:  bash [313]

Date/Time:       2024-12-29 11:54:28.182 +0800
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Anonymous UUID:                      BC8371F6-179E-4C81-B2D5-052FA5025D07

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000003
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libopenblas.0.dylib           	0x01c200c0 dgeqr2_ + 316

Thread 1:
0   libSystem.B.dylib             	0x92554300 __semwait_signal + 12

Thread 2:
0   libSystem.B.dylib             	0x92554300 __semwait_signal + 12

Thread 3:
0   libSystem.B.dylib             	0x92554300 __semwait_signal + 12

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x01c200c0  srr1: 0x0200f030   dar: 0x00000003 dsisr: 0x40000000
    r0: 0x01c20160    r1: 0xbfffc980    r2: 0x00000001    r3: 0x00000000
    r4: 0x00000008    r5: 0x00000660    r6: 0x0631d8a0    r7: 0x0213b704
    r8: 0x0631d8c8    r9: 0x00000008   r10: 0x0631d918   r11: 0xbfffc980
   r12: 0x48244402   r13: 0x00000003   r14: 0x0631d8d0   r15: 0x0213ff94
   r16: 0x00000004   r17: 0x00000002   r18: 0xbfffc9c8   r19: 0x00000004
   r20: 0x00000002   r21: 0x00000003   r22: 0x00000005   r23: 0x0213b708
   r24: 0x00000030   r25: 0xbfffcd28   r26: 0x0213b704   r27: 0x0631d8a0
   r28: 0xbfffcaa8   r29: 0x06bc4408   r30: 0x0631d8f8   r31: 0x01c1ff94
    cr: 0x82244444   xer: 0x20000000    lr: 0x01c20160   ctr: 0x00000000
vrsave: 0xc3fc0000

Binary Images:
    0x1000 -     0x2fff +org.python.python 3.12.8 (3.12.8) <D0AEA538-7475-6388-5F1B-2AD80948C399> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python
    0x5000 -   0x2dbffb +org.python.python 3.12.8, (c) 2001-2023 Python Software Foundation. (3.12.8) <65C58188-686B-2103-DFA0-4803AD869824> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/Python
  0x5ba000 -   0x5cdfff +libintl.8.dylib ??? (???) <1D434055-DFEA-0613-38DF-82D9591B78F2> /opt/local/lib/libintl.8.dylib
  0x5d3000 -   0x6d8fff +libiconv.2.dylib ??? (???) <1AE293B0-F61B-7FC5-D35C-A157C464B293> /opt/local/lib/libiconv.2.dylib
  0x7e4000 -   0x7eaff7 +libgcc_s.1.1.dylib ??? (???) <5935AE2A-933C-B949-4655-7E4EFEEB13B3> /opt/local/lib/libgcc/libgcc_s.1.1.dylib
  0x7ed000 -   0x7f7fff +math.cpython-312-darwin.so ??? (???) <9974D2E5-98CA-3583-98A1-9A85E453385B> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/math.cpython-312-darwin.so
  0xae0000 -   0xeeeffb +_multiarray_umath.cpython-312-darwin.so ??? (???) <EF61165A-0B54-DC2B-83B9-884FF2FC42DF> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/core/_multiarray_umath.cpython-312-darwin.so
  0xf70000 -   0xf7effb +_datetime.cpython-312-darwin.so ??? (???) <F95B693A-4709-341F-2CBF-CD791C65F5BE> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_datetime.cpython-312-darwin.so
  0xfc9000 -   0xfcffff +_struct.cpython-312-darwin.so ??? (???) <3E52A171-E5E7-78CF-CDD1-3F7B0E136DBA> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_struct.cpython-312-darwin.so
  0xfd6000 -   0xfe7fff +_pickle.cpython-312-darwin.so ??? (???) <0FA4D399-8FDB-90A5-1597-D44CE36191D1> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_pickle.cpython-312-darwin.so
  0xff0000 -   0xff0ffd +_contextvars.cpython-312-darwin.so ??? (???) <CA525B06-2B7F-CA6F-319B-8050E85054BD> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_contextvars.cpython-312-darwin.so
  0xff3000 -   0xff8ff7 +libffi.8.dylib ??? (???) <8F9EBF03-F8E7-5AD2-C402-3C6BC4159824> /opt/local/lib/libffi.8.dylib
  0xffb000 -   0xffcfff +_random.cpython-312-darwin.so ??? (???) <CEFE7584-06C8-6FED-CB93-19A636264F80> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_random.cpython-312-darwin.so
 0x1800000 -  0x2159fef +libopenblas.0.dylib ??? (???) <C4508703-E162-747D-458C-7CE0870CBAA8> /opt/local/lib/libopenblas.0.dylib
 0x21c0000 -  0x229efff +libgfortran.5.dylib ??? (???) <47073CEF-25C9-8824-5B40-235211C61203> /opt/local/lib/libgcc/libgfortran.5.dylib
 0x62ee000 -  0x62fafff +_pocketfft_internal.cpython-312-darwin.so ??? (???) <76FE4F65-472D-285B-9569-F995B452BFF3> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/fft/_pocketfft_internal.cpython-312-darwin.so
 0x62fd000 -  0x62fdffe +_opcode.cpython-312-darwin.so ??? (???) <74041AE0-157D-31E2-7535-38B593EF734C> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_opcode.cpython-312-darwin.so
 0x64e2000 -  0x64e6fff +binascii.cpython-312-darwin.so ??? (???) <3A7F7D74-80F1-7253-F579-2D454065776D> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/binascii.cpython-312-darwin.so
 0x64ea000 -  0x64fcffc +libz.1.dylib ??? (???) <A7D052E5-99BB-A5E8-2179-2F973818B7B0> /opt/local/lib/libz.1.dylib
 0x66e5000 -  0x66ffffb +_multiarray_tests.cpython-312-darwin.so ??? (???) <0CB4ADED-CB1F-C4C5-0B05-C688B6D0C7EB> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/core/_multiarray_tests.cpython-312-darwin.so
 0x6786000 -  0x6799ffb +_ctypes.cpython-312-darwin.so ??? (???) <B7E19F64-4174-D641-46B3-6F262DB84F66> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so
 0x67e7000 -  0x67eeffc +_hashlib.cpython-312-darwin.so ??? (???) <E17B6DC3-2569-29CB-2A93-BDD10BCC9CC6> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_hashlib.cpython-312-darwin.so
 0x67f5000 -  0x67f7ffd +_bisect.cpython-312-darwin.so ??? (???) <19DFDC81-D870-737B-B133-BF80B2CEDE44> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_bisect.cpython-312-darwin.so
 0x7040000 -  0x706affb +_umath_linalg.cpython-312-darwin.so ??? (???) <7C5B0CC5-EEA7-561B-DB07-5C70A52FD71E> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so
 0x7131000 -  0x71cffff +mtrand.cpython-312-darwin.so ??? (???) <9791A75F-CCB1-504E-EBD4-A9600F6D59D8> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-darwin.so
 0x71dc000 -  0x7207ff7 +bit_generator.cpython-312-darwin.so ??? (???) <FE7AD0F1-8C54-95D8-820B-B53A6329BA77> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-darwin.so
 0x7211000 -  0x7247fff +_common.cpython-312-darwin.so ??? (???) <B41A4952-873F-D0EF-BBEF-280C462F60B7> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_common.cpython-312-darwin.so
 0x728e000 -  0x7518feb +libcrypto.3.dylib ??? (???) <9CEBA2D6-5BF6-7348-22EA-8617A351B3C7> /opt/local/libexec/openssl3/lib/libcrypto.3.dylib
 0x75fd000 -  0x7605fff +_blake2.cpython-312-darwin.so ??? (???) <3CC5A3A2-FD20-B285-234B-7EB415D90DA1> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_blake2.cpython-312-darwin.so
 0x760a000 -  0x7618ffc +_sha2.cpython-312-darwin.so ??? (???) <7833E3B3-77F7-3E27-DE4B-AF6987744D1A> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_sha2.cpython-312-darwin.so
 0x761e000 -  0x7668fff +_bounded_integers.cpython-312-darwin.so ??? (???) <351D33E9-5FE9-BBA5-AE49-414CA4A5A508> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-darwin.so
 0x766e000 -  0x7683ff7 +_mt19937.cpython-312-darwin.so ??? (???) <F256145F-8235-89E0-1C8D-45ADD06F1990> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-darwin.so
 0x7688000 -  0x769afff +_philox.cpython-312-darwin.so ??? (???) <15E10E6B-2ACA-E3CD-FBF3-8C0511812F17> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-darwin.so
 0x769f000 -  0x76b7fff +_pcg64.cpython-312-darwin.so ??? (???) <42E581C4-8C67-67A6-CAE4-94CF53EFD231> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_pcg64.cpython-312-darwin.so
 0x76bd000 -  0x76c7fff +_sfc64.cpython-312-darwin.so ??? (???) <F821E00E-A55B-B8AC-E88A-8FDED4690F34> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_sfc64.cpython-312-darwin.so
 0x76cc000 -  0x7794ff7 +_generator.cpython-312-darwin.so ??? (???) <4F23FF47-D8BE-63CF-314B-2A5192F79A42> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-darwin.so
0x8fe00000 - 0x8fe3d7c7  dyld 132.1 (???) <25642EAE-381E-F8E4-65D7-202623802C57> /usr/lib/dyld
0x90003000 - 0x9002bff3  com.apple.DictionaryServices 1.1.2 (1.1.2) <28D18429-6770-B127-886A-D632AEC97FB0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x90656000 - 0x907e4ff3  libicucore.A.dylib ??? (???) <3E465D6F-535F-E51D-93F1-7464C8AA934C> /usr/lib/libicucore.A.dylib
0x90886000 - 0x90893fff  libkxld.dylib ??? (???) <7C1EE264-5B42-1FBA-AA8B-B0F011D476EB> /usr/lib/system/libkxld.dylib
0x9094e000 - 0x9098bfff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <40364E85-F915-7EA1-98A4-4AFC1FFB2D3D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9098c000 - 0x909b8fff  libxslt.1.dylib ??? (???) <88189D5E-6F3D-BC47-0D34-8EA6465D0277> /usr/lib/libxslt.1.dylib
0x909b9000 - 0x909c2fff  com.apple.DiskArbitration 2.3 (2.3) <F5681EE4-97D8-4145-CCAD-51F78D899D80> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x909c3000 - 0x909d1fff  libz.1.dylib ??? (???) <3B22B5A3-9A90-EF48-84D9-07E6D0A1EDBF> /usr/lib/libz.1.dylib
0x9109a000 - 0x910d3ff3  com.apple.AE 496.5 (496.5) <D9E8C3F3-37C1-6BFA-FB1F-5D8C884D84CE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x910d4000 - 0x911e5fff  libxml2.2.dylib ??? (???) <F89A83D2-BF18-C82B-717B-6FCD96B8B7D0> /usr/lib/libxml2.2.dylib
0x911e6000 - 0x911ebffe  libmathCommon.A.dylib ??? (???) <C74C35F1-C121-4418-6BFF-503AA9D0B889> /usr/lib/system/libmathCommon.A.dylib
0x9146c000 - 0x91521ffb  com.apple.CFNetwork 454.12.4 (454.12.4) <F25C54B7-3D47-E79D-6443-F8595690907B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9156e000 - 0x916dbff7  com.apple.CoreFoundation 6.6.6 (550.44) <01239ACC-BF77-CD89-FB11-62612ADA6BBE> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x91c00000 - 0x91c43ff3  libauto.dylib ??? (???) <7F36ED55-D49F-3E2C-6330-6F0F7F645AFA> /usr/lib/libauto.dylib
0x91c52000 - 0x91cb2fff  com.apple.framework.IOKit 2.0 (???) <71C8FB5C-FE64-8001-2DA1-EF8BC7E3273A> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x91cd3000 - 0x91d88ffb  libsqlite3.dylib ??? (???) <BC14CA88-E9DA-5E7E-B624-D36846C54574> /usr/lib/libsqlite3.dylib
0x91dc4000 - 0x9210dffb  com.apple.CoreServices.CarbonCore 861.39 (861.39) <5F30A629-B51D-8D46-7323-E3F368CCBE61> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x92253000 - 0x92267fff  libbsm.0.dylib ??? (???) <AE1E2515-4ED9-9AFD-0DAF-ADFA421D39C5> /usr/lib/libbsm.0.dylib
0x92268000 - 0x922dbff7  libstdc++.6.dylib ??? (???) <3B1C6DCD-B165-49B8-060D-9FCC4C09FBDE> /usr/lib/libstdc++.6.dylib
0x922dc000 - 0x9238eff3  libobjc.A.dylib ??? (???) <37861DF9-840C-8F1C-57E9-2E4D4CF4A5D3> /usr/lib/libobjc.A.dylib
0x924b5000 - 0x9268dffb  libSystem.B.dylib ??? (???) <45298DD5-31D9-AE52-CCE7-D02224C22208> /usr/lib/libSystem.B.dylib
0x926c5000 - 0x92769ff3  com.apple.LaunchServices 362.3 (362.3) <8EEC6B1A-5174-443D-942A-C253358D206C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x927a2000 - 0x92828fff  com.apple.SearchKit 1.3.0 (1.3.0) <FDCCACEC-1294-9871-DBDD-DCC0C53F8169> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9289d000 - 0x928abffe  com.apple.NetFS 3.2.2 (3.2.2) <1B167948-4975-38B7-492A-E1540FE665D7> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x92940000 - 0x92bb6ff7  com.apple.security 6.0 (36910) <F73CE32C-B154-86BC-2B13-966B9DB0CD44> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x92bb7000 - 0x92bfeff7  com.apple.Metadata 10.6.3 (507.15) <6AB3D3B7-BFEA-6024-8BA6-F639E3920670> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x92c02000 - 0x92ce0ff7  com.apple.CoreServices.OSServices 359.2 (359.2) <6A759D29-CB94-342E-45A7-5F1684A0FEEC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x92d93000 - 0x92d93ffa  com.apple.CoreServices 44 (44) <EEDF28CB-C144-9A7B-7467-32EB629CC620> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0xffff8000 - 0xffff9703  libSystem.B.dylib ??? (???) <45298DD5-31D9-AE52-CCE7-D02224C22208> /usr/lib/libSystem.B.dylib

Model: PowerMac11,2, BootROM 5.2.7f1, 4 processors, PowerPC G5 (1.1), 2.5 GHz, 16 GB, SMC
Graphics: NVIDIA Quadro FX 4500, Quadro FX 4500, PCIe, 512 MB
Memory Module: DIMM0/J6700, 2 GB, DDR2 SDRAM, PC2-3200U-288
Memory Module: DIMM1/J6800, 2 GB, DDR2 SDRAM, PC2-3200U-288
Memory Module: DIMM2/J6900, 2 GB, DDR2 SDRAM, PC2-4200U-444
Memory Module: DIMM3/J7000, 2 GB, DDR2 SDRAM, PC2-4200U-444
Memory Module: DIMM4/J7100, 2 GB, DDR2 SDRAM, PC2-3200U-288
Memory Module: DIMM5/J7200, 2 GB, DDR2 SDRAM, PC2-3200U-288
Memory Module: DIMM6/J7300, 2 GB, DDR2 SDRAM, PC2-3200U-288
Memory Module: DIMM7/J7400, 2 GB, DDR2 SDRAM, PC2-3200U-288
Network Service: Ethernet 1, Ethernet, en0
PCI Card: Quadro FX 4500, Display, SLOT-1
PCI Card: Apple 5714, network, GIGE
PCI Card: Apple 5714, network, GIGE
PCI Card: pci16b8,6a02, AHCI Controller, SLOT-4
Serial ATA Device: WDC WD2500JS-41MVB1, 232.89 GB
Serial ATA Device: VO0600ECHPP, 558.91 GB
Parallel ATA Device: HL-DT-ST DVD-RW GWA-4165B, 744.6 MB
USB Device: USB Keyboard, 0x04f2  (Chicony Electronics Co., Ltd.), 0x1516, 0x0b200000
USB Device: HP USB Optical Mouse, 0x03f0  (Hewlett Packard), 0x134a, 0x2b200000
FireWire Device: unknown_device, unknown_value, Unknown
FireWire Device: unknown_device, unknown_value, Unknown

Switching to 0.3.28, I was able to configure py-scipy normally, and the build runs now with no issues. Nothing else changed, I did not even have to rebuild py-numpy, only switch OpenBLAS from 17803e790119705d2e2326f9bdbb641999fa04ab to the release.
Importantly, MacPorts build OpenBLAS-devel (the one tracking upstream) with native optimizations, while releases are built without those.

@martin-frbg Could you please take a look? I can do bisecting is needed, but it will be helpful to have an idea what is likely to have gone wrong. Otherwise it will take forever, OpenBLAS is not a quick thing to build on a G5.

@martin-frbg Turns out 0.3.28 is also broken if built with optimizations. So it is not something after 0.3.28 for sure.
Could be optimization-specific bug in OpenBLAS, could be a bug in GCC.

Would you happen to know which older version definitely worked for you ? This is probably an older bug, if it is a bug in OpenBLAS at all - last time I changed something for the old G-series was 0.3.26 I think, and most BLAS kernels are likely original GotoBLAS material from 15 years ago. Any new "POWERPC" code is targeting at least POWER8, and I do not have any G4/G5 era hardware

@martin-frbg We had this issue earlier, related to optimizations: https://github.com/OpenMathLib/OpenBLAS/issues/4376
Not sure if it is related to this issue.
It is hard to say which version worked for sure (i.e. worked with optimizations enabled), since the criterion is unclear (I mean, the bug may have been present but was unnoticed). Everything was building against both versions of OpenBLAS (with the exception of the issue linked), and I was using OpenBLAS-devel quite often, I think. However that in itself does not guarantee that it was built correctly.
If this is a possible bug in GCC, I will bring it to upstream, but I need some meaningful and minimal test case to reproduce the problem.
Could you advise what to check specifically, given the context we have?

OK, that would be the change in 0.3.26 that I remembered - but I do not think I wii be able to be of much help here. If the error is intermittent, maybe it depends on register use or data alignment - I can look into that, but the ppc970 is an ancient and unfamiliar cpu to me.

I can certainly build 2–3 releases with +native on G5 to see if at least some will not exhibit the error. If you will recall some specific commits which potentially may be problematic, I can try bisecting those.

The thing is that I do not think any recent commit could have been particularly problematic, as all ongoing powerpc development is focused on current server cpus. If there is a way for you to figure out from your Python backtrace which BLAS function is causing the crash, I can take a closer look - but there should be minimal overlap, if any, between the optimized kernels on a POWER9 or 10 cpu and what gets invoked on a 20+ year old desktop machine.
If MacPorts manages to provide binaries, at least it seems to be something specific enough that it does not cause any of the build-time tests to blow up - unless they disable those, or are doing cross-builds without later testing on actual G5 hardware.

That said, what (I) changed in 0.3.28 was the SCAL kernel in #4807 - introducing an additional variable and conditional into the assembly code that is used across multiple ppc cpus. But if that commit is broken, it should have terminated the build on more that one target, no matter if "native" optimization is enabled or not...

@martin-frbg Thank you. The log seems to mention dgeqr2, though I have no idea whether it was the actual reason for a crash.
P. S. MacPorts does not build anything at all on PowerPC, buildbots are not there. I am building some ports (not in a reference environment), but it is unfeasible to test everything which is being built. I try to test important stuff though or when needed to debug something, and OpenBLAS is important certainly.

thanks - DGEQR2 is (unoptimized Fortran) LAPACK but the call graph at https://www.netlib.org/lapack/explore-html/d6/da5/group__geqr2_ga0ff91490bc2e246cabb8fe02f3f1da97.html touches DSCAL so it could have been me (if the new variable lives at a different stack location on MacOS, which I have no way of testing). Reverting #4807 should cause a number of test failures unless you disable the SCAL-related utests - this is an unfortunate trade-off berween fixing the NaN handling in user-generated calls vs. the naive behaviour of SCAL when called by other BLAS functions, often as a quick way to zero an array

Looking at this again (and on more than just a phone screen), it occurs to me that (1) if the DSCAL changes were wrong, they should blow up both with and without native optimizations - if by native optimizations you mean compiler flags (?)
and (2) the backtrace ending in dgeqr2 rather than any function called from it suggests that the problem already occurs in whatever optimized machine code the Fortran compiler creates from Reference-LAPACKs dgeqr2 code that OpenBLAS includes. Perhaps you could try including DEBUG=1 (equivalent to the -g compiler flag) in your build flags for OpenBLAS (if that is not already there) to see if we can get a more exact failure location ?

Maybe time to bring GCC's Iain Sandoe back into the loop (though I think he'd want a very small and self-contained reproducer while we're not even sure where we are exactly) ? Or try dropping the altivec from the compile flags now too, although it seemed not to matter when you tried in #4376 ?
Given the experience with the earlier issue, I'm labeling this as a compiler issue now until there is evidence that OpenBLAS' code is actually at fault here.

I will try your suggestion, thanks.
Is the likely bug in gfortran specifically? I can ask in gfortran mailing list about the issue too.

@martin-frbg OpenBLAS from 20240704 with native opts (which adds -mtune=native -maltivec) built with gcc14 does not seem to exhibit the problem. I verified this on another installation where I had that version pre-built, so it still does not exclude possibilities that a bug is in gcc or as. I will rebuild now on the same system to make sure.

gfortran would be implied as the culprit if the crash is in DGEQR2, simply because dgeqr2 is LAPACK code copied from the Reference-LAPACK project, which is entirely written in Fortran.
I assume -mtune=970 and-mtune=native will be identical when compiling on G5, but it is not clear to me what influence they could have on code that is already written in assembly

I am running the build of OpenBLAS from e1eef56e0510fecd5a05df9a8fddaf63a3d91ef0 (20240704) now on a system where the failure was observed, so soon I will know if it is broken or now.
You are right, -mtune=970 is added, but indeed those are identical, AFAIK (on a G5).
On another test system where 20240704 worked it was built with gcc 14.1.0, so we got different gcc versions. I just thought whether gcc config matters: I have an optimized version with was built with --with-tune-cpu=G5 and a generic one.
So there are a number of variables here which may affect the result. I will run several builds to exclude, hopefully, some possibilities, at least those which do not require rebuilding gcc itself.

@martin-frbg Okay, e1eef56e0510fecd5a05df9a8fddaf63a3d91ef0 +native works fine with gcc 14.2.0 build with --with-tune-cpu=G5. So the only possibility is OpenBLAS regression, IMO.
36-39:~ svacchanda\$ port -v installed gcc14
The following ports are currently installed:
  gcc14 @14.2.0_1+G5+stdlib_flag (active) requested_variants='+G5+stdlib_flag-universal' platform='darwin 10' archs='ppc' date='2024-12-26T10:49:25+0800'

36-39:~ svacchanda\$ port -v installed OpenBLAS-devel
The following ports are currently installed:
  OpenBLAS-devel @20240704-e1eef56e_0+gcc14+lapack+native (active) requested_variants='' platform='darwin 10' archs='ppc' date='2024-12-30T17:07:17+0800'
  OpenBLAS-devel @20241225-17803e79_0+gcc14+lapack+native requested_variants='' platform='darwin 10' archs='ppc' date='2024-12-29T02:13:21+0800'

--->  Building py312-scipy
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work -Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas -Csetup-args=-Dpkg_config_path=/opt/local/lib/pkgconfig
* Getting build dependencies for wheel...
* Building wheel...
+ meson-3.12 setup /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-ekhal5ad -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dblas=openblas -Dlapack=openblas -Dpkg_config_path=/opt/local/lib/pkgconfig --native-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-ekhal5ad/meson-python-native-file.ini
The Meson build system
Version: 1.6.1
Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1
Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-ekhal5ad
Build type: native build
Project name: scipy
Project version: 1.14.1
C compiler for the host machine: /opt/local/bin/gcc-mp-14 (gcc 14.2.0 "gcc-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
C linker for the host machine: /opt/local/bin/gcc-mp-14 ld64 97.17
C++ compiler for the host machine: /opt/local/bin/g++-mp-14 (gcc 14.2.0 "g++-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
C++ linker for the host machine: /opt/local/bin/g++-mp-14 ld64 97.17
Cython compiler for the host machine: cython (cython 3.0.11)
Host machine cpu family: ppc
Host machine cpu: power macintosh
Program python found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12)
Found pkg-config: YES (/opt/local/bin/pkg-config) 0.29.2
Run-time dependency python found: YES 3.12
Program cython found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
Fortran compiler for the host machine: /opt/local/bin/gfortran-mp-14 (gcc 14.2.0 "GNU Fortran (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
Fortran linker for the host machine: /opt/local/bin/gfortran-mp-14 ld64 97.17
Compiler for Fortran supports arguments -Wno-conversion: YES
Compiler for C supports link arguments -Wl,-dead_strip: NO
Checking if "-Wl,--version-script" : links: NO
Program tools/generate_f2pymod.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/tools/generate_f2pymod.py)
Program scipy/_build_utils/tempita.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/_build_utils/tempita.py)
Program pythran found: YES 0.17.0 0.17.0 (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pythran)
Found CMake: /opt/local/bin/cmake (3.31.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency xsimd found: NO (tried pkgconfig, framework and cmake)
Run-time dependency threads found: YES
Library npymath found: YES
pybind11-config found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pybind11-config) 2.13.6
Run-time dependency pybind11 found: YES 2.13.6
Program f2py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/f2py)
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Run-time dependency openblas found: YES 0.3.27.dev
Dependency openblas found: YES 0.3.27.dev (cached)
Program ../tools/version_utils.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/../tools/version_utils.py)
Compiler for C supports arguments -Wno-maybe-uninitialized: YES
Compiler for C supports arguments -Wno-discarded-qualifiers: YES
Compiler for C supports arguments -Wno-empty-body: YES
Compiler for C supports arguments -Wno-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-parentheses: YES
Compiler for C supports arguments -Wno-switch: YES
Compiler for C supports arguments -Wno-unused-label: YES
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports arguments -Wno-unused-variable: YES
Compiler for C++ supports arguments -Wno-bitwise-instead-of-logical: NO
Compiler for C++ supports arguments -Wno-cpp: YES
Compiler for C++ supports arguments -Wno-class-memaccess: YES
Compiler for C++ supports arguments -Wno-deprecated-declarations: YES
Compiler for C++ supports arguments -Wno-deprecated-builtins: NO
Compiler for C++ supports arguments -Wno-format-truncation: YES
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
Compiler for C++ supports arguments -Wno-sign-compare: YES
Compiler for C++ supports arguments -Wno-switch: YES
Compiler for C++ supports arguments -Wno-terminate: YES
Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES
Compiler for C++ supports arguments -Wno-unused-function: YES
Compiler for C++ supports arguments -Wno-unused-local-typedefs: YES
Compiler for C++ supports arguments -Wno-unused-variable: YES
Compiler for C++ supports arguments -Wno-int-in-bool-context: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-intrinsic-shadow: YES
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES
Compiler for Fortran supports arguments -Wno-surprising: YES
Compiler for Fortran supports arguments -Wno-uninitialized: YES
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES
Compiler for Fortran supports arguments -Wno-unused-label: YES
Compiler for Fortran supports arguments -Wno-unused-variable: YES
Compiler for Fortran supports arguments -Wno-tabs: YES
Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached)
Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-label: YES (cached)
Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached)
Compiler for Fortran supports arguments -Wno-tabs: YES (cached)
Checking if "Check atomic builtins without -latomic" : links: NO
Library atomic found: YES
Checking if "Check atomic builtins with -latomic" with dependency -latomic: links: YES
Configuring __config__.py using configuration
Checking for function "open_memstream" : NO
Configuring messagestream_config.h using configuration
Program _generate_pyx.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/special/_generate_pyx.py)
Program _generate_pyx.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/linalg/_generate_pyx.py)
Program ../_build_utils/echo.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/linalg/../_build_utils/echo.py)
Compiler for Fortran supports arguments -w: YES
Program ../_generate_sparsetools.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/sparse/sparsetools/../_generate_sparsetools.py)
Checking for size of "void*" : 4
Compiler for Fortran supports arguments -w: YES (cached)
Build targets in project: 197

scipy 1.14.1

  User defined options
    Native files   : /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-ekhal5ad/meson-python-native-file.ini
    b_ndebug       : if-release
    b_vscrt        : md
    blas           : openblas
    buildtype      : release
    lapack         : openblas
    pkg_config_path: /opt/local/lib/pkgconfig

Found ninja-1.12.1 at /opt/local/bin/ninja
+ /opt/local/bin/ninja
[1/1383] Generating scipy/linalg/cython_linalg with a custom command
[2/1383] Module scanner.
. . .

Let me try bisecting from here. We know that e1eef56 works but 0.3.28 does not. There are perhaps not too many rebuilds needed to identify a breaking commit.

@martin-frbg Bisecting was quick. It is indeed #4807 PR broken it. 15c53dd2e094d166e5e8cdbf77e2fb209216c22f is still fine, but fb7c53c5e56469d95bcf13345bc3532381873fb6 fails:
--->  Building py312-scipy
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work -Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas -Csetup-args=-Dpkg_config_path=/opt/local/lib/pkgconfig
* Getting build dependencies for wheel...
* Building wheel...
+ meson-3.12 setup /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-6l3dtfxi -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dblas=openblas -Dlapack=openblas -Dpkg_config_path=/opt/local/lib/pkgconfig --native-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-6l3dtfxi/meson-python-native-file.ini
The Meson build system
Version: 1.6.1
Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1
Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-6l3dtfxi
Build type: native build
Project name: scipy
Project version: 1.14.1
C compiler for the host machine: /opt/local/bin/gcc-mp-14 (gcc 14.2.0 "gcc-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
C linker for the host machine: /opt/local/bin/gcc-mp-14 ld64 97.17
C++ compiler for the host machine: /opt/local/bin/g++-mp-14 (gcc 14.2.0 "g++-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
C++ linker for the host machine: /opt/local/bin/g++-mp-14 ld64 97.17
Cython compiler for the host machine: cython (cython 3.0.11)
Host machine cpu family: ppc
Host machine cpu: power macintosh
Program python found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12)
Found pkg-config: YES (/opt/local/bin/pkg-config) 0.29.2
Run-time dependency python found: YES 3.12
Program cython found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
Fortran compiler for the host machine: /opt/local/bin/gfortran-mp-14 (gcc 14.2.0 "GNU Fortran (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
Fortran linker for the host machine: /opt/local/bin/gfortran-mp-14 ld64 97.17
Compiler for Fortran supports arguments -Wno-conversion: YES
Compiler for C supports link arguments -Wl,-dead_strip: NO
Checking if "-Wl,--version-script" : links: NO
Program tools/generate_f2pymod.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/tools/generate_f2pymod.py)
Program scipy/_build_utils/tempita.py found: YES (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/scipy/_build_utils/tempita.py)
Program pythran found: YES 0.17.0 0.17.0 (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pythran)
Found CMake: /opt/local/bin/cmake (3.31.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency xsimd found: NO (tried pkgconfig, framework and cmake)
Run-time dependency threads found: YES

../scipy/meson.build:48:17: ERROR: Command `/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -c 'import os
os.chdir(os.path.join("..", "tools"))
import numpy as np
try:
  incdir = os.path.relpath(np.get_include())
except Exception:
  incdir = np.get_include()
print(incdir)
  '` failed with status -10.

A full log can be found at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.14.1/.mesonpy-6l3dtfxi/meson-logs/meson-log.txt

ERROR Backend subprocess exited when trying to invoke build_wheel

@martin-frbg Since you have no older powerpc hardware, can I assist with finding more specifically what causes the breakage? Rebuilds on the Quad are quick, so if you can make a branch with possible fix, I can try that, or w/e else may be needed.

#4807 would be about the only relevant change between July 4 and July 25 - at least I don't think #4796 could break anything. Quickest workaround would probably be to drop
SSCALKERNEL=../arm/scal.c
DSCALKERNEL=../arm/scal.c
CSCALKERNEL=../arm/zscal.c
ZSCALKERNEL=../arm/zscal.c

into kernel/power/KERNEL.PPC970

Yes, it is exactly fb7c53c5e56469d95bcf13345bc3532381873fb6 which introduced the breakage, since immediately previous commit works fine. I will try the suggestion.

@martin-frbg Since you have no older powerpc hardware, can I assist with finding more specifically what causes the breakage? Rebuilds on the Quad are quick, so if you can make a branch with possible fix, I can try that, or w/e else may be needed.

Thank you - but frankly the problem is that I'm not really sure I know what I'm doing on these old machines. Looks like I'm either using a register that the OS or compiler want to have for different things, or the stack address I'm reading the flag value from is not the correct one when running MacOS. Guess I would need a stack dump from inside a debugger to figure out at least the second option. Not sure if that is worth the trouble, performance is probably not that much worse with the simple C kernels and I suspect nobody is using 20 years old hardware for performance reasons anyway.
What might be good to know is if the same problem exists on the PPC440 or PPCG4 targets with current develop, as I butchered the scal_ppc440.S in similar ways in early October.

@martin-frbg Regarding registers, if you tell me in a couple of words how R2, R11, R12, R13 are used, I can verify with ABI docs or we can ask Iain to help here. Few things to note:

Darwin ppc and ppc64 differ somewhat with how some registers are used. That may or may not be consequential for a specific code.
No TOC on Darwin, R2 is available.
R13 is a normal register in ppc ABI, but reserved in ppc64 ABI.
There is some specific re R11 vs R12, which I do not understand well, but in practice I have seen that ELF and Darwin use those in reverse (i.e. it was done that way in credible examples which were known to work).
Details in a concise form can be found here: http://personal.denison.edu/~bressoud/cs281-s07/MacOSXLowLevelABI.pdf

I will check G4 build. Rebuilding now from the develop branch with added patch which you suggested to try.

@martin-frbg OpenBLAS +native from 36b0fb3aff5a984f2138e8610da179623bf655e5 works fine on G5 with this patch added:
--- kernel/power/KERNEL.PPC970.orig	2024-12-30 20:49:18.000000000 +0800
+++ kernel/power/KERNEL.PPC970	2024-12-30 20:49:30.000000000 +0800
@@ -83,6 +83,10 @@
 CTRSMKERNEL_RN	=  ztrsm_kernel_LT.S
 CTRSMKERNEL_RT	=  ztrsm_kernel_RT.S

+SSCALKERNEL  = ../arm/scal.c
+DSCALKERNEL  = ../arm/scal.c
+CSCALKERNEL  = ../arm/zscal.c
+ZSCALKERNEL  = ../arm/zscal.c

 SROTKERNEL   = ../arm/rot.c
 DROTKERNEL   = ../arm/rot.c

To test G4 kernel, do I need to physically build that on a G4 or I can just force the build to use G4-specific options, running on G5? And also, should I start with the same patch or without it?

I think simply building on your G5 with TARGET=PPC440 or PPCG4 should be sufficient, thank you.
Regarding register use, r12 is simply used to take an integer that (I assume) is passed on the stack, and compare that to see if it is zero or one. I have used r13 instead of r12 in a branch that I think does not get executed at all in your case, for DSCAL in ppc mode (I was blindly following the register use in existing code there).
In principle, any other available register would do  to serve as temporary storage for the FLAG value, I saw r12 used in existing code e.g. gemv so assumed it would be safe.

From the ABI document, I still think my assumption that the added parameter would be in SP+120 on the stack is correct.
Perhaps we could try #define FLAG r10 (or any r value beyond 13, say r14, if the G4/G5 actually have that many general purpose registers) in all of the four instances currently defining FLAG as r11,r12,r13 and r12 respectively in kernel/power/scal.S ? That would at least let the code stay clear of all general-purpose registers that could have a dual use on Mac.

@martin-frbg Sorry, I missed that earlier: what MacPorts does by default (as an allegedly non-optimized build) is just forcing G4 kernel for ppc:
--->  Configuring OpenBLAS
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_OpenBLAS/OpenBLAS/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCOMMON_PROF=-pg -DNUM_THREADS=56 -DTARGET=PPCG4 -DNO_AVX=ON -DNO_AVX2=ON -DNO_AVX512=ON -DCMAKE_AR=/opt/local/bin/ar -DCMAKE_NM=/opt/local/bin/nm -DCMAKE_OBJDUMP=/opt/local/bin/objdump -DCMAKE_RANLIB=/opt/local/bin/ranlib -DCMAKE_STRIP=/opt/local/bin/strip -DCMAKE_LINKER=/opt/local/bin/ld -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.28

So no need to test that, we know that this build worked fine. Only PPC970 was affected.
Allow me to look into the ABI tomorrow, it was a long day.
P. S. By the way why adding those from arm dir fixed the problem?
+SSCALKERNEL  = ../arm/scal.c
+DSCALKERNEL  = ../arm/scal.c
+CSCALKERNEL  = ../arm/zscal.c
+ZSCALKERNEL  = ../arm/zscal.c

Good to know that G4 is unaffected. Adding the "generic" C kernels to the build configuration overrides the default from kernel/Makefile.L1 which specifies SSCALKERNEL=scal.S and DSCALKERNEL=scal.S . (Overriding the defaults for CSCAL and ZSCAL should indeed be unnecessary, as the new flag parameter for NaN handling was only added to the real-space functions. The fact that a lot of the generic BLAS kernels ended up in "arm" or "mips" rather than "generic" is just a historic oddity - not sure if OpenBLAS inherited this from GotoBLAS already, or if it crept in later as more architectures got added).
Thank you very much for your help so far - I guess you must be very close to the New Year already, if you are anywhere near the location in your profile. I hope it will be a good year...

Thank you, and the same to you! (Yes, I am in TW at the moment, so time is accurate.)
I will look at the code tomorrow, and perhaps we could ask GCC upstream if they could assist us too.


Issue #130 Add more classloaders for Traditional Websphere

Unsure whether we should add @sbespalov, could you give your thoughts? The consequence is that scanning will obviously take longer. Also - the ProtectionClassLoader is there for a reason: we might want to prevent access to it?
Further - I updated this fork by rebasing. Not sure if you want to merge like it is or cimply cherry pick my commit.

@RaimondKempees It looks like you based this on 2.4.1, can you please re-base on master? Thanks.

@RaimondKempees I just cherry-picked the change. Thanks!

 Think I made a boolean logic error:
if (!"com.ibm.ws.classloader.CompoundClassLoader".equals(c.getName())
|| !"com.ibm.ws.classloader.ProtectionClassLoader".equals(c.getName())
|| !"com.ibm.ws.bootstrap.ExtClassLoader".equals(c.getName())) {
continue;
}
The ORs should be ANDs!
Could this be fixed asap please? Should be possible to overwrite 2.4.6
in Maven Central..
Sorry!
Rai
On Sun, Sep 3, 2017 at 1:27 PM, Luke Hutchison<EMAIL_ADDRESS>wrote:

Closed #134 https://github.com/lukehutch/fast-classpath-scanner/pull/134
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lukehutch/fast-classpath-scanner/pull/134#event-1232583126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD7xsdVOY6P4tw4QQwiWXUBPjwzcgj4gks5seo00gaJpZM4PLJ9a
.

 I will fix this now.. But I have never
had luck with changing anything in Maven Central. I think it is designed
for write-once.
 Think I made a boolean logic error:
if (!"com.ibm.ws.classloader.CompoundClassLoader".equals(c.getName())
|| !"com.ibm.ws.classloader.ProtectionClassLoader".equals(c.getName())
|| !"com.ibm.ws.bootstrap.ExtClassLoader".equals(c.getName())) {
continue;
}
The ORs should be ANDs!
Could this be fixed asap please? Should be possible to overwrite 2.4.6
in Maven Central..
Sorry!
Rai
On Sun, Sep 3, 2017 at 1:27 PM, Luke Hutchison<EMAIL_ADDRESS>wrote:

Closed #134 <https://github.com/lukehutch/fast-classpath-scanner/pull/
134>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/lukehutch/fast-classpath-scanner/pull/
134#event-1232583126>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AD7xsdVOY6P4tw4QQwiWXUBPjwzcgj4gks5seo00gaJpZM4PLJ9a>
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/lukehutch/fast-classpath-scanner/pull/134#issuecomment-326802839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxhKRncCQ1ob_TVCSeoUdeQvJGmMzvvks5sep-hgaJpZM4PLJ9a
.


How to create geometry from relation?

I tried to get geometries from relations but I was getting ArgumentError for both .create_linestring() and .create_multipolygon(). I also tried both methods for each r.memberelement but with the same error. Both area and way geometries are working. Here is a snippet of my code:
import osmium as osm
import shapely.wkb

wkb_factory = osm.geom.WKBFactory()

class OSMHandler(osm.SimpleHandler):
    def __init__(self):
        osm.SimpleHandler.__init__(self)
        self.amenities = []

    def relation(self, r):
        if 'amenity' in r.tags:
            wkb = wkb_factory.create_linestring(r)
            multipolygon = shapely.wkb.loads(wkb, hex=True)
            lon, lat = line.centroid.x, line.centroid.y

            self.amenities.append([r.id, r.tags['amenity'], lon, lat])

handler = OSMHandler()
handler.apply_file('liechtenstein-latest.osm.pbf', locations=True)

ArgumentError: Python argument types in
WKBFactory.create_multipolygon(WKBFactory, Relation)
did not match C++ signature:
create_multipolygon(WKBFactory {lvalue} self, osmium::Area area)

Is there a proper way to get the geometry from a relation in pyosmium? Thank you in advance.

Relations as is do not have geometries. This is something that you can infer from tags. This is done for you in osmium so for relations that are multipolygons you will get an area and that what works for you.
As I understand - you would also like to have similar support for relations that represent line objects (such as routes).
As far as I'm familiar with pyosmium and osmium, this is not implemented yet.

Thank you, @wiktorn. This means that the geometries of relations that are not tagged with area=yes are not accessible by pyosmium?
Yes, I think it would be useful to be able to get the geometry from a relation as a multi polygon or multiline string. But I suppose that issue exists for osmium already?

You can get multi-polygons for all non-broken relations tagged type=multipolygon or type=boundary. Use the area() callback instead of the relation() callback. Be aware though, that this also returns closed ways (i.e. it returns everything that represents an area in OSM)).
There is no way to return multi-linestrings from relation. This is covered as a feature request in #50 already.

Thank you for clarification, @lonvia

@njanakiev Did you find a way to solve your problem ? I need the same to build a multi-linestring from relation

I wrote an example which shows how you can get shapely polygons from relations. It is a bit clunky, but I had to do it this way, because I have a history file which is not compatible with the area callback. This can be adapted for linestrings from routes as well. Hope this helps.


chore: fix ruff UP031

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 22.82%. Comparing base (7307a77) to head (d34f320).

Files
Patch %
Lines

midealocal/devices/__init__.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #122   +/-   ##
=======================================
  Coverage   22.82%   22.82%
=======================================
  Files          77       77
  Lines        6634     6634
=======================================
  Hits         1514     1514
  Misses       5120     5120

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


Added Merch-Designer

Merch designer is a website for designing swags. it in early stage so there are tons of things the community can do for this project

We're getting to a point where we get many requests to add personal projects to this list, and I want to be mindful of promoting projects that are in a really solid state.
I feel like this project needs a bit more work to meet that standard.
What do you think?

@Abdulmumin1 I think it needs to be in a better space for it to be added to this list.

@ykdojo OK, am going to work on it, but this is my first time so I don't know alot of things.
How can I reach out to you if I want it reviewed?


make variant prop optional

The underlying logic was supporting to make the variant prop an optional one, this works because:
if any icon has both variants (branded and mono) the component scaffold includes an initial value variant = mono here, and if the component is missing any of the variants, the JSX doesn't include that during the component generation, effectively rendering the variant prop useless.
For example:
<>

  <TokenIcon symbol='SHIB' size={64} />
  {`<TokenIcon symbol='SHIB' size={64} />`}

  <TokenSHIB size={64} />
  {`<TokenSHIB size={64} />`}

  <TokenSHIB size={64} variant='mono' />
  {`<TokenSHIB size={64} variant='mono' />`}

</>

would render all of the SHIB icons as branded even when the variant="mono" is passed because the TokenSHIB only comes with the branded variant.

and when any icon has both variants, both TokenIcon component and the individual icon component would default to variant="mono"
<>

  <TokenIcon symbol='ETH' size={64} />
  {`<TokenIcon symbol='ETH' size={64} />`}

  <TokenETH size={64} />
  {`<TokenETH size={64} />`}

  <TokenETH size={64} variant='mono' />
  {`<TokenETH size={64} variant='mono' />`}

  <TokenETH size={64} variant='branded' />
  {`<TokenETH size={64} variant='branded' />`}

</>

fixes #15

@junwen-k let me know if this works for you

@junwen-k let me know if this works for you

Thanks, while this may work for my case it could also introduce some confusion because now the variant prop is not "guaranteed".

would render all of the SHIB icons as branded even when the variant="mono" is passed because the TokenSHIB only comes with the branded variant.

User might be expecting a mono variant but the rendered one is branded. In my opinion it might be clearer to be more explicit like:
import { TokenETH } from '@web3icons/react/mono';

import { TokenETH } from '@web3icons/react/branded'; // If "TokenETH" does not have branded variant, this import fails immediately.

This seems clearer and more explicit in my opinion. (Users know for sure the variant of the icon). However this PR should address my issue for now, thanks :)

@junwen-k let me know if this works for you

Thanks, while this may work for my case it could also introduce some confusion because now the variant prop is not "guaranteed".

would render all of the SHIB icons as branded even when the variant="mono" is passed because the TokenSHIB only comes with the branded variant.

User might be expecting a mono variant but the rendered one is branded. In my opinion it might be clearer to be more explicit like:
import { TokenETH } from '@web3icons/react/mono';

import { TokenETH } from '@web3icons/react/branded'; // If "TokenETH" does not have branded variant, this import fails immediately.

This seems clearer and more explicit in my opinion. (Users know for sure the variant of the icon). However this PR should address my issue for now, thanks :)

Ah, I missed a quite important point. My usage is purely static, uses only the TokenMATIC and does not involve dynamically rendering the icons. Having the variant prop might be helpful for dynamic render. :)
However in my opinion it is still clearer and more predictable having the variant specified directly during import.

Ah, I missed a quite important point. My usage is purely static, uses only the TokenMATIC and does not involve dynamically rendering the icons. Having the variant prop might be helpful for dynamic render. :)
However in my opinion it is still clearer and more predictable having the variant specified directly during import.

yeah I hear that, but it is a breaking change and I think not getting an icon for a variant is worst than getting a fallback. I'll work on making it a bit clearer so it's not unexpected.
Merging the PR thanks!


Relay GraphQL Support needed

Hello
It would be great if the hot-middleware could update a component when its Relay GraphQL Query changes. At the moment it is not aware of it and forces the developer to manually do a full page reload which destroys his current application state.
In this example
import React from 'react';
import Relay from 'react-relay';

/**
 * The Home component.
 */
class Home extends React.Component {
  // Expected properties.
  static propTypes = {
    viewer: React.PropTypes.object.isRequired
  };
  // Initialize the component.
  constructor(props) {
    super(props);
  }
  // Render the component.
  render() {
    // Return the component UI.
    return (

Widget list

          {this.props.viewer.widgets.edges.map(edge =>

{edge.node.name} (ID: {edge.node.id})

          )}

    );
  }
}

/**
 * The home data container.
 */
export default Relay.createContainer(Home, {
  fragments: {
    viewer: () => Relay.QL`
      fragment on User {
        widgets(first: 5) {
          edges {
            node {
              id,
              name,
            },
          },
        },
      }
    `
  }
});

We should be able to make a change to the Query and the hot-middleware should update the component.
Hope it will be easy for you to add this feature - it would improve React development hugely.
Thank you

This seems like it would be more related to https://github.com/gaearon/babel-plugin-react-transform - this module doesn't know anything about react or relay - it just connects up the hot reloading stuff.


Cache clusters

Cluster cache should be pregenerated with manage.py gen_cluster_cache 48 46
Cluster cache is controlled by settings defined in project.py
Simple tests have shown that CLUSTER_CACHE_MAX_ZOOM = 5 works the best, as higher zoom levels have too many objects that slow down the point rendering (+ there is some data transfer overhead)

@meomancer Can you please make this PR mergable and then merge after testing?


[DO-NOT-MERGE][BUILD] Fix dependencyList diff

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Now I changed dependencyList, expecting CI to fail


Static Files S3

Hello, could you please elaborate a bit more on the subject of why you're not using S3 to store the static files?
It would be much cheaper or not? Especially with multiple bundles and async loading.

+1 @maciejtreder 200ms is noteable for seo

@John0x @mattmeye
There are two major reasons:

I was running into a lot of issues with CORS on Chrome:
https://zyst.io/how-to-fix-aws-s3-chrome-and-safari-cors-on-images
https://stackoverflow.com/questions/20253472/cors-problems-with-amazon-s3-on-the-latest-chomium-and-google-canary

There is much more about that on the web.

I am focusing on automation of deployment process in this repository. I want make it running on developers end just 'out of the box'. Serving static files from s3 need a lot of manual setup.


Code coverage

Detailed description:
Add code coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1dee1ff). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master      #3   +/-   ##
========================================
  Coverage          ?   0.00%
========================================
  Files             ?      13
  Lines             ?    1916
  Branches          ?     280
========================================
  Hits              ?       0
  Misses            ?    1916
  Partials          ?       0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dee1ff...a70afd7. Read the comment docs.