Update main with development

Add group associations to roles (#319)

Create diagnose script (#325)

Sync up the generated code from openapi generator with what we have currently (#331)

applied formatting (#341)

pre-commit setup and dev reqs (#342)

Refactor config handling with pydantic (#332)

Make sdk config backwards compatible. (#355)

Fix merge conflicts between development and main branch (#353)

optimizer compatibility with tensorflow and example for medmnist keras/pytorch (#320)

Tensorflow compatibility for new optimizers was added, which included fedavg, fedadam, fedadagrad, and fedyogi.
A shell script for tesing all 8 possible combinations of optimizers and frameworks is included. This allows the medmnist example to be run with keras (the folder structure was refactored to include a trainer and aggregator for keras).
The typo in fedavg.py has now been fixed.

feat+fix: grpc support for hierarchical fl (#321)

Hierarchical fl didn't work with grpc as backend. This is because groupby field was not considered in metaserver service and p2p backend.
In addition, a middle aggregator hangs even after a job is completed. This deadlock occurs because p2p backend cleanup code is called as a part of a channel cleanup. However, in a middle aggregator, p2p backend is responsible for tasks across all channnels. The p2p cleanup code couldn't finish cleanup because a broadcast task for in the other channel can't finish. This bug is fixed here by getting the p2p backend cleanup code out side of channel cleanup code.

documenation for metaserver/mqtt local (#322)

Documentation for using metaserver will allow users to run examples with a local broker. It also allows for mqtt local brokers.
This decreases the chances of any job ID collisions.
Modifications to the config.json for the mnist example were made in order to make it easier to switch to a local broker. The readme does indicate how to do this for other examples now.

feat: asynchronous fl (#323)

Asynchronous FL is implemented for two-tier topology and three-tier hierarchical topology.
The main algorithm is based on the following two papers:

https://arxiv.org/pdf/2111.04877.pdf
https://arxiv.org/pdf/2106.06639.pdf

Two examples for asynchronous fl are also added. One is for a two-tier topology and the other for a three-tier hierarchical topology.
This implementation includes the core algorithm but  doesn't include SecAgg algorithm (presented in the papers), which is not the scope of this change.

fix+refactor: asyncfl loss divergence (#330)

For asyncfl, a client (trainer) should send delta by subtracting local weights from original global weights after training. In the current implementation, the whole local weights were sent to a server (aggregator). This causes loss divergence.
Supporting delta update requires refactoring of aggregators of synchronous fl (horizontal/{top_aggregator.py, middle_aggregator.py}) as well as optimizers' do() function.
The changes here support delta update universally across all types of modes (horizontal synchronous, asynchronous, and hybrid).

fix: conflict bewtween integer tensor and float tensor (#335)

Model architectures can have integer tensors. Applying aggregation on those tensors results in type mistmatch and throws a runtime error: "RuntimeError: result type Float can't be cast to the desired output type Long"
Integer tensors don't matter in back propagation. So, as a workaround to the issue, we typecast to the original dtype when the original type is different from the dtype of weighted tensors for aggregation. In this way, we can keep the model architecture as is.

refactor: config for hybrid example in library (#334)

To enable library-only execution for hybrid example, its configuration files are updated accordingly. The revised configuration has local mqtt and p2p broker config and p2p broker is selected.

misc: asynchronous hierarchical fl example (#340)

Since the Flame SDK supports asynchronous FL, we add an example of an asynchronous hierarchical FL for control plane.

chore: clean up examples folder (#336)

The examples folder at the top level directory has some outdated and irrelevant files. Those are now removed from the folder.

fix: workaround for hybrid mode with two p2p backends (#345)

Due to https://github.com/grpc/grpc/issues/25364, when two p2p backends (which rely on grpc and asyncio) are defined, the hybrid mode example throws an execption: 'BlockingIOError: [Errno 35] Resource temporarily unavailable'. The issue still appears unresolved. As a temporary workaround, we use two different types of backends: mqtt for one and p2p for the other. This means that when this example is executed, both metaserver and a mqtt broker (e.g., mosquitto) must be running in the local machine.

fix: distributed mode (#344)

Distributed mode has a bug: before 'weights' is not defined as member variable, deepcopy(self.weights) in _update_weights() is called. To address this issue, self.weights is initialized in init().
Also, to run a distributed example locally, configuration files are revised.

example/implementation for fedprox (#339)

This example is similar to the ones seen in the fedprox paper, although it currently does not simmulate stragglers and uses another dataset/architecture.
A few things were changed in order for there to be a simple process for modifying trainers. This includes a function in util.py and another class variable in the trainer containing information on the client side regularizer.
Additionally, tests are automated (mu=1,0.1,0.01,0.001,0) so running the example generates or modifies existing files in order to provide the propper configuration for an experiment.

Create diagnose script (#348)

Create diagnose script

Make the script executable

refactor+fix: configurable deployer / lib regularizer fix (#351)

deployer's job template file is hard-coded, which makes it hard to use different template file at deployment time. Using different different template file is useful when underlying infrastructure is different (e.g., k8s vs knative). To support that, template folder and file is fed as config variables.
Also, deployer's config info is fed as command argument, which is cumbersome. So, the config parsing part is refactored such that the info is fed as a configuration file.
During the testing of deployer change, a bug in the library is identified. The fix for it is added here too.
Finally, the local dns configuration in flame.sh is updated so that it can be done correctly across different linux distributions (e.g., archlinux and ubuntu). The tests for flame.sh are under archlinux and ubuntu.

Add missing merge fix

Make sdk config backwards compatible. (#355)

Description
Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to
related issues, other PRs, or technical references.
Note that by not including a description, you are asking reviewers to do extra work to understand the context of this
change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.
Type of Change

[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Codecov Report

Merging #359 (81ed30e) into main (6532a3b) will decrease coverage by 0.66%.
The diff coverage is 29.31%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #359      +/-   ##
==========================================
- Coverage   15.04%   14.39%   -0.66%
==========================================
  Files          48       48
  Lines        2824     2771      -53
==========================================
- Hits          425      399      -26
+ Misses       2381     2354      -27
  Partials       18       18

Impacted Files
Coverage Δ

cmd/deployer/cmd/root.go
17.30% <13.04%> (-16.03%)
:arrow_down:

cmd/flamectl/cmd/get_design.go
12.90% <50.00%> (ø)

cmd/controller/app/job/builder.go
62.13% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


"RECS0098: Remove redundant right side" reports incorrectly when left side is an equation

The following code reports RECS0098, and suggests I remove  ?? b from line 3, even though the code is correct since (a + 1) evaluates to null.
decimal? a = null;
decimal? b = 2;
decimal? c = (a + 1) ?? b;

You're right, will be fixed.

@mkrueger Port of ConstantNullCoalescingConditionAnalyzer came with commit 08e45cfadbcf11e8ac4ce048feb862cd465a5f5e and it seems like the new FlowAnalyzer doesn't handle expressions like add/subtract/etc. at all. Maybe forward it to original submitter.

should be fixed


new hearts doesn't work good on mobile

Check the new heart animation on mobile

@rootux  Can you please share a screenshot?

I've fixed it. Need to share my code yet my pc is in Berlin. Will get to it
in 4 days.
On Feb 28, 2017 10:47 PM, "Elisha"<EMAIL_ADDRESS>wrote:

@rootux https://github.com/rootux Can you please share a screenshot?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Midburn/dreams/issues/177#issuecomment-283170419, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA_BTjld0NjDmHBdnIUJPfHu-gGQiaXcks5rhJX4gaJpZM4MOjN1
.


Show breadcrumbs whilst debugging

I have breadcrumbs enabled but they do not show during debugging.
You can see here that the file I'm debugging (which is a third party library) does not have breadcrumbs. Files I open directly do have breadcrumbs:

Moving this to VS Code, since the breadcrumbs are handled by the core.


[WIP] Update to use pystac.extensions.datacube

This changes the implementation to use pystac.extensionsn.datacube rather than the autogenerated stac-pydantic models we had before.
It requires https://github.com/TomAugspurger/pystac/tree/feature/datacube-variables-2, which adds Variable to pystac's Datacube extension.

Superseded by #23


Accents are broken when returning the http response

It seems like the renderer escapes html entities so I think it's possible to return accent characters through an error message. é is litterally shown.
header("HTTP/1.1 409 Ce nom d'utilisateur est déjà en utilisation.", true, 409);

I'm not sure I understand what the issue is. Can you elaborate?
UTF-8 characters are being displayed unchanged when returned in the response for a remote validator. That seems like what you'd want to happen... right?
If what you're trying to say is that the php header function is escaping your accent marks before it sends the response, then that's an issue not in the scope of this library.

It's the resulting javascript that returns weird characters instead of accents, I will investigate furthermore because it could be a server-side issue. If on the server the accent is not broken due to encoding and it only gets destroyed through the library, I'll reopen this.
Thank you for answering! :)


Test with GHC 9.8.1

What do you mean by "redundant"?

@mrkkrp Thanks for the contribution! Remember to add the following line in the PR's description so that the contribution can be considered valid for Stack Builders' Hacktoberfest 2023 event:

As part of Stack Builders Inc. Hacktoberfest 2023 event.

@mrkkrp sorry probably I used the wrong terminology, but we are using the same version of the same package for different builds, we could use common stanzas so when an update like this happens in the future we just update it in one place.


Adjust permission to 644.

Would you please take a look into this ?
/Masaki

@masaki-furuta san, Thanks a lot!
LGTM and I've merged it


Add Tins128/Tuns128 to toArgTypes(Type *t)

This is the last change which can be added without an 128bit integer data type.

C++ mangling for cent/ucent?

Auto-merge toggled on

@yebblies  C++ mangling is my next task...


Test if loading a Vega-Lite spec with data url works

I suspect that the url path could be incorrect and we may need to replace relative path with absolute path (with respect to the root url of the files).

Note that we might be affected by this issue in VL: https://github.com/vega/vega-lite/issues/2418
Thus, the way to go is to copy a spec with url in VL to a new folder and copy its data to a new folder too and modify the url: to point to data in the same folder.

Verified issue and opened #24.


RBAC support for scopes.

In the Identity server, we didn't support RBAC for the Scopes by default
Implementation detail.
If Role binding is assigned to the scope then that scope needs to handle through role base handling.

To enable the feature in WSO2 IS, add the following config to the deployment.toml
[oauth.global_rbac_scope_issuer]
enable=true


Add "enable" param which works as opposite of "disable"

Feature request to only enable some dates to be selected. In our use case the end user is only allowed to select one day per each week.

Good feature. Probably it will be implemended in next release.

DateInput now has enable attribute.


HVAC controller integration ID

Hi,
(help request)
I have seeTemp controls, RadioRA2 HVAC controller, and some wireless temp sensors.
I cannot find the seeTemp or HVAC controller integration id when I produce an integration report.
The temp sensor does show up and looks like it might work with the plugin.
I have attached a copy of my integration report
(there should be 3 seeTemp, 3 HVAC controller, and 3 Temp Sensors ... but can only find the temp sensors).
Thanks!
lutron_integraton_20231029.csv

New info: "discover all devices" does not work (hangs forever ... waited several hours ... no obvious progress).  I can send logs if you want, let me know.
New info: was able to "guess" integration numbers and seems to work (73, 75, 112 in supplied integration CSV above).
Minor bug: doesn't show correct set point until set point changes.

So it sounds the 'Zone' that you have the hvac controller in is the integration id?
For the discover devices, can you go to "https://[repeaterIPaddress]/DbXmlInfo.xml" and send me that data?

From Browser, looks odd (see picture below).
But when I load with curl, it seems fine (attached; bigger than I expected).
Maybe my naming for the HVAC controller was a poor choice, but don't really
want to change it now since everything is working.
The integration seems to be working well (other than not showing current
set point until it changes; minor bug but still a bug).
-Johannes.
[image: image.png]
Johannes Schmidt
@.***
408-621-0091
On Tue, Oct 31, 2023 at 5:29 AM senorshaun @.***> wrote:

So it sounds the 'Zone' that you have the hvac controller in is the
integration id?
For the discover devices, can you go to "https://[repeaterIPaddress]/DbXmlInfo.xml"
and send me that data?
—
Reply to this email directly, view it on GitHub
https://github.com/senorshaun/homebridge-radiora2/issues/35#issuecomment-1787124854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVKXY3GKPKOM7IFYFLNG6TLYCDVJ7AVCNFSM6AAAAAA6VKN63GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGEZDIOBVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

It looks like your attachments didn't attach through email

"Sent" from gmail web interface shows it was attached, but resending now using Apple Mail client to see if that helps.
￼
Johannes Schmidt
408-621-0091

On Oct 31, 2023, at 11:14 AM, senorshaun @.***> wrote:
It looks like your attachments didn't attach through email
—
Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/35#issuecomment-1787737512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKXY3COAVSPLAK7QPHKCX3YCE5XDAVCNFSM6AAAAAA6VKN63GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXG4ZTONJRGI.
You are receiving this because you authored the thread.

no. just go to the GitHub page and attach it. or send to me at shaun @ therowan . house

Here is the file.  However, the ID's seem to work, so this isn't super urgent.  Feel free to close if you want.
lutron_integraton_20231029.csv

that looks like the integration report again. Can you please copy and paste the xml from the webpage? or curl it and save to a file?

Sorry, here it is.
DbXmlInfo.xml.tar.gz

I would like to get this working. You have more HVAC stuff than I ever messed with, so the logs from when the Discover all devices stalls out would be great. It should only take like 10 seconds or so to complete, you don't need to wait hours

Also, can you help me with how your equipment is set up? From what I understand the seeTemp is just a way to view the current temp of an HVAC controller and change the set points. If that is correct, we wouldn't have that in HomeKit because we already have the HVAC controller. Additionally, the HVAC controller doesn't actually have a temperature sensor itself right? you have to pair it with the wireless temp sensor for it to work properly. So for all the equipment, you should only get 3 thermostats that show current temp in HomeKit right? Technically, your HVAC controller could control temp for multiple rooms, so I think if you modify the config I have the option to create multiple temp sensors, all displaying the same temp, so you can put one in each 'room' in homekit that the HVAC controller affects. Personally I wouldn't do that, I would just put the thermostat in the 'room' that cooresponds to where you actually have the wireless temp sensor, not the controller (which is likely in a crawlspace or attic).
What are the names of your HVAC controllers and the corresponding wireless temp sensor? I'm trying to figure out how to automatically discover the relationship between those, and right now I'm not seeing anything obvious

Setup: radiora2 inclusive because I needed more than 100 devices (probably doesn't matter)

Three HVAC controllers all in "Big Wiring Closet" (LR-HVAC-1-WH) configured for heat only.
Each in a different zone ("Upstairs", "Living Room", "Master Bed").  not the best names as the living room and master bed zones each cover multiple rooms, just like "upstairs" covers multiple rooms.  In "program" section setup you list rooms each of the HVAC controller affects.
Three seeTemp keypads (you probably don't care)
Three Temperature Sensors (LRF2-TWRB-SW) in rooms ("Living Room", "Bed 1", "Bed 3").
Programming section for each HVAC sensor associates with one temp sensor each (multiple are possible and I think the HVAC controller just averages).

So ... I'm really not sure if there is a reason for me to give you the temp sensors rather than just getting the value from the HVAC controller.

Maybe if you have multiple temp sensors for one HVAC and want to see the individual values.
Also when HVAC is set to "off" instead of "heat", the seeTemp and Lutron's own application doesn't show the temp.  So I usually leave HVAC on to HEAT, but set a super low temperature so it never activates.  Maybe linking to a temp controller directly would let me see temp even when HVAC is set to "off".

I can do some experimentation to remove a temp sensor from the config and see what things look like.  I'm guessing for most people, maybe just link the HVAC and not Temp Sensor, but really need to confirm.
Let me know what I can do to help you debug the discovery part, in case the Xml wasn't enough.  Also apologies for messing up getting that to you so often!  Thanks for writing this plugin!


fix: don't crash if none is a supported request signing alg

Instead, catch the error and allow the upstream to fall back to a different approach. For the oidcc_authorization module, that means normal query parameters rather than a signed request object.
In particular, I ran into this when calling create_redirect_url with a client ID and client secret (not :unauthenticated) when none is a supported request signing alg.
This might be eliminating support for none signed request JWTs entirely, but it wasn't clear whether that's required for clients.

@paulswartz My initial plan was to support none everywhere where the standard does not explicitly forbid it. But I wanted to use the jose config value for the user to decide if he wants to allow this behavior.
Looking at it now (also considering none id tokens only being valid in combination with a userinfo request) I'm not sure if this is a good solution.
We should for sure catch this error.
About allowing none, I see two options:

Rely on jose:unsecured_signing to detect if the user allows it (and document that behavior somewhere)
Take the providers none as a signal that we should allow it and don't care about jose:unsecured_signing

(Don't know though how we would do option 2 without overriding the config globally at least while we sign a token, so that's probably not really feasible.)

I agree on not overriding the global configuration; that doesn't seem like a safe option.  @maennchen I added back the support, but handling the exception so that we'll still use the fallback path if unsecured_signing isn't enabled.


remove trailing period from query term in useActorAutocompleteQuery

Why
Right now, if there's a trailing period in the search term, then no results are returned for the query.
https://github.com/bluesky-social/social-app/assets/153161762/593ef5c1-9b42-4b4b-9fa2-c345f65f1c0a
Instead, we can remove the trailing period (after converting it to lowercase and trimming) to get the expected result. We should get this fixed on the backend as well.
Test Plan
Test various handles. Adding a period to the end of the autocomplete query should still return the query with the suggested actor(s).
https://github.com/bluesky-social/social-app/assets/153161762/68c980b7-eecd-40dc-913c-c7f29250930b

I flagged this in Slack for a backend fix as well.
I was going to implement a fix for the searchActors query but I noticed that searchActors gives some really weird results. Like haileyok doesn't return anything but hailey returns me as the first result 🤔 Flagged this as well. Seems like there's something else going on there.


Add me as a maintainer.

Assuming you'll still have me.

Should we alphabetize by last name (which benefits me), or by first name, which puts Colt in the lead?

I'm fine with whatever order you've used on other projects.

@non any comments?

We should alphabetize by last name and put @coltfred in the middle, IMO.

I've merged this and will reorder the names soon.


Display the Linked Camera feed on the patient consultation page even when no preset is created for the selected bed

Describe the bug
Currently, even though a camera is linked to a bed via the asset configuration page, the patient consultation page incorrectly displays that no asset is linked to the bed.
Note: he current validation on the consultation page checks whether the camera linked to the bed has a preset. If no preset exists, the camera feed is not shown. This logic needs to be updated because, with recent changes in the camera-to-bed relation, a camera can now be linked to a bed first, with presets being created later.
To Reproduce
Steps to reproduce the behavior:

Go to the asset page, open a camera asset, and link it to a bed without creating a preset.
Navigate to the patient tab, open any patient card, and link the patient to the bed.
Click on the feed button in the navigation bar of the consultation page.
Observe the error.

Expected behavior

[ ] The linked camera should be displayed on the patient consultation page, even if a preset has not yet been created for the bed.

Screenshots

@nihal467 i want to work on this

there is no relevance of showing a camera feed in consultation page, if there is no preset


formatting failed when := is used

we get "formatting failed" when v-bind shorthand := is used
<!-- MyComp.vue -->
<template>
  <h1> .. </h1>
  <p :='$attrs'> .. </p> <!-- inherit attrs -->
</template>

output panel:
[Error - 6:05:08 PM] Request textDocument/formatting failed.
  Message: Request textDocument/formatting failed with message: Unexpected closing tag "p". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags
  Code: -32603

@soulsam480 compiled OK.
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbiAgaW1wb3J0IENvbXAgZnJvbSAnLi9Db21wLnZ1ZSdcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIDxDb21wIHJlZGlzaD48L0NvbXA+XG48L3RlbXBsYXRlPiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHtcbiAgICBcInZ1ZVwiOiBcImh0dHBzOi8vdW5wa2cuY29tL0B2dWUvcnVudGltZS1kb21AMy4yLjIzL2Rpc3QvcnVudGltZS1kb20uZXNtLWJyb3dzZXIuanNcIlxuICB9XG59IiwiQ29tcC52dWUiOiI8dGVtcGxhdGU+XG4gIDxoMT4gLi4gPC9oMT5cbiAgPGgyIDo9JyRhdHRycyc+IGluaGVyaXQgYXR0cnMgaGVyZSA8L2gyPlxuPC90ZW1wbGF0ZT5cblxuPHN0eWxlPlxuICBoMltyZWRpc2hdIHsgY29sb3I6IGNyaW1zb24gfVxuPC9zdHlsZT4ifQ==

This seems to be a upstream problem maybe we could change the defualt format plugin

@ycw to work around now, just add this to your vscode settings.json
{
  // ..snip
 "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
  // ..snip
}

@ycw to work around now, just add this to your vscode settings.json
{
  // ..snip
 "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
  // ..snip
}

@IWANABETHATGUY it works.

didn't knew about that := shorthand, pretty cool!

Is this documented anywhere within the Vue 3 docs (searched, no luck)? Smells like and unintended side-effect rather than something official

@sethidden there's no "restrictions:" about shorthand usages in api docs https://v3.vuejs.org/api/directives.html#v-bind, but I did find one related in https://v3.vuejs.org/guide/component-slots.html#named-slots-shorthand :

However, just as with other directives, the shorthand is only available when an argument is provided

I reckon that := ( as well as #= ) are unintended usages.
BTW I've made a feature request https://github.com/vuejs/vue-next/issues/5142


Equinix Shepherd: remove Failed machines

Some Equinix machines we provision (currently around 1-10%) get stuck in Failed per the Equinix API after we attempt to provision them.
The shepherd should probably notice this and nuke them from both Equinix and the BMDB.
But this ties into a bigger problem: we need a very safe deletion mechanism. Maybe something like:
To mark a Provided machine for deletion (eg. when this issue happens):

Check the machine is not user visible per the BMDB.
Mark the equinix machine with a 'tombstone' tag containing the current timestamp (the Equinix Shepherd should ignore any machines with this tag during reconciliation).
Add a Tombstone tag to BMDB (the Shepherd should also ignore these when sourcing the BMDB).

Then, a separate Reaper process should:
Loop A (“and stay dead!“):

Go through all BMDB Tombstone machines;
Make sure each BMDB Tombstone machine has a Tombstone tag in Equinix; and
Make sure each BMDB Tombstone machine has its corresponding Equinix device powered off

Loop B (“time to go“):

Go through all BMDB Tombstone machines;
Remove the machine from BMDB if the Tombstone tag has been set for long enough; then
Remove the corresponding Equinix device

Loop C (“did we forget something”):

Find any Equinix devices with Tombstone tags that do not have corresponding BMDB devices and alert on them (as it means we dropped something during loop B, and that should be manually investigated, at least for now).

I think @fionera either dealt with this already, or is very close to be able to deal with this?

This is fixed. If we run into any more problems we can reopen it.


Portal Footer: layout is broken

Category

[ ] Question
[x] Bug
[ ] Enhancement

Expected or Desired Behavior
I want to use the Portal Footer extension on a site.

I've got the sp-starter-kit solution deployed in a tenant.
I've added only the Portal Footer extension to a site (no other extensions or web parts from the starter kit).
The portal footer is displayed correctly.

Observed Behavior
The layout of the footer is broken. All the columns are displayed one under another:

The reason for the problem is that the footer uses global CSS classes from Office UI Farbic for its layout ("ms-Grid", "ms-Grid-row"). In some cases these classes are not available and the layout breaks.
Note: this does not happen in every SharePoint Online environment though. I believe, that SharePoint Online loads Office UI Fabric CSS classes by default sometimes, but I haven't been able to find the documentation for that.
Steps to Reproduce

Add the Portal Footer to a site (e.g. add custom action with PowerShell).
Do not add any other extensions or web parts.

I've noticed a similar thing in my tenancy. It's a workaround but you can force the footer to display correctly by adding this global to the top of the scss file:
:global{ @import 'node_modules/office-ui-fabric-react/dist/css/fabric.css'; }

@mag210, thank you for sharing the workaround!
I've added a PR #335 that should fix this problem for the portal footer.
The workaround will still be useful as this problem occurs in other components as well.

I too have seen this hit a few of my tenants over the past few weeks (post Ignite 2019), very random, and after possibly a day or two, all back to normal. Then the problem hits again. There is an OOTB SP component that loads default UI Fabric, which many devs then reference on the assumption it will be there, that seems to stop loading.
@VesaJuvonen is this an issue you can provide any insight into for us? Is there a known issue with SPO that is causing inconsistent loading of base UI Fabric css?
While @mag210 workaround should work, I recommend this only as a shim as it is bundling the entire fabric.css into your spfx solution, which could cause duplication and inefficiencies. The more safe workaround is to @import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore';, then as @stfbauer stated here: https://github.com/SharePoint/sp-dev-docs/issues/4033#issuecomment-497682758, create your own grid, row, column classes that @include ms-Grid-row; for a row as an example. This will help you utilize Fabric safely without having to trust SPO to deliver this for you.
Also as a reference:
https://github.com/SharePoint/sp-dev-docs/issues/4037

@eoverfield Eric, thank you for an additional context and information.
Indeed, the only documented approach for using Office UI Fabric is by using mixins.
The quote from the Using Office UI Fabric Core and Fabric React in SharePoint Framework article from ms docs:

To achieve reliability, one of the main problems we need to solve is that of Global CSS styles. This accounts to not using global class names in the HTML markup and instead using Fabric Core mixins and variables in the Sass declaration file.

At the same time, SPO loads Fabric CSS (and sometimes does not) with some undocumented routine which leads to such an unexpected behavior.

This issue is related on following oob issue - https://github.com/SharePoint/sp-dev-docs/issues/4911. There's work being done on addressing this properly and to fix the impact to 3rd party components.

PR merged. closing as addressed, thank you @dmitryrogozhny for the solution.


Improvements

Use application plugin to create a runnable distribution instead of a fat JAR
Add a logging configuration that logs INFO to console and DEBUG to file
Use a logger instead of System.out.println

Thank you 👍
Can you please also update the relevant parts of the README?


Make session cookies more secure

Enables HTTP Only by default and alerts/warns developers of
insecure session cookies.
After realizing that there was no warning to devs or sysadmins of a site not using secure session cookies (which we should all be doing, I'd wager), I figured this belonged in playdoh somewhere.

I like the concept, but I am wondering if this wouldn't better be covered by a unit test. Funfactory has some tests around migrations that should be run by playdoh projects, and I think this could be one of them, making Jenkins cry unless you set the setting right. Dropping this kind of stuff into manage.py has the potential to turn manage.py into an even worse dumping ground for various startup tasks than it already is.

My only worry with this not running when the app is deployed is that it relies on settings defined in settings.local -- we don't set SESSION_COOKIE_SECURE = True in environments where we aren't using HTTPS. Assuming Jenkins gets its own settings.local file (I'm not super-knowledgeable on deploying playdoh apps to Jenkins) we could run tests against it then, but this is sort of designed to be an "in-production, in-use" warning: if you forgot to enable secure session cookies in production, you get yelled at immediately and it saves us from a security audit point.
The manage.py signal thing is out-of-scope but a good idea.


For languages with last consonant letter, the input is split when the rectangle height increases

Please refer to the attached Korean input video. I don't know if it's easy to find the cause, but can I go ahead and fix it?
https://user-images.githubusercontent.com/4126644/200176192-5e1118fd-2472-47fc-9d8e-9334782470d6.mov

Hi. Can you tell us which sequence of latin letters (when Korean keyboard is enabled) reproduces the exact problem?
/cc @ad1992

@yongdamsh does this happen only when the width of the rectangle is too small that it doesn't fit a single Korean letter?

@ad1992 It happens even if it's wide enough. As shown in the video below, it seems to be an issue that occurs mainly when the height automatically increases with line breaks.
https://user-images.githubusercontent.com/4126644/200552996-5ee36f7e-9fbf-4566-a91b-4cb4f7c5744d.mov
wrong character (red box):

@yongdamsh what you are seeing above is due to the CSS styles so it breaks on words instead of characters
white-space: pre-wrap;
work-break: break-word

Looks like the issue is due to white-space being pre-wrap.
Can you try it here https://codesandbox.io/s/textarea-wrap-iihqbm?
Does removing pre-wrap fix it ?

The sandbox you provided does not reproduce the issue regardless of the white-space style attribute.

I think it is caused by initializing the cursor for consonant and vowel connection at the time the box height automatically increases. Can I find the cause in the codebase more and share it?

@ad1992 The sandbox you provided does not reproduce the issue regardless of the white-space style attribute.
I think it is caused by initializing the cursor for consonant and vowel connection at the time the box height automatically increases. Can I find the cause in the codebase more and share it?

Sure @yongdamsh , probably you could look at https://github.com/excalidraw/excalidraw/blob/master/src/element/textWysiwyg.tsx#L185 as starting point

@yongdamsh did you get a chance to look into this?
I am not familiar with Korean, so could you please share more input on how should be the output vs how it is and also a text with which I can try to reproduce?

@ad1992 I'm sorry for late reply.
One solution is to create newlines first instead of typing characters right away when the textarea height should automatically increase. This issue occurs because consonants and vowels do not combine in the next input when they cause a line break.
I don't know if the video below will help, but please compare left and right. If you enter a line break first, characters will not be separated in the section where the height increases.
https://user-images.githubusercontent.com/4126644/209765433-a073688d-dd2f-472e-a40f-3e43b309b1ed.mov
I'll look into the solution a bit more at the code level. Thanks!

@yongdamsh I have added the korean lang in mac (2-set Korean). But I am not able to reproduce the one with new lines you mentioned above. For me letters are always splitting (with/without newline). Can you confirm if that's happening fo you too ?
If yes please share the element (you can copy paste the element here) which I can use to debug

@yongdamsh I have pushed a fix, can you test if it works fine in https://excalidraw-git-aakansha-fix-editable-value-co-6cd4f7-excalidraw.vercel.app/ ?

closing via https://github.com/excalidraw/excalidraw/pull/6580, please reopen if this persists

@ad1992 Sorry for the late reply. And this issue has been fixed! Thanks for solving it 👍


Explanation for Shap Deep Explainer Binary classification

Hey @slundberg ,
I am working on a TF2.3 and using Keras binary classification model. To get the explanations for the model I am using Shap Deep Explainer.
Expected Output: The shap values are generated for both the classes, i.e. class 0 and class 1 as in the case of a multi-class classification TF Keras model using Shap Deep Explainer or a binary classification scikit model using shap Kernel Explainer.
Scenario 1:
The model is a binary classification TF model with 2 neurons and softmax activation in the output layer.
Actual Output: As expected (The shap values are generated for both the classes, i.e. class 0 and class 1)
Scenario 2:
The model is a binary classification TF model with 1 neuron and sigmoid activation in the output layer.
Actual Output: Not as expected (The shap values are generated only for one class)
Reasoning:
The predict function of TF gives a different type of output in both scenarios.
For Scenario 1, the model.predict() gives the probability values for both classes.
For Scenario 2, the model.predict() gives a single probability value between 0 to 1, and then an extra step is required to get the probability values for both the classes. This extra step is not included in TF2.3 and we have to do it explicitly.
Question:
Is my reasoning for the shap values correct? If yes, then where does this extra step for getting the probability values for both the classes should be implemented. If no, then please explain the output of shap values for scenario 2.
Thanks.

@slundberg I have the same question. When the features are entered into the Multilayer perception (MLP) classifier, how to get the shape values?


Add<EMAIL_ADDRESS>to dependency list

Solves #302

@maxymczech There is a fair amount of additional work that needs to be done for this with tests. I have started working on it. I hope to have everything completed in the next few weeks.

Thank you very much. Let me know if I can be of help.


Suggestion: Create a "Reconnect Zeal Pipes" action

When my eqgame.exe crashes, I find that I have to exit QuarmTool and restart it to get the Zeal pipe functionality working again. If there would be a way to make the tool look for the named pipes from a new instance of eqgame/zeal without restarting that would be great!

It should be doing that, but I'll take a closer look at it.

I haven't had an issue with this in a very long time. I think this is working as intended now.


Get Users by sources endpoint

What's this PR doing?
This is also to address an Aurora issue DoSomething/aurora#66
We need an endpoint to get users by source.
We're not sure if this is the right way to go about this, please let me know if any changes are needed.
Any involved tickets?

#179 Seed dummer user with a source
#180 Endpoint that returns all users with a source

@jonuy

@axton21 The code itself looks fine. Question though - why a new endpoint as opposed to allowing for filtering by a query parameter instead? Like it was mentioned in #180, why not something along the lines of /users?source=agg,bgg,cgg?

@jonuy Sounds like a good idea, we got excited since it works in first try. thanks! We'll do some research on that and push commit here.

@jonuy using /users?source=agg,bgg,cgg so the endpoint will be able to handle multiple queries as well.
So far aurora only needs single source query, but I think we will build it this way to future proof the code.

@angaither @jonuy
This function accept requests:

/users to return all users (same as before).
/users?term1=value1&term2=value2 to return API response of more specific search.

@jonuy Apparantely this code makes the pagination url doesnt work.  I ll do some research and changes again.

Hm :confused: ok, thanks. The main thing really is just getting paginated responses to be sent by the respondPaginated function to make it easy to standardize things.

@jonuy

@jonuy

:+1:


Unable to extract text

I'm using this tool to extract text from YU-NO scripts, and I'm able to extract most of the text from the scx files. However, this tool is failed to extract text from some of the scx. It shows Error: unrecognized format.
The command i used was sc3tools extract-text YNS_02_03.scx sg0
Attach one of the scx file, if you need it to debug.
YNS_02_03.scx

Turned out the problem is the script header not set to SC3. After changing the header to SC3 problem solved.

how did you set the scipt header to sc3?


Add mixin for defining operations based on internal ndarray

This uses a Pandas extension base class to define comparison and arithmetic operators that are based on the internal ndarray.

@frreiss this seems like a better way to define operators since they are all based on those from ndarray

Thanks @frreiss !

Should something similar be done for any of the other ExtensionArrays in this project?

Maybe, it's only useful if you can generalize all operators in the same way. I’ll take a look.


[IOS 17] Opacity widget not working porperly

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create an Opacity() widget
use a Container() child with color
The opacity does not apply to the container

Expected results
Opacity that work, a soft red container
Actual results
Red container not visible
Code sample
Code sample
Opacity(
  opacity: 0.8,
  child: Container(
    color: Colors.red,
    child: Text("Opacity text"),
  ),
),

Screenshots or Video

Screenshots / Video demonstration
Expected result

Real result

Logs
Logs
NO LOGS, IT' S IN THE APP START PAGE AND NO ERRORS DISPLAYED

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.5.2 22G91 darwin-arm64, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2023.2.1)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

I checked this issue on iPhone 14 Pro, iOS 17.0, emulator (on XCode 15.0 as well) but can't see the issue. Also add a non-opacity widget to compare this:

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.13.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (3 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode15RC.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (5 available)
    • RMX2001 (mobile)       • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)        • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • iPhone 14 Pro (mobile) • 3BD60F46-FB95-41A0-A179-8AA3F637DA4E     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)        • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)           • chrome                                   • web-javascript • Google Chrome 117.0.5938.62

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.15.0-6.0.pre.32, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.15.0-6.0.pre.32 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 801a1c9304 (37 minutes ago), 2023-09-22 05:03:02 -0300
    • Engine revision 3a2346ade2
    • Dart version 3.2.0 (build 3.2.0-189.0.dev)
    • DevTools version 2.28.0-dev.12
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode15RC.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (5 available)
    • RMX2001 (mobile)       • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)        • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • iPhone 14 Pro (mobile) • 3BD60F46-FB95-41A0-A179-8AA3F637DA4E     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)        • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)           • chrome                                   • web-javascript • Google Chrome 117.0.5938.62

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I wonder if this is only reproducible on a physical device. Which device did you check this?

I also checked this again on iPhone 15 Pro, iOS 17.0 (simulator) but the issue doesn't appear. Verified on both the latest Flutter stable 3.13.5 and master channels.

Demo

Could you share the demo of the below sample code?

Complete sample code
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHome(),
    ),
  );
}

class MyHome extends StatelessWidget {
  const MyHome({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Opacity(
              opacity: 0.8,
              child: Container(
                color: Colors.red,
                child: const Text("Opacity text"),
              ),
            ),
            Container(
              color: Colors.red,
              child: const Text("No Opacity text"),
            )
          ],
        ),
      ),
    );
  }
}

I have the same problem, real iPhone 11pro, iOS 16.6.1 -- I am quite sure that this was still working some days ago.
My sample code is:
_isLoading = true;
...
Widget build(BuildContext context) {
...
var colorScheme = Theme.of(context).colorScheme;
return Stack(children: [
Scaffold( <......> ),
if (_isLoading)
const Opacity(
opacity: 0.87,
child: ModalBarrier(dismissible: false, color: Colors.white),
),
if (_isLoading)
Center(
child: Image.asset(<...image file...>, height: 150),
),
]);
}
...

@cliebig Could you share a minimal sample code for your case? Or you can try my above sample on your device. Please also share the output of flutter doctor -v as well.

@huycozy:
Here as requested:
Minimal sample code:
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Stack(children: [
        Scaffold(
          body: Center(
            child: Text('Hello World!'),
          ),
        ),
        const Opacity(
          opacity: 0.5,
          child: ModalBarrier(dismissible: false, color: Colors.black),
        ),
          Center(
            child: Icon(Icons.location_searching, color: Colors.white, size: 50),
          )
      ]),
    );
  }
}

flutter doctor -v output:
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.0.1 22A400 darwin-arm64, locale de-DE)
    • Flutter version 3.13.5 on channel stable at /Users/cliebig/develop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (9 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/cliebig/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.82.0)
    • VS Code at /Users/cliebig/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 Pro (mobile)      • 6834A403-60A0-42FF-9BC7-1FFF7D3A66A8 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

And a screenshot showing the issue, left side android simulator, right side iPhone 14 Pro Simulator, here it can be seen, that on iOS the transparent black opacity component is not rendered (on android it is rendered as expected). I am quite sure that the exact same thing was working until 1-2 weeks ago:

@huycozy

Or you can try my above sample on your device

Here another screenshot, this time running your sample source code, this seems to be rendered correctly:
demo

@cliebig Thanks, I'm now able to reproduce the issue with your sample code on stable but it seems to be fixed on master channel:

Demo

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.13.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (2 days ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.132

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.15.0-11.0.pre.43, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.15.0-11.0.pre.43 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 96e6f18cf3 (24 minutes ago), 2023-09-28 23:19:12 -0400
    • Engine revision 2052515c44
    • Dart version 3.2.0 (build 3.2.0-210.0.dev)
    • DevTools version 2.28.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.132

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Please switch to master channel and confirm this:
flutter channel master
flutter upgrade

@huycozy: Thanks for the info, also works for me on master channel.

On master channel work fine, so it will be released next update i think. Closing


Add fact db_is_master

Add a fact to determine if node is master.  Tiny add, helpful in configuring masters vs. replicas.

Wow!

It's our company name, and (obviously, I suppose) a table name in the
database we use internally in a cluster.
I'll remove the '-t aristamd' from the statement.
Sorry!
-Jim
------ Original Message ------
From: "Andreas Ntaflos"<EMAIL_ADDRESS>To: "puppetlabs/puppetlabs-postgresql"
<EMAIL_ADDRESS>Cc: "Jim Nathlich"<EMAIL_ADDRESS>"Author"
<EMAIL_ADDRESS>Sent: 11/6/2017 2:58:38 AM
Subject: Re: [puppetlabs/puppetlabs-postgresql] Add fact db_is_master
(#931)

@antaflos commented on this pull request.

In lib/facter/db_is_master.rb
https://github.com/puppetlabs/puppetlabs-postgresql/pull/931#discussion_r149049528:

@@ -0,0 +1,5 @@
+Facter.add('db_is_master') do

setcode do
Facter::Core::Execution.exec('sudo -u postgres psql -t aristamd -c "select pg_is_in_recovery();" | /bin/grep -qi "f" && echo "true" || echo "false"')

What is aristamd?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/puppetlabs/puppetlabs-postgresql/pull/931#pullrequestreview-74381848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbR9P-TptgzbiU-WXQxWbBRnoVZdKjpSks5szuZdgaJpZM4QP_lw.

-t switch removed from fact.

This seems to be failing in an area completely separate from my changes.
I did a squash and rebase to clean up and make sure I'm running from latest code.
Error is related to which repo is loaded vs what OS it detects... my change is a tiny add of one .rb file.
What are my next steps to track down and fix this?

@jnathlich Travis now running green, apologies the failure was on our end and it has been resolved.
Code looks great, if you could add a few unit tests I will get this merged for you 👍


Prevent de-installation of last toolkit

Behavior: should the user attempt to uninstall their only remaining toolkit, an error will be produced telling them this is not possible to do.
If something like this isn't done, rustup enters a bad state as demonstrated in #1631
Edit: This still allows for --default-toolchain none during install.

Sorry for the number of commits. First major rust project. :disappointed_relieved:

Very messy pull request. I'll re-open when I fix this up. Sorry again.


Add hypergeometric function of a matrix argument

Overview
Provide an implementation for the hypergeometric function of a matrix argument, a generalization of the hypergeometric series.
Description
The function is commonplace in the densities of matrix variates, e.g. several distributions in the Matrix Variate Distributions text by Gupta and Nagar. The function is also described on Wikipedia.
Expected Output
Implement both the function and its logarithm as functions that can be called within a Stan program:

[ ] real hypergeometric_matrix()
[ ] real log_hypergeometric_matrix()

Additional Resources

Efficient algorithm for the function: Koev, P., & Edelman, A. (2006). The efficient evaluation of the hypergeometric function of a matrix argument. Mathematics of Computation, 75(254), 833–846. https://doi.org/10.1090/S0025-5718-06-01824-2

With C code for MATLAB: https://math.mit.edu/~plamen/software/mhgref.html

R implementation using C++: https://cran.r-project.org/package=HypergeoMat

GitHub source code: https://github.com/stla/HypergeoMat/blob/master/src/HypergeoMat.cpp

Current Version:
v4.4.0

Hello, I figure there's a lot the team has on its plate, but thought to add this in case the team gets to it someday. I hope I provided enough information in the original post. The function has lots of applications in multivariate stats, random matrix theory. My particular application is covariance structure analysis (psychometrics). Thank you.


Add rule for pip_install permission fix

This PR reacts to pip install permission issues by either adding --user to the command, or, if --user is already in the command, removing the --user flag and running the command with sudo.

The rule looks good, thanks!
Can you please fix linter warnings?
./thefuck/rules/pip_install.py:14:10: E261 at least two spaces before inline comment
./thefuck/rules/pip_install.py:15:5: W191 indentation contains tabs
./thefuck/rules/pip_install.py:15:5: E101 indentation contains mixed spaces and tabs
./thefuck/rules/pip_install.py:15:68: W291 trailing whitespace

Thanks for the contribution, @IngaFeick! I'd recommend spending some time configuring your editor to do things like strip trailing whitespaces, standardise indentation, lint the source code, etc.

@nvbn @scorphus sorry mates, I forgot to run flake before submitting 🤦🏻♂

Looks good, thanks!

Great, thanks!

Hate to be a wet blanket, but I don't think running sudo with pip install is a good idea. Essentially, you're allowing arbitrary Python code from PyPI to be executed with system-wide admin privileges.
See this and this.


pyFireEyeAlert missing

need to upload the pyFireEyeAlert file.

https://github.com/deralexxx/FireMISP/commit/673fc1ec81e04f624aeb0e38145eb3c5515854fc


Adds Cheststealer

Adding a cheststealer which opens every chests around you and auto steals the items you selected.
Example:
Run through a dungeon and auto stealing all items I need without opening the chests.

would be super risky in public servers but already half added you could just script the other half
as there's already a setting to auto steal items (with filter setting bellow) you could then script it to auto open chests


Use date stamps for language_pack_version

Use date stamps so we don't have to manage any version numbers as suggested here #74 .

This looks like what's needed :) Great fix, and let's hope we never have to release two content packs for the same language on the same date :D


libSDL2 does not ship SDL2 .a files when built

Describe the bug
It seems that libSDL2 does not ship .a files. Particularly, I am having issues with projects that look for libSDL2main.a.
The issue persists even when SDL2 is used with withStatic = true.
Steps To Reproduce
Steps to reproduce the behavior:

Build SDL2 and look in $out/lib

Additional context
This issue has been presented in multiple occasions, e.g. #98242 and #24984
Notify maintainers
@cpages
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"                                                                                130 ↵
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.78, NixOS, 21.05.20211115.46251a7 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20211006_53e4794`
 - channels(root): `"nixos-21.05.2549.a1007637cea, home-manager-21.05, nixos-unstable-21.11pre304920.dd98b100651"`
 - channels(giulio): `""`
 - nixpkgs: `/nix/store/ql6s3pl8gfv6v1n3ffsww0yspbji5lx3-source`

Interesting - I think this is because the SDL2 builder tries to delete extraneous static libraries:
https://github.com/NixOS/nixpkgs/blob/595dde5dbe42f2ca60cb2e5e7454fa3076e86610/pkgs/development/libraries/SDL2/default.nix#L98
But libSDL2main.a is "special" because it doesn't have a corresponding .so, so I think we should always keep that one.

Yes, as of now I am using this:
  SDL2 = pkgs.SDL2.overrideAttrs (old: {
    postInstall = ''
      moveToOutput lib/libSDL2main.a "$dev"
      if [ "$dontDisableStatic" -eq "1" ]; then
        rm $out/lib/*.la
      else
        rm $out/lib/*.a
      fi
      moveToOutput bin/sdl2-config "$dev"
      cp $dev/lib/libSDL2main.a $out/lib/
    '';
  });

https://github.com/NixOS/nixpkgs/pull/149601#issuecomment-1214247198


Run JuliaFormatter and add CI

This PR makes only formatting changes and updates the formatting CI to match the rest of JuliaGPs

This is just for formatting, I'll try to fix tests and docs in another PR


Client library

hot mess incoming

some documentation added, with examples

getting pose from transforms, and all other ROS1 topics, then publishes FreeFleetData_RobotState over DDS

getting commands over DDS, currently using FreeFleetData_Location, then calls a MoveBase action server goal

WIP: gotta decide whether to use Location or PathSequence

Just a note, I learnt about the discovery feature on both DDS writer and reader, which some of their examples employ, however I found that it was impossible for the reader to pick up anything, unless the writer uses something like the below code block, which uses dds_set_status_mask even though the reader was not using it :thinking:
  rc = dds_set_status_mask(writer, DDS_PUBLICATION_MATCHED_STATUS);
  if (rc != DDS_RETCODE_OK)
    DDS_FATAL("dds_set_status_mask: %s\n", dds_strretcode(-rc));

  while(!(status & DDS_PUBLICATION_MATCHED_STATUS))
  {
    rc = dds_get_status_changes (writer, &status);
    if (rc != DDS_RETCODE_OK)
      DDS_FATAL("dds_get_status_changes: %s\n", dds_strretcode(-rc));

    /* Polling sleep. */
    dds_sleepfor (DDS_MSECS (20));
  }


Unable to calculate max please try again

When attempting to send STX I encountered this issue in prod.
I was trying to send the Max amount in my wallet but this error message appeared.

@timstackblock that is expected behavior when there is no fee estimation to use to perform the calculation, was a fee set at that point?
The conditional for showing that toast is isLoadingFee && isStx

Yes everything loaded, there were multiple fee options, I selected the standard option everything looked as if it had loaded but when I clicked the send button I got this error message. I repeated the same use case 3 times it failed 2 times and it worked on the third try.

I'll get a video for you shortly

Ok, great, thx ...not sure how that could happen so I'll try to repro.

Have either of you seen this recently?

Not lately from my end


Javascript never guarantee order of key:value pairs in object.

http://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order

Closing this as it looks there's nothing actionable. Feel free to reopen though

No. Still not fixed. On the main readme file:
// define the "snd_hwdep_info" struct type
var termio = StructType({
    c_iflag : ref.types.ushort,
    c_oflag : ref.types.ushort,
    c_cflag : ref.types.ushort,
    c_lflag : ref.types.ushort,
    c_line : ref.types.uchar,
    c_cc : ArrayType(ref.types.uchar, 8)
});

On some day, this example become wrong.

I don't disagree. Let's reopen this once that day comes.