Add some global helper for showing popup alerts

For example i would love to add popup for showing alert when products with price 0 or stock qty > available is being added to cart
@karolbzik could you design such alerts please?

For all types of notifications, I suggest using consistent notification popup like in the example:

For the validation on the product cart (if there is no size, quantity or color chosen) I suggest using also a notification on the "Add to cart" button, for example:

@filrak or @patrykpiston could you please prepare this modal?

@filrak here you have an example call (I'll use this format):
          EventBus.$emit('notification', {
            type: 'error',
            message: 'Internal validation error. Please check if all required fileds are filled in. Please contact us on<EMAIL_ADDRESS>            action1: { label: 'OK', action: 'close' }
          })

@filrak we need to finish this one as well (styling for information/warning etc)

@filrak warnings are waiting for their color :)

@filrak I've tried to fix it - could you just check it and close this issue if it's fine?

yup, it's done for a long time


[publishing] [notebook] HiveToBigQuery notebook publish blogpost

Publish detailed blog for usage of HiveToBQ notebook

Published: https://medium.com/google-cloud/hive-to-bigquery-move-data-efficiently-using-gcp-dataproc-serverless-ee30d35aaf03


Remove actions and reducers from coverage

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.8%) to 50.42%

Totals

Change from base Build<PHONE_NUMBER>:
-1.8%

Covered Lines:
173

Relevant Lines:
291

💛  - Coveralls


Add tanh non-linearity for layers

Since the tanh(z) activating function has a similar "nice" gradient to the sigmoid (d(tanh(z))/dz = 1-tanh(z)^2), I have added the ability to use this non-linearity. I also added test cases making sure it works with multiple layers. Now one can pass in [{nonLinearity:'tanh'}] as a hiddenOptions property in options when creating the feedforward network:
var nn = new FeedforwardNeuralNetwork(trainingSet, predictions);
var options = {
     hiddenLayers: [10, 10],
     hiddenOptions: [{nonLinearity:'tanh'}, {nonLinearity:'sigmoid'}],
     iterations: 200,
     learningRate : 0.1,
     momentum: 0.1
};
nn.train(options);

Confirmed that all old test cases passed as well.

Eventually, it would be good to have RELU activating functions as well.

Oh I'm sorry about that. Can you point them out so I can keep it in mind
when I implement my other linearities.
On Sun, Nov 20, 2016 at 10:18 PM Miguel Angel Asencio Hurtado <
<EMAIL_ADDRESS>wrote:

@maasencioh approved this pull request.
There're some style differences, but I'll add it in another PR (
@JeffersonH44 https://github.com/JeffersonH44)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mljs/feedforward-neural-networks/pull/3#pullrequestreview-9384736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAO_FLspVQS8kMYYB5y5L9VGAwg80YOks5rAQ2BgaJpZM4K3m2c
.


Bug fix: process.version parsing error

This PR fixes a process.version parsing bug introduced in this commit. (broken since v2.9.3)
process.version returns a version string in the format v0.12.0 rather than 0.12.0. Since the first token from split returns a string v0 rather than 0, map function always maps it to NaN. As a result version[0] === 0 test always fails and process.nextTick is always picked.
The suggested fix is to use process.versions.node as it returns a string in the format 0.12.0. (also confirmed this value exists and works as expected in io.js.
Related issue: https://github.com/abbr/deasync/issues/2

Merged


AJAX Load Reinitialize Resets All Settings

Hi Kartik,
Great plugin. I'm trying to load new switches via AJAX.
values = $("input[name='place-chooser']").map(function(){
$(this).bootstrapSwitch();
});
Resets the switch to default settings. And, I can figure out how to get it to inherit the PHP settings that came over via AJAX. And, I can't figure out any Jquery API against the $(this).bootstrapSwitch() to reconfigure the settings.
Using this approach from your post here https://github.com/kartik-v/yii2-tabs-x/issues/18...
var opts = window[$('#switch-id').attr('data-krajee-bootstrapSwitch')];
$("#switch-id").bootstrapSwitch(opts); // reinitialize switch input
doesn't work at all
neither did
var opts = window[$('#switch-id').attr('data-kv-switch')];
I've been struggling with this for 24 hours. I'd appreciate any response you can offer.
There's just no explanation for reinitialize with settings. Or, Jquery settings of a new AJAX loaded switch
Thanks!

Simpler method is to render widget using pjax within a yii2 Pjax::begin() and Pjax::end() sections - then set the SwitchInput::pjaxContainerId within the switch input widget.
The Krajee plugins will auto initialize if you have set pjaxContainerId.

Thanks so much for responding quickly. I very much appreciate it !!!!
I don't have any experience with Pjax and have had trouble in the past with the Gii generated grids that use Pjax.
As I started diving into your answer, I just didn't know all the places that pjax code has to be to make that work.
I ended up getting it work (I think):
$("input[name='place-chooser']").map(function(){
//$(this).bootstrapSwitch();
$(this).bootstrapSwitch('onText',' choose');
$(this).bootstrapSwitch('offText','');
$(this).bootstrapSwitch('onColor','success');
$(this).bootstrapSwitch('handleWidth',70);
$(this).bootstrapSwitch('size','small');
And I'm needing to move a lot of my JavaScript architecture around to be preloaded and delegate events. But, I have proof of concept that seems to be working. :)


Cheat crashing in config LOAD

Whenever i try to load my main config
it crashes the game :(

To fix this, create a new config or recreate your old one.

aight m8
Thanks


[Doc] Use sphinx-remove-toctrees to generated docstring pages from navigation (and reduce build time)

The pydata-sphinx-theme tends to create large trees in the left-side navigation (and thus large generated large html sizes) because sphinx adds all generated docstring pages (from autosummary usage) to the global "toctrees". A small package (https://github.com/executablebooks/sphinx-remove-toctrees/) was created to help with this.
See https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/configuring.html#selectively-remove-pages-from-your-sidebar
Reporter: Joris Van den Bossche / @jorisvandenbossche
Note: This issue was originally created as ARROW-14460. Please see the migration documentation for further details.

I tried this out on the branch with the updated pydata sphinx theme and it works well. The fact that the left sidebar has a missing parent page is a bit confusing but not so much anymore because the parent page is visible in the article header, see:


Updates

What and why?
Update Go version for the docker image and latest go mod versions.
Go version carries a number of speed and security improvements. Same for dependencies really.
This PR also includes https://github.com/tumblr/k8s-sidecar-injector/pull/45
Testing Steps
Passes tests with make test
Reviewers
Required reviewers: @byxorna
Request reviews from other people you want to review this PR in the "Reviewers" section on the right.

:warning: this PR must have at least 2 thumbs from the MAINTAINERS.md of the project before merging!

This builds fine locally, but does not build in Docker reliably. It seems there is a combination of steps that make it work or not to do with vendor/.
I don't really understand the idea behind vendoring dependencies on top of go mod, so unsure how to fix this error, or what causes it.
Any steer would be appreciated.

@byxorna ping, I think this is ready for review now. Thank you.

Ping, can this be merged? Thank you.

Ping, can this be merged? Thank you.

eightball says yes.


Is react-native-ble-plx 2.0.3 supporting auto linking? If not can you please list what the steps are for manual linking?

Hello,

I am running the latest version react-native-ble-plx 2.0.3
I checked the documentation and found no answer
I checked to make sure that this issue has not already been filed
I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. Question has been already asked on StackOverflow but went unanswered - https://stackoverflow.com/questions/63787443/js-react-native-how-can-i-solve-this-error-for-building-react-native-app-for-i

Question

Is react-native-ble-plx 2.0.3 supporting auto linking?
If it is not supporting auto linking, what are the steps for manual linking?

Below is the error message that I see on the Terminal -
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
react-native-ble-plx (to unlink run: "react-native unlink react-native-ble-plx")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.

I'm pretty sure this library supports auto-linking. To solve your error, try unlinking the library as suggested in the message and running npm install. This should automatically link the library.

I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.
If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.


Unused dispatchers are not checked for validity

The task example requires two dispatchers.
When a required dispatcher is invalid, e.g.
#[rtic::app(device = lm3s6965, dispatchers = [SSI0, FOO])]

behavior is expected:
error[E0599]: no variant or associated item named `FOO` found for enum `Interrupt` in the current scope
  --> examples\task.rs:10:53
   |
10 | #[rtic::app(device = lm3s6965, dispatchers = [SSI0, FOO])]
   |                                                     ^^^ variant or associated item not found in `Interrupt`

However, when the dispatcher is not needed (yet):
#[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0, FOO])]

The build succeeds, unexpectedly. When another priority is used, this will cause an unexpected error.

I can see how this can cause some confusion when a unrelated error pops up when changing something, but I'm not sure it is really a big problem, considering when it does give you an error it is pointing out the offending dispatcher nicely.
I find it fairly impressive that when adding something unused it will be completely pruned and the compiler will not have to worry at all.
Not sure if there is a smart way to get earlier checking than what is currently available or if it is worth the effort.
Thoughts? @korken89 @perlindgren

I'm not sure in this case, but in general one should strive to reject errors as early as possible, such to prevent unrelated changes to raise the error. (Like adding a soft task with unique priority).

Do you know if we have access to the HAL interrupt vectors during the macro-stage of compilation?

I suspect the error emerges later, so I'm not sure we have the info to fix it earlier.


Gradle plugin should add grpc directory to the java source set

When proto files have some services, gRPC codegen generates the code as expected. But the generated/<sourceSet>/grpc/ directory is not added the corresponding source set in the Gradle project.
Here's what it takes to compensate for this missing feature:
    sourceSets {
        testFixtures {
            java.srcDirs("generated/testFixtures/grpc")
        }
    }

ProtoData should do it in its Gradle plugin to reduce the manual labor required from the programmer.

Addressed by $197.

Hopefully, #199 addresses this issue for good.


Removed support php 7.2

remove php 7.2 from builds
updated composer
test CI workflows

Pull Request Test Coverage Report for Build 457861457

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 457855022:
0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

Pull Request Test Coverage Report for Build 457861457

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 457855022:
0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Utilize uv workspaces fully

Moved package to packages/ directory
Had to rename tests into tests-core and tests-fastapi

https://github.com/modern-python/modern-di/issues/3#issuecomment-2451723980
This one will be fixed once new uv version is released: https://github.com/astral-sh/uv/issues/6935

I will mark PR as ready when new uv version is released


Add Ubuntu yakkety to the namespace mapping.

Unknown Ubuntu mappings cause the revision number to not get updated, and yakkety has started appearing in the feed.  Add the appropriate mapping to restore incrementality.

Thank you! LGTM.

@jzelinskie


Add service for ID equivalency queries

It would be great to have the ability to take any identifier in the system and return all equivalent IDs (and labels). Some users may wish to dump this data as well as having a service.
@kshefchek

There are a few different operations, no reason why we can't offer them all, but we should have clear options/distinct routes
For purposes here, "id" is taken as superclass of CURIE, URI and unconstrained ids

given an identifier, return alternate forms of the same identifier (e.g. URI<-> CURIE). We have this route already
given an id return owl:equivalent and owl:sameAs ids
given an id, return potentially equivalent ids (essentially xrefs)

cc @RichardBruskiewich - we'll want a simple knowledge beacon layered on top of this.

An additional service could be to take any id and return all ids within the closure according to one of the above axes, some third parties might find this useful for query expansion?

For now I've created two services in SciGraph, we could either proxy these in biolink or get them directly with cypher or bolt:
https://scigraph-data-dev.monarchinitiative.org/scigraph/docs/#!/dynamic/returns_the_id_and_all_it_s_equivalents
https://scigraph-data-dev.monarchinitiative.org/scigraph/docs/#!/dynamic/returns_ids_that_are_equivalent_and_potentially_equivalent_xrefs

Hi Chris,
re: id bullet points above
Our Knowledge Beacon API originally returned 'xrefs' which is your 3rd bullet point use case. However, it was pointed out that some xrefs point to general parent concepts of a given concept, hence, our algorithm to build true equivalence cliques of id's would perilously expand beyond exact matches.
We subsequently revised the API to only have "exactmatches" API calls that are documented as implying SKOS: exactMatch identifiers at the moment.  However, reading your email, I suppose the equivalent OWL semantic constraint here would be owl:sameAs.
However, owl:equivalent does not imply concept identity (see https://www.w3.org/TR/owl-ref/#equivalentClass-def). Is it perhaps risky to lump it in with "owl:sameAs" ?
On your first bullet point, regarding id form conversion, you say " alternate forms" which is plural, but is the main conversion you have in mind from URI to CURIE? Are you expecting the Knowledge Beacon itself to support this? We've currently constrained all API parameters and responses to use CURIE (by definition). I can understand implementations internally mapping the URI <-> CURIE conversion, but is is a Knowledge Beacon API service to do so? I know that Monarch has a conversion table for these... so not impossible to provide some kind of implementation.

Good point about SKOS.
skos:exactMatch is strictly weaker than OWL identity
https://www.w3.org/TR/skos-reference/#mapping
"The property skos:exactMatch is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications"

@cmungall Chris, what do you suggest should be our gold standard for the Knowledge Beacon: owl:sameAs or skos:exactMatch ?

@cmungall
Just need clarification. You said "...we'll want a simple knowledge beacon layered on top of this..."
Do we support all three use cases you outlined, in the Knowledge Beacon API, or only the API call for
                  "Given an id, give back the **owl:sameAs** ids"

Let's err on the side of inclusivity for now
On 3 May 2017, at 16:42, Richard Bruskiewich wrote:

@cmungall
Just need clarification. You said "...we'll want a simple knowledge
beacon layered on top of this..."
Do we support all three use cases you outlined, in the Knowledge
Beacon API, or only the API call for
                  "Given an id, give back the **owl:sameAs** ids"

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/biolink/biolink-api/issues/55#issuecomment-299065659

How inclusive?
Just owl:sameAs and skos:exactMatch
(blackboard integration of knowledge relationships may be more precise)
or
owl:equivalent, owl:sameAs and skos:exactMatch, plus potentially equivalent ids (essentially xrefs) ?
(greater potential for an hairball explosion of knowledge map due to approximate matching of concepts)
or
separate API calls for each?

I would think safest to have separate API calls

However, owl:equivalent does not imply concept identity

This is actually quite a subtle point regarding class extension vs intension. For our purposes here, we don't care.


Export visualisation images

Export the visualisations as images. Ideally so they can resized and remain clear (either SVG or the ability to specify export image size).

 Data Exporting


How do you open a file in boo?

I wish to make a web framework for Boo, and I am wondering if there is some way to open a file in Boo?
Thanks.

You would do it the same way you open a file anywhere else in the .NET framework.  Depending on what you want to do with it, there are several options.  Have a look at the System.IO.File class for various options.
Also, if you're specifically looking at the idea of a Boo Web framework, have a look at Web.Boo.


What to do with model.Span.ParentSpanID

As part of #773 I am trying to replace the domain model with gogoprotobuf-generated classes. It's been going well so far, the last stumbling block is the ParentSpanID field that currently does not exist in protobuf model. The reasoning for not including that field in the new model was to simplify the handling of span references, as we have seen bugs and confusion stemming from the duality of representation where parentSpanID is equivalent to a child-of span reference, while the reference itself may or may not be present in the references array (and in some cases duplicate references are present due to the same confusion/bugs).
There is also one use case that the current model does not capture. When a span is created with a list of predecessors (span references), all Jaeger clients pick one of those predecessors as the "primary parent" from which the trace ID and flags are inherited. In practice we don't have much instrumentation today that would even pass multiple references.
Option 1 - remove ParentSpanID, use References field only
This is the current implementation in the gogoproto-model branch.
Pros:

unified handling of predecessors

Cons:

requires memory allocation for the slice in 99% of spans
does not capture the primary parent from which trace ID is inherited

Option 2 - replace ParentSpanID with ParentSpanRef
Pros:

no extra memory allocations for 99% of spans
captures the primary parent

Cons:

bifurcates processing of primary parent from other predecessors

Comments:

this option is similar to how OpenCensus separates "parent span id" from "links". In Census links are are directional and can be added to both sides of the edge.
the reason to store complete SpanRef instead of just parent span ID is to capture type of reference

@jaegertracing/jaeger-maintainers

I'm currently leaning towards option 1 - primarily because the idea of a parent implies a hierarchical structure, which although true in most current cases, may not deal with other interesting situations (e.g. joins).
One approach to determining the trace id could be:

if all references belong to the same trace id, then the span should also be associated with that trace id
otherwise it is a join across multiple trace instances, so should result in a new trace id

hierarchical structure, which although true in most current cases, may not deal with other interesting situations

is it worth optimizing for theoretically interesting cases, which are unlikely to emerge any time soon? In fact, even those cases are much more likely to involve joins across different traces, like a buffered write, rather than joins within a single trace. The only join case within the same trace I can think of is when we want to explicitly parallelize a computation. However, that does not require an actual join, I would instead model it all with chlid-of like this:

Seeing as the ParentSpanRef can be null, isn't it an allocated pointer regardless?

We would use zero value instead of making it nullable, same as the existing ParentSpanID.

If I had to choose one, it would be option 1 to move logic out of the clients. The parent span selection is convoluted and it is likely for mistakes to creep into a single language's client without us catching it. I'd rather this be done on the backend.

The other reason for preferring option 1 is that the OT spec doesn't include the concept of a primary reference - and therefore applications written in a provider agnostic way could supply references in any order.

I was playing around with the new Protobuf model and realized that porting it to the clients would not make clients simpler. Although they would not need to maintain an explicit parent reference in the span context, the clients still must determine the parent for flags and baggage. Am I correct here or missing something?

yes, clients still need to determine the parent given multiple references, but they don't need to figure out the rules for encoding the parent ID vs. parent reference in the reported span. We've had bugs due to this logic that were causing the same parent reference to be repeated twice.

OK I understand that. Thanks for the explanation.


I want to confirm that if the cost function of the project is quadratic cost function

I don't understand what you're asking.

I don't understand what you're asking.
Maybe a noob  question. In another way, I want to know the cost/target function used to train/optimize ANN in GNEENANN.


Empty value causes edit field to disappear

If there is no data in the input field, the element vanishes and the user cannot put in a new value.  E.g., in the demo, click the "Example text value" value, erase it, press enter, and you're hosed.

You can address with with a min-width or an after selector see https://github.com/kaivi/riek/issues/2

Or just give it a default value:
<RIEInput value={ data || 'Enter text here' } />

Ok, I saw some good solutions proposed in #2
But now I find another problem:  The same issue exists with the RIETextArea, but the style fixes don't work.  E.g.
    <RIETextArea
      value={this.state.textarea}
      change={this.virtualServerCallback}
      propName="textarea"
      className={this.state.highlight ? "editable" : ""}
      classLoading="loading"
      classInvalid="invalid"
      isDisabled={this.state.isDisabled} />

That's from the demo, but with the validate removed.
Additionally, I've added this styling, as mentioned in #2:
.editable:empty:after {
  content: 'click-to-edit';
}

The styling works on the RIEInput that's in the demo, but doesn't work on the above.

Ok, here is a solution that handles both RIEInput and RIETextArea:
.editable:empty:after, .editable span:empty:after {
    content: 'Click to edit.';
    font-style: italic;
}

The addition of the span into the style handles the textarea component, as RIEK inserts an extra nested span for the textarea.  I might do a pull request for this as it's probably an issue that new users will encounter and waste time on.


Add Cloudsmith (a Packagist-compatible service)

Hi! This PR adds a link to Cloudsmith, which is a package management service SaaS. It's commercial, but it is completely free for open-source and it has generous free tiers otherwise. It has first-class support for PHP/Composer (and many other package formats, such as Python/Ruby), plus org/teams management, granular access controls, private repositories, repository-specific entitlements, a worldwide content distribution network, webhooks, access logs, etc. Thank you. :-)
Full disclosure: I work at Cloudsmith.

Thank you for contributing. 👍


Unhandled Rejection (FirebaseError) if User selects the "Cancel" option with Spotify verification

This happens after the user is re-directed to the /spotify-verify page, and they select the "cancel" option.
"Unhandled Rejection (FirebaseError): Function DocumentReference.set() called with invalid data. Unsupported field value: undefined (found in field spotifyData.access_token in document users/0q5LoawEYPebl4mGg0WldbHJ5yx2)```

fixed


Bootstrap stars in welcome message

Not sure if it's on purpose but after generating my key it get prompted to star twbs/bootstrap on Guthub. I guess it should be linked to henryboldi/felony instead?

I have created a pull request for this
#18


fix(csi-node/mounts): update deps to get safeMountIter fix

Dep update fixes deadlock on the new safe mount which basically looped forever trying to read mounts.
This meant the csi-node got stuck on stage calls and volumes would not get staged therefore pods would stay stuck in ContainerCreating forever.

bors merge


The text on the confirmation page needs to be bigger

see https://github.com/alphagov/govuk_elements/pull/451

Fixed by #415.


Fix/email alerts

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?

Changes
Please describe.
How did you test this code?

Please describe.

Depends on https://github.com/Flagsmith/flagsmith/pull/1541


Support for BottomNavigationView

Hey, there. This may be a silly question, but I haven't found a good way to change the font on labels in a BottomNavigationView specifically. I can change the default font for my app using the Application hook, and via a theme - but I'd like to change it only for the BottomNavBar instead of globally.
Is there any reasonable way to hook into the BottomNavigationView by itself? (Apologies if this has been answered in a different form)

If they are TextViews and Inflated and the AppCompat Lib provides TextAppearance Styles then you should be able to set those. I have a feeling 1-3 of those are false due to AppCompat not following standard android conventions.

Looks like AppCompat provides itemTextColor, but no text appearance attributes. They appear to be text views at the root of this, though. So maybe there's a hook in via find view. I'll take a look.

If they are inflated, it makes things way easier, otherwise we have to do
some hacky stuff like the Toolbar does.
On Mon, 9 Jan 2017 at 12:12 Tom Wilson<EMAIL_ADDRESS>wrote:

Looks like AppCompat provides itemTextColor, but no text appearance
attributes. They appear to be text views at the root of this, though. So
maybe there's a hook in via find view. I'll take a look.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/360#issuecomment-271394356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHRsWu4SD6TBqb-TgjOS8rhiBV-jycJks5rQpTLgaJpZM4LcDSv
.

In case anyone else runs across this - I did find a way in to fix this. It's ugly and brittle, but it does work:
private void applyBottomNavFont() {
        // The BottomNavigationView widget doesn't provide a native way to set the appearance of
        // the text views. So we have to hack in to the view hierarchy here.
        for (int i = 0; i < mBottomNav.getChildCount(); i++) {
            View child = mBottomNav.getChildAt(i);
            if (child instanceof BottomNavigationMenuView) {
                BottomNavigationMenuView menu = (BottomNavigationMenuView) child;
                for (int j = 0; j < menu.getChildCount(); j++) {
                    View item = menu.getChildAt(j);
                    View smallItemText = item.findViewById(android.support.design.R.id.smallLabel);
                    if (smallItemText instanceof TextView) {
                        // Set font here
                    }
                    View largeItemText = item.findViewById(android.support.design.R.id.largeLabel);
                    if (largeItemText instanceof TextView) {
                        // Set font here
                    }
                }
            }
        }
    }

There is layout inflation involved, so you could simply use a style (I just tested it):
<style name="Widget.BottomNavigationView" parent="Widget.Design.BottomNavigationView">
    <item name="fontPath">@string/font_medium</item>
</style>

And then applying it like:
<android.support.design.widget.BottomNavigationView
    ...
<EMAIL_ADDRESS>/>

@iamjonathanhernandez
I'm getting:
Error:(2276, 21) No resource found that matches the given name: attr 'fontPath'.

you have to find label id that google used in its support library
BottomNavigationView bottomNavigationView = (BottomNavigationView)    fragmentActivity.findViewById(R.id.bottom_navigation); TextView textView =             (TextView)bottomNavigationView.findViewById(R.id.menu_item_home).findViewById(R.id.largeLabel); 	textView.setTypeface(fontUtils.getTypeFace());

@iamjonathanhernandez solution's working !
Thanks !

@tmtrademarked 's solution is working but @hernandezrjonathan 's is not working for me I don't know what is the cause.

private void applyBottomNavFont() {
// The BottomNavigationView widget doesn't provide a native way to set the appearance of
// the text views. So we have to hack in to the view hierarchy here.
for (int i = 0; i < mBottomNav.getChildCount(); i++) {
View child = mBottomNav.getChildAt(i);
if (child instanceof BottomNavigationMenuView) {
BottomNavigationMenuView menu = (BottomNavigationMenuView) child;
for (int j = 0; j < menu.getChildCount(); j++) {
View item = menu.getChildAt(j);
View smallItemText = item.findViewById(android.support.design.R.id.smallLabel);
if (smallItemText instanceof TextView) {
// Set font here
}
View largeItemText = item.findViewById(android.support.design.R.id.largeLabel);
if (largeItemText instanceof TextView) {
// Set font here
}
}
}
}
}

Works!


Remove Lerna

🧹 🎉 ✨
Depends on #13520, #13519
Want to verify the publishing flow somehow before merging this too.
I'm not updating create-app since that still ships Yarn v1, so we don't have the new workspaces foreach command. Once the removal of the dependencies on Lerna in the CLI have been release I figure we'll add instructions to the Yarn v3 migration guide for how to remove Lerna.

Lettings this one sit for a bit as yarn workspaces foreach seems to be a lot slower than running through Lerna, which has an impact on test execution speed. Will be trying to switch to tests run from the root instead before shipping this.


Double underline in demo

Probably a bug, appeared recently.
This is HTML abbreviation example.

HTML is abbreviation and should be underlined with single dotted line. But actually it underlined with double dotted line. (Checked in Chrome and FF).
Could be fixed with
text-decoration: none

That's a twitter bootstrap's style. Works as intended.


Generate unique variable names properly during parsing

I've now updated the parser to deal with variable names properly.  There's still one small problem.  If you include Uniques when you print an expression (Printer.toStringWithIDs) you get names like "x_5" which were previously rejected by the parser because underscores weren't allowed.  I've now changed that so that underscores are allowed. There's still a minor problem in that if you repeatedly print and parse something you'll get names like "x_5_2_2_2_2", which might not be ideal.  We could try to fix this by recognising that "x_5" represents a Unique, but that would be asking for trouble.  (Also, you can just leave out the IDs when printing).

Thanks again!

There's still a minor problem in that if you repeatedly print and parse something you'll get names like "x_5_2_2_2_2", which might not be ideal. We could try to fix this by recognising that "x_5" represents a Unique, but that would be asking for trouble. (Also, you can just leave out the IDs when printing).

We can also have two modes for parsing just like we have two modes for pretty-printing. But it's not a big deal for now.
Is the PR ready for merging?


Changed the logic of displaying widgets on one line

Changed the logic of displaying widgets on one line. The width is set by setting "gridWidth" in view.meta. Maximum width of 24 if we want to fit two widgets on one line put the same value of "position" and the sum of the "gridWidth" of the two widgets should not exceed 24
example

@IgorNB
Instead of migration guide
The feature is a workaround for @tesler-ui/core bug which will be fixed in next major release.
Applying the feature to existing project you should pay attention to the value of gridWidth in all of presented *.view.json files due to it make sense now.
The combination of position and gridWidth allows you control positioning of widgets on a view. Widgets of the same position places on the same row. On the other hand gridWidth is responsible for the width of the widget.
gridWidth takes values in range between 1 and 24. In case the sum of gridWidth values of widgets with the same position is larger 24 then widgets from the right will be moved to next row.
For instance:

6 columns6 columns6 columns6 columns
position: 1gridWidth: 24
position: 2gridWidth: 12position: 2gridWidth: 12
position: 3gridWidth: 6position: 3gridWidth: 18
position: 4 gridWidth: 6
position: 4gridWidth: 24


folder not found for folder_id when moving a dashboard

I'm using this command to move a dashboard:
sdk.move_dashboard("81", "1735")

The error is:
Error summary:
field: folder_id
code: missing
message: folder not found for folder_id
documentation_url: http://docs.looker.com/ // See: http://docs.looker.com/
If I use the instance API explorer with the same parameters it works fine.
If I do a copy_dashboard, it makes a copy of the dashboard but ignores the folder_id.
I'm using version 0.1.2 of the API.

This is a working syntax for the endpoints:
sdk.copy_dashboard('1', {}.to_json, {folder_id: '2'})
sdk.move_dashboard('1', {}.to_json, {folder_id: '2'})


Login Failure! Incorrect CodePlease enter correct captcha code.

Getting this after pasting the captcha response from the console. I'm making sure there aren't any crazy characters or newlines in the response.
Traceback (most recent call last):
  File "/usr/local/bin/kobodl", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/kobodl/commands/user.py", line 62, in add
    actions.Login(user, password, captcha)
  File "/usr/local/lib/python3.8/site-packages/kobodl/actions.py", line 161, in Login
    kobo.Login(user.Email, password, captcha)
  File "/usr/local/lib/python3.8/site-packages/kobodl/kobo.py", line 464, in Login
    raise KoboException('Login Failure! ' + errors.text)
kobodl.kobo.KoboException: Login Failure! Incorrect CodePlease enter correct captcha code.

I've tried both Brave (Chromium) and Firefox.

What about training spaces?  You might have a stray space at the beginning or end.

@subdavis, no trailing or leading spaces. I definitely have a Kobo account, although my account is quite old ... maybe that is the issue?

Yeah, I couldn't even venture a guess.  You might try creating a new account just to see if you have the same problem with a different account. The Kobo API is something of a minefield.
I'd love to help you, but there's very little I can do.  You'd have to go in and dissect the HTTP response on your own.  The best thing to do would be some kind of error reporting mechanism where the whole thing dumps to a file you can paste.  Alas.

@subdavis thanks. I just made a brand new account and I am getting the same issue. I tried the browser form of the local server and the CLI.

@ryanpcmcquen spoke too soon.  This is happening for me now. Looks like Kobo changed something.  I'll take a look later this evening.
Thanks for the report.

Probably captcha or something breaking the api? Maybe invisible recaptcha (or whatever it is called). Thanks for looking into it!

@subdavis, any discoveries here?

@ryanpcmcquen thanks for the reminder.  SiteKey for recaptcha changed, looks like kobo migrated to invisible recaptcha, which is good.
0.5.0 released on Pypi.  Docker build is in progress.  Please let me know if this doesn't resolve the problem.

Thank you @subdavis, it worked perfectly!

@subdavis
Can you please tag release 0.5.0 on GitHub? Thanks!


Child communities: Add verified and part of indications

The community header of a child community should clearly indicate they are part of EU community

Same for landing page.

Discuss solutions with Lars.

@ptamarit what was the PR closing this?


dashboard(dev-compose): improve dev dashboard

This commit:

Adds panels to highlight the degree of regression between dev and latest version.
Adds panel for visualizing more info related to Node and process like Core, Package, Dram, Other, CPU cycles, CPU miss and BPF CPU time.

Sample screenshot of dashboard:

cc: @vimalk78 @sthaha


[Issue] Failed on M1 Pro, T6000

Describe the bug
When I built and ran the socpowrbud on my M1 Pro, it would crash and reported the following error.
2023-08-28 15:42:32.552340+0800 socpwrbud[97208:2473665] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000019071f154 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000019023e4d4 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001908099b8 -[__NSCFString characterAtIndex:].cold.1 + 0
	3   CoreFoundation                      0x0000000190692bb8 -[__NSArrayM objectAtIndexedSubscript:] + 188
	4   socpwrbud                           0x000000010000424c format + 1588
	5   socpwrbud                           0x0000000100001dc0 main + 2872
	6   dyld                                0x000000019026ff28 start + 2236
)
libc++abi: terminating due to uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'
terminating due to uncaught exception of type NSException

Device:

Model: Apple M1 Pro
CPU: 2 ECPUs and 6 PCPUs

Additional context
I traced the program and found the error may be caused by the cpu cores num return by "AppleARMIODevice" service.
The service return info as follows:
    clocks = {length = 792, bytes = 0x28010101 00000000 504d5000 00000000 ... 53545f4f 46460000 };
    clpc = {length = 4, bytes = 0x03000000};
    clusters = {length = 12, bytes = 0x020000000400000004000000};
    compatible = {length = 12, bytes = 0x706d6772312c743630303000};
    "cpu-apsc" = {length = 4, bytes = 0x01000000};

It shows each cluster have 2, 4, 4 cores, but the real value is 2, 3, 3. So the program will crash later.
 Hopefully its good now


Feature/tech 890: added GET endpoint for unique BBs

Ticket:
https://govstack-global.atlassian.net/browse/TECH-890
Changes:

A new endpoint GET '/compliance/bbs' that fetches unique BBs from the database has been added.
A simple test that checks the format and status code of the given endpoint has been added, including test data for BB requirements.
Fixed the format of response data from the /compliance/list, addressing the failing test.

Example response:

@lruzicki for logistic reasons i will change it to draft, we will get back to it after TECH-890 PR (https://github.com/GovStackWorkingGroup/testing-webapp/pull/102) is merged.

@lruzicki plsese resolve conflcts


DRYs up the repeated creation of the events hash

Thank you for this pull request. You are totally right, that this repetition isn't a good coding style.
The reason I am doing it, is to keep the number of methods minimal. So when you include the model, there is less chance that it clashes with something else.
However, I want to collect different variations of this project in other git branches, that's why I merged it to https://github.com/janlelis/microevent.rb/tree/dry. If you are still interested, can you please make your version pass the tests? Thanks

I removed the repetition in v1.1.0 by only creating the hash in #bind calls.


context.canvas.width/height not being reset before chart returned

If you've got a hi-res display - a Retina (MacBook Pro, iPhone 5s) - the context.canvas.width and context.canvas.height values are scaled by a factor of window.devicePixelRatio.
Thus a second call to a Chart.js function, e.g., Bar(), will see context.canvas.width / height  values that have been scaled by the first call to Bar() or whatever, and they will be scaled again - so context.canvas.width is now:
context.canvas.width * window.devicePixelRatio * window.devicePixelRatio !!!
Subsequent calls continue to exacerbate this problem.
A quick patch I did to my copy of the Chart.js library was to save the initial context.canvas values (insert at line 153):
var ctxCanvasWidth = width ;
var ctxCanvasHeight = height ;
and, in each of the chart type functions restore the initial values before returning the chart - like this:
// return new PolarArea(data,config,context);
v = new PolarArea(data,config,context);
context.canvas.width = ctxCanvasWidth ;
context.canvas.height = ctxCanvasHeight ;
return v ;

Please see #713 for further discussion of this issue.


iOS8 Alertview Rotation Issue

Hello,
I am still facing rotation issue in iPad 2.0 with iOS 8.0. I m sure iPad mini will have still the same issue
See the images..Issues is in Landscape orientations.. AlertView's background is not getting resized and hence Alert is not displayed in the centre.
If I open an alert in Portrait mode, and change device's orientation to Landscape, at that time there is some problem in resizing the screenSize. And due to this , Alert is not displayed in the center of the screen
Have to modify the orientationDidChange code as it is only working currently with OS 7.1 or lower version. Transformation is not handled properly

still problems... even with iPhone... good control though. id love to use it in an upcoming app with this issue fixed

I have solved this issue, for my code, just set parentview property of alertview.
and
use new screen size for ioS8
add below code to class and use it instead of  [UIScreen mainscreen].bounds.size

(CGSize)screenSize {
CGSize screenSize = [UIScreen mainScreen].bounds.size;
if ((NSFoundationVersionNumber <= NSFoundationVersionNumber_iOS_7_1) && UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) {
return CGSizeMake(screenSize.height, screenSize.width);
}
return screenSize;
}

and remove code from height and width exchange code from countScreenSize and keyboardWillShow method.
Thats it

Rotation should be sorted for IOS8+ and IOS7. I'm closing the related issues now, please reopen a new one if necessary.


Customer surveys

Analyze customer surveys to see how we can best modify services to address customer issues.

closing due to age


Changed jquery requirement to > 1.9.x in bower.json

As per https://plugins.jquery.com/bootstrap-maxlength/
JQuery needed should be > 1.9

Thank you :)

Glad to help ;)

If we could have a new release with this modification would be helpful for those using bower to install dependencies ( just a sugestion tough ;p )

I am planning to do rewrite some of the functionalities in a better way
very soon :)
On 7 May 2015 at 22:14, Hugo José Gonçalves<EMAIL_ADDRESS>wrote:

If we could have a new release with this modification would be helpful for
those using bower to install dependencies ( just a sugestion tough ;p )
—
Reply to this email directly or view it on GitHub
https://github.com/mimo84/bootstrap-maxlength/pull/97#issuecomment-99840255
.


Release 1.4.0

Search now looks at the description and tags on scripts
Errors and information are now notifications removing the need for the status bar
Added version number to the about dialog

Blocked since https://cmake.org/ is down


ENH: Add round-trip channel name saving

Closes #12992
Closes #12994

And one final suggestion (but feel free to disregard any of them, of course, because they are just "nice to haves"):
I think we should add read_dig_fif also to:
https://mne.tools/stable/generated/mne.channels.read_custom_montage.html
as this function is basically a wrapper that is triaging the different read_dig funcs

The function is a helper to read electrode positions you may have in various formats.

@sappelhoff should be good now I think!

Argh yes, and it's likely that there will be one or two in examples so I'll push a fix for the test with [circle full]


#184638225 Integrate-Coveralls-code-coverage-service

What does this PR do?
This adds integration-Coveralls-code-coverage-service
Description of Task to be completed?
Installing the necessary dependencies: Install the coveralls and istanbul packages using npm install command.
Instrumenting the code: Use Istanbul to instrument the code by adding coverage tracking to each file in the project.
Running the tests: Run the tests for the project to generate coverage reports.
Generating the coverage report: Use Istanbul to generate a coverage report from the test results.
Integrating with Coveralls: Configure Coveralls to receive the coverage report by providing
How should this be manually tested?

Clone repository
Checkout in branch ( ch-integrate-coveralls-184638225 )
Run yarn test
Run yarn coverage
Run yarn coveralls

What are the relevant pivotal tracker/Trello stories?
#184638225

this pr has a conflict , and please squash that commit


[Feature/redis provider] add redis auth provider

created provider.go file and i insert that file to all of logic about redisAuthProvider.
now createKeyProvider func is include in ServiceSet
fix config.yaml file to chose auth type

I have a question about implementing the redis Provider. In the existing test code, put StaticProvider in "service.InitializeServer". However, in my code, createKeyProvider is initialized using wire DI. I'm curious what opinions you have on this and how you would like it to be changed.

do you know about it ?
Error: The process '/opt/hostedtoolcache/mage-action/1.11.0/x64/mage' failed with exit code 1
in my local mage testall commend is work

fix AuthType to KeyProvider in config.go file
use hget when get api key

Sorry i will start this task from now on
I plan to communicate slowly while reflecting the requirements.

@davidzhao
The requirements for the KeyProvider structure were applied.
and I added test code for testing RedisKeyProvider.
I'd appreciate it if you let me know what needs to be fixed or added.

Any update on this PR?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Property hasOwnProperty never defined on type Object

With new type inference, getting the following incorrect warning:
src/test/TestViewerApp.js:416: WARNING - Property hasOwnProperty never defined on {}
    if (!c.hasOwnProperty(p)) continue;  // skip inherited properties
         ^

on this method:
/** Adds tests from the given class to the menu of available tests.
Tests are static methods that take a parameter of type {ContactSim}
and return {undefined}.
The test added must end with "_setup";  the menu name is generated from
the test method name by changing all underscores to blanks, and removing
the "_setup" suffix.
* @param {!Object} c the class whose tests will be added to the menu of available tests.
* @private
*/
TestViewerApp.prototype.addTestsFrom = function(c) {
  //window.console.log("addTestsFrom "+c);
  for (var p in c) {
    if (!c.hasOwnProperty(p)) continue;  // skip inherited properties
    if (typeof c[p] !== "function") continue;  // skip non-functions
    if (!p.match(/.*_setup$/)) continue;  // skip non-setup functions
    var nm = p.replace(/_setup$/, "").replace(/_/g, " ");
    //window.console.log("testName="+nm);
    this.testNames.push(nm);
    this.tests.push(c[p]);
  }
};

I just tried this example and I can't reproduce the issue. It must have been fixed at some earlier commit.
function f(/** !Object */ x) {
  return x.hasOwnProperty('asdf');
}

This is still a problem in Version: v20150505-58-g39bb337.  I tried your example and I get the error.  Perhaps I'm using different compiler flags?
function f(/** !Object */ x) {
  return x.hasOwnProperty('asdf');
};

results in:
src/test/TestViewerApp.js:458: WARNING - Property hasOwnProperty never defined on {}
  return x.hasOwnProperty('asdf');
         ^

Here is the compile command:
java -jar ../javascript/closure-compiler/build/compiler.jar --new_type_inf
--compilation_level=SIMPLE --closure_entry_point=myphysicslab.test.TestViewerApp
--js=src --js=../javascript/closure-library --only_closure_dependencies=true
--generate_exports --jscomp_error=checkTypes --jscomp_error=missingProperties
--jscomp_error=missingProvide --jscomp_error=missingRequire
--jscomp_warning=accessControls --jscomp_warning=ambiguousFunctionDecl
--jscomp_warning=checkVars --jscomp_warning=const --jscomp_warning=constantProperty
--jscomp_warning=fileoverviewTags --jscomp_warning=globalThis
--jscomp_warning=invalidCasts --jscomp_warning=misplacedTypeAnnotation
--jscomp_warning=missingReturn --jscomp_warning=newCheckTypes
--jscomp_warning=strictModuleDepCheck --jscomp_warning=suspiciousCode
--jscomp_warning=typeInvalidation --jscomp_warning=undefinedNames
--jscomp_warning=undefinedVars --jscomp_warning=unknownDefines
--jscomp_warning=uselessCode --jscomp_warning=visibility --extra_annotation_name=alias
--warning_level=VERBOSE --define=myphysicslab.lab.util.UtilityCore.ADVANCED=false
--define=goog.DEBUG=true '--define=goog.LOCALE='\''en'\''' --language_in=ECMASCRIPT5

I tried it in the debugger and I can't see the error. See:
http://closure-compiler-debugger.appspot.com/home#input0%3Dfunction%2520f(%252F**%2520!Object%2520*%252F%2520x)%2520%257B%250A%2520%2520return%2520x.hasOwnProperty('asdf')%253B%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CHECK_TYPES_NEW_INFERENCE%3D1
(There are 4 warnings because NTI can't understand the es6 externs well, and 1 warning in html5.js which is a bug in that file and should be fixed.)
Can you try using the compiler at head instead of the latest release?

I just did a pull and recompiled the compiler.
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20150505-63-g4e69889
Built on: 2015/05/24 23:41

Still getting the error.  Just noticed it's happening in closure library also:
../javascript/closure-library/closure/goog/disposable/disposable.js:110: WARNING - Property
hasOwnProperty never defined on {}
    if (goog.Disposable.instances_.hasOwnProperty(id)) {
        ^

../javascript/closure-library/closure/goog/disposable/disposable.js:185: WARNING - Property
hasOwnProperty never defined on {}
          !goog.Disposable.instances_.hasOwnProperty(uid)) {
           ^

src/test/TestViewerApp.js:439: WARNING - Property hasOwnProperty never defined on {}
    if (!c.hasOwnProperty(p)) continue;  // skip inherited properties
         ^

src/test/TestViewerApp.js:450: WARNING - Property hasOwnProperty never defined on {}
  return x.hasOwnProperty('asdf');
         ^

I've used git a lot but only locally, I've not worked with a remote much.  git status was telling me I was up to date, but then I did a pull and got a bunch of changes... confusing.
23:31:04 ~/Documents/Programming/javascript/closure-compiler]$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean
[23:31:08 ~/Documents/Programming/javascript/closure-compiler]$ git diff origin/master
[23:33:12 ~/Documents/Programming/javascript/closure-compiler]$ git diff HEAD origin/master
[23:33:51 ~/Documents/Programming/javascript/closure-compiler]$ git pull
remote: Counting objects: 56, done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 56 (delta 10), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (56/56), done.
From https://github.com/google/closure-compiler
   39bb337..4e69889  master     -> origin/master
Updating 39bb337..4e69889
Fast-forward
 contrib/externs/chrome_extensions.js               | 222 +-------------------
 contrib/externs/jasmine-2.0.js                     |   4 +
 externs/chrome.js                                  | 224 +++++++++++++++++++++
 .../javascript/jscomp/DefaultPassConfig.java       |  21 +-
 src/com/google/javascript/jscomp/NodeUtil.java     |   4 +-
 src/com/google/javascript/jscomp/PolymerPass.java  |  31 ++-
 .../jscomp/RemoveUnusedClassProperties.java        |  25 ++-
 .../google/javascript/jscomp/ScopedAliases.java    |  82 +++++---
 .../google/javascript/jscomp/PolymerPassTest.java  |  97 ++++-----
 .../jscomp/RemoveUnusedClassPropertiesTest.java    |  16 ++
 .../javascript/jscomp/ScopedAliasesTest.java       |  46 ++++-
 11 files changed, 447 insertions(+), 325 deletions(-)

I usually use the compiler version that is internal to Google. I just tried to reproduce this with the open-source compiler and failed. So I'm fairly certain that this is an issue with your setup. Here are the steps I took.
git pull origin master
To get the latest commits. You'll need to do git clone if you don't have the repository locally already.
ant jar
To create the compiler jar
java -jar build/compiler.jar --new_type_inf --js=tmp.js
To run the program, where tmp.js contains the small example I posted earlier.

Try removing --jscomp_error=missingProperties.

Unrelated.
Also, when NTI is on, we turn off some other passes because they are covered by NTI.
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/CompilerOptionsPreprocessor.java#L68
So, the following options you're using have no effect.
--jscomp_error=checkTypes
--jscomp_warning=globalThis
--jscomp_warning=missingReturn

Any of these four options cause the "Property hasOwnProperty never defined" warning to appear:
--jscomp_warning=newCheckTypes
--warning_level=VERBOSE
--jscomp_error=missingProperties
--jscomp_error=checkTypes

For example:
$ java -jar build/compiler.jar --new_type_inf --js=tmp.js  --jscomp_error=checkTypes

tmp.js:2: ERROR - Property hasOwnProperty never defined on {}
  return x.hasOwnProperty('asdf');
         ^

1 error(s), 7 warning(s)

The file tmp.js is:
function f(/** !Object */ x) {
  return x.hasOwnProperty('asdf');
}

In compiling my large program, I have to remove ALL  4 of these options to have the hasOwnProperty warning not appear.  The total number of warnings then goes down from 630 to 575 (I haven't tried to figure out what other warnings are disappearing).
I'm pretty sure I'm building the compiler correctly using ant.  Here is the version:
+ java -jar ../javascript/closure-compiler/build/compiler.jar --version
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20150505-63-g4e69889
Built on: 2015/05/24 23:41

Should I not compile with those 4 options when using NTI?  I assume I want to keep those options when not using NTI.  (I cannot use NTI for my regular work because there are still too many warnings to be practical).

Are you using custom externs or the default externs?

Default externs.  Here is a typical compile command (note the troublesome 4 options have been removed):
+ java -jar ../javascript/closure-compiler/build/compiler.jar --new_type_inf
--compilation_level=SIMPLE --closure_entry_point=myphysicslab.test.TestViewerApp
--js=src --js=../javascript/closure-library --only_closure_dependencies=true
--generate_exports --jscomp_error=missingProvide --jscomp_error=missingRequire
--jscomp_warning=accessControls --jscomp_warning=ambiguousFunctionDecl
--jscomp_warning=checkVars --jscomp_warning=const
--jscomp_warning=constantProperty --jscomp_warning=fileoverviewTags
--jscomp_warning=globalThis --jscomp_warning=invalidCasts
--jscomp_warning=misplacedTypeAnnotation --jscomp_warning=missingReturn
--jscomp_warning=strictModuleDepCheck --jscomp_warning=suspiciousCode
--jscomp_warning=typeInvalidation --jscomp_warning=undefinedNames
--jscomp_warning=undefinedVars --jscomp_warning=unknownDefines
--jscomp_warning=uselessCode --jscomp_warning=visibility
--extra_annotation_name=alias
--define=myphysicslab.lab.util.UtilityCore.ADVANCED=false --define=goog.DEBUG=true
'--define=goog.LOCALE='\''en'\''' --language_in=ECMASCRIPT5

The issue is that the open-source compiler runner doesn't use the DefaultPassConfig, so it's not properly canceling the other passes when NTI is enabled. Will fix.

Wrong diagnosis in my last comment. Anyway, I can reproduce the bug consistently now.

Note to self: this is probably related to the fact that object types can have a null nominal type instead of inheriting from Object. That fix will likely fix this too.

Confirmed fixed in Version: v20150609-23-g19613b6. I am able to compile with all these (possibly useless) compiler options:
--new_type_inf \
--jscomp_warning=newCheckTypes
--warning_level=VERBOSE
--jscomp_error=missingProperties
--jscomp_error=checkTypes

and no longer see the "Property hasOwnProperty never defined" warning.


Start initial ocsp stapling without blocking startup

As of 9.1, when ATS starts and has ocsp stapling enabled, all stapling requests must finish before ATS will finish starting up. The requests can all fail, but, they need to be tried. Thus, seems like we should make the ocsp stapling requests not block startup -- start the fetches asynchronously and allow the rest of startup to happen while they are done in the background.

fixed by PR #9178


RNA-seq: using current version of DEXSeq

If I understand previous posts correctly, R is pinned to v3.5.1 in the default conda environment.
The r36 conda environment seems to be meant for tools that require a newer version of R.
I tried installing bioconductor-dexseq=1.38 into r36. However, DEXSeq cannot be found when installed in this environment.
DEXSeq versions compatible with R 3.5.1 are not compatible with python3.
multiprocessing: run_dexseq
Error in find.package("DEXSeq") : there is no package called ‘DEXSeq’
Execution halted
DEXseq is not installed, skipping exon-level counting.

If I remove the r=3.5.1 requirement from the default environment, I can install bioconductor-dexseq=1.38 and the analysis is completed, but provenance.py exits with error.
Any tips how I could use the current version of DEXSeq (1.38)?.
Thx
Ben

Thanks @gabeng !
I am working on the update.
The solution is to update DEXSeq in r36 enviroment and then use it from there, not from the default:
https://github.com/bcbio/bcbio-nextgen/blob/master/bcbio/rnaseq/dexseq.py#L75
similarly how we are doing it for purecn.
SN

Hi Sergey,
Would be great if you could make it work from the r36 environment.
TIA!
Ben

By the way, how did you manage to install bioconductor-dexseq=1.38?
In my bcbio instance:
# solves forever
conda install bioconductor-dexseq=1.38 -n r36 -c bioconda
# proposes to alter a lot of packages
mamba install bioconductor-dexseq=1.38 -n r36 -c bioconda
# installs 1.36
conda install bioconductor-dexseq -n r36 -c conda-forge -c bioconda

I am using a tools.yaml tailored to my bulk rna-seq application, similar to this one:
https://github.com/bcbio/bcbio_docker/blob/19369dde53fe40e624b1086d19570b3024929567/packages/bcbio-rnaseq.yaml
bio_nextgen:
- atropos
- arriba;env=r36
- bcftools
- biobambam=2.0.87
- bioconductor-dexseq>=1.38;env=r36
- bioconductor-tximport;env=r36
- express
- fastqc>=0.11.8=1
- gffread
- goleft
- grabix
- hts-nim-tools
- htseq
- kallisto>=0.43.1
- mosdepth;env=htslib1.10
- multiqc
- multiqc-bcbio
- parallel
- picard
- pizzly
- pythonpy
- qualimap
- qsignature=0.1pre=4
- r-base
- r-wasabi
- r=3.5.1
- r-janitor;env=r36
- r-tidyverse;env=r36
- salmon
- sambamba
- samtools
- seqtk
- star
- stringtie
- subread
- xorg-libxt
channels:
- conda-forge
- bioconda
minimal:
- awscli
- bzip2
- ncurses
- nomkl
- readline
- ucsc-fatotwobit

The fresh installation gave me
bioconductor-dexseq       1.38.0
Please give it a try - I've submitted a fix.
Also, you'd need htseq in r36
https://github.com/chapmanb/cloudbiolinux/blob/master/contrib/flavor/ngs_pipeline_minimal/packages-conda.yaml#L86

I can confirm it works. Thank you!
I noted that the rnaseq tools like express, kallisto, stringtie, dexseq etc. are not listed in the programs.txt. Not sure if the output in programs.txt is still maintained.

that is an easy fix @gabeng  - please check it out in the latest dev


GH-39759: [Docs] Update pydata-sphinx-theme to 0.15.x

Rationale for this change

What changes are included in this PR?
Updated pydata-sphinx-theme to 0.15.x

Are these changes tested?
Yes

Are there any user-facing changes?
No

Closes: #39759

@github-actions crossbow submit preview-docs

I think that we need to do like https://github.com/apache/arrow/pull/39658 .

Could you also fill items in our PR template?

I think that we need to do like #39658 .

Got it

@github-actions crossbow submit preview-docs

@github-actions crossbow submit preview-docs

Did this happen during #39658 if so how was it resolved?

@github-actions crossbow submit preview-docs

I have opened an issue for the failing docs preview build: https://github.com/apache/arrow/issues/39942

I have opened an issue for the failing docs preview build: https://github.com/apache/arrow/issues/39942

Okay thank you @AlenkaF

BTW @AlenkaF does this pr still needs working or the issue is in @github-actions crossbow submit preview-docs?

Preview build can't currently test the changes of this PR. The issue causing the failure of the docs build has to be fixed first (not related to the work here), so we will need to wait for that to be solved.
As for the Python 3.8 CI failing build, that still has to be addressed. Kou suggested here https://github.com/apache/arrow/pull/39879#discussion_r1477187035 to add a separate docker image for building the docs which is a great solution. One thing that will probably need to be changed is the Python version, ci/docker/conda-python-docs.dockerfile needs Python 3.9 or higher.

I updated a bunch of Python versions in our CI last year (https://github.com/apache/arrow/pull/35548), but it's probably time to do that again, and more thoroughly this time (i.e. including doc related builds etc)

Worth a separate PR then?

If you want @kou I can work on the indentation in this pr ?
BTW I think these are the errors coming in the docker-compose.yml file so if I am supposed to open a separate issue should I work on only this part where I made the code changes

@kou could you please take a look at this

Could you rebase on main to fix the documentation build failure?

@github-actions crossbow submit preview-docs

http://crossbow.voltrondata.com/pr_docs/39879/

Some quick notes from looking at the preview:

The dark/light theme switcher icon is gone?
The left sidebar doesn't correctly remember the state if you scrolled it down and clicked on a certain element. This is probably a bug in the theme we should report upstream

Could you check https://github.com/apache/arrow/pull/39879#issuecomment-1956793736 ?

Could you check #39879 (comment) ?

Could you please tell how do I proceed to solve the issues mentioned in https://github.com/apache/arrow/pull/39879#issuecomment-1956793736

Sure:

Check whether each item is reproducible
If it's reproducible, look into whether it's an upstream (pydata-sphonx-theme) problem or not
If it's an upstream problem, report it to upstream
If it's not an upstream problem, adjust our configuration for pydata-sphinx-theme 0.15.2

@Divyansh200102 would you have time to rebase this PR? In the meantime pydata-sphinx-theme 0.15.3 was released, so it would be good to test it with the latest version

I am a  bit busy for a couple days but I 'll do it as soon as I find the
time to do so.
On Thu, 6 Jun 2024 at 21:51, Joris Van den Bossche @.***>
wrote:

@Divyansh200102 https://github.com/Divyansh200102 would you have time
to rebase this PR? In the meantime pydata-sphinx-theme 0.15.3 was released,
so it would be good to test it with the latest version
—
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/39879#issuecomment-2152924768, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BDA2PCIHG3ZS4PJOCT5MJJTZGCEABAVCNFSM6AAAAABCU2D5RGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSHEZDINZWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add sample datasets

Include samples of well-known trajectory datasets in the library. See https://scikit-learn.org/stable/datasets/index.html for reference.

Add a local cache for storing datasets that were already downloaded.


I am losing my carriage returns

I am using this project to connect from a linux host to a old cisco switch. The gateway is running locally on the linux host under systemd.
The output from the cisco lacks carriage returns on new lines. I only get line feeds. You can't really see in the block below here how the beginning of a line is exactly below the end of the previous line.
Ordinary telnet from the same linux box works ok.
Because of this ansible does not see the privilege escalation prompt.
                                               sw-c01>show version
                                                                  Cisco IOS Software, CBS30X0 Software (CBS30X0-IPBASE-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
                                                                  Technical Support: http://www.cisco.com/techsupport
                 Copyright (c) 1986-2017 by Cisco Systems, Inc.
                                                               Compiled Sat 19-Aug-17 10:03 by prod_rel_team

My guess is that something is happening in lines 153-162 of ssh_to_telnet_proxy.py
You can first start by running script with -l debug to see which lines you receive from the switch and which lines you forward to Ansible via SSH. If the issue is there, you can start by doing something very simple like just commenting out lines 158-160, or commenting out all lines 154-161 and changing line 162 to self.chan.send(line)
You can also paste debug here and I can attempt to figure out what's going on there, but it's somewhat hard without having hardware at hand.


add text field for setting proximity value

Proximity detector is only to give You nominal data like close, middle and out of range. I wouldn't set it up like metric because it never ment to be a distance meter.

proximity meter return you values in centimeters as I remember and it's up to you to decide which is close and which is far away.
my phone returns 100.0 for away and 3.0 for close. your probably return different values.
I thought its good idea to allow user adjust it

not required right now.


Add Windows-Terminal as submodule

Add submodule
Noticed Windows-Terminal theme has not been added as a submodule. Added https://github.com/dracula/windows-terminal as a sub.

@arnydo thank you so much for the PR. Would you mind fixing the order so modules are sorted alphabetically?

@arnydo thank you so much for the PR. Would you mind fixing the order so modules are sorted alphabetically?

Sure thing! I added via git so I guess it orders it by date rather than alpha...


Move dependencies

I have not tested if this change works, but just wanted to bring it to attention. Services like www.webpackbin.com, and other services, analyzes package.json files and by having a lot of devDependencies in "dependencies" field it potentially breaks 3rd party stuff.
Sorry if these really are dependencies, but can not imagine that is the case? :-)
Also these dependencies takes a long time to install

Coverage remained the same at 96.211% when pulling 895826d3eeb88f3af8f93daa51be57a2d029cc14 on christianalfoni:patch-1 into e69986a630253f384eb8a560ba656b752cc83d53 on FormidableLabs:master.

The babel dependencies are needed to support git-style dependencies, which needs to build lib not present in source, aka when you do:
"raidum": "FormidableLabs/radium"

If you're doing a more normal npm install, aka:
"radium": "^0.18.2"

The deps are slimmer as we use publishr to remove all the "build" dependencies and leave only the "real" dependencies.
You can see what's actually published on unpkg<EMAIL_ADDRESS>namely:
  "dependencies": {
    "array-find": "^1.0.0",
    "exenv": "^1.2.1",
    "inline-style-prefixer": "^2.0.5",
    "rimraf": "^2.6.1"
  },

Does www.webpackbin.com actually use what's in the npm registry? Ideally that or the services you mention like it would have an option for that to translate a project package.json into what's actually used on npm-based dependencies (as opposed to what's in git)...
If so, cool! If not, when I'm analyzing packages used in a root package.json via git or npm or whatever (like for https://github.com/FormidableLabs/publish-diff), I often just shell out to npm pack to get the real simulation of what happens at install time for the files. It's not 100%, but it's pretty close to what really happens.

@ryan-roemer Thanks for quick answer :-)
It uses the registry and I see the deps are removed there, soooo, my bad on that! Though I wonder why it takes so much time installing this package. Even when I locally run this it takes more than 1 minute to install.... you know, I would suspect it is rimraf, as that is a Node target.
(using node default modules)
Any reason rimraf needs to be there related to browser?

@christianalfoni -- Great call out for rimraf. I'm pretty dang sure it's not need for real dependencies. I've opened up https://github.com/FormidableLabs/radium/issues/894 for us to fix one way or another on publication.

@ryan-roemer Great stuff! It should help a lot on projects bundling stuff, as webpack/browserify has issues bundling "native modules" :-)
Thanks for following up on this! Will close this PR, pointing to: https://github.com/FormidableLabs/radium/issues/894


MDDataTable: AttributeError when ticking "select all" and not all rows visible

Description of bug
The error AttributeError: 'NoneType' object has no attribute 'index' is raised when ticking the "select all" box of a MDDataTable and not all rows are visible.
Steps to reproduce:

Execute exactly the example from the MDDataTable constructor documentation.
Resize the window such that at least one complete row (full height of it) of the table is not visible any more.
Tick the "select all" box.
Error is raised, see stack trace below.

Stack trace
 Traceback (most recent call last):
   File "C:\Users\...\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
     return _run_code(code, main_globals, None,
   File "C:\Users\...\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
     exec(code, run_globals)
   File "C:\Users\...\test_app.py", line 138, in <module>
     Example().run()
   File "C:\Users\...\venv\lib\site-packages\kivy\app.py", line 955, in run
     runTouchApp()
   File "C:\Users\...\venv\lib\site-packages\kivy\base.py", line 574, in runTouchApp
     EventLoop.mainloop()
   File "C:\Users\...\venv\lib\site-packages\kivy\base.py", line 339, in mainloop
     self.idle()
   File "C:\Users\...\venv\lib\site-packages\kivy\base.py", line 383, in idle
     self.dispatch_input()
   File "C:\Users\...\venv\lib\site-packages\kivy\base.py", line 334, in dispatch_input
     post_dispatch_input(*pop(0))
   File "C:\Users\...\venv\lib\site-packages\kivy\base.py", line 302, in post_dispatch_input
     wid.dispatch('on_touch_up', me)
   File "kivy\_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch
   File "C:\Users\...\venv\lib\site-packages\kivymd\uix\behaviors\ripple_behavior.py", line 296, in on_touch_up
     return super().on_touch_up(touch)
   File "C:\Users\...\venv\lib\site-packages\kivy\uix\behaviors\button.py", line 179, in on_touch_up
     self.dispatch('on_release')
   File "kivy\_event.pyx", line 727, in kivy._event.EventDispatcher.dispatch
   File "kivy\_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
   File "kivy\_event.pyx", line 1191, in kivy._event.EventObservers._dispatch
   File "C:\Users\...\venv\lib\site-packages\kivy\lang\builder.py", line 55, in custom_callback
     exec(__kvlang__.co_value, idmap)
   File "<string>", line 117, in <module>
   File "C:\Users\...\venv\lib\site-packages\kivymd\uix\datatables.py", line 828, in select_all
     self.on_mouse_select(cell_row_obj)
   File "C:\Users\...\venv\lib\site-packages\kivymd\uix\datatables.py", line 940, in on_mouse_select
     if self.ids.row_controller.selected_row != instance.index:
 AttributeError: 'NoneType' object has no attribute 'index'

Process finished with exit code 1

Versions

OS: Windows 11 Pro, 21H2
Python: 3.10
Kivy: 2.1.0
KivyMD: 0.104.2

@Mrtjn We do not support version 0.104.2. As far as I know, this bug has been fixed in the master version of the KivyMD library. Therefore, use this version.


Link escapes # character when passing in href

Description
When passing # to href for example:
View Projects
it comes out like this:
View Projects
in the previous API:
import { createSharedPathnamesNavigation } from 'next-intl/navigation'
The Link component was working as expected, but with the new API:
import { createNavigation } from 'next-intl/navigation'
it is producing the issue that.
Please try to fix the issue in the upcoming version.
Verifications

[X] I've verified that the problem I'm experiencing isn't covered in the docs.
[X] I've searched for similar, existing issues on GitHub and Stack Overflow.
[X] I've compared my app to a working example to look for differences.

Mandatory reproduction URL
https://technodevlabs-q09zvgtxw-mhmdhidr-team.vercel.app
Reproduction description
Steps to reproduce:

Open reproduction
using the new import { createNavigation } from 'next-intl/navigation'.

Then exporting Link using: export const { Link, redirect, usePathname, useRouter } = createNavigation(routing).

See error: it escapes the # in the href property.

Expected behaviour
Not to escape # symbol in the href property.

I have the same problem with ? character.

Thanks for the prompt report! A fix is coming up in https://github.com/amannn/next-intl/pull/1448.


[DPG] Ensure safe patterns for protocol method response content access

Summary
The deserialization pattern used by HLC generation currently relies on the Response.ContentStream property and looks similar to:
using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false);

Example: Azure Container Registry
Example: Schema Registry

When using protocol methods from a DPG-generated client for service operations, this is no longer a safe pattern.   Because the protocol method disposes the HttpMessage, the response content stream is also disposed in some scenarios, such as when using a custom transport.  (see: #38219)
Shifting to using the Response.Content works around this, for example:
using var contentStream = response.Content.ToStream();
return Response.FromValue(ConfigurationServiceSerializer.DeserializeSetting(contentStream), response);

However, when HttpMessage.BufferResponse is turned off, this access pattern is unsafe because the stream owned by HttpMessage is not copied and is disposed when the message is disposed.
Scope

Validate whether or not Response.Content can be assumed to have access to the complete content - both with and without buffering.
If some scenarios are not safe, then the generator should ensure that <remarks> are emitted so that callers understand the contract.
If possible to configure generation for an unsafe scenario, emit a warning to discourage use.

similar issue https://github.com/Azure/autorest.csharp/issues/1571

The root cause of https://github.com/Azure/azure-sdk-for-net/issues/38219 is not about the difference of DPG/HLC, and it is not about whether BufferReponse is set. It is about how customer mocks its HttpResponseMessage. They mock it as a StringContent. Checking out the source code of StringContent.ReadAsStreamAsync and its dispose, we could see that if HttpResponseMessage is disposed, its read stream dispose too.
We construct our PipelineResponse at https://github.com/Azure/azure-sdk-for-net/blob/5f4250f7fab6348a349bdce9898ffd365b1e0314/sdk/core/Azure.Core/src/Pipeline/HttpClientTransport.cs#L145
message.Response = new PipelineResponse(message.Request.ClientRequestId, responseMessage, contentStream);

with responseMessage from network and contentStream from responseMessage.Content.ReadAsStreamAsync(). So when we dispose PipelineResponse at  https://github.com/Azure/azure-sdk-for-net/blob/5f4250f7fab6348a349bdce9898ffd365b1e0314/sdk/core/Azure.Core/src/Pipeline/HttpClientTransport.cs#L666-L669
public override void Dispose()
{
    _responseMessage?.Dispose();
    DisposeStreamIfNotBuffered(ref _contentStream);
}

disposing _responseMessage will also disposing _contentStream even DisposeStreamIfNotBuffered does nothing. This could be proved by

Above problem is based on that responseMessage.Content is StringContent. In our product code, the responseMessage.Content is HttpConnectionResponseContent, so don't have that problem.

We can fix the primary issue here in the fix for https://github.com/Azure/azure-sdk-for-net/issues/38219
The issue @jsquire is describing here:

However, when HttpMessage.BufferResponse is turned off, it is unknown whether this access pattern is safe.

and that @ShivangiReja describes in https://github.com/Azure/autorest.csharp/issues/1571 will still be an issue.
I would recommend that the generator fail with an error in any situation where"x-csharp-buffer-response" is set to false and models with deserialization routines should be generated.  My thinking is as follows: the reason a library would turn off response buffering for an operation is that plans to expose an API that passes the network stream directly to the caller.  This is typically done when the response content is very large and the developer doesn't want to buffer the content in their application - usually for the development of service APIs.  In this case, it doesn't make sense to deserialize a model - reading the content into a type in memory would have the same negative impact as buffering the response.  So, I don't know of a case where we would want these two things at the same time.  Failing with an error will prevent a library from shipping with a possible NullReferenceException going undetected, and it will give the opportunity for any library authors to share the details of a valid case with us.  Once we know why someone would want to do this, we can design for it with appropriate context.

Above problem is based on that responseMessage.Content is StringContent. In our product code, the responseMessage.Content is HttpConnectionResponseContent, so don't have that problem.

We do have that problem.  We allow a custom transport to be set and, thus, we cannot make assumptions about what kind of content stream may be present.

StringContent returns a MemoryStream as it's content stream when read. According to Response::DisposeStreamIfNotBuffered that is a buffered stream. The implementation only checks the type of stream to assess "is this buffered" - if the stream is a MemoryStream it is considered buffered and not disposed.

@jsquire  Though StringContent returns a MemoryStream, unfortunately, it is seekable (in non-mocking scenarios it is unseekable, HttpConnectionResponseContent for example as I mentioned above), so it returns here without having the chance to make a copy.
So actually there are two issues here:

The problem caused from whether the BufferResponse is set. I also think what Anne proposed is good.
The root cause of the issue you linked in the description you thought might be related to BufferResponse but actually not. It caused from customer is returning a seekable stream.

I would recommend that the generator fail with an error in any situation where "x-csharp-buffer-response" is set to false and models with deserialization routines should be generated.

@annelo-msft we could do that, but how about when "x-csharp-buffer-response" is set to false, but the response is not a model (mostly stream)? For example the test in our codebase expects to return Stream and the user still cannot get the stream.


Kubectl should be able to display endpoints directly and for service

kubectl get endpoints
kubectl describe service
should have printers for endpoints

Awesome!
It would be nice to have the PortalIP, also, but doesn't have to be this PR.
LGTM.

Oh yeah - forgot about that.  We also need pod ip on pod describe.

On Feb 5, 2015, at 8:22 PM, Brian Grant<EMAIL_ADDRESS>wrote:
Awesome!
It would be nice to have the PortalIP, also, but doesn't have to be this PR.
LGTM.
—
Reply to this email directly or view it on GitHub.


[kyc-match]: Uppercase gender-value in request-example

What type of PR is this?
Add one of the following kinds:

correction

What this PR does / why we need it:
Uppercases the gender-value to fit the enum-definition.
Which issue(s) this PR fixes:

Fixes #120

@ToshiWakayama-KDDI I'm merging this issue so we can update and sync the release PR


What about game win or lost styles?

There are some styles by won or lost games, what difference about:
Retirement
Walkover
Defaulting
Abandoned
Not played

If all Enums of SurfaceGroup be the member of  FavoriteSurface, If not, what are they?


Segmentation fault during building on Mac M1 devices

Sail Version: 1.8.1
Laravel Version: 8.46.0
PHP Version: 8.0.6
OS: macOS 11.4 (Apple Silicon)

Description:
While building the laravel.test container with sail, it currently is not able to finish and resolves in an Segmentation fault during building...
#7 33.87 ## Populating apt-get cache...
#7 33.87
#7 33.87 + apt-get update
#7 33.95 Hit:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
#7 34.09 Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
#7 34.19 Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
#7 34.28 Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
#7 34.38 Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
#7 34.43 Reading package lists...
#7 34.80
#7 34.80 ## Installing packages required for setup: lsb-release...
#7 34.80
#7 34.80 + apt-get install -y lsb-release > /dev/null 2>&1
#7 35.89
#7 35.89 ## Confirming "focal" is supported...
#7 35.89
#7 35.89 + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/focal/Release'
#7 35.92
#7 35.92 ## Adding the NodeSource signing key to your keyring...
#7 35.92
#7 35.92 + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
#7 35.95
#7 35.95 ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
#7 35.95
#7 35.95 + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' > /etc/apt/sources.list.d/nodesource.list
#7 35.95 + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' >> /etc/apt/sources.list.d/nodesource.list
#7 35.95
#7 35.95 ## Running `apt-get update` for you...
#7 35.95
#7 35.95 + apt-get update
#7 36.03 Hit:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
#7 36.08 Get:2 https://deb.nodesource.com/node_16.x focal InRelease [4583 B]
#7 36.11 Get:3 https://deb.nodesource.com/node_16.x focal/main arm64 Packages [767 B]
#7 36.18 Hit:4 http://ports.ubuntu.com/ubuntu-ports focal InRelease
#7 36.28 Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
#7 36.37 Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
#7 36.47 Hit:7 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
#7 36.52 Fetched 5350 B in 1s (9933 B/s)
#7 36.52 Reading package lists...
#7 36.88
#7 36.88 ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
#7 36.88 ## You may also need development tools to build native addons:
#7 36.88      sudo apt-get install gcc g++ make
#7 36.88 ## To install the Yarn package manager, run:
#7 36.88      curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
#7 36.88      echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
#7 36.88      sudo apt-get update && sudo apt-get install yarn
#7 36.88
#7 36.88
#7 36.91 Reading package lists...
#7 37.25 Building dependency tree...
#7 37.33 Reading state information...
#7 37.41 The following NEW packages will be installed:
#7 37.41   nodejs
#7 37.44 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
#7 37.44 Need to get 25.3 MB of archives.
#7 37.44 After this operation, 119 MB of additional disk space will be used.
#7 37.44 Get:1 https://deb.nodesource.com/node_16.x focal/main arm64 nodejs arm64 16.3.0-deb-1nodesource1 [25.3 MB]
#7 37.88 debconf: delaying package configuration, since apt-utils is not installed
#7 37.90 Fetched 25.3 MB in 0s (63.1 MB/s)
#7 37.92 Selecting previously unselected package nodejs.
(Reading database ... 21562 files and directories currently installed.)
#7 37.93 Preparing to unpack .../nodejs_16.3.0-deb-1nodesource1_arm64.deb ...
#7 37.93 Unpacking nodejs (16.3.0-deb-1nodesource1) ...
#7 39.47 Setting up nodejs (16.3.0-deb-1nodesource1) ...
#7 39.48 Processing triggers for man-db (2.9.1-1) ...
#7 39.54 Warning: apt-key output should not be parsed (stdout is not a terminal)
#7 39.56 gpg: no valid OpenPGP data found.
#7 39.56 Segmentation fault
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2     && mkdir -p ~/.gnupg     && chmod 600 ~/.gnupg     && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C     && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.0-cli php8.0-dev        php8.0-pgsql php8.0-sqlite3 php8.0-gd        php8.0-curl php8.0-memcached        php8.0-imap php8.0-mysql php8.0-mbstring        php8.0-xml php8.0-zip php8.0-bcmath php8.0-soap        php8.0-intl php8.0-readline        php8.0-msgpack php8.0-igbinary php8.0-ldap        php8.0-redis     && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer     && curl -sL https://deb.nodesource.com/setup_16.x | bash -     && apt-get install -y nodejs     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list     && apt-get update     && apt-get install -y yarn     && apt-get install -y mysql-client     && apt-get install -y postgresql-client     && apt-get -y autoremove     && apt-get clean     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 2

Steps To Reproduce:

Create a new laravel application,
Install sail with mariadb
Execute sail up -d

=> The build fails.

The problem seems to be with one of those two lines:
    && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
   && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \

Working when changing https to http
curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -

The issue is described here
https://docs.docker.com/docker-for-mac/release-notes/#known-issues
On Apple Silicon in native arm64 containers, older versions of libssl in debian:buster, ubuntu:20.04 and centos:8 will segfault when connected to some TLS servers, for example curl https://dl.yarnpkg.com. The bug is fixed in newer versions of libssl in debian:bullseye, ubuntu:21.04 and fedora:35.

Seems like this is a Docker issue and we can't resolve this in Sail.

Seems like this is a Docker issue and we can't resolve this in Sail.

For sure you could ;-) Use a newer Ubuntu Version will do the trick.

@mludi I don't think we're ready yet to move to the newer Ubuntu. Forge still provisions Ubuntu 20.04 and we want to stick to the same version.

@driesvints ok, I hadn't this information :-) Thx!

Hey everyone,
I just tried to replicate this on my M1 machine to see if we could find a different solution to this, but unfortunately I wasn't able to replicate this. Here's a log of the build: https://gist.github.com/claudiodekker/c83cf50fbbedb0342d2277d3b4eb4689#file-issue-159_sail-log-L1812

MacOS 11.4 (M1 Mini)
PHP Version: 8.0.6
Laravel v8.5.20
Sail 18.1
Docker 20.10.6, build 370c289
Rosetta 2 compatibility package installed (although this shouldn't affect this issue / Docker)

Furthermore, in my Docker settings, I'm using the following settings:

General -> Use gRPC FUSE for file sharing ENABLED
Experimental Features -> Use new virtualization framework DISABLED

Can you confirm that you're using the same Docker settings? Thanks!

@mludi Alright, and what do you see when running docker inspect ubuntu:20.04 | grep "ubuntu@sha256"?

I retried everything with these versions:

Sail Version: 1.8.1
Laravel Version: 8.47.0
PHP Version: 8.0.7
OS: macOS 11.4 (Apple Silicon)
Docker 20.10.7 build f0df350

Executing your command results in Error: No such object: ubuntu:20.04. I guess it didn't get tagged from the docker build?!
When I pull it first, I get the exact same hash that you posted.
But no matter how, I get the Segmentation fault.

But no matter how, I get the Segmentation fault.

Same here.

Interesting.. I just updated my Docker to 20.10.7, build f0df350, and now my build is also having Segfaults at the Node step.
I recommend seeing if it's possible to downgrade to 20.10.6, build 370c289 or to say on that version if you're already on it, as it appears that the newer version is actively causing this problem.

That explains, why I could build the image in the past on the same machine.
It seems to be a problem with the newest Docker version then...

Just updated my previous comment with the fix to this problem.

Just updated my previous comment. Basically, downgrading Docker fixes this issue for already-affected machines. Unfortunately there isn't much else that Laravel / Sail can do here to solve this problem.

I can confirm that Downgrading helps. :)

Huge thanks! :)

Gonna re-open this until we've found a solution. We tried updating to 21.04 in the end but there were some PECL issues. I'll try to look into resolving those.

I saw the latest release of Docker Desktop has separate M1 builds. Can anyone try that out to see if this issue is fixed with it?
https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-351

@driesvints I am on the M1 latest build and the issue still exists.

Hey all. I got a new PR up that should also fix the PECL issues. Can you all please try it to see if you're unblocked that way? https://github.com/laravel/sail/pull/177

@driesvints that worked fine :-) Thx!

@mludi ah thanks. You sure you rebuilded from scratch?

@driesvints yes, I removed all docker images and gave a fresh rebuild.

Hmm I'll get this error that I can't quite explain currently:

@TiiFuchs I had the same with
docker compose build
but
./vendor/sail/up -d did it

Oh interesting. What does sail differently for the build in comparison to docker-compose build
With sail up -d I get this at the end:

Oh interesting. What does sail differently for the build in comparison to docker-compose build

It will set some environment variables which are needed.
Yes, this is the expected error until you change this
https://github.com/laravel/sail/pull/177

@mludi Until I change what? I switched the laravel/sail package to the fix-m1-issues branch and the Dockerfile used contains all changes. Also this is not the initial Segmentation fault, it's a different error.

@mludi got that extension thing fixed. Can you try again?
@TiiFuchs I can't reproduce your error

@driesvints perfect, that's working now :-)

Hmm I'll get this error that I can't quite explain currently:

that's because it's missing the $WWWGROUP value, in the docker file it's running:
RUN groupadd --force -g $WWWGROUP sail

you can try running: WWWGROUP="$(id -g)" sail up --build --no-cache

I can confirm too, that it works now.
The previous error seems to have been a temporary network problem. It fixed itself in my case.

you can try running: WWWGROUP="$(id -g)" sail up --build --no-cache

That's not necessary, sail does that already.

Cool, I'll mark it as ready for review. Thanks all.

Still have the same issue.
Changing the version of runtime of sail from 8.2 to 8.1 fixed the problem for me