Scatter graph with string date x-Axis

I followed react-chartjs-2 configure in  and it's working for me. But as you can see, the data array is:
`data1: [{ x: 65, y: 75 },
{ x: 59, y: 49 },
{ x: 80, y: 90 },
{ x: 81, y: 29 },
{ x: 56, y: 36 },
{ x: 55, y: 25 },
{ x: 40, y: 18 },
],data2: [
{ x: 11, y: 33 },
{ x: 23, y: 11 },
{ x: 44, y: 44 },
{ x:  12, y: 55 },
{ x:  55, y: 66 },
{ x: 31, y: 66 },
{ x: 55, y: 186},
]
It's number. Now a day, I want to configure chart for data like this:
`data1: [
{ x: '2018-12-10T06:14:29.508Z', y: 75 },
    { x:  '2018-12-10T06:14:30.508Z', y: 49 },
    { x:  '2018-12-10T06:14:31.508Z', y: 90 },
    { x:  '2018-12-10T06:14:32.508Z', y: 29 },
    { x:  '2018-12-10T06:14:33.508Z', y: 36 },
    { x:  '2018-12-10T06:14:34.508Z', y: 25 },
    { x:  '2018-12-10T06:14:35.508Z', y: 18 },
  ],data2: [
    { x: '2018-12-10T06:14:29.508Z', y: 33 },
    { x:  '2018-12-10T06:14:30.508Z', y: 11 },
    { x:  '2018-12-10T06:14:31.508Z', y: 44 },
    { x:  '2018-12-10T06:14:32.508Z', y: 55 },
    { x:  '2018-12-10T06:14:33.508Z', y: 66 },
    { x:  '2018-12-10T06:14:34.508Z', y: 66 },
    { x:  '2018-12-10T06:14:35.508Z', y: 186},
  ]`

My x-Axis is date and it is not render anything. So, i want to know how can i configure scatter chart with react-chartjs-2 for my project.
I am trying as below but it's also not working.
`scales: {
      xAxes: [
        {
          ticks: {
            autoSkip:true,
            // autoSkipPadding: 10,
            // maxTicksLimit:10,
            source: 'auto',
            maxRotation: 0
          }
        }, {
          type: 'time',
          time: {
            millisecond: 'mm:ss',
            second: 'mm:ss',
            minute: 'HH:mm',
            hour: 'HH:mm',
            day: 'MMM DD',
            week: 'MMM DD',
            month: 'YYYY MMM',
            quarter: 'YYYY MMM',
          }
        }
      ], yAxes: [{
        display: true,
        ticks: {
          beginAtZero: false,
        },
        suggestedMax: 600,
        suggestedMin: 0,
      }]
    }
  }`

I want to know how can I configure my graph with date xAxis?
Hope your help.
Thanks

I'd also love to figure this out.

you need to have some kind of UNIX time stamp in the x value. We are using Moment and you can get the time stamp using
Moment.utc(2018-12-10T06:14:30.508Z).valueOf()

you don't need some special manipulation with time. Just add time parser to scales like this:
options: {
    ...
    scales: {
        xAxes: [{
            type: 'time',
            time: { parser: 'YYYY/MM/DD HH:mm:ss' },
          }],
    ....

then you can use your date:
    { x: moment.utc(some_your_date).format('YYYY/MM/DD HH:mm:ss'), y: ... }


Update README.md

Added Call Utils to the list of apps using FAB.

I'm canceling this PR to keep the commit history clean. But I've added your app to the list by myself.


Admin User Account Audit

In corporate environments it would be useful for the realm admins to be able to audit access for a user in a similar manor to being able to audit the users subscribed to a stream.

To be super clear, is what you have in mind a log for what machines (by IP and maybe geo if we can make that work) that the user has logged in using?

@timapril did you have more to say here about what this should do?  Otherwise we should probably close this 1.5-year-old issue as not possible to work on :)


Figure out the Licensing to use for our project

There are many opensource licensing versions we can pick from.
I basically want anyone to be able to run a streaming platform, use code from here and anything. The only thing I do not want is for someone to use code from here and run a commercial product off of this repo.
I do not want a big company to find us and then go ahead and spin us up on their stack and sell a product.
I do not want a competitor to steal our works and publish it.

perhaps CC BY-NC-SA 4.0?

The license in commit 60f6a05d047df5545f42b4f199f45e097b8f1e96 literally contains copyright for some random company in 1991. Also it says version 2 in it and the commit says 3.
Can we please choose a license from https://choosealicense.com/appendix/?
I assume you want to prohibit big companies from commercial use, but you'll need to make an exception for yourself. Related: https://opensource.stackexchange.com/questions/4875/open-source-license-to-prevent-commercial-use
Basically, it should be possible to achieve what you want, but with much effort. The general strategy seems to be [open-source license like GNU GPLv3] for non-commercial use, contributor agreement to maintain ownership of the whole project, separate commercial license.
It's also of note that prohibiting commercial use might be against point 6 of the OSD https://opensource.org/osd-annotated

Also, if you'll be making money on this, what about the other contributors? 🤨

The license in commit 60f6a05 literally contains copyright for some random company in 1991.

That's the FSF, not some random company.


Make error_description and error_uri accessible

The OAuth2 spec allows for error_description and error_uri parameters in the error response (http://tools.ietf.org/html/rfc6749#section-5.2). The current implementation of IDPException doesn't expose these at all.
These details could arguably be added to the exception message, but I could see a use case for keeping the message with just the "error" key so it can be easily parsed. Would it make sense to add getErrorDescription and getErrorUri methods? Or perhaps just a getResult method that provides access to the $result property?

Implemented in #229.


Update win32metadata to 15.0.1-preview

Waiting on https://github.com/microsoft/win32metadata/discussions/735 to update the metadata one more time so we can revert 3168668f6dc6263b02d37bd86f5f7f5afd1adb35 before merging.


[SPARK-29870][SQL][FOLLOW-UP] Keep CalendarInterval's toString

What changes were proposed in this pull request?
This is a followup of https://github.com/apache/spark/pull/26418. This PR removed CalendarInterval's toString with an unfinished changes.
Why are the changes needed?

Ideally we should make each PR isolated and separate targeting one issue without touching unrelated codes.

There are some other places where the string formats were exposed to users. For example:
scala> sql("select interval 1 days as a").selectExpr("to_csv(struct(a))").show()

+--------------------------+
|to_csv(named_struct(a, a))|
+--------------------------+
|      "CalendarInterval...|
+--------------------------+

Such fixes:
 private def writeMapData(
    map: MapData, mapType: MapType, fieldWriter: ValueWriter): Unit = {
  val keyArray = map.keyArray()
+ val keyString = mapType.keyType match {
+   case CalendarIntervalType =>
+    (i: Int) => IntervalUtils.toMultiUnitsString(keyArray.getInterval(i))
+   case _ => (i: Int) => keyArray.get(i, mapType.keyType).toString
+ }

can cause performance regression due to type dispatch for each map.

Does this PR introduce any user-facing change?
Yes, see 2. case above.
How was this patch tested?
Manually tested.

cc @cloud-fan and @yaooqinn

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18869/
Test PASSed.

Test build #114009 has started for PR 26572 at commit 81e8deb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18871/
Test PASSed.

LGTM, thanks for your follow-up.

Test build #114009 has finished for PR 26572 at commit 81e8deb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114009/
Test PASSed.

I locally checked ./dev/lint-scala which is only related to this change.

Merged to master.


Fix spi_loopback test

Fixes false passes and a stack overflow in the spi_loopback test.
cc: @hakehuang

Codecov Report

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

@@           Coverage Diff           @@
##           master    #9201   +/-   ##
=======================================
  Coverage   52.75%   52.75%
=======================================
  Files         201      201
  Lines       25293    25293
  Branches     5286     5286
=======================================
  Hits        13344    13344
  Misses       9820     9820
  Partials     2129     2129

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 a51fb78...fa710fd. Read the comment docs.

recheck

@tbursztyka ping

I guess the stack size is enough when this case is designed, but why in latest version it goes out of stack size? any updating in the k_poll?

I guess the stack size is enough when this case is designed, but why in latest version it goes out of stack size? any updating in the k_poll? @MaureenHelm @nniranjhana

The test may have always overflowed the stack without failing. In 1.12 we enabled hardware stack checking by the MPU, and found multiple tests that had been quietly overflowing the stack before checking was enabled.


[WIP]Setup dark theme and compose preview.

close #40
close #41
Changes

Move theme resources from app module to viewCommon module.
Setup compose preview with theme.
Setup compose preview for dark theme.

Screenshot

Before
After

Note

Codecov Report

Merging #52 (c585258) into main (5e1e453) will decrease coverage by 2.29%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #52      +/-   ##
============================================
- Coverage     32.04%   29.74%   -2.30%
  Complexity       32       32
============================================
  Files            44       44
  Lines           518      558      +40
  Branches         62       78      +16
============================================
  Hits            166      166
- Misses          351      391      +40
  Partials          1        1

Impacted Files
Coverage Δ

.../com/tfandkusu/template/compose/home/HomeScreen.kt
0.00% <0.00%> (ø)

...mplate/compose/home/listitem/GitHubRepoListItem.kt
0.00% <0.00%> (ø)

...main/java/com/tfandkusu/template/ui/theme/Color.kt
0.00% <ø> (ø)

...main/java/com/tfandkusu/template/ui/theme/Shape.kt
0.00% <ø> (ø)

...main/java/com/tfandkusu/template/ui/theme/Theme.kt
0.00% <ø> (ø)

.../main/java/com/tfandkusu/template/ui/theme/Type.kt
0.00% <ø> (ø)

...java/com/tfandkusu/template/view/error/ApiError.kt
0.00% <0.00%> (ø)

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 5e1e453...c585258. Read the comment docs.


[story/ECP-416] Add admin claim verifier ECP qualifications

Answered comments, rest seem to be about the same thing. Hopefully addressed.
Would be good to get this merged ASAP.

Appreciate but not convinced by refactoring suggestions. Besides, not sure why we're even discussing refactoring given circumstances and direction from on high.
If there's nothing urgent, and there doesn't appear to be, please can we get this approved.


Search by set fails

Summary
It would be nice to be able to search Tiled with either a set of values, or a single value. Both of these operations fail in different, and not very clean ways.
If searching via sets and single values is not going to be allowed, it sure would be nice to throw some nice exception, so that we don't chuck pymongo errors at users.
Details
Given a catalog, searching by a collection of values is a perfectly nice thing to do
cat = from_profile('ucal')
cat.search(In('group_md.name', ['pristine']))
<Catalog {5, 6, 7, 8, 9, 10}>

However, if this collection of values is a set you get an error
cat.search(In('group_md.name', {'pristine'}))
...
File ~/.conda/envs/ucal/lib/python3.9/json/encoder.py:179, in JSONEncoder.default(self, o)
    160 def default(self, o):
    161     """Implement this method in a subclass such that it returns
    162     a serializable object for ``o``, or calls the base implementation
    163     (to raise a ``TypeError``).
   (...)
    177
    178     """
--> 179     raise TypeError(f'Object of type {o.__class__.__name__} '
    180                     f'is not JSON serializable')

TypeError: Object of type set is not JSON serializable

As set is a perfectly nice way to store keys that you may want to search for (in fact, it's nicer than a list! Values are guaranteed to be unique!), it would be great to be able to search by a set of values.
Searching for just a single value also fails with an extremely long error trace, that ends with an OperationFailure
cat = from_profile('ucal')
cat.search(In('group_md.name', 'pristine'))
...
File ~/.conda/envs/ucal/lib/python3.9/site-packages/pymongo/network.py:160, in command(sock_info, dbname, spec, is_mongos, read_preference, codec_options, session, client, check, allowable_errors, address, listeners, max_bson_size, read_concern, parse_write_concern_error, collation, compression_ctx, use_op_msg, unacknowledged, user_fields, exhaust_allowed)
    158             client._process_response(response_doc, session)
    159         if check:
--> 160             helpers._check_command_response(
    161                 response_doc,
    162                 sock_info.max_wire_version,
    163                 allowable_errors,
    164                 parse_write_concern_error=parse_write_concern_error,
    165             )
    166 except Exception as exc:
    167     if publish:

File ~/.conda/envs/ucal/lib/python3.9/site-packages/pymongo/helpers.py:180, in _check_command_response(response, max_wire_version, allowable_errors, parse_write_concern_error)
    177 elif code == 43:
    178     raise CursorNotFound(errmsg, code, response, max_wire_version)
--> 180 raise OperationFailure(errmsg, code, response, max_wire_version)

OperationFailure: $in needs an array, full error: {'ok': 0.0, 'errmsg': '$in needs an array', 'code': 2, 'codeName': 'BadValue', '$clusterTime': {'clusterTime': Timestamp(1671211679, 1), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1671211679, 1)}

It looks like under the hood, mongo needs a list? It would be nice to at least check if you pass in a string, and reject such keys with a much shorter and more informative error message, such as a ValueError or something.

That solution sounds good to me. Would you be up for a PR, @cjtitus?

Seems like @pshafer-als has already written the code -- would they like to submit a PR?
If not, I'll get around to it sooner or later.

Sure.  I'll submit PR in the next few days.  All of you will be welcome to modify it as needed.

PR #379 enables generic sequences to be used for the value pass to In(key, value) and NotIn(key, value). This functionality already existed for Specs.
As a consequence In and NotIn now accept a string that is passed as value, but the behavior is not what was requested when this Issue was submitted. Instead, the string is converted to a list of characters...each of which is compared to the key.  It's simple enough to change this behavior, but more discussion is probably needed.
If a user passes a string value to In or NotIn, will they generally be expecting it to be used as an array of single-character keys?  Maybe, because this is a common idiom in python. But as clearly expressed in this Issue, the user might instead expect that that string is converted to a one-element list that contains the provided string. This ambiguity is probably good reason to disallow a string where a list is expected.
Options

Allow string value, to be used as list of characters. This is the current behavior. Should add an explicit test, such as in branch [test-string-as-list]
(https://github.com/pshafer-als/tiled/commit/e5a349fe5c8efabc96494a9281233a5cd417d665).
Disallow string value; raise a ValueError if attempted. This is consistent with the previous behavior of include and exclude parameters for Specs. See branch disallow-string-for-query-list
Allow string value; convert it into a 1-item list that contains the string. Branch allow-string-for-query-list does this for In, NotIn, and Specs.  To keep this behavior consistent, this branch explicitly removes the ValueError checks from Specs. This might have other consequences.

What do people think about these options?

I think that option 1 is potentially confusing. I very rarely want to treat a string as an array of characters, and have never contemplated using a string as an "array" of length-1 keys to be passed into a search function. I would think that most people who naively pass a string in without reading the documentation carefully will expect it to be parsed as a single key.
I personally do a lot of string-to-1-item-list conversions when I write functions, because I very often want to write functions that operate on one or more strings, and never want to treat a string as an array of characters. I would find option 3 to be the most convenient.
However, I think that the safest thing is probably option 2. If someone passes a string, throw a ValueError and make them explicitly either pass it as a 1-item list, or make an actual array of characters.
tldr; I would be happy keeping the behavior consistent, and disallowing string values.

@danielballan What do you think about taking this one step further by making a judgement call on the three options above?

FWIW, I agree that Option 2 provides clear expectation and probably covers the most common use case.
If someone wanted the behavior of Option 1, they could cast the character string to iter or list.  Similar logic applies for Option 3: the string can be passed as a 1-item sequence parameter. This also avoids the ambiguity of substring matching--i.e., whether In('op_key', 'candy') matches when {op_key: 'and'} is defined.


closes #29 - added fixed versions in docker-compose

Codecov Report

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

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   92.49%   92.49%
=======================================
  Files           7        7
  Lines         493      493
  Branches      123      123
=======================================
  Hits          456      456
  Misses         31       31
  Partials        6        6

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 970d69e...86c2558. Read the comment docs.

Thank you for your contribution. It will be merge into the next release.


fix PR link in README

The markdown was using [] instead of () for the URL, followed by a parenthetical explanation, which was making an ugly relative URL with the explanation text as the link...

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pnkfelix (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

thanks!


[Feature Request] Native HDR support

Native support for HDR would really improve the image quality for those with HDR Monitors/TVs
I know this would probably be a lot of work to add throughout the toolchain.

Would definitely be a pretty killer feature to be able to play old games on modern monitors with the full color spectrum.

Thanks for this suggestion! We've opened REMIX-3650 for internal tracking.


Trying to create an Express Route Gateway getting SKU error

https://github.com/Azure/ResourceModules/blob/39d270089f4b8c504b80ef30599d6efe17781434/arm/Microsoft.Network/virtualNetworkGateways/deploy.bicep#L347
Passing the following parameters to the module and receiving an error related to the SKU used.
module networkEGW '../../../arm/Microsoft.Network/virtualNetworkGateways/deploy.bicep' = if (networkObject.peeredToHub==false) {
  name: 'networkEGW-${location}-${env}-${nameSuffix}'
  scope: resourceGroup(networkObject.subscriptionId, resourceGroupName)
  params: {
    virtualNetworkGatewayName: 'egw-${location}-${env}-${nameSuffix}'
    virtualNetworkGatewayType: 'ExpressRoute'
    virtualNetworkGatewaySku: 'ErGw1AZ'
    vNetId: networkVNET.outputs.virtualNetworkResourceId
    activeActive: false
    publicIpZones: []
  }

  dependsOn: [
    networkRG
    networkVNET
  ]
}

Error :  The deployed SKU is in the allowed SKU list in the error. Resource should be deploying with Standard Static PIP and Express Route Gateway Type , ErGw1AZ SKU , and no availability zone configuration since not available in canada east.
{
    "status": "Failed",
    "error": {
        "code": "InvalidGatewaySkuSpecifiedForGatewayDeploymentType",
        "message": "Virtual network gateway Sku specified is not valid for gateway /subscriptions/<sub_id>/resourceGroups/rg-network-canadaeast-prod-connectivity/providers/Microsoft.Network/virtualNetworkGateways/egw-canadaeast-prod-connectivity with DeploymentType VMScaleSet. The allowed Skus are ErGw1AZ,ErGw2AZ,ErGw3AZ.",
        "details": []
    }
}

Similar to this thread : https://github.com/hashicorp/terraform-provider-azurerm/issues/9892

@jceval For Canada East, as it doesn't support AZs yet, the parameters should deploy using either the (Standard, HighPerformance, UltraPerformance) SKUs. I've added them to the allowed list and this will convert the PIP to Basic and Dynamic as well.


addon-graphql flow extension errors. (react 16)

I have add the addons/graphq module to a project. Works great! My terminal is a mess though with flow errors. Also affect jest test per test run output below.
So the rendering is good but the you lose the tests....
Is this a known thing? If so what is the solution? Thank you.

errors:

WARNING in ./node_modules/graphql-language-service-interface/dist/autocompleteUtils.js.flow
Module parse failed: Unexpected token (11:12)
You may need an appropriate loader to handle this file type.
|  */
|
| import type {GraphQLField, GraphQLSchema, GraphQLType} from 'graphql';
| import {isCompositeType} from 'graphql';
| import {
 @ ./node_modules/graphql-language-service-interface/dist ^.*$
 @ ./node_modules/graphql-language-service-interface/dist/GraphQLLanguageService.js
 @ ./node_modules/graphql-language-service-interface/dist/index.js
 @ ./node_modules/codemirror-graphql/hint.js
 @ ./node_modules/graphiql/dist/components/QueryEditor.js
 @ ./node_modules/graphiql/dist/components/GraphiQL.js
 @ ./node_modules/graphiql/dist/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./stories/graphql.stories.js
 @ ./stories/index.js
 @ ./.storybook/config.js
 @ multi<EMAIL_ADDRESS><EMAIL_ADDRESS>(webpack)-hot-middleware/client.js?reload=true ./.storybook/config.js

-jest test error
  ● Test suite failed to run

    /Users/shingdev/code/awesome-components-idkjs/node_modules/graphiql/graphiql.css:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){.graphiql-container,
                                                                                ^

    SyntaxError: Unexpected token .

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
      at Object.<anonymous> (node_modules/@storybook/addon-graphql/dist/preview.js:27:1)
      at Object.<anonymous> (node_modules/@storybook/addon-graphql/dist/index.js:7:16)

+1

It's been a while since GraphQL has been updated and we'd love some help. If you guys are willing to dig into the codebase a bit, we'd really appreciate some work on the addon.

Has anyone found a fix for this? I have encountered the same issue in my project. It wont render in the storybook at all.


Asynchronous events support

Hi All!
I noticed that temp_alarm.erpc mentions Asynchronous events from M4 to Linux. But I could find erpc transport(serial, tcp, shared mem, etc.) or API that supports this feature. Does erpc support asynchronous events(from server to client) or it's something that will be added later?
Cheers,
Taras.

Hi @zaporozhets , asynchronous messages (do not expect respond) are done trough usage of "oneway" keyword in front of function declaration.

Sorry my first comment was about asynchronous calls (one direction).
What example is pointing to is have one client,server on m4 side and another client,server on Linux side. So Linux may asynchronously send messages to m4 and m4 to Linux. You need use client arbitrator instead of basic client implementation.


Add m (muxer) and x (pixel-format) to getopt_long

For the record, these options were implemented in f81bb8d27 , but weren't added to getopt_long.
Thanks for the catch!


interactive regression error

import torchvision.transforms as transforms
from xy_dataset import XYDataset
TASK = 'road_following'
CATEGORIES = ['apex']
DATASETS = ['A', 'B']
TRANSFORMS = transforms.Compose([
transforms.ColorJitter(0.2, 0.2, 0.2, 0.2),
transforms.Resize((224, 224)),
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
])
datasets = {}
for name in DATASETS:
datasets[name] = XYDataset(TASK + '_' + name, CATEGORIES, TRANSFORMS, random_hflip=True)

OSError                                   Traceback (most recent call last)
 in
----> 1 import torchvision.transforms as transforms
2 from xy_dataset import XYDataset
3
4 TASK = 'road_following'
5
~/.local/lib/python3.6/site-packages/torchvision/init.py in
4 from .extension import _HAS_OPS
5
----> 6 from torchvision import models
7 from torchvision import datasets
8 from torchvision import ops
~/.local/lib/python3.6/site-packages/torchvision/models/init.py in
----> 1 from .alexnet import *
2 from .resnet import *
3 from .vgg import *
4 from .squeezenet import *
5 from .inception import *
~/.local/lib/python3.6/site-packages/torchvision/models/alexnet.py in
----> 1 import torch
2 import torch.nn as nn
3 from .utils import load_state_dict_from_url
4 from typing import Any
5
~/.local/lib/python3.6/site-packages/torch/init.py in
194     # See Note [Global dependencies]
195     if USE_GLOBAL_DEPS:
--> 196         _load_global_deps()
197     from torch._C import *  # noqa: F403
198
~/.local/lib/python3.6/site-packages/torch/init.py in _load_global_deps()
147     lib_path = os.path.join(os.path.dirname(here), 'lib', lib_name)
148
--> 149     ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
150
151
/usr/lib/python3.6/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error)
346
347         if handle is None:
--> 348             self._handle = _dlopen(self._name, mode)
349         else:
350             self._handle = handle
OSError: /home/jetson/.local/lib/python3.6/site-packages/torch/lib/libgomp-d22c30c5.so.1: cannot allocate memory in static TLS block
i don't know why this happen.
plz helppp

I had this problem too cant find the proper solution to it yet. Any luck?

Just refresh the website, if it still doesn't work, restart the kernel.


[Accessibility][Headings and Labels - Property Pane_Ask a question]: Heading structure is not correct as the name of the pane should be defined under heading tags.

User Experience
Users who rely on AT will face difficulty and easily confused if the headings are not defined correctly.
Test Environment
Browser: Microsoft Edge Canary Version: 82.0.425.0 (Official build)
OS build: 2004 (19564.1005)
Screen Reader: Narrator
Tool Used: ANDI
URL: Bot Framework Composer
Prerequisite Here
Repro Steps:

Open the above mentioned URL in EDGE and turn on narrator.
Navigate to already created dialog tree item and activate it. Such as- Greetings, Actions, EndDialog etc.
Click on "+" and select 'Ask a question'. Then select any of the available options except Oauth login.
Navigate to property pane appeared at right side of the screen and navigate with 'H' i.e. shortcut for Headings.
Observer the issue in Property Pane.

Actual:
Their is no heading is defined for the Property Pane of the node.
Expected:
Every pane must have a heading, so, that the user will able to navigate quickly through the heading shortcut.
Note:
Issue is observed for all the Property Pane  appeared at right side of the screen
MAS Impacted: MAS2.4.6
Attachment:

@DesignPolice  Looping you in; Inputs cannot have headings in them, so it's possible the input location would need to be changed in favor of the heading. Does this require design input? (I'm assuming yes).
If I'm wrong, feel free to unassign yourself :P

Good morning. Happy to help, I'm trying to duplicate the issue, to make a decision on it... In the screen grab, Prompt for text with Prompt for text under it is odd, but is this saying there should be a header above it called Prompt of Text instead of under?
I'm seeing this.. OAuth login - but nothing with prompt. So I assume I'm doing it wrong.

Anyway.
They are saying we need a header above Prompt for text - which makes sense, but I wouldn't want a header to say Prompt for Text, then a Fill in the blank Prompt for Text and then below it again...
@corinagum

Ah, directions say pick any option except OAuth option. Could you take a look at a different one? Let me know if you want to call over Teams

@DesignPolice ping on this guy

alright ya that is on me - will take to the 11am meeting today - thanks

From what I am seeing in the initial screenshot, it looks like there is a delta between the sections as we see them and have labeled them from what the Screen Reader sees/reads.
So, specifically with respect to the Properties pane: The pane should be labeled 'Properties (pane)' and the title shown provides the specifics: Text Input Properties.
@cwhitten - from a dev side, how can we make sure the UX-area grouping and labels are reflected correctly in accessibilty mode/through the screen reader?
more info...
Also:
This document captures how the areas in the UX are grouped and labeled:
Note: for the 'design flow', the 'filter box' should be part of the toolbar vs part of the nav. the nav is where the results show.
https://github.com/MicrosoftDocs/composer-docs-pr/blob/SM-NamingConventions-Composer/contributor-guide/Naming conventions for the Bot Framework Composer.md

@cwhitten @zxyanliu @DesignPolice Where are we on this? If there's something that needs fixing I'd like to be able to clear this ticket out, but I need guidance on what.

Hey Ben,
Yes this is ready to go, from what I was able to understand, is that in the code on the site these areas need to have titles for a Screen Reader. @mareekuh outlined the areas and gave them names, The visual key is just to make sure you can tell what area is what.
I will be around if you have more questions, just ping me, I'm working on Build stuff.

Okay, I see exactly what needs doing now. I'll knock this out in the morning.

This is how it ends up looking in Narrator's list of landmarks:

What is 'navigation' the left-most panel? If so, we call that the Menu.
Main = the title/header of the page (Settings, Bot Responses etc)? If so, let's call that 'Title'
What is the 'navigation path'?
Please use Sentence capitalization

I have been having too many access issues today... So sadly here are the screenshots from the Teams chat that Ben and I had.
We just need to define areas and labels for the other screens as well.

User input

left nav = Navigation panel
Title
body of the page = List view

Notifications
(I asked Chris to turn the dropdown into a leftnav to be parallel to the other pages

Title
List view (The columns can be referred to the column names)

Publish profiles (note: sentence cap!)

Navigation panel
Title
List view

Skills
hmm. Listview and settings?
Next round this page will look like the others: Navigation panel and Listview

Navigation panel
Title
List view

Settings

Navigation panel
Title
List view

FYI. This is the naming convention shared in our writers' team. The screenshots are not up to date, but the naming and labeling of the areas might be helpful. :)

Bot Responses

User Input

Notifications

Settings

A few comments:
User input
@cwhitten @zxyanliu @DesignPolice @beyackle
User input - Do we need to mark the 'title'?

What do we call the view if the editor switch is turned on vs turned off? If it's on, 'User input Editor' makes sense to me, when on, User Input listview makes sense

Notifications - please use 'page control' as a label vs navigation control. We'll be moving the 'all-warnings- errors' dropdown into the navigation pane and the page control will remain at the bottom or go somewhere else.
Settings - this page will be undergoing some UI changes also:

'Settings' will in the 'title' area, just like the publishing page etc.
the settings menu will be looking the same as all of the left navs, so we can call this 'settings navigation pane' and it should take the same visual conventions as all other leftnavs in the app (right now 'configuration' has a special treatment which we'll want to remove'
Settings editor works for me if the editor switch is on. We're also planning to have a GUI version of the settings page

Re-opened due to #2956 . Will redo.

Please let’s keep things consistent and call it the :

Bot Responses Navigation pane and editor?
User Input Navigation pane and editor?

Also

Notifications:  Paging control (vs navigation control as moving forward we are turning the ‘all/errors/notifications dropdown into a left nav panel, like the other pages?
Settings menu = Settings navigation panel

From: Yan Liu<EMAIL_ADDRESS>Date: Wednesday, May 6, 2020 at 5:53 PM
To: microsoft/BotFramework-Composer<EMAIL_ADDRESS>Cc: Marieke Iwema<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/BotFramework-Composer] [Accessibility][Headings and Labels - Property Pane_Ask a question]: Heading structure is not correct as the name of the pane should be defined under heading tags. (#2080)
FYI. This is the naming conventionhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fcomposer-docs-pr%2Fblob%2FSM-NamingConventions-Composer%2Fcontributor-guide%2FNaming%2520conventions%2520for%2520the%2520Bot%2520Framework%2520Composer.md&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857253498&sdata=opk4AHxbsdkzyOjbiX6EFwNlE%2Fud4Y3u21MfpHa6L7c%3D&reserved=0 shared in our writers' team. The screenshots are not up to date, but the naming and labeling of the areas might be helpful. :)

Bot Responses
[bot-responses]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F32497439%2F81242452-ffb91080-8fc1-11ea-8464-fda99e30bada.png&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857253498&sdata=pcewJ4ugfliFOXs2z%2Baa5aCgudQ2t%2BIrUabeKSa4gok%3D&reserved=0
User Input
[user-input]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F32497439%2F81242420-e7e18c80-8fc1-11ea-8cfa-2fb5c419a963.png&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857263487&sdata=rI4YHwyXhhcQpwVwd7R95GEpKiDahYwkmHEOE4I0YKA%3D&reserved=0
Notifications
[notifications]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F32497439%2F81242470-0f385980-8fc2-11ea-85d9-cdd8193d4ed7.png&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857263487&sdata=k%2BzEeIaGDDw23343%2F%2F5MJyxJv%2B%2FKc5SZe1FBcwT9TNI%3D&reserved=0
Settings
[settings]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F32497439%2F81242474-1495a400-8fc2-11ea-84e7-93324b74e024.png&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857273482&sdata=fDRSakvSC1Pw7UyNnSiZ%2FNC20%2BVE%2BfbxNoyUZ3QfbNY%3D&reserved=0

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FBotFramework-Composer%2Fissues%2F2080%23issuecomment-624966910&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857273482&sdata=5d5YrYH%2Fz6eTQmY%2F3V6SrDae1fDYnph2lak1ZY0xURs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALSBVCTHOHH2YOZKNIW5HCDRQIA67ANCNFSM4K3FWUSQ&data=02|01|mariekei%40microsoft.com|2458afc90235490d600808d7f220ffce|72f988bf86f141af91ab2d7cd011db47|1|0|637244095857283476&sdata=%2BMmb9k8tGf8ciTC%2FWTYWc6m76D6cLAqJjRHAwwsU88U%3D&reserved=0.

@zxyanliu

@mareekuh Yes. We should make the terms consistent. I will update the naming conventions as suggested. Thanks!

I've updated the labels in #2959 as well.

@cwhitten As checked the only one heading i.e. chart name is defined as heading still the property pane didn't have any headings.

Are we still working on this ticket? What is the status? What is needed from the docs?

We implemented navigation landmarks (https://accessibility.oit.ncsu.edu/it-accessibility-at-nc-state/developers/accessibility-handbook/aria-landmarks/) as a way for SR users to navigate around the page; this is IMO a better option than messing up the visual design by putting literal headings everywhere. I'd be okay closing this.

Hey @beyackle, thanks for the info.
If there is nothing required on the docs side, I am going to unassign myself from this thread.

#Nonbenchmark;


Missing 'jfif' format encoder. Only have 'image/jfif' format.

I have an issue with JFIF format. The problem is some of the JFIF the format only return as jfif not image/jfif. Right now the code only check for image/jfif. I just added jfif in the AbstractEncoder.php file.

@olivervogel can you please tag a new release?


GLIBC_2.29 not found in Deepin 20.9

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
I get this error when trying to open in deepin 20.09
Compiled using cargo build --release --target x86_64-unknown-linux-gnu
My development environment

When running the generated binary I get the following error

My Cargo.toml
[package]
name = "costv"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced = { version = "0.12.1", features = ["lazy"] }
iced_core = "0.12.3"

[profile.release]
strip = true

What is the expected behavior?
This is the expected result

Version
crates.io release
Operating System
Linux
Do you have any log output?
No response

Your system is running an older version of glibc, try upgrading it or use the x86_64-unknown-linux-musl target to statically link a libc.


Fix BPTC regressions

Fixes regressions from 0565adb20ff01a758c5ae8e4534a2cb7f07952df, which broke BC7 by excluding LDR inputs from the valid input format set, broke BC6H on any input that doesn't have an alpha channel (which is most of them) by misusing a check intended to disable BC7 on RGB images, and broke the import_bptc setting.
This brings back the old alpha detection flag with a clearer name (and hides it when BPTC import is disabled), fixes the bugs, and fixes importing HDR inputs to LDR compressed formats not working properly.

@reduz says "seems fine", so merging :)
Thanks!


[chore] Routine upgrade

Signed-off-by: Antonette Caldwell<EMAIL_ADDRESS>Description
This PR
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Issues with a couple of a packages. Will reopen shortly.


Create tests for DAV ID icon - getDavIdIconUrl()

Mission Control
The DAV project you are looking at is Mission Control. It is the brain in charge of orchestrating missions between DAV users and autonomous vehicles.
How you can help
The Issue
As a project that relies on a large community of contributors, it is very important for us to have good test coverage to make sure changes don't break anything.
The file /server/lib/davIdIcon.js isn't tested at all. Create a file /test/specs/lib.davIdIcon.spec.js that will test the function getDavIdIconUrl()
Test that getDavIdIconUrl() fulfills these conditions:

returns an absolute url

You can check that a url is valid using new URL as explained here: https://stackoverflow.com/a/43467144/338039
You can see how this file should be structured based on the other files in the specs directory.
To run your tests, run npm test from the project's root directory. All tests should pass.

Contributing to Mission Control

[ ] Fork the repository from the Mission Control GitHub page.
[ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missioncontrol.git
[ ] Make sure you have node.js and npm installed on your machine. You can use this guide for help.
[ ] Install all of the project's dependencies with npm. $ cd missioncontrol; npm install
[ ] Run npm test to run linting checks and all the automated tests and see that they pass.
[ ] Code! code! code!
[ ] Before committing your code, run npm test one last time and make sure no errors (including linting errors) are thrown.
[ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missioncontrol) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #28)

Claimed by @Valilutzik


[BUG] Res not found

Information

**Apktool Version (apktool -version) v2.7.0
**Operating System: Linux ubuntu
**APK From? Playstore YxxT
**Java Version 11.0.14

Stacktrace/Logcat
Include stacktrace here

05-01 12:54:32.903 27280 27280 E AndroidRuntime: FATAL EXCEPTION: main
05-01 12:54:32.903 27280 27280 E AndroidRuntime: Process: com.xx.xx.YT, PID: 27280
05-01 12:54:32.903 27280 27280 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xx.YT/com.xx.xx..Shell_HomeActivity}: android.content.res.Resources$NotFoundException: Drawable com.xx.:drawable/quantum_launchscreen_yt with resource ID #0x7f080a79
05-01 12:54:32.903 27280 27280 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3477)
05-01 12:54:32.903 27280 27280 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3620)
Steps to Reproduce

apktool d YT.apk
apktool b YT
sign apk
Install apk, run it get crash stack.

APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? Yes
If you are trying to install a modified apk, did you resign it? Yes
Are you using the latest apktool version? Yes

Sorry for delay - closing for existing - https://github.com/iBotPeaches/Apktool/issues/2849


Static lib

Generate code as static lib

https://github.com/goodwinxp/ATFGenerator/commit/759b2c54822d59ed1dceefcffb6454efe7893329


How to publish movep via rosbridge and Json?

I would like to publish movep commands from another software via rosbridge to the ur_modern_driver.
When using rosbridge with Json would it work like this code?
Is /ur_driver/URScript the correct topic and is the formatting of the std_msgs correct?
import json

data = {
"op":"publish",
"topic":/ur_driver/URScript,
"std_msgs/String":{
    "data":("movep(p[0.293,-0.514,0.125,0.2647,1.8632,-1.5809]), a=1.2, v=0.25)\n movep(p[0.293,-0.514,0.125,0.2647,1.8632,-1.5809]), a=1.2, v=0.25)\n
movep(p[0.293,-0.514,0.125,0.2647,1.8632,-1.5809]), a=1.2, v=0.25)\n")},
}

R = json.dumps(data)

I understand why you posted your question on this tracker, but just about everything you ask is about JSON and rosbridge_suite.

Is /ur_driver/URScript the correct topic

yes.

is the formatting of the std_msgs correct?

It appears to be a std_msgs/String, so far so good.
As to the data field: I woule recommend to wrap all the lines in a program. Something like:
def the_prog():
   # your lines
end

I'm not sure whether things will work otherwise.

As this is not an issue with the packages in this repository, I'm closing this.
If you feel this is incorrect please clarify and re-open. You may of course post additional comments regardless.

Thanks for your fast reply!
I am trying to update the positions live from a CAD software, to live updated locations for poses. Which I than send to the robot.  So at the moment I am using a websocket connection from within my CAD software to send  data to topics. I can subscribe to topics of the ur_modern_driver, but have no idea how to send poses to it.
Why would it make more sense to not use the driver?
Or do you mean to send to another topic or even a service?
I am fairly new to ROS and this is my first attempt to operate an UR via ROS.

Why would it make more sense to not use the driver?

you can just send URScript snippets/programs to tcp://ip.of.your.robot:30002 directly. No need for the ROS driver.

So I played a bit and now I am going for the topic  /follow_joint_trajectory/ goal
That seems to be more accurate for later tasks...
Anyhow I am getting the error received a goal with incorrect joint names.
joint_names: ['shoulder_pan_joint', 'shoulder_lift_joint', 'elbow_joint',                'wrist_1_joint', 'wrist_2_joint', 'wrist_3_joint']
Any ideas?

This seems like a completely new problem. It's generally recommended to not address different problems in a single issue.
While this sounds more like a ROS Answers question, if you post a new issue we can see whether we can address it here.


Update caching.md

https://webpack.js.org/plugins/split-chunks-plugin/
describe your changes...

[ ] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[ ] Make sure your PR complies with the writer's guide.
[ ] Review the diff carefully as sometimes this can reveal issues.
Remove these instructions from your PR as they are for your eyes only.

Closing this for lack of clarity, please comment if decide to revive this PR @Skytim


Add separate cloud build trigger/job for nonprod/prod workloads

separate out by a new cloud build job for example the new prod workload project from #263  in https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/environments/prod/workloads.tf
we will need a new workloads and prod/non-prod subfolders

20240406: Closing issue during retrofit/rebase of this TEF V1 based/modified repo to TEF V4 standards
This issue may participate in the LZ refactor after rebase
Query on all issues related to the older V1 version via the tag
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/labels/2024-pre-tef-v4


Major Update of Documentation

Many more details
Update and added many screenshots
Aligned with abaplint sci server

thanks 👍

:+1:


ci: run electron runner tests on GH actions

The other unit test configuration is alpine-based, which uses musl libc and is currently incompatible with running electron
Testing

If the unit tests pass, we win

oh shucks. I broke coverage bot because the test:coverage task doesn't exist in the "before" changeset.


Added fixes and installation documentation

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

[ ] Bug fix
[ ] Feature implementation
[x] Doc updates

What changes have you introduced?

fixes #69
Added installation documentation for all three platforms
fixed the erros in documentation when this file was changed from rst to md

Preview / Steps to verify your work:

Go to https://github.com/sid911/pslab-documentation
Click on Desktop.md file to preview it

This is for developers. Isn't there a way to install production build? 🤔🤔

nope... @MuhammadWasif

yeah there is... its in install branch but that never gets builds because build system is broken

@fcartegnie can this be reviewed? thanks

@fcartegnie Done :)

@fcartegnie fixed type and added formatting, if that meant this
 😅

@cweitat please review and merge 😀

@cweitat I think that's it.. for typos that I could spot 😅

@cweitat that section is already made.. just the link wasn't correct as it was changed from .rst to .md,I changed just that part :)


Updated the GPU tutorial for single node.

@LouisBerner - can you tag @alkohli when this is ready (and you've taken it out of draft mode)? thanks
@alkohli

When @LouisBerner makes this ready for review, can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

If this PR needs approval, or if the commits need to be pulled into the private repo, contact @ManikaDhiman. Thanks.


Remove dealias function

Per https://github.com/bytecodealliance/wit-bindgen/pull/604#discussion_r1268234625, we should consider duplicating resource type information for each of a given resource type's aliases so that we don't need to call dealias anywhere.  Note that we'll need to be careful to update the info for any and all aliases whenever the resource info is updated.

I've later come to conclude that this function is necessary, so I'm going to close this.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 214 ms

Resolved: ClamAV performance has improved in cd5c4af.


Plunker template doesn't work

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Working plunker template.
What is the current behavior?

"Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U"
Plunker does not load @angular/animations.ts.
What are the steps to reproduce?
https://goo.gl/DlHd6U

Thanks. Fixed it!


Allow registering of resources via ReflectResource / ReflectComponent

Objective

Resolves #15453

Solution

Added new World::resource_id and World::register_resource methods to support this feature
Added new ReflectResource::register_resource method, and new pointer to this new function
Added new ReflectComponent::register_component

Testing

Tested this locally, but couldn't test the entire crate locally, just this new feature, expect that CI will do the rest of the work.

Showcase
#[derive(Component, Reflect)]
#[reflect(Component)]
struct MyComp;

let mut world = World::new();
let mut registry = TypeRegistration::of::<MyComp>();
registry.insert::<ReflectComponent>(FromType::<MyComp>::from_type());
let data = registry.data::<ReflectComponent>().unwrap();

// Its now possible to register the Component in the world this way
let component_id = data.register_component(&mut world);

// They will be the same
assert_eq!(component_id, world.component_id::<MyComp>().unwrap());

#[derive(Resource, Reflect)]
#[reflect(Resource)]
struct MyResource;

let mut world = World::new();
let mut registry = TypeRegistration::of::<MyResource>();
registry.insert::<ReflectResource>(FromType::<MyResource>::from_type());
let data = registry.data::<ReflectResource>().unwrap();

// Same with resources
let component_id = data.register_resource(&mut world);

// They match
assert_eq!(component_id, world.resource_id::<MyResource>().unwrap());

Possible problems
There is now a difference between behavior. now, it's possible to have a Resource registered in the world without any values. I'm not sure if this affects the internals very much, but at least the user facing API is expected to be the same, after all, the get_resource api doesn't seem to depend on this registration to check any types. This means that, even if the Resource is registered, get_resource and friends is expected to return the same: Option<R> if value, None if not inserted.

@chompaa can I get your review here? This seems like a sibling to #15501.


Cypress tests

Codecov Report

Merging #166 (bb6d0c6) into main (d95c8ed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #166   +/-   ##
=======================================
  Coverage   87.79%   87.79%
=======================================
  Files          11       11
  Lines         254      254
  Branches       26       26
=======================================
  Hits          223      223
  Misses         29       29
  Partials        2        2

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 d95c8ed...bb6d0c6. Read the comment docs.


Remove genesis-total-weight

Motivation
Now that we have a fallback from the in-consensus active set for the Hare, we can have a proper genesis flow without pre-configuring how many miners or how much weight is allocated.
Changes
Remove the GenesisTotalWeight config (formerly GenesisActiveSet) and all code that uses it. The Tortoise active set will be used immediately after genesis.
Test Plan
Existing unit- and system tests. The genesis flow is already well tested, the logic just changed now, but behavior remains identical.
DevOps Notes

[ ] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
Yes, it does. The genesis-total-weight param should be removed.
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

bors try

@lrettig I removed significantly more code since your review (found out that the active set from view calculation was never used and it had a lot of supporting code like a cache and mutex). Could you take another look?

bors try

@lrettig now I understand what you were referring to - thanks for the commit 😉

bors try

bors merge

@lrettig

hare falls back on tortoise active set during genesis, but how is that bootstrapped in the first place?

The Tortoise active set is simply the set of all ATXs received in the previous epoch. During epoch 0, miners start working on their ATX and they publish it during epoch 1. Blocks are first published in epoch 2, which is also when the first Hare runs. If it falls back to the Tortoise active set, it means it will use all ATXs published in epoch 1 and received by the node. If ATXs are published late, less than 30 seconds before the Hare takes a snapshot of the active set, there could be a Byzantine failure, where some nodes see one active set while others see another. IIRC, we decided that this is ok, despite not being extremely unlikely, because the worst that can happen is that we immediately go into self-healing, which is the next best alternative for the genesis flow anyway. We're being optimistic and trying the fast track, if it fails, we fall back to slow-but-guaranteed success - after genesis, as in any other time.

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge


Script doesn't like folder names with ' in them

I have a series called Clarkson's Farm which I have in a folder called Clarkson's Farm (2021)
I have created a folder in the assets directory with the same name but any posters, backgrounds or episode images aren't being picked up by the script.
I'm assuming it is because of the ' in the folder name.
Obviously as a work around I can rename the folder but this is the name that Sonarr automatically gave it and I'd rather not have to rename things if I didn't have to.

you shouldnt have to rename the folder. was this working previously and just stop working or was it never working at all?
Also how are you trying to update the assets for the item? (like which method are you using)

Also its not because of ' i just ran a test that was able to work with a file that has a year and ' in its folder name

I have asset_folders and assets_for_all set to true, I put the folder called Clarkson's Farm (2021) in my assets directory and ran the script and in the folder I have files named S01E01.png, S01E02.png etc.
This seems to be working for all other series I have done it with except this one and I assumed it was just because of the ' in the folder name.

are you using the develop branch if not can you try it on the develop branch and then send me the meta.log

I'm using the develop branch, still isn't picking up the folder. Should I just paste the content in here, pastebin or email it to you?

Pastebin or git gist either works

https://gist.github.com/alexander-paterson/8fdeebe748befa325ae83759f393fe24

So, I've nuked my git folder and re-downloaded the dev repo, now when I run the script the show I was having issues with has had its images changes.
Not sure what the issue was, maybe I didn't update/change to the dev repo. I guess this can be closed now.


Unable to create child component of class Button from React native.

I want to create class like following code:
'use strict';
import {
Button
} from 'react-native';
export default class MyButton extends Button {
onPress(){
}
}
Can you please let me know is it possible to create a child Button component?

You should create a new component that renders a Button, don't extend it.

Why can we not extends Button?
On Tue, Dec 27, 2016 at 11:52 PM, James Ide<EMAIL_ADDRESS>wrote:

You should create a new component that renders a Button, don't extend it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/11639#issuecomment-269362954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASQpOwB8dpKMNHk01diaH7hn8xmYPHgBks5rMVdagaJpZM4LWQF6
.

@amourya-systango
Because a preferable workflow with React is composition of components (not class extension)


Rationalize SDGym Compatibility

Issue #432 was masked by the fact that the train method on DPCTGAN and PATECTGAN takes an ordinal_columns and a categorical_columns parameter, but no continuous_columns.  This is a confusing API, which callers could reasonably assume ignores continuous columns.  We borrowed this API from sdv-dev/CTGAN (the method on sdv-dev/CTGAN is fit), which really isn't intended to be called independently.  The primary way to use CTGAN in SDV is to use sdv.tabular.CTGAN, which is a wrapper around sdv-dev/CTGAN that provides a different method signature for fit.  Our PytorchDPSynthesizer is the analogous wrapper, and implements a fit method with the same signature as sdv-dev/CTGAN rather than sdv.tabular.CTGAN.
The rationale for copying the method signature was to ensure compatibility with SDGym.  However, it's not clear that is being achieved.  The SDGym CTGAN takes a table_metadata in the constructor, which includes all the information about which columns are categorical, continuous, and ordinal; and the fit method takes only the Pandas dataframe.  The interface for SDGym is to expose a fit which takes a dictionary of pandas data frames, and a JSON-based metadata file describing types (e.g. 'categorical', 'continuous') and relationships.  Our main use case involves a single table with no relationships, and we support both numpy and pandas, so the SDGym fit is both too restrictive and too flexible.
DPSDGym does have a metadata format that can be passed in with information about column types.  We should rationalize the design to ensure:

If caller passes SDGym table_data or metadata to fit or fit_sample on any of our synthesizers, we should just work.
Metadata from DPSDGym (different from SDGym) should also just work
Callers not using either gym should be able to pass in a single table as np.ndarray or pandas dataframe, and simplified metadata that is easy to construct declaratively in a method call

Notes from discussion with @lurosenb
There are 4 main areas of potential compatibility with SDV:

Synthesizer Interface
RDT: Reversible Data Transforms for preprocessing and postprocessing
SDMetrics: Utility metrics for synthetic data
SDGym: The benchmarking orchestration layer, which runs synthesizers and tests against the available metrics

Synthesizer Interface
All of our synthesizers will expose fit and sample, patterned after BaseTabularModel in SDV.  The data parameter to fit will allow a single pandas dataframe, numpy array, or string.  Note that this is a departure from DPSDGym, where the fit methods take a dictionary of tables.
In BaseTabularModel, the metadata needed for transforms is passed in to the constructor (as opposed to SDGym, where it is passed in to the fit methods).  In either case, the set of reversible data transforms is automatically created for the caller, based on heuristics from the metadata, with some ability for callers to override default transforms.  Most of the transforms in SDV are not compatible with differential privacy, so we cannot automate the transform selection in a compatible way.  We will assume that the caller will handle transform and inverse transform.  That is, the fit and sample will assume that all data have been transformed to the format required by the synthesizer.  It is likely that callers may want to chain transforms, and it's beyond the scope of our synthesizers to generalize this in a metadata-driven way.
We will allow the caller to pass in a transformer loosely based on SDV's HyperTransformer to the synthesizer's constructor.  This means that no column metadata is passed to the synthesizer, apart from any column metadata that might be used to initialize a transformer.  We can provide some default transformers, including one initialized from some sort of metadata about columns, but these are the responsibility of the caller to initialize and pass in.
All synthesizers will be accessible through a factory, and the factory can expose instances of the same class with different hyper parameter settings tuned to common scenarios.
Not all synthesizers will accept all column types.  For example, MWEM requires numerically coded categorical.  Synthesizers should expose the permitted types of columns, to assist automation of benchmarking.
Each synthesizer may have unique hyper parameters, which are passed in as kwargs, as in BaseTabularModel.
Relational data are out of scope for our synthesizers.
RDT
Few of SDV's reversible data transforms are suitable for differential privacy, but we will use the same interface, so our differentially private reversible transforms should be compatible with SDV.  We will support only a few transforms at first, though it would be ideal to make DP versions of many of the RDT transforms.

DP standard scaler (from diffprivlib)
Categorical to one-hot
Non-DP standard scaler if public min and max are available
DP-safe binning

In context of DP, the fit method of a transform may consume privacy budget each time it is called.  And callers who are testing multiple synthesizers may want to share a fit across synthesizers.  We need to have a privacy accountant on the RDTs, and the synthesizer constructor should allow the caller to specify if a transform has already been fit and should be re-used, or if it should spend budget.
Note that RDT has special columns such as identifier, faker, or label, and also supports constraints for rejection sampling of sampled rows.  We should try to support these in a differentially private manner.
SDMetrics
All of the metrics exposed in SDMetrics are useful for assessing differentially private synthetic data, so we will aim for exact compatibility.  We will have code samples showing how to use SDMetrics against output from our synthesizers, and our extra metrics, such as PMSE, will be compatible.  Ideally, our additional metrics would be contributed back to SDMetrics.
SDGym
Integration with SDGym's benchmarking runner could be very difficult to achieve, since we can't achieve exact compatibility with BaseTabularModel or SingleTableBaseline.  If we get close enough in the BaseTabular analogue, it might be possible for someone to create a wrapper for SDGym's SingleTableBaseline, but they would need to take extra precautions to avoid having the non-DP transforms be used.
At the same time, we don't want to create a parallel benchmarking product.  We will provide code samples for automating synthesizer comparison, and decide later how to integrate with any more developed third-party benchmarking suites.

Fixed in #490


kubernetes.config.config_exception.ConfigException: Invalid kube-config file. Expected key users in kube-config

After installing Kubernets package used the script to list of all pods.
But After running the script I am observing following error.
File "1.py", line 4, in
config.load_kube_config()
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 311, in load_kube_config
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 282, in _get_kube_config_loader_for_yaml_file
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 118, in init
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 134, in set_active_context
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 253, in getitem
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. Expected key users in kube-config

does kubectl works? can you share redacted kube config file content at ~/.kube/config?

apiVersion: v1
clusters:

cluster:
server: http://<IP_ADDRESS>:8080
name: test
contexts:
context:
cluster: test
user: test
name: test
Yes Kubectl command is working fine
Below the o/p of command
root@csp-central-ms-vm1839:~/REQUESTS# kubectl get pods
NAME                                          READY     STATUS             RESTARTS   AGE
csp.admin-portal-ui-346402271-qnuw8           1/1       Running            0          24d
csp.ams-2611059999-cypjx                      1/1       Running            0
24d

I uploaded a PR that should fix this issue, could you test please?

I commented on your (merged) PR. I think it is in the right direction but needs more fixes. It may fix @sidd14491 issue (sidd14491 can you confirm?) but need to fix this for all cases where user is missing.

For verification which build I need to take.
Can you mention the build location from where I'll take the fixed version and tested my scenario..
Thanks.
Siddharth

You have to install the latest version from sources. The following commands will do:
git clone --recursive git@github.com:kubernetes-incubator/client-python.git
cd client-python/kubernetes/base
git checkout master
cd ../..
python setup.py install

Then you can execute an example script with your client config. The following command will load the default context of your kube.cfg:
python -m examples.example1

@mbohlool before closing this PR I think that we must update the git submodule to a revision that includes all the fixes. What do you think?

Definitely. Go for it.
On Jun 6, 2017 1:23 AM, "Sergi Almacellas Abellana" <
<EMAIL_ADDRESS>wrote:

@mbohlool https://github.com/mbohlool before closing this PR I think
that we must update the git submodule to a revision that includes all the
fixes. What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/client-python/issues/236#issuecomment-306416820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABic4MI5MdfynXO765yZM8X_Kb9O1U_4ks5sBQyYgaJpZM4NnfuJ
.

I'm waiting for kubernetes-client/python-base#5 to be merged before updating submodules.
For now we should keep the issue open. Can you reopen please?

Hi,
I have one query,
Is there any rest-api in kubernetes to upgrade the container build with
specific on.
Suppose that I want to upgrade from 212 to 214, but I want pass the 214 as
a argument in rest call with specific pods
BR/
Siddharth
On Fri, May 26, 2017 at 11:34 PM, Mehdy Bohlool<EMAIL_ADDRESS>wrote:

does kubectl works? can you share redacted kube config file content at
~/.kube/config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/client-python/issues/236#issuecomment-304350602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMar1IPl38MFYx0jy0n_qoXkRac3r8xIks5r9xQVgaJpZM4NnfuJ
.

@sidd14491 I don't see how your question is related to the current thread. Can you open a new issue please?

Hi
It's not related to current bug I am just asking you query is there any to
do that ?
BR?
Siddharth
On Fri, Jun 16, 2017 at 12:41 PM, Sergi Almacellas Abellana <
<EMAIL_ADDRESS>wrote:

@sidd14491 https://github.com/sidd14491 I don't see how your question
is related to the current thread. Can you open a new issue please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/client-python/issues/236#issuecomment-308951712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMar1AcZaL2gMFqc3CGLYcYBgQFVRI0Oks5sEiqsgaJpZM4NnfuJ
.

So please open a new issue for different questions....

of course this is closed.


test: Add TPC-DS test results

Which issue does this PR close?

Closes #.
Rationale for this change

This adds back TPC-DS query results for CometTPCDSQuerySuite, which serves as a extra test suite to ensure Comet produces same results as Spark does.
What changes are included in this PR?

Adds back TPC-DS query results golden files to the repo. These files were generated using CometTPCDSQuerySuite with Comet turned off, to make sure it is the same as Spark's results.
How are these changes tested?

Will need to add a separate Github job to check the TPC-DS query results. Will do it later.

Thanks, merged


login problems

when we sign in with email then it's worked
but when i tried sign as continue with google then it never evern  worked nd i got this pop ups

Couldn't sign you in
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.

I have the same problem

I solved the problem by going to the Udemy website under account and added a password, then I entered directly with email and password instead of using the Goolge account

but can admin make this users friedly or not


python3.6 support

Is there a practical reason why python3.6 is not supported? My intended use case for asynction would wind up deployed on a Red Hat linux system (RHEL7, and RHEL8) which come with python 3.6.8 as the system python. In my case it would be tricky to install a newer python for numerous reasons.
What would it take to support python3.6?

I did some quick testing and it looks like the main factor may be dependencies. I know at least svarog does not seem to support python3.6

@alex-zywicki I would be keen to avoid supporting 3.6.x. It's now been 5 years since the release of python 3.6, and there have been 4 minor releases since then. I feel that this is going to impede asynction's progress, as it will add overhead in terms of dependency management. One of the dependencies that does not support python3.6 is svarog as you suggested, which could be replaced by dataclasses-json. However, dataclasses are also not natively supported by python3.6 so we will need to explicitly install dataclasses too. Python3.7 is also adding additional overhead, by forcing us to install typing-extensions and importlib-metadata, so I imagine this will only be worse for python3.6.

@dedoussis I have managed to upgrade my system to python3.9 so this issue can be closed.

@alex-zywicki Thanks a lot for the compromise!


Unit tests fail when connect Timeout occcurs

Apparently in different condition the error returned can be Connection refused  or TimedOut so both errors need to be handled.

Actual not an issue.


Clear Bindings

Is there a reason that clearing bindings is not possible? That way we could store things like Activity or Fragment in a Kodein and then when the Activity is done with it, clear the bindings.
I'm asking this because I have a need for binding Activity and Fragment instances which leads to memory leaks (as their CInstance lives in KodeinContainer after the Activity or Fragment is destroyed).

I guess this is what Kodein-Conf is for?


Overlapping string unions

Hi, love the project!
Would you consider adding a type for overlapping string unions? It should be implementable directly based on the existing Diff:
type Overlap<T extends string, U extends string> = Diff<T, Diff<T, U>>;

I'm not sure what would be the best name for the thing, but Overlap seems descriptive and in line with the existing types in this library.
Best regards!

sounds like the Extract in TS master :), but admittedly that probably won't be available to most people yet for a while...

Yeah, when 2.8 is incorporated in the next major version of type-zoo, it probably makes sense for some operators which are now redundant to be removed, and for other operators which are newly possible, e.g. DeepPartial, to be added.


Upgrade to Rails 5

Blocked on Gem dependencies not ready for Rails 5 yet.

Can now be upgraded.

Added as TODO instead.


[CI] Open API Specification and Documentation workflow

Desired Behavior
Create a CI/CD workflow for Swagger documentation of Rest APIs
Note: Issue created to track workflow for #2902
Two workflows needed to track for REST APIs docs

Needs to be triggered if changes are made in ./handlers and ./models
One workflow to update ./swagger.yaml with make swagger-spec
Second workflow to update the data for docs.meshery.io i.e../docs/_data/swagger.yml with make swagger-docs

Reference:

Meshery Build & Release Strategy

// @navendu-pottekkat What else should be updated here?

Hey, Can I know the work to-do here? ☺


[Java] Eager operations implementation

Pull request #4/5 for enabling eager execution support in the Java client.
This one is implementing the Operation interface for eager environments, via EagerOperation, and include some additional unit tests.
CC: @sjamesr

@karllessard there were some internal lint errors , can you please fix them

@rthadur : fixed, thank you.
@sjamesr : do you need to reapprove? I was also looking to add those new lint checks to our list of compiler rules but I did not find their equivalent, I guess those are internal rules only?


Make power plant slugs

Overview
Makes the power plant pages and imports data into them
Closes #188 and #190
Addresses #184
Notes
Passing this over to @vkoves to do UI

@SuragNuthulapaty - I am finally getting to this, but I actually think you are only loading in power plants for Alabama. I tried to render the state and county to validate this, but I also couldn't add state to the list of fields I pull in 🙃

@derekeder - would you be able to look at this? Surag and I hacked something together with GraphQL, and I suspect that's the root of the issue. Our main starting problem was that all the data is segmented into states, which makes it really tricky to get all power plants across all states.

@vkoves I took a quick look and was able to import the state. It is kind of weird since it is not in the powerplants part, but just outside of it.
See the first screenshot below of how I imported it.
With regards to only Alabama being imported, I don't think I made the pages correctly. Since the power plants are inside each edge node, Instead of only running on the first node, gatsby-node.js would need to be changed for all nodes. Basically, this entails making a for loop.
The second screenshot is what needs to change I think.
If you would like, I can see if I can fix these.

@SuragNuthulapaty - if you have some time, sure! (I'm very impressed and concerned with the quick response 😆 ) I just pushed up my latest changes just to prevent conflicts, which basically just renders some basic stuff about each power plant. Since some power plants are loaded in I can keep working on the page and styling while you fix not all power plants getting routes

I've made some improvements to the power plant page so the data is easier to read (still very WIP) and then also made it so state details links out to power plants, which should make it easier to QA:

Noting from our Zoom call that we want to ideally do paging and a search later on for the power plants list on state details, but for now we can render all of the power plant tiles in a horizontally scrolling container.


Update route data and associated GPX files

@Joe-Marshall-Mills I've updated the routes in the main branch, if you're happy once you've reviewed https://main.d2ymvhh1lvqxri.amplifyapp.com/ then you should be able to merge this pull request to update prod.

Thank you Tom. Looking good to me.


Added userprofile get

spo userprofile get

Adds 'spo userprofile get' command. Closes #1670

Thanks @dips365! We'll get it reviewed asap!

Hey @dips365, as we're closing in on a release, we'll wait with reviewing this PR until next week to avoid last-minute changes.

Merged manually. Thank you!

@waldekmastykarz  Thanks for your feedback and will improve it in next command.

Thank you for the great work! 👏


Demo of Nginx on Dell Server with Mt. Evans Running

Demo for OCP -- Paul initiated

Demo is ready.  This will be presented at OCP.  Likely to be upgraded but Paul is finding free time.


Add greenkeeper.io to repo

https://greenkeeper.io/ - helps keeps on top of npm dependencies that change, with automatic PRs etc. See https://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress/pulls?utf8=✓&q=label%3Agreenkeeper  for an example.

We've now got support for npm test, so although the bot won't yet detect a break in functionality if a dependency were to be updated (since we're only checking the self-linting of our code, not the functionality right now), it should at least be able to inform us and provide a PR when a dependency does update, that we can manually check over before merging.


Harden sshd_config

The suggested changes are better explained in the following article:
https://stribika.github.io/2015/01/04/secure-secure-shell.html
While I have tried to keep as much backward compatibility as possible, there might be some edge cases.  The main goal should be to harden the sshd (for now, client is next) configuration.

NOTE:
You may receive a warning stating that the host identification has changed.  This is because previously an ECDSA key may have been used. Now, only ED25519 and RSA keys are used.
To solve, remove the line from your known_hosts file

That should be fine. Not changing this close to a release though, we'll merge post-2.3.


Add uv_timer_close_now()

Fixes #1537 by introducing a new function to close a timer immediately. Tested on Linux and Windows, new unit test passes.

I mean fixes #1536

The associated LEP was closed a few months ago, and this has largely stalled out. I'm going to close this, but if someone wants to revisit libuv/leps#11, feel free.


Support compress KV with quantize KV

Description
Support compress KV with quantize KV.

[x] Llama
[x] Qwen
[x] MiniCPM
[x] Phi3
[x] ChatGLM2
[x] ChatGLM4

1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[ ] N/A
[x] Unit test: Please manually trigger the PR Validation here by inputting the PR number (e.g., 1234). And paste your action link here once it has been successfully finished.
[ ] Application test
[ ] Document test
[ ] ...

5. New dependencies

[ ] New Python dependencies
- Dependency1
- Dependency2
- ...
[ ] New Java/Scala dependencies and their license
- Dependency1 and license1
- Dependency2 and license2
- ...

PR Validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/10416599256

PR validation https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/10448578935


ref: remove leading spaces in docker run command

Leading spaces in the docker run command prevented successful copy+paste into terminal.

Thanks!


[BUG]

Describe the bug
I downloaded the 2.0.3 Hydra and it don't run, and something very suspicious happen
Steps to Reproduce
I just installed and executed Hydra and this happend
Expected behavior
I expected to open the new 2.0.3 Hydra
Screenshots

Operating System
Windows 11
Hydra Version
2.0.3
Additional Information
No response

Try uninstalling and reinstalling Hydra.
Some users reported that after installer a newer version over an older one, this error happens. We are investigating why this happens

Well I did it and don't fixed the error, but just to know the unstaller in on the past with the Hydra right?

Well I did it and don't fixed the error, but just to know the unstaller in on the past with the Hydra right?

Sorry I took so long to answer.
Correctly, the uninstaller is on the same folder. You can also uninstall through Windows app list


Tests: Fix type coercion issue with Xcode 8

I should mention, this issue is preventing it Ono from building — e.g. using Carthage. This small tweak was able to fix it for me.

Thanks, @BurntCaramel! Apologies for taking so long to get this merged. I appreciate your contribution.


Merge Yue's changes into pipeline

Describe what enhancement you'd like to see.
Yue created a fork of the pipeline and is unable to merge changes. Will review current changes to determine if they belong in the main pipeline.

created feature/yue branch and am working on committing changes, as appropriate


Open TSC Meeting, Thursday February 27th 2020

NOTE: This meeting is on Thursday at 9am - 10am PT
Zoom Meeting link: https://zoom.us/j/975841675
In order to give some more visibility into the topics we cover in the TSC meetings here is the planned agenda for the next meeting.  Hopefully this will allow people to plan to attend meetings for topics that they have an interest in.  And for folks who cannot attend they can comment on this issue prior to the meeting.  Feel free to suggest other potential agenda topics.
*Please submit comments below for topics or proposals that you wish to present in the TSC meeting

Topic
Owner
Decision/NextStep

Review PR to port v3.0.3 changes to v3.1.0 #2163 - which milestone?
@OAI/tsc

Motion to remove #1729 from 3.1.0-rc0 milestone
@MikeRalphson

Motion to remove #2123 from 3.1.0-rc0 milestone
@MikeRalphson

/cc @OAI/tdc Please suggest items for inclusion

I could really use an answer on #2159


Fix language option type bug

When window.navigator is undefined at bootstrap (i.e. react native), the default language option will be undefined. When then trying to override that at init, the type check in parseConfig will check the type against "undefined" instead of "string". Because of that it's impossible to set the user/device language.
I did not want to change the way the option type checking works, so I changed the default fallback of getLanguage() to empty string.
I also took the time to improve unit testing of the getLanguage() function.
Open for other ways of solving this! Thank you :)

@blazzy Mind taking a look?

Looks great! Thanks!


Using both History API and Hash API

I primarily use the history api, but would like to use direct hash urls to cause immediate updates on the client when manually entering the url.
Is there anyway to use both?

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


fix(connlib): fix tun device detection

There is a trailing \0.
2024-01-30T19:17:09.226708Z INFO init{user_agent="Alpine Linux/3.19.1 (x86_64;5.15.0-91-generic;) connlib/1.0.0" login_topic="gateway"}: phoenix_channel: Connected to portal, waiting for `init` message
2024-01-30T19:17:09.385022Z INFO init{user_agent="Alpine Linux/3.19.1 (x86_64;5.15.0-91-generic;) connlib/1.0.0" login_topic="gateway"}: phoenix_channel: Connected to portal
2024-01-30T19:17:09.391393Z WARN init{user_agent="Alpine Linux/3.19.1 (x86_64;5.15.0-91-generic;) connlib/1.0.0" login_topic="gateway"}: phoenix_channel: Failed to deserialize message {"event":"phx_close","ref":null,"topic":"gateway","payload":{}}: data did not match any variant of untagged enum Payload at line 1 column 63
2024-01-30T19:17:09.395673Z INFO init{user_agent="Alpine Linux/3.19.1 (x86_64;5.15.0-91-generic;) connlib/1.0.0" login_topic="gateway"}: phoenix_channel: Received init message from portal
2024-01-30T19:17:09.402470Z ERROR firezone_gateway: Failed to set interface: File exists (os error 17)

From what I understand the variable TUN_FILE is also used in the syscall open, so it must be a null terminated string.
Another solution could be to use a CString (https://doc.rust-lang.org/std/ffi/struct.CString.html) which facilitates the conversion between char* and rust's string

use a CString (https://doc.rust-lang.org/std/ffi/struct.CString.html) which facilitates the conversion between char* and rust's string

@Intuinewin that seems like a more reasonable approach. Would you be able to update your PR to do that instead? I supposed TUN_FILE would just be a CString then and we convert appropriately from there.

use a CString (doc.rust-lang.org/std/ffi/struct.CString.html) which facilitates the conversion between char* and rust's string

@Intuinewin that seems like a more reasonable approach. Would you be able to update your PR to do that instead? I suppose TUN_FILE would just be a CString then and we convert appropriately from there.

Unfortunately, CString doesn't have a const constructor. We can use &CStr instead: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked.

I am still surprised that we need to trim off the null-byte for use with Path. If we use CStr::to_str I think we should be able to just pass the &str to Path.

Just modified the code as you suggested, tested both cases and it works now

LGTM, but we'll need to open a PR to get it merged in order for the checks to run

Apologies for not being to accept contributions for this change! We're not able to share certain CI secrets with the Rust workflows to get contributor PRs to pass checks.
Superseded by #3449

:'(


[cxx-interop] plain C++ enums should be importable into Swift

Motivation
Currently only C++ "class enums" can be imported into Swift. This is fine for enums that are entirely under the user's control, but in some cases those APIs come from external dependencies or can't be modified for some reason (e.g. API compatibility).
Ideally there would still be a way to import these into Swift without having to write a shim wrapper re-exposing them.
Currently if you have this C++ code:
namespace Parent {
namespace Child {
enum MyEnum { first, second };
}
}

constexpr Parent::Child::MyEnum kMyEnumFirst = Parent::Child::first;
// Alternatively: inline const Parent::Child::MyEnum kMyEnumFirst = Parent::Child::first;

As far as I know the only way to construct the first member of the Parent::Child::MyEnum enum from Swift is to use the kMyEnumFirst constant.
// This compiles:
print(kMyEnumFirst)
// This doesn't compile: error: type 'Parent.Child.MyEnum' has no member 'first'
// print(Parent.Child.MyEnum.first)
// This also doesn't compile: error: type 'Parent.Child' has no member 'first'
// print(Parent.Child.first)

If the enum is changed to a "class enum" then this works fine:
namespace Parent {
namespace Child {
enum class MyEnum { first, second };
}
}

print(Parent.Child.MyEnum.first)

Solution
Ideally it should be possible to construct  the first member of the Parent::Child::MyEnum enum from Swift just like a class enum would be imported.
print(Parent.Child.MyEnum.first)

Alternatives considered
But if that isn't possible for some reason, then ideally the clang importer would generate accessors to all the enum fields in some other way:
print(Parent.Child.MyEnum.__first)
// or
print(Parent.Child.__MyEnum__first)

Additional context
Thread in Swift Open Source Slack: https://swift-open-source.slack.com/archives/C03FAHQK8F7/p1678459701676699
PRs changing plain enums to enum classes to work around this issue: https://github.com/envoyproxy/envoy/pull/26036 and https://github.com/envoyproxy/envoy/pull/26037

@zoecarver

@AnthonyLatsis can we remove the C++ enums label? It's polluting the regular C++ interop label when creating PRs and completing the labels.

@hyp So you reckon we should use a single label for C++ and Swift features that share the same name? Enums are pretty similar, but what about macros? Or Cxx-specific features like templates?

I noticed that this already works in Swift toolchain from Xcode 15.4, but doesn't in 15.2. Maybe also works in 15.3, but I don't have it to test.
namespace S {
enum B {
    Z,
    X,
};
}

public enum S {

    public struct B : Equatable, RawRepresentable {

        public init(_ rawValue: UInt32)

        public init(rawValue: UInt32)

        public var rawValue: UInt32
    }

    // these are missing in 15.2
    public static var Z: S.B { get }

    public static var X: S.B { get }
}


Unnamed AST nodes that might be worth to change to named

Here are the unnamed nodes I need to traverse during formatting. The purpose is to list them for analysis to determine whether it makes sense to convert them into named nodes. This doesn't necessarily imply that a fix is required.

i++ v.s. i-- and ++i v.s. --i in update_expression can't be distinguished as the named node covers i only.

the ? and . in ref?.maybe and ref?.maybeNot()

accessor_declaration doesn't have named children nodes to break down get and ;.
example:
public class Me {
  public double MyReadWriteProp { get;  }
}


Given a server implementation that looks like this:
const AedesServer = require("aedes");
const config = require("./configuration");
const redis = require("mqemitter-redis");
const aedesPersistenceRedis = require("aedes-persistence-redis");
const mq = redis(config.persistence.redis);
const httpServer = require("http").createServer();
const ws = require("websocket-stream");

const aedes = AedesServer({
  mq,
  persistence: aedesPersistenceRedis({
    ...config.persistence.redis,
    db: config.persistence.redis.db + 1
  })
});

const mqttServer = require("net").createServer(aedes.handle);
ws.createServer({ server: httpServer }, aedes.handle);

aedes.authorizeSubscribe = (client, sub, callback) => {
  sub = null;
  callback(null, sub);
};

httpServer.listen(config.websocketPort, function() {
  console.log("WS broker listening on port", config.websocketPort);
});

mqttServer.listen(config.port, function() {
  console.log("MQTT broker listening on port", config.port);
});

I found found that if the subscription is negated as stated in the docs based on an authorizer pattern, then the client can still subscribe to the topic without an error (as expected), and does not receive an newly published messages.  This is good.

For example based on the above server,  if client1 first subscribes to topic hello/1/world/2, and client2 publishes to hello/1/world/2, then client1 does not receive the published message (as expected).

However, if a retained message is published to a topic before the subscription, then the (seemingly) negated subscription still delivers the retained message to the client on connect, but then the client does not receive any additional published messages while being connected to the topic (assuming that this is because the subscription was negated).  This is unexpected behavior.

For example, if client2 publishes a retained message to hello/1/world/2, and client1 subscribes to hello/1/world/2 (after the publication of the retained client2 publishing), then client1 still receives the retained message, but no more additionally (retained or not) published messages to topic hello/1/world/2 while being subscribed.

I have only tested this with aedes-persistence-redis and have not had this issue with mosca that I have been running in production for a while now (but using mongo persistence) - hence my question on this.  In addition, I have tested on both mqtt and ws - both exhibit the same behavior described above.
As a workaround right now, I simply disconnect the entire client by doing a callback({returnCode:4}, null), but this seems sub-optimal for the client experience (which then has to resubscribe to all subscriptions that it was allowed on reconnect).
This seems like unexpected behavior to me (and potentially dangerous). Happy to do a PR if this needs a fix, but need to be pointed in the right direction if help is needed...

This looks like a bug to me. Would you like to send a PR?


SLO reports are one character off when using Hyper

Describe the bug
On Hyper terminal:

I'm not certain it was always the case. I feel it wasn't.
Still works as intended in macOS Terminal and VS Code terminal.

seems this bug is no more visible with the output refactoring due to issue #263

Even with coloring disabled, there is one char off

Generating the report to local file with -o flag (without coloring --no-color) produces a report that is working fine (ie alignment and chars are ok) on both osx terminal, vscode.
but indeed the same report is not nicely displayed on hyper


[Fixes #489] Function to get all opened issues

Description

Created a function that return list of all issue links that are currently open by the user
Refactored the function that gets all merged prs link

Resolves: #489
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Great work @ritik48 !!
Do not forget to

Share your contribution on socials(twitter mainly), tag us and Clueless 🫂
Give this repository a star ✨
Follow Clueless Community on GitHub ✅


Tailwind V4.0

Is your feature request related to a problem? Please describe.
No problem yet, more of eager to try the latest tailwind with Nuxt
Describe the solution you'd like
Integration with v4 of tailwind. Or instructions on how to do it
Describe alternatives you've considered
N/A
Additional context
https://tailwindcss.com/blog/tailwindcss-v4-alpha

You should be able to try with a standard installation for now: https://tailwindcss.com/docs/guides/nuxtjs

Here you go: Just made an experimental/temporary module to try v4: https://github.com/pi0/nuxt-tailwindcss4
Currently it does add vite plugin (which uses oxide engine)

I believe the standard installation for V4 would be this - https://tailwindcss.com/blog/tailwindcss-v4-alpha?ref=upstract.com#using-post-css
Support for v4 is on the roadmap, see #790 but there's still a lot of changes required on v4 for the migration to be smooth - https://tailwindcss.com/blog/tailwindcss-v4-alpha?ref=upstract.com#roadmap-to-v4-0

Also see https://www.codybontecou.com/tailwind-css-v4-and-nuxt.html

Do I understand correctly: No more need for @nuxtjs/tailwindcss with Tailwind 4 due to Tailwinds first-class support for Vite?

Do I understand correctly: No more need for @nuxtjs/tailwindcss with Tailwind 4 due to Tailwinds first-class support for Vite?

Unlikely. The module will still be useful in providing and enabling lot more support and features for Nuxt Layers, Devtools, etc. Plus Nuxt supports build tools other than Vite! It'll all be much clearer as v4 comes out of alpha I hope!

Any updates on progress as Tailwind v4 just went into beta stage?

Request for comments - #919!


Global template options not exposed to layout options.

Not working:

    {{#each links}}

{{intlGet labelPath}}

    {{/each}}

{{#extend "nav"}}
  {{#content "navClassName"}}app-nav-horizontal{{/content}}
{{/extend}}

Workaround:

    {{#block 'links' mode='append'}}{{/block}}

{{#extend "nav"}}
  {{#content "navClassName"}}app-nav-horizontal{{/content}}
  {{#content "links"}}
    {{#each links}}

{{intlGet labelPath}}

    {{/each}}
  {{/content}}
{{/extend}}

See intlGet helper description

Have you tried using ../links or ../../links ?

    {{#each ../links}}

{{intlGet labelPath}}

    {{/each}}

Sure. Links not nested in this case.

    {{#each links}}

{{log labelPath}}

    {{/each}}

Working as expected. Problem with intlGet helper, which required 'intl' object in options.
precompiledTemplate({
    links:[]
}, {
    data: {
      intl: LOCALE_CONTENT_HERE
    }
})

Glad to see you got it worked out.

In fact the problem didn't go away.

https://github.com/xquezme/handlebars-layouts/commit/0c60d0937016d8fba351bc5423461de2904775e4

https://github.com/shannonmoeller/handlebars-layouts/pull/24

The options argument you recommend using in your PR isn't the way to go here. Any data passed that way gets prefixed with "@" and the helpers and partials are already in the global context.
http://handlebarsjs.com/execution.html
I'll need to throw together a test case, or see a gist of the relevant bits of your project, to see what's really happening.

@xquezme Any chance the latest release fixes your issue?

Nope.

Ok. Just released 3.1.2 which I hope will also fix your issue. Mind taking another look?