fix: ensure range is RangeData instance

Follow-up https://github.com/sourcegraph/cody/pull/3929
This commit addresses an issue where the range property of a ContextItem object might not be an instance of the RangeData class. The changes ensure that the range property is always an instance of RangeData before performing any operations on it.
Currently, some contexts are not using the correct RangeData format, which would cause the checks to fail in vscode/src/prompt-builder/unique-context.ts with the error Cannot read properties of undefined (reading: 'line').:

To reproduce, try to build Cody from main with indexed search and local embeddings enabled, and then ask Cody a question: tell me about SecretStorage?
Test plan

Build Cody from this branch and start debug mode
Open the code repository and make sure enhanced context is enabled, with search and embeddings status shown as indexed
Ask Cody: tell me about SecretStorage?
Verify your question was submitted successfully and you are able to get a response from Cody. Before this change, your question will be stuck in the context search phase, and your question will not be sent to the LLM.

@valerybugakov Confirmed the latest commit works for me:

Thank you so much for your help on this 😭


Fix GMM covariances

Fixes #321

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

Comparison is base (39b3eee) 36.69% compared to head (e354054) 36.73%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
+ Coverage   36.69%   36.73%   +0.03%
==========================================
  Files          94       94
  Lines        6240     6240
==========================================
+ Hits         2290     2292       +2
+ Misses       3950     3948       -2

Files
Coverage Δ

...linfa-clustering/src/gaussian_mixture/algorithm.rs
47.17% <100.00%> (+0.27%)
:arrow_up:

... and 6 files with indirect coverage changes

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

Thanks for this. I've tested it and it fixes the problem I was having.

@bytesnake, @quietlychris, could you merge this one? By the way, as @YuhanLiin is stepping away from linfa maintenance, I would like to let you know that I could help on this... like PR triage or even reviewing/merging this kind of PR.


Marker Update - Too Slow

Hi, I am new to leaflet-directive. I am trying to update the markers dynamically a) with show/hide buttons b) with real time data. In both cases I am trying to update markers in a function like this:
$scope.marker["some_id"] = {lat: .... lng:... } and to delete I simply use $scope.marker["some_id"] = {}
However, this simple update takes too long, 1-2sec. I don't know if I am doing something wrong or this is the normal behavior  ?

 $scope.drawMapVehicles = function(){
    $scope.markers = {};
    angular.forEach($scope.vehicles, function(vehicle, vehicle_key){
        $scope.markers[vehicle.vehicle.id] =
            {
                lat:parseFloat(vehicle.trips[0].trip.attributes.EndLat),
                lng:parseFloat(vehicle.trips[0].trip.attributes.EndLon),
                draggable: false
            }
});

}

PS: vehicle array only has 2 vehicles so there isn't any overload in above loop.
Thanks!

Hi @guchan  , could you provide a jsfiddle showing this behaviour? You could use this jsfiddle as a starting point:
http://jsfiddle.net/maistho/9jymzymu/
I'm actually reworking all the code to make it compatible with Leaflet 1.0 and start the compatibility with Angular 2.0, but I can take a look at your problem if it's a bug generic enough.
I will reopen this issue if you provide the jsfiddle. Thanks

Thanks for your quick response! Actually, I figured my problem out just now. It was mainly because of too many asynchronous calls.


Upload site image script

Thanks for the info. I spent some time looking into the usage of xsltproc. If we are going to use xsltproc, we need to create xslt stylesheets from 15+ geodesyml xsd files. I can go ahead with this approach as advised but it may take a bit more time to complete.

I have not used xslt much myself, but I thought that a single file would be enough, a single xslt file to transform an xml file. I will also have a read about xslt and see if I can come up with an example.

Did you mean that the issue is with xsltproc, rather than with xslt?

No, I mean that it will take time in creating a xslt stylesheet from the 18 xsd files in GeodesyML repo.

I haven't tested xsltproc. But I wonder how to insert a full associateddocument tag into sitelog geodesyml using xsltproc. For example, can the attribute values of gml:id and codeSpace be automatically generated in the xml tags?
<geo:associatedDocument>
         <geo:Document gml:id="Document.947dad5d-cfe0-481f-9ff3-43be983ed79e">
            <gml:description>Antenna North Facing</gml:description>
            <gml:name codeSpace="eGeodesy/type">ALIC_ant_000_20200818T015020.jpg</gml:name>
            <gml:boundedBy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <geo:type codeSpace="eGeodesy/type">image/jpeg</geo:type>
            <geo:createdDate>2020-08-18T01:50:20.000Z</geo:createdDate>
            <geo:body>
               <geo:fileReference xlink:href="https://devgeodesy-webservices.geodesy.ga.gov.au/associatedDocuments/ALIC_ant_000_20200818T015020.jpg"/>
            </geo:body>
         </geo:Document>
      </geo:associatedDocument>

For purpose of learning more about xslt and xsltproc, I am happy to go ahead with the approach as advised.

<?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.5"
      xmlns:gml="http://www.opengis.net/gml/3.2"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      version="1.0">
      <xsl:template match="@* | node()">
          <xsl:copy>
              <xsl:apply-templates select="@* | node()"/>
          </xsl:copy>
      </xsl:template>
      <xsl:template match="geo:MoreInformation">
          <xsl:copy-of select="."/>
          <geo:associatedDocument>
              <geo:Document gml:id="Document.54ba8245-26be-41fe-aa4c-26632d1ee3d5">
              <gml:description>Antenna North Facing</gml:description>
              <gml:name codeSpace="eGeodesy/type">ADE1_ant_000_20200818T015336.png</gml:name>
              <gml:boundedBy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
              <geo:type codeSpace="eGeodesy/type">image/png</geo:type>
              <geo:createdDate>2020-08-18T01:53:36.000Z</geo:createdDate>
              <geo:body>
                  <geo:fileReference xlink:href="https://devgeodesy-webservices.geodesy.ga.gov.au/associatedDocuments/ADE1_ant_000_20200818T015336.png"/>
              </geo:body>
              </geo:Document>
          </geo:associatedDocument>
      </xsl:template>
  </xsl:stylesheet>

xsltproc add-site-image.xslt alic.xml > alic-with-site-image.xml


Remove standard shape requirement for Ops

Currently in MIGraphX, a number of ops have put unnecessary restriction that input parameters should have standard shape requirement.
Following are the list of the ops that require standard shape for the inputs  and my assessment if they really need or not :

ArgMax  --> Works without standard shape requirement
ArgMin --> Works without standard shape requirement
As_shape --> It has standard shape requirement and uses reshape, not sure how it works and it is not used in any tests.
Flatten --> Requires standard, because it uses reshape. Flattens into 2D matrix up-to some input axis.
Gather --> Works without standard shapes
If_Op --> Input is boolean value, okay to be standard
Loop --> Inputs are related to trip count, termination condition etc. okay to have standard shapes
NMS --> Inputs are Box-Shapes, threadshold, scores etc., Okay to have them standard shapes.
NonZero --> Should work without having standard shape, but fails on GPU on removing the standard shape requirement
Reshape --> Need to have standard shape
RoIAlign --> has three inputs 1. Data in NCHW 2. ROI coordinates 3. Batch indices
-- ROI coordinates and batch indices should be standard shapes, no reason for them to be non-standard. BatchIndices is just a vector.
-- Input NCHW can potentially be non-standard
Scatter --> takes three inputs, data, indices and updates, shouldn't require standard shapes, it is just updating the values in the input tensor. Indices and Updates should have same shapes, not sure if there could be cases where they could be non-standard.
Squeeze --> Shouldn't need standard shapes, it removes axis with shape 1.
TopK --> Should work without having the standard requirement, extract top K elements. Inputs are just value of k and axis.
Unsqueeze --> Shouldn't require standard shapes, it adds an axis

@umangyadav Overall, I think the changes should be like:

Remove the standard() shape requirement in ops that can be removed. For the corresponding GPU implementation, if necessary, added the standard shape requirement.
For unit tests, for the ops whose standard shape check is removed, added a ref unit test with input non-standard shape, DO NOT compile the program, call the eval() function to get an output. Make a copy of the program, compile the program, call eval(), check the two outputs to ensure they are the same.

@umangyadav Overall, I think the changes should be like:

Remove the standard() shape requirement in ops that can be removed. For the corresponding GPU implementation, if necessary, added the standard shape requirement.
For unit tests, for the ops whose standard shape check is removed, added a ref unit test with input non-standard shape, DO NOT compile the program, call the eval() function to get an output. Make a copy of the program, compile the program, call eval(), check the two outputs to ensure they are the same.

@scxiao

Yes, I have made changes in that manner.
I've added ref tests comparing result with the program that is not compiled.

Also, i've added verify tests wherever possible.

@umangyadav Is it ready for review?

@umangyadav I think we have several unit tests failed with this change, could you please fix it?

This PR involves multiple different ops that are causing failures. I've opened another PR with limited Ops changes in #1042. Closing this PR for now.


Update .yamllint

Proposed Changes

(Describe the changes and rationale behind them)

Related Issues

(Github link to related issues or pull requests)

Codecov Report

Merging #26 (c934ba7) into main (da0df15) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          195       195
  Branches        18        18
=========================================
  Hits           195       195

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix CSAGameDialog

Codecov Report
Base: 72.40% // Head: 72.40% // No change to project coverage :thumbsup:

Coverage data is based on head (fbfae76) compared to base (5701780).
 Consider uploading reports for the commit 5be288b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   72.40%   72.40%
=======================================
  Files          60       60
  Lines        3461     3461
  Branches      200      200
=======================================
  Hits         2506     2506
  Misses        795      795
  Partials      160      160

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Event Request] Table 38 Purchase Header - OnAfterBuyFromAddressEqualsShipToAddress

Describe the request
Can you please add event OnAfterBuyFromAddressEqualsShipToAddress in procedure BuyFromAddressEqualsShipToAddress from table 38 Purchase Header?
Want to enforce additional checks to BuyFromAddressEqualsShipToAddress.
How the event would look:
`
[IntegrationEvent(false, false)]
local procedure OnAfterBuyFromAddressEqualsShipToAddress(PurchaseHeader: Record "Purchase Header"; var Result: Boolean)
begin
end;

`
How the procedure would look:
`
procedure BuyFromAddressEqualsShipToAddress() Result: Boolean
begin
    Result :=
      ("Ship-to Address" = "Buy-from Address") and
      ("Ship-to Address 2" = "Buy-from Address 2") and
      ("Ship-to City" = "Buy-from City") and
      ("Ship-to County" = "Buy-from County") and
      ("Ship-to Post Code" = "Buy-from Post Code") and
      ("Ship-to Country/Region Code" = "Buy-from Country/Region Code") and
      ("Ship-to Name" = "Buy-from Vendor Name"));

    OnAfterBuyFromAddressEqualsShipToAddress(Rec, Result);
end;

`
Additional context
Can you please add event OnAfterBuyFromAddressEqualsShipToAddress in procedure BuyFromAddressEqualsShipToAddress from table 38 Purchase Header?
Want to enforce additional checks to BuyFromAddressEqualsShipToAddress.Internal work item: AB#494531

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14915.


How to represent children for ExternalComponent

Would be useful to have documentation for handling children. For example in this component:
https://atlaskit.atlassian.com/packages/core/form/docs/form

That's a good idea! Slinky does support the children parameter, which can be defined in the case class Props as children: ReactElement*. When combined with the @react annotation, Slinky will automatically move the children parameter into a curried parameter to match the tags API.

I think this making the children parameter curried might be a bad idea.
If we take this example. It will not compile since you can't have default arguments with a *-parameter. However I am finding optional arguments to be very common amongst Javascript libraries.
@JSImport("@atlaskit/tag-group", "TagGroup")
@js.native
object ReactTagGroup extends js.Object

@react object TagGroup extends ExternalComponent {
  case class Props(alignment: Option[String] = None, children: ReactElement*)
  override val component = ReactTagGroup
}

Alternatively could you detect if I make it curried myself like this and not do anything:
  case class Props(alignment: Option[String] = None)(children: ReactElement*)

@shadaj @nadenf  correct me if I'm wrong, but in the example @nadenf linked, for this to work children must be a function, with formProps as the argument.
I got a very basic example working to demonstrate, but hopefully there's a cleaner solution:
import slinky.core.ExternalComponent
import slinky.core.annotations.react
import slinky.core.facade.{ReactElement, ReactRef}

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

@JSImport("@atlaskit/form", JSImport.Default)
@js.native
object ReactForm extends js.Object

@react object Form extends ExternalComponent {

  case class Props(
                    children: Children => ReactElement,
                    onSubmit: () => Unit,
                    isDisabled: Boolean = false
                  )

  override val component = ReactForm
}

@js.native
trait Children extends js.Object {
  val formProps: FormProps = js.native
  val disabled: Boolean = js.native
  val dirty: Boolean = js.native
  val submitting: Boolean = js.native
  val getValues: () => js.Object = js.native
}

@js.native
trait FormProps extends js.Object {
  val ref: ReactRef[String] = js.native
  val onSubmit: () => Unit = js.native
}

So, for example this can be used like:
Form(
  (formProps: Children) => form(
    ref := formProps.formProps.ref,
    onSubmit := (() => formProps.formProps.onSubmit())
  )(
    Button(
      () => println("trigger submit"),
      Default.value,
      Some("submit"),
    )
  ),
  () => println("submitted")
)

I borrowed heavily from here. Notice however that the children are not curried, and I'm noticing an error message right before the page reloads when I click submit. So is there a better way?

This PR https://github.com/shadaj/slinky/pull/478 provides a workaround for the curried optional arguments problem @nadenf described here: https://github.com/shadaj/slinky/issues/237#issuecomment-472819612. Likely not relevant to you @evbo.

there doesn't seem to be a way to fully represent functional children as shown in OP's linked example.
For instance, my solution above works by explicitly making children a function, Children => ReactElement, but this I don't think is supported?:
@JSImport("@atlaskit/form", JSImport.Default)
@js.native
object AtlaskitForm extends js.Object

@react object Form extends ExternalComponent {

  case class Props(
                    onSubmit: () => Unit,
                    isDisabled: Boolean,
                    children: ReactElement*
                  )

  override val component = AtlaskitForm
}

@js.native
trait FormProps extends js.Object {
  val ref: ReactRef[String] = js.native
  val onSubmit: () => Unit = js.native
}

// instead of Children => ReactElement, let's just use a functional component, where the props store what was in Children type
@react object AtlaskitFormChildren {

  case class Props(
                    formProps: FormProps,
                    disabled: Boolean,
                    dirty: Boolean,
                    submitting: Boolean,
                    children: ReactElement*
                  )

  val component = FunctionalComponent[Props] { props =>
    props.children
  }
}

unfortunately it resulted in:

Uncaught TypeError: children is not a function

The code would be much more consistent, though using the Children => ReactElement type isn't a blocker so this is mostly just an opinion to consider as you improve the support for children

@jedahu I updated my earlier comment with an approach for currying children and supporting default args. A little extra code, but supports the general case of children being a function too

One other side effect of the children: ReactElement* argument is it forces you to specify even if you have no children:
MyComponent(id = 1)() // without "()" you will get error missing curried argument "children"

Would be nice if behavior matched that of, say, div, where the curried children are optional:
div() // no children specified and that's okay!


Add a source hashtag to created notes

In a recent post the OSM community site about the quality of notes, AngocA requested that creators of notes include a  hashtag. This was in response to issues like #103 or just knowing who to report note bugs.  Including a source hashtag should make it much easier to reslove since user will know who to report them to. I propose that our hashtag be "OnOSM.org-YYYY/MM/DD" so there is no confusion with output from our forks and since this site doesn't use semvar versioning. That way we know when the note was created and be able to determine whether a particular issue has been resolved and when.
https://community.openstreetmap.org/t/osm-notes-should-include-the-application-name-including-notes-from-osm-website/9064

Notes created by this site can already be found by searching for "onosm.org submitted note". For example, here is an RSS feed for notes generated by onosm:
https://www.openstreetmap.org/api/0.6/notes/search.rss?q=onosm.org%20submitted%20note&limit=100&closed=0&sort=created_at&order=newest

If you're on the OSM US Slack, there's a channel with this feed showing notes created in semi-realtime.

It will be great to have the version (Like StreetComplete) and something not replicable with forks. I don't know if part of the URL of the page could be included in a way that forks will have a different value, and we can identify the notes created from OnOSM from notes created in any of its forks.


TypeError: null is not an object

Trying on iOS 16.4:
TypeError: null is not an object
'markdownContent.outerHTML'

I got the same issue and resolved it with the help of chatgpt: https://shareg.pt/5g5vvIM


Feature Request: Support Rocky 9

There are both rocky 8 and rhel9 rpm distributed to jfrog, but no rocky9. This makes it harder for consumers who support multiple OS to standardize how we install java (the typical workaround is to dangerously use the rocky 8 repo in rocky 9).
Please build for rocky 9 as well as 8. If this is something a random contributor can do, I'd be happy to help.

Any word on whether I can / should contribute this myself?
I'm not exactly familiar w/ building/contributing, but I'm pretty sure I could figure it out from previous PRs for similar things.

See https://github.com/adoptium/installer/issues/501 for a longer running issue on this (that'll take some time to untangle)

Removing PMC-agenda as we did discuss this last week - apologies that we didn't respond in a comment here. @gdams has an action to find an intermediate way of improving this without us needing to upload multiple versions to the artifactory server that hosts the packages - specifically he plans to identify and prototype using some form of symlink equivalent for now.
Also to be clear there is no difference in the rpms across distributions - we do not build specifically for each RHEL-like distrubution. You can just set your repository to 8 instead of 9 as an intermediate solution and it will do the right thing (The issue that @karianna referred to above will involve pointing everyone at a distribution-neutral location for the repository when it is implemented)

Assigning George as he's looking at experimenting with short term options for this

fwiw, a single distribution-neutral location would be awesome.
Our mirror of your repos has to maintain 7 different sources of the same files, and I know artifactory hosting is not cheap, so thanks for looking into this!


Add language Translation

Can i translation readme in other languages

@MauryaRitesh Can you assign this task to me


IC2 features not working with Minecraft 1.11.2

Minecraft: 1.11.2
Forge: <IP_ADDRESS>4 (and <IP_ADDRESS>2)
Advanced Generators: Advanced Generators <IP_ADDRESS> (MC 1.11.2).jar
IC2: industrialcraft-2-2.7.12-ex111.jar

It seems Advanced Generators isn't seeing IC2 stuff under 1.11.2. JEI doesn't show any of the IC2-specific features like the Advanced Alloy turbines or the EU emitters. Recipes that have an IC2 version (like the capacitors) are using the vanilla version instead of the IC2 version.

During server load, I see:
[advgenerators/advgenerators]: IC2 Version: NOT FOUND
Yet I have similar setup to @VampireValik .

Minecraft 1.11.2
Forge Mod Loader 1.11.2-<IP_ADDRESS>6
Advanced Generators <IP_ADDRESS>-mc1.11.2
BDLib <IP_ADDRESS>-mc1.11.2
Industrial Craft 2 (Experimental) 2-2.7.12-ex111

I'm closing this issue as part of a spring cleaning of my issue trackers from old stuff.
If you believe it's a bug that is still relevant in Minecraft 1.12 - Feel free to reopen it.


Remove unnecessary print

This was left over from debugging and should have been removed. Do so now.
Signed-off-by: Stephen Finucane<EMAIL_ADDRESS>

/retest-required

/retest

/test e2e-openstack

/retest-required

/retest-required


Adding PDF optimizing

I had written an optimizer a while ago, much like image_optim.   I love it!
One thing we added was PDF optimizations using qpdf.  Perhaps that can get added to image_optim?  I don't currently have the time, otherwise I'd add it myself.
qpdf --linearize "#{file}" "#{new_file}"
Thoughts?

Thanks, Gant.
I already had a though about adding pdf optimisation and my main thoughts about this were something like:
Pdf is a document format, even if part of pdf documents are just wrapping an image, so should an image optimiser take care of pdfs?
And will not it lead to more non strictly image formats been optimised by image_optim.
But from current perspective - image_optim already handles svg format using svgo, and even if by definition it is an image format, it can contain text, so partially a document.
So maybe yes, especially if images inside pdf can be optimised, but than this requires a investigation of possibilities and complexity.

Take a playground round with qpdf.  I had good results with it.  Not sure what other tools are out there.  But yeah, image_optim might need to become part of a toolset called assets_optim or something :)


docs: update readme

minor changes

:tada: This PR is included in version 1.3.1 :tada:
The release is available on:

v1.3.1
GitHub release

Your semantic-release bot :package::rocket:


Allow ClusterImageSet.Spec to be mutable

/hold
Code looks good I'm just not sure if this is what we want, need to see some more discussion in that email thread. I almost think we want to keep them immutable now, but use a global/HiveConfig value for deprovision instead of the one in the image set.

closing for now
/close


Implement outlook login/logout

Reason
User needs to connect email accounts to scrape receipts from emails
Description
Create a method to login/logout the user with the  Outllok with OAuth2.
The user should be able to sign in in multiple outllok accounts and its credentials should be saved in the device in securely in the device. Check encrypted shared preferences: https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences
documentation: https://learn.microsoft.com/pt-br/outlook/rest/get-started
Success Criteria

[ ] user is able to login to 1 account
[ ] user is able to login to multiple accounts
[ ] user is able to logout from 1 account
[ ] user is able to logout from multiple accounts
[ ] the logged in accounts can be retrieved

Additional Information
No response

included in https://github.com/tiki/publish/issues/17


Mic check page or other mechanism for checking the mic input

Is your feature request related to a problem? Please describe.
Many people don't know if their mic is working, and often ask "Can you hear me?" when they unmute.
My feature fixes this problem.
Describe the solution you'd like
I haven't come up with a precise solution, but I have a list of possible solutions:

(The complex) A page for checking mic settings which shows a waveform from your mic input.
(The simple) A button in every room which when clicked shows the mic input as a waveform, this button should work while muted or unmuted.

Additional context
Discord has this feature, you can check you mic input by going into the settings.

The logic is sort of already there, with the blue ring around the speakers avatar.
Something else we could do:

Make blue ring around the active speakers avatar more prominent. The blue ring appears when voice is detected from that user.

You are right, but the blue ring only shows up when you are not muted, as far as I know.
My idea is more about a way to check without disturbing the room.

Yep, I figured that - I like the idea, I think Ben did too.

Another possibility:

Maybe a red ring when the user is muted

For muted user, I think muted mic icon with red border would be better, rather than just red circle.


gym fails during linking

I'm new to IOS development, so apologues if this is the wrong place to be asking.
I have a react-native app that uses CouchBase-Lite libraries.  My fastlane gym process fails during linking.  Its complaining about one of the libraries I've used, saying "couchbase-lib was built without full bit code".  I don't understand the error and don't know what to do to fix it.
The error looks like this:

▸ Linking myappname
❌  ld: bitcode bundle could not be generated because '/Users/nickpomfret/Documents/github/datr/app/myappname/ios/libCBLJSViewCompiler.a(CBLJSViewCompiler.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)
▸ Linking myappname
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/nickpomfret/Library/Developer/Xcode/DerivedData/myappname-cvkhcsdfxgmgokbegzcqhdxmcngh/Build/Intermediates/ArchiveIntermediates/myappname/IntermediateBuildFilesPath/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7/myappname normal armv7
(1 failure)

Figured it out - just unchecked bitcode (whatever that is!)


TlsFail on running client against local server.

When I run the command -
cargo run --manifest-path=tools/apps/Cargo.toml --bin quiche-client -- https://<IP_ADDRESS>:4433/  against a server running locally, it returns with -
[2020-04-04T17:21:20.293355000Z ERROR quiche_client] recv failed: TlsFail.
I'm running Ubuntu 19.10

If you're testing with the a self-signed cert it will be untrested and cause a failure. You'll need to run the client with --no-verify  in order to avoid the certificate check

On running with -
cargo run --manifest-path=tools/apps/Cargo.toml --bin quiche-client -- https://<IP_ADDRESS>:4433/ --no-verify
it just prints Not Found!
Is that the expected response ?

Yes. You asked for the path "/" and no content was found. Try putting some resources in your server root and requesting them (description for that is found in quiche-server help)

Oh, I see. Thanks !


Implement remote outbound stats

Also refactors stats fairly significantly in preparation for this.

Helpful links to review:

https://www.w3.org/TR/webrtc-stats/#dom-rtcstatstype-remote-outbound-rtp
https://github.com/w3c/webrtc-stats/issues/659
https://www.w3.org/TR/webrtc-stats/#summary("remote-outbound-rtp" section)


SONAR-18977 Deprecates embedded PostgreSQL Chart

LGTM! Just a minor (non-blocking) comment on the description of the PostgreSQL parameters. We now use sometimes Postgresql and PostgreSQL, we could be consistent instead.


Fix exception being thrown when JSON header is present but body is empty

There's a small edge case where, if the "Content-Type: application/json" header is present and the body is empty (e.g. some GET request with leftover headers), request_validation will throw an exception.
I believe this is not expected behavior as this does not happen in other clients and libraries AFAIK.
Along with the changes I added some tests to check this edge case. I believe they are in the right place, but to be honest I had a hard time understanding how the tests were organized.

Looks good to me!  I'll get the merged and released.  Thanks for fixing it!


Respect option 'BuildSimulinkBlock'

In FORCES, one can skip compilation of the Simulink block by specifying codeoptions. BuildSimulinkBlock=0. It would be great to have the same feature in y2f to accelerate design iterations when only the Matlab MEX function is of interest.

This functionality was added with commit 43d08cab3388472cd4a65df69a5f5fd38f1ac741.


URL rewrite should preserve the original requested url

From the URL rewrite reference

The URL Rewrite Module preserves the original requested URL path in the following server variables:

HTTP_X_ORIGINAL_URL – this server variable contains the original URL in decoded format;
UNENCODED_URL – this server variable contains the original URL exactly as it was requested by a Web client, with all original encoding preserved.

Where will you store it? IIS stores them in server variables (we don't have those). Would this be on a feature interface that the middleware exposes?
/cc @Tratcher

Doc link?
We already have the original url (RawTarget) here: https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http.Features/IHttpRequestFeature.cs#L60
They only need to be exposed as server variables if another rule in Rewrite tries to access them.

@Tratcher https://www.iis.net/learn/extensions/url-rewrite-module/url-rewrite-module-configuration-reference#Preserving_Original_URL
What would be the best way to make this more consistent with the IIS HTTP_X_ORIGINAL_URL and UNENCODED_URL variables?

Are there any other variables that URL rewrite stores?

Backlogging for now. If we find a use case for the original request URL, we can bring this back later.


MultiMeshInstance3D crashes on Godot 4.0 when trying to populate

Godot version: 4.0

OS/device including version: Ubuntu 20.04, RTX 2060 Super, Vulkan

Issue description: Editor crashes when trying to populate a MultiMeshInstance3D.
trace:
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7fdfd3810210] (??:0)
[2] RendererStorageRD::mesh_surface_get_primitive(void*) (~/Codes/godot/./servers/rendering/renderer_rd/renderer_storage_rd.h:1431)
[3] RendererSceneRenderForward::_render_list(long, long, RendererSceneRenderForward::RenderList::Element**, int, bool, RendererSceneRenderForward::PassMode, bool, RID, bool, Vector2 const&, Plane const&, float, float) (~/Codes/godot/servers/rendering/renderer_rd/renderer_scene_render_forward.cpp:1016)
[4] RendererSceneRenderForward::_render_scene(RID, Transform const&, CameraMatrix const&, bool, PagedArray<RendererSceneRender::InstanceBase*> const&, int, PagedArray<RID> const&, PagedArray<RendererSceneRender::InstanceBase*> const&, RID, RID, RID, RID, RID, int, Color const&, float) (~/Codes/godot/servers/rendering/renderer_rd/renderer_scene_render_forward.cpp:1892 (discriminator 4))
[5] RendererSceneRenderRD::render_scene(RID, Transform const&, CameraMatrix const&, bool, PagedArray<RendererSceneRender::InstanceBase*> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RendererSceneRender::InstanceBase*> const&, RID, RID, RID, RID, RID, int, float) (~/Codes/godot/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp:7167)
[6] RendererSceneCull::_render_scene(RID, Transform, CameraMatrix const&, bool, RID, RID, RID, RID, RID, int, float) (~/Codes/godot/servers/rendering/renderer_scene_cull.cpp:2642 (discriminator 4))
[7] RendererSceneCull::render_camera(RID, RID, RID, Vector2, float, RID) (~/Codes/godot/servers/rendering/renderer_scene_cull.cpp:2043 (discriminator 2))
[8] RendererViewport::_draw_3d(RendererViewport::Viewport*, XRInterface::Eyes) (~/Codes/godot/servers/rendering/renderer_viewport.cpp:88)
[9] RendererViewport::_draw_viewport(RendererViewport::Viewport*, XRInterface::Eyes) (~/Codes/godot/servers/rendering/renderer_viewport.cpp:136)
[10] RendererViewport::draw_viewports() (~/Codes/godot/servers/rendering/renderer_viewport.cpp:567)
[11] RenderingServerDefault::draw(bool, double) (~/Codes/godot/servers/rendering/rendering_server_default.cpp:115)
[12] RenderingServerWrapMT::draw(bool, double) (~/Codes/godot/servers/rendering/rendering_server_wrap_mt.cpp:93)
[13] Main::iteration() (~/Codes/godot/main/main.cpp:2514)
[14] OS_LinuxBSD::run() (~/Codes/godot/platform/linuxbsd/os_linuxbsd.cpp:261)
[15] ~/Codes/godot/bin/godot.linuxbsd.tools.64(main+0x166) [0x1de588c] (~/Codes/godot/platform/linuxbsd/godot_linuxbsd.cpp:60)
[16] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fdfd37f10b3] (??:0)
[17] ~/Codes/godot/bin/godot.linuxbsd.tools.64(_start+0x2e) [0x1de566e] (??:?)

Steps to reproduce: Simply create a project with a MultiMeshInstance3D and try to populate a surface, doesn't appear to matter what type of meshes you give it(both high poly and the default generated cube)

As far as I know, MultiMeshInstances haven't been reimplemented yet.

in current master multimeshinstances don't seem to crash anymore but they still don't work either.

I've got MultiMeshInstance3D working in current master (578460f7fb). I think this can be closed.


Determining Variable Names from Data Array

When developing array in example 1, is it possible to determine all variable names from that array? I understand that fitting the model provides the variables it deems significant but is it possible to determine all variables corresponding to the derivatives in the data developed by the Van der Pol Generator?

I am not sure I understand the question, but I think it's possible.
The Sindy model only does a sparse regression to your measurements (or state variables, observations, etc. whatever it is called, and in the case of Van der Pol: [https://en.wikipedia.org/wiki/Van_der_Pol_oscillator], they are x and y). However, in example 1, we also expand do a polynomial expansion up to order 3 so that we end up having {1, x, y, xy, x^2y, xy^2, x^3, y^3}.
This is just a framework, you can write your own data generator or try to modify polynomial_expansion() in ./pySINDy/pySINDy/sindybase.py so that you can have your measurements to regress on.


Unable to generate an adapter from a wrapper around ArrayList

I have a Class with nothing in it's class body that basically just wraps ArrayList like so:
public class Customers extends ArrayList<Costumer>
When trying to generate an adapter for this, the compileJava step fails with the following error:

Non public field com.company.project.folder.Customers size with no matching setter or constructor?

Am I missing something or is this not supported?

That's not gonna serialize properly yeah. It's not a good idea to extend the built-in java collections regardless.
If you have some logic you want to isolate in a collection class, I would suggest the below solution:
public class Costumer {

    ArrayList<Costumer> costumer;

    public Costumer newMethod() {
       // ... your logic goes here.
    }
}


Add main.py

P.P.S. Please add __main__.py to allow python3 -m ansible_bender, which makes interpreter selection explicit ;)
Originally posted by @webknjaz in https://github.com/TomasTomecek/ansible-bender/issues/11#issuecomment-436759783

@TomasTomecek I would like to work on this issue.

Shall we close this.

@kmehant FYI GitHub supports closing keywords. If you'd used, Resolves #16 in your PR description, merging it would close this too.
Doc: https://help.github.com/en/articles/closing-issues-using-keywords.

oh right, haven't noticed it's still up


?size=48

The ?size=48 parameter has broken and now it just returns a stave skin for all users.

This isn't broken, you're just getting an uncached response and hitting the issues of #260.


debug logs too verbose

There is two things that make it hard to analyze logging:

In Kafka source

debug!(
    topic = ?message.topic(),
    partition_id = ?message.partition(),
    offset = ?message.offset(),
    timestamp = ?message.timestamp(),
    num_bytes = ?message.payload_len(),
    doc = ?doc.as_str(),
    "Message received.",
);

We can maybe log that but without the message, or just take the first 30 characters.

And the fact that RawDocBatch is logged too. We need to set how RawDocBatch is displayed, by default it is showing all docs...

Shortening the message for 1. makes sense. With the partition ID and offset, you can always get the message directly in Kafka if you really need to.

Fixed in #732


[ConstraintSystem] Key path literals with completion tokens should be…

… marked as invalid
Capability couldn't be determined for expressions like that
which means that inference should be delayed until root
becomes available.
Resolves: https://github.com/apple/swift/issues/69936

@swift-ci please test

@swift-ci please test Windows platform

@swift-ci please test Windows platform


Mocha and jspm dependencies

By default, Mocha launches its tests with node_modules dependencies.
Is there way to use jspm_packages dependencies as well?
As an example, I wrote this setup.js file:
import { expect } from 'chai';
import $ from 'jquery';
global.expect = expect;

Launching mocha --compilers js:babel/register --require ./test/setup.js gives the error Cannot find module 'jquery' (chai is correctly imported, it was installed with npm install --save-dev).
The problem is that jquery has been installed with jspm install jquery and thus is only available in jspm_packages. In the client code, the import from 'jquery' works fine. But because mocha look for jquery in node_modules, it can't find it.
Is there a way to fix this?
Maybe using System.config({..})  somewhere will do the trick?
ps. issue opened in jspm-cli

This seems to have been thoroughly answered in jspm/jspm-cli#843


Paper Comments

I think this paper helps readers navigate and understand the packages included in the repo and provides context about some of the existing packages. My comments are mostly targeted at clarity about functionality and improving these comparisons.

[x] clarify exactly what ephemeris data is. I think all of the packages here are just exposing the (x,y,z,vx,vy,vz) state vector at a given point or range in time. It would be good to spell that out for the non-experts.
[x] SPICE.jl and HORIZONS.jl seem to clearly represent the prior state of the art in Julia. Having tried to use both of them, I agree that they are harder to use than the package(s) you have developed. It might be helpful to more clearly state that they provided lower level expert interface and you are providing a easier access interface, with reduced functionality (and be clear about what functionality is lost). For example, I think you are dropping obs_tbl support for Horizons? Might be good to tell people which use cases they need to go elsewhere for (and where to go).
[x] Line 24: withCSPICE -> with CSPICE
[x] Line 41: I suggest inserting "Previously" at the beginning of the sentence (rewording it appropriately).
[x] Line 41: aGeneric -> Generic
[x] Line 46: insert "runs" at the end of the line
[x] Line 47: multiple times daily, (delete the comma)
[x] I was confused by what you meant by "exports the kernels as variables to Julia," but I think you mean that it generates a PR to keep the repo up to date so that all kernels are variables users can query.
[x] Why is SPICEApplications.jl mentioned in the paper, seems to be in the call stack, but is not part of this meta repo?
[x] #26
[ ] With respect to the possibility of adding Ephemerides.jl support, a sentence saying what benefit that would bring might be nice.

Why is SPICEApplications.jl mentioned in the paper, seems to be in the call stack, but is not part of this meta repo?

I originally had SPICEApplications.jl in this project, but I have recently moved it to SPICE.jl. I feel it's more appropriate there.

I have addressed all paper comments in 5dbdbbe450. This project now lives in the @JuliaAstro organization!

Changes reviewed and approved by me.


Increase timeout of the org creation to 35 seconds

Description of the change

Description here

Type of change

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

Related issues

Fix #1

Describe multi-tenancy segmentation

/gcbrun

We're having some trouble with our tests in the test org, but clearly this change is fine, so will approve and merge.


[Feat] Form improvements✨

Description
I can improve this feature and also add a local storage implementation to this form, @mdazfar2 please assign me this task.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@T-Rahul-prabhu-38 As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Question: Empty Trash support?

Does this console client support an operation to empty the Trash?
Even better, if it would be configurable to not use the trash at all by delete operations.

I'm sorry, but there is a war in my country right now. I don't have access to my laptop.


Problem: New collections are not created in existing DB.

Solution: Do not abort the initialisation if a collection exists. Unify the index creation.

Codecov Report

Merging #2520 into master will decrease coverage by 0.06%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##           master    #2520      +/-   ##
==========================================
- Coverage   91.87%   91.81%   -0.07%
==========================================
  Files          42       42
  Lines        2511     2468      -43
==========================================
- Hits         2307     2266      -41
+ Misses        204      202       -2


<EMAIL_ADDRESS>add ECDSA and ED25519 keys

With RSA-SHA1 being deprecated, have our dropbear server also support ECDSA and ED25519 keys.
The key generation and support within our standard ssh port 22 was added via commit 1.
This commit adds support for our virtual console ports that come in via ssh.
Tested:

Confirmed port 2200 and 2201 dropbear services loaded new RSA keys (via 'ps' command) on p10bmc machine
Confirmed when an ssh was done to port 2200, it connected, properly and listed the following as supported via "ssh -vv": host key algorithms: ssh-ed25519,ecdsa-sha2-nistp384,rsa-sha2-256

Change-Id: I76dd742654a67645d12856ae8fd15dfe71876b9d

Upstream: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/70276


Disable automatic scrolling when clicks are used to navigate

Navigation by clicking on a link shouldn't take you back to the last scroll position you were at.

@gaearon did you ever document this?


Error when importing icon using vue-svg-loader and basic setup

Hello @ownego
Thank you for such amazing work, beyond words and I hope I can contribute with you soon!
I've been tinkering with the implementation, but I'm facing what I believe might be something silly, but it's definitely defeating me 😭
I'm using Vite and have followed your steps to implement icons, without any other alterations, but when I import an icon I see this Missing "./dist/svg/HomeMinor.svg" export in "@shopify/polaris-icons" package
And my code is as follows (Using composition API)
<template>
    <AppProvider>
        <Frame>
            <template #navigation>
                <Navigation location="/">
                    <NavigationSection
                        :items="navItems"
                        :rollup="{ after: 2, view: 'view', hide: 'hide', activePath: '/' }"
                    />
                </Navigation>
            </template>
            <slot/>
        </Frame>
    </AppProvider>
</template>

<script setup>
import HomeMinor from<EMAIL_ADDRESS>import OrdersMinor from<EMAIL_ADDRESS>import ProductsMinor from<EMAIL_ADDRESS>import MarketingMinor from<EMAIL_ADDRESS>
const navItems = [
    { url: '#', label: 'Home', icon: HomeMinor },
    { url: '#', label: 'Orders', icon: OrdersMinor },
    { url: '#', label: 'Products', icon: ProductsMinor, selected: true,
        subNavigationItems: [
            { url: '#', new: true, label: 'New item' },
            { url: '#', label: 'Active Item', selected: true},
            { url: '#', disabled: true, label: 'New item' },
        ],
    },
    { url: '#', label: 'Marketing', icon: MarketingMinor, badge: { content: 'Warn', status: 'warning' }},
];
</script>

vite.config.js
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import vue from "@vitejs/plugin-vue";
import svgLoader from 'vite-svg-loader';

export default defineConfig({
    server: {
        https: false,
        host: "<IP_ADDRESS>",
        hmr: {
            host: "<IP_ADDRESS>",
        },
    },
    resolve: {
        dedupe: ['vue'],
        alias: {
            '@js': '/resources/js',
        },
    },
    plugins: [
        laravel({
            refresh: true,
            input: "resources/js/app.js",
        }),
        vue({
            template: {
                transformAssetUrls: {
                    base: null,
                    includeAbsolute: false,
                },
            },
        }),
        svgLoader()
    ],
});

I've only followed the very basic steps so far but haven't been able to figure out what's really happening
I hope you can guide me a bit!
Appreciate all your help
Best
Mauro

@maurocasas Hey mate, seems like the export from Shopify Icons package has been changed.
You can add this alias into your vite.config.js file and use the icon more easier:
alias: {
  ...
  '@icons': fileURLToPath(new URL('../node_modules/@shopify/polaris-icons/dist/svg', import.meta.url)),
}

Then you can import the icon like:
import HomeMinor from<EMAIL_ADDRESS>

Hi @maurocasas, You can get the svg source from node_modules  like this
import HomeMinor from<EMAIL_ADDRESS>
Try to use an alias for clean code. Hope this helps :)

@juzser Thank you so much for this!


Investigate what happened to unhandled rejection

https://github.com/facebook/create-react-app/pull/4193

FYI, according to this ci run, the lint error was:
/home/travis/build/facebook/create-react-app/packages/react-error-overlay/src/utils/getStackFrames.js
16:3  warning  'unhandledRejection' is assigned a value but never used  no-unused-vars

I think the question here is what changed that made that error appear?

Yeah, just wanted to note the error here to hopefully save someone some time figuring out why it appeared :)

Could it be because of https://github.com/facebook/create-react-app/pull/4187/files? https://eslint.org/docs/rules/no-unused-vars says that

By default this rule is enabled with all option for variables and after-used for arguments.

However, with that change, I think arguments are also enabled with all. I'm gonna try to see if I can change it to the default option instead, and see if the error goes away. I personally think that after-used is a reasonable option for arguments.

Sorry, this was not clear at all.
Unhandled rejections used to be handled differently than normal errors so that the overlay would designate that the error was from a Promise.
It seems now that this distinction is gone.

@Timer I'll close this one off as we're not sure if it's still relevant, but please let me know if it is.


AT-4.1: New Audit Notification

Test Case ID: AT-4.1
User Story: ALTA-4.1 (#56)
As a stock-keeper, I want to be notified once an audit is assigned to me so that I can perform the audit as soon as possible.
Acceptance Criteria
Given that the user is logged into the mobile application as a stock-keeper and an inventory manager recently assigned the user to a newly initiated audit,

The user should be redirected to the Audits page where the list of assigned audits is displayed. As well, the page should contain a bell that represents notifications. The bell should have a red circle containing a numbered value to determine the total value of newly assigned audits.
The user selects the bell to determine which audits were newly assigned. A window appears displaying the newly assigned audits.
The user selects the corresponding audit from the Audits list which marks the notification as seen and decreases the value in the red circle by 1.

Accepted.


Allow abnormal page token cases for paging methods

Addresses googleapis/toolkit#692.
Manual changes are in:
lib/google/apis/core/base_service.rb
spec/google/apis/core/service_spec.rb

Should be submitted concurrently with https://github.com/googleapis/toolkit/pull/986.

Could you explain, roughly, what's going on w/ the changes in base_service and service_spec so I can understand a bit better?

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Coverage increased (+0.008%) to 94.819% when pulling 0d04ec8df4125b3224eb3d15b61f7c37bccf582b on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

In the Ruby client, the fetch_all method handles internally the extraction of the page token from the response, but the caller handles passing this page token to the next request. I think the purpose of the changes here is made clearer by looking at the corresponding changes in https://github.com/googleapis/toolkit/pull/986.

Coverage increased (+0.008%) to 94.819% when pulling 7a93c07a98d613b536936645c8fc2f115610ebbe on tcoffee-google:master into e9d7e47c7506fc1cbc20de888c6067dc298fe25f on google:master.

Any further comments on this?

lgtm


Consider a Class instead of dict.

https://github.com/zimolzak/fcc-rf-formulas/blob/fa27937e5ade94f9b8a644283199846cecf0def9/fcc.py#L71

Closed by acdd48a65a9752779810be839f01a76d049d3f85


dart2js considers "dart.library.io" true

When I compile the following code with dart2js:
import 'dart:core'
    if (dart.library.io) 'dart:io';

void main() {}

I get the following output:
test.dart:1:1:
Error: Library not supported 'dart:io'.
Try removing the dependency or enabling support using the '--categories' option.
import 'dart:core'
    if (dart.library.io) 'dart:io';

test.dart:
Info: Your app imports the unsupported library 'dart:io' via:

  test.dart => dart:io

Use the --categories option to support import of 'dart:io'.

Error: Compilation failed.

I wouldn't expect dart2js to try to import dart:io here, since it doesn't support it. This happens whether or not I pass --categories=Client.

Tested against 1.19.1 and 51f617c0d31907a660b7fb6385873242c6a3ad38.

which version of dart2js are you using?
I believe this was fixed by Lasse in bcdf0a1f125816b97590734370a9e6ef99a10881

I just re-tested against 51f617c0d31907a660b7fb6385873242c6a3ad38 and it looks like it works. Sorry for the false alarm!


Improved validation for course and students. Added testMode for Storage Controller.

Coverage increased (+3.5%) to 60.665% when pulling 08cf7573ca15b1614e2f21c55af8b377309929a8 on m-aslam-mj2:stage into e1a82be69260a74c0c0e0a8f082187b4ad631dd4 on CS2113-AY1819S1-T16-1:master.

Superseded by #213


Search for email API

1. Gmail API

Free
API Limit: 250 quota units per user per second, moving average (allows short bursts)
Method Limit (messages.send): 100 quota units

2. Sendgrid

Free trial available
API Limit: 600 requests per minute

3. Mailjet

Free trial available
API Limit: 6000 Mails/month; 200 Mails/day
Rest of mails are put in queue and sent out next day

4. Mailgun

Free trial available
API Limit: 5000 Mails/month

Mailgun is free 30 days then 35/month

mailjet is free 30 days then 15/month


samples: can: add b2b_xfer sample

This sample requires 2 boards. Sender node sends CAN frame when button is pressed, then listens reply CAN frame from replier board.
Readme is WIP. Not really familiar with .rst syntax...

Yeah I didn't notice that example before. If not needed I'll close it.

Yeah I didn't notice that sample before. The point of this sample is that it's interoperable with the b2b_interrupt_xfer example in NXP MCUXspresso SDK (So you can have 1 board running zephyr and the other running SDK). If not needed I'll close it.

I don't see a need for such a sample in upstream Zephyr, sorry. Perhaps something for an NXP downstream fork? Or stand-alone demo app?

No problem, close it.


AUTHORS.rst and CONTRIBUTING.rst shouldn't have the executable permission

AUTHORS.rst and CONTRIBUTING.rst shouldn't have the executable permission. You can use chmod -x *.rst to remove this permission.

Done in the develop branches.


Change tech stack from Angular to Gatsby and Ghost

Signed-off-by: isamrish<EMAIL_ADDRESS>This commit will change the technology stack of the website
from Angular to Gatsby and Ghost

Can you enable the build with Netlify and see the preview of new site?


Fix broken links in README

Updated a few broken links.

 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.

Nice one!


ISSUE-#9139 - fix README.md link

Solved Issue-#9139

Superseded by https://github.com/Leaflet/Leaflet/commit/98180b120ad8e2cbcd896e5137222428893552b8


move explore to app router

#4637  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


etcd_3_5: update script is broken

etcd_3_5: update script is broken
Error logs:
https://r.ryantm.com/log/etcd_3_5/2023-05-12.log
New version 3.5.14 is available. (I could manually do the bump, but I think the update script should be fixed instead.)
I think the error is related to etcd being a symlinkJoin and src being unavailable there.
References:

https://github.com/NixOS/nixpkgs/tree/master/pkgs/servers/etcd/3.5/default.nix
https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/etcd/3.5/update.sh

Oddly enough the bot just opened a PR:
https://github.com/NixOS/nixpkgs/pull/316513
Log at: https://r.ryantm.com/log/etcd/2024-06-01.log


Question about L2 norm of embedding

Thanks for this package. I was wondering about the L2 norm being applied in speech_embedder_net.py line 32. It looks like the paper describes an L2 norm being calculated per embedding and then dividing the embedding by that value. However, I believe the code as written calculates the norm over the entire matrix. Is this intentional? That is, I would have thought line 32 should be: x = x / torch.norm(x, dim=1).unsqueeze(1). This calculates the norm per embedding.

i find the same question. and i change to calculates the norm per embedding.

Thanks for the observation, the issue has been fixed.


generated a empty tf record file

Check your file directory and past closed issues for relevant solutions. Insufficient detail to proceed.


authPreSignup default function fails

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
After adding the auth authPreSignup signup failes with error: CustomMessage failed with error index.handler is undefined or not exported. (In broeser)
When running amplify mock authPreSignup it failes with error:
(node:4238) UnhandledPromiseRejectionWarning: Error: Could not load lambda handler function due to Error: Cannot find module '/..../amplify/backend/function/authPreSignup/src/index'

CustomMessage failed with error index.handler is undefined or not exported.
Amplify CLI Version
4.18.0
To Reproduce

Add authPreSignup
Run amplify mock function authPreSignup -> missing src/index.js
Log in from browser: -> index.handler is undefined or not exported

Expected behavior
Both mocking and actual backend should just work
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Mac
Node Version v10.17.0

Additional context
If I add src/index.js, mockin works (using the code below).
If I change authPreSignup/index.js to:
exports.handler = (event, context, callback) => {
  callback(null, event);
};

Then it works.
I've also succeded with exporting "custom" in env, but don't remember exactly how.
In total this is not a good developer experience. It feels like a bug.

This is fixed by #3928. We are planning to do a release that includes this change by the end of the week

It's not enough to just move that file because the whole package/zip/tree isn't being made properly, the dependencies are unavailable. This issue is not closed, this is a critical issue that prevents release. It affects other cognito trigger functions as well, such as post-confirmation
It's not cool to be closing issues until they are handled
Version 4.18.0 does not fix this

@djkmiles Sorry, you're right, you also need to move the package.json file into the src folder. Everything in the src folder will be zipped and uploaded to Lambda. #3928 above will fix the issue, but we ran into some other issues getting a release out last week so it's not available yet. I'll reopen until the release is complete

@djkmiles This should be fixed in the latest release (4.18.1). Feel free to reopen if you're still running into issues.

So I tried the same as above again today using amplify --version 4.19.0
amplify mock function funcnameAuthPreSignup
Provide the path.... src/event.json
Could not find ref for "modules". Using unsubstituted value.
Could not find ref for "DOMAINWHITELIST". Using unsubstituted value.
Could not find ref for "DOMAINBLACKLIST". Using unsubstituted value.
Starting execution...
ffba7AuthPreSignup failed with the following error:
{ code: 'MODULE_NOT_FOUND' }
Finished execution.

So It still does'n wor out-of-the-box.

Hi @kjetilge I believe that is a problem with mock and not with the lambda function itself. We are tracking the issue where environment variables are not loaded into mock correctly in #4085. Does the function work as expected when uploaded to Lambda via amplify push?

Using amplify --version 4.20.0 it works when uploaded to via Lambda push but not with mock.

I'm having a similar issue with PostConfirmation:
-> amplify mock function frontend3a437cf5PostConfirmation

frontend3a437cf5PostConfirmation failed with the following error:
{
  type: 'Lambda:Unhandled',
  message: "Cannot find module './modules'\n" +
    'Require stack:\n' +
    '- /home/boris/Documents/development/frontend/amplify/backend/function/frontend3a437cf5PostConfirmation/src/index.js\n' +
    '-<EMAIL_ADDRESS>}

Just tested this with Amplify 4.32.1 and seeing the same issue.

Tested in Amplify 4.40.0 and getting the same issue too


Attaching interrupt to GPIO38 to wake from deep sleep does nothing (IDFGH-7365)

Environment

Development Kit: ESP32-S3-DevKitC
Kit version (for WroverKit/PicoKit/DevKitC): V1
Module or chip used:  ESP32-S3-WROOM-1-N8R8
IDF version (run git describe --tags to find it):
// v4.4-1-qb8050b365e
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// crosstool-NG esp-2021r2-patch3 (8.4.0
Operating System: Windows
(Windows only) environment type: PowerShell
Using an IDE?: Yes. Arduino IDE
Power Supply: USB

Problem Description
Attaching an interrupt to GPIO38 does not wake the ESP32 from deep sleep. Although the documentation says it should:
gpio_num: GPIO number used as wakeup source.
Only GPIOs which are have RTC functionality can be used: 0,2,4,12-15,25-27,32-39.

Source: https://docs.espressif.com/projects/esp-idf/en/v4.4.1/esp32s3/api-reference/system/sleep_modes.html#_CPPv428esp_sleep_enable_ext0_wakeup10gpio_num_ti
The function esp_sleep_is_valid_wakeup_gpio() also confirms that this does not work, because it returns FALSE.
Used GPIO1 as a test, and that works although the docs says it shouldn't.
Expected Behavior
Pulling GPIO38 to GND wakes up the ESP32S3 from deep sleep.
Actual Behavior
The ESP32S3 does not wake up.
Steps to reproduce

Upload a sketch with the code below
Wait for the ESP to go to sleep
Try to wake it up by pulling GPIO38 to ground.

Code to reproduce this issue
In Adruino:
pinMode(GPIO_NUM_38, INPUT_PULLUP);

esp_sleep_enable_ext0_wakeup(GPIO_NUM_38, 0);
esp_deep_sleep_start();

Other items if possible
Using a simple sketch to check for valid wakeup GPIOs only pins 1 trough 21 are valid:
Wake up should work on GPIO_NUM_1: 1
Wake up should work on GPIO_NUM_2: 1
Wake up should work on GPIO_NUM_3: 1
Wake up should work on GPIO_NUM_4: 1
Wake up should work on GPIO_NUM_5: 1
Wake up should work on GPIO_NUM_6: 1
Wake up should work on GPIO_NUM_7: 1
Wake up should work on GPIO_NUM_8: 1
Wake up should work on GPIO_NUM_9: 1
Wake up should work on GPIO_NUM_10: 1
Wake up should work on GPIO_NUM_11: 1
Wake up should work on GPIO_NUM_12: 1
Wake up should work on GPIO_NUM_13: 1
Wake up should work on GPIO_NUM_14: 1
Wake up should work on GPIO_NUM_15: 1
Wake up should work on GPIO_NUM_16: 1
Wake up should work on GPIO_NUM_17: 1
Wake up should work on GPIO_NUM_18: 1
Wake up should work on GPIO_NUM_19: 1
Wake up should work on GPIO_NUM_20: 1
Wake up should work on GPIO_NUM_21: 1
Wake up should work on GPIO_NUM_26: 0

From 26 on esp_sleep_is_valid_wakeup_gpio() returns FALSE.

Update:
Using a simple sketch to check for valid wakeup GPIOs only pins 1 trough 21 are valid:
Wake up should work on GPIO_NUM_1: 1
Wake up should work on GPIO_NUM_2: 1
Wake up should work on GPIO_NUM_3: 1
Wake up should work on GPIO_NUM_4: 1
Wake up should work on GPIO_NUM_5: 1
Wake up should work on GPIO_NUM_6: 1
Wake up should work on GPIO_NUM_7: 1
Wake up should work on GPIO_NUM_8: 1
Wake up should work on GPIO_NUM_9: 1
Wake up should work on GPIO_NUM_10: 1
Wake up should work on GPIO_NUM_11: 1
Wake up should work on GPIO_NUM_12: 1
Wake up should work on GPIO_NUM_13: 1
Wake up should work on GPIO_NUM_14: 1
Wake up should work on GPIO_NUM_15: 1
Wake up should work on GPIO_NUM_16: 1
Wake up should work on GPIO_NUM_17: 1
Wake up should work on GPIO_NUM_18: 1
Wake up should work on GPIO_NUM_19: 1
Wake up should work on GPIO_NUM_20: 1
Wake up should work on GPIO_NUM_21: 1
Wake up should work on GPIO_NUM_26: 0

From 26 on esp_sleep_is_valid_wakeup_gpio() returns FALSE.

I'm afraid the function description was written for the esp32 chip, we forgot to update it for the esp32-s3. In this case the result of esp_sleep_is_valid_wakeup_gpio is correct: on esp32-s3 GPIOs above 26 are not RTC IOs, and can't be used for wakeup from deep sleep.
We'll update the function description to fix this inconsistency!

Thanks for the update!


Use the real pipe2(2) on all targets

FreeBSD added pipe2(2) in version 10.0.

This needs an Added CHANGELOG entry and could also use comments for the tests.

Looks like it needs a rebase and I'm not certain why testing failed, let's give it another run.

Needs a rebase then I'm r+ on it.

Looks like Darwin doesn't support it or it's just not implemented in libc yet, which is why testing fails.
Also, it'd be good if you added doccomments for pipe2 as part of this work since you're touching the function already and it's missing that.

Note that pipe2 doesn't exist on Mac, so this will need to be restricted from those targets.

Oops, I forgot to update doc comments.  I'll do that shortly.

This is unusual.  The build failures in Travis were caused by a merge error.  Travis's merge error.  Travis pulled the master branch then tried to apply my patch, and it looks like it duped a line.  I'll rebase.

bors r+

Ahh, yes. Tests need to be updated because #801 was merged.

bors r+ susurrus

Probably should have added that we deprecated our wrapper on other platforms in the CHANGELOG as well.


Fix Syslog.log to include string option

Ruby's Syslog is expecting a %s formatter. Without it, syslog attempts to format anything that has a '%' in it. This fixes the issue.
@quixoten @abrandoned @mmmries @liveh2o

Looks amazin! :shipit:


Add a build check for bundlesize

To ensure that features and configuration doesn't cause our bundle size to spiral out of control, it would be good to add a CI build check to keep us at an appropriate size.
We could use https://github.com/siddharthkp/bundlesize to handle this.

nice one, I have added the script. going to make it into the build pipeline.

it's working :) https://github.com/bluebill1049/react-hook-form/pull/148

@bluebill1049 Which ticket is this in?

Looks great! Might want to look at minifying the code before running bundle size. Generally, bundle size is measured in min, gzipped (gzipped is currently already applied)

Done 👍

PERFECT! Thanks @bluebill1049!

@bluebill1049
You mentioned that you copied the set command from lodash. When running bundlesize on the existing code, and got 4.42kb/4.81kb (es/cjs respectively). When I imported set from lodash-es I got 4.15kb/4.48kb (es/cjs).
Swapping in lodash-es for isString, isObject and set dropped us to 4.14kb/4.47kb (es/cjs).
What do you think? Less code we have to maintain

I didn't copy set, I stole some of the regex and functions (lol). It would be a lot bigger if I get the whole thing.
At the stage, I think I still prefer 0 dependencies. (one of the features for the package) what you see is what you get (hehe)
as long as the package is less than 10kb is still pretty good compared with other form libraries.


Bump hcsshim dependency in KEB

Description
microsoft/hcsshim in version v0.8.7 contains security vulnerabilities
Changes proposed in this pull request:

Bumped microsoft/hcsshim to latest version v0.8.15

Related issue(s)

/retest


ArgGroup contents incorrectly listed in asciidoc output

One of my command classes is using some ArgGroups, for example with headings 'SSC connection options' and 'SSC authentication options'. In the picocli help output, the options are displayed under the correct heading:
Usage: fcli ssc session login ...
Login to SSC

Generic options:
     ...
Output options:
      ...
SSC connection options:
      --url=<url>
      ...
SSC authentication options:
  -u, --user=<user>
  -p, --password[=<password>]
   ...

However, when generating the asciidoc (using https://github.com/remkop/picocli/tree/main/picocli-codegen#gradle-example-1), the SSC authentication options section is empty, and the options that should appear in that section are displayed under the generic options. The other ArgGroup for connection options is rendered correctly in the asciidoc.
...
// tag::picocli-generated-man-section-options[]
== Options

*-u*, *--user*=_<user>_::

*-p*, *--password*[=_<password>_]::

...

== SSC connection options:

*--url*=_<url>_::

...

== SSC authentication options:

<empty>

Any idea why this is happening?
Following is a snippet of the command class, full source code is available here: https://github.com/fortify-ps/fcli/blob/c0fb15cc6275fd814e54626cd201feb67f2f16d1/fcli-ssc/src/main/java/com/fortify/cli/ssc/picocli/command/session/SSCSessionLoginCommand.java#L47
@Command(name = "login", description = "Login to SSC", sortOptions = false)
public class SSCSessionLoginCommand extends AbstractSessionLoginCommand<SSCSessionLoginConfig> {
	@Getter @Inject private SSCSessionLoginHandler sscLoginHandler;

	@ArgGroup(exclusive = false, multiplicity = "1", heading = "SSC connection options:%n", order = 1)
	@Getter private LoginConnectionOptions connectionOptions;

	@ArgGroup(exclusive = false, multiplicity = "1", heading = "SSC authentication options:%n", order = 2)
	@Getter private SSCAuthOptions authOptions;

	static class SSCAuthOptions {
		@ArgGroup(exclusive = true, multiplicity = "1", order = 3)
		@Getter private SSCCredentialOptions credentialOptions;
	}

    static class SSCCredentialOptions {
    	@ArgGroup(exclusive = false, multiplicity = "1", order = 1)
    	@Getter private SSCUserCredentialOptions userOptions = new SSCUserCredentialOptions();
    	@ArgGroup(exclusive = false, multiplicity = "1", order = 2)
    	@Getter private TokenOptions tokenOptions = new TokenOptions();
    }

    static class SSCUserCredentialOptions extends LoginUserCredentialOptions implements ISSCUserCredentialsConfig {
    	@Option(names = {"--expire-in"}, required = false, defaultValue = "1d", showDefaultValue = Visibility.ALWAYS)
    	@Getter private String expireIn;

    	@Override
    	public OffsetDateTime getExpiresAt() {
    		return DateTimeHelper.getCurrentOffsetDateTimePlusPeriod(expireIn);
    	}
    }

    static class TokenOptions {
    	@Option(names = {"--token", "-t"}, required = true, interactive = true, arity = "0..1", echo = false)
    	@Getter private char[] token;
    }

The same happens by the way for a similarly structured command class; for this class also the connection options are rendered correctly but the authentication options are not: https://github.com/fortify-ps/fcli/blob/c0fb15cc6275fd814e54626cd201feb67f2f16d1/fcli-fod/src/main/java/com/fortify/cli/fod/picocli/command/session/FoDSessionLoginCommand.java#L47
Using picocli version 4.6.3.

@rsenden Yes you are right. The logic in ManPageGenerator is different from the one in CommandLine that generates the usage help message.
ManPageGenerator only considers options in a group if the group they are in has a non-null header text; whereas in CommandLine it also includes options that are in nested subgroups of the group that has a non-null header.
ManPageGenerator should use this logic instead:
        private List<OptionSpec> excludeHiddenAndGroupOptions(List<OptionSpec> all) {
            List<OptionSpec> result = new ArrayList<OptionSpec>(all);
            for (ArgGroupSpec group : optionSectionGroups()) { result.removeAll(group.allOptionsNested()); }
            for (Iterator<OptionSpec> iter = result.iterator(); iter.hasNext(); ) {
                if (iter.next().hidden()) {
                    iter.remove();
                }
            }
            return result;
        }
        private List<PositionalParamSpec> excludeHiddenAndGroupParams(List<PositionalParamSpec> all) {
            List<PositionalParamSpec> result = new ArrayList<PositionalParamSpec>(all);
            for (ArgGroupSpec group : optionSectionGroups()) { result.removeAll(group.allPositionalParametersNested()); }
            for (Iterator<PositionalParamSpec> iter = result.iterator(); iter.hasNext(); ) {
                if (iter.next().hidden()) {
                    iter.remove();
                }
            }
            return result;
        }

Do you feel like creating a pull request for this?


Problems to run your code

Hi,
Probably it is because I'm pretty new with Pytorch and Pysyft but I have some problems to run your code:
If I try:
conda env create -f environment.yml
It creates the conda env but if I run:
python main.py --nopeek_weight 0.1 --epoch 1 --batch_size 32 --learning_rate 0.001 --saveas namemodel --n_train_data 5000
there is the following error:
RuntimeError: shape '[0, -1]' is invalid for input of size 25088
located here:
input_data = input_data.view(input_data.size(0), -1) line 25 - loss.py
Then I tried to create the environment in this way but I can't because if I run this:
conda env create -f environment-lock.yml
I have the following error:
Solving environment: failed
ResolvePackageNotFound:

brotlipy==0.7.0=py37h4ab8f01_1000
lz4-c==1.9.2=h62dcd97_1
sqlite==3.30.1=hfa6e2cd_0
kiwisolver==1.2.0=py37heaa310e_0
matplotlib-base==3.2.1=py37h911224e_0
libpng==1.6.37=hfe6a214_1
win_inet_pton==1.1.0=py37_0
zstd==1.4.4=h9f78265_3
msys2-conda-epoch==20160418=1
python==3.7.6=h60c2a47_5_cpython
openssl==1.1.1g=he774522_0
mistune==0.8.4=py37h8055547_1001
libsodium==1.0.17=h2fa13f4_0
ninja==1.10.0=h1ad3211_0
zlib==1.2.11=h2fa13f4_1006
vc==14.1=h869be7e_1
libtiff==4.1.0=h885aae3_6
m2w64-gcc-libgfortran==5.3.0=6
freetype==2.10.2=hd328e21_0
zeromq==4.3.2=h6538335_2
pyzmq==19.0.1=py37h453f00a_0
libclang==9.0.1=default_hf44288c_0
m2w64-gmp==6.1.0=2
winpty==0.4.3=4
pyrsistent==0.16.0=py37h8055547_0
pywin32==227=py37hfa6e2cd_0
m2w64-gcc-libs==5.3.0=7
pyqt==5.12.3=py37h1834ac0_3
m2w64-libwinpthread-git==<IP_ADDRESS>34.697f757=2
tk==8.6.10=hfa6e2cd_0
jpeg==9c=hfa6e2cd_1001
wincertstore==0.2=py37_1003
ipykernel==5.2.1=py37h5ca1d4c_0
numpy==1.18.4=py37hae9e721_0
markupsafe==1.1.1=py37h8055547_1
qt==5.12.5=h7ef1ec2_0
m2w64-gcc-libs-core==5.3.0=7
icu==64.2=he025d50_1
vs2015_runtime==14.16.27012=h30e32a0_2
cryptography==2.9.2=py37h26f1ce3_0
xz==5.2.5=h2fa13f4_0
cffi==1.14.0=py37ha419a9e_0
pywinpty==0.5.7=py37_0

I'm using linux...
Thank you in advance

For the first issue, that's being caused by a batch of size 0 being passed into DistanceCorrelationLoss somehow. When that happens, input_data.size(0) is 0, and you can't reshape something into (0, -1). I'm not sure yet how that is getting introduced.
For the second issue: does conda env create -f environment.yml work? It may be that the environment-lock file has been corrupted

Update: there a few bugs which caused by changes in how syft functions. You could install an old syft version, or use branch no-syft if you want to try NoPeek but don't need to use pysyft

Hi,
Thank you for the answer which version of syft should I install?

Hi @valeriatu , so sorry for the delay in answering this.
I think 0.2.5 should work (this is the version pinned in environment-lock.yml file)


Installing theme package CIAs / GM9 cross-issue

This is a cross issue, referencing this GodMode9 issue:
https://github.com/d0k3/GodMode9/issues/438
I already worked with @Ammako to find out more about this issue. What he does is, he builds a CIA for the theme DLC in GodMode9 (title IDs 0004008c00008f00 and 0004008c00008f01). These CIAs contain one purchased theme (I checked, the CIAs look correct).
When reinstalled to the same console, the theme vanishes from the menu. The installation (done by FBI) inside 0:/Nintendo 3DS looks correct, though. Everything is identical to how it was before (no encryption though, because GM9 standard CIAs are fully unencrypted, thus TMD and CMD don't match competely).
This doesn't have anything to do with the DLC CIA builder fix you did for GodMode9 earlier - we also tried doing the CIA in an earlier GM9 release, with the same result. So, I'm a bit clueless. Also, unsure if this is actually an FBI issue.
On a related note - if the theme DLC CIA is built as a legit CIA in GM9 (that means, with the actual purchased ticket, with encryption intact and the TMD unchanged), FBI fails to install it with error "Cert signature or hash check failed".

To clarify, it doesn't matter which system the CIA is installed to, nor whether there was prior theme DLC already present before installation.
Also, as I've mentioned, I wouldn't be inclined to blame FBI, because DevMenu behaves the same way (and maybe I should have made that clearer, but I only use DevMenu for installing CIAs; installing through FBI was done here for testing purposes just to see if it behaved differently, after already having attempted installing through DevMenu first.)

Yeah, I don't think this is an FBI issue. FBI doesn't parse the CIA or handle any of its data structures; it just gets passed straight through byte-for-byte to the AM service.

I'm going to close this for now since it's not an FBI issue, but I'll try to take a look at my own theme data when I have the time, and if I figure anything out I'll chime in on the GodMode9 issue ticket.

Alright. If you need sample data, let me know.


disableRipple not working in checkbox with custom theme

Bug, feature request, or proposal:
Bug
What is the expected behavior?
The ripple effect should not be visible when disableRipple attribute is set to true on a checkbox.
What is the current behavior?
The ripple effect is still shown when disableRipple attribute is set to true on a checkbox.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-clzfgv
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 7.0.3
Node: 8.12.0
OS: win32 x64
Angular: 7.0.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package                           Version
@angular-devkit/architect         0.10.3
@angular-devkit/build-angular     0.10.3
@angular-devkit/build-optimizer   0.10.3
@angular-devkit/build-webpack     0.10.3
@angular-devkit/core              7.0.3
@angular-devkit/schematics        7.0.3
@angular/cdk                      7.0.2
@angular/cli                      7.0.3
@angular/material                 7.0.2
@ngtools/webpack                  7.0.3
@schematics/angular               7.0.3
@schematics/update                0.10.3
rxjs                              6.3.3
typescript                        3.1.3
webpack                           4.19.1
Is there anything else we should know?
If we do not use a custom theme, disableRipple is working as expected.

The disableRipple is working in your example. What you're seeing is the focus and hover indication.

Thanks @crisbeto for clearing that. Are these also supposed to be hidden when disableRipple is true?

I don't think so, because they're also there for accessibility.

The strange thing is that they are not visible when disableRipple is true and there is no custom theme. Why is that?

Any news on this? Is somebody investigating? We have a custom theme as well and have the sticky circle after clicking the component.

I'm also waiting for this disableRipple issue to be investigated, it used to work up to a couple of months ago and stopped working. not using a custom theme.. any news?

OK, just upgraded to material 7.3.4 and it solved the issue for me.. :)

This is actually the same for non-custom themes too: https://stackblitz.com/edit/comp-13904?file=.angular-cli.json.
It's working as expected as those are accessibility focus indicators which aren't affected by disableRipple. If you want to remove them, you could use CSS overrides, though we don't recommend disabling focus indication.


Inability to Target Project's .eslint File

Installed product versions

Visual Studio: 2017 Professional, v15.2
This extension: 1.0.89

Description
As documented in the Getting Started section of the README, this extension targets the .eslintrc file in the user's root directory I can't find a place to configure the plugin to look for my project's .eslintrc file, so I have to manually change the file in my root directory when I change projects.
Different projects have different configuration files (ES5 project, ES6 projects, React projects, etc.) but this plugin only allows you to target the one global file. This is very inconvenient and an antipattern compared to other IDE's (like Webstorm) which allow you to target the .eslintrc file you want to use. This is a MUST for projects that have different settings.
This also may NOT be an issue with the plugin, but instead a restriction of Visual Studio.
Steps to recreate

Open Visual Studio
Open Project
Select Menu Item Tools > Web Code Analysis > Edit Eslint Settings
See that the file VS is targeting is at the root of user's directory, not in the project's directory

Current behavior
It targets the .eslintrc file in the user's root directory (ie. C:/Users/Name/.eslintrc) with no ability to change the target (that I am aware of)
Expected behavior
I expect it give me the choice to target the .eslintrc file of my choice, in this case the project's file

Hi @benrondeau. I think this extension does what you want: If you put a .eslintrc file at the root of your project (or in a folder of your project), ESLint (via this extension) will pick it up and use it.
I could be mistaken, but my understanding is this extension operates outside of the Visual Studio / Web Code Analysis configuration. For my personal use, I turned off the Visual Studio 2017 ESLint stuff (via Tools > Options > Text Editor > JavaScript/TypeScript > EsLint > Enable ESLint > False).
This extension is essentially a wrapper around running eslint from the command line, so it follows the ESLint rules for finding config files. Does this help resolve your situation?

Unfortunately I cannot get this plugin to pickup the .eslintrc file in my project. If I can do that, my problems are solved.
How can I do that?

The extension is a little picky, as it is very new, so it's easy for it to not work. My understanding is this:

An .eslintrc file is needed in your Windows user home folder. The extension will not work if nothing is there.
You need to have all the ESLint plugins that are listed in your ESLint config files. For example, if your root config has react stuff in it, it's possible ESLint is throwing an error because it can't find the react plugin. (This happened to me. Also, in my experience it fails silently, so it's hard to tell if it's broken.)
I think the linter only runs when you open files / save them. I'm still not entirely sure how this works, but my point is that rule changes in your config files can take a few seconds / some time for the linter to pick up.

As @philwsac pointed out the extension should target an .eslint file in the current project directory before the user root directory. However I discovered this by coincidence and I will update the extension once I get back from my vacation with an option to target an .eslint file in the current project directory explicitly.
Sorry for not getting back to you earlier but I'll get on this when back from my vacation.

Thanks so much!

I have addressed the issue in the following pull request (merged into master): https://github.com/jwldnr/VisualLinter/pull/4
The default behavior of the extension is now changed from using a global config to using a local config (relative to the file being linted).
I have also provided an options page with a checkbox to toggle the previous behavior (using a global config). You can find the new options under Tools > Options >  VisualLinter.
Please note that the menu item Tools > Web Code Analysis > Edit Eslint Settings will never show the .eslintrc file being used by this extension. This is a default config file provided for the built in ESLint (integrated with Visual Studio 2017)
There will soon be a new version of the extension available on the Marketplace. Please upgrade the extension to version 1.0.106 or higher to ensure the availability of these new features.
I will go ahead and close this issue. However, feel free to post back here (or submit a new issue) if anything isn't working as you'd like- and I'll reopen this issue.

Thanks so much!


"RECOMMENDATION": recommend_summary

Can you tell me how to transform the "RECOMMENDATION": recommend_summary - value into an if statement for the automation of the analysis.summary to create order statements?
So that if 'RECOMMENDATION': 'BUY'  - I can create a buy order at my Broker with it ....

How to store the "RECOMMENDATION": recommend_summary - value in a Pandas dataframe for using it later? And is it possible to make the analysis for two assets and put them into one Pandas dataframe for the construction of a portfolio?

Thank you for your answer - your help is appreciated a lot

Hello @waudinio27,

If-else for "RECOMMENDATION"

from tradingview_ta import TA_Handler, Interval, Exchange

handler = TA_Handler(
    symbol="TSLA",
    screener="america",
    exchange="NASDAQ",
    interval=Interval.INTERVAL_1_DAY
)
analysis = handler.get_analysis()

if analysis.summary["RECOMMENDATION"] == "BUY":
   # Buy
elif analysis.summary["RECOMMENDATION"] == "SELL":
   # Sell
else:
   # Neutral

You can read your broker's API to create your order. However, I don't recommend you to use python-tradingview-ta to trade automatically.

Pandas DataFrame

You can loop the get_analysis() and append a dictionary containing time and recommendation to a list.
import pandas as pd
import time
from tradingview_ta import TA_Handler, Interval, Exchange

data_list = []

handler = TA_Handler(
    symbol="TSLA",
    screener="america",
    exchange="NASDAQ",
    interval=Interval.INTERVAL_1_MINUTE
)

for x in range(5): #repeat 5 times (change it to whatever you want)
    recommendation = handler.get_analysis().summary["RECOMMENDATION"] # Get recommendation
    time_in_ms = int(round(time.time() * 1000)) # Get time in millisecond
    data_list.append({"time (ms)": time_in_ms, "recommendation": recommendation})
    time.sleep(60) # Wait 1 minute before calling get_analysis() again (change it to whatever you want)

pd_dataframe = pd.DataFrame.from_dict(data_list) # create pd dataframe from dictionary
print(pd_dataframe)
#        time (ms) recommendation
# 0<PHONE_NUMBER>060            BUY
# 1<PHONE_NUMBER>974            BUY
# ...
# ...

Yes, it is possible to add multiple assets into a dataframe. You can create another instance of TA_Handler, call get_analysis on both assets, and replace the append code.
...
recommendation1 = handler1.get_analysis().summary["RECOMMENDATION"] # recommendation for asset1
recommendation2 = handler2.get_analysis().summary["RECOMMENDATION"] # recommendation for asset2
time_in_ms = int(round(time.time() * 1000)) # Get time in millisecond
data_list.append({"time (ms)": time_in_ms, "asset1": "first asset", "recommendation1": recommendation1 "asset2": "second asset", "recommendation2": recommendation2})
...

pd_dataframe = pd.DataFrame.from_dict(data_list) # create pd dataframe from dictionary
print(pd_dataframe)
#        time (ms)              asset1 recommendation1              asset2 recommendation2
# 0<PHONE_NUMBER>060      NAME OF ASSET1             BUY      NAME OF ASSET2            SELL
# 1<PHONE_NUMBER>974      NAME OF ASSET1            SELL      NAME OF ASSET2             BUY
# ...
# ...

Hope this answers your questions. Let me know if you have another question.

Hello and thank you so much for your fast and precise reply! This is really helping me in answering my questions!
I have one more thing on my mind. I was wondering why you don't recommend the python-tradingview-ta to trade automatically? Is there a special reason?
I want to try it with the demo account to see how it is working out.

Tradingview sometimes change their algorithm, like in v3.2.1. It's best to try paper trading first.

I have implemented everything like you recommended so far, but I need your expert advise one more time.
How is it possible to make a Multi Time Frame - MTF script?
I want to make a loop that does the analysis for 5  minutes, 15 minutes and one hour.
Only when all of them are positive I want to enter a trade and stay with one open position until the signal changes ....
Thanks a lot I really appreciate your help!

You can set a variable containing the last order (buy/sell). It's safe to call all three get_analysis()  every 5 minutes. Here is the pseudocode:
last_order = ""

while True:
    # if last order is sell or empty, and all recommendation is buy, then buy
    if last_order == "" or last_order == "sell":
        if 5min.get_analysis().summary["RECOMMENDATION"] in ["BUY", "STRONG_BUY"] and 15min.get_analysis().summary["RECOMMENDATION"] in ["BUY", "STRONG_BUY"] and 1hour.get_analysis().summary["RECOMMENDATION"] in ["BUY", "STRONG_BUY"]:
            create_buy_order()
            last_order = "buy"

    # if last order is buy, and all recommendation is sell, then sell
    if last_order == "buy":
        if 5min.get_analysis().summary["RECOMMENDATION"] in ["SELL", "STRONG_SELL"] and 15min.get_analysis().summary["RECOMMENDATION"] in ["SELL", "STRONG_SELL"] and 1hour.get_analysis().summary["RECOMMENDATION"] in ["SELL", "STRONG_SELL"]:
            create_sell_order()
            last_order = "sell"

    # repeat every 5 minutes (300 seconds)
    time.sleep(300)

You are the Best! I will try to get it running like this during the week :-)


MLT-0060 Create Swagger documentation for Item and Order callbacks

Adds callback documentation to the controllers, explaining what the response looks like.
One remaining question is whether we add this to some of the other controllers. Currently the only endpoints that produce the callbacks have received the annotation. Should the createOrder and createItem also be annotated?

Looks good, however this documentation should be put on the createOrder and createItem endpoints instead, as it's actually those that have callbacks. You can see that in our mock API


wasm-pack test should support Microsoft Edge

💡 Feature description
It would be nice if we could do wasm-pack test --edge and test our package in Microsoft Edge.

You can just do --chrome and then open localhost in edge

You can just do --chrome and then open localhost in edge

can we add --chromium instead of chrome so it's not confusing?
That would be awesome


About Datasets

I know it's a little bit stupid, but could you please list the structure of the whole three datasets or the folder where you put your data.

Sorry for my late reply.
Regarding the datasets and their folders, they are actually not that important. Since I created annotation file annotations.pkl.
The annotations.pkl is a dictionary, where the key names recursively indicate the partitions, from subsets (e.g., EXPR_Set) to train/val set, then to the video names. Finally, each video name corresponds to a dataframe. The dataframe will give the path and emotion labels of each frame in this video.
If you are  indeed interested in the datasets and their folders, I refer you to the annotations.pkl in this link (it is the same link in the readme.md). You can load it using pickle module. Here is an example:
import pickle as pkl
data = pkl.load(open('annotations.pkl', 'rb'))
df = data['EXPR_Set']['Training_Set']['325']
print(df.head())

It shows
   frames_ids  label                                               path
0           1      0  /media/Samsung/Aff-wild2-Challenge/cropped_ali...
1           2      0  /media/Samsung/Aff-wild2-Challenge/cropped_ali...
2           3      0  /media/Samsung/Aff-wild2-Challenge/cropped_ali...
3           4      0  /media/Samsung/Aff-wild2-Challenge/cropped_ali...
4           5      0  /media/Samsung/Aff-wild2-Challenge/cropped_ali...

You can inspect the datasets folders from the path column.
I hope this has answered your question well.


Unable to fetch english novels

Latly baka reader seems unable to fetch any english language novel (french and polish works)
Every time it presents the error status=502

I have got the same issue. I can refresh teaser and web novel. But refreshing main alwaysend in error 502.
By the way can anyone teach me the way to do manual add? I don't know what to fill i  the page box.

Thanks for the reply. I'll try it out.


Added Vcpkg Users section for how to use the library with the Vcpkg

Added Vcpkg Users section for how to use the library with the Vcpkg package manager.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.


Cleanup code comments

I didn't do a thorough review, but I did find this line:
#ADD MORE HERE LATER

Was removed when unit tests were restructured


[SMALLFIX] Fix a bug in DataServerBlockReadHandler and a few improvements

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12835/
Test PASSed.

@calvinjia @apc999

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12842/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12843/
Test PASSed.

LGTM


Added translation of documentation into Russian

Starting translation into Russian and configuring the locale

@posva Good day! Are there any difficulties in the approval of this PR?

Up!

Thanks for the PR but please don't "Up!" the PR because it creates notifications for the maintainers. This is already in my Todo list, we are adding some translation contribution guidelines to the router and pinia to make the process more clear. I will come back to you as soon as I can. Thanks!

@posva Good afternoon!
Is there any chance that this PR will be accepted?

This pr is no longer needed, as a link to the Russian documentation has been added in another pr, #2438 . I contacted @Ibochkarev , and he agreed to contribute his translations to the current translation repository for Pinia (https://github.com/translation-ru/pinia/).

Thanks!


[RESOLVED] High ICMP ping response time

Problem started at 11:42:14 on 2023.05.01
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 673ms
Original problem ID: 20192
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=20192

Problem has been resolved in 9m 0s at 11:51:14 on 2023.05.01
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 20192