[Errno -5] Name has no usable address

Is there an existing issue for this?

[X] I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.

I have read about the Fleet API and understand I may need to use it

[X] I understand issues relating to read only commands will be auto closed if not using the Fleet API.

Version of the Tesla component
3.24
Version of the Tesla car software
2<IP_ADDRESS>
Model
Model Y
Current Behavior
I'm using an automation to adjust the charging amps depending on my solar production excess.
I'm still using the legacy API (not the fleet API).
The automation run in a loop but randomly stops after some time (can be 10 minutes or 5 hours) because of the following error when trying to issue a command:
[Errno -5] Name has no usable address
Expected Behavior
The command should be issue with no error.
Debug logs
Enregistreur: homeassistant.components.automation.myteslacarcharger_flashg
Source: helpers/script.py:527
intégration: Automatisation (documentation, problèmes)
S'est produit pour la première fois: 07:52:22 (14 occurrences)
Dernier enregistrement: 15:03:22

MyTeslaCarCharger(flashg): Repeat at step 7: Error executing script. Unexpected error for choose at pos 3: [Errno -5] Name has no usable address
MyTeslaCarCharger(flashg): Error executing script. Unexpected error for repeat at pos 7: [Errno -5] Name has no usable address
MyTeslaCarCharger(flashg): Repeat at step 7: Choose at step 3: choice 4: Repeat at step 1: Error executing script. Unexpected error for call_service at pos 1: [Errno -5] Name has no usable address
MyTeslaCarCharger(flashg): Repeat at step 7: Choose at step 3: choice 4: Error executing script. Unexpected error for repeat at pos 1: [Errno -5] Name has no usable address
MyTeslaCarCharger(flashg): Repeat at step 7: Error executing script. Unexpected error for call_service at pos 4: [Errno -5] Name has no usable address
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 373, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request
    raise exc from None
  File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 196, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 99, in handle_async_request
    raise exc
  File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 76, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection.py", line 154, in _connect
    stream = await stream.start_tls(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 68, in start_tls
    with map_exceptions(exc_map):
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/usr/local/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 132, in _async_press_action
    await self.async_press()
  File "/config/custom_components/tesla_custom/button.py", line 85, in async_press
    await self.update_controller(wake_if_asleep=True, force=True)
  File "/config/custom_components/tesla_custom/base.py", line 98, in update_controller
    await self.coordinator.controller.update(
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/controller.py", line 752, in update
    self._product_list = await self.get_product_list()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/controller.py", line 313, in get_product_list
    return (await self.api("PRODUCT_LIST"))["response"]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/controller.py", line 1375, in api
    return await self.__post_with_retries_except_unavailable(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
    return await copy(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__
    do = await self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter
    result = await action(retry_state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner
    return call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 418, in exc_check
    raise retry_exc.reraise()
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 185, in reraise
    raise self.last_attempt.result()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__
    result = await fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/controller.py", line 1407, in __post_with_retries_except_unavailable
    return await self.__connection.post(command, method=method, data=data, url=url)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/connection.py", line 166, in post
    return await self.__open(url, method=method, headers=self.head, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/teslajsonpy/connection.py", line 207, in __open
    resp: httpx.Response = await getattr(self.websession, method)(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1801, in get
    return await self.request(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1574, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1661, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1689, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1763, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 372, in handle_async_request
    with map_httpcore_exceptions():
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError

Anything else?
No response

Hi,
Actually this randomly raised error prevent me to use the API in an automation, as the automation simply stops when that exception is being thrown.
I tried to use the "continue_on_error" option, however, it doesn't work because the error is unhandled by the integration (cf. https://github.com/home-assistant/core/issues/123296 for further details).
Would it be possible to fix the integration so that the error gets handled, which would allow me to use it in the automation (I don't really care if the command fails, all I need is the script to continue to run, which would be the case if the error is being handled).
Thanks a lot !

This error represents a network failure. Meaning we can't connect to tesla or the internet. There is no way for us to continue at this point.

Thanks for your answer.
Yes, I understand that.
However, while I'm happy with the fact the command can't be issued, my problem is that the error is not handled in the library (I guess this means the exception is not caught in the code, but I'm not sure about that, having never worked on HA code myself).
This leads to the fact that the automation basically exits, despite the "continue_on_error" options being used.
Would it be possible to fix that somehow, and have the error being "handled" (whatever that means) ?

Find an example of what HA expects and I imagine someone may pick this up as an enhancement.

To be honest, I'm not sure what "handling the error" means in the HA context. Possibly just adding a try/catch block around the function call, I've asked on the HA Core forum (same issue as the one mentioned above), hopefully I'll get some further information about that.

OK I got some details (cf. https://github.com/home-assistant/core/issues/123296).
The extension should raise a "defined exception":
https://developers.home-assistant.io/docs/dev_101_services/#response-data
and blog here : https://developers.home-assistant.io/blog/2023/11/30/service-exceptions-and-translations/?_highlight=exception
Do you think that's something doable (again, I'm afraid I have zero experience with HA development) ?

Hi, any update on this one ? I'm happy to help if I can !


Fix for issue #7972.

Problem:    Updating a hidden buffer using Python can cause display
corruption of the visible buffer.
Solution:   Do not mark changed lines when Python code has temporarily
switched the hidden buffer to be the curbuf.

Problem:    Updating a hidden buffer using Python can cause display
corruption of the visible buffer.
Solution:   Do not mark changed lines when Python code has temporarily
switched the hidden buffer to be the curbuf.

Thanks for working on this.  Could you use the repro case in #7972
for a test?  Possibly using a screendump, since the display is messed
up.
--
hundred-and-one symptoms of being an internet addict:
222. You send more than 20 personal e-mails a day.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Looks like the test needs "CheckRunVimInTerminal"

I will revisit this once I have gotten set up to build Vim under Windows.


Access Denied / Login Failed Page

I would like to have a front end representation of a failed login. We made it to the callback but did not succeed in creating a user / session so then I need to redirect to a problem.
  // Try and extract the username and see if there is an existing user by that name
  if (!samlResponse.attributes.sAMAccountName) {
    // TODO: Make this redirect to access denied page
    return redirect('/');
  }

The redirect here would be to the new route that would display an error message for the user.

How do I recreate this process on my local repo?

'broken:ithurts' => array(
        'uid' => array('2'),
        'eduPersonAffiliation' => array('group2'),
        'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress' =><EMAIL_ADDRESS>        'email' =><EMAIL_ADDRESS>        'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname' => 'broken',
        'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' => 'heart',
        'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name'=><EMAIL_ADDRESS>        'http://schemas.microsoft.com/identity/claims/displayname' => 'Broken Heart',

    ),

Add this to the users config, it does not have a samaccountname and will hit exactly that redirect

The saml response comes from the IDP as part of one of the bindings, it's posted to us at this callback route. The following function on the callback is what is responsible to parsing the body and returning the samlResponse object that we later work with:
const { samlResponse, relayState } = await parseLoginResponse(body);

Something similar to that would be fine, I just want a page that displays to the user that something went wrong when signing in. Keeping it vague is ok.


Application Version History

Background
Some forensic tools expose the history of applications on mobile devices, to include version installation history and there is not a current method within the ontology to represent this data.
Requirements
Requirement 1
Allow representation of the installed date, removed date, and installed version of applications.
Risk / Benefit analysis
Benefits
Similar to uco-observable:numberOfLaunches this allows for consumers to be able to glean additional contextual information about the usage of the application.
Risks
The submitter is unaware of risks associated with this change.
Competencies demonstrated

Competency 1

A device is discovered to have had a mobile device management application installed that has been upgraded several times through the application store. There was a vulnerability identified in an earlier version of the application that allowed arbitrary remote code execution that has since been patched.
Competency Question 1.1
During which date(s) could the device potentially have been compromised and the user unaware of the activities occuring on the device?
Result 1.1
Query is untested as the drafting namespace has not been developed for this proposal.
SELECT DISTINCT ?lApplicationIdentifier ?lVersion ?lInstalledDate ?lUninstalledDate
WHERE
{
    ?nApplication
    a uco-observable:Application ;
    uco-core:hasFacet ?nApplicationFacet ;
    .

    ?nApplicationFacet
    a uco-observable:ApplicationFacet ;
    drafting:installedVersions ?nApplicationVersion ;
    uco-observable:applicationIdentifier ?lApplicationIdentifier ;
    .

    ?nApplicationVersion
    a uco-observable:ApplicationVersion ;
    uco-core:hasFacet ?nApplicationVersionFacet ;
    .

    ?nApplicationVersionFacet
    a uco-observable:ApplicationVersionFacet ;
    drafting:installedDate ?lInstalledDate ;
    drafting:version ?lVersion ;
    .
    OPTIONAL {
        ?nApplicationVersionFacet drafting:uninstalledDate ?lUninstalledDate .
    }
}

?lApplicationIdentifier
?lVersion
?lInstalledDate
?lUninstalledDate

Chat App
1.1.0
2020-01-01
2021-03-01

Chat App
1.4.0
2021-03-01
2022-03-01

Solution suggestion

Create an object uco-observable:ApplicationVersion
Create a similarly named facet uco-observable:ApplicationVersionFacet that contains:

installedDate
uninstalledDate
version

Add a new property to uco-observable:ApplicationFacet called installedVersions that contains 0 -> n references to ApplicationVersions.
Coordination

Tracking in Jira ticket OC-234
[x] Administrative review to be completed
[x] Requirements to be discussed in Ontology Committee (OC) meeting, 2022-05-05
[x] Requirements Review vote occurred, passing, on 2022-05-05
[x] Requirements development phase completed.
[ ] Solutions Approval to be discussed in OC meeting, 2022-08-16
[ ] Solutions Approval vote has not occurred

[ ] Solutions development phase completed.
[ ] Implementation has not been merged into develop

[ ] Milestone linked
[ ] Documentation logged in pending release page

@kchason , thanks for this.
One nit: installedVersions should be spelled in the singular.  This is more a note for future properties.
Structurally, I think this will take a significantly different form.  I've been working on a similar representation issue with software asset management, with a package manager ecosystem model "SWIDREG" posted here.  There ends up being a significant difference in abstraction levels between (using the SWIDREG term style) an application and a versioned application.  This is all separate from an application deployment (not a SWIDREG term, but if I recall correctly another NIST project uses a term close to this), which is what you'd find as a usable/runnable piece of a system.
I don't think it's appropriate to use a Facet-housed property to link a observable:Application to one or more drafting:ApplicationVersions.  For one thing, there could be significant disagreement on whether versions known to exist but not found on the phone should be part of a concept representing, say, a long-historied mobile application.  Further, the temporality you suggested with the properties drafting:installedDate and drafting:uninstalledDate imply there is a time-bound relationship between the device and the versioned application being installed on the device.  Also, your representation might have some difficulty with explaining that a single versioned application may have been uninstalled and reinstalled multiple times.  You'd be tying the time-bounding of the installation to the inherent identity of the versioned application  That time bounding is more appropriate as either a "Deployment" ObservableObject subclass, or as an ObservableRelationship.  I suspect ObservableRelationship is most appropriate.
The relevant UCO design document section is Section 6 - Relationships, drafted by @sbarnum .  If something isn't quite gelling between what I'm writing here and what Sean posted, we should look to refine the document.
Meanwhile, UCO does have observable:version, used in observable:ApplicationFacet.  So, UCO's idea of an application inherently ties a version in already.  What UCO doesn't have is an abstraction that goes the other way - a "versioned application" to an "application as a series of releases".  (I may have found another ontology that represents these abstraction levels, but it's through what may or may not be a significant semantic bend.  I'll probably have more on this after UCO's 1.0.0 release, unless the Ontology Committee gets particularly eager to see this explored.)
Summarizing, and this is just my opinion: You have identified a need and corresponding coverage gap with the shape of the results of your query.  We might not need to build an ApplicationVersion class.  We should demonstrate how to represent the time interval in which an application is installed on a device, and this might need concept development.  If this should use an ObservableRelationship object, and there isn't an ObservableRelationship vocabulary member that looks like it fits, a string-value should probably be added.
In light of observable:ApplicationFacet having observable:version, do you have any re-thinking to do on this proposal?

@kchason Thanks for using the template for specifying the CP. My comments, as follows:

Benefits: Why is to be able to glean additional contextual information considered a benefit? What can the user do or achieve with that information that s/he couldn't before?
CQ 1.1:

I'd suggest to rephrase "have been compromised and the user unaware" to "have been compromised , leaving the user unaware"; the word "and" might imply two distinct CQs, one about dates and one about users.
The Result implies the availability of an lUninstalledDate that is not mentioned. Moreover, users can install new versions without uninstalling the previous version of an app. This implies to elaborate on the concept of lUninstalledDate in relation to installations of apps and what is signified with this concept in reality.
Are there additional constraints or conflicts expected with different operating systems?

Result:

Is a date sufficient or should a time be inserted as well?
Since users are allowed to install the same app more than once, how should such be reflected in the results?

This CP includes one CQ only, implying that no more competencies will be included in the implementation following this CP. Although I assume this to be correct, just for assurance: is this CP meant to cover this as the only CQ that is to be implemented, or is the CQ just an example of what is intended to be covered? In case of the latter, please add the CQs that are required to completely cover the intention of this CP.

@ajnelson-nist the version naming can definitely be updated to be singular.
UCO does have observable:version, but it doesn't have the concept of multiple versions, or generally version history so I believe there is still an outstanding need for this proposal. However, if there's an ontological form that makes more sense, I'm open to it.
@plbt5 I believe the CQs cover the use cases, but generally the idea was that it allows answers to questions (in conjunction with other information) such as

Which installed applications had access to the internet at X date?
During which date(s) could the device potentially have been compromised and the user unaware of the activities occuring on the device?

The lUninstalledDate is intentionally not required for that reason, but there are tools that do record the uninstall date (if applicable) so we should be able to represent that to further satisfy the aforementioned use cases.
With regards to the date format, a date/time does make sense, but I thought our date objects were actually date/time formats? This does allow multiple installations of the same version since it doesn't have a uniqueness constraint.

@kchason Some remarks to your comment:

@plbt5 I believe the CQs cover the use cases, but generally the idea was that it allows answers to questions (in conjunction with other information) such as

Which installed applications had access to the internet at X date?
During which date(s) could the device potentially have been compromised and the user unaware of the activities occuring on the device?

If answers to these questions can be given without additional concepts, then indeed the use case is covered. However, it might be useful to specify these questions as additional CQ's, because these are new questions that could not be answered before; hence, new competencies. This feeds the test cases as well.

The lUninstalledDate is intentionally not required for that reason, but there are tools that do record the uninstall date (if applicable) so we should be able to represent that to further satisfy the aforementioned use cases.

Ah, I was unclear in my question, apologies. What I meant was: what is our position regarding parallel installations of an app? If one installs a (new or identical) version and not uninstall the existing one, does that mean that the previous one is by definition always uninstalled? I think that there are systems that allow installing an app more than once, but in different contexts. Do we need to consider situations where copy A was uninstalled while copy B is still there?

With regards to the date format, a date/time does make sense, but I thought our date objects were actually date/time formats?
OK.

This does allow multiple installations of the same version since it doesn't have a uniqueness constraint.

Indeed, serialised installations are supported, however, due to the absence of a uniqueness constraint, it doesn't seem to support the parallel installations.

I am not sure if the 5/5/22 meeting was one of the few I missed but I do not recall seeing, reviewing or voting on this CP.
I can definitely see the need for expressing version history on applications but I do not believe the proposed solution is appropriate. I think the appropriate approach can be implemented with just a couple changes to the proposed solution yielding not only an appropriate approach but a much simpler one as well.
The primary issue with the proposed solution is that ApplicationVersion is not really an appropriate ObservableObject in the domain graph as it does not stand alone as a domain concept. It is rather a characteristic property of an Application.
I strongly propose that the following adjustments be made to the proposed solution:

Remove the new observable:ApplicationVersion class definition
Modify observable:ApplicationVersionFacet to be observable:ApplicationVersion and be a subclass of core:ClassBase (see CP-430) rather than `core:Facet'
Modify observable:installedVersion to be observable:installedVersionHistory

These simple changes should enable all of the desired expressivity in a much simpler and more appropriate manner.
It could look something like:
{
  "@id": "kb:Application-62a8d5d4-245a-4c1a-944c-04a988e7953a",
  "@type": "uco-observable:Application",
  "uco-core:name": "Magic Crayon",
  "core:hasFacet": [
    {
      "@id": "kb:ApplicationFacet-e3f48e54-83ab-4800-b71d-1a072c89f4f1",
      "@type": "uco-observable:ApplicationFacet",
      "uco-observable:applicationIdentifier": "cpe:/a:DrawFan:MagicCrayon:4.5",
      "uco-observable:operatingSystem": "ios 12",
      "uco-observable:version": "4.5",
      "uco-observable:installedVersionHistory": [
        {
          "@id": "kb:ApplicationVersion-6aba579b-affe-4d4f-b2cc-14b2dbc72a7a",
          "@type": "uco-observable:ApplicationVersion",
          "uco-observable:installedDate": "2021-06-25T22:10:19.00Z",
          "uco-observable:uninstalledDate": "2022-01-12T09:22:20.00Z",
          "uco-observable:version": "3.5"
        },
        {
          "@id": "kb:ApplicationVersion-10336642-77ba-4c34-b059-ea0379ed768e",
          "@type": "uco-observable:ApplicationVersion",
          "uco-observable:installedDate": "2022-01-12T09:22:21.00Z",
          "uco-observable:uninstalledDate": "2022-06-15T17:59:43.25Z",
          "uco-observable:version": "4.2"
        },
        {
          "@id": "kb:ApplicationVersion-a930546c-944a-4902-a260-81c6d21d16ba",
          "@type": "uco-observable:ApplicationVersion",
          "uco-observable:installedDate": "2022-07-28T12:00:00.00Z",
          "uco-observable:version": "4.5"
        }
      ]
    }
  ]
}

@kchason and @sbarnum - please can the two of you settle offline on the solution for this Issue.  @sbarnum 's late remarks in yesterday's meeting confused the implementation status of this proposal.
At 6PM EDT Thursday, whatever is in PR 372 will be the solution proposed to the OCs.

@sbarnum your suggestions look like they'd meet the use case I was aiming for. I'll try to get this solution updated shortly.

The PR should be updated with your suggestions above

Thank you Keith.
I see two small issues remaining in the PR.

It looks like the property shape for observable:version got removed from ApplicationFacet. I believe it needs to still remain there as the simple and direct indicator of the version of an application. The applicationVersionHistory is an additional level of historical info that may or may not be provided. I think that shape needs added back in.
The sh:targetClass for ApplicationVersion is currently observable:ApplicationVersionFacet and needs the "Facet" part removed.

I made and committed these changes into the branch.
Let me know if you have any major issues with either fix.

No conceptual issue with the changes, though it appears it's failing CI and has a merge conflict after the changes.

CI is fixed, and the review workflow's done enough for us to consider @sbarnum 's updated implementation for a Solutions Approval vote Thursday.
I had a piece of feedback while we're still in the discussion window.
Something about the installedVersionHistory property made me uncomfortable, and made me wonder about whether the Application concept was overly broad to accept this property (via a Facet).
The definition of Application is currently:

An application is a particular software program designed for end users.

I've been concerned with installedVersionHistory pushing this definition, which is independent of whether the application is deployed or a deployable thing from, say, an app store, away from the "pre-deployment" software consumption lifecycle phase and firmly into the "deployment" lifecycle phase.
However, ApplicationFacet already has operatingSystem as a property.  So, I am less concerned with installedVersionHistory broaching that design issue.  It's already broached.
Is it appropriate---I don't mean in terms of committee procedures, I mean conceptually---for Application's definition to be adjusted to pertain to software that has been deployed within some operating system or other environment?

I would object to changing applications defn to software that has been deployed. Applications exist that are not deployed.
I agree with your uneasiness on installedVersionHistory as a property of Application though possibly not for the same reasons as you. I mentioned this at the last meeting but did not go into depth as I did not want to derail getting the needed ability to express application version history info.
The root of my uneasiness is that "installation" of an application is a relationship between an Application and some platform such as a Device. What versions of an Application were installed or uninstalled on a Device and when are inherently properties of relationships (Application "installed-on" Device; Application "uninstalled-on" Device) between the Application and the Device. They are not properties simply of an Application. I viewed installedApplicationHistory as kind of a cheat for now that should likely be adjusted in the future.
With the current approach a separate Application object instance must be used for every time an application is deployed on different Devices. It would be far more appopriate to define an Application object once for a given application then express thousands of different times it was installed on different Devices with relationships between the Application and the Devices.


Presets for additionalItems representations [RustGenerator]

Describe the bug
RustGenerator is missing the Eq trait in the #[derive] block for an array of $ref objects, which results in the following compile error:
error[E0277]: can't compare `git_commit::GitCommit` with `git_commit::GitCommit`
  --> src/settings_reply.rs:13:5
   |
2  | #[derive(Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)]
   |                                                               ---------- in this derive macro expansion
...
13 |     git_history: Vec<crate::GitCommit>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `git_commit::GitCommit < git_commit::GitCommit` and `git_commit::GitCommit > git_commit::GitCommit`

How to Reproduce

Self-contained example below, full schema @ https://github.com/bitsy-ai/printnanny-asyncapi-schema/blob/40c6ff51eeae6a9b44f4b795c0e94100d706df11/2.4.0/printnanny-os.yml#L617

components:
  schema:
    GitCommit:
      name: GitHistory
      type: object
      properties:
        oid:
          type: string
        header:
          type: string
        message:
          type: string
        ts:
          type: integer
      required:
        - oid
        - header
        - message
        - ts
    SettingsReply:
      type: object
      additionalProperties: false
      properties:
        format:
          $ref: "#/components/schemas/SettingsFormat"
        filename:
          $ref: "#/components/schemas/SettingsFile"
        content:
          type: string
        head_git_commit:
          type: string
        git_history:
          type: array
          additionalItems: false
          items:
            $ref: "#/components/schemas/GitCommit"

Notice: #[derive] block is missing traits: Eq Hash Ord PartialEq PartialOrd

We probably want to make Hash an optional preset as well :thinking:
// GitCommit represents a GitCommit model.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct GitCommit {
    #[serde(rename="oid")]
    oid: String,
    #[serde(rename="header")]
    header: String,
    #[serde(rename="message")]
    message: String,
    #[serde(rename="ts")]
    ts: i32,
    #[serde(rename="additionalProperties", skip_serializing_if = "Option::is_none")]
    additional_properties: Option<std::collections::HashMap<String, serde_json::Value>>,
}

impl GitCommit {
    pub fn new(oid: String, header: String, message: String, ts: i32, additional_properties: Option<std::collections::HashMap<String, serde_json::Value>>) -> GitCommit {
        GitCommit {
            oid,
            header,
            message,
            ts,
            additional_properties,
        }
    }
}

Expected behavior
The example above should render:
// GitCommit represents a GitCommit model.
#[derive(Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)]
pub struct GitCommit {
    #[serde(rename="oid")]
    oid: String,
    #[serde(rename="header")]
    header: String,
    #[serde(rename="message")]
    message: String,
    #[serde(rename="ts")]
    ts: i32,
    #[serde(rename="additionalProperties", skip_serializing_if = "Option::is_none")]
    additional_properties: Option<std::collections::HashMap<String, serde_json::Value>>,
}

impl GitCommit {
    pub fn new(oid: String, header: String, message: String, ts: i32, additional_properties: Option<std::collections::HashMap<String, serde_json::Value>>) -> GitCommit {
        GitCommit {
            oid,
            header,
            message,
            ts,
            additional_properties,
        }
    }
}

Ah ok, I see what's happening here:

When additionalProperties: true is set (this is the default), a model is generated to accept an optional hashmap of HashMap<String, serde_json::Value>

However, there is no standard implementation for Ord PartialOrd Hash for a HashMap

We need to break this up into two new presets:
AdditionalItemsHashMap preset
This is the preset you would use with very simple additionalItems data structures, where the data structure's hierarchy is mostly flat OR the lookup key is known ahead of time to achieve O(1).

[ ] Ordimplementation that orders lexicographically/numerically and enforces astringornumber`  map key (just as a first step here).

Note that sorting a HashMap will be O(n * log(n)) complexity. If you need efficient
sorting/traversal for the data structures in additionaltems, see AdditionalItemsBTreeMap

[ ] Do not derive Hash trait for now

AdditionalItemsBTreeMap preset
This is the preset you would use with an arbitrarily nested additionalItems data structure, where traversal time matters and the speed of operations like Ord and PartialOrd needs to be optimized. Sort and range selection operations on a Btree are O(log(n)).
For now, we're assuming serde_json::Value is the heterogenous type for key/value data structures. (but if you're reading this and use a different serde representation or a different serialization framework, please comment!)

Just providing some background info here.

When additionalProperties: true is set (this is the default), a model is generated to accept an optional hashmap of HashMap<String, serde_json::Value>

That is the JSON Schema interpreter's way of saying the creator of the schema wants the object to be extended with properties that the end user themself can decide the keys of, they just have follow a specific data type. This is reflected by adding a property with type ConstrainedDictionaryModel that has the serialization type unwrap, which is the abstracted way of saying all entries in that dictionary, need to be serialized alongside the core properties within the same JSON object, i.e. {"coreProperty": ..., "customProperty": ...}
It's entirely fine for now to say those types of properties are not currently supported, until there is a better way to represent them.
For example this is what the Jackson preset for Java does (https://github.com/asyncapi/modelina/blob/109a553e09384f635f1eb7fbbd7b79910e76af89/src/generators/java/presets/JacksonPreset.ts#L16), as such a functionality is not supported by the library, so the property is simply not annotated once encountered.
If you just want to add the possibility for the user to choose between two types, you can add it as a simple option 🙂

Gonna remove this from the v1 roadmap, if this change does contain a breaking change, then we can always do it for v2 🙂

still valid? @jonaslagoni


Invalid VERSION value for pubsub library

The VERSION property value for the pubsub libraries seems invalid:
$ ls build/google/cloud/pubsub/libpubsub_client.so*
google/cloud/pubsub/libpubsub_client.so -> libpubsub_client.so.1
google/cloud/pubsub/libpubsub_client.so.
google/cloud/pubsub/libpubsub_client.so.1 -> libpubsub_client.so.

The GOOGLE_CLOUD_CPP_VERSION variable used to fill that property is not set in the context it is used:
https://github.com/googleapis/google-cloud-cpp/blob/d915c7f57fa407cf58e6c78ad5401657345da990/google/cloud/pubsub/CMakeLists.txt#L61-L63
Other libraries use the separate version variables ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}.${GOOGLE_CLOUD_CPP_VERSION_MINOR}.${GOOGLE_CLOUD_CPP_VERSION_PATCH}. I believe bigquery and spanner may have the same issue.
This is probably another case for #4132
Context

Linux Debian testing/bullseye
google-cloud-cpp d915c7f57fa407cf58e6c78ad5401657345da990
CMake 3.17.1

Thanks for the detailed bug report.  Can you let us know how you detected the problem?  Visual inspection or did you have something fail?

Yes, visual inspection. By listing the installed files I noticed the missing version.
As far as I can tell, this is working even without a numeric value. It's just not a common pattern.

Thank you for filing these bug reports, they are very useful.  Pity it requires looking at the installed files, but still doable: we can change the CI scripts to search for files with "weird" patterns after installing the files.


tellduslive fails after upgrade to 0.80.1

Home Assistant release with the issue:

0.80.1
Last working Home Assistant release (if known):
0.79.3
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu 16.04.5 LTS
Component/platform:

https://www.home-assistant.io/components/tellduslive/
Description of problem:
Component tellduslive doesn't work after upgrade.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
tellduslive:

Traceback (if applicable):
2018-10-16 11:58:53 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py", line 202, in setup
    client.update()
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py", line 228, in update
    self._sync()
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py", line 271, in _sync
    entity.changed()
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py", line 297, in changed
    self.schedule_update_ha_state()
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 317, in schedule_update_ha_state
    self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'

Additional information:

This is not a new bug. Tellduslive should be refactored to not store entities in a shared container in the component and not access entities directly but via our dispatch helper.
The problem is that the tellduslive component asks the entity to update before it has been added to home assistant.
If the refactor is done this problem will be solved.

As author of the original implementation I welcome anyone who would like to submit a pull request with a fix for this issue, as I don't use the Telldus Live service or this component anymore.

I could take a look at this, I was thinking of refactoring the Tellduslive to support the new config flow anyway.


The link to the download page does not work

Hi!
The link from "download Power BI publisher for Excel " does not work (download not available anymore). Can you please have a look at it?
BR

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

ID: 2fcb95bc-abb8-5147-ddc5-00714e30f79b
Version Independent ID: 45626f2c-9e5c-6bdd-6fbb-b82c279962e0
Content: Analyze in Excel for Power BI - Power BI
Content Source: powerbi-docs/service-analyze-in-excel.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @Ghuiles -- thanks for catching that! You're right, the link is broken because Publisher for Excel has been deprecated. Please use Analyze in Excel.
I've removed the link from the article.


resultOf is missing

Commit df1e7e3a66e74fd7118e2a8764f276f2caf6f20d deleted resultOf.
The sample is now broken.
error: unresolved reference: resultOf resultOf(convolutionExample().toSvg(1000.0, 500.0))

Does that mean that inline image support does not work currently? I c&p'ed the contents of results.kt into a notebook, like this:
class Result(mimeData: Map<String, Any>) : Map<String, Any> by mimeData
fun resultOf(vararg mimeToData: Pair<String, Any>): Result = Result(mapOf(*mimeToData))
resultOf(convolutionExample().toSvg(1000.0, 500.0))

I only see:
Line18$Result@61217336

This was fixed today on MASTER


Document null argument limitation with SceneTree.call_group()

See https://github.com/godotengine/godot/issues/35833.

Thanks!


'func' argument of 'logMessage' fix

'func' argument of 'logMessage' changed to 'function' due to compilation error.

hehe thanks, I actually updated blog post a while back but forgot to change name here


Open items for 1.14.5 release

Listing for transparency, let me know if I missed anything.
Must-haves

[x] #2666 (fixes CVE)
[x] #2673 (fixes CVE)

Should-haves (either we merge or reject these):

[x] #2568

[x] Needs #2664
[x] Needs #2668

[x] #2653
[x] #2654

Could-haves (non-blocking but would be good to get in, otherwise push to 1.14.6):

[x] #2491
[x] Postponed to 1.14.6: #2579
[x] Postponed to 1.14.6: #2648

Maintenance tasks to get to release (after finalizing release content above):

[x] #2657
[x] #2658
[x] #2669
[x] #2662
[x] Write release notes

[x] #2492
[x] #2663
[x] #2667

[x] #2670
[x] Tag v1.14.5
[ ] Gitian build
[ ] Fast-fwd 1.14-maint and master
[ ] Upload binary release

Post-release tasks

[ ] Create 1.14.6-dev
[ ] Open version for development
[ ] Rebase open PRs

For the gitian build of  https://github.com/dogecoin/dogecoin/pull/2579, it relies on a pending request in devrandom/gitian-builder repo to get --disable-apt-cacher option. Idk if you would prefer to wait to merge #2579, or if we keep a script who always use apt-cacher and create a new PR to disable cache whenever https://github.com/devrandom/gitian-builder/pull/253 is included (if it is but they were interested).

Added #2666 as it contains a fix for #2665 as must have.

Moved #2648 to could-haves because it is seeing contention, and #2661 already writes out the entire recommendation. The release notes and messaging will also clearly iterate the fee recommendation, so the need is lower. Can settle this for 1.14.6 - @AbcSxyZ are you okay with that?

However you want guys. I thought it can be great to add information about fees easily accessible through the documentation. Maybe you can just add a sentence to link with doc/fee-recommendation in the README, at the bottom of the usage section ? It's simple and may facilitate access to the information

Keep up the good work D

Added #2673 as must-have - it fixes the CVE reported in #2672

I'll tag in about an hour unless there's objections or someone beats me to it!

@rnicoll No objections! Feel free to tag at your convenience.

Exciting times!

@patricklodder Tagged, Gitian build running, signatures should be up shortly.

Good job. When is it expected to be available for download ?

@a10554 soon

fast-forwarded 1.14-maint and created 1.14.6-dev while we wait for the signed 1.14.5 macOS binaries to be created & verified

🥳

sweet


yolo pose estimation

Hello,
Great Work !
is it simple to do the same thing for yolo pose estimation (keypoint detection) ?

hello!
Thank you for your interest in my package.
Actually, I can't give you a definite answer because I haven't done pose estimation, but after a quick investigation, it doesn't seem to be much different internally.
In conclusion, I don't think it's difficult to do the same thing.
thank you

Thanks !
I'll be intresting to have a discussion with you to learn more a about this package.
I tried before tflite_flutter package and it takes more time to run a yolov5s model, why yours is real time?

That's a good question.
In my view, the reason is as follows.

To use this package, you must use the camera library.

The moment you do cameraController.takePicture(), all the binary data of the photo is transferred from native to Flutter, and it is sent back to native for inference and brought back to Flutter. Of course, the same applies to cameraController.streamListen().

Because such a large amount of data is moved redundantly, costs increase and performance deteriorates.

I didn't want to do that, so I accessed the camera in each native, made inferences with that data right away, and drew the view internally.
After that, I ported it to Flutter's widgets, UIKitView and AndroidView, and made it usable like a widget in Flutter.
If you have any questions, feel free to ask more.

I see !
Great job !
But the nms take the most time always, I can't see how it's done in your implementation

Sorry for the late reply!
As a result of measuring the execution time of each function, unfortunately, most of the time was spent in the forward function that passes the yolo model rather than nms.

Additionally, the time complexity of nms is O(n^2), and n is the number of objects detected during that frame, so it will not take tens of milliseconds during normal use. (There may be a slight difference depending on AP performance. ..)


Feat: Ionic/Angular app with TypeORM

Hi,
Can we have a sample Ionic/Angular app with the TypeORM library? I think that will help a lot of devs who would like to use TypeORM with your plugin. Thanks!
https://typeorm.io/

@Sampath-Lokuge You are asking far too much, you have to make your home work. There are developers working with TypeOrm and sqlite. There is a documentation available TypeORM-Usage.md and there is a vue typeorm example in https://github.com/jepiqueau and also a ionic angular app https://github.com/jepiqueau/ionic-sqlite

I use Ionic/Angular only. It seems you have not documented this  TypeORM sample app no?

@Sampath-Lokuge I don't understand your problem. There is an example which will work in every framework here:
https://github.com/capacitor-community/sqlite/blob/master/docs/TypeORM-Usage.md
The documentation is not up-to-date because createConnection() is deprecated and you have to use new DataSource(). I've created a pull request, which should work with the latest version of typeorm.
You can find the pull request here: https://github.com/capacitor-community/sqlite/pull/262/commits/1d4c1e8edd7914cbe0a427e2288c59720a069d85

@tobiasmuecksch @Sampath-Lokuge i knowall this guys i have less time to give to development those days but it will come. I like the way Tobias works asking and making PR's as he contributes to the improvment of the plugin. I am in the middle of the implementation of the delete command as requested   by @Sampath-Lokuge so i will see how and when to do the merge. You can have a look at vue-typeorm-app where there is a PR also to implement the new Datasource hope this will help and that you will have some patience

@Sampath-Lokuge Did you make some progress on this. I still have to do the delete process for Electron platform before looking at this if it is still required.

@Sampath-Lokuge I have been working on without success when entities have OneToMany and ManyToOne relation.
if someone can help here, he will be welcome.

@Sampath-Lokuge I finally get there see app at ionic-sqlite-typeorm-app. It is the standard category-author-post example and i use migration . the migration file has been generated manually. Hope this will help you starting. I will close the issue


Where is robot.py as mentioned in the documentation?

Hi,
In two locations in this README, you mention robot.py:

Arm Control Node
The pbd_arm_control_node.py is how the robot's arm is controlled to execute actions/primitives. It provides a lower level service interface to move the arm. The interaction node interacts with this through the interface in robot.py.

Social Gaze Node
The social_gaze_server.py handles the movements of the robot's head. This is also controlled through the robot.py interface. The sounds are also provided through this interface.

However, I cannot find any robot.py file in this repository.
Do you know where this file is located? It sounds like it would be very useful for programming the Fetch.
Thank you!

Sorry, found it here:
https://github.com/fetchrobotics/fetch_pbd/blob/master/fetch_pbd_interaction/src/fetch_pbd_interaction/robot.py
I must not have used the search function on GitHub correctly.


need webpack-garbage clean browser version

Not anyone uses webpack. Besides I load third-party modules via ajax (which needs assigning to window object as property)
So every time I come accross a nice lib I get frustrated to change the code, removing AMD UMD CJS and so forth wrappers.
Nightmare, and what is it in aid of? Trend?
So would be nice to have a clean source code, and then I would decide for myself, what environment will be the code applied in.
Thanks for your work,

Do you mean that you get the code via AJAX then use eval to execute it? So why don't you try this:
function applyCodeInContext (code, context) {
  return (function () { return eval(code) }).call(context)
}

applyCodeInContext('this.a', { a: 1 })

@MopTym I managed to pass jshint like so:
https://github.com/englishextra/englishextra.github.io/blob/master/cdn/doSlide/1.1.4/js/do-slide.fixed.min.js
as for aval an Function substitute, yes I do it in similar mannar as you suggested:
/*!
 * Load and execute JS via AJAX
 * gist.github.com/englishextra/8dc9fe7b6ff8bdf5f9b483bf772b9e1c
 * IE 5.5+, Firefox, Opera, Chrome, Safari XHR object
 * gist.github.com/Xeoncross/7663273
 * modified callback(x.responseText,x); to callback(eval(x.responseText),x);
 * stackoverflow.com/questions/3728798/running-javascript-downloaded-with-xmlhttprequest
 * @param {String} u path string
 * @param {Object} [cb] callback function
 * @param {Object} [e] on error callback function
 * ajaxLoadTriggerJS(u,cb,e)
 */
var ajaxLoadTriggerJS=function(u,cb,e){var w=window,x=w.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");x.overrideMimeType("application/javascript;charset=utf-8");x.open("GET",u,!0);x.onreadystatechange=function(){if(x.status=="404"){if(e&&"function"===typeof e){e();}console.log("Error XMLHttpRequest-ing file",x.status);return!1;}else if(x.readyState==4&&x.status==200&&x.responseText){try{var Fn=Function,g=new Fn(x.responseText.toString()).call(this);}catch(m){throw new Error("Error evaluating file. "+m);}if(cb&&"function"===typeof cb){cb(x.responseText);}}};x.send(null);};

In the code:
x.onreadystatechange = function () {
  ...
  new Fn(x.responseText.toString()).call(this);
  ...
}

this is always equal to x. I guess this is the problem. Try to change it to:
new Fn(x.responseText.toString()).call(<your context object>);

Then in the file:
https://github.com/englishextra/englishextra.github.io/blob/master/cdn/doSlide/1.1.4/js/do-slide.fixed.min.js
;(function webpackUniversalModuleDefinition(root,factory){window.DoSlide=factory();})(window,function(){...})

should be:
;(function webpackUniversalModuleDefinition(root,factory){root.DoSlide=factory();})(this,function(){...})

just like the original code.

Oh, I guess I stated my problem wrong. To get the code gotten via ajax I need to change global to window - that's what I always do with masonry packery do-slide and others that have module wrappers. So to me its not a problem. But what worries me when I come accross he library with lots of module compatibility code which makes the code source grow about 10%. So There's no problem - there is a wish to have a clean source. See like the collegue does here:
a clean source with no module/webpack stuff: https://github.com/tristen/tablesort/blob/gh-pages/src/tablesort.js
This is what I'm asking about. And thanks for the eval suggestions.

I suggest that you use do-slide.min.js instead of do-slide.js, there is no unnecessary webpack code in the compressed file. DoSlide's original source code is in the src folder. I need webpack and Babel to convert ES6 to ES5, which is different from tablesort.

https://github.com/MopTym/doSlide/blob/dev/dist/do-slide.min.js  wont pass jshint
I need webpack and Babel to convert ES6 to ES5

I see.
Thanks anyways. Will manage.

To disable JSHint, add /* jshint ignore:start */ to the top of do-slide.min.js : ) .

Yes, I know that, just chose unminified version which has less warnings to fix. No problem.


Fix failing KIF test on travis

They pass locally and fail on travis. Need to find out what's the problem.

Should try this


Expose Slic

What is the status on the open PRs from @simmimourya1?  The blog post about the functionality looks really good, but the additions appear to be generally awaiting review?  Any estimated time until merge and release?

Yikes - I've totally fallen behind on this. Since I don't actively use this function, are you able to verify that this outputs expected results?

I just built and tried the simmimourya1:Slic branch.

It seems hard coded to support only single-channel images.

the from cyvlfeat.slic.slic import slic import seems a bit wonky.  There was no way to discover this path - when I first imported slic there is no dir or autocompletion that suggests it isn't an empty package.

I'd love to see SLIC support added, but perhaps this needs a little fine-tuning.

Also, output appears corrupted on non-square images.


Content type application/json does not have a factory registered to be parsed

Following an upgrade to 1.16.0, I recently upgraded my app dependencies as instructed by Kiota.
Previous dependencies in package.json:
    "@microsoft/kiota-abstractions": "1.0.0-preview.56",
    "@microsoft/kiota-http-fetchlibrary": "1.0.0-preview.55",
    "@microsoft/kiota-serialization-form": "1.0.0-preview.45",
    "@microsoft/kiota-serialization-json": "1.0.0-preview.56",
    "@microsoft/kiota-serialization-multipart": "1.0.0-preview.34",
    "@microsoft/kiota-serialization-text": "1.0.0-preview.53",

New dependencies in package.json:
    "@microsoft/kiota-abstractions": "1.0.0-preview.57",
    "@microsoft/kiota-http-fetchlibrary": "1.0.0-preview.56",
    "@microsoft/kiota-serialization-form": "1.0.0-preview.46",
    "@microsoft/kiota-serialization-json": "1.0.0-preview.57",
    "@microsoft/kiota-serialization-multipart": "1.0.0-preview.35",
    "@microsoft/kiota-serialization-text": "1.0.0-preview.54",

Unfortunately, I'm getting the following error after installing the new versions with yarn
Error: Content type application/json does not have a factory registered to be parsed
    at ParseNodeFactoryRegistry.getRootParseNode (parseNodeFactoryRegistry.ts:38:9)
    at fetchRequestAdapter.ts:374:34
    at async fetchRequestAdapter.ts:188:24
    at async fetchRequestAdapter.ts:166:12
    at async Proxy.init (cart.ts:75:24)

Tried deleting node_modules and reinstalling everything, to no avail.
Rolling back to the previous dependency versions does however fix the problem.

Possibly a duplicate of #1244. Close at will, or let me know if there's additional details I can provide.

Thanks for raising this @hognevevle
Any chance you can confirm the workaround provided at https://github.com/microsoft/kiota-typescript/issues/1244 works out for you? If so we can close this so that this can be followed up in that issue....

Hi @andrueastman , I don't use the Kiota CLI though -- only the VSCode extension. Is there a way to achieve the equivalent of --serializer none --deserializer none from the extension? If so I could try that.

@hognevevle in the extension it's a setting at this point.


Donation platforms

Patreon, Ko-Fi, Buy Me a Coffee, PayPal, GitHub Sponsors, OpenCollective, etc.

Support us on
<platform>

I'll start working on it


[intel] remove specialized type converter

You also should remove third_party/intel/lib/TritonIntelGPUToLLVM/TypeConverter.h.

Yup, testing that locally.


Added TypeScript definitions

@digitalcortex thanks for the PR!  Sorry that I didn't notice it until now.


Update CLI login flow to point to Cellery Hub

Purpose

Update the CLI login flow to point to Cellery Hub so that the IdP selection is done through that page.

Goals

Update the CLI login flow to point to Cellery Hub so that the IdP selection is done through that page.

Approach

The CLI open a specific page in Cellery Hub which will prompt the user to select a login option. Based on the selected option that component will initiate a login flow which will return the auth code back to the CLI.

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

wso2-cellery/cellery-hub#22

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Codecov Report

Merging #384 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #384   +/-   ##
=======================================
  Coverage   82.78%   82.78%
=======================================
  Files          28       28
  Lines         726      726
  Branches       53       53
=======================================
  Hits          601      601
  Misses         86       86
  Partials       39       39

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 ac34e81...307f17e. Read the comment docs.


Allow top-level return in script parsing, PR for #8509

Adds the allowReturnOutsideFunction acorn flag when parsing scripts, as this is supported in ComonJS semantics.
Fixes https://github.com/webpack/webpack/issues/8509.

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
A test case is included, but I'm open to suggestions to changing it to be more directly tested instead of placing it in an existing fixture.

Does this PR introduce a breaking change?
No.

What needs to be documented once your changes are merged?
Nothing, it is a bug fix to align with CJS semantics.

CI failure seems unrelated.

Please also sign the CLA

See https://github.com/webpack/webpack/pull/9046 for this fix on master


cmake improvements and fixes

Fixes some of the issues in https://github.com/AcademySoftwareFoundation/Imath/issues/101
I've not yet found the source of why imathnumpy.so is going to get installed.
Looks like the missing install call has been the source for this.

I assume the reason for the removal of several chunks is that they are redundant with the Imath setup?

I assume the reason for the removal of several chunks is that they are redundant with the Imath setup?

Yes, these snippets are all defined in Imath/config/ImathSetup.cmake.

This patch works for python3.
I don't have an easy way to test for python2 though, because it's already disabled in Gentoo. The interpreter is still available, but no support for packages using python2. I would need to manually install a copy of boost and numpy with py2 support enabled.

I tested this change with python2 and it indeed produces an incorrect .pc file that references a "-lPyImath_Python3" library. But don't we actually need two pkg-config files, one for python2 and one for python3? The CMake files are currently set up to build for both if both are installed, so in this case a single .pc file won't do.

I tested this change with python2 and it indeed produces an incorrect .pc file that references a "-lPyImath_Python3" library. But don't we actually need two pkg-config files, one for python2 and one for python3? The CMake files are currently set up to build for both if both are installed, so in this case a single .pc file won't do.

This only works if build for one python version. If both are build, the set statement in the python3 block will override the setting from the python2 block.

Revert the last patch.

#103 removed the PYIMATH_ENABLE_EXCEPTIONS option, which is conflicting here, can you fix that?
Our emerging consensus is that we'd like to simplify this further by eliminating the dual simultaneous build and instead build for a single python version, with a configuration variable to specify which.
But this PR is a good step in that direction and improves the current state dramatically. I'll merge it in if you can resolve the conflict, and we'll go from there. Thanks for the contributions.

Rebased and fixed the conflict.
Still todo is the -lPyImath${libsuffix} entry in PyImath.pc.in, which needs to be covered by the python variable changes as well.
Thank you for considering the PR.


Adds optional param download to link equation

This PR adds optional param download to link equation, to be used in download attribute at anchor tag returned.
This PR is based on other PR changes at parsec web repository:

Adds optional attribute download to link() equation #39
 Fixes space in link 2 params format on link() function with 3 parameters #40

smoked ✅


Unable to specify files inode

This code
https://github.com/dokan-dev/dokan-dotnet/blob/master/DokanNet/DokanOperationProxy.cs#L507
Causes the inode for two completly different files to be the same if they just have the same filename.
I'm running Python scripts that copy files around on my drive.
And python's os.path.samefile checks if the file's inode and deviceID are different. Which they aren't if the files happen to have the same name.
In my case I am trying to copy a file to a different directory. So it indeed has the same name and thus the same inode. But they are still seperate files.
My proposed solution would be to provide the ability to set the inode in the FileInformation struct but keep it optional.
What could be done is have JUST GetFileInformation return a different FileInformation struct than everywhere else which contains the full path instead of just the filename.
In my case I'm storing the FileInformation struct directly in my file node because I don't need to generate a new one everytime.
Instead of
public NtStatus GetFileInformation(string filename, out FileInformation fileInfo, DokanFileInfo info)
{
    var node = GetNode(filename, info);
    if (node == null)
    {
        fileInfo = new FileInformation();
        return DokanResult.FileNotFound;
    }

    fileInfo = node.fileInfo;
    return DokanResult.Success;
}

I would need to
public NtStatus GetFileInformation(string filename, out FileInformation fileInfo, DokanFileInfo info)
{
    var node = GetNode(filename, info);
    if (node == null)
    {
        fileInfo = new FileInformation();
        return DokanResult.FileNotFound;
    }

    fileInfo = new FileInformation
    {
        FileName = filename,
        Attributes = node.fileInfo.Attributes,
        CreationTime = node.fileInfo.CreationTime,
        LastAccessTime = node.fileInfo.LastAccessTime,
        LastWriteTime = node.fileInfo.LastWriteTime,
        Length = node.fileInfo.Length
    };
    return DokanResult.Success;
}

But that would make GetFileInformation from now on always return a wrong FileName.
Which is btw what the Mirror sample is already doing.

Just looked over it and found that FileName in FileInformation at that place isn't needed at all. It's just used to generate the hash and nothing else.
I couldn't find a mention of that in the documentation. That's a bit unintuitive

Hi @dedmen ,
GetFileInformation is using FileInformation in C# but in reality the GetFileInformation wrap GetFileInformationByHandle win32 https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getfileinformationbyhandle
that has no information of the filename https://docs.microsoft.com/en-gb/windows/desktop/api/fileapi/ns-fileapi-_by_handle_file_information
Which description do you think you would have like here ?

I'd say use a new struct that has the actual INODE handle as a number instead of FileName.
That would also allow to expose nFileIndexHigh and dwNumberOfLinks to the user if they need it.
It definetly should be a seperate type as the one used in FindFiles though. Developers first assume same type == same thing. Which is not the case here.
That change would be a API breaking change.

Hi @dedmen ,
I agree with your proposition. Do you think you could provide a pull request with the changes ? This would be greatly appreciated 👍

Yeah sure. Probably next weekend

@dedmen I imagine next weekend is far enough now 😄 just wanted to know if it is really out of your time ?

Sorry, I spent most of my time on other projects as the dokan thing was working well enough at that point.
Its currently using my dirty workaround
https://github.com/arma3/DokanPbo/blob/master/DokanPbo.Core/PboFS.cs#L368
This is still on my todo list, but not a high priority sadly. Too much other stuff going on.

No worry 👍 Thank you for the update and the workaround that might help others !

For reference (as I already forgot most of the stuff I was looking at back then)
Hash is calculated and used here: https://github.com/dokan-dev/dokan-dotnet/blob/fa556dfc3631eb8feed374322f4285cf17194f88/DokanNet/DokanOperationProxy.cs#L547
This
https://github.com/dokan-dev/dokan-dotnet/blob/fa556dfc3631eb8feed374322f4285cf17194f88/DokanNet/DokanOperationProxy.cs#L515
should really just return a struct mirroring the BY_HANDLE_FILE_INFORMATION contents in a C# format, we can basically keep most things but just add 64bit(?) number for fileIndex (inode) and dwNumberOfLinks
We need to communicate a way to the users to still let them generate hash from filename, to make sure new users won't be confused?
Might aswell just mention a //(uint)(fi.FileName?.GetHashCode() ?? 0) in comments in the new struct.

Exactly, we should use another struct having FileIndex that user can set OR let equal to 0 and dokan-dotnet handle it by keeping a hashmap updated with FileIndex of each file and cleanup when all handles are closed.
There is no real rules for FileIndex even if the best would be to duplicate NTFS
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information#remarks
@dedmen just to come back at what you said. When you copied the file to another folder you said os.path.samefile return true as they have the same name and therefore the same HashCode but if FileName is the full path \folder1\file and \folder2\file the HashCode  should be different ? I might have missed something here.

but if FileName is the full path

correct. Full path would work. As thats my workaround.
Though in other places where the same FileInformation struct is used, its just name, not full path.

I might have missed something. For me GetFileInformation provide the full path so it OK.
What are the other places where FileInformation is used only with the file name ?

public NtStatus FindFiles(string filename, out IList files, DokanFileInfo info)
public NtStatus FindStreams(string fileName, out IList streams, DokanFileInfo info)
public NtStatus FindFilesWithPattern(string fileName, string searchPattern, out IList files, DokanFileInfo info)

Atleast I think thats the case. FindFiles in C API uses PWIN32_FIND_DATAW
https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-win32_find_dataw
Which contains filename according to MSDN, MSDN usually says "path" when they mean a path.
https://github.com/dokan-dev/dokan-dotnet/blob/fa556dfc3631eb8feed374322f4285cf17194f88/DokanNet/DokanOperationProxy.cs#L681
On the other hand all the dokan methods take a "filename" as argument which is really a fullpath.
FindStreams returns
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-win32_find_stream_data
which has a streamname, not a filename, and also a streamsize. I think that API should also be changed to a seperate struct. It only uses "Filename" which is supposed to be a "SteamName" and "Length" which is supposed to be the length of the stream and ignores all the other entries in the FileInformation struct.
So I guess I also kinda missinterpreted the API due to the mix of filename vs fullpath.
https://dokan-dev.github.io/dokan-dotnet-doc/html/struct_dokan_net_1_1_file_information.html
This also says

the name of the file or directory.

I agree, the documentation should be improved or the API that is misleading.
Regarding the main reason of this issue, we agree that only GetFileInformation is using the FileIndex so we have no bug over the usage of (uint)(fi.FileName?.GetHashCode() ?? 0).
Can we agree to focus on changing the API ? We could just do struct inheritance as they look the same and change the API to use, as you proposed, the correct member names.

does this would be enough ?

Technically yes.. but it's still bad.

so we have no bug over the usage of (uint)(fi.FileName?.GetHashCode() ?? 0).

We only let the user access 32bit, of the 64bit value. User might want access to that.

Can we agree to focus on changing the API ?

As I said, I would just split the "FileInformation" struct, into 3 (FindFiles, FindStreams, GetFileInformation) seperate structs, that expose exactly the value that are actually needed.
https://github.com/dokan-dev/dokan-dotnet/blob/3b70a574491817b85aa34e018197d3ca6fdf05ba/DokanNet/FileInformation.cs#L10-L13
FindFiles (both variants) needs to contain everything that FileInformation had. And we can keep "FileName" as that matches Win32 API.
FindStreams needs
https://github.com/dokan-dev/dokan-dotnet/blob/fa556dfc3631eb8feed374322f4285cf17194f88/DokanNet/DokanOperationProxy.cs#L749-L753
string SteamName;
long StreamSize;

GetFileInformation needs
https://github.com/dokan-dev/dokan-dotnet/blob/fa556dfc3631eb8feed374322f4285cf17194f88/DokanNet/DokanOperationProxy.cs#L505
string FilePath; //Only used to create FileIndex if FileIndex wasn't set (needs to be documented)
FileAttributes Attributes;
DateTime? CreationTime;
DateTime? LastAccessTime;
DateTime? LastWriteTime;
long FileSize;
long? FileIndex; //If this is set, filepath is ignored (needs to be documented)
int NumberOfLinks = 1; //Not sure if we want to expose that? Don't know what its used for

We could do inheritance and just define properly named get/set and pass the same base-struct in the backend if that makes things easier, but I wouldn't know why also I'd prefer not to allocate/copy large structs, where 80% of the content is unused.

@dedmen I fully agree on changing the API to use the struct inheritance. Do you think you would be able to provide a PR for it ?

Able of course :D
Can't give you a timespan. Do you have a deadline it must be ready by?

@dedmen Great ! :) No deadline at all, of course (this is opensource :D) ! Sorry If I looked to push into this ^^

...this is an entire thing, just because Python's os.path.samefile has a bug?
Windows simply doesn't have the concept of an inode, nor a native concept of two directory entries that directly point to the same file (clusters).  As such, on Windows NTFS, there is no possible way that two named regular files (i.e., files that are not reparse points) can ever possibly be the same underlying file object.  The only instances where they could appear to be are under the old Single Instance Storage driver (which was a thing on Windows 2000 Server's Remote Installation Service), which relied on reparse points... and symlinks or hardlinks, which are also implemented as reparse points.  (Notably, neither the SIS nor symlink/hardlink functionality ever require the names to match across all locations, so Python's os.path.samefile would give false negatives as well as false positives if it's implemented as described by @dedmen.)
It doesn't make sense to try to address that bug here. It's a bug in Python that Python needs to deal with.
Also, my thinking is that the most appropriate mapping of the inode concept to Windows would be through the "object ID" mechanism (ntifs.h:NtCreateFile's CreateOptions parameter containing the bit FILE_OPEN_BY_FILE_ID, which is exposed to usermode by winbase.h:OpenFileById).  Using it would require several fcntls that Dokany doesn't support, and which would require some kind of additional mapping to user mode functions to manage.

This is not only a thing because of that python bug. I'd like to specify the id by myself too, and sending a string who'se whole purpose is to generate a ID is counterintuitive.


cgltf_load_buffer_base64 returns cgltf_result_io_error for what seems to valid base64

I have been using this cgltf_load_buffer_base64 to decode images from Khronos glTF samples repo. Images in some of the embedded glTF files like DamagedHelmet and TextureCoordinateTest can't be decoded using cgltf_load_buffer_base64.
Surprisingly If I just copy past the base64 data from the glTF file into https://www.base64decode.org it also complains but then https://gltf-viewer.donmccurdy.com happily accepts the file and loads the models correctly.
At this point I am not sure if its actually cgltf_load_buffer_base64 that doesn't know this specific encoding or gltfviewer doing some magic that makes it work. I thought I should ask perhaps you know more.

 I wasn't calculating the size correctly. https://www.base64decode.org  put me off though, it doesn't take size it calculates it itself...


Update Composer dependencies (2023-07-27-00-13)

Visual regression test passed!
View the visual regression test report


GPII-3793: Add missing permission for the CI accounts

The CI account needs iam.serviceAccounts.setIamPolicy permission on the Service Accounts within the project re. the service-account-assigner change, therefore roles/iam.serviceAccountAdmin role.

LGTM


Using ASP.NET MVC Customed AuthorizeAttribute in ASP.NET Core

I have AuthorizeAttribute in my old ASP.NET MVC project like this
    public class CustomAuthAttribute : AuthorizeAttribute
    {
            public override void OnAuthorization(AuthorizationContext filterContext)
            {
                base.OnAuthorization(filterContext);
                ...

            }
    }

I want to use this attribute in new site that uses ASP.NET Core MVC Controller/Action.
I have tried to configure in Startup.cs like this
     services.AddMvc(options =>
     {
          options.Filters.Add((new CustomAuthAttribute());
     });

But it can not resolve the type IFilterMetadata.
Moreover, I try to use this Attribute in Controller but nothing happens.
    [CustomAuth]
    public class HomeController : Controller

Anyone can help me? Thank you

@huyjack178 You should use Policies for this now.
https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies
Greetings Damien

How can I reuse the old one. Because there is a lot of code need to be implemented if I use Policies

@huyjack178 you can't. You could also try to use ActionFilters which return 401, 403 if it's too much effort to rewrite, this would be less effect. But the action filters are executed much later in the request pipe.
Greetings Damien

@huyjack178 you can't. You could also try to use ActionFilters which return 401, 403 if it's too much effort to rewrite, this would be less effect. But the action filters are executed much later in the request pipe.
Greetings Damien

Hi
i'am not using a role base authorization, but this make me using Authorize attribute that has a Role property!
It makes some misunderstanding about my authorization policy!
It should be possible to replace auth attribute with some costume one.


inrupt-pod-server Dockerfile is missing config.json

echo '{"network":{},"storage":{},"identityProvider":{},"idpStorage":{}}' > config.json

That's just what I reverse-engineered, but it's not enough. Do you have an example config.json file that we can add to the test-suite Docker image?

@jaxoncreed any progress on this?

Ah, just saw #43


ugoira error breaks current operation...

Stuff happened, trying again after 2 second (4)
Traceback (most recent call last):
  File "PixivArtistHandler.py", line 135, in process_member
  File "PixivImageHandler.py", line 359, in process_image
  File "PixivDownloadHandler.py", line 424, in handle_ugoira
  File "PixivHelper.py", line 1030, in ugoira2webm
  File "PixivHelper.py", line 1102, in convert_ugoira
PixivException.PixivException: PixivException(2007 Failed when converting image using ffmpeg -y -safe 0 -i C:\Users\USER\AppData\Local\Temp\convert_ugoiralpang0he\i.ffconcat -c:v libvpx-vp9 -lossless 0 -crf 15 -b 0 -vsync 0 C:\Users\USER\AppData\Local\Temp\convert_ugoiralpang0he\temp.webm ==> ffmpeg return exit code=1, expected to return 0., hasDumpPage=N)

C:\Users\USER\AppData\Local\Temp\convert_ugoira0kll4cwl\i.ffconcat: No such file or directory
Failed when converting image using ffmpeg -y -safe 0 -i C:\Users\USER\AppData\Local\Temp\convert_ugoira0kll4cwl\i.ffconcat -c:v libvpx-vp9 -lossless 0 -crf 15 -b 0 -vsync 0 C:\Users\USER\AppData\Local\Temp\convert_ugoira0kll4cwl\temp.webm ==> ffmpeg return exit code=1, expected to return 0.

Giving up image_id: XXXXXXXXXX

I don't know why it's trying to make a %APPDATA%\Temp directory but it doesn't exist, perhaps because I'm running PixivUtil2 off another disk drive. I already have ffmpeg.exe in the root directory and the vanilla ugoira webm suggested values.

Well, PixivHelper attempts to create a temp path to convert the ugoira here:
https://github.com/Nandaka/PixivUtil2/blob/a6c278c2b5edb18ee3fd66db5eb9490cfe9afdf4/PixivHelper.py#L1127
And it should fail if it can't create it. The exception is saying ffmpeg is returning 1, so the problem appears to be with ffmpeg itself. Have you tried downloading a new version?

I have just been migrating the same old FFMpeg and config and database to new PixivUtil2 downloads for a couple years, so that most likely sounds like the problem I'll give that a test and see if it still keeps failing this case.

Updating ffmpeg resolved this issue. TY and closing...

Interestingly I am getting this error now...


Add wording to UI that calls out improvements to display of census tract information

Purpose
Bring attention to the new census track side panel
QA review
QA review link is here
QA reviewer

[x] Kameron

QA Spec

[x] Is the Alert's vertical alignment good?
[x] Is the Alert's horizontal alignment good?
[x] Is the Alert's copy correct?
[x] Does the Alert render on mobile correctly?

QA passed


Stack At Top

Can we have stack showing at top?
one workaround i have considered is to add artificially created stack like in following picture. but do have some better way to handle that?
also i have to use this as part of cell for UITableView, do you think it can create adverse effect?

There is currently no way to have a custom card stack layout. I have opened #22 requesting this feature

The card stack should be fine in a tableview cell


Tried to order AWS Small, "Order Could Not Be Placed At This Time"

Created a new project & approved it.
Added AWS Small to shopping cart
Could not complete checkout, red error box appeared

@jnegrelli Was this done on a new local install or on a preexisting host?

I created a new project & then couldn't check out w/ new services
On Tue, Jul 7, 2015 at 10:37 PM, Michael Stack<EMAIL_ADDRESS>wrote:

@jnegrelli https://github.com/jnegrelli Was this done on a new local
install or on a preexisting host?
—
Reply to this email directly or view it on GitHub
https://github.com/projectjellyfish/api/issues/812#issuecomment-119402604
.

Hi Jerry,
I believe the issue was with the demo DB. I checked the logs and the component responsible for provisioning seemed to be stuck in a spin lock. It seems to be working now.
I created an approved Test Project:

Added AWS Small to my cart:

Hit Checkout:

And got the order to pass through:

So it appears as a service in the Project:

If you want, I can go through and flush the DB so you can start from a clean slate.

closing this for now since its demo configuration and not code issue.
@jnegrelli - reach out to me on Slack if you need to reset the DB.


Uncaught TypeError: Path must be a string. Received ~

[Enter steps to reproduce:]

Go to: File > Add Project Folder
Select a project folder
Click on Open

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:1213:7)
    at Object.tildify (/app.asar/node_modules/fs-plus/lib/fs-plus.js:64:39)
    at Workspace.updateWindowTitle (/app.asar/src/workspace.js:259:24)
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at Project.module.exports.Project.addPath (/app.asar/src/project.js:288:29)
    at /app.asar/src/atom-environment.js:1028:40
    at /app.asar/src/application-delegate.js:31:16)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)

Commands
     -1:02.5.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-icons.seti-roboto.seti-animate.theme-seti-syntax.theme-seti-ui)
     -0:07.0 application:add-project-folder (input.hidden-input)

Non-Core Packages
atom-beautify 0.29.23
auto-detect-indentation 1.3.0
autoclose-html 0.23.0
autoprefixer 3.6.1
busy-signal 1.4.0
color-picker 2.2.5
emmet 2.4.3
file-icons 2.1.3
git-plus 7.6.0
git-time-machine 1.5.9
goto-definition 1.3.3
highlight-selected 0.13.1
intentions 1.1.2
linter 2.1.4
linter-alex 4.0.0
linter-csslint 1.3.4
linter-eslint 8.1.6
linter-htmlhint 1.3.3
linter-jshint 3.0.3
linter-jsonlint 1.3.0
linter-sass-lint 1.7.4
linter-shellcheck 1.4.4
linter-ui-default 1.2.3
linter-write-good 0.9.0
linter-xmllint 1.4.1
merge-conflicts 1.4.4
minimap 4.27.1
minimap-highlight-selected 4.6.1
minimap-linter 2.0.0
open-recent 5.0.0
pigments 0.39.1
project-manager 3.3.4
remote-edit 1.9.0
rest-client 1.3.1
restart-atom 0.2.0
seti-syntax 1.1.3
seti-ui 1.7.0
todo-show 1.11.0

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/14228 based on the stack trace.  I'm going to go ahead and close this but can you confirm in https://github.com/atom/atom/issues/14228  if the error is reproducible for you and if so, is it reproducible in safe mode ( atom --safe)?
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Reflection isDefaultValueAvailable() method seems to not work as expected

Hi,
Problem :
the reflection method isDefaultValueAvailable() return false instead of true
Example to show the problem.
I have the following class in zephir :
namespace demo;
class Test
{
    private data;
    public function __construct(array config = [])
    {
        let this->data = config;
    }
}

code compile as expected but reflexion fail :
    $ref = new ReflectionClass('\demo\Test');
    $constructor = $ref->getConstructor();
    $params = $constructor->getParameters();
    var_dump(
        $params[0]->getName(),
        $params[0]->isOptional(),
        $params[0]->isDefaultValueAvailable()
    );

this code output :
string 'config' (length=6)
boolean true
boolean false   <- the default value flag is *not* set

Now, sample code in PHP to show what I'm really expecting
I have the following class in php
    class Test {
        private $data;
        public function __construct(array $config = [])
        {
            $this->data = $config;
        }
    }

I test it with the same code
    $ref = new ReflectionClass('Test');
    $constructor = $ref->getConstructor();
    $params = $constructor->getParameters();
    var_dump(
        $params[0]->getName(),
        $params[0]->isOptional(),
        $params[0]->isDefaultValueAvailable()
    );

and I get what I'm expecting
string 'config' (length=6)
boolean true
boolean true   <- the default value flag is set

Am'I doing something wrong in my zephir code ?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28724234-reflection-isdefaultvalueavailable-method-seems-to-not-work-as-expected?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Yes, because default value, generated by C code. I think this error cannot be resolved.


Font size in nvim-qt and nvy differs

It is for set guifont=Cascadia\ Mono\ PL\ SemiLight:h12. For h14 the difference seems more noticeable.
If fixing text display size is not easy, could you set nvim variable at start, so I can create if block in init.vim to set specific configuration just for nvy?

The variable works like charm. Thanks! JFY, I failed to make sizes of font the same in both applications. h10 makes font smaller than in nvim-qt and h11 is a bit bigger. I tried fractional heights(vim helps says it is OK), but it did not work for me as expected(10.2 looked like 10, while 10.3 jumped in size and looked like 11). So, I left it at 11.

Another piece of information: I managed to make fonts in nvim-qt and nvy look the same (while I used size 14 for nvim-qt and 10 for nvy). The trouble was that I used variable font and used a virtual name Cascadia Mono PL SemiLight (the real font name is Cascadia Mono PL that have 6 different weights selected with extra word after the name. nvim-qt seems to understand virtual names, but nvy fell back to default font, hence I was not able to make text the same size - it is not generally possible when using different fonts :)  So, I removed variable font and installed two separate 'regular' and 'bold', now both nvim-qt and nvy uses the same font and I managed to set up them to look the same.
Sorry for extra confusion.


added information regarding site design support

today site designs are only supported with SharePoint online and not SharePoint 2019, added the information
Category

[x] Content fix
[ ] New article
Related issues: fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
today site designs are only supported with SharePoint online and not SharePoint 2019, added the information

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/declarative-customization/site-design-overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

thx @baywet, appreciated.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/declarative-customization/site-design-overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Use Case: Asset based carbon reporting

Description:
To date much of the carbon reporting in the energy industry is based on modeled data.  Model's have the many risks built into them and can be easily manipulated.  Today asset data is collected manually or via spreadsheets and entered or uploaded into models.  This has the double risk of fraud opportunities and significant cost due to the manual processes.  As reporting requirements increase the current processes are no longer viable.
Opportunity
By packaging sensor data into a digital credential linked to the asset DID, and owning organization DID the risk of data on motion attacks would be significantly reduced.
There is a potential conflicting requirement on how the data comes off the sensor.  Sensors in many industrial environments are connected by network transports other than HTTP, and these transports can impose severe constraints on packet size and transmission rates. W3C VCs in JSON-LD format are very large and not feasible for transmission in these environments, however the linked data model can provide real value in post processing of data.

This is an interesting perspective as we struggle with data integrity versus data provenance, the "VW" issue. With asset certification we have relatively mature models to test/verify, pair this with VCs for lifecycle authenticity would capture both aspects potentially. Keen to help/contribute to this as it's not exactly what we are looking at but has the same core issues...  👍


⚠ Games API Endpoint has degraded performance

In 456635c, Games API Endpoint (https://games.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 4510 ms

Resolved: Games API Endpoint performance has improved in 85e8c5b.