Installing community-based plugins

Hi,
Would just like to ask if installing community-based plugins is configurable via this module. There's no mention of installing modules from other projects with puppet-logstash, only installing custom plugins specifying the path to the .rb file.
Would specifically like to use the cloudtrail codec plugin. https://github.com/logstash-plugins/logstash-codec-cloudtrail.git
Thanks and regards,
Paolo

Hi,
The planning is to have a large rewrite of the current module with all the new goodness i've learned when building out the ES module further.
This will also include code to install plugins including custom things.
I'm afraid I don't have an ETA yet :-(

+1 - would like to be able to install the cloudwatch plugin in the suggested way

Support for installing Gems from RubyGems.org, local files, and the Puppet file server has now been merged into master.
Hopefully this meets your requirements. Thanks!


ci/fix semantic release

ci: remove unused parameter in workflow
ci: now Semantic Release changes version in build.sbt correctly

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

1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Broken link

A link to "device interface class" at the very beginning of the article is broken, the correct one is https://docs.microsoft.com/en-us/windows-hardware/drivers/install/device-interface-classes

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b05d0517-f5b1-a2e2-d9ef-bdb413e8062b
Version Independent ID: 27f22c7c-d8cd-5390-d5e2-4319075e6a15
Content
Content Source
Service: unspecified

Thanks, @SIISII. The update should be live shortly. Appreciate you taking the time to open the Issue. Feel empowered to make future updates in the source and submit a pull request. too!


Feature feed audit

Description
Removing outdated and unused code and constants.
Updating tests will come in the next PR.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Looks good. Lint check didn't pass though - https://app.circleci.com/pipelines/github/adobe/aepsdk-messaging-ios/608/workflows/3dad27c3-bccd-4bed-91ae-7482f0f05249/jobs/812.


Fix release workflow

Signed-off-by: Chuck Ha<EMAIL_ADDRESS>What this PR does / why we need it:
This should actually kick off a build now.
Release note:
NONE

/lgtm


feat: add bootstrap script to configure butane file and convert to ignition

this bootstrap script will download the securecore.butane file and edit it to contain user supplied password and ssh key. then it will convert the butane file to an ignition file. all the user needs to do is input password, ssh key, and then is given instruction on how to give the file to coreos-installer.

@topaz8 this can be closed right?
the other PRs look good to go to me, just need another approver


Error communicating with openai

File "/Users/r/Documents/1-projects/MetaGPT/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 982, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.openai.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')]
I've checked that I have correct CA Bundle certificates and I can connect to api.openai.com easily

Could you try this: https://github.com/beidongjiedeguang/openai-forward ?


don't use the symlink for cmake

I am moving us to use the system CMake but there is a small window that master will be broken during that time.  This will make that not happen.

LGTM


SYNC: Request ID<PHONE_NUMBER>281608407 returned with empty JSON

I am getting this error when i send JSON to SYNC Request via app.onSync((body, headers) => {});
This is the JSON Response which i am sending:
{
   "requestId":"7814133750281608407",
   "payload":{
      "agentUserId":"5b9c1a1b72d65025a8ca3f33",
      "devices":[
         {
            "id":"5b9c1a1b72d65025a8ca3f22",
            "type":"action.devices.types.OUTLET",
            "traits":[
               "action.devices.traits.OnOff"
            ],
            "name":{
               "defaultNames":[
                  "IR Switch"
               ],
               "name":"TV",
               "nicknames":[
                  "ir switch"
               ]
            },
            "attributes":{

            },
            "roomHint":"kitchen",
            "deviceInfo":{
               "manufacturer":"iRHub",
               "hwVersion":"1.0",
               "swVersion":"1.0",
               "model":"IR Device"
            },
            "willReportState":false
         },
         {
            "id":"5b9c1a1b72d65025a8ca3f88",
            "type":"action.devices.types.OUTLET",
            "traits":[
               "action.devices.traits.OnOff"
            ],
            "name":{
               "defaultNames":[
                  "IR Switch"
               ],
               "name":"AC Remote",
               "nicknames":[
                  "ir switch"
               ]
            },
            "deviceInfo":{
               "manufacturer":"iRHub",
               "hwVersion":"1.0",
               "swVersion":"1.0",
               "model":"IR Device"
            },
            "willReportState":false
         }
      ]
   }
}

The Error SYNC: Request ID<PHONE_NUMBER>281608407 returned with empty JSON is coming on Google Cloud Logs Viewer. Just after Account Linking completes, google assistant sends RequestSync to Cloud API, This 'empty json error' is encountered and then account linking fails.

Tried with Lambda too. Returns empty JSON response.
This library is not working correctly.
I tried with simple Express server and checked for intents with if else statements. And intents worked correctly if i used res.json();.
So there is definitely a problem with this library as it is unable to send the json response.

Can you post the whole snippet of code? I've been using the library for other projects and it does work, plus it does pass the tests in the library, so I don't believe the issue is directly related to the library.

Code is one of my client's. I don't think they would allow their server code to be disclosed.
I can tell you request flow.
The framework is express and the fulfillment Request passes through oauth2-server middleware.
Like this :
let googlesdk = smarthome();

app.post('/fulfillment', oauth2middleware, googlesdk)

Do you think the oauth2-server (node.js library) middleware might be causing this issue?
Link to that library: https://github.com/oauthjs/node-oauth2-server

It's possible that something may be happening by mixing in middleware. If you can share the codelab, or at least its code, that may help them with actually getting the library code to work.
app.onSync(() => {
  return {
    requestId: 'ff36a3cc-ec34-11e6-b1a0-64510650abcf',
    payload: {
      agentUserId: '123',
      devices: [{
        id: 'washer',
        type: 'action.devices.types.WASHER',
        traits: [
          'action.devices.traits.OnOff',
          'action.devices.traits.StartStop',
          'action.devices.traits.RunCycle',
          'action.devices.traits.Modes',
          'action.devices.traits.Toggles',
        ],
        name: {
          defaultNames: ['My Washer'],
          name: 'Washer',
          nicknames: ['Washer'],
        },
        deviceInfo: {
          manufacturer: 'Acme Co',
          model: 'acme-washer',
          hwVersion: '1.0',
          swVersion: '1.0.1',
        },
        attributes: {
          pausable: true,
          availableModes: [{
            name: 'load',
            name_values: [{
              name_synonym: ['load'],
              lang: 'en',
            }],
            settings: [{
              setting_name: 'small',
              setting_values: [{
                setting_synonym: ['small'],
                lang: 'en',
              }],
            }, {
              setting_name: 'large',
              setting_values: [{
                setting_synonym: ['large'],
                lang: 'en',
              }],
            }],
            ordered: true,
          }],
          availableToggles: [{
            name: 'Turbo',
            name_values: [{
              name_synonym: ['turbo'],
              lang: 'en',
            }],
          }],
        },
      }],
    },
  };
});

@Fleker Can you try my json payload which i pasted above in first comment.

I added the app.onSync method like above and used it in a project and I successfully am getting two switches.

Then i think problem is with Oauth2 Middleware.


Allow labels to contain '.' characters

With Traefik we need labels like traefik.enable which currently aren't allowed by the form.

👍  also pinging @miltontony to ensure he's aware of the change.


Add PDK to list of repos

Oh shoot I don't have write access! :scream_cat: @binford2k Can I get a merge?


still incomplete

[Enter feedback here]
has been incomplete for sometime...  $submissionHeaders is never assigned anything
Cannot index into a null array.
At line:6 char:2

$operation_location = $submissionHeaders['operation-location'][0]

 + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
 + FullyQualifiedErrorId : NullArray

 $response = Invoke-RestMethod -Uri $operation_location -Headers  ...

                                    ~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Invoke-RestMethod], ParameterB
indingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Power
Shell.Commands.InvokeRestMethodCommand

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a47134e6-8e58-e26f-a452-b08e57c5cdf0
Version Independent ID: 2fe238ea-1d13-f8d9-c549-09bdb6858c03
Content: Quickstart: Generate images with Azure OpenAI Service - Azure OpenAI
Content Source: articles/ai-services/openai/dall-e-quickstart.md
Service: azure-ai-openai
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@jerrywolff
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@mgreenegit  is the author of that article, I'll ask him for help

@jerrywolff can you explain your question in more detail? I just re-validated the sample and I don't see the concern.

@jerrywolff following up

Closing now
@jerrywolff please reopen if your issue persists.
#please-close


Google login returns undefined

Logging in with GoogleLogin returns undefined, even if the credentials are correct. No errors given. This bug is occurring only in version 1.9.0 which suggests we should look into differences between 1.9.0 and 1.8.0.
Test code:
new<EMAIL_ADDRESS>'password').then(console.log).catch(console.error);

Result in 1.9.0: undefined
Result in 1.8.0: [google token]

Fixed with 11057d5f18ad9af59a48b8a08d96cdad049dd964

Just published 1.9.1 fixing this.


CSV datareader failed to open some data files.

Traceback (most recent call last):
('dad84e72-95f7-4709-b564-72a4429942b1', 'https://biocache.ala.org.au/archives/gbif/dr1008/dr1008.zip')
File "/Users/ahe/test_fdwc/venv/lib/python3.7/site-packages/FrictionlessDarwinCore/resource.py", line 57, in convert
for inrow in datareader:
_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?

I had a deeper look and there is an inconsistency between meta.xml and data file.
The meta.xml started like this:

occurrence.csv
But the data file uses '\n' as line terminator not '\r\n'.

This inconsistency between meta and data file was reported to the DwCA producer: Atlas of Living Australia. According to them, it has been fixed now.


fix: android end date selection

📝 Description
This PR fixes Avalanche staking end date selection on Android devices
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo
https://user-images.githubusercontent.com/16307439/233732430-3b9e57c2-ec22-48cb-8c2c-06b8edcae3ed.mov

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

PR has been merged in other branch, my bad thx not mentioning it ! thanks @chabroA for taking a look :)


README: Missing package to intstall for Fedora 25

Following instructions to install mutate I got this error on my Fedora 25 box:
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

The solution is run sudo dnf install redhat-rpm-config. Please add in the README file

Fixed in #98


⚠ ClamAV has degraded performance

In a1c9793, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 263 ms

Resolved: ClamAV performance has improved in a5f5bbc after 16 minutes.


Zappa doesn't report if it fails to add a event source that is already listened-to

I had a zappa_settings.json with this event source (the bucket name is fake obviously).
"event_source": {
    "arn":  "arn:aws:s3:::bucket-name",
    "events": [
        "s3:ObjectCreated:*"
    ]
}

by mistake, I specified a bucket that already was used as event source for a different lambda.
Because AWS S3 does not support sending more than one event per uploaded file (multiple notifications can be set for a bucket, but they must not overlap), setting this event source as a trigger for the lambda fails, but zappa reports successful deployment.
I would expect/like zappa to abort the deployment with some error message.

+1, excellent bug. Was there a warning, or anything at all, in the output?
Do you want to submit a Pull Request for this?

Zappa outputs this
s3:ObjectCreated:* event schedule for archiver.lambda_handler already exists - Nothing to do here. when this happens. When overwriting actual event source for given lambda, it writes the same message as when creating it for the first time, that is Created s3:ObjectCreated:* event schedule for archiver.lambda_handler!.
I don't have a PR and I am not sure when I can get around to fixing this.

Upon little investigations, the problem is in schedule_events in zappa.py, where if the response to rule creating is exists, its assumed to be okay. However, this whole if - elif chain is a bit weird, as even return status of failed lets the deployment keep going, with only a single line printed to stdout notifying user of the problem.

Any way to reuse the trigger for the same bucket or clear the settings?

Seems like this has not been resolved. I'm experiencing the same behavior as @boarik

Actually if you have any error creating the event the deploy won't stop...


Problem with Andorid API 7.0

I have a problem while animate simple panel from right to left it animate correctly but just one time only, after try to do it again and again nothing happen. this is just with android API 7.0. before this every thing work perfectly.

I can confirm Issue - works below android 7.0. And on nougat it shows once - then I believe that the view is moved somewhere. I tried copying layout params, rules and top bottom etc. values and reseting them in onAnimationEnd - but that did not help.
I was using SlideIn and SlideOut animations.

There is workaround. You need to store initial location. You will need 2 dimentional array:
private int[] location = new int[2];

Before animation starts get location:
view.getLocationOnScreen(location);

Then add new animation listener and restore position in onAnimationEnd:
new AnimationListener() {
	@Override
	public void onAnimationEnd(Animation animation) {
		controlsView.setX(location[0]);
		controlsView.setY(location[1]);
		controlsView.setVisibility(View.VISIBLE);
	}
}

Ugly but works - and I hope but doubt that lib will be updated.

I faced the same, when is a standard fix expected?


Better status codes for PATCH requests

The current API uses the 501 Internal Server Error status for conditions that are not errors of the server or unexpected errors but known conditions that may arise in the use of the API.
I would propose using the following status code for the PATCH method for conditions that are allowed by the API and expected from some implementations.
405 Method Not Allowed
Returned when the implementation does not support the annotation API for a specific resource. Client shall not retry the request.
422 Unprocessable Content
Returned when the implementation does not support the annotation API request: string too long, read-only tag, too many tags values, too many tags, etc. Client shall not retry the request. It shall modify the request based on the detailed status message before retrying.
507 Insufficient Storage
Returned when the implementation does not have more space for storing annotations. Client shall not retry the request.

I think this is worth considering.
I'm not sure about the use case for 405 Method Not Allowed. Why not, if the Annotation API is not supported for a resource, just don't include it in the API?
422 Unprocessable Content is not used in any published AMWA NMOS spec, but is proposed to be used in IS-11. I think it could be appropriate.
507 Insufficient Storage is not defined in the HTTP spec but in the WebDAV spec, but I don't think that should stop us using it if the semantics are right - we also use 423 Locked defined in that spec.
We should make clear about the distinction between "string too long, too many tags values, too many tags, etc." and "does not have more space"... I think it's the difference between (unstated/undiscoverable because we haven't added an endpoint to the API) constraints in a spec of a tag or the spec of this product, vs. current lack of persistent storage, right?

Update 2023-07-20: we can leave as only 500 in this first phase, no need to delay this iteration. For many use cases an error message will be useful as there will be a user on hand and no need for automated action to deal with specific error cases.


The inputContainer option must refer to a valid HTML element.

search.js:4 Uncaught Invariant Violation: The inputContainer option must refer to a valid HTML element.
at e.exports (http://localhost:4200/scripts.js:11564:68786)
at http://localhost:4200/scripts.js:11564:273517
at Array.forEach ()

I am facing this issue while integrating with angular app. I know what is issue, I have created div element with id "search-button" in app component. But, It is native element not the HTML element. so, this error appear. Can anyone please help me how to use in angular component?
I have exported unified-search application and imported  search.js and search.css in angular.json file.

What do you pass to inputContainer? You may need to defer Unified InstantSearch until Angular has built the DOM.

What do you pass to inputContainer? You may need to defer Unified InstantSearch until Angular has built the DOM.

Thanks for your response.
I have just created div with "search-button" id and unified search will pick that element as inputContainer.
Though, when I put that div element in index.html, It is working. But, When I put that div in component html file. It is not working. Yes, It seems I need to modified unified InstantSearch.


parse MusicXML chord symbols and store as NoteSequence text annotations

@jsawruk you may be interested in this.

@jsawruk is your thumbs-up on my previous comment a confirmation that you are in fact interested, or did you try parsing chord symbols and it seemed to work?

@iansimon: Both! I tested and had no problem with any of the MusicXML files I used (about 150 PVG arrangements).

Awesome!  Thanks for checking :)


(PDB-2264) Add setting for toggling historical-catalogs storage

This commit adds a setting for toggling the storage of
historical-catalogs (to be used in PE) to the puppetdb section of the
PuppetDB config.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/338/
Test PASSed.

:+1:


port: 11 to 12 2022-11-17

➡ Forward port
Port ign-transport11 to gz-transport12
Branch comparison: https://github.com/gazebosim/gz-transport/compare/gz-transport12...ign-transport1
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

It seems that CI isn't happy. Do we need a gz-msgs released

msgs9 on homebrew needs to be released, but the action is broken due to python3 issues.

Hey @nkoenig @mjcarroll @caguero, this PR added 121 warnings (protobuf warnings) to Windows CI (Check this build)
Almost all of these are also present in transport11 CI
Are we expecting a change to fix them on garden? Or just leave it as it is?
FYI: @Blast545

Almost all of those warnings come from the google protobuf library. I was ignoring those. There are five in the parameters component that I should fix.


[min-turnup] kubelet.service can hangnode

edit: see further down for the node hanging issue

I have something close to working with min-turnup, but I'm running into an issue with the playbook.
Where does master_ip get added to the cfg object here?
RuntimeError: RUNTIME ERROR: No such field: master_ip
    std.jsonnet:584:29-55   thunk <val>
    std.jsonnet:589:41-43   thunk <val>
    std.jsonnet:440:30-32   thunk
    std.jsonnet:28:21
    std.jsonnet:28:12-22    thunk
    std.jsonnet:28:12-34    function <anonymous>
    std.jsonnet:28:12-34    function <anonymous>
    std.jsonnet:440:17-33   function <format_code>
    std.jsonnet:589:29-63   thunk <s>
    std.jsonnet:594:38  thunk <str>
    ...
    std.jsonnet:595:61-68   thunk <v>
    std.jsonnet:595:21-69   function <format_codes_obj>
    std.jsonnet:595:21-69   function <format_codes_obj>
    std.jsonnet:600:13-48   function <anonymous>
    std.jsonnet:134:13-28   function <anonymous>
    /opt/playbooks/roles/node/templates/kubeconfig.jsonnet:16:17-45 object <anonymous>
    /opt/playbooks/roles/node/templates/kubeconfig.jsonnet:(14:16)-(17:7)   object <anonymous>
    /opt/playbooks/roles/node/templates/kubeconfig.jsonnet:(12:16)-(18:5)   thunk <array_element>
    /opt/playbooks/roles/node/templates/kubeconfig.jsonnet:(12:15)-(18:6)   object <anonymous>
    During manifestation

I tweaked the config json to have master_ip to workaround and ran into this instead:
TASK [node : template] *********************************************************
fatal: [/host_root]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'role' is undefined"}
        to retry, use: --limit @/opt/playbooks/install.retry

https://github.com/kubernetes/kube-deploy/blob/09c5d3c80c424d15c34bbf36624d15cb85e0369c/min-turnup/phase2/ansible/playbooks/roles/node/templates/kubelet.service.j2#L25

Hi @colemickens . On gce, the config is shoved into the instance metadata, here https://github.com/kubernetes/kube-deploy/blob/master/min-turnup/phase1/gce/lib/gce.jsonnet#L25-L28. The entire cfg object plus some fields supplied by terraform e.g. master-ip are also added at this point. What version of ansible are you using? I've been working off of master since that seems to be what they recommend.

I'm building the install-k8s container from the Dockerfile which is building it from master.
Anyway, I've worked around this and the general lack of metadata in Azure so far - I boot the instances with custom_data which allows me to plumb the config, crypto assets and configure-vm.sh into the VM.
Everything should be working, but as soon as kubelet.service is started, a process named exe eats up all the CPU and I lose control of the VM (can't systemctl stop kubelet or docker) and have to start a new deployment. If I remove all the manifests before starting kubelet, it is okay and hums along doing nothing but failing to talk to apiserver. But if I start kubelet.service with even just the etcd pod manifest, I see this hanging behavior.
Unfortunately, the hanging behavior starts immediately, I don't even see anything usable in kubelet.service logs. This happens with both my fork with Azure cloudprovider and with the v1.2.4 hyperkube image.
Not really sure what's going on. I'm on xenial with the upstream docker the same way you install it on GCE.

It gets more confusing. If I start kubelet.service without any manifests in the manifest directory, it will start fine. I can move the manifests into place and it will start the pods and I get a healthy cluster.
If I start kubelet.service with the manifests already in place as one normally would, it results in the hanging behavior described. Here's a screenshot that shows me starting kubelet.service after placing the manifests (ignore the failure at the top, it's just from me stopping it). Immediately after executing, everything grinds to a halt. top updates a few times over a 10 second period before it stops completely. I can't even seem to reboot the VM from the Azure side.
Additionally, If I take kubelet.service , and remove the systemd boilerplate and isolate just the docker run into a script (kubelet.sh) and execute that script with the manifests in place, everything works as expected.
So I guess it has something to do with systemd. I'm still not sure what though.

Closing this issue as min-turnup moved to the kubernetes-anywhere repo.


Fix RenderDecorator abstract class

RenderDecorator should implements RenderableInterface. You must be sure in tests, RenderDecorator have renderData method.

to remove. Sorry.


GoogleMap refs undefined when using GoogleMapLoader

This console.log() will return undefined:
class MyMap extends Component {

  componentDidMount() {
    console.log(this._mymap);
  }

  render() {
    return (
      <GoogleMapLoader
        containerElement={

        }
        googleMapElement={
          <GoogleMap
            ref={(map) => this._mymap = map}
            defaultZoom={3}
            defaultCenter={{lat: -25.363882, lng: 131.044922}}>
          </GoogleMap>
        }
      />
    );
  }
}

Is there a way to save a map reference at all? It works fine if you don't use GoogleMapLoader, but as soon as you nest it, references to the map will always be undefined and cannot be saved.

If you need a reference of map object, You can try like this:
ref={googleMap => {
if (!googleMap) {
return ;
}
console.log(googleMap);
this.gmap = googleMap;
} }
this.gmap.props.map will give you the reference to map .

The issue was that I was doing an initial map render and then updating it with Ajax. That caused issues with the ref on componentDidMount(). I moved my logic to componentDidUpdate() to properly get a hold of the map ref.

Glad it's resolved! We're also looking for maintainers. Involve in #266 to help strengthen our community!

Can I have multiple markers in this like below -
import React, {PropTypes} from 'react';
import {GoogleMapLoader, GoogleMap, Marker} from 'react-google-maps';
import _ from 'lodash';
class MapContainer extends React.Component {
render() {
return (

<GoogleMapLoader
containerElement={

}
googleMapElement={
<GoogleMap
defaultZoom={10}
//defaultCenter={{ lat: latitude, lng: longitude }}
>
{_.map(this.props.areas, (a, i) => {
let lat = parseFloat(a.lat.replace('"','').replace('"',''));
let lon = parseFloat(a.lon.replace('"','').replace('"',''));
console.log(lat)
console.log(lon)
return (
<Marker key={i}
position=  {{  lat : lat, lng : lon }}
defaultAnimation={2}
/>
)
})}

}
/>

)
}
}
MapContainer.propTypes = {
areas: PropTypes.array
}
export default MapContainer

Please refer to Getting Help section in the README (or #469).

I'm getting undefined google error I don't know why as I've included all libraries
// External Dependencies
import React, { Component } from 'react';
import { withGoogleMap, GoogleMap , GoogleMapLoader,Marker} from 'react-google-maps';
// Internal Dependencies
import './style.css';
class HelloWorld extends Component {
static slug = 'nel_hello_world';
render() {
var google = window.google;
const GoogleMapExample = withGoogleMap(props => (
<GoogleMap
defaultCenter = { { lat: 40.756795, lng: -73.954298 } }
defaultZoom = { 13 }
>

));
// const Content = this.props.content;
 return(

    <GoogleMapExample
      containerElement={ <div style={{ height: `500px`, width: '500px' }} /> }
      mapElement={ <div style={{ height: `100%` }} /> }
    />

);
}
}
export default HelloWorld;

@naveed520
The repo of this project is unmaintained more than a year, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.com/
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.com/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=<EMAIL_ADDRESS>Enjoy!


ParameterValidation: crash on vkUpdateDescriptorSets

Hi,
the parameter validation layer crashes with the following setup:
VkWriteDescriptorSet update;
update.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET;
update.pNext = NULL;
update.dstSet = valid_descriptor_set_handle;
update.dstBinding = valind_binding_index_of_the_descriptor_set;
update.dstArrayElement = 0;
update.descriptorCount = 1;
update.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
VkDescriptorImageInfo img_update;
update.pImageInfo = &img_update;
imgUpdate.imageLayout = valid_image_layout_for_sampling;
imgUpdate.imageView = valid_view_of_a_valid_image;
imgUpdate.sampler = valid_sampler_handle;
vkUpdateDescriptorSets(device, 1, &update, 0, NULL);

This code will crash because some pointers are not set and the checker ignores VkWriteDescriptorSet::descriptorType and deferenses these invalid pointers.
The function in question is parameter_validation_vkUpdateDescriptorSets in file parameter_validation.h.

Hi @TiemoJung. I know I had talked to @dustin-lunarg about this previously and I believe it may already be fixed. Assigning to him to confirm.

Hi, just updated to 8dc6deec07567c276e52475a6d71faf979463765 but still crashes because of the described behavior.

I have submitted PR #596 to address this.  There was an issue with the autogenerated code in parameter_validation.h always checking pBufferInfo[i].buffer when pBufferInfo was not NULL.  An uninitialized pBufferInfo value would lead to a crash.

The fix for this should now be on master.


API reference is missing the 401 status code

Documentation does not contain the 401 code. When I send a request without an API key, I get 401.
If you use 401 for "unauthenticated" and 403 for "unauthorized", then, additionally the description of status code 403 is incorrect, as it states the code being returned for both "unauthenticated" and "unauthorized".

Hi @akomm,
thanks for pointing that out. I'll add this asap.

Resolved this via commit https://github.com/shipcloud/shipcloud.github.io/commit/400b16494b3b82e2b8bd7e3211266c8b54285200


fix: backendtls minversion

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #3834

/retest

can you add a test for this?


IPv6 on hosts

Hello,
Is IPv6 supposed to be enabled or disabled on seapath hosts ?
I just deployed a cluster and ipv6 is enabled.
Or maybe it depends on the image/distro ?
Thanks.

see #60

closed by #60


GitHub Actions: Add Python 3.10 and 3.11 to testing

# FIXME github recognizes 3.10 as 3.1 lol

This is not a GitHub problem, it is a YAML problem. https://dev.to/hugovk/the-python-3-1-problem-85g
Python 3.11 release candidate 2 https://www.python.org/download/pre-releases

Thanks for fixing this issue in our CI configuration! I apologize for the delay -- it seems like your the GithubActions checks for this PR have been automatically removed due to inactivity over 30 days... We'd love to have your changes merged once we verify that they don't break the GithubAction runs!

Trying to enable workflow runs for this PR by closing and reopening


Add modern-node

https://github.com/sheerun/modern-node

For CLI tools, the bar is especially high, and unless it's something very awesome

I think it's awesome through the roof but it's up to you to decide :P
This project is similar just to your boilerplate but works differently:

It's not meant for cloning but installing or creating with create-modern-node
It uses jest instead of ava, it uses prettier+eslint+standard instead of xo
It has built in precommit hook so installing husky is not necessary

I've put it next to your package instead of at the bottom because these two are most similar in functionality.

I think the naming is unfortunate. It has the same problem as Standard. The naming fools people into thinking this is the "modern" way of doing node modules, while it's really just your opinionated preference, just like Standard.

I mean, I’m not saying I won’t accept it, but maybe you want to do something about the marketing?

Unfortunately I cannot change name of module, but I've changed marketing to "Toolkit for creating node modules with Jest testing, Prettier formatting, and Standard linting" for now

I've updated description here as well


SOAP namespace should be a variable

Hey, for the connections that we're making to salesforce, we need to use a different namespace. Currently, the SOAP_NAMESPACE constant holds the namespace value, which is hardcoded to 'urn:enterprise.soap.sforce.com'.
I would propose that the builder get an option to modify the namespace during composition time.
What do you think?

Agree!


Added ability to provide multiple merchant capabilities

I was missing the ability to add multiple merchant capabilities, I noticed this was raised before  #20  so I took a moment to add them.
The example is now showing an example use of the merchantcapabilites parameter
AppleParameters(
    merchantIdentifier: 'example_id',
    billingContact: Contact(
      emailAddress<EMAIL_ADDRESS>      postalAddress: PostalAddress(
        street: 's',
        city: 'c',
        state: 'st',
        postalCode: '123321',
        country: 'ct',
      ),
      name: PersonNameComponents(
        familyName: 'qwe',
        middleName: 'ewq',
        namePrefix: 'a',
        nameSuffix: 'h',
        nickname: 'test',
        phoneticRepresentation: PersonNameComponents(
          middleName: 'ewq2',
          givenName: 'rty2',
          namePrefix: 'a2',
          nameSuffix: 'h2',
          nickname: 'test2',
        ),
      ),
    ),
    shippingContact: Contact(
      emailAddress<EMAIL_ADDRESS>    ),
    merchantCapabilities: <MerchantCapabilities>[
      MerchantCapabilities.threeds,
      MerchantCapabilities.credit,
    ],
);

Thanks for your PR, I looked it up, could you fix it?

Made the changes you proposed. Could you take a look at it again?

I also bumped flutter_svg version as they recently released bumped the major version.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1775

Questions ?
Please refer to the Backport tool documentation


Exercise 2: Define the real estate properties model

In this PR, I implemented the following tasks:

[ ] Added a new directory(models) to store models python files
[ ] Created models/estate_property.py and models/__init__.py files
[ ] added minimum definition for the estate_property model

Hey @mgrenson
I completed all changes about adding a new empty line at the of each file, Here you can find an example in local code:


Add baltic languages

IMHO, we should think about a better solution for translations. Mixing translation string and business logic in this scale is not good for maintainability. 🤔

:+1: Yes, agreed, we actually recently discussed such plans to move translations to some more standard solution (like key-value tuples json) , and we may need to do it in some point later. Because current solution is hard to maintain no only when adding new translations, but in case of adding new/modifying current  translation strings.


Add support for line wrapping to log view

Right now, log lines longer than terminal width are truncated -- ideally we would be able to wrap these into a second line.

create pull request #108, have a look, if everything is fine, we can close this


ERC-20 token import

Issue/Task Number: #701
Closes #701
Require #693
⚠ Work in progress. Preliminary reviews for red flags are appreciated!
Overview
This PR adds a new endpoint /token.import that allows the admin to import an existing ERC-20 token on the blockchain into the eWallet.
Changes

Add EWallet.TokenGate to support business logic for token import.
Also moved /token.create business logic into this EWallet.TokenGate.
Add AdminAPI.V1.TokenController.import/1
Add a GethSimulator (pun intended) to simulate request/response from geth. Used for testing.
Add a new ledger field to the existing EWalletDB.Token to identify the token's residing ledger. Either ledger: "local" or ledger: "external"

Implementation Details
The ExternalLedger.TemporaryAdapter is intended for use during this PR's development only. It should be replaced completely with the adapter that will come out of #693.
Basic flow

An admin makes a request to /token.import with contract_address and adapter.
The eWallet looks up the contract address from the blockchain tied to the given adapter above.
If the contract with the given address is found, the eWallet creates an EWalletDB.Token and ExternalLedgerDB.Token corresponding to that token contract.

Alternative path: If the admin provides token info such as name, symbol, subunit_to_unit, etc. The admin-provided info overrides the values from the token contract.

Errors if the token contract could not be retrieved, or if there's any duplicate token name or symbol already inside the eWallet.

 Any special requirement?

Closing this for now. Will re-submit once integrated with #807 changes


ComboBoxNewWithModel  not work

I creat a combobox, with model,
envStore, _ := gtk.ListStoreNew(glib.TYPE_INT, glib.TYPE_STRING)
iter := envStore.Append()
envStore.Set(iter, []int{0, 1}, []interface{}{1, "apple"})
envStore.Set(iter, []int{0, 1}, []interface{}{2, "pear"})
envStore.Set(iter, []int{0, 1}, []interface{}{3, "cat"})
envStore.Set(iter, []int{0, 1}, []interface{}{4, "dog"})
cbEnv, _ := gtk.ComboBoxNewWithModel(envStore)

Actually, the combobox is empty.  Any Suggestion?
Thanks!

The main problem with your code is you need to add CellRendererText to the combobox for the text to be displayed.
Below is a working example of the combobox with model.
Info from the vala docs https://valadoc.org/gtk+-3.0/ and gotk3 examples https://github.com/gotk3/gotk3-examples/blob/master/gtk-examples/treeview/treeview.go.
Looking up gotk3 types, functions and return types https://godoc.org/github.com/gotk3/gotk3/gtk
If you need any more help I am happy to reply, I am not a go programmer but have programmed in gtk3 in Python and Vala.
You can search for examples from Python and Vala for different widgets and then convert to Go as most of the time they have similar names.
Hope this helps you.
package main

import (
	"log"

	"github.com/gotk3/gotk3/glib"
	"github.com/gotk3/gotk3/gtk"
)

// IDs to access the liststore columns - change the names to something more meaningful
const (
	COLUMN_INT = iota
	COLUMN_STRING
)

func main() {
	// Initialize GTK without parsing any command line arguments.
	gtk.Init(nil)

	// Create a new toplevel window, set its title, and connect it to the
	// "destroy" signal to exit the GTK main loop when it is destroyed.
	win, err := gtk.WindowNew(gtk.WINDOW_TOPLEVEL)
	if err != nil {
		log.Fatal("Unable to create window:", err)
	}
	win.SetTitle("Simple Example")
	win.Connect("destroy", func() {
		gtk.MainQuit()
	})

	envStore, err := gtk.ListStoreNew(glib.TYPE_INT, glib.TYPE_STRING)
	addRow(envStore, 1, "cat")
	addRow(envStore, 2, "dog")

	cbEnv, _ := gtk.ComboBoxNewWithModel(envStore)
	renderer, _ := gtk.CellRendererTextNew()
	cbEnv.PackStart(renderer, true)
	cbEnv.AddAttribute(renderer, "text", 0)
	cbEnv.SetActive(0)

	renderer, _ = gtk.CellRendererTextNew()
	cbEnv.PackStart(renderer, true)
	cbEnv.AddAttribute(renderer, "text", 1)
	cbEnv.SetActive(0)

	// Add the label to the window.
	win.Add(cbEnv)
	// Set the default window size.
	win.SetDefaultSize(800, 600)

	// Recursively show all widgets contained in this window.
	win.ShowAll()

	// Begin executing the GTK main loop.  This blocks until
	// gtk.MainQuit() is run.
	gtk.Main()
}

// helper function to add liststore rows of data
func addRow(listStore *gtk.ListStore, number int, stringPassed string) {
	// Get an iterator for a new row at the end of the list store
	iter := listStore.Append()

	// Set the contents of the list store row that the iterator represents
	err := listStore.Set(iter,
		[]int{COLUMN_INT, COLUMN_STRING},
		[]interface{}{number, stringPassed})

	if err != nil {
		log.Fatal("Unable to add row:", err)
	}
}

Here is a link https://valadoc.org/gtk+-3.0/Gtk.ComboBox.html to a combo box example with connect signal in Vala. It will need converting to gotk3. But it gives you the idea on how to do this.


Working dynamic-dependency mode

Static-dependency mode now works.  Added the --host flag so that testapp can accept requests from arbitrary addresses (including <IP_ADDRESS>).

Oops, README.md doesn't list --host in the "How to use" section.

Looks okay now


proxyUrl is now passed to msal-node's httpClient via it's constructor

This PR is branched off of the PR:
Added functionality to MSAL-Node's HttpClient that supports custom http(s) agents

Codecov Report

Merging #5599 (adb5dbe) into dev (05d251e) will increase coverage by 0.00%.
The diff coverage is 78.94%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.50% <ø> (ø)

Carriedforward from c7eda94

msal-browser
86.28% <ø> (ø)

Carriedforward from c7eda94

msal-common
85.84% <100.00%> (ø)

Carriedforward from c7eda94

msal-core
82.84% <ø> (ø)

Carriedforward from c7eda94

msal-node
83.39% <76.47%> (+0.01%)
:arrow_up:

msal-node-extensions
76.03% <ø> (ø)

Carriedforward from c7eda94

msal-react
94.68% <ø> (ø)

Carriedforward from c7eda94

node-token-validation
88.88% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-common/src/authority/Authority.ts
90.42% <ø> (ø)

lib/msal-common/src/client/BaseClient.ts
68.29% <ø> (ø)

lib/msal-common/src/client/DeviceCodeClient.ts
86.90% <ø> (ø)

lib/msal-common/src/config/ClientConfiguration.ts
100.00% <ø> (ø)

lib/msal-common/src/network/INetworkModule.ts
33.33% <ø> (ø)

lib/msal-node/src/network/HttpClient.ts
92.42% <69.23%> (-0.44%)
:arrow_down:

lib/msal-common/src/authority/AuthorityFactory.ts
100.00% <100.00%> (ø)

lib/msal-common/src/authority/RegionDiscovery.ts
52.63% <100.00%> (ø)

lib/msal-node/src/client/ClientApplication.ts
73.63% <100.00%> (ø)

lib/msal-node/src/config/Configuration.ts
100.00% <100.00%> (ø)

... and 7 more


What is the zip file of appium ?

In the gradle plugin there is this part:
appium {
    tests file("path to zip file") // Required
    useTestNG() // or useJUnit()
}

What is the path to zip file ?
I'm using gradle of course.
Thanks!

The zip file is your test package.
and you can find more information at https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-intro.html
hope that helps

https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-java-testng.html

How to generate the single jar file with all tests info, using gradle builds?

@satheeshkumarf  does this help to answer the inquiry?
https://stackoverflow.com/a/52398377/8016330

I'm still unable to create a zip file with the link provided above. When I use from sourceSets.test.runtimeClasspath, I get this error:
 "ERROR: Could not get unknown property 'test' for SourceSet container of type org.gradle.api.internal.tasks.DefaultSourceSetContainer."
My code is located under: app/src/test


brew.sh would be nice

A package for brew.sh would be nice :)

Ya, will be the next thing I'll do ;)

You can use the Brew Test Bot to do automated reviews and testings.

Brew PR is up: https://github.com/Homebrew/homebrew-cask/pull/115138

You may use brew install ice8lue/homebrew-taps/re-trace to install or brew tap ice8lue/homebrew-taps and then brew install re-trace.


support for function scoped struct in type method

Is your feature request related to a problem? Please describe.
Using the gin framework, we have the handlers generally defined in a "service struct".  The handlers often define their own input and output structs.  The current function scoped struct support does not handle this case.
package bob

type service struct {}

// @Success 200 {object} bob.service.handleARequest.output "object containing the A"
func (s *service) handleARequest(ctx *gin.context) {
          type input struct {}
          type output struct {A int}
          c.JSON(http.StatusOK, output{A:5}
}

Describe the solution you'd like
Extend the function scoped struct feature to support methods of a type.
Describe alternatives you've considered
Pulling the struct out of the method works but is not the desired solution.
Additional context
If this is desirable, I can probably add it.

This feature is urgently needed

Afaik, bob.handleARequest.output should work. (It is working for me, I am using branch v2, generation openAPISpec 3.1.0).
Yes, struct name is omitted, which I don't like because of possible collisions, but it is working ok for me.

@svennjegac does it work on the non-v2 branch?

Doesn't work here:
2023/10/25 12:31:03 ParseComment error in file <redacted>/service.go :cannot find type definition: serviceStruct.serviceStructMethod.serviceStructMethodType
internal/swagger/main-info.go:3: running "swag": exit status 1

$ swag --version
swag version v1.16.2
this works:
package testbed

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type service struct{}

// @Success 200 {object} testbed.handleARequest.output "object containing the A"
func (s service) handleARequest(c *gin.Context) {
	type input struct{}
	type output struct{ A int }
	c.JSON(http.StatusOK, output{A: 5})
}

// @Success 200 {object} testbed.handleBRequest.output "object containing the A"
func (s service) handleBRequest(c *gin.Context) {
	type input struct{}
	type output struct{ B int }
	c.JSON(http.StatusOK, output{B: 5})
}

Updated swagger:
+        "testbed.handleARequest.output": {
+            "type": "object",
+            "properties": {
+                "a": {
+                    "type": "integer"
+                }
+            }
+        },
+        "testbed.handleBRequest.output": {
+            "type": "object",
+            "properties": {
+                "b": {
+                    "type": "integer"
+                }
+            }
+        },

Multiple service structs with same name and objects does not.   Generates the same swagger as the above without returning an error.
Probably can live with that
package testbed

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type service struct{}

// @Success 200 {object} testbed.handleARequest.output "object containing the A"
func (s service) handleARequest(c *gin.Context) {
	type input struct{}
	type output struct{ A int }
	c.JSON(http.StatusOK, output{A: 5})
}

// @Success 200 {object} testbed.handleBRequest.output "object containing the A"
func (s service) handleBRequest(c *gin.Context) {
	type input struct{}
	type output struct{ B int }
	c.JSON(http.StatusOK, output{B: 5})
}

type serviceN struct{}

// @Success 200 {object} testbed.handleARequest.output "object containing the A"
func (s serviceN) handleARequest(c *gin.Context) {
	type input struct{}
	type output struct{ A string }
	c.JSON(http.StatusOK, output{A: "5"})
}


[regression] optimization the result check for test_json_load

Proposed changes

this pr is used to optimization the result check for test_json_load.

Issue Number: close #xxx
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (No Need)
Has document been added or modified: (No)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM

LGTM


[Max Payne and Max Payne 2] How to change the FOV?

In widescreen_fix.ini there's only line "COMICS_MODE = 0". Do I have to create a command for changing the FOV?
EDIT: Sorry, only applies to first game.

You can't via fix, this ability was bugged and removed. You can change it in game with console commands.

It can also be changed permanently in the MP2_Init.ras file. Instructions here


typo?

The text reads: "The versions would be the current major version on Azure (n) and the two prior major versions (-2). "
However, the create database screen shows 4 versions (9.5 to 11)?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 63c8d482-9904-74ad-b0ad-5a8fc188510d
Version Independent ID: be1ac595-a36f-ad23-4507-e4bdcfc5ad33
Content: Supported versions in Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/concepts-supported-versions.md
Service: postgresql
GitHub Login: @rachel-msft
Microsoft Alias: raagyema

@omiday The answer lies in the document itself. Following is the excerpt from the document:
"Version syntax
Before PostgreSQL version 10, the PostgreSQL versioning policy considered a major version upgrade to be an increase in the first or second number. For example, 9.5 to 9.6 was considered a major version upgrade. As of version 10, only a change in the first number is considered a major version upgrade. For example, 10.0 to 10.1 is a minor version upgrade. Version 10 to 11 is a major version upgrade."
As the document explains that before version 10, major version upgrade was also considered when second number increased but that changed after version 10. Only first number increase would be considered a major upgrade. By this logic, current major version is 11. The versions supported will be 10 and 9. Since there are two major version with first number as 9, both are supported.
This will change once the next major version is released, assuming it is version 12, the supported versions will be only v11 and v10.
Hope this helps. Please do let us know if you need further clarification regarding this.

Gotcha, but then why not include 9.4 (https://www.postgresql.org/docs/)?

@omiday There is no direct one to one mapping between what PostGreql supports and what Azure DB for PostgreSQL support. But for further clarification i am assigning this to doc author.
@rachel-msft  Please check the issue and comment regarding the same.

@omiday, thanks for reaching out. Our aim is to support n-2 versions. At the moment we support more versions than that.
We started out with 9.5 and have released the new major versions since then. This is why we don't have 9.4.

@omiday Hopefully the information must have answered your questions. We will go ahead and close this case if you don't have any more questions.


XPath parse issue

Hi Steve,
So, if you can see in some of the work done for RelaxNG support, there is a stylesheet called "PatternPrepper" that I plan to use to convert the schema file into a pattern for validating the document. (Its running through most of the simplification steps as specified in https://relaxng.org/spec-20011203.html#simplification)
However, building the transformation context appears to be tripping up on the xpath expression on line 62.
*[namespace-uri() != 'http://relaxng.org/ns/structure/1.0']

I'll take a look when I can, it could 100% be the stylesheet in question.
patternprepper.zip

Hi Daniel,
I don’t think the namespace-uri function has been implemented. I’ll take a look ASAP.
Cheers,
Steve

On 12 Jul 2024, at 8:19 AM, Daniel Murphy @.***> wrote:
Hi Steve,
So, if you can see in some of the work done for RelaxNG support, there is a stylesheet called "PatternPrepper" that I plan to use to convert the schema file into a pattern for validating the document. (Its running through most of the simplification steps as specified in https://relaxng.org/spec-20011203.html#simplification)
However, building the transformation context appears to be tripping up on the xpath expression
*[namespace-uri() != 'http://relaxng.org/ns/structure/1.0']
I'll take a look when I can, it could 100% be the stylesheet in question.
patternprepper.zip https://github.com/user-attachments/files/16184190/patternprepper.zip
—
Reply to this email directly, view it on GitHub https://github.com/ballsteve/xrust/issues/85, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCP5QMZR4VM2LBLAVG6DZDZL4AFRAVCNFSM6AAAAABKX2GVIWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDIMRUGE3DQOI.
You are receiving this because you are subscribed to this thread.

So checking the dev branch, the error is now:

Error parsing match pattern "rng:[name()='data' or name()='value'][not(@datatypeLibrary)]": extra characters found: "":[name()='data' or name()='value'][not(@datatypeLibrary)]""

New error messages are still progress. 😄

This error is still there as of xrust 1.1


[shapes] A little error in the function of the collision between lines

In the function CheckCollisionLines(....) I found this bit of code:
const float xi = ((startPos2.x - startPos2.x)*(startPos1.x*endPos1.y - startPos1.y*endPos1.x) - (startPos1.x - endPos1.x)*(startPos2.x*endPos2.y - startPos2.y*endPos2.x))/div;
"startPos2.x - startPos2.x" is always 0.

Reviewed in commit https://github.com/raysan5/raylib/commit/3f6a08535fab019512f7c4560878d76fee77f83a.


Error validating signed message with quoted block

As mentioned in issue #2:
I'm not sure if this is the same issue or a different one, but I'm also
getting "Object reference not set to an instance of an object" if the
message I'm verifying has a PGP block that has been > quoted.

There seems to be another error with signature only:
Working, if sender is using PGPinline, no special characters.
NOT working, if sender is using PGPinline with german Umlaute üöä in message body.
Recipient = Outlok2010 with Beta-46
Sender= Thunderbird/Enigmail or GPGrelay

I have also an issue with sign a message
privacy plugin told me (often - not every) that my signature are invalid (send me to CC)
only text messages
I can only attach pictures to github
@Meddington If i have your email i will forward an example

meddington at gmail dot com

@Meddington
Thanks - i've send you an example
I hope this helps

@Baebeca  - I was looking for the sample you sent me. What email was it from?

sender domain is @baebeca.de

what was the full email. Not seeing it.

HI have send you two mails with subject "Error validating signed message with quoted block #81" from lutz at baebeca dot de

Cross-fingers ;)

same Problem again. (Beta-55)
How i can help?


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid 👍
It also adds a link to get the latest APK from the Releases Section.
You can now eventually add the fdroid and/or f-droid tags that will appear on the right side of the repo.

thanks for the pull request and updating the read me :heart:


Ported Lolicon to Swift

I was bored.

Nice

I was bored too, ported this to 11 different languages and going to port it to assembly and cobalt later


Missing references to BZ2 and LZMA libraries

After adding Python.framework and OpenSSL.framework, there are missing references to functions in the BZ2 and LZMA frameworks.

This issue can be fixed by locating Python-iOS-support/build/iOS/{xz, bzip2}/lib/lib{lzma, bz2}.a and adding it to the Xcode project (which I did by dragging and dropping). This works, at least for the simulator.

This has been resolved in the new Python-Apple-support package, which merges iOS, tvOS and macOS support into a single package.


Any Support for different naming convention for key and certificate

Hi
We have used cert-manager to create certificates from the self-signed issuer. However, on inspecting the secret corresponding to the certificate, I see  that the secret data is in the form of :
a) ca.crt
b) tls.crt
c) tls.key
What if I want a different naming convention such as the name of tls.crt should be public.crt and the name of tls.key should be private.key? Is this feature currently supported?

In your Pod spec, you can remap keys in Secret/config map using the path field:
$ kubectl explain pod.spec.volumes.secret.items
KIND:     Pod
VERSION:  v1

RESOURCE: items <[]Object>

DESCRIPTION:
     If unspecified, each key-value pair in the Data field of the referenced
     Secret will be projected into the volume as a file whose name is the key
     and content is the value. If specified, the listed keys will be projected
     into the specified paths, and unlisted keys will not be present. If a key
     is specified which is not present in the Secret, the volume setup will
     error unless it is marked optional. Paths must be relative and may not
     contain the '..' path or start with '..'.

     Maps a string key to a path within a volume.

FIELDS:
   key	<string> -required-
     The key to project.

   mode	<integer>
     Optional: mode bits to use on this file, must be a value between 0 and
     0777. If not specified, the volume defaultMode will be used. This might be
     in conflict with other options that affect the file mode, like fsGroup, and
     the result can be other mode bits set.

   path	<string> -required-
     The relative path of the file to map the key to. May not be an absolute
     path. May not contain the path element '..'. May not start with the string
     '..'.

This should allow you to remap these files in your Secret resource to appropriate filenames in your Pod!


Add failsafe 2FA message function to mitigate SMS and email delivery issues

Story
As a 2FA Wallet User who asked a 2FA code, I want to click "try again" if I didn't receive the SMS after 60 seconds, so I can anyway use my funds if my mobile number or email provider are filtering messages.
As we know, users can activate 2FA in the wallet to protect their funds. This functionality asks a one-use, six digits code before clearing a transaction, sent by SMS or email. The user must open the SMS or the email, copy/paste the six digits in the dialaog opened by the wallet, and confirm the transaction.
Overall, we've seen in multiple occasions that mobile operators are filtering long SMS messages, creating the tricky situation where a user receives the first SMS (with the six digits) that enables the 2FA feature, but then they can't receive the routinary ones - effectively remaining locked out of their wallet.
This solution introduces a fallback method, with the goal to spare the support from helping these users, and give us a clear signal on how often the SMS or email delivery services are failing.
Acceptance Criteria

[ ] A 60 seconds countdown prevents the user from spamming a "send the 2FA code again" button
[ ] The backend sends a succinct message with little more than the six digits code
[ ] If fails again, replace the "send the 2FA code again" with a link to open a 2FA support ticket
[ ] Mobile ok
[ ] Tested

Unhappy Path
The user is unable to receive the SMS or the email, and needs to contact the support to get back access to his own funds. This process is long and frustrating, with an average resolution time of weeks.
Assets
It may require a small variation of the current copy, from "Resend" to "Contact the support":

NOTES
If there's an opportunity, these may be additional iterations to mitigate the issue:

Use alternative SMS and email providers
Allow users to pass the 2FA check by using instead a one-use backup code

@corwinharrell feel free to add your "copy" to the messaging
@MaximusHaximus what is the technical effort to add a "failsafe" message to the existing backend?


[11.x] Memoize requiring of view files to improve loop performance

Spent some time on this as a result of Taylor's tweet: https://twitter.com/taylorotwell/status/1781039378376146970
This reduces the main overhead of require calls when looping over 1000 components by storing the code, and running it through eval.
This seems to be something that Twig does as well when I was researching how evil calling eval in this case is https://github.com/twigphp/Twig/blob/12625c0c050db5a71d94ab8d599bf711673a41c3/src/Environment.php#L384 though I'm not that familiar with Twig.
This lowers the rendering in a testcase for me from 25ms to 11ms, though I'm not sure we'd want to use eval
Thanks to @mpociot mentioning it, it also skips an extra file_exists check.

Nice!
I did some benchmarks on this, comparing the getRequire and getRequireCallback performance, using a simple component that gets rendered 1000 times:
$view = <<<BLADE
@for (\$i=0; \$i < 1000; \$i++)
    <x-avatar :name="'Taylor'" class="mt-4" />
@endfor
BLADE;

$result = \Illuminate\Support\Benchmark::measure(function () use ($view) {
    Blade::render($view);
}, 1000);

Laravel has previously used eval() to render views back in the old days. There are a few caveats:

Eval'd code is never opcached, and runs at normal, non-opcache speed.

I'm curious how error handling via Flare / debug pages would be affected, since any errors in the view would generate errors like "error in eval'd code line 76", or something similar.

Update: after doing some testing on a Forge provisioned server, with Opcache enabled this PR is actually slower than the code we have. Likely due to evaluated code not being opcached.

Makes sense with opcache, maybe looking more into what I had in the first commit https://github.com/laravel/framework/pull/51139/commits/c325ceecaa6ffa4f3ca36312a8bc3668c96f84c3 would be more interesting then, if we can differentiate between components that can be wrapped in a callable and not.
That commit had issues with components that had arbitrary PHP code and/or use statements in the file, but otherwise had the same performance improvements.
I see @amir9480 has just opened a PR that seems to be doing the same but already has those checks https://github.com/laravel/framework/pull/51141 so I'll be closing this then.


Favorites/Likes

I've been working with TAGS and recently noticed that the data for 'favorites_count' is not coming into the Archive correctly.  I am wondering if Twitter changing the name from 'favorites' to 'likes' is impacting this functionality! I was using this very helpful blog post to add 'favorite_count' to the Archive sheet!
https://tags.hawksey.info/news/list-of-tags-column-names-that-can-be-included-in-archive-sheet/
Thanks!

Hmm - perhaps try favourites_count (favourites with a 'u')


Error when processing java version <IP_ADDRESS>

Cannot process java.home property, unknown format: [<IP_ADDRESS>]error when trying to read in version of Eclipse Adoptium Java <IP_ADDRESS> . Full error: https://github.com/scalameta/metals/actions/runs/6110428021/job/16583407524?pr=5626.

Fascinating - seems like the version changed just recently :D https://github.com/scalameta/metals/actions/runs/6097314874/job/16544701050#step:4:11


Explore "regex specs" for node*, symbol*, expr?, etc.

Reminder to me.

The issue concerns singletons. Should an expr? be a (42) (a collection with one element) or a 42 (a bare element). This issue intersects the vexing nilable hack to avoid keyed alternatives like [:id 42] and [:empty ()]. The nilable hack was introduce to save some legacy-mode functions. In legacy mode, something like (type-declaration ()) really means (type-declaration nil), because a type declaration is either a single symtab-id or nothing. Legacy-mode ASDL uses () as an alias for nothing. We need to do better. It's a design issue to figure out what better means.

MASR currently represents types like expr* as collections with a maximum length, via s/coll-of. It might be better to represent them with a regex spec. It's an experiment to try it.


Fix incorrect offset for old-format tilemaps

(while preserving the new behavior introduced in #31050)
Fix #33395
Also, added brackets to "for" cycle blocks as requires by our style guideline.

Thanks!


[CL]: Overflow Equation

Uni v3 claims these the first of these two formulas is more accurate and the later is used for overflows. We should investigate if this is needed for our implementation.
sqrtPriceNext = (liquidity * sqrtPriceCurrent) / ((liquidity) + (amountRemaining * sqrtPriceCurrent))
sqrtPriceNext = ((liquidity)) / (((liquidity) / (sqrtPriceCurrent)) + (amountRemaining))
See https://github.com/osmosis-labs/osmosis/blob/603a3504df0c7c98fa9fb6b7484e4ac962c34165/x/concentrated-liquidity/internal/math/math.go#L93-L115
Suggested Design
If the overflow equation is needed, we need to create a test that shows this overflow occuring. If it does not apply to us, we should simply remove the second equation and only use the first equation, with no need for an overflow test.
Acceptance Criteria

Full investigation into why two equations were required in the uni v3 design, and an explanation of why we do or do not need them
If we need both, a test is created to show the overflow protection
If we don't need both, only utilize a single one in all scenarios

In this logic, shouldn't we always run this if statement? Because (amountRemaining * sqrtPriceCurrent)  / (amountRemaining) will always equal sqrtPriceCurrent
product := amountRemaining.Mul(sqrtPriceCurrent)
 	// use precise formula if product doesn't overflow
 	if (product.Quo(amountRemaining)).Equal(sqrtPriceCurrent) {
 		denominator := liquidity.Add(product)
 		if denominator.GTE(liquidity) {
 			return liquidity.Mul(sqrtPriceCurrent).QuoRoundUp(denominator)
 		}
 	}

AFAIU, there might be some difference from rounding and truncation behavior at the precision end.
I'd try following approach to investigate this:

trying to see if all existing CL unit tests pass
write more unit tests for GetNextSqrtPriceFromAmount0RoundingUp trying to reproduce hitting the if condition and not hitting it
Observe if there is any difference between having the existing logic and return liquidity.Mul(sqrtPriceCurrent).QuoRoundUp(denominator) only.

If there is no difference, we can directly implement the suggestion here. If there is some, we would have to deep-dive into why this rounding logic is needed


training and prediction of SVM for new interfaces

Added Interface for training of SVM
Added common interfaces of Infer for all algorithms
Added Interface for infer for SVM
Implemented thunder method for training of SVM
Implemented infer of SVM
Implemented convector convert_from_daal_homogen_table
Created example for SVM

❓  Naming parameters tau and c can changed
⚡ Using kernel function as parameter will be in next PR
⚡ Support for GPU and DPC++ will be next PR

@rlnx , @michael-smirnov Please, look a prototype example: naming parameters, using algorithm and consistency with other examples and with style.

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

@rlnx , @michael-smirnov , @makart19 , @amgrigoriev, @mchernov-intel Please, make review for this PR.

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run


[WIP] Update go-restful to v3.10.1

I cherry-picked #8221 and ran go mod tidy and go mod vendor like #8271. Addresses CVE-2022-1996.
Marked WIP while resolving test failures
Fixes #8168

Addresses CVE-2022-1996.

This is misleading information.
The affected component (CrossOriginResourceSharing, emicklei/go-restful@fd3c327) is not used in containerd. So, containers isn't affected by this CVE.

To clarify, as added to #8168, bumping the version of go-restful would make scanning tools used for compliance (Prisma Cloud in my case) happy. Currently they see a go-restful v3.7.3 inside containerd and shout "CVE!".

@thaJeztah @matrey @AkihiroSuda All good points. Do we have a clear preference here between satisfying our scanner overlords or minimizing unnecessary changes? Given that we've already brought the changes into main, I assume some risk analysis has already been done. If we pass on cherry-picking this commit, we should close #8168.
On a side node, I saw a couple of different CI/Vagrant failures in different test runs. Is there any known flakiness with those tests, and is there any documentation on running these tests independently for debugging?

You should report a bug to your scanning tool vendor.  The govulncheck tool can be used to verify whether a given binary invokes code affected by a vulnerability.  https://pkg.go.dev/vuln/GO-2022-0619 is the relevant Go vulnerability report and is not detected by govulncheck.

Do we have a clear preference here between satisfying our scanner overlords or minimizing unnecessary changes?

My general preference would be to avoid introducing unnecessary changes just to satisfy a (buggy) scanner.  If there are other reasons to update (bug fixes, performance fixes) that could be a good reason to update independently of the scanner issue.

Given that we've already brought the changes into main, I assume some risk analysis has already been done

We're a bit more conservative over changes that make their way into our stable branches (release/1.6 and release/1.7).  1.6 is an LTS release, so dependency updates are in-scope, but I'd prefer to have a reason to do it (i.e., it improves containerd 1.6).

@samuelkarp That all makes sense. Thanks for response. I'll close this PR.

@AkihiroSuda Tx for looking. What's your recommendation on the rewording and why you want to revive this PR?

What's your recommendation on the rewording

"Silences a false alert about CVE-2022-1996. containerd is not affected by this CVE."

and why you want to revive this PR?

Because the update seems harmless.
Still needs to be reviewed carefully, though.

We already are on 3.10.1 in main and release/1.7 went out with 3.10.1. Seems our one use of go-restful (the streaming server endpoint in the CRI plugin) is unaffected by whatever path issue existing in 3.10.1.
Since this is a "cherry pick", I think we should either merge it since 1.7 and main are fine with it, or close it and update main to 3.10.2 and then cherry pick that back to release/1.7 and release/1.6

We already are on 3.10.1 in main and release/1.7 went out with 3.10.1. Seems our one use of go-restful (the streaming server endpoint in the CRI plugin) is unaffected by whatever path issue existing in 3.10.1.
Since this is a "cherry pick", I think we should either merge it since 1.7 and main are fine with it, or close it and update main to 3.10.2 and then cherry pick that back to release/1.7 and release/1.6

Agreed. Would be good to close the book. If we'd rather update it to 3.10.2, I can put up the PR.


Thanks for adding the experimental feature!

Just wanted to pop by and say thanks for adding the experimental feature! It makes life much easier for us, since we use the pkg-config feature. Now we don't have to worry about keeping the zstd version in sync with zstd-rs and can update both independently.

Happy to help!
Just published zstd=0.7.0 with the recent changes.


Feature request: Automatically generate code example

I had a look and couldn't find an example of doing this, but it would be really cool if we could automatically generate a cURL (or php or ruby) code example for queries and mutations, in a similar way as postman docs.

Is there any library out there already for doing this easily in documentation?
If there was such a library that would make it easy then I'd be much more inclined to consider doing it.
@mapkyca

Maybe httpsnippet?

That looks like it could work!


query tags with grafana variables

templating is a great feature in grafana
it would be nice to be able to nest variable
$nodename with query=tags/nodename:.*
$metric with query=tags/nodename:$nodename,descriptor_name:.*

We can implement nested variables, however I am not sure about this use case because here, with your query tags/nodename:$nodename,descriptor_name:.* you would get tags for both nodename and descriptor_name, mixed together. I guess this is not what you want, you want only the descriptor names here.
In other words, we must find a way to distinguish in query the tags that we want to be returned from the ones used for refining the query. Some kind of query language: SELECT descriptor_name WHERE nodename=$nodename. That brings the feature request to another level :)

I've added support for nested variable (PR #61 to be merged) , however as said above I doubt it will be enough for your use case. Next step could be a better query language, that we could put in relation with https://github.com/hawkular/hawkular-grafana-datasource/issues/52

thanks, indeed it could be better with the query language.

The tags query language has been released since 1.0.8


Clean "Cards" block and more leadership cards to its own block

Current Cards block has many leadership cards & lightbox specifc code that is more snowflake use-case and should be refactored to its own block.
Testpage: https://main--moleculardevices--hlxsites.hlx.page/leadership

Done here: https://github.com/hlxsites/moleculardevices/pull/551


Captcha ERROR

Recently, everything worked fine (October 10-11), but yesterday these problems started. Please help fix this!

Recently, everything worked fine (October 10-11), but yesterday these problems started. Please help fix this!

I turned on and off "MORE_ACCURATE_CAPTCHA_SOLVER", it still did not help to solve this problem! The error remained, the program does not work(((

Just click done or turn off viruss protection

Just click done or turn off viruss protection

Still the problem is not solved! I have already done this.
And on macos there is no antivirus protection and viruses too))
And why did it work for a couple of days at first, and then yesterday it stopped. I see in the chat many people started having similar problems yesterday and today.((

I fixed it. Thanks!


Overwrite Unsupported Write-* Functions Using Bootstrapper

Currently, Write-Output is the main equivalent to log.Info() for .ps1 Azure Functions -- which writes to the console. However, this is not intuitive given one's inclination to use commands like write-host and write-verbose.
Suggestions
Use a bootstrapper that (at a minimum) overrides write-host/write-verbose/write-debug to write-output. An alternative is to use "system messages" in a similar vein as to how Octopus Deploy's agent bootstraps powershell.

I'd prefer to rather have this documented than have an application mess with my code (even if my code is wrong!).
What I might accept is something that parses the code upon change and spits out an error saying something like 'unsupported cmdlets detected'. Then again, they're not "not supported", those streams just don't make it to the console output.
So, maybe the host could also show those output streams?


aulevel: improve calc_rms_s16 perf

Test Code: https://gist.github.com/sreimers/67440f237cae34537c9c1667900a7c57
Before:
auframe_silence2 4761 usecs (2000)

After:
auframe_silence2 1424 usecs (2000)

(Compiled with RELEASE=1)

How much has the second commit influence on the performance?

How much has the second commit influence on the performance?

665 usecs -> 1424 usecs (x86_64 machine)
But without, rms calculation is broken, since the int32_t overflows permanently (with len > 2  and max int16_t values for example).

Okay, then this PR seems to be the best what is possible. Although I can't see why auframe_silence2() is faster than auframe_silence(), I will make an update in my rem PR.


Global shortcuts: Unknown request

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit v0.39.1  ().
Date: 2024-04-16
Tag: , commits: @COMMITS@

flags: (if any)

System Information:
System name: Linux
Node name: janrupf-workstation
Release: 6.6.29
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Apr 27 15:11:44 UTC 2024

GPU information:
09:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:2206] (rev a1) (prog-if 00 [VGA controller])
42:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240502.63c3a29"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

Bug or Regression?
Bug
Description
hyprctl globalshortcuts yields unknown request.
I assume this is similar to https://github.com/hyprwm/Hyprland/issues/5349, but I'm not entirely sure.
How to reproduce
Run hyprctl globalshortcuts
Crash reports, logs, images, videos
No response

Hey i wanted to add that it still happens as of this day

same here, still happens.


Refine team values and design principles

Context
We need to close the loop on restrategization week(s) and forge ahead with our values and principles in mind.
Done when

We have met, discussed overlap, articulated and agreed upon values/principles to help us make decisions going forward.
We have divided up the remaining work in order to close the loop on these two initiatives.

Links

Research refresh
Team Values
Design Principles
Vision

Latest summarized here: https://docs.google.com/document/d/1fdkRZlewKP6Sg_yc2cZxWSrtHGfNbyZTkwvyTnHNmsM/edit#bookmark=id.38aetz820fgi

@janicelagiorgia anything to add re: team values? or should we fold this into the content strategy task?


feat: add get_internal_type method

@goztrk
Description
I've added some code to address an issue where referencing a NanoidField set as a primary key with a foreign key results in an invalid input syntax for type bigint error.

Thanks for your contribution @r74tech


Bug Fix, Formatting Fix, Addition of Get-ADSIUserPrimaryGroup

The following changes were made

Bug Fix

Fixed issue #70
This was due to Primary User Group not being added to overall Group Membership

Formatting in README.md

Numbering was not correct in regards to the last changes made
Cleaned it up

Added Get-ADSIUserPrimaryGroup.ps1

This was added as part of the resolution for issue #70
By putting this function in it's own ps1 file, it keeps things clean and organized
Provides an additional 'feature' (is not limited to helping fix issue #70 - you can now get a users primary group very easily)

@lazywinadmin - apologies for all of the pull requests lately!  I wanted to make sure to get these fixed, though.

@lazywinadmin I was able to get the issues resolved with Azure Pipeline tests.. All tests are now passing... With your approval, this Pull Request should be good to go - it resolves two open issues (#70 and #72)

Thanks @oze4
I'll review the code shortly, I fixed the issue yesterday but I left a remaining the Pester issue on purpose.
I'm unsure why i see some of the changes i did yesterday in your PR.
Thanks again

@lazywinadmin The issue I found was that you cannot put any other links within the .NOTES section of any given comment block.  More specifically, the .NOTES section has to contain the following URL, or else the build will fail... (this URL is required: https://github.com/lazywinadmin/ADSIPS)  In my notes, I added the URL for each issue I was resolving, this caused the build to fail.

Thanks @oze4
I'll review the code shortly, I fixed the issue yesterday but I left a remaining the Pester issue on purpose.
I'm unsure why i see some of the changes i did yesterday in your PR.
Thanks again

Yea, that pull request was a little painful - that's my fault.
Most of the changes are there because I was trying to figure out why the build was failing.  I have also attempted to address some of your other concerns above.


Make image fetch deadline user configurable and use deadline, not timeout

We want to limit the amount of time we spend on attempting to fetch data for any one image repo, in the interest of fairness. This should be configurable (it is hardcoded at the moment).
Currently the code uses a context timeout to limit the amount of time. The semantically correct way would be to use a deadline, although the net result would be the same.
Hence, tasks are:

[ ] Use context.WithDeadline, not context.WithTimeout
[ ] Make deadline configurable

E.g.
	// Add a timeout to the request
	ctx, cancel = context.WithDeadline(ctx, time.Now().Add(requestTimeout))

I don't think this especially needs to be configurable by the user -- it'd be a dial with a rather indirect effect.


Leaflet no loading on demo page

https://cliffcloud.github.io/Leaflet.Sleep/
L is not defined

The page is trying to load mixed (http and https) content. Try http://cliffcloud.github.io/Leaflet.Sleep/.

Thanks!

Demo still not loading leaflet due to mixed content.


"UndefinedEnvironmentName: 'extra' does not exist in evaluation environment."

I'd like to reopen #523
I've provided a repeatable failure there in the form of a Dockerfile, and a workaround

I've been trying to use extra to create an optional install in my project and am hitting exactly the same problem (https://github.com/peterbrittain/asciimatics/issues/95).  The workaround in #523 of using v20.4 works, but I don't really want to push a new version of my package out there that insists on downgrading setuptools to this level...

I tried to use extra == "flag" maker in my install_requires, but they seem to be broken since 36.2.0 (https://setuptools.readthedocs.io/en/latest/history.html#v36-2-0).
minimal example:
from setuptools import setup

setup(
    name="thingy",
    url="http://www.cluepoints.com",
    install_requires=["requests; extra =='please'"],
    packages=find_packages(),
)

using latests setuptools-40.8.0
$ python setup.py install
running install
running bdist_egg
running egg_info
creating thingy.egg-info
writing thingy.egg-info/PKG-INFO
writing dependency_links to thingy.egg-info/dependency_links.txt
writing requirements to thingy.egg-info/requires.txt
writing top-level names to thingy.egg-info/top_level.txt
writing manifest file 'thingy.egg-info/SOURCES.txt'
reading manifest file 'thingy.egg-info/SOURCES.txt'
writing manifest file 'thingy.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying thingy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/thingy-0.0.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing thingy-0.0.0-py3.6.egg
Copying thingy-0.0.0-py3.6.egg to /tmp/extra_test/.venv/lib/python3.6/site-packages
Adding thingy 0.0.0 to easy-install.pth file

Installed /tmp/extra_test/.venv/lib/python3.6/site-packages/thingy-0.0.0-py3.6.egg
Processing dependencies for thingy==0.0.0
Traceback (most recent call last):
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2664, in _dep_map
    return self.__dep_map
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2756, in __getattr__
    raise AttributeError(attr)
AttributeError: _Distribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    install_requires=["requests; extra =='please'"],
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/install.py", line 117, in do_egg_install
    cmd.run()
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 418, in run
    self.easy_install(spec, not self.no_deps)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 660, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 707, in install_item
    self.process_distribution(spec, dist, deps)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 752, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 794, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in requires
    dm = self._dep_map
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2666, in _dep_map
    self.__dep_map = self._filter_extras(self._build_dep_map())
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2681, in _filter_extras
    invalid_marker(marker)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1360, in invalid_marker
    evaluate_marker(text)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1378, in evaluate_marker
    return marker.evaluate()
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/markers.py", line 301, in evaluate
    return _evaluate_markers(self._markers, current_environment)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/markers.py", line 226, in _evaluate_markers
    lhs_value = _get_env(environment, lhs.value)
  File "/tmp/extra_test/.venv/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/markers.py", line 208, in _get_env
    "{0!r} does not exist in evaluation environment.".format(name)
pkg_resources.extern.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.


Bert e2e model support?

Hi friends,
Is there any bert.onnx -> bert.mlir sample code?
when I when to onnx model to test
/models/text/machine_comprehension/bert-squad/model/bertsquad-8.onnx

use the following cmd:
onnx-onnx-mlir-opt --shape-inference --convert-onnx-to-krnl='check-rnn-ops-lowering' --canonicalize bertsquad-8.onnx -split-input-file

I got error with:
within split at bertsquad-8.onnx:1 offset :1:1: error: custom op 'version' is unknown
version https://git-lfs.github.com/spec/v1
^

when I try:
onnx-mlir --EmitONNXIR /models/text/machine_comprehension/bert-squad/model/bertsquad-8.onnx

I got a coredump:
onnx-mlir: /Workspace/onnx-mlir/src/Builder/FrontendDialectTransformer.cpp:1304: void onnx_mlir::ImportFrontendModelFile(std::string, mlir::MLIRContext&, mlir::OwningModuleRef&, onnx_mlir::ImportOptions): Assertion `parse_success && "Onnx Model Parsing Failed."' failed.
[1]    35245 abort (core dumped)  onnx-mlir --EmitONNXIR bertsquad-10.onnx

solved

Hi @Joejiong,
OneHot has not yet been supported in onnx-mlir, so bertsquad is expected to fail. Even if shape inference is turned off there is no implementation code for OneHot.

@Joejiong
would be great if you could consider implementing this op. It is relatively straightforward. Definition of the op is here:
https://github.com/onnx/onnx/blob/master/docs/Operators.md#onehot


Fix bugs, fix warnings and update disruptor. (#1021)

Update disruptor and fix warnings.

Fix bug that holds the memory to all recorded events in disruptor.

(cherry picked from commit 2e9b2f02c5b02e541e6941add4ee28f4fd44636c)

Codecov Report

Merging #1024 into v0.12.x will decrease coverage by 0.02%.
The diff coverage is 94.11%.

@@              Coverage Diff              @@
##             v0.12.x    #1024      +/-   ##
=============================================
- Coverage      81.81%   81.79%   -0.03%
  Complexity      1139     1139
=============================================
  Files            181      181
  Lines           5319     5324       +5
  Branches         498      499       +1
=============================================
+ Hits            4352     4355       +3
  Misses           838      838
- Partials         129      131       +2

Impacted Files
Coverage Δ
Complexity Δ

...pencensus/common/OpenCensusLibraryInformation.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

api/src/main/java/io/opencensus/trace/Tracing.java
94.44% <100%> (ø)
7 <0> (ø)
:arrow_down:

...in/java/io/opencensus/implcore/trace/SpanImpl.java
90.4% <100%> (ø)
54 <0> (ø)
:arrow_down:

api/src/main/java/io/opencensus/stats/Stats.java
94.44% <100%> (ø)
6 <0> (ø)
:arrow_down:

api/src/main/java/io/opencensus/tags/Tags.java
94.44% <100%> (ø)
6 <0> (ø)
:arrow_down:

.../opencensus/impl/internal/DisruptorEventQueue.java
96.55% <90%> (-3.45%)
4 <0> (ø)

...census/implcore/trace/export/SpanExporterImpl.java
96.77% <0%> (-1.62%)
7% <0%> (ø)

Continue to review full report at Codecov.

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


Handshake and LocalHandshake Tracers

Issue
#623
Checklist

[ x] This PR contains all the work required to resolve the linked issue.

[x] The work contained has sufficient documentation to describe what it does and how to do it.

[x] The work has sufficient tests and/or testing.

[x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[ ] I have added the appropriate labels to this PR.

bors r+

bors r-

bors +r

bors r+


Vscode/#293 telemetry

Add telemetry to track below LSP actions

code completion
goto definition
step references
formatting
rename
generate concept
generate step
execution( is tracked only when execution is successful and prints execution status as there is no control from gauge core for it now)

Will creating a new project be considered?
Will Run and Debug, Parallel run be considered separately?
Will any exceptions that are occurring be considered for tracking?
Will find References be considered?

How will actions specific to VSCode be tracked?

There is a separate report that is generated when run from VSCode. Will this be considered.
Will any Test Explorer actions be considered?
Command Pallet actions

Closing as we wont be tracking granular actions instead just running daemon will be tracked.

More info about why this is not needed here
https://github.com/getgauge/gauge/issues/1251


[Developer Issue]: Remove TMBHelper from case studies

Description
@Cole-Monnahan-NOAA you mentioned (https://github.com/NOAA-FIMS/FIMS/issues/551#issuecomment-2237009982 ) that the instance of TMBHelper in your case study can be removed but I am wondering if you want to do that or if you want help? If you want, I can start a branch with a PR that removed the other calls to TMBHelper from non-alaska case studies as a start. You can also reply to this issue with a fix and I (or someone else) can implement it. I just don't want the task to be lost in GitHub. Here is the line that needs changed
https://github.com/NOAA-FIMS/case-studies/blob/c0f7e1c5e5cabc21dcf17e13c6d66c24a42ccfbb/content/AFSC-GOA-pollock.qmd#L102

Removed with this commit.


Unexpected error during version command

Error
 InternalError: preVersion is not a number
    at getPreVersion (<cwd>/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js:270:11)
    at assembleReleasePlan (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js:298:47)
    at version (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/cli/dist/cli.cjs.dev.js:446:21)
    at async /home/runner/work/ui-universe/ui-universe/node_modules/@changesets/cli/dist/cli.cjs.dev.js:995:11 {
  name: 'InternalError',
  _error: Error
      at new ExtendableError (/home/runner/work/ui-universe/ui-universe/node_modules/extendable-error/bld/index.js:23:24)
      at new InternalError (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/errors/dist/errors.cjs.dev.js:38:5)
      at getPreVersion (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js:270:11)
      at assembleReleasePlan (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js:298:47)
      at version (/home/runner/work/ui-universe/ui-universe/node_modules/@changesets/cli/dist/cli.cjs.dev.js:446:21)
      at async /home/runner/work/ui-universe/ui-universe/node_modules/@changesets/cli/dist/cli.cjs.dev.js:995:11
}

Versions

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Extra details

Don't know why it happens, been used changesets in this project for two months, never seeing this error before.

I have also experienced this error yesterday. But I don't remember the reason. Either the same as #339 or due to having local dependencies (those that use file: or link:)

@zkochan Thanks for the tips.
Issue #339 doesn't fit my situation, every package in my project has a version field in the package.json
As for local dependencies, yes I have some, but not recently additions, changesets used to works pretty well with local dependencies in my project, why it breaks now? Are there any breaking changes that I don't know about?

Now even if I run yarn changesets status locally, I see this error as well, now  I can't do anything with changesets, what's going on? How am I supposed to find the root cause of this problem?

I don't see a connection at the moment but these were some recent changes related to local deps: #324

@zkochan Thank you very much, I'll look into it to see if I can find the reason behind.

If u could share your repository this would be of great help in diagnosing the problem quicker.

@Andarist I understand that but unfortunately, this is a private project that I don't have the permission to share it. I'll see what I can do right now or ask for more help later.

Could you share the output of this script which logs the versions of all your packages?
const { getPackages } = require("@manypkg/get-packages");
(async () => {
  const { packages } = await getPackages(process.cwd());
  console.log(
    JSON.stringify(packages.map(pkg => pkg.packageJson.version), null, 2)
  );
})();

@mitchellhamilton It's OK, I had this figured out.
This is a monorepo, has two private packages in it which for sure we don't want to publish.
Currently, this project is in the pre-release phase, every package started from version '0.0.0', including those two private packages, like:
{
  "initialVersion": {
	"package-a": "0.0.0",
	"package-b": "0.0.0",
	"package-c": "0.0.0",
	"private-a": "0.0.0",
	"private-b": "0.0.0"
  }
}

After a few times of releasing, every package becomes to version 1.0.0-rc.x, then one of my colleagues removes "private-a" and "private-b" fields from the .changeset/pre.json file because he thought it is unnecessary to track private packages.
Then he did a successful release, but he didn't know after that release, the pre.json file becomes to something like:
{
  "initialVersion": {
	"package-a": "0.0.0",
	"package-b": "0.0.0",
	"package-c": "0.0.0",
	"private-a": "0.0.0-rc.x",
	"private-b": "0.0.0-rc.x"
  }
}

No one noticed this little problem until I try to version up and release new versions. I spent some time to figure this out, now we back to normal.
Again, thanks for everyone's help.


Separate library code from SIRS example code

The PNGraphRewrite/sirs.jl file has some general functionality as well as a demo example, so I'd like to separate these into two files.
Furthermore, I plan to factor the running of petri nets into generating 1. rewriting rules and 2. running the rules.

Done, thanks to @kris-brown!


Using React Copy Code with SSR fails

I have this imported in Gatsby and when building the pages, it breaks

What exactly is the error you get?

This issue is resolved with v2.0.5


[TACHYON-1117] Add shell command setTTL and unsetTTL

Follow up PR for https://github.com/amplab/tachyon/pull/1800

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

Thanks for enabling this in the shell command. I added a minor comment.

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

jenkins, test this please

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

LGTM

LGTM