Implement __doc__ to except signature

This is nice! It does introduce an issue though, __doc__ now contains that text signature in its contents, you'll need to tweak doc to ignore the signature at the start (similar to CPythons _PyType_DocWithoutSignature).
Originally posted by @DimitrisJim in https://github.com/RustPython/RustPython/issues/2904#issuecomment-900752179

Overview
Documentations of methods, types in CPython can have format like below:
<SIGNATURE>
--

<DOCUMENT>

And CPython's __doc__ property strips the signature through _PyType_DocWithoutSignature. Then, when you call <?>.__doc__, you will see only <DOCUMENT>. But RustPython hasn't implemented it so it should be implemented.
Example
Let's see the case of object type.
The full doc is:
PyDoc_STRVAR(object_doc,
"object()\n--\n\n"
"The base class of the class hierarchy.\n\n"
"When called, it accepts no arguments and returns a new featureless\n"
"instance that has no instance attributes and cannot be given any.\n");

As human-familiar:
object()
--

The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless
Instance that has no instance attributes and cannot be given any.

And when call print(object.__doc__) in CPython 3.8.0, you will see:
The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless
instance that has no instance attributes and cannot be given any.

References

_PyType_DocWithoutSignature implementation: https://github.com/python/cpython/blob/fa919fdf2583bdfead1df00e842f24f30b2a34bf/Objects/typeobject.c#L158-L169

If this is only adopt to internal doc, we can try to do it better in our derive macros like parsing it from compile time and saving separated variables for __text_signature__ and __doc__

now we do this by macro


vs code rustfmt override dosen't use project leptosfmt.toml

Could we add an option that is possible that the override at rust-analyzer.rustfmt.overrideCommand  uses the project config file?

I got it to work by changing the .vscode/settings.json override command to this:
{
    "rust-analyzer.rustfmt.overrideCommand": ["leptosfmt", "--config-file", "/${workspaceFolder}/leptosfmt.toml", "--stdin", "--rustfmt"]
}

Is this only a problem with workspaces, or with standalone cargo projects as well?

Even without a workspace, hx src/app.rs has the CWD of src/ (tested with recent helix, replacing the override command with pwd). This makes it hard to use any configuration value that isn't mirrored in flags.
It might be worth using the approach of rustfmt, which is to recursively look in parent directories up to the root, viz. https://github.com/rust-lang/rustfmt/blob/88944668fec947339291d04e6f0b9c4392cea937/src/config/mod.rs#L263

I think the issue comes from here: https://github.com/rust-lang/rust-analyzer/blob/935883fd826c46e7e7e6de19cf24377c21f1b2ba/crates/rust-analyzer/src/handlers/request.rs#L2188
R-A changes the working directory to the path of the file being formatted, to try to pick up any local rustfmt.toml files.


Rebase: kcp-0.7+ / kube 1.24

Working on getting prow set up. Please hold off merging for now

/test all

/test all

Something seems goofy in compilation

Yeah, not sure if it's a 1.17 vs 1.18 issue, or what's going on

/lgtm
/approve


3.3.2 getColorArr in SubjectListVM, GradeListVM update

Hi @DragonCat4012 , can you please explain more about this issue.

its a crash log thing. should be fixed by removing the dforce unwraps, i didnt have the time to confirm this so tahts why the issueis open


Add [Meteor.js]

Tool name
Meteor.js
Tool license
The MIT License (MIT)
Add or update?

[X] Add
[ ] Update

Desired version
2.2.4
Approximate size
No response
Brief description of tool
Meteor.js is an open source platform for seamlessly building and deploying Web, Mobile, and Desktop applications in Javascript or TypeScript.
URL for tool's homepage
https://www.meteor.com/
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
npm install -g meteor

Tool installation time in runtime
few mins
Are you willing to submit a PR?
No

Hello @hridayeshgupta-iticks !
Due to maintenance concerns, we would like not to add the tool to the image.

Hello @hridayeshgupta-iticks ! Due to maintenance concerns, we would like not to add the tool to the image.

Thanks for the revert. Do you recommend any steps to add support and maintain the same at our end?

@hridayeshgupta-iticks I will take a little investigation in a free time later. Right now I see only that package is prepared for an older one ennvironment then we have by default.

Thanks @erik-bershel any guidance will be helpful.
Yes, Meteor lags a bit in supporting nodejs. though its actively managed but they take time to release support for new versions, and always behind one stable version.

Hay again @hridayeshgupta-iticks!
Simplest and fastest option to install it is to use meteorengineer/setup-meteor@v1 action. It will take about 20 seconds in runtime.

Great thanks a lot @erik-bershel


Unknown property ‘appearance’

While landing Bug 1326340, we had:
TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_parsable_css.js | Got error message for jar:file:///builds/slave/test/build/application/firefox/browser/omni.ja!/chrome/pdfjs/content/web/viewer.css: Unknown property ‘appearance’. Declaration dropped.

See https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&fromchange=67286eb47060e44a7d3d311e44618691a679bab5&selectedJob=65424931
(My best guess is due #7898)
Problems to solve here:

why browser_parsable_css.js fails us
how to fix
can we use browser_parsable_css.js?

I think just removing the following for the annotation_text_layer.css shall help:
+  -ms-appearance: none;
+  appearance: none;

I'm concerned that that will break rendering of the wigets in other browsers. They are all required to make the rendering look good.

I think an exception should be added at https://github.com/mozilla/gecko-dev/blob/master/browser/base/content/test/general/browser_parsable_css.js#L20.

I can try adding it to the whitelist, thanks.

You mean in https://github.com/mozilla/pdf.js/blob/master/web/annotation_layer_builder.css?

Yes, thanks

Here's a Try push for the whitelisting patch. If it's green, I'll attach it to bug 1326340 and get review from a browser peer before folding it into the main patch and re-landing the pdf.js update.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79d9f0c81c98117cbd93acdea1a7910db3d2a447&group_state=expanded

Try push was good and the change got r+. I've relanded the pdf.js update with that fix incorporated, so I think we can close this out now.

Try push was good and the change got r+... so I think we can close this out now.

Thank you, closing.


[GHSA-m6gg-86c6-gfr9] Cross-site Scripting in elasticsearch

Updates

Affected products
Summary

Comments
This issue affects Kibana, not Elasticsearch.

Hi @jkakavas, thanks for bringing this to our attention! You are correct, this issue is actually in Kibana. As Kibana does not have a package in any of our supported ecosystems, I will be withdrawing the advisory.


Typo "Azure Function app"→"Azure Function App"

https://docs.microsoft.com/en-us/samples/azure-samples/azure-functions-pytorch-image-identify/azure-functions-pytorch-image-identify/

@TinaMcN @SunnyDeng Could you please explain a bit more about the reason of PR not being built? Thanks.

Hi @lmazuel could you help to merge this one s well? i don't find the admin of this repo in the opensource. Thasnk a lot!


Modal component

We need to add an accessible modal component that can be used for the single result view in the redesign.
There's a lot of reading to keep in mind while working on this:
https://www.w3.org/TR/wai-aria-practices/#dialog_modal
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
There are some good React implementations to keep in mind:
https://assortment.io/posts/accessible-modal-component-react-portals-part-2
https://reakit.io/docs/dialog/
Avoid referencing the Vue 2 modal example in the docs as it is not an accessible modal implementation.
A lot of the behavior that is needed for an accessible modal can be extracted from the usePopoverContent composable. Most of the composables that composable references should be able to be abstracted to handle a modal as well. Because a lot of it is inspired by Reakit, it'd be a good idea to see what Reakit is doing for the base Dialog component when modal=true.
One thing we can ignore from the Reakit implementation is multiple dialog handling I think... we should make sure to test having a popover inside the modal and that it behaves as expected (escape when the popover is open should only close the popver, not the modal; but clicking outside the modal should close everything). Seems like a real can of worms!
Usage example
<Modal @close="handleModalClose" @open="handleModalOpen">
  <template #trigger>
    <!-- Could be a button but I suppose it could also be a result element (like a grid image) with accessible keyboard handling for causing a `click` event... might need to revisit the trigger handling to include activation via keyboard in case a `click` event isn't bubbled... not sure how to prevent duplicate events in that case though -->
    <VButton>Open the modal!</VButton>
  </template>
  <!-- Whatever modal content we want :) -->
</Modal>

I think you're right, those would be details of specific modals rather than the general modal component. Good to keep in mind that those variables need to be easily configurable by the implementation site.
My plan right now, after poking around at the Popover and comparing it to how Reakit organizes things, I think it would be good to split some of the Popover stuff into a generic "dialog" like Reakit has. Then our Modal component would be a thin implementation on top of that and Popover would be too albeit with the usePopper composable still being necessary.
I also found a Vue 2 implementation of teleport that could be useful to make sure that the modal content doesn't get rendered in the middle of the page content and we can append it to the end.

@panchovm Could you provide some designs for the modal at various viewport widths? I'm struggling to figure out what to do with the close button in particular when the viewport is constrained.
Specifically, I'm wondering what to do with the potential for variable widths on the close button text itself. If the text of the button grows (for example schließen in German instead of close; I suspect some languages might require extra context for the word "close" as well, like "close modal" or something like that) should the modal width decrease?

@sarayourfriend Sure. I will add mockups for clarity. Still describing my ideal scenario to see your thoughts.
Having a modal following the parent scroll sounds good to me. However, I wonder if, in some cases, the modal height might be larger than the parent page (search results).
Regarding the modal width, I think we should set a fixed value. Otherwise, the Full size L variant in the single result view will look huge, and the info below will expand its width since it is based on columns. Whereas vertical-ratio images in the single result view will look large, and the info below will be placed far bottom, forcing a long scroll.

For the close action, I think that moving it to be above and top-right aligned will solve the i18n aspect. Let me add a quick sketch to illustrate my point. The translation might be incorrect, it's just for the mockup purpose.

The close actions looks really nice on the top, and that definitely fixes any accessibility issues and simplifies the code to implement the modal. Awesome.


Fix for additional external resources folder is missing in new build framework

Hi guys,
We had a fix for this issue in old version of gulp build as you see here:
https://github.com/virtualidentityag/gulp-build-framework/commit/90d1f7744f2497063126730a6f2856f3bc75ff22
Any particular reason that this was removed?

I have opened a pull request for this fix:
https://github.com/frontend-framework/build-framework/pull/35

as discussed we ll solve that with another strategy (npm dependencies)


Doesn't seem to work with<EMAIL_ADDRESS>release

I get an empty object in Package["ostrio:cookies"] and Cookies is not exported to the global namespace. I've checked on both client and server.

By comparison, https://atmospherejs.com/storeness/cookie does work for some reason. Hope that helps.

How do you include this package into your app?
How do you use this package in you app? Could you provide code blocks where you use it?

We're using this package daily, including latest Meteor release and everything is working properly on our end.

@dr-dimitru thee problem perhaps is that the versionsFrom stanza in package.js is too old for how the package actually works? Try adding it to a Meteor demo app specifically witgh

@dr-dimitru thee problem perhaps is that the versionsFrom stanza in package.js is too old for how the package actually works? Try adding it to a Meteor demo app specifically with --release<EMAIL_ADDRESS>and see if you can access its namespace. If so, it is app-specific for me then and you can close this issue :)

Should work properly since 1.0. Does tests fails on your meteor release?

meteor test-packages ./ --release<EMAIL_ADDRESS>
all tests successfully passed, so it's on your end

@wizonesolutions any news on your end?

The other package we went with worked fine, so I'm probably never going to check this. I suspect that the tests passed because they are run in a package context, not in an app context (the problem was when the app tried to use a global). But I don't want to clog up your issue list.


Bugfix for issue #109

This fixes #109 .
Note: for some reason, even though I've updated the bower configs, the version number in the compiled release isn't getting bumped.  I don't know much about bower, so I could just be missing something basic.

Thanks @bezi! Your PR is released in 3.1.2.


Suporte a Web

Estava testando o plugin com um projeto web porem ao utilizar:
HasuraConnect hasuraConnect = HasuraConnect...
Recebo este erro:

Unable to find modules for some sources, this is usually the result of either a
bad import, a missing dependency in a package (or possibly a dev_dependency
needs to move to a real dependency), or a build failure (if importing a
generated file).
Please check the following imports:
import 'package:hasura_connect/hasura_connect.dart'; from .../app/services/config/clientConfig.dart at 3:1
Failed after 112ms
Failed to build application for the Web.
Exited (sigterm)

*obs: utilizando o slidy para instalação.

Resolvido após utilizar o pub cache repair e o flutter get ao invés do slidy.


zig msvc toolchain support

Add a macro definition and use _strdup instead of strdup under msvc

While seemingly unrelated, this PR is required for https://github.com/webui-dev/rust-webui/pull/3 to work. Would love to see this merged!

Hey, @neroist
@hassandraga hasn't appeared in a long time, maybe we should merge these PRs for now?

Now this PR contains the API fix of zig nightly

Thx!


As part of issue 19, I want to add split functionality to the pdf file

Input should be given in the text box with comma separated page numbers and click on download option to get the split file.

Split functionality implemented successfully.


data path not an option

User wants to define where the data will be saved

No longer relevant to react app


Implement persistent socket connection via multiple server connection pool

determine heuristics for choosing a server
maintain at least some number of connections
warn when the number of connections dropped below preferred connections

Difficulty: hard


Session missing from ctx

I'm migrating from react query to urql so I have a working setup.
I'm trying to convert a withAuth hoc, thus using urql directly server side.
import { ssrExchange } from "urql";

const withAuth = (getServerSidePropsFunc?: Function) => {
  return async (ctx: any) => {
    const redirectUrl = ctx.resolvedUrl;
    const ssrCache = ssrExchange({ isClient: false });
    const urqlClient = getUrqlClientSS(ssrCache, ctx);
    // The request executed here doesn't have access to session, while when doing the request in react-query it does
    const data = await urqlClient?.query(UserDocument).toPromise();

    if (!data?.user) {
        redirect...
    }

    return {
      props: {
        urqlState: ssrCache.extractData(),
      },
    };
  };
};

export default withAuth;

import {
  NextUrqlClientConfig,
  NextUrqlContext,
  NextUrqlPageContext,
  NextUrqlAppContext,
  initUrqlClient,
} from "next-urql";

export const createUrqlClient: NextUrqlClientConfig = (
  ssrExchange: any,
  ctx?: NextUrqlContext
) => {
  return {
    url: "http://localhost:4000/graphql",
    exchanges: [dedupExchange, errorExchange, ssrExchange, fetchExchange]
  }
};

export const getUrqlClientSS = (
  ssrExchange: any,
  ctx?: NextUrqlContext
) => {
  const canEnableSuspense = false;
  return initUrqlClient(createUrqlClient(ssrExchange, ctx), canEnableSuspense);
};

  const apolloServer = new ApolloServer({
    schema,
    context: ({ req, res }: { req: Request; res: Response }) => {
      return {
        req,
        res,
        redis,
      };
    },
  });

In apollo server, I set a redis session with express-session. When the request from the hoc with react query is executed, the userId in the ctx.req.session.userId is available, with the code above with urql, it is not.
urql version & exchanges:
    "@urql/core": "^2.0.0",
    "@urql/devtools": "^2.0.3",
    "@urql/exchange-auth": "^0.1.2",
    "@urql/exchange-graphcache": "^4.0.0",
    "@urql/exchange-multipart-fetch": "^0.1.11",
    "@urql/exchange-persisted-fetch": "^1.3.0",
    "urql": "^2.0.1",

Expected behavior
Log with react-query:
[Node] Session {
[Node]   cookie: {
[Node]     path: '/',
[Node]     _expires: 2031-01-24T20:31:28.765Z,
[Node]     originalMaxAge:<PHONE_NUMBER>00,
[Node]     httpOnly: true,
[Node]     secure: false,
[Node]     sameSite: 'lax'
[Node]   },
[Node]   userId: 1
[Node] }

Actual behavior
Log with urql:
[Node] Session {
[Node]   cookie: {
[Node]     path: '/',
[Node]     _expires: 2031-02-20T16:38:09.492Z,
[Node]     originalMaxAge:<PHONE_NUMBER>00,
[Node]     httpOnly: true,
[Node]     sameSite: 'lax',
[Node]     secure: false,
[Node]     domain: undefined
[Node]   }
[Node] }

Any idea why the session userId is missing?

I'm not sure where you add userId but it'll fully depend on where you do that on why it'd show up in certain places and others not. I can't really piece together the entire setup, but I'd suspect you're adding it in some kind of function, e.g. getInitialProps which hasn't run by the point you're checking it maybe?

Once again thanks for the fast answer, and sorry to have made you spend time on this.
I found the issue, I totally forgot to pass the cookies to the fetchOptions headers when doing multiple config tests.
Just one question, when declaring a getServerSideProps method in a page, do I have to force ssr: false so it does not wrap it with getInitialProps or it is set to false as default?
Because on your doc, it is written:

This can be explicitly enabled by passing the { ssr: true } option as a second argument to withUrqlClient

which suggests that it is set to false as default, and just a little bit after :

{ ssr: false } // Important so we don't wrap our component in getInitialProps

whch suggests the opposite and leads to confusion. What is the default?
So with a hoc, should it be withUrqlClient(createUrqlClient, { ssr: false })(withAuth(Index))?

Hey,
We've changed the default to be { ssr: false } if you want to use getInitialProps and by extension react-ssr-prepass to resolve useQuery calls on the server you need { ssr: true }, if you want to utilize the getXProps methods then you can leave it as is.

Thanks for the clarification @JoviDeCroock!
I was wondering how without declaring getServerSideProps and just setting ssr: true, it was possible to execute the query server side.
So ssr: true -> activate react-ssr-prepass which detects all promises and resolve them on the server.
So it means I could protect a route with a simple useIsAuth hook on the client side + withUrqlClient ssr true === getting the auth user in getXProps with ssr false? If that so, it's awesome

Exactly yes, if ssr: true is on then it will resolve promises on the server and you can use these on the client. do note that effects aren't ran on the server so you can't react to this unauthed within an effect.

You mean useEffect? I still can do something like:
const [{data}] = useUserQuery()
if(!data.user) {
   redirect(...)
}

If yes that's fine, otherwise I'll just redirect directly server side.


[Textfield] A select is not accessible, its missing the names

Steps to reproduce

Link to live example: (required)
The input is marked as aria-hidden so it is not visible to the screenreader. This causes the input not having a name or label.
Current behavior
No response
Expected behavior
Inputs & Selects are named and labeled correctly for screenreaders
Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: accessible

This could also be an issue of having the wrong id targeting:
the label id is: "demo-simple-select-label" where as the div has aria-labelledby="demo-simple-select-label demo-simple-select"

I am testing with Voice Over and it reads correctly,

Can you expend on what you would expect, or what's not working as expected?


fontbakery-fix-version.py

[ ] We should test that the version in head.fontRevision and in the name table are greater than 1.0 as some systems will reject fonts with a version less than this
[ ] It would be great to be able to set alphanumeric version numbers, like this:

fontbakery-fix-version.py --set 3.000g raleway/Raleway-Regular.ttf
new_version is: 3.000g
Traceback (most recent call last):
  File "/usr/local/bin/fontbakery-fix-version.py", line 4, in <module>
    __import__('pkg_resources').run_script('fontbakery==0.0.13', 'fontbakery-fix-version.py')
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 735, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1652, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/site-packages/fontbakery-0.0.13-py2.7.egg/EGG-INFO/scripts/fontbakery-fix-version.py", line 39, in <module>
    fixer.apply(options)
  File "/usr/local/lib/python2.7/site-packages/fontbakery-0.0.13-py2.7.egg/bakery_cli/fixers.py", line 65, in apply
    if not self.fix(*args, **kwargs):
  File "/usr/local/lib/python2.7/site-packages/fontbakery-0.0.13-py2.7.egg/bakery_cli/fixers.py", line 173, in fix
    self.set_new_version(options.set[0])
  File "/usr/local/lib/python2.7/site-packages/fontbakery-0.0.13-py2.7.egg/bakery_cli/fixers.py", line 150, in set_new_version
    self.font['head'].fontRevision = self.get_version_fields(str(self.font['head'].fontRevision), new_value, head_table=True)
  File "/usr/local/lib/python2.7/site-packages/fontbakery-0.0.13-py2.7.egg/bakery_cli/fixers.py", line 145, in get_version_fields
    return float(new_version)
ValueError: invalid literal for float(): 3.000g

What should happen in this case is that if the --set arg is passed a string that passes the regex
$float + string

then the string should be used in the name table entries and the float only in the head.

migrated to https://github.com/googlefonts/tools/issues/20


Update AAD Rego to include PIM for Groups in policy evaluations

💡 Summary
Update the AAD Rego section 7 policy evaluations to include the newly added PIM for Groups JSON data.
Implementation notes

[x] Refer to #376, #755 and #757
[x] For each of the AAD policies in the aforementioned issues, modify the Rego evaluation code to include the newly added PIM for Groups data in the JSON

This is blocked on the completion of #757

Closing since the pull request and related issues have been completed. It turns out that no update was needed to the Rego for the PIM for Groups enhancement for AAD policies 7.1 through 7.5 - the coding update was localized to the provider.


Text got cut off when size deemed too big

Description
Text component dimension not properly adjusted when fontSize property was raised
Steps to reproduce
<Text fontSize="$4xl">This text got cut off</Text>

gluestack-ui Version
1.0.33
Platform

[ ] Expo
[X] React Native CLI
[ ] Next
[ ] Web
[ ] Android
[X] iOS

Other Platform
No response
Additional Information
No response

This issue has been fixed in latest version.
please upgrade to latest versions of<EMAIL_ADDRESS><EMAIL_ADDRESS>&<EMAIL_ADDRESS>


How can I hide/delete underline input in the latest version?

How can I hide/delete underline input in the latest version of material2?
UnderlineRef is now deprecated.
Thanks.

See #6623 for possible solution using CSS (which is probably better than removing it entirly under the hoods anyways)

Closing as a duplicate of https://github.com/angular/material2/issues/6623.


Sema: Allow protocols to inherit from subclass existentials

This was a regression from 7566f98a454e4f2eba4c1800b2fdc338e4df2e44.
Fixes rdar://problem/50022955.

@swift-ci Please smoke test

@swift-ci Please test source compatibility


replace Identity API list method with lisetMetadata

While working with restoring a a synced agent, I ran into an issue where the Identity API's list method requires both the messages from the agent's DID and the Identity itself, however that Identity may not have been registered to sync (yet or ever).
This doesn't solve the issue entirely, however I did notice that most times when listing the identities, you first want the metadata which gives you what you need to then get the BearerIdentity.
I've replaced list with listMetadata in this PR and updated the usage in @web5/api.
In a subsequent PR(s?) I will address the underlying issue associated with syncing an agent, or potentially refactoring the Identity API completely, however I wanted to put in this low-effort PR to unblock a path in a sane way.

Decided on different approach. Closing.


Installation parameters don't work as described

This agent was deployed to a pilot group, and the computers never showed up in the OMS workspace.  Investigation of the event logs showed an error in the operations manager event log with event ID 4000 and message (identities removed):
"DNS resolution of the service name [guid].oms.opinsights.azure.com failed.  Please check that the computer has Internet access or that a HTTP proxy has been configured for the system.  The query will be retried later.  The article KB3126513 has additional troubleshooting information for connectivity issues.
URL for Operation: https://[guid].oms.opinsights.azure.com/AgentService.svc/AgentTopologyRequest
Proxy Host: "
Following are the settings used to deploy the agent:
USE_SETTINGS_FROM_AD=0 USE_MANUALLY_SPECIFIED_SETTINGS=1 NOAPM=0 AcceptEndUserLicenseAgreement=1 MANAGEMENT_SERVER_DNS=[scomserver] MANAGEMENT_GROUP=HCSCOM SECURE_PORT=5723 ADD_OPINSIGHTS_WORKSPACE=1 OPINSIGHTS_WORKSPACE_ID=[guid] OPINSIGHTS_WORKSPACE_KEY=[key] OPINSIGHTS_WORKSPACE_AZURE_CLOUD_TYPE=1
It looks like it was deployed with URLs ending in .com, despite it being deployed for a government cloud tenant.  It looks like I can manually edit the URL in the registry at "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Service Connector Services\Log Analytics - [guid]" to correct the URL, but that gets pretty tedious.   If I do that, it seems to communicate fine with the OMS workspace.

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

ID: 00a00a3e-a0df-7ee5-4733-7231bd7a024f
Version Independent ID: 94361683-e1e7-7e55-6993-86d3c2486a14
Content: Connect Windows computers to Azure Log Analytics
Content Source: articles/log-analytics/log-analytics-agent-windows.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Thanks for the feedback! We are currently investigating and will update you shortly.

@jordanmills are you saying when installing for Azure Government, you need to manually edit the Registry?

@jason-j-MSFT Yes.  Or, actually, I couldn't find an effective way to do it with registry edits.  I think it had something to do with improperly replicating either the WS key or the certificate thumbprint, but I haven't had the time to test that in detail.  I did find that I was able to make the agent communicate by removing existing workspaces (by deleting the registry key "hklm:\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Service Connector Services" and its children) then using the AgentConfigManager.MgmtSvcCfg COM interface to add the OMS workspace programmatically:
$mma = New-Object -ComObject 'AgentConfigManager.MgmtSvcCfg';
$mma.AddCloudWorkspace($WorkspaceGuid,$WorkspaceApiKey,1)
In most of the cases I attempted, it was an upgrade of MMA from 7.1.10184.0 (updated to SCOM 2012 R2 UR14 by KB4024942, with no OMS workspaces added) to 8.0.11103.0, on both Windows Server 2012 R2 and Windows Server 2016.
Thinking about it, I should probably also try to uninstall MMA 7.1.x, restart the computer, and then try installing MMA 8.0.x specifying the ws, key, and cloud type.

@MGoedtel this issue may be a bug in the procedure in the installation of the Log Analytics agent for Azure US Government.

@jason-j-MSFT and @jordanmills - The documentation is correct in demonstrating how to configure the agent to report to a LA workspace when not in a multi-homed scenario (meaning agent reporting to both OpsMgr and LA workspace).  Attempting to configure the agent to report to a LA workspace does not work on an upgrade scenario of the agent, only when doing a reconfiguration of the agent or installation of the agent.

#please-close as this isn't an issue with the documentation.  I will however add a note about attempting to configure the agent while performing an upgrade isn't a supported scenario with the installer.

Thank, it might help someone else save a lot of time and troubleshooting. I did confirm that it works as expected when there is no agent or residual configuration, which is probably no surprise.


NotLoggedInException()

Expected Behavior
I have daemontools to supervise on it, and I haven't change anything.
but it keeps on failed since around 02:00
re-install not help
not the account problem (change account not help, still login-able in mobile)
Actual Behavior
2016-08-08 07:18:22,367 [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 127, in main
report_summary(bot)
File "pokecli.py", line 136, in report_summary
metrics.capture_stats()
File "/usr/share/nginx/PokemonGo-Bot-DL/pokemongo_bot/metrics.py", line 76, in capture_stats
response_dict = request.call()
File "/usr/share/nginx/PokemonGo-Bot-DL/pokemongo_bot/api_wrapper.py", line 90, in call
if not self.can_call():
File "/usr/share/nginx/PokemonGo-Bot-DL/pokemongo_bot/api_wrapper.py", line 58, in can_call
raise NotLoggedInException()
pgoapi.exceptions.NotLoggedInException
2016-08-08 07:18:22,437 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/usr/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/usr/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib64/python2.7/httplib.py", line 979, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1013, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 833, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-08 07:18:22,438 [sentry.errors.uncaught] [ERROR] [u'NotLoggedInException', u'  File "pokecli.py", line 493, in ', u'  File "pokecli.py", line 127, in main', u'  File "pokecli.py", line 136, in report_summary', u'  File "pokemongo_bot/metrics.py", line 76, in capture_stats', u'  File "pokemongo_bot/api_wrapper.py", line 90, in call', u'  File "pokemongo_bot/api_wrapper.py", line 58, in can_call']
Other Information
OS: centos 7
Git Commit: 153ea212999e337b54e09761f6defbabb0de4e8c
Python Version: 2.7

Same problem, however only google accounts, PTC login doesn't have the error for me and works fine.
2016-08-08 04:37:57,223 [pgoapi.pgoapi] [DEBUG] Set Position - Lat: 0 Long: 0 Alt: 0
2016-08-08 04:37:57,223 [pgoapi.pgoapi] [DEBUG] Auth provider: google
2016-08-08 04:37:57,223 [pgoapi.auth] [INFO] Google User Login for<EMAIL_ADDRESS>2016-08-08 04:37:57,225 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTPS connection (1): android.clients.google.com
2016-08-08 04:37:57,310 [pgoapi.pgoapi] [INFO] Creating a new request...
2016-08-08 04:37:57,310 [pgoapi.pgoapi] [INFO] Adding 'GET_INVENTORY' to RPC request
2016-08-08 04:37:57,310 [pgoapi.pgoapi] [INFO] Adding 'GET_PLAYER' to RPC request
2016-08-08 04:37:57,310 [pgoapi.pgoapi] [INFO] Not logged in
Traceback (most recent call last):
  File "pokecli.py", line 503, in <module>
    main()
  File "pokecli.py", line 131, in main
    report_summary(bot)
  File "pokecli.py", line 140, in report_summary
    metrics.capture_stats()
  File "/root/pokemon/PokemonGo-Bot/pokemongo_bot/metrics.py", line 76, in capture_stats
    response_dict = request.call()
  File "/root/pokemon/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 90, in call
    if not self.can_call():
  File "/root/pokemon/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 58, in can_call
    raise NotLoggedInException()
pgoapi.exceptions.NotLoggedInException
2016-08-08 04:37:57,316 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "/usr/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
    ca_certs=self.ca_certs,
  File "/usr/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
    '_open', req)
  File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
    return self.do_open(ValidHTTPSConnection, req)
  File "/usr/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib64/python2.7/httplib.py", line 979, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 1013, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 833, in _send_output
    msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-08 04:37:57,318 [sentry.errors.uncaught] [ERROR] [u'NotLoggedInException', u'  File "pokecli.py", line 503, in <module>', u'  File "pokecli.py", line 131, in main', u'  File "pokecli.py", line 140, in report_summary', u'  File "pokemongo_bot/metrics.py", line 76, in capture_stats', u'  File "pokemongo_bot/api_wrapper.py", line 90, in call', u'  File "pokemongo_bot/api_wrapper.py", line 58, in can_call']

create new virtualenv and install the pip dependencies can solve.
It's caused because bad dependencies from PokemonGo-Map


Please add Roswell, GA!

And/or Cobb County

Hi @elanam47, thanks for your interest in adding your city to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Subject line for the email
Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Follow our email style guidelines for quicker acceptance. Remember that messages must be city-specific and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!


Autorest Regen Preview to 3.0.0-alpha.20230919.5 by Pan Shao from refs/pull/3756/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3756

API change check
API changes are not detected in this pull request.


Minimum sample count for bandits

With this change, it will require 6 hours of data before the bandit strategy kicks in.
This means variants will be selected randomly until then, i.e. "pure exploration"

Seems sensible 👍 does this depend on the algorithm?

Yes, but we only have the one for now


Fix interleaving of asycnhronous callbacks

Create a new context when creating async callbacks; don't just push the current context to the stack.
This test would work if the callbacks were wrapped with ns.run() or ns.bind(), because this method creates a new context.
ns.bind() seems to have the same problem, but it has not been tested.
Added a new test for this specific failure.
Fixed an existing test which assumed contexts should not be created across async callbacks.
Fixes #66

Won't fix. See https://github.com/othiym23/node-continuation-local-storage/issues/66#issuecomment-226972583


Custom inputs from app/inputs aren't loaded (?)

Hello,
Using formtastic formtastic 3.1.3 and Rails 4.2.0, I created a file app/inputs/card_back_input.rb which says:
class CardBackInput < FormTastic::Inputs::StringInput

  def to_html
    super.merge(class: "flexible-text-area")
  end

  end

I try to use it in my form (using the Slim templating language) like so:
f.input :back_content,  as: :card_back
To which I get back: Unable to find input class for card_back.
Digging through the stack, I eventually get to Formtastic::FormBuilder#input_class_by_trying that yields NameError: uninitialized constant FormTastic.
To me, it looks like the card_back_input file I created simply doesn't get loaded, but I'm not sure if that's really the case or if there's another issue here. I followed the docs as closely as I could, not sure what I missed. Any help would be most appreciated.

Change FormTastic to Formtastic to fix this error at least: NameError: uninitialized constant FormTastic.
Closing for now, feel free to re-open if there's additional issues.

Thanks @justinfrench - that was it. :\ Sorry for the silly report! I'm sure I copied that from somewhere official but can't find it ATM. I appreciate your help!


Most trending searches for post

Which Category is your question related to?
ElasticSearch
What AWS Services are you utilizing?
AppSync + Elastic-search
Provide additional details e.g. code snippets
I have the following Post Schema that  defines a list of posts within my application.
type Post @model
@searchable
@auth(rules: [{ allow: private }]) {
  id: ID!
  title: String!
  des: String!
  searchTags:[String!]
}

I am using the @searchable directive to stream data into elastic search which is all working fine.
I executed the following query for searches
await API.graphql(graphqlOperation(queries.searchPosts, {
    filter: {
        searchTags: { wildcard: value.toLowerCase() + "*" },
    }
}))

which returns a wildcard result for the searchTags field N.B. searchTags field is an array of string so searchTags can be ["Fatty food","vacations","Trips"]. This is all working fine and a number of post is returned once they match the wildcard results. Now i want to do some aggregation on the Post table to see the top 10 Posts returned from the query base on a specific time frame aka trending post  but i am not sure how to do this. Thanks in advance for any assistance.

If you need this to be based on a date range, you will have to update your schema to include createdAt and updatedAt fields so those dates get exoposed in your schema and you should be able filter them. These timestamps should already in DynamoDB tables
type Post @model
@searchable
@auth(rules: [{ allow: private }]) {
  id: ID!
  title: String!
  des: String!
  searchTags:[String!]
  createdAt: String
  updatedAt:String
}

Once you these dates, you should be able to update your search filter to include these dates

@yuth Yes those fields are already in the schema, any code example or idea on how i could write
the AppSync  query to achieve this ?

We don't have support for range query yet for createdAt and updatedAt fields but we have an PR https://github.com/aws-amplify/amplify-cli/pull/3432 in works to add support to add this.

@yuth ok i see, lets simplify the requirements and remove the range. So now i just want to see the top Posts results base on the searchTags query. How could i achieve this ?

@Graig123git what make a post top post? Is it the based on 👍 on the post? In the sample type you posted I don't see any field we can use to sort

@yuth  in the post schema the searchTags field is an array if string that is searchable using the
@searcahe directive. So a top Post or top 5 list of post should be based on the amount of times
a specific searchTag word is search using elasticsearch.  so if i have the following searchTags
["Fatty food", "Vacation", "Trips"] and ["Programming", "Java","Javascript"] which ever one of these words appear the most using elastic search would leave to that post been the top post.

@yuth is it clearer to you what am trying to achieve ? am trying to achieve something similar
to this post https://discuss.elastic.co/t/find-trending-article/209158

@Graig123git We don't support querying aggregations as of yet but this is an enhancement which we will be prioritizing in our upcoming sprints.

@yuth  thanks for the response, any possible work around for now that you could suggest ?

The workaround although not trivial can be achieved by using the function directive
type Query {
  getTopHits(msg: String):[CountPostsBySearchTags] @function(name: "aggregation-${env}")
}
type CountPostsBySearchTags {
/#  model to ES's aggregation response
/# "aggregations" : {
/#      "trending" : {
/#        "doc_count" : 847,
/#        "keywords" : {
/#          "doc_count" : 847,
/#          "bg_count" : 301038,
/#          "buckets" : [ ]
/#       }
/#     }
}

And implement a resolver for the aggregation query as show here
https://docs.amplify.aws/cli/graphql-transformer/resolvers

Hi we now support date range queries and more aggregation queries. Would love to get your thoughts on if that addresses your issue here:
https://docs.amplify.aws/cli/graphql/search-and-result-aggregations/#aggregate-values-for-search-result-minimum-maximum-average-sum-terms
you can supply the lowerbound and upperbound date ranges via the query below.
query MyQuery {
  searchPosts(filter: {
    createdAt: {
      range: ["...", "...."]
    }
  }) {
    items {
      createdAt
      name
    }
  }
}

@-mention me if this doesn't fully address your use case.


traccar <-> OpenGTS device management

Hi,
After integrating traccar and OpenGTS, there is no web UI for traccar. can someone point me to documentation on how to manage devices and users through command line?

You should manage devices through OpenGTS tools after integration.

Cool, so you meant adding devices to OpenGTS is enough? but how does traccar accept/reject data from devices? because someone can spam my server with data from non-registered devices?

Traccar takes list of devices from OpenGTS database. There is no protection from spam at the moment.

Thanks for your comments


Add example chart and onboarding doc

https://github.com/open-cluster-management/backlog/issues/10842

/hold

/unhold


bugfix: oracle database insert value error

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@opelok-z an issue is needed to describe the phenomenon.

Codecov Report

Merging #4696 (926653e) into develop (95a89d5) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 926653e differs from pull request most recent head 6deacef. Consider uploading reports for the commit 6deacef to get more accurate results

@@            Coverage Diff             @@
##             develop    #4696   +/-   ##
==========================================
  Coverage      49.29%   49.30%
  Complexity      4087     4087
==========================================
  Files            735      735
  Lines          25616    25616
  Branches        3162     3162
==========================================
+ Hits           12627    12629    +2
  Misses         11641    11641
+ Partials        1348     1346    -2

Impacted Files
Coverage Δ

...b/sql/distributed/lock/BaseDistributedLockSql.java
0.00% <ø> (ø)

...java/io/seata/rm/datasource/ConnectionContext.java
74.35% <0.00%> (-0.86%)
:arrow_down:

...very/registry/zk/ZookeeperRegisterServiceImpl.java
61.02% <0.00%> (-0.74%)
:arrow_down:

...erver/storage/file/session/FileSessionManager.java
54.14% <0.00%> (+0.63%)
:arrow_up:

...n/src/main/java/io/seata/common/util/IdWorker.java
83.33% <0.00%> (+6.25%)
:arrow_up:


socialLikes is not defined

Your docs say I can init this plugin manually, like so:
import socialLikes from 'social-likes-next';
socialLikes(document.getElementById('share'));

I've made a Fiddle that tries to manually configure, but I can't get it to work. The console says "socialLikes is not defined".
I've omitted the 'import' statement... as far as I know, browsers don't support it yet.
How do I get your plugin to work, so that I can manually initialise it?

I am only familiar with using Social Likes Next manual method if the JS and CSS are hosted locally and not through a CDN.
The import is the ES6 require replacement.
To get Social Like Next to initialize in JavaScript, the following needs to be placed at the top of the code.
The following will import the SocialLikesNext class.
Replace social-like-next with the name of the Social Like Next location.
import SocialLikesNext from 'social-likes-next';

The following will instantiate the SocialLikesNext class.
let socialLikes = new SocialLikesNext(document.getElementById('share'));

Then access the Social Like Next members using the socialLikes object.
The following is an example of the HTML to use with this method (I am not sure how to get this working with JSFiddle).

Facebook

Twitter

Google+

LinkedIn

If you do not use bundlers, try this social-likes from same developer https://github.com/sapegin/social-likes


[BUG] Generic HTTP CLient not working with the AwsSdk2Transport

What is the bug?
This bug is in feature: https://github.com/opensearch-project/opensearch-java/issues/377 where the generic Http actions are enabled. When I try to send the request, I get an Unhandled endpoint type: 'org.opensearch.client.opensearch.generic.OpenSearchGenericClient$GenericEndpoint' error.
This issue is similar to https://github.com/opensearch-project/opensearch-java/issues/969. As mentioned there:

One reason can be, as I see is that in the PR: https://github.com/opensearch-project/opensearch-java/pull/910/files , the changes are done to RestClientTransport.java and ApacheHttpClient5Transport.java , but the changes to AwsSdk2Transport is not done.

How can one reproduce the bug?
    private String searchWithGenericClient(OpenSearchClient openSearchClient) throws IOException {
        Response response = openSearchClient.generic()
                .execute(
                        Requests.builder()
                                .endpoint("/" + {index} + "/_search")
                                .method("POST")
                                .json("{"
                                        + "    \"query\": {"
                                        + "        \"match_all\": {}"
                                        + "    }"
                                        + "}"
                                )
                                .build()
                );
            return response.getBody().get().bodyAsString();
    }

Dependency (openesearch-java v2.10.1):
       <dependency>
            <groupId>org.opensearch.client</groupId>
            <artifactId>opensearch-java</artifactId>
            <version>2.10.1</version>
        </dependency>

Output:
org.opensearch.client.transport.TransportException: Unhandled endpoint type: 'org.opensearch.client.opensearch.generic.OpenSearchGenericClient$GenericEndpoint'
at org.opensearch.client.transport.aws.AwsSdk2Transport.parseResponse(AwsSdk2Transport.java:527) ~[opensearch-java-2.10.1.jar:?]
at org.opensearch.client.transport.aws.AwsSdk2Transport.executeSync(AwsSdk2Transport.java:396) ~[opensearch-java-2.10.1.jar:?]
at org.opensearch.client.transport.aws.AwsSdk2Transport.performRequest(AwsSdk2Transport.java:193) ~[opensearch-java-2.10.1.jar:?]
at org.opensearch.client.opensearch.generic.OpenSearchGenericClient.execute(OpenSearchGenericClient.java:168) ~[opensearch-java-2.10.1.jar:?]

What is the expected behavior?
We need the generic flow to work for AWS opensearch as well.
Our service currently uses JDK8 and we needed to use the newer client to be compatible with JDK8. We are trying to get the generic client working so that we can use the query strings as created for previous versions.

Looks like an exact dup of https://github.com/opensearch-project/opensearch-java/issues/969, or is it different?
Any interest in picking this up?

Looks like an exact dup of #969, or is it different?
Any interest in picking this up?

This isn't an exact duplicate. In #969 the user gets 403 error. I don't end up with a 403, but I am unable to see the response because there is no support for the Generic Client in the AwsSdk2Transport. I believe @reta has self-assigned #969. I'd like to know if the cause is the same.


[stable/kibana] add tests

What this PR does / why we need it:
Add basic tests to stable/kibana.
Which issue this PR fixes
No issue, adds new test.
Special notes for your reviewer:

used dwdraju/alpine-curl-jq to test because I need curl, jq, and bash to accurately test, let me know if there's a better idea to test.

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @compleatang

/ok-to-test

fixed the test. missed this values file earlier: https://github.com/helm/charts/blob/7a10da0db524d0164e33998a671a4574e28d39d6/stable/kibana/ci/service-values.yaml#L2-L4

@s12chung FYI you'll need to do a quick rebase after #12200 gets merged (I've marked it LGTM so it should merge shortly).

something changed such that I can't connect to "http://{{ template "kibana.fullname" . }}{{ if $port }}:{{ $port }}{{ end }}/api{{ .Values.livenessProbe.path }}" now. investigating why. will get back after I sleep.

@s12chung check out PR #12200 and the last commit there....

see my latest commit, i don't completely understand this comment in #12200 : https://github.com/helm/charts/pull/12200/files/8679348e26e17528143ba7ff05bef8587432d764#diff-761d187d0b4be7a6e7099800525bcb80

@s12chung i'm not 100% sure which comment you're referring to as the link doesn't resolve well. but in any event thanks for this!
/lgtm

@s12chung and @compleatang This PR reverted the changes made at https://github.com/helm/charts/pull/12200 was this expected? Since previous PR was solving a problem when trying to override kibana.yml since elasticsearch.url is not valid anymore and elasticsearch.hosts needs to be used, and since there is a bug on helm, there was no way to bypass this.

wasn't fully knowledge of the bug, as you can see my comment. do you know why ci might fail because of the changes?

@s12chung can help on that, I just noticed this because I am starting some new installation and using ELK 7 stack, so I stumbled on those problems.


Please bring back lua support

I'd like to use neocomplete with macvim. Sadly, it requires lua. Is there a solid reason why lua support is disabled in recent macvim builds?

It'd be nice to get an official statement, whether it's something that's hard to do and requires some help, or is it just not going to happen because of some reason.

Sorry, if I recall correctly, MacVim never had Lua support, so it's not
exactly bring back. The problem is which version of Lua to use, there's no
default Lua in OS X. For Ruby and Python, MacVim is always complied against
system version (bad things do happen if you compile against other version
and someone tries to use it without that specific version, I know because
once I forgot RVM enabled and compiled with wrong Ruby).
2015年7月8日(水) 19:11 Jakub Turski<EMAIL_ADDRESS>
It'd be nice to get an official statement, whether it's something that's
hard to do and requires some help, or is it just not going to happen
because of some reason.
—
Reply to this email directly or view it on GitHub
https://github.com/macvim-dev/macvim/issues/50#issuecomment-119746310.

--
Douglas Drumond
Androidから送信。

I see - this does make sense. I don't think the Lua support is worth the trouble of including a lua interpreter or something like that. Thanks for the explanation.

You could install macvim via homebrew, there's an option to enable lua support:
brew install macvim --with-lua

(Run brew info macvim to see a list of options.)

I know I can do it - I explicitly wanted to avoid this, as you need whole XCode for this, and the resulting application is linked dynamically - which makes it bit brittle if you want to deploy it across different OSX versions for example.
But in the meantime I've simply dropped the neocomplete in favour of ycm.


"Folder" imports?

E.g.
import * as WebGLModules from<EMAIL_ADDRESS>import * as DeckGLModules from<EMAIL_ADDRESS>
Research how these "folder imports" work. Are they still tree-shakeable?

I don't think this is necessary for now since there just aren't that many modules


Support modifying partition keys and primary keys of Schema.

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Many sinks of datalakes and OLAP databases use partitions to accelerate queries, but this information is not included in the current Schema.
We can add this API first and then consider the timing of use.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Closing this issue as it has been migrated to Apache Jira.


Can't Find gsettings Schema

I can't find the gsettings schema for spot. When gsettings list-schemas, there is nothing related to spot.
Also when I check with snap interface gsettings, it shows spot under the plugs.
name:    gsettings
summary: allows access to any gsettings item of current user
plugs:
  - spot
  ...
slots:
  - core

I just want to change the theme to system theme, since it does not detect my system gtk theme.
I am using the snap version on pop os 20.10.

Snaps are very odd. I went and found a way to change the gsettings. I tested this on latest ubuntu snap version.
To interact with the gsettings for spot for snap you must use
gsettings --schemadir ~/snap/spot/current/.local/share/glib-2.0/schemas  dev.alextren.Spot
For example to see the available keys use
gsettings --schemadir ~/snap/spot/current/.local/share/glib-2.0/schemas list-keys dev.alextren.Spot

This is it! Short note for those installing from the Ubuntu software — the schemadir is
/snap/spot/current/usr/share/glib-2.0/schemas

Strangely schemas are not compiled, so I had to additionally do
glib-compile-schemas ~/.local/share/glib-2.0/schemas


Everything is implemented in one file.

All of the client code is in index.html. That makes it easy to read for people new to the project, but it makes managing the project hard, increasing the likelihood of merge conflicts.
Also, there should be a distinction between the base integration with Jitsi (jitsihax.js which gets installed on the Jitsi Meet server, the sendJitsiHax function, and the tx/rxGameData functions) and the front-end code (everything else). Making a clear distinction between the two will make it easier for people to fork the project and implement their own front-ends in whatever language/framework/whatever they want.

closed with commit cebe360c508e8b033f333603b9228f8a317ced8e


Live ads not showing

Hi, I already put in a live ad code in the ID but my app still seems to show only test ads. Any idea why this could happen?

Could you try to run the example (https://github.com/ratson/cordova-plugin-admob-free/blob/master/examples/basic/www/js/index.js), replacing the ID with your own one, set isTesting to false, see if it works.

Also, you need to try on a release build (cordova build --release).

This just started happening to me two days ago. My app has been live for a month no problem and then with my latest release it has been saying Test Ad on top of my ads in production. I haven't touched the code that deals with ads since. I did update this plugin to take advantage of the new iPhone X fix.

I did a release build, but it is not working. I don't know why.

I am having the same issue. Test ads work fine, but production ones don't. One question: Does anybody of you have a live app in the App Store? I am wondering if the latest AdMob SDK maybe detects AdHoc builds and stops them from displaying ads. Maybe, ads will stark working again after you have published the app on the App Store?
To clarify why I am currently unable to debug this problem on my own:
As you might know, I have published a PR for the "forChild" problem. This fixed a few problems in my case. But unfortunately, after a week or so, ads suddenly stopped showing at all. In my case, I got probably banned from AdMob - even when trying one of the official AdMob test apps, ads won't show anymore.
One of my clients reported that his ads don't show up as well. That's why I think that there is a problem with the latest SDK.

I don't know if this will help, I'm using a different admob plugin: cordova-admob-pro, planning on switching to this one because yeah apparently that's not actually free, so I stumbled upon this project. But, the same issue is happening on cordova-admob-pro, test ads are showing, but on production ads are still test-ads, my app has been published for about a month now.
Looking into actual google admob sdk might be worth something.
Might be unrelated stupid question: admob has two id's ca-app-pub-xxx~xxx and ca-app-pub-xxx/xxx, examples are only using ca-app-pub-xxx/xxx, what's the purpose of the first one? Google Admob SDK uses the first one for initialization but I don't seem to see that in this plugin nor in cordova-admob-pro?

I have the same issue with cordova-admob-pro. The app version which is live, ads are working fine.
The new release that I'm working on, ads are not showing at all, even with isTest = true.
Whats even more frustrating that I cant find admob plugin that works. When using other plugins the app is not even building.
Has someone resolved this issue or found other plugin that works.

Hey @josephharveyangeles, which plugin did you use?

@bgosalci I'm using this plugin. It didn't work the first time I switched from cordova-admob-pro didn't bother figuring out why. But I remember reinstalling all my cordova plugins again and creating a new ad unit on admob. Assets weren't probably thoroughly cleaned after removing cordova-admob-pro and then switching to this plugin. That's just my guess though.

@josephharveyangeles ok, cordova-plugin-admob-free won't compile for me. I get this error:
 cordova-generic-ad.jar does not exist in cordova-plugin-admob-free

@bgosalci try removing and adding the android platform again?

I am using the latest version of this plugin,  So I installed with ADMOB_APP_ID
cordova plugin add cordova-plugin-admob-free --save --variable ADMOB_APP_ID="<YOUR_ADMOB_APP_ID_AS_FOUND_IN_ADMOB>"
Its working with test Ad. But in production still its showing test ads.
Spent so much time on this. One thing I don't understant why the hell, test ad is showing. It could be no ad showing or somthing else. I have given my ad mob ad id, so there is no way of showing test ads.

Hey I suggest you use cordova-admob-plus instead; that works. It's also by ratson.
https://github.com/admob-plus/admob-plus

Hi All,
Does anyone got the solution for this issue? because i am facing the same issue.

Hi All,
Does anyone got the solution for this issue? because i am facing the same issue.

Hey I suggest you use cordova-admob-plus instead; that works. It's also by ratson.
https://github.com/admob-plus/admob-plus

This is the solution.

check out this tutorial for cordova app development ads are working here

check out this tutorial for cordova app development ads are working here
https://www.youtube.com/playlist?list=PLOYvLvZ5tzBSGxKWIM7fwqVgKG6vLoVZ7


fourth and fifth post

👷 Deploy Preview for johare-cv processing.

Name
Link

🔨 Latest commit
fb5bc12597f4f2e3e59b9b9b957e00fe586e9072

🔍 Latest deploy log
https://app.netlify.com/sites/johare-cv/deploys/65db8a70bacb2f000816971f


Attempt to upgrade to cats-effect 2.0.0-RC2

Hi all,
I just got a PR to upgrade cats module to 2.0.0-RC2 but it also tried to upgrade cats-effect to 2.0.0-RC2 (which does not exist).
https://github.com/fp-tower/foundation/pull/77/commits/1c4630320b79894680bd1802ac839f2c35dadc8a
It is not a big deal but I imagine it illustrates a bug in the version upgrade. Thanks!

Yes, this is a bug. I've observed the same problem in #793. Fortunately the fix for this should be straightforward.


fix(app): ignore the number of kernels when culling sessions

The culling currently checks that a session has zero kernels to consider this session idle. I think this is overly generous.
We have some very old sessions that have no activity but 10 kernels.
Checking idle status of session anon-XXXXXX, idle seconds: 0, cpu usage: 11.878941m, server status: {'connections': 0, 'kernels': 10, 'last_activity': datetime.datetime(2021, 11, 15, 20, 9, 49, 812356, tzinfo=datetime.timezone.utc), 'started': datetime.datetime(2021, 11, 15, 17, 30, 55, 843291, tzinfo=datetime.timezone.utc)}

Therefore, we should not take into account the number of kernels at all when deciding whether a session is idle.

I think what we're missing now is at a different level. Rather than culling servers which still have kernels, we should allow the server to cull inactive kernels. See this post for discussion.

Closing this PR in favour of #128 which will handle this more completely.


0.6.1

Coverage decreased (-0.02%) to 49.656% when pulling 95d77ff29824c90c83a4e9f0fa5f1ea66f42a604 on nobodyiam:0.6.1 into 6015c7578060e799f836b4d066d4b5be4507888a on ctripcorp:master.

Codecov Report

Merging #554 into master will decrease coverage by -0.03%.
The diff coverage is 20%.

@@             Coverage Diff              @@
##             master     #554      +/-   ##
============================================
- Coverage     46.34%   46.32%   -0.03%
  Complexity     1349     1349
============================================
  Files           324      324
  Lines          8725     8730       +5
  Branches        831      832       +1
============================================
  Hits           4044     4044
- Misses         4392     4396       +4
- Partials        289      290       +1

Impacted Files
Coverage Δ
Complexity Δ

...ork/apollo/spring/config/ConfigPropertySource.java
50% <20%> (-50%)
3 <1> (+1)

.../apollo/internals/RemoteConfigLongPollService.java
80% <0%> (-0.72%)
23% <0%> (-1%)

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 6015c75...95d77ff. Read the comment docs.


[JMX] Stop passing "confd_path" to JMX fetch

What does this PR do?
Removes the "--conf_directory" parameter from our call to JMX fetch, because this option is only for sending a check via a named pipe (and thanks to https://github.com/DataDog/datadog-agent/pull/604, agent 6 exclusively uses the API and not named pipes).
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

 [jmx fetch] Address changed structure of the conf.d directory


Why bb8-redis can't support redis features?

I want use redis script but for bb8-redis features is disable default-features = false
How i can enabled them?

By depending on redis directly in your downstream crate and enabling the features there. If you want I'd welcome a PR that adds forwarding features to bb8-redis.

@djc
I'm using bb8 and would like to fix this, but I can really use a hand.

What does it mean by depending on redis directly on your downstream crate? Does it mean to have both bb8 and redis-rs? If so, could you please elaborate more on how to connect them? I tried but the error is too much for me.
I understand the term forwarding features, but still have no idea how to implement after browsing round. Best I could find is having local patches, which is also what I have been doing, so could you please provide some links/guide?

Thank you!

Yes, you'd have dependencies for both. Have to make sure they're using the same version, though.
I meant sending a PR that adds lines like "foo" = ["redis/foo"] to the bb8-redis Cargo.toml.


Adding support for Turbolinks 5+

Adding support for Turbolins 5+

[x] Configuration option to indicate if your project uses Turbolinks 5+ (default: false)
[x] JavaScript Vanilla

[x] Add a condition to avoid render_async be executed on preview pages
[x] Add Turbolinks on load event

[x] jQuery

[x] Add a condition to avoid render_async be executed on preview pages
[x] Add Turbolinks on load event

Hey @eclemens, thanks for the PR!
Did you try Using with Turbolinks instructions in the README? Is it working for you with those instructions or we need these changes as well? :)

Yes, I tried it and kind of worked, but it forces the page to fully refresh. This causes the page to load again everything including the CSS, JS files, etc. and breaking Turbolinks' purpose.
My approach works fine using the regular Turbolinks flow and do not requires the page to refresh/reload.
P. D. Thanks for maintaining this project.

Awesome, thanks for reporting this, I'll expand the README to inform the users!
Also, I'll see to launch your changes ASAP.

@eclemens I'll try to find some time tomorrow or next weekend to test and push this :)

Would be nice to have this merged.

Hey y'all, just released 2.0.1 version with Turbolinks 5+ support => https://rubygems.org/gems/render_async/versions/2.0.1
If you can, try it out, and tell me how it goes 🍺

@eclemens @nikolalsvk Strangely this hasn't worked as expected.
Shouldn't the placeholder be hidden when a preview is available?

Hello @ebsalberto
When Turbolinks shows the preview it displays the last content the page had before it unloads, but once the page is grabbed from the server it replaces the preview. The page from the server has the placeholder, so it first displays the placeholder and then render_async runs.
Please let me know it this was what you meant.

@eclemens I was under the impression that this PR would prevent the placeholder of showing up when a preview is available. Does that make sense? If you look at the image above, it looks a bit weird showing a preview, then the loader and the new content.


[Feature Request] Using CC

Photoshop version
CC2021
System informations

Distro : Arch
GPU : NVIDIA
WINE version : 7.20

Would it be possible to use the creative cloud on Linux? If I understand correctly, now it is "just" a cracked Photoshop. Considering my school provides the CC subscription, I would love to use it and access the cloud files.
Thanks for your amazing work :+1:

Hello,
If only I could... I'm in the same situation.
It's not possible to login with CC that's why it's a "cracked and modified" version that is provided.
CC login is based on a old Internet explorer framework and it won't run at all on Wine and Linux.
I can't really consider that piracy since Adobe don't support Linux and they don't want to.
For me that's just a "port" and if something prevent it from working I press "DELETE" on it.
That's sadly included login with CC and that's a shame because I can't use my CC presets.

Hello,
If only I could... I'm in the same situation.
It's not possible to login with CC that's why it's a "cracked and modified" version that is provided.
CC login is based on a old Internet explorer framework and it won't run at all on Wine and Linux.
I can't really consider that piracy since Adobe don't support Linux and they don't want to.
For me that's just a "port" and if something prevent it from working I press "DELETE" on it.
That's sadly included login with CC and that's a shame because I can't use my CC presets.

Oh no, I've heard about the internet Explorer debacle a few years ago. However I thought that in year 2022 it would already be gone. Well, it's not. Thanks for your work.


Application use a production database in a test environment.

https://github.com/symfony/symfony-demo/blob/master/app/config/config.yml#L65
# config.yml
doctrine:
    dbal:
        url: "%env(DATABASE_URL)%"

https://github.com/symfony/symfony-demo/blob/master/app/config/config_test.yml#L24
# config_test.yml
doctrine:
    dbal:
        # It doesn't override an "url" value!
        path: "%kernel.root_dir%/../var/data/blog_test.sqlite"

@voronkovich Try url: sqlite:%kernel.root_dir%/../var/data/blog_test.sqlite and then run
bin/console debug:config doctrine -e=test to see if this value is showing up.

if you define both the URL and the path in your config, the URL wins in Doctrine DBAL. So you would have to overwrite it using the URL in config_test.yml

@javiereguiluz this can be close since you fixed it in https://github.com/symfony/symfony-demo/pull/572 :wink:


generate int to int mapping for enums

this is useful when applications sometimes get the integers already
and hence no need to convert them back to enum atom names to allow protobuf:encode functioning.
use the enum QAGMediaRating in http://docs.openx.com/resources/ssrtb.proto_v21.txt as proto example:
message Content {
  // QAG Media Ratings. Integer values are from the OpenRTB 2.3 spec, Section 5.15.
  enum QAGMediaRating {
    all_audiences    = 1;
    everyone_over_12 = 2;
    mature_audiences = 3;
  }
  optional QAGMediaRating rating = 1;
}

it will generate this code difference
--- ssrtb.proto_v21.txt_pb.erl.orig     2015-11-14 14:01:25.159020711 -0800
+++ ssrtb.proto_v21.txt_pb.erl  2015-11-14 15:12:23.636304631 -0800
@@ -770,42 +770,68 @@ pack(FNum, _, Data, Type, _) when is_ato
     protobuffs:encode(FNum, enum_to_int(Type, Data), enum).

 enum_to_int(content_qagmediarating, mature_audiences) ->
     3;
+enum_to_int(content_qagmediarating, 3) -> 3;
 enum_to_int(content_qagmediarating, everyone_over_12) ->
     2;
+enum_to_int(content_qagmediarating, 2) -> 2;
 enum_to_int(content_qagmediarating, all_audiences) -> 1;
+enum_to_int(content_qagmediarating, 1) -> 1;

@lukebakken you may attach an enhancement label?

Hello,
Thank you for taking the time to open this PR. Could you explain the usage of this generated function?
enum_to_int(content_qagmediarating, 1) -> 1;

Is this generated code useful for validation purposes, i.e. to ensure that the enum value you have (1 in this case) is actually valid? I'm just trying to understand the use case for this change.
Also, a test or tests validating this PR are necessary for me to include it.
Thanks!

@lukebakken I added a test case here and just let the PR based travis job triggered to run and passed,
https://travis-ci.org/basho/erlang_protobuffs/builds/91652523
https://travis-ci.org/basho/erlang_protobuffs/jobs/91652526
while from my local it actually triggered this line and ct never run and it also passed? would you document QuickCheck and PropEr as test requirements and let it fail if not installed?
test/quickcheck_setup.hrl:44:    io:format(user, "QuickCheck and PropEr not available, skipping test! ~n~p~n~n", [erlang:get_stacktrace()]),
test/quickcheck_setup.hrl:47:    io:format(user, "QuickCheck and PropEr not available, skipping test! ~n~p~n~n", [erlang:get_stacktrace()]),

the use case for extra int to int clause for enums is pretty common in our software design, I'm not sure how common can this be;

when application sometimes get the integers already, to allow protocol:encode functioning, the software has to convert integer back to enum atom names, it's inconvenient and redundant code in application;
here if we can let the proto-erlc code generater to make extra int to int clauses, then application will get flexibility to accept either enum atom names or the actual integer value

enum_to_int(content_qagmediarating, 1) -> 1;

for erlang_protobuffs-0.9.0 milestone and then close?

@c0b - could you please create a new PR that targets the master branch, and reference this PR in the description? We decided that develop isn't necessary in erlang_protobuffs. Thanks!


Fix storing regex as string when cleaned

Removing regexp entity changed the type of the _regex_strings member to a list instead of a set. resolves #134

@forslund can you provide a little more color on what this does and why it matters? The fact that the only test change asserts this internal variable is a set seems strange to me.

I can remove the test. It was mainly to prove to myself that the type remained set().
The issue is that the _regex_strings member is a set at code and .add() is called on it, the removal code was done using a list comprehension resulting in _regex_strings() was a list after removal was called. a list doesn't have the .add()` member so the issue in #134 happens.

just realized that with the new weather skill i'm also not able to get a location on Message, so this might be problematic elsewhere. Or is this related?

Tested the fix on OVOS with all latest and greatest packages (which had the same issue) and it solved the error.

@emphasize this would hinder it after reloading the skill but should work on first startup.

yeah, tested it with the fix, but still no location on Message

The only meaningfull log i get is
2021-06-23 19:22:59.576 | DEBUG    | 21131 | mycroft.skills.skill_data:load_regex_from_file:64 | regex pre-munge: .*\b(bei|in) (?P<Location>(?!\bcelsius\b|\bfahrenheit\b) *.+)
2021-06-23 19:22:59.576 | DEBUG    | 21131 | mycroft.skills.skill_data:load_regex_from_file:66 | regex post-munge: .*\b(bei|in) (?P<skill_weather_emphasizeLocation>(?!\bcelsius\b|\bfahrenheit\b) *.+)

Nevermind, Chris has written self.location = message.data.get("location") instead of
self.location = message.data.get("Location")

Absolutely will add that.

Ok found another issue with this...since the tagger keeps a reference to the old regexp_entity this isn't actually working as intended...

Added a fix along with a test for that issue as well.

Version bumped 0.0.1 units :)


Incomplete submission is on public ftp

The submissions GCP000022 and GCP000023 are the same, both appear as incomplete submissions in deposition app (17/07/2020), however the SumStats has been released on ftp and also in the UI as GCST90001389

Confirmed this submission does not appear in "active submissions" table, only in "incomplete submissions". It is available in the pre-published table in the UI, unclear which GCP this is under.

Further clarification:
Maria noticed there are two submissions that are listed as "incomplete submissions" in the deposition UI, GCP000022 and GCP000023. The data associated with these submissions appears on the UI in the pre-published table as GCST90001389 (ie there has been a successful submission of this data). However, there is nothing in the deposition UI to indicate that either GCP000022 or GCP000023 has been as successful submission, nor is there any other GCP containing this data. We don't have any more information, this needs investigating by a developer.

GCP000022 and GCP000023 don't have submissions associated with them. GCP000024 seems to be the 'proper' body of work among these 3 (they're all the same), which also has a successfully submitted submission associated with it (5f0326c523919f000123d327). This submission is the one belonging to GCST90001389.
In conclusion, GCP000022 and GCP000023 are unsuccessful attempts of GCP000024 and can be deleted.
Should I proceed with this?
/cc @mcerezof @ljwh2

Agree GCP000022 and GCP000023 can be deleted but....do you know why GCP000024 has "NA" in first author, but in the UI table first author is listed as "Emma Jones"? @tudorgroza

Can you please send me a screenshot? I don't understand. In the DB all 3 have the first author appropriately filled in with 'Emma Jones'.

In deposition UI:

In search UI:

There are a lot with "NA" in first author in the deposition UI. I checked a couple and they seem to be the same.....first author visible if you click through to the submission, but not displayed in the table.

In the Depo UI on the "Active" submissions tab, currently if the submission is from a BoW then the author may be NA since First Author is not a required field for BoW. The "Active" submissions tab shows a mix of submissions from the Body of Work and Publication(?) provenance type.

@twhetzel but if there is a First author, it should be displayed - no?

In this case ... it should be there. Let me check if I didn't do something wrong  ...
@twhetzel - what call are you making for that page?

From memory, I think the call is to /submissions.

The issue is here on the front (src/Submissions/index.js):
title: 'First author', field: 'publication.firstAuthor', sorting: true,
render: rowData => {
	if (!rowData.publication) { return 'NA' }
	else { return rowData.publication.firstAuthor }
}

This is not a publication submission - the firstAuthor comes from the bodyOfWork object.

The issue is for Active Submissions with no PMID, the first author should be retrieved from bodyOfWork object.
For some Incomplete submissions, the API does not return the First Author, I guess those belong to when there was no validation for the author fields and should not exist anymore.
I have created a fix for the above scenario, if you confirm @ljwh2 I will merge it to dev.

@ala-ebi all looks good on sandbox


Profile modal not showing owned listing

Acceptance Criteria:
Profile modal shows listings owned by the user.

No problem here.


docs: provide example how to use with Aria Kit

On which page do you see this issue?
No response
Describe the issue
https://ariakit.org/examples/tab-next-router is a good example how to use Aria Kit with NextJS's router. Writing up how to combe it with https://daisyui.com/components/tab/ would be great!
What browsers are you seeing the problem on?
No response

Is this a bug?


Make B.E.N.J.I. recognize positions of "stream" and "play"

Since youtube play feature is above download it is causing few bugs errors.
For example, if I type download Coldplay Paradise, it contains play so it is playing the video. Similarily, Chainsmokers Bloodstream contains stream.

Nice spotting the bug, @rohanricky !

This issue is open for discussion: @aribalam , @kb-studios @Yatish04 . You all are open to discuss this issue

As this can be a very broad issue, can we start off using NLP gradually, maybe usinh nltk? We can do basic tokenizing.

Good thinking @kb-studios ! But tokenizing  requires a knowledge of NLP. But though won't fix for sometime, this is a good issue for discussion

Yeah we have to use nlp at the end of the day.😀 So as of now it's limited

For now we can reverse it's order to get it working :') or since we are using download and play at starting only we can use .startwith() for this also. This is just a quick fix eventually we can work on nlp.

You are right @rohanricky in this sense. We can use that temporarily. You can work on this issue. but we are not closing it


Organising the code - Stage 1.

Started organising the code into folders.
Linked the model and dataset to the trainer and made main.py to train the mode from cli with arg parser.
Added inference.py and added wandb logging and tqdm logging.
Some work left before starting training.

tee hee :p


Northern Virginia Community College

email.vccs.edu is used for student addresses

@seven14 I am sorry, the domain vccs.edu is blacklisted because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


Updated Person model attributes that needs to be unique

Updated behaviors for attributes (phone, matriculation number, email; removed name attribute) in the Person model so that all three attributes must be different in order for it to be unique. Previously, only the name attribute affects this behavior. In addition, the test cases are also updated to test different combinations of these attributes.
The reason for this change is to reflect more accurately on what attributes is defined as unique for a student. For example, students can have the same name but they cannot have the same email, matriculation number or phone number. This change is performed by modifying the behavior of the isSamePerson method to check if the person being added has any of the same three attributes.
The purpose of this PR is for feedback for an initial implementation.
This is part of a greater set of changes and is dependent on #62 as it is modifying codes in the same class.
Ran JUnit to test the new behavior of the Person model, and also added new test cases such as having different combinations of similiar and different unique attributes, including different casing.

Codecov Report

Merging #74 (3e0d109) into master (d4496ed) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #74      +/-   ##
============================================
- Coverage     73.36%   73.33%   -0.04%
- Complexity      468      469       +1
============================================
  Files            77       77
  Lines          1472     1474       +2
  Branches        154      156       +2
============================================
+ Hits           1080     1081       +1
  Misses          347      347
- Partials         45       46       +1

Impacted Files
Coverage Δ

...c/main/java/seedu/address/model/person/Person.java
93.54% <100.00%> (+0.21%)
:arrow_up:

...java/seedu/address/logic/commands/EditCommand.java
94.50% <0.00%> (-1.10%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Adds support for EXT_meshopt_compression, KHR_mesh_quantization to GltfLoader

WIP 🚧 (do not merge, target branch for this PR will probably change)
This PR addresses #9683, adds support for EXT_meshopt_compression and KHR_mesh_quantization.
Tasks;

[x] Integrate meshopt loader module
[x] Add meshopt handling to ResourceCacheKey
[x] Handle dequantization on CPU
[x] Add tests for GltfBufferViewLoader
[x] Add tests for ResourceCacheKey
[ ] Handle normalization on CPU
[ ] Add tests for AttributeCompression.dequantize
[ ] Add sample tileset/model for testing
[ ] Add sample data for instancing

Thanks for the pull request @sanjeetsuhag!

:heavy_check_mark: Signed CLA found.
:grey_question: Changes to third party files were made.

Looks like a file in one of our ThirdParty folders (ThirdParty/, Source/ThirdParty/) has been added or modified. Please verify that it has a section in LICENSE.md and that its license information is up to date with this new version.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

How does the dequantize boolean interact with vertex buffers that have been decoded from Draco?

On a similar note - we should double check how it interacts with KHR_mesh_quantization. If the accessor is normalized: false then dequantization will happen twice - once by default in GltfVertexBufferLoader, and again because the dequantization is baked into the scene graph - which we don't want.
I think dequantization should only happen when normalized is true. Also the attribute's values componentDatatype and normalized will need to be updated to reflect that the data is now float32 data and not normalized.
Draco (and WEB3D_quantized_attributes if we ever get around to it) will be slightly more involved. The data will need to be dequantized from the values in the Quantization object. But otherwise it's the same, the componentDatatype and normalized properties in Attribute will need to be updated.

So far this is looking solid, have one or two more local tests I want to try.

I started to implement the suggestions in https://github.com/CesiumGS/cesium/pull/9694#issuecomment-888419460 but don't have enough time to finish it up right now. It's almost there except that draco data is not being dequantized in GltfVertexBufferLoader.
https://github.com/CesiumGS/cesium/pull/new/dequantize-draco


Docker?

Hey, it would be really awesome if you added some Dockerfiles so people don't need to install dependencies.

Hi, thanks a lot for your suggestion! We will consider this feature soon and let you know.

Closed for now and add this as a future feature.


Bump version to expose WM_CLASS fix

#168 is currently not visible to downstream libraries. A version bump fixes that.
Fixes #170.

There are some commits in the master branch that introduced breaking changes, therefore I cherry picked your commit and published v0.6.4 manually instead.

Thanks!


Providing Type of parameterized collections in JSON

From<EMAIL_ADDRESS>on January 10, 2012 09:08:45
What steps will reproduce the problem? 1. Provide a REST service returning a typed JSON array like this one : [ { "foo": "foo", "bar": "bar" }, { "foo": "hello", "bar": "world" } ]
2. Try to call this service in rest-assured, then map it on a List (where Foo contains foo and bar fields) :
List myList = expect().statusCode(200).when().get("/foos").as(List.class);
3. Since we have reified generics in Java, rest-assured cannot predict the parameterized type of the List and then, will map the return type in a List instead of a List
Idea would be to provide a GSON-like approach with something looking like TypeToken.
Discussion started on google group here : https://groups.google.com/forum/#!topic/rest-assured/0GIQQfzC_6c
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=141

From<EMAIL_ADDRESS>on January 10, 2012 02:26:40
Status: Accepted
Labels: -Type-Defect Type-Enhancement

From<EMAIL_ADDRESS>on February 01, 2012 23:18:08
Labels: 1.7

This seems to have been addressed. I found a solution on the user group:
https://groups.google.com/d/msg/rest-assured/a0m6wKzzy6c/OdP6_GKaCQAJ

Yes it works for shallow data structures such as List but it doesn't work for deeper onces such as Map<String, Map<String, String>>

Ah, I understand. Thanks. FWIW, I like the TypeToken idea.


Add size classes

I think it'd be fun to highlight especially large inscriptions (paid a ton of fees!) and especially small inscriptions (technically challenging and creative to make!). One way of doing this would be to introduce size classes that would display on the inscription page.
Maybe use small/medium/large, or power of two classes.

I think this would be misleading, once we have multi-file inscriptions, since we won't be able to determine the full size of all resources loaded.


Throw ModuleNotFoundException when module is not found

By mistake, I misspelt slug while creating a controller. It showed me following error.
[ErrorException] Undefined index: basename.
Instead, it should throw an exception.

#163

This is not same.
It is regarding the generation of slug and composer.json whereas this request is to throw exception if module not found.


TypeError: option todayBtn is not recognized!

JSFiddle to demonstrate this bug:
http://jsfiddle.net/ofry/nd6gzLh3/

guess you should try the correct option: http://eonasdan.github.io/bootstrap-datetimepicker/Options/#showtodaybutton


Updates to support other cluster/group name formats

Background:
For legacy groups that are converted to clusters, the cluster name needs to match the ASG and the group in Teletraan. This can cause the UI to return an error because the format of the ASG is not "{env_name}-{stage_name}". It could be "{env_name} {stage_name}"
Tests:
Test all the changes made to ensure the new format is supported and there is no regression for the existing format.
New Format Cluster: helloworlddummyservice-server-rfleur
Old Format Cluster: rfleur-dev1
Show Replacement Activities

Auto Scaling Settings/Auto Scaling Configuration

Update Capacity

Click to see AMI(s) used by Hosts

Host Terminate

Cluster Config GET

Cluster Config POST

Cluster Config History

Clone Cluster

Enable Cluster Replacement

Auto Cluster Refresh View

Cluster Replacement Details

Base Image History

Cluster Refresh Status

@rfleur01 Could you clarify the purpose of the cluster name? We already have the ASG name in rodimus, as well as the environment name and stage name in deploy. What specific role does the cluster name play? Thank you.

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

This does change how cluster names are generated. New clusters will still be generated in the {env name}-{stage name} format. It only adds support to get and update clusters that do not have the {env name}-{stage name}.

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

This does change how cluster names are generated. New clusters will still be generated in the {env name}-{stage name} format. It only adds support to get and update clusters that do not have the {env name}-{stage name}.

If the env/stage is lacking a cluster name generated as {env name}-{stage name}, what alternative method should be used for generating it?

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

This does change how cluster names are generated. New clusters will still be generated in the {env name}-{stage name} format. It only adds support to get and update clusters that do not have the {env name}-{stage name}.

If the env/stage is lacking a cluster name generated as {env name}-{stage name}, what alternative method should be used for generating it?

This is related to the work I am doing to convert legacy groups to clusters. Many of these groups have ASGs that are not in the {env name}-{stage name} format, which prevents the UI from rendering their cluster configurations and other UI components. In short, they just  wouldn't be generated via the UI. They could be generated via API OR in this case via DB insertion (via script), which is the main reason for this PR.

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

This does change how cluster names are generated. New clusters will still be generated in the {env name}-{stage name} format. It only adds support to get and update clusters that do not have the {env name}-{stage name}.

If the env/stage is lacking a cluster name generated as {env name}-{stage name}, what alternative method should be used for generating it?

This is related to the work I am doing to convert legacy groups to clusters. Many of these groups have ASGs that are not in the {env name}-{stage name} format, which prevents the UI from rendering their cluster configurations and other UI components. In short, they just wouldn't be generated via the UI. They could be generated via API OR in this case via DB insertion (via script), which is the main reason for this PR.

My question is, how can you determine the actual ASG name if it is not generated through Teletraan and thus does not follow the {env name}-{stage name} convention?

@liyaqin1 using the format {env name}-{stage name} causes clusters that do not follow that format to not be accessible via the UI. This update leans on the cluster_name to account for names that might not be in the {env name}-{stage name}.

How do we generate the cluster name?

This does change how cluster names are generated. New clusters will still be generated in the {env name}-{stage name} format. It only adds support to get and update clusters that do not have the {env name}-{stage name}.

If the env/stage is lacking a cluster name generated as {env name}-{stage name}, what alternative method should be used for generating it?

This is related to the work I am doing to convert legacy groups to clusters. Many of these groups have ASGs that are not in the {env name}-{stage name} format, which prevents the UI from rendering their cluster configurations and other UI components. In short, they just wouldn't be generated via the UI. They could be generated via API OR in this case via DB insertion (via script), which is the main reason for this PR.

My question is, how can you determine the actual ASG name if it is not generated through Teletraan and thus does not follow the {env name}-{stage name} convention?

It's determined via group_name in the groups table. The script uses that value as the cluster name when creating the cluster record. The script also populates the cluster_name value at the env level so this PR leverages that value.


pythonPackages.privacyidea-ldap-proxy: 0.6.1 -> 0.6.2, switch to python3

Motivation for this change
Less Python2-based software :)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 142108 at 53195544 run on x86_64-linux 1

2 packages built successfully:

python38Packages.privacyidea-ldap-proxy
python39Packages.privacyidea-ldap-proxy

2 suggestions:

warning: unused-argument
Unused argument: isPy3k.
Near pkgs/development/python-modules/privacyidea-ldap-proxy/default.nix:1:28:
  |
1 | { lib, buildPythonPackage, isPy3k, fetchFromGitHub, twisted, ldaptor, configobj }:
  |                            ^

warning: unclear-gpl
agpl3 is a deprecated license, please check if project uses agpl3Plus or agpl3Only and change meta.license accordingly.
Near pkgs/development/python-modules/privacyidea-ldap-proxy/default.nix:21:5:
   |
21 |     license = licenses.agpl3;
   |     ^

Please fix Unused argument: isPy3k..

@SuperSandro2000 done.


Bump Dart SDK to 1.25.0-dev.9.0

Meta-comment 1.25.0-dev.9.0 is I think not slated to roll internally until Monday-ish.

I wish we had a way to automatically catch places we need to update once upstream bugs are fixed.


Use proj_normalize_for_visualization in Transformer for optional axis ordering

See: https://github.com/OSGeo/proj.4/commit/6a7e24dce79f93b73f4919f267df2fdf3ee95713
This will require PROJ >= 6.1.0

Merged into master.


Add: fullscreen Image

Summary
It closes #189
Extra info

Needs more than 2 reviewers? n
Needs more than 10 minutes for review? y
Needs to execute in order to review? y

Images

Further Work

수정 완료했습니다!


Feature/display line item adjustments

This PR will display eligible line item promotions in the cart and during checkout

:+1: