⚠ Turnos 24x7 has degraded performance

In 6cc97c6, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1021 ms

Resolved: Turnos 24x7 performance has improved in 2482199.


Modal Closing Issue when multiple modals being used

I have placed the summernote editor inside a modal(say, parent modal) which has so many other fields along with summernote. When I try to insert picture using summernote, it pops-up a new modal(say, child modal) and does the work(it works fine). But when I close the child modal, the scroller of the parent modal disappears and the scroller becomes active for the page where I call the parent modal. It makes me unable to scroll the parent modal.

@JeevPRobinson what version are you on?
Do you mean?

You have summernote inside a modal. And then you're using the insert image modal. When you're closing this modal though, It does something that breaks the scrolling of the summernote base modal (which you refer as parent) and instead the page starts scrolling?

@steverob I am using 'rails-assets-angular-summernote (0.7.1)'
Exactly Steve. That is the issue I am facing.

It was happened in angular-summernote, not summernote.
Could you provide an example to reproduce it?


Upload firmware via OTA

Can we add a feature to update each connected tracker via OTA?

Select the firmware
Select the conntected trackers
Click Upload button

I found a firmware-update branch,  will it implement the OTA upgrade function? @loucass003

I found a firmware-update branch, will it implement the OTA upgrade function?

I made this as a simple batch script.
that automatically detect the ip addr, selects and flash firmware with OTA, and then the tracker reboots itself.
If you think this code is useful for you, I will release it with an English(or your lang)!
(currently translated into Korean)

I found a firmware-update branch, will it implement the OTA upgrade function?

I made this as a simple batch script.
that automatically detect the ip addr, selects and flash firmware with OTA, and then the tracker reboots itself.
If you think this code is useful for you, I will release it with an English(or your lang)!
(currently translated into Korean)

This is exactly the functionality I want, I would like to refer to the implementation if possible, English is fine.

This is exactly the functionality I want, I would like to refer to the implementation if possible, English is fine.

If it's useful for you, I'll proceed with the work!
https://github.com/Kamilake/FineMotion_OTA_Uploader
Without python dep:
https://cdn.discordapp.com/attachments/1002402449954451466/1064140974495891476/0.3.1a_FineMotion_Updater.zip

I just finished a basic translation and some tweaks! @Dounx

I just finished a basic translation and some tweaks! @Dounx (It's a machine translation, but I'd appreciate it if you could review it.)

Thx, I will try to port your code to SlimeVR-Server project later.


Investigate -Youtline

See: https://github.com/scala/scala/pull/7712
We could potentially use outlines rather than ijar for better scala support.
Related to: https://github.com/twitter/rsc
It may be possibly useful as a tool for splitting targets as well.

Definitely. I'll take a look at the related issue.
I have been in contact with the twitter people about rsc and waiting for
some loose ends there.
These possibilities are really exciting :)
On Fri, Nov 15, 2019 at 9:25 PM P. Oscar Boykin<EMAIL_ADDRESS>wrote:

See: scala/scala#7712 https://github.com/scala/scala/pull/7712
We could potentially use outlines rather than ijar for better scala
support.
Related to: https://github.com/twitter/rsc
It may be possibly useful as a tool for splitting targets as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/877?email_source=notifications&email_token=AAKQQF6NNCUKAKQC777KFZ3QT3ZRDA5CNFSM4JN7GQG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZWGJ7A,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF7ADUYZHK5TLHEQHTLQT3ZRDANCNFSM4JN7GQGQ
.


Body behind the modal scrolls

I have modal inside which I have a list of passengers who have scroll into view when clicked on a particular passenger. This works perfectly fine, but the body behind the modal also scrolls when this happens even thous I have frozen scroll using "overflow: hidden" CSS property. How to avoid body scroll.

@Deepak2322 I'm not sure whether it's still relevant, but adding overflow: hidden to html tag works for me


Need guard against/recovery from sssd failing to restart

Too many sequential calls to realm permit can cause a race condition where realmd tries to restart sssd multiple times. Systemd will detect it as failure and can't start it up.
That means NO ONE can log into the machine, it is dead to ssh on the network.
We need some way to recover from this. Suggestions:

Plant something in a systemd unit override to ensure that sssd is always running, via Restart=always or similar
Hosting support should probably implement this themselves
A root cron that just looks for sssd running every minute and starts it if not

What we cannot do:
Restart sssd with ansible. You can't login to begin with.
Edit: see also (courtesy of colin) https://github.com/SSSD/sssd/issues/6219

It sure seems like this should just be a systemd managed thing - have you seen any info about why that'd be a bad idea?

No I haven't looked yet. I remain pretty convinced that we should only interact with sssd via realm permit and not dare modify the config file then restart (which would be a more normal way for ansible to do this)

I recommend experimenting with modifying the config file and restarting, if that's essentially what realm does. Bonus, since realm doesn't give super helpful exit codes on failure, Ansible might be happier modding the config file!

I have to do some research on how /etc/sssd/conf.d/* get applied. Because we can't/shouldn't assume simple_allow_users is not already populated with something and because simple_allow_groups is definitely already populated when we start on the machine, we need to be able add to it without breaking it.

Done some testing in modifying snippet files with /etc/sssd/conf.d/* - Docs are pretty limited on this - all we get is:

CONFIGURATION SNIPPETS FROM INCLUDE DIRECTORY
The configuration file sssd.conf will include configuration snippets using the include directory conf.d. This feature is available if SSSD was compiled with libini version 1.3.0 or later.
Any file placed in conf.d that ends in “.conf” and does not begin with a dot (“.”) will be used together with sssd.conf to configure SSSD.
The configuration snippets from conf.d have higher priority than sssd.conf and will override sssd.conf when conflicts occur. If several snippets are present in conf.d, then they are included in alphabetical order (based on locale). Files included later have higher priority. Numerical prefixes (01_snippet.conf, 02_snippet.conf etc.) can help visualize the priority (higher number means higher priority).
The snippet files require the same owner and permissions as sssd.conf. Which are by default root:root and 0600.

In testing this, if I drop a snippet like the following in there:
[domain/ad.umn.edu]
simple_allow_groups = another-group

This does not add to the existing groups that ship with the VM in its default state. It overwrites groups who are required to have basic access (the institutional admins, departmental admins). Those must be all included in the same line but that means we would need some way for ansible to capture that initial state so it could refer to it when modifying sssd.conf or adding snippets later. I do not like this idea very much because it is dangerously error prone. Some implementations:

use lineinfile to match that line on first pass and comment it out along with some other identifier like # UMNANSIBLE simple_allow_groups =.... And then on subsequent runs the contents of that part go with whatever groups/users we add
Same idea, but grep those values out to a file that stays on the box but doesn't get loaded by sssd and combine with additional users/groups when ansible runs.

Both of these give me hives. Who's got another idea?

Agree that those options don't feel great, and I'd lean towards using realm with a systemd change in lieu of those.
Alternative approach would be to bake in the default groups (OIT-LPT) to the role with a flag about whether or not to include them (defaulted to true). Then we could safely plop in a .conf file with all of the right values and not worry about the initial sssd.conf state. (If I understand correctly)
It'd then be incumbent on the platform team to work with the community to revise the role if something changes in the future, but that's not necessarily a bad thing.

The "default" groups are the lpt group but also the departmental cesi admins group, so default state is variable by unit but important not to mess up lest the department lose access to the vm.

The "default" groups are the lpt group but also the departmental cesi admins group, so default state is variable by unit but important not to mess up lest the department lose access to the vm.

But if folks are running ansible under tower, even if they hosed their dept groups, tower would be able to reconnect and fix that right? I think it'd be reasonable to expect folks to manage those groups in their roles.

As a stopgap, I went ahead and committed 8649464fa383ec27fa0ecac5b243ebcc8051ab47 to modify sssd.service. I am still nervous about mucking around in sssd.conf. For the time being, this role now provides a backstop against sssd crashing out from realm permit but I am going to leave this issue open for possible future revision of the whole procedure.


Not able to disable CORS support in Docker MockServer

I am getting this header in the MockServer API responses:
X-CORS: MockServer CORS support enabled by default, to disable ConfigurationProperties.enableCORSForAPI(false) or -Dmockserver.disableCORS=false
In order to disable CORS support I have modified the entrypoint of the MockServer docker image with this:
/opt/mockserver/run_mockserver.sh -logLevel INFO -serverPort 1080 -proxyPort 1090 -proxyRemotePort 80 -proxyRemoteHost www.mock-server.com -genericJVMOptions "-Dmockserver.enableCORSForAllResponses=false"
and I am still getting the header mentioned above. I have also tried setting this entrypoint without success:
/opt/mockserver/run_mockserver.sh -logLevel INFO -serverPort 1080 -proxyPort 1090 -proxyRemotePort 80 -proxyRemoteHost www.mock-server.com -genericJVMOptions "-Dmockserver.disableCORS=true"

I was finally able to disable CORS support by modifying container entrypoint like that:
/opt/mockserver/run_mockserver.sh -logLevel INFO -serverPort 1080 -proxyPort 1090 -proxyRemotePort 80 -proxyRemoteHost www.mock-server.com -genericJVMOptions "-Dmockserver.enableCORSForAPI=false"

My previous solution does not work in 3.10.7 Docker image because it looks like "genericJVMOptions" are not taken into account.


Suppress / filter console warning messages

Operating System: macOS 10.13.1
Node Version: 10.5.0
NPM Version: 6.1.0
webpack Version: 4.15.1
${package} Version: 2.22.2

Feature Proposal
Configure HMR client warning logs.
Feature Use Case
I use Typescript with ts-loader.  The ts-loader docs indicate that the transpileOnly option should be set to true for HMR (also recommended to decrease build speed).  If you have code that re-exports a type, e.g.
export { SomeType } from './some-module';

the transpileOnly flag will generate export code that webpack sees as invalid and webpack will report these issues as warnings.  There was a discussion about this over in the ts-loader repo.
It seems the accepted solution to suppress these warnings is to add a warningsFilter to webpack's stats - which works fine, but the webpack-hot-middleware client still sees and reports these warnings to the browser console.  This can make rebuilds really noisy.
Correct me if I'm wrong, but the only option to suppress these warnings right now would be to turn off all HMR client logging - which I don't really want to do because some of it is useful, like seeing what gets rebuilt and reloaded.
Ideally I'd like to be able to filter warning message the same way I'm doing with webpack's stats.warningsFilter, but I could see it being problematic adding something like that to the HMR client's query params.  I'd be fine with just suppressing logging warning messages to the browser console, much like you can suppress info messages with noInfo.

Yep, this is an oversight - i can't see any reason not to add a noWarnings option or similar into the client code.
A PR would likely be accepted.

If you want to solve this via a simple noWarnings flag, that seems easy and I can probably take care of it when I get a few minutes.


Unclear how to import each library we document

Love that we have a single list of all libraries you get "out of the box" from Flutter. However, it's not clear how I import them, as I think we have three schemes.

Some come from dart:  (dart:jni)
Some come from the flutter package (animation)
Some come from another package (newton)

Any ideas on how to make it more obvious how I import, and thus use, each of these libraries?

One thing we should probably do is put a sample import statement in the library dartdoc for each one of these. I don't think that's enough; we probably also want to sort the list into categories somehow, but it would definitely help.

Also addressed by https://github.com/flutter/engine/pull/2623


only retrieves orders for current ledger

Closes #100. In addition, the get_current_issues method returned an array of arrays; it now will only return an array of strings. Finally, if there are any current issues received, no order status is shown.

Works great!


Longer login sessions

The timeout after login is currently pretty short (a day or less?) I propose making the session last for 30 days. I occasionally run into the problem of getting logged out with unsaved data. Lengthening the duration of the session would minimize this.

I'm not familiar with Symfony, FOSUserBundle, or PHP. Still, it looks like these settings are the relevant ones:
https://github.com/Alsciende/netrunnerdb/blob/990d3f834d77281868a607d974dc5cf05eadecc7/app/config/config.yml#L101
(24 hours) and
https://github.com/Alsciende/netrunnerdb/blob/990d3f834d77281868a607d974dc5cf05eadecc7/app/config/config.yml#L114
(1 hour, 44 minutes) and possibly
https://github.com/Alsciende/netrunnerdb/blob/45263b339a46dca9b476ece1ac006d1df1e942dd/app/config/config.yml#L24
(50 seconds?)
There's not much detail on the FOSUserBundle documentation about token_ttl that I can see:
https://symfony.com/doc/1.3.x/bundles/FOSUserBundle/configuration_reference.html

FOSOAuthServerBundle looks to be the most promising avenue (hopefully the auth setting is independent of the session cookie lifetime setting):
https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/1b851d77f3535396d20a402f57a3781bc6548409/Resources/doc/configuration_reference.md#L40

I propose updating this setting from 5184000  to 43200000 (302460*1000 -- i.e. 30 days).
Let me know what you think. If you prefer I can try and validate that this setting has the intended effect by running it locally (I'd rather not because I imagine I'd need to register localhost with the oauth server - unless you have good hacks for testing locally that you can share with me).
The site is awesome and I would love to see a change like this. Thanks for taking the time to consider this issue!

I think I'm wrong here, and in fact the FOSOAuthServerBundle is not being used. I don't see any OAuth flow to the login process.
Instead what I'm seeing after login in the browser is the session cookie being established. So this looks to be where the auth is recorded:

Note here that my login was at 8:50pm GMT, and the screenshot shows expiry at 2pm in four days time.

I think we fixed this a while back.
Sessions last > a month now.
This is from a login from Feb 7th, showing an expiration of March 10th.


check navigator.cookieEnabled

now users can disable cookie in browser setting
In this case you can access to document.cookie, but canot rewrite it
for example
document.cookie = "test=cookie"
console.log(document.cookie) // "" - empty string

therefore
  private _updateBrowserValues() {
    if (!this.HAS_DOCUMENT_COOKIE) {
      return;
    }

    this.cookies = cookie.parse(document.cookie);
  }

_updateBrowserValues called on getAll always reset cookie to empty object.

@eXon review please

It's a very good idea, it would make sure the library does not remove the in-memory cookies when they are disabled.

I resolve conflict with latest master and resolve you comments.
Ready to merge?
My english is bad(sorry), but i should try to describe how it was found:
import {useCookies} from 'react-cookie';
// we have custom react-hook
// like getOrCreate
function getOrCreate(name, chance) {
   const [cookies, setCookie] = useCookies([name]);
   let value = cookies[name];
   if (value !== '0' && value !== '1') {
      value = doRandomByChance(chance);
      setCookie(name, value, {path: '/'});
   }
  return value;
}
// it hook randomly set '1' or '0'
// and when you have this structure in react tree
<Component1>
    <Component2 />
</Component1>
// Component1 and Component2 use getOrCreate
// with same name. It turn to infinity renders
// because Component1 set cookie
// Then Component2 try to read prev value of cookie, but it undefined,
// Therefore Component2 hook set new randomly cookie
// in useCookies run handler of addChangeListener(universal-cookie method)
// then Component1 updated and set
// new randomly value (because after previous "set()" with disabled
// cookies in browser cookie value turn to undefined)
// then Component2 trying to update
// and repeating it infinity

@eXon merge?

@eXon ping

Closing for inactivity. Let me know if you want this to be re-open.


Implement AsyncGeneratorProxy for Tracing Async Iteration in PromptFlow

Description
This pull request introduces the AsyncGeneratorProxy class to facilitate tracing asynchronous iterations within the PromptFlow trace project. The primary goal is to enhance tracing capabilities by recording each item produced by an async iterator. This functionality mirrors the existing synchronous implementation but extends support for asynchronous programming paradigms.
The changes include:

The addition of the AsyncGeneratorProxy class, designed to wrap an asynchronous iterator and track the items it yields.
Incorporation of a linked span within the tracing context to log items yielded by the async generator.
Modification of the AsyncIterator outputs to utilize the new AsyncGeneratorProxy object, ensuring that each iterated item is recorded appropriately.

These changes enhance the tracing capabilities of PromptFlow, particularly in the context of asynchronous programming.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes].
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

Add a screenshot in the PR description.


Evaluation in own classes

I understand that convNeXt with the 22k imagenet is aimed to be a zero-shot algorithm. Is there any way to evaluate the model only on the classes I am interested to?

Hi,
You can select the subset of outputs you are interested in, following this file https://dl.fbaipublicfiles.com/convnext/label_to_words.json

Closing this for now. Feel free to reopen if you have questions

您好，请问我想测试自己的数据集，应该怎么修改代码？


Possible to Use with Multiple Accounts

Hi @vitorgalvao, thanks for putting this together, as Alfred not indexing Google Drive has been driving me insane. In my case, I am logged into two Google accounts, so there are two google_drive_path locations. Would it be possible to provide two paths? Or should I try to run a second instance of the workflow with modified keywords?

Were you in the the Alfred forum thread and I missed it? I made no announcement about this repository yet and you’ve found it!
Published a new release with support for multiple paths.

@vitorgalvao No I'm not, saw you released a new script through Homebrew and stumbled across this in the process 👍🏻
What's the best way to support your work?

What's the best way to support your work?

Thank you for asking. PayPal, I guess.


unexpected 'default' (T_DEFAULT), expecting identifier (T_STRING)

I have installed acf-fluent by running the suggested command in my Wordpress website's theme directory:
composer require samrap/acf-fluent
I then included my composer dependencies by requiring the vendor/autoload.php.
After doing the above and attempting to replicate the following example:
$heading = Acf::field('heading')                 ->default(get_the_title())                 ->escape()                 ->get();
I receive the error:
Parse error: syntax error, unexpected 'default' (T_DEFAULT), expecting identifier (T_STRING) in {path_to_my_theme}/vendor/samrap/acf-fluent/src/Fluent/Builder.php on line 124
I don't think this should have an impact on the issue, but I am using Wordpress 4.7.3, the latest version of ACF Pro and the theme I am developing is based on the Roots Sage base theme (https://github.com/roots/sage).
Perhaps I am doing something wrong, but I have tried including acf-fluent a few different ways and seem to get the same error every time.
I look forward to using your interface in the future, and thanks in advance!

Interesting issue there. What PHP version are you using? default is a reserved keyword in PHP (used in switch statements), but as of PHP 7.0 it allowed as "property, constant, and method names of classes, interfaces and traits" (See: List of Keywords).
So, I'm guessing you have a PHP version less than 7.0 and installed ACF Fluent using Composer's --ignore-platform-reqs flag. Sorry for the late response. Can you confirm what PHP version you're using?

Not a problem! I should have mentioned that I am also running Wordpress on Google App Engine (and using the dev_appserver for my local development). Google App Engine runs on PHP version 5.5.34 (https://cloud.google.com/appengine/docs/standard/php/runtime). Based on what you're saying, it sounds like that would be the issue.
Using the standard environment, I don't believe Google allows a different PHP version. Does this mean I will be unable to use your interface until App Engine moves to PHP 7? Or do you have any thoughts on a workaround?

That's really a bummer that Google would have its users on a PHP version that's not even supported by PHP anymore. Unfortunately, I can't think of a workaround in your case. I built this out to support PHP >= 7.0 and I don't have plans to change that. I do have some changes coming to 0.3 that may add some flexibility when it comes to defining your own builder methods, but until then you will need to look into upgrading your PHP version or changing your hosting to a more modern environment.

I found this post on Stack Overflow which seems like it may have a solution for using PHP 7 with Google app engine flexible environment. Not sure what flexible environment is or if it costs extra, but it seems to be a solution.

It is quite frustrating that they haven't kept up with the latest PHP version, especially with PHP dropping support for their current one.  Unfortunately, at the firm where I work, we use App Engine for all of our Wordpress sites, so finding a different environment is not really an option at the moment.
The extra research is much appreciated! I don't believe a flexible environment will work for our current dev workflow, but I will do some research in that direction and will let you know if I have any success.
Thank you for the helpful answers!

No problem. I hope you get a chance to use the package. If you use it in the future, let me know what you think!


Added Hash and Deserialize/Serialize traits to ElementState

This adds traits that are already implemented for KeyCodes/Mouse Button etc.

bors r+


MONAI bundle developers guide for the pytorch users

Is your feature request related to a problem? Please describe.
bundle templates, minimal examples for bundle workflow for pytorch users to get started migrating existing workflows

90% use cases typical template bundle, so that they don't start from scratch
available on model-zoo

(see also ideas like https://github.com/cookiecutter/cookiecutter)

Template for segmentation bundle is here now: https://github.com/Project-MONAI/model-zoo/pull/514 This partially addresses this issue.


Errors from removed tags

I want to make a basic validation of HTML files using parsing errors from Nokogiri. Some tags are always invalid, so I remove them. But the errors still here after removing the corresponding invalid tag. This code is where I’m stuck.
require "nokogiri"

doc = Nokogiri::HTML "<svg xmlns=http://www.w3.org/2000/svg />"

puts "Document: #{doc}", "Errors: #{doc.errors}"
# Document: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
# <svg xmlns="http://www.w3.org/2000/svg"></svg>
# Errors: [#<Nokogiri::XML::SyntaxError: Tag svg invalid>]

doc.xpath("//svg").each(&:unlink)

puts "Document: #{doc}", "Errors: #{doc.errors}"
# Document: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
#
# Errors: [#<Nokogiri::XML::SyntaxError: Tag svg invalid>]

The best solution I can figure out is to reparse the modified document.
require "nokogiri"
doc = Nokogiri::HTML "<svg xmlns=http://www.w3.org/2000/svg />"
doc.xpath("//svg").each(&:unlink)
doc = Nokogiri::HTML doc.to_html
puts "Document: #{doc}", "Errors: #{doc.errors}"
# Document: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
#
# Errors: []

How would you get errors from the modified document? What is the most efficient way to do it?
Related to #1243, https://github.com/gjtorikian/html-proofer/pull/180

Hello!
Thanks for asking this question! Your request for assistance using
Nokogiri will not go unanswered!
However, Nokogiri's Github Issues is reserved for reporting bugs or
submitting patches. If you ask your question on the mailing list, Team
Nokogiri promises someone will provide you with an answer in a timely
manner.
If you'd like to read up on Team Nokogiri's rationale for this policy,
please go to http://bit.ly/nokohelp.
Thank you so much for understanding! And thank you for using Nokogiri.


[stable/prometheus-operator] Fix #15819 datasource config from k8s secrets

Fix #15819 issue configuring datasources from kubernetes secrets
Changes in the stable/grafana charts allows for the recommended updating
and removal of datasources via kubernetes secrets. Older versions of
this chart do not allow this feature.

What this PR does / why we need it:
Addresses an issue/failure to configure datasources from kubernetes secrets
Which issue this PR fixes

fixes #15819

Special notes for your reviewer:
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
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @gianrubio

/ok-to-test

/retest

/lgtm


React Router 6 Support

Issue:
Renders blank when using   "react-router-dom": "^6.0.0-alpha.4",

would love this

With 6.0.0 I get:
A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.

With 6.0.0 I get:
A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.

Came across this myself but with React Router 6 this package is no longer needed, you can just use the new MemoryRouter in a decorator:
preview.js
import { MemoryRouter } from 'react-router-dom';

export const decorators = [
  (Story) => (
    <MemoryRouter>
      <Story />
    </MemoryRouter>
  )
];

Oh that's simpler than what I came up with. Thanks!

Just in case someone comes looking to keep the Action trigger on location change I added this Wrapper to mine and is working pretty well:
import React, { useEffect } from 'react'
import { action } from '@storybook/addon-actions'
import { BrowserRouter, useLocation } from 'react-router-dom'

const LocationChangeAction = ({children}) => {
  const location = useLocation()

  useEffect(() => {
    if(location.key !== "default")
      action('React Router Location Change')(location)
  }, [location])

  return <>{children}</>
}

export default function ReactRouterDecorator(Story, context) {
  return (
    <BrowserRouter>
      <LocationChangeAction>
        <Story {...context}/>
      </LocationChangeAction>
    </BrowserRouter>
  )
}

NOTE: It was also working with the MemoryWrapper but you get a default action trigger on story render for the path "/", the trigger I'm avoiding with my if condition.

@AndreasBBS Very cool, thank you! I've added a couple of types and created a Typescript version here.


LDAP auth doesn't work in Superset v.3.0.0

I configured LDAP authorization in version 2.1.0 and it works. Then I deployed version 3.0.0 on the test server. All configs have been moved over there. The authorization form cyclically asks for a password and the page reloads again to this form.
The application is deployed by docker compose. All parameters are specified  in the superset_config_docker.py file.
from flask_appbuilder.security.manager import AUTH_LDAP
#
# LDAP
#
AUTH_TYPE = AUTH_LDAP
AUTH_ROLE_ADMIN = "Admin"
AUTH_ROLE_PUBLIC = "Public"

AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = "Public"

AUTH_ROLES_SYNC_AT_LOGIN = True

PERMANENT_SESSION_LIFETIME = 32400

AUTH_LDAP_SERVER = "ldap://my-dc.home.local"
AUTH_LDAP_SEARCH = "dc=home,dc=local"

AUTH_LDAP_UID_FIELD = "sAMAccountName"

AUTH_LDAP_BIND_USER = "cn=superset-01,ou=Apache_Superset,ou=ServiceAccounts,dc=home,dc=local"
AUTH_LDAP_BIND_PASSWORD = "my_super_secret_password"

AUTH_LDAP_USE_TLS = False
AUTH_LDAP_ALLOW_SELF_SIGNED = False

AUTH_LDAP_UID_FIELD = "sAMAccountName"
AUTH_LDAP_GROUP_FIELD = "memberOf"

AUTH_LDAP_SEARCH_FILTER = "(memberOf=cn=g_srv-superset_all_users,ou=Apache_Superset,ou=ServiceGroups,dc=home,dc=local)"

AUTH_LDAP_FIRSTNAME_FIELD = "givenName"
AUTH_LDAP_LASTNAME_FIELD = "sn"
AUTH_LDAP_EMAIL_FIELD = "mail"

AUTH_ROLES_MAPPING = {.......}

Python dependencies are declared in the requirements-local.txt file
pyodbc
clickhouse-connect
python-ldap
gunicorn
trino
ldap3

All libraries are installed in the file docker-bootstrap.sh
apt-get install -y libgssapi-krb5-2
apt-get install -y libsasl2-dev libldap2-dev libssl-dev libffi-dev build-essential python3-dev python3-pip

I suspect it's not a problem with LDAP and instead it's with a default value of Talisman CSP or CSRF that changed in config.py and you haven't overwritten.  See https://github.com/apache/superset/issues/24579 which has people describing this same behavior, there are some suggestions for settings to change there.

@sfirke Thanks a lot for your advice!
I have owerwritten parameters in my superset_config_docker.py:
WTF_CSRF_ENABLED = False
TALISMAN_ENABLED = False
SESSION_COOKIE_SAMESITE = None
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = False

It works for me.

Good to know it worked! Thanks for sharing the working combination.
For a production instance, disabling those security measures may make your instance more insecure. I would suggest looking into those settings and seeing if you can adjust them so that you have a content security policy, etc but your Superset still runs.

Hello,
I'm using docker compose on Windows 11 (docker compose -f docker-compose-image-tag.yml up) to install superset.
I would like to know the location path of superset_config_docker.py to override. Because currently I'm putting my code directly into /app/superset/config.py

@quadrakpp that's kind of off topic here but you would put the file in the path given here in the docs: https://superset.apache.org/docs/installation/docker-compose/#configuring-further.


Image Alt tag is missing from the slick lightbox

Image alt tag is missing from the slick lightbox.

For later reference, turn on image caption by adding it to the options;


Add metric to capture model-id and send it to the prometheus server

This PR contains code that captures the model-id from the TGIS server and sends it to the Prometheus server for data representation.

/lgtm


1.16.4 Custom made Jetpacks

Like in title,  I cant put custom made jetpacks in curious slot.
Edit#1- I figured out that i need to add 3 tags to Jetpack and It starts to work as intended. Maybe you could add config file with list of jetpacks soo the mod will automatically assign those items with acurate tags.

The datapack is that config file, making a second one would only add confusion.


[RFC] Expose C++ headers as part of the CMake target

For more context, see discussion at https://discuss.xgboost.ai/t/is-there-a-c-api-document-and-usage-examples/592/10.
@codingforfun suggested that the C++ headers in XGBoost should be exposed to 3rd-party applications via the CMake target xgboost. I initially objected because future refactoring would change C++ interfaces, but @codingforfun replied that API stability is not as important in his use case:

Also I don’t think your concerns about API stability really matter from the perspective of a project directly accessing the C++ interface.

ABI stability – I think this is the number one reason for C-Interfaces. You don’t have that anyway when using C++.  [My note: it means that C++ users will re-compile XGBoost periodically.]
A lot of stuff that can be done in C++ easily is PITA or impossible using the C-Interface. This outweights the need to refactoring for interface changes. [emphasis mine] Example: Currently we

Derive from DataSource to feed data in memory into XGB
Derive from ObjFunction to define our own objective
Derive from Metric to define our own metric
Derive from dmlc::Stream to get the trained classifier into QByteArray

I'm now persuaded that the C++ headers in XGBoost should be exposed as part of the CMake target, on the condition that we clearly document future possibility of API changes. ("We do not make any guarantee about API stability, so your application may not work with future XGBoost releases".) In our experience, we tend to be less conservative when it comes to changing C++ interfaces, compared to changing C API.
cc @trivialfis @RAMitchell @chenqin @CodingCat @thvasilo Let me know what you think.

Thanks for bringing this up.  I have the thought to build a clean c++ interface with feature parity with Python.  If someone wants to give it a go I'm happy to help.

@trivialfis This proposal is different from building a Python-like interface in C++. It is a simple change in CMakeLists.txt to include C++ headers in the CMake target xgboost. Let me create a separate thread about Python-like interface in C++.

Cool. Still agreed.  Actually I can submit a PR for that since I wrote most of the CMake  scripts...  As long as we don't promise any compatibility for it.

@trivialfis Thanks. That would be great. Let's address this RFC first, and then we can later tackle #4895.

I think to make this really usable it’s necessary to first/also fix #4893.
I did patch CMakeLists.txt of XGB in my build process to include the C++ interface, but since of #4893 it requires ugly hacks because otherwise the installed include from ${PREFIX}/include/ aren’t usable.

@codingforfun Don't worry about that.  Will work on it tomorrow.


deploy fails using Federated Token authentication

I'm using temporary AWS tokens via GetFederationToken and as

You cannot use these credentials to call any IAM APIs.

running chalice deploy fails after a ListRoles call fails.

botocore.exceptions.ClientError: An error occurred (InvalidClientTokenId) when calling the ListRoles operation: The security token included in the request is invalid

Does chalice need to perform this ListRoles call?

Yes to find the ARN of the role to use:
https://github.com/awslabs/chalice/blob/0c90fd3057e64f4615fd93dccacaf7167e55003f/chalice/deployer.py#L389
Supporting CloudFormation (#35) would negate this as the role ARN could be returned as an output of running the template upon creation.

We now support generating a SAM template with the chalice package command, but chalice does need to make various IAM calls to deploy your app.
However, if you have pre-existing roles, you can set manage_iam_role to false in your .chalice/config.json file as well as the iam_role_arn value instructing which ARN chalice should use for the Lambda function.  If you do that chalice will not make calls to IAM for configuring roles.


History is broken when mutating nested state

When having nested state like this:
state: {
  nested: {
    value: 0
  }
}

and then updating the nested state in the store:
state.nested.value = 10

This will also alter the history, since undo-stacker is returning a reference to the current stack entry in it's update function.
Returning a copy in undo-stacker would fix this:
  function update() {
    current = JSON.parse(JSON.stringify(stack[index - 1]))

    state = {
      first: index === 1,
      last: index === stack.length,
      current,
    }

    return current
  }

If you wan't to I can create a PR, but since this is such a small change I thought it might be easier to just create and issue.

Thanks! Fixed


Happy to help

I've been working on some basic music generation lately. I'm very interested in this implementation and would be happy to contribute in any way. Maybe that's as simple as donating to sustain your work, or it could be contributing code. Just want to put it out there that I support what you're doing and I'm very interested to see an implementation of this in PyTorch.

@ashesfall hey thanks Michael
it is already nearly done, as the bulk of the architecture uses AudioLM researchers have started training, and I think if you want to contribute, simply training and open sourcing a good soundstream will do the world a big service
the new thing in MusicLM is the use of an audio CLIP, which is used to filter out the generations from the hierarchical transformers

@ashesfall join Laion if you haven't and start mingling with the real folks

When you say training a good soundstream, are you referring to this work? https://arxiv.org/abs/2107.03312
I'd definitely be very willing to make an investment in cloud resources for training.

Oh I see that they have soundstream training instructions in the main AudioLM repo. Is there a dataset you recommend I use? I can probably start a training run this weekend.


impl inspect.custom

Makes console.log(feed) print something similar to:
Hypercore(
  key: dc3b17..ed
  discoveryKey: 09ba31..48
  opened: true
  writable: true
  length: 69
  byteLength: 1196
  peers: 0
)

👍 good stuff


[SUPPORT] Change DIT peering VPC

What
As requested in DeskPro ticket 5157. They have recreated the VPC in order to
fit subnets from all 3 availability zones into the <IP_ADDRESS>/24 subnet. The
account ID remains the same.
How to review

Code review, there's no way to test this outside of production
Confirm that the details match the ticket: https://gaap.deskpro.com/agent/#app.tickets,inbox:agent,t.o:5157,vis:7

Who can review
Anyone.

:+1: Looks good to me.


doRegisterAgent connection handling

If you start the agent without the registar running, there is no graceful capture of the connection error:
2019-11-27 10:07:15.856 - keylime.cloudagent - INFO - Agent UUID: D432FBB3-D2F1-4A97-9EF7-75BD81C00000
Traceback (most recent call last):
  File "/usr/local/bin/keylime_agent", line 11, in <module>
    load_entry_point('keylime==1.2', 'console_scripts', 'keylime_agent')()
  File "/usr/local/lib/python3.7/site-packages/keylime-1.2-py3.7.egg/keylime/cloud_agent.py", line 529, in main
    keyblob = registrar_client.doRegisterAgent(registrar_ip,registrar_port,agent_uuid,tpm_version,ek,ekcert,aik,ek_tpm,aik_name)
  File "/usr/local/lib/python3.7/site-packages/keylime-1.2-py3.7.egg/keylime/registrar_client.py", line 141, in doRegisterAgent
    response_body = json.loads(response.read().decode("utf-8"))
AttributeError: 'int' object has no attribute 'read'

Hmm, I stumbled upon this one while doing my first commit. You can assign it to me @lukehinds. I'll take a look at this one.

Thanks @rajdroid


use custom storeloader to adjust authz store height

Closes: #XXX
Context and purpose of the change
Our storeLoader right now add authz store for the v4 upgrade. This will panic since authz store is already added before. I just made a custom storeLoader that deletes the old authz store and re-add a new one which will has correct height.
Brief Changelog
Create AuthzHeightAdjustmentUpgradeStoreLoader and set to app.storeLoader for v4
Author's Checklist
I have...

[ ] Run and PASSED locally all GAIA integration tests
[ ] If the change is contentful, I either:

[ ] Added a new unit test OR
[ ] Added test cases to existing unit tests

[ ] OR this change is a trivial rework / code cleanup without any test coverage

If skipped any of the tests above, explain.

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] manually tested (if applicable)
[ ] confirmed the author wrote unit tests for new logic
[ ] reviewed documentation exists and is accurate

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md?
[ ] This pull request updates existing proto field values (and require a backend and frontend migration)?
[ ] Does this pull request change existing proto field names (and require a frontend migration)?
How is the feature or change documented?

[ ] not applicable
[ ] jira ticket XXX
[ ] specification (x/<module>/spec/)
[ ] README.md
[ ] not documented

This looks great! Thanks for doing this!! Going to merge into v4 and continue testing off of the v4 branch


Github repo no longer exists

The repo used in this example no longer exists

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

ID: dbcc24f0-9856-a7db-f229-c383e5e5c57d
Version Independent ID: 55d51b2a-c8fe-086e-a1c2-b0592f57967c
Content
Content Source
Service: app-service-api

@univhack Thanks for the feedback. I assigned the issue to the author for further investigation.

@univhack Please check. It was private and I just made it public.

@Adam-Smith-MSFT @univhack I made the repo public already. Please close.

Thanks!


Improve constructor syntax check

TL;DR: wrong constructor syntax should be caught and have a proper error message, same as a missing constructor.

It would be nice to have a specific error message when using this (wrong) syntax:
 #[aztec(private)]
 constructor() {
     (...)
 }

as this fails to compile either with a generic parsing error (Expected an end of input but found contract, which is easy to understand) or, if storage is used and there is some logic inside the constructor, a compute_note_hash_and_nullifier function not found (yes, this is a bit painful to debug the first time).

A missing constructor isn't currently caught before attempting to deploy (while it is a mandatory fn), maybe it would be nice to enforce this when compiling.

Rationale is, due to context switching with Solidity or JS (which I guess is to expect), these are difficult errors to catch, especially with the misleading compute_note_hash_and_nullifier error (Rustaceans should be fine tho).

Thanks for pointing this out! Having clearer error messages for incorrect constructor syntax, like #[aztec(private)], and enforcing constructor presence during compilation would greatly improve the Solidity development experience. These enhancements could streamline debugging and benefit developers, especially when switching contexts between languages. Improving error handling in Solidity aligns with creating a more user-friendly environment. Your insights are valuable for enhancing the language’s usability and reliability!

ike #[aztec(private)],

Should have added (but I guess it's a nice way to demonstrate it), here, fn is missing :D

Okay so there are really two fixes:

Noir fix: for a syntax error, error message is unhelpful. E.g. if you forget adding the word "fn", you get Expected an end of input but found contract
Aztec-nr fix: throw a compile time error if constructor is missing. It is only currently caught at deploy time today.

Thanks for flagging this @drgorillamd

@rahul-kothari For 1., the expected out of input at least point in the right direction of a syntax error, the really big pain is if it throws compute_note_hash_and_nullifier function not found (too aggressively hunting for such?), which mislead to an implementation issue (ergo pain, despair, tears, etc)

Great! ty!


DPE-71 Change bootstrap process to use Patroni

Issue
In short this PR partially address JIRA ticket DPE-71. The remaining implementation is split in three separate PRs to make the review easier.
In long:

In order to enable automatic failover and replication through Patroni in a PostgreSQL deployment we need to change the way PostgreSQL is bootstraped/started (Patroni should be started; it'll start PostgreSQL later).
For this specific PR we change the bootstrap process to use Patroni instead of the tools that PostgreSQL itself provides.

Solution

Remove the default bootstrap that was implemented before.
Change the on_start hook to use a new bootstrap process using Patroni, which later starts PostgreSQL for us.
Also, checks that Patroni service was correctly started.

Context

The check for a blocked status before trying to start on on_start hook was made in a simple way to not make the code so complex at this moment. It probably should evolve as we find more situations where a blocked status should prevent some action to run, like on on_config_changed hook.

Testing

Unit and integrations tests were updated to check everything that was implemented.
Manual testing was done.

Release Notes

Change PostgreSQL bootstrap process to be run through Patroni.
Add check to not run on_start hook call to bootstrap if the unit is in a blocked state.

Codecov Report

Merging #8 (a93c96b) into main (a25bd64) will decrease coverage by 0.22%.
The diff coverage is 78.57%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   90.45%   90.22%   -0.23%
==========================================
  Files           2        2
  Lines         220      174      -46
  Branches       17        9       -8
==========================================
- Hits          199      157      -42
+ Misses         18       15       -3
+ Partials        3        2       -1

Impacted Files
Coverage Δ

src/cluster.py
85.71% <50.00%> (-5.80%)
:arrow_down:

src/charm.py
92.79% <100.00%> (+3.31%)
:arrow_up:

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 a25bd64...a93c96b. Read the comment docs.


Segfault in ps_root_unlink

Hey! I have no idea how to repro this, but one of my servers dropped off the net in the night and I noticed that it's because dhcpcd had crashed:

chuanr % q coredumpctl info
           PID: 332 (dhcpcd)
           UID: 973 (dhcpcd)
           GID: 973 (dhcpcd)
        Signal: 11 (SEGV)
     Timestamp: Fri 2023-06-02 12:17:39 EDT (23h ago)
  Command Line: $'dhcpcd: [manager] [ip4] [ip6]'
    Executable: /usr/bin/dhcpcd
 Control Group: /system.slice/dhcpcd.service
          Unit: dhcpcd.service
         Slice: system.slice
       Boot ID: eaed780cc26c423c9a49669be3c7dac7
    Machine ID: a1475fd543e4465082ceb6bec117f2eb
      Hostname: chuanr
       Storage: /var/lib/systemd/coredump/core.dhcpcd.973.eaed780cc26c423c9a49669be3c7dac7.332.1685722659000000.zst (present)
  Size on Disk: 41.1K
       Message: Process 332 (dhcpcd) of user 973 dumped core.

                Stack trace of thread 332:
                #0  0x00005582d38afc03 ps_root_unlink (dhcpcd + 0x3fc03)
                #1  0x00005582d38800b8 control_stop (dhcpcd + 0x100b8)
                #2  0x00005582d387a9a2 main (dhcpcd + 0xa9a2)
                #3  0x00007fa171311850 n/a (libc.so.6 + 0x23850)
                #4  0x00007fa17131190a __libc_start_main (libc.so.6 + 0x2390a)
                #5  0x00005582d387bc35 _start (dhcpcd + 0xbc35)
                ELF object binary architecture: AMD x86-64
chuanr % dmesg | grep -A1 dhcpcd
[Fri Jun  2 12:17:39 2023] dhcpcd[332]: segfault at 38 ip 00005582d38afc03 sp 00007fff47488770 error 4 in dhcpcd[5582d387a000+43000] likely on CPU 0 (core 0, socket 0)
[Fri Jun  2 12:17:39 2023] Code: ff 15 61 20 02 00 66 0f ef c0 48 89 e1 48 89 df 48 8b 93 a8 03 00 00 48 83 c0 01 48 89 6c 24 40 48 89 44 24 48 48 8d 44 24 40 <8b> 72 38 ba 13 00 00 00 0f 29 44 24 50 48 c7 44 24 30 00 00 00 00

I don't have much debugging information, unfortunately. There is nothing recently logged by dhcpcd before this happening.
Version information:
chuanr % uname -a
Linux chuanr 6.1.31-1-lts #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000 x86_64 GNU/Linux
chuanr % pacman -Q dhcpcd
dhcpcd 10.0.1-1

Has privsdep been disabled? dhcpcd --version

Looks like it's compiled in:
% dhcpcd --version
dhcpcd 10.0.1
Copyright (c) 2006-2023 Roy Marples
Compiled in features: INET ARP ARPing IPv4LL INET6 DHCPv6 AUTH PRIVSEP

Well, if the stack trace is to be believed, dhcpcd crashed when it was shutting down. We know this because control_stop is only called then. I'm guessing you can't easily reproduce this either.

Every 5 days? Could you test the patch in 8b29c0ddf026c1c5647c3b8c6cfe21699c4056ae please?

Every 5 days? Could you test the patch in 8b29c0d please?

To expand on this, the issue I had was a script kiddie sending traffic on a 5-day interval; so the 5-day part is not as important as the consistent nature of the interval. Additionally, dhcpcd never caused a segmentation fault but instead gracefully exited when a 0-byte packet was sent to UDP port 68. If you are not using dhcpcd for DHCP, then master will likely not solve your problem.
I was able to detect the issue by running tcpdump -ntt -i <outgoing_interface> -w pkts.dat '(udp and ((ip and (dst port 67 or dst port 68)) or (ip6 and (dst port 546 or dst port 547)))) or (ip6 and icmp6) or (ip and icmp)' & which may help you detect the problematic packet if there is one.

Thanks great. I've read your issue and I'm able to reproduce it:
#!/bin/python
import socket
addr = 'XX.XX.XX.XX'
socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0).sendto(b'', (addr, 68))

But with the patched version I do not get a segfault anymore. So the patch works!
With the patched version I can see in the logs:
Jun 16 18:57:28 hoogi dhcpcd[20138]: ens3: truncated packet (0) from xxxxxxx
Jun 16 18:57:28 hoogi dhcpcd[20138]: ens3: truncated packet (0) from xxxxxxx

It is really confusing for me, that I'm not able to reproduce this on 9.4.1 and you did not get a segfault. The arch maintainers changed a bit [1]. But privsep was activated before and I can't see anything preventing a segfault here on 9.4.1.

Hm, that is a little bizarre. I am running OpenBSD 7.3 and before that OpenBSD 7.2 and OpenBSD 7.1. All three of them had dhcpcd 9.4.1 with privsep, and all three were having exits every 5 days. While I didn't detect the truncated packet problem until OpenBSD 7.3, it seems highly unlikely that was not always causing the issue the ≈ 1.5 years I was experiencing exits.
You are using Linux, and there were other changes between 9.4.1 and master including changes to the privsep code. I have a feeling the privsep code has always been more mature on the *BSDs than with Linux—Roy would have to confirm/deny that—so it is not unfathomable that the privsep changes between 9.4.1 and master were more drastic on Linux which among other things introduced the bug OpenBSD had been afflicted by for a while.
I take partial responsibility for that since instead of actually solving the problem all this time I lazily and hackily "solved" the problem by using a ksh script that would start up dhcpcd any time it was down. Had I actually tried to solve the problem, then perhaps you and others would have never been hit with this issue.

I have a feeling the privsep code has always been more mature on the *BSDs than with Linux—Roy would have to confirm/deny that—so it is not unfathomable that the privsep changes between 9.4.1 and master were more drastic on Linux which among other things introduced the bug OpenBSD had been afflicted by for a while.

Not really.
OpenBSD was the easiest.
FreeBSD was the hardest.
Linux is just nuts for maintainers due to glibc changing what kernel calls it makes.
FWIW I think FreeBSD has the best implementation.

I don't have much time for dhcpcd right now, but I do have an idea about what the issue is with this bug - which does likely need fixing.

Not really. OpenBSD was the easiest. FreeBSD was the hardest. Linux is just nuts for maintainers due to glibc changing what kernel calls it makes.
FWIW I think FreeBSD has the best implementation.

I have read several of your posts on your website including the two on Capsicum vs. Pledge which indicated neither was necessary better than the other; and while both are good, they each have things they could improve upon.
Obviously those posts are three years old now, and things have likely changed.

So the new process exit detection code in dhcpcd is working just fine, and we now trip up badly if it's the root process that exits unexpectedly! Hopefully this simple but largeish change will stop things from crashing more than otherwise.


Support for more zoom levels in dashboard

What do you want to do?
Make a change to existing documentation
Add new documentation
Report a technical problem with the documentation
Other
Please provide the following information:
Give a brief description of your request.
This is a new feature slated for 2.1: Currently we have zoom level of 10 but we would need to further increase to 20.
Which versions are affected?
2.1
Which pages or URLs are affected?
This feature may not be mentioned in the documentation at all.
What resources are available (for example, links to a related issue, PR, design doc, or feature brief)?
https://github.com/opensearch-project/maps/issues/4
Who should we contact with technical questions?
See issue.
Is there anything else you’d like us to know about your requested change?

@hdhalter I was actually just looking for documentation on this. From what I can see the maps documentation is missing from the whole website. I missed the doc that floated around for missing docs but I think this is a good candidate to make it to that backlog.

Let's indicate support for additional levels in the release notes, since we don't have maps documentation as of right now.

Sounds like they are bumping this up to x14 for version 2.2.

This is a change to the map service and relevant to release 2.0, 2.1, and 2.2. Documenting in release blog.

Zoom level increase to 20x.

Documentation on zoom levels to be included in Maps foundational content

Zoom levels overview is in release notes for 2.1; comprehensive documentation to be added to Maps foundational content in subsequent release


You need to add the automatic reconnection in case of error or close the stream.

You need to add the automatic reconnection in case of error or close the stream.
Add option: xmpp.Client({ reconnect: true });

So I can see the reconnect option on the Client and where it comes in through the parameters, but it doesn't appear to be plumbed into anything.
Am I right or does it now work and this ticket just hasn't been closed yet?

It is plumbed. Please test it.

@astro it looks to be working well. My bot is now staying up where it would drop offline within 1 to 24hrs or so before.


I'm having permission issues trying to deploy to electron

When I deployed the ply file to electron, this error was displayed when I exported the PLY file that had been trimmed. Is there any way to solve the problem of export or save as failure

What is the actual error message? (This screenshot shows where is the error originates).

This is the console error, I search this error solution is to add configuration to electron to allow the loading of local resources, I try to add also has no effect, guess may be electron browser does not support some methods of window

Ok interesting.
I haven't tried running SS as a native app yet. I can't investigate this right now, because we're in the middle of a large UI update, but afterwards I may have time to investigate.
It would be great to get this working though, so if you find anything out, please share with us!


Add link to universal

this was already done in https://github.com/SkyblockClient/SkyblockClient/pull/28, sorry man


Working well in local docker but not in Kubernetes

My Kubernetes.yaml configuration file :
containers:
- image: deadtrickster/rabbitmq_prometheus:3.7
Rabbit instance starts well.
But api/metrics give me the following response:
"error": "Object Not Found",
"reason": "Not Found"
When I use this image for my local docker, it works fine.
Any idea ?

In local:
server startup complete; 4 plugins started.
rabbitmq_1  |  * prometheus_rabbitmq_exporter
rabbitmq_1  |  * rabbitmq_management
rabbitmq_1  |  * rabbitmq_web_dispatch
rabbitmq_1  |  * rabbitmq_management_agent
In kub:
Server startup complete; 3 plugins started.

rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch

On my local docker the plugin in started automatically.
Is it possible that I have to do it manually on Kub ?
I ask because I sadly don't have access to the kub instance.

My bad, the 'enabled_plugins' section in .yaml needed an update:
enabled_plugins: |
[prometheus_rabbitmq_exporter, rabbitmq_management].


VCF 4.0 format and issues

Is it possible to get a version of the VCF in 4.0 format that is GATK compatible, getting errors regarding not enough columns when trying to use it.

I think this was due to the example VCF having spaces and not tabs, I fixed that so it should be all set now if you update.


feat: upgrade the version of spawn-wrap for windows issue

Relate https://github.com/tapjs/spawn-wrap/commit/fc98d38664c364cc55588e39de747aef03d767ea

cc @bcoe

@popomore looks good to me 👍

Can you release a new version?

@popomore please try npm i nyc@next and let me know if it works as expected.


Creating User Section

The user section is being designed and created, including States, Controllers and all
appropriate templates.


Add StackArray example

This PR adds an StackArray to the list of example as a complement on how to use some Numba APIs.

Nice @guilhermeleobas. Maybe would be useful to add a docstring with some motivation/explanation? E.g. "if Python overhead of an array is a bottleneck in your code, such as when you have an array of indices that you need to use in a tight loop, then StackArray shows a way of pre-allocating an array on the stack to avoid that overhead. ..... ArrayStack, ArrayStackType and ArrayStackModel are <add what they do / how they relate - I don't fully understand that part from a quick read through>)".

@guilhermeleobas what was the conclusion on this one? Will it be submitted to numba-examples instead?

@guilhermeleobas what was the conclusion on this one? Will it be submitted to numba-examples instead?

From core dev meeting, yes. numba-examples needs a mkdir doing for user_contributed or similar as a location to put all these.

Yeah, I will open a new PR in the numba-examples with this.

Is the numba-examples more related to performance? In the PR, should I adapt the example to look more like a benchmark?


use trigger to perform actions in eip-details page

This PR includes the following updates/changes

Trigger method is used to perform actions on the EIP Details page.
Create and edit of BGPConf now show the changes immediately after confirm button is clicked.
The EditYAML and EditSettings form now uses PUT request instead of PATCH, so use of null is no longer required to remove an already existing field of a resource object.

With these updates the console is now good enough for use by the users of OpenELB. Sadly, searching and sorting in tables are the only features that are not working due to unknown reasons. Also, errors are not shown/notified upon creation/modification attempt of OpenELB resources using form or yaml.
https://github.com/AnuragThePathak/openelb/tree/put-yaml is the fork of OpenELB that was to test the console.
https://user-images.githubusercontent.com/75429250/195650712-2dc98a2c-afbd-4768-8c82-9ab5f13bf57c.mov
https://user-images.githubusercontent.com/75429250/195649875-03e8f091-cd76-48bd-91f0-0d4290eadeee.mov
https://github.com/openelb/openelb/issues/244

/assign @weili520

/lgtm

/lgtm
/approve


Adds CreateStaticFunctor for allocation of arrays on the stack

Closes #288.

This should be ready to merge.
@thijssteel, could you please take a look at lasy2.hpp? I needed to change the template arguments a bit. Thanks.

looks good


Floating filters not displaying content when filter is set to Equals and the value is the number 0

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/ceolter/ag-grid/blob/master/CONTRIBUTING.md#question

Current behavior

When setting a floating filter to be Equal to 0, the floating filter text box remains empty.
Expected behavior

When setting a floating filter to be Equal to 0, the floating filter text box should show the value 0.  When any other value is entered, such as 0.01, the value is shown in the floating filter text box
Minimal reproduction of the problem with instructions

Go to https://www.ag-grid.com/example.php
Click the [...] button on the Total Winnings column
In the Filter... text box, enter 0
Click outside the filter dropdown
Note that 0 is not displayed in the floating filter textbox

What is the motivation / use case for changing the behavior?

Being able to visually see what values you are filtering on is quite important, and 0 is particularly important.
Please tell us about your environment:

Windows Server 2012
Webpack
nginx

ag-Grid version: 9.1.0 & 10.0.0

Browser:

"Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
"Mozilla/5.0 (Windows NT 6.2; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"
"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 1.1.4322)"

Language: [all | TypeScript X.X | ES6/7 | ES5]
All

Hi,
There is a ticket created to improve the way the input validation for floating filters works:
AG-392
Once that this is available we will let you know.

Hi,
Just to le you know that as of 10.1.0 this is available.
Please check the changelog
Thanks


Bootstrap blocks cannot initiate elections required for wallet receive

https://github.com/nanocurrency/raiblocks/pull/1246 + https://github.com/nanocurrency/raiblocks/pull/1259 + #1265

Thanks !


test: mark test as executable_test

This should repair the android bots.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @mikeash @drodriguez

@swift-ci please smoke test

Whoops. Thanks for the fix!


[chore] remove empty store

Codecov Report
Base: 94.65% // Head: 94.94% // Increases project coverage by +0.28% :tada:

Coverage data is based on head (d723430) compared to base (5715923).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   94.65%   94.94%   +0.28%
==========================================
  Files          15       14       -1
  Lines         262      257       -5
==========================================
- Hits          248      244       -4
+ Misses         14       13       -1

Impacted Files
Coverage Δ

Sources/XConfigs/Services/LogicHandler.swift
100.00% <100.00%> (ø)

Sources/XConfigs/UseCases/XConfigUseCase.swift
100.00% <100.00%> (ø)

Sources/XConfigs/XConfigs.swift
80.00% <100.00%> (ø)

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

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


Mixpanel isn't geolocating users/events

Mixpanel uses the IP address to geolocate users/events, but users have reported they don't see this information showing up in Mixpanel, so I think we may not be sending these correctly.
From the HTTP Api docs - it looks like there are three ways to send an IP address.

As an ip query parameter in the URL (for /track endpoint).
As an ip property

{
    "event": "Level Complete",
    "properties": {
        "Level Number": 9,
        "distinct_id": "13793",
        "token": "e3bc4100330c35722740fb8c6f5abddc",
        "time":<PHONE_NUMBER>,
        "ip": "<IP_ADDRESS>"
    }
}

As $ip in /engage endpoint.

{
    "$token": "36ada5b10da39a1347559321baf13063",
    "$distinct_id": "13793",
    "$ip": "<IP_ADDRESS>",
    "$set": {
        "Address": "1313 Mockingbird Lane"
    }
}

Might need to review how we send this info.
For instance, I think this line - https://github.com/segmentio/integration-mixpanel/blob/master/lib/index.js#L231 - should be $ip (or append the ip as a query parameter in the URL).

Closed for inactivity/irrelevance. Please reopen if it's still an issue!


Apple Privacy Manifest File

Apple is recommending declaring the use of the UserDefaults API in the privacy manifest file.
https://developer.apple.com/news/?id=r1henawx
Describe the solution you'd like
Create a privacy manifesto declaring all APIs and reasons.
Additional context
Used symbols in binary ./XCFrameworkIntermediates/Adyen3DS2/Adyen3DS2.framework/Adyen3DS2: NSUserDefaults
Used symbols in binary ./XXXX.app/Frameworks/Adyen3DS2.framework/Adyen3DS2: NSUserDefaults
UserDefault API: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#4278401
I would like to request that we use latest version of the iOS SDK.
https://github.com/Adyen/adyen-ios/issues/1506

@descorp Can we release a version of the Adyen React Native SDK with the latest version of the iOS SDK (5.7.0 0r 4.12.0 ).

Will there be a release to the 1.2.0 version-branch of this, or is this strictly 2.0-branch?

Will update shortly! Thanks for reminder @StefanWallin  💚

V1 updated with latest Privacy Manifest
<EMAIL_ADDRESS>

Hi @descorp our release is currently blocked because we're already on the 2.0 branch. Do you have an ETA on when the fix will arrive?
And if I understand you correctly just patching the current beta.3 to use iOS SDK 5.7.1 won't work because of issues with Adyen3DS?

Hey @kpoelhekke

We're currently doing this

This is indeed an easy workaround for the situation. Thanks for sharing 💚
We are planing to release 2.0.0-rc.1 today.


Not all windows update info about peer

I have changed peer's name on bazaar then I want to unregister it, but in unregistering window i still see the old name, and I can't unregister it from bazaar.

PEER IS DIALOG IS DYNAMIC
It will refresh information about :

Peer configs
Peer status
Peer name
Peer environments

Fixed in Master.

Fixed in Prod.


Docopt maybe? I don't know if it would work out, as @nvbn pointed out.

@SanketDG docopt, optparse and argparse can't help.
@WhoBrokeTheBuild  only way to do this properly - introduce new entry_point, like thefuck-alias.

@nvbn That would be silly though, anybody would hardly use it that way.

@SanketDG what difference between thefuck --alias and thefuck-alias?

Well people are generally habituated to use command line arguements, but I guess this would be a workaround.


ActionChip avatar does not respect padding

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.2.1, on Mac OS X 10.14.3 18D109, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.31.1)
[✓] Connected device (2 available)

• No issues found!

import 'package:flutter/material.dart';

main() {
  runApp(_MyApp());
}

class _MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("ActionChip avatar does not respect padding"),
        ),
        body: Center(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: <Widget>[
              ActionChip(
                onPressed: () => null,
                avatar: Icon(Icons.check_circle),
                label: Text("Yes"),
              ),
              ActionChip(
                onPressed: () => null,
                padding: EdgeInsets.symmetric(vertical: 12, horizontal: 16),
                avatar: Icon(Icons.check_circle),
                label: Text("Blargh"),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Issue still exst
flutter doctor -v

[✓] Flutter (Channel dev, v1.16.4-pre.50, on Mac OS X 10.15.4 19E266, locale
    en-GB)
    • Flutter version 1.16.4-pre.50 at /Users/taha/Code/flutter_dev
    • Framework revision d14a301e41 (3 days ago), 2020-03-31 19:14:22 -0400
    • Engine revision 8166a91bca
    • Dart version 2.8.0 (build 2.8.0-dev.19.0 fae35fca47)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E266
    • Chrome     • chrome           • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server • web-server       • web-javascript • Flutter Tools

• No issues found!

multiple flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (12 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android
      10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS
      14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale
    en-GB)
    • Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 63062a6443 (9 days ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  •
      Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS
      14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS
      11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google
      Chrome 87.0.4280.88

! Doctor found issues in 1 category.

Verified this using code sample provided on latest versions and observed that the padding now works as expected and the elements inside ActionChip are aligned as compared to how it was when reported originally:

Closing as fixed.

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.8 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (25 hours ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.6.0-3.0.pre.18, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.6.0-3.0.pre.18 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1aeb1721ca (2 hours ago), 2022-11-14 21:12:25 -0500
    • Engine revision 78ae241400
    • Dart version 2.19.0 (build 2.19.0-398.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Slow Gradle dependency resolution

The language server (unexpectedly) invokes Gradle multiple times and takes longer than expected to resolve the dependencies. Example log:
[Info  - 19:53:06] main      Connected to client
[Info  - 19:53:06] client    Adding workspace file:///home/.../Kotlin/KotlinLanguageServer to source path
[Info  - 19:53:06] client    Adding 101 files under /home/.../Kotlin/KotlinLanguageServer to source path
[Info  - 19:53:06] client    Searching for dependencies in workspace root /home/.../Kotlin/KotlinLanguageServer
[Info  - 19:53:06] client    Attempting dependency resolution through CLI...
[Info  - 19:53:06] client    Creating temporary gradle file /tmp/classpath3454683406276641897.gradle
[Info  - 19:53:51] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 19:53:51] client    Attempting dependency resolution through CLI...
[Info  - 19:53:51] client    Creating temporary gradle file /tmp/classpath1518563813544658597.gradle
[Info  - 19:53:51] client    Found gradle at /usr/sbin/gradle
[Info  - 19:53:53] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 19:53:53] client    Attempting dependency resolution through CLI...
[Info  - 19:53:53] client    Creating temporary gradle file /tmp/classpath2782203026256202926.gradle
[Info  - 19:53:55] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 19:53:55] client    Attempting dependency resolution through CLI...
[Info  - 19:53:55] client    Creating temporary gradle file /tmp/classpath6875696104469076848.gradle
[Info  - 19:53:57] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 19:53:57] client    Adding 30 files to class path

This appears to have been introduced in one of the commits between 7ca3d6619d4625bf68034e1e94a0b1c54defb388 and 2f6018071bdbeff7a7fc525fc75de85c3234355a as global-symbols-provider branch doesnt have an almost 50 second delay between connecting to client and being ready. global-symbols-provider branch still creates multiple gradle temp files however

Maybe we could use git bisect to find the exact commit that introduced the bug?

Do we want to count the multiple gradle invocations as "bad"? Need to find the commit that introduced that bug first before we can git bisect for the slow temp file creation if yes

Strangely, I could not reproduce the issue with the current master branch on macOS (at least with KotlinQuickStart).

The newest version v0.1.13 has been released to the extension marketplace and should fix the performance issues. Additionally, it provides more detailed information about every folder for which dependencies are resolved:
[Info  - 6:37:47 PM] client    Adding 101 files under d:\git\KotlinLanguageServer to source path
[Info  - 6:37:47 PM] client    Searching for dependencies in workspace root d:\git\KotlinLanguageServer
[Info  - 6:37:48 PM] client    Resolving dependencies for additionalWorkspace through CLI...
[Info  - 6:37:48 PM] client    Creating temporary gradle file C:\Users\fw\AppData\Local\Temp\classpath6205170888282662561.gradle
[Info  - 6:37:51 PM] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 6:37:51 PM] client    Resolving dependencies for additionalWorkspace through CLI...
[Info  - 6:37:51 PM] client    Creating temporary gradle file C:\Users\fw\AppData\Local\Temp\classpath8033091242540791339.gradle
[Info  - 6:37:55 PM] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 6:37:55 PM] client    Resolving dependencies for KotlinLanguageServer through CLI...
[Info  - 6:37:55 PM] client    Creating temporary gradle file C:\Users\fw\AppData\Local\Temp\classpath8115151316574514824.gradle
[Info  - 6:37:59 PM] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 6:37:59 PM] client    Resolving dependencies for additionalWorkspace through CLI...
[Info  - 6:37:59 PM] client    Creating temporary gradle file C:\Users\fw\AppData\Local\Temp\classpath5665796461325486797.gradle
[Info  - 6:38:02 PM] client    Successfully resolved dependencies using Gradle dependencies CLI
[Info  - 6:38:02 PM] client    Adding 29 files to class path

Note that additionalWorkspace (a small workspace used by the unit tests) has been discovered multiple times. The reason for this is that both Gradle and the Java extension (if present) create copies of the source folder, which happens to contain additionalWorkspace, during compilation. Thus, the KotlinLanguageServer ends up finding 4 buildfiles in total, which matches the invocation count in the log:

I am closing the issue since this feature is working as intended. Future optimizations (such as whether a single temporary Gradle file would be sufficient or how to improve Gradle's performance) should be discussed in a separate issue.


Error in using better-filter-widget out of admin

Hello. I've got the following error trying to include the widget in a regular form, outside the admin app:
output = super(BetterFilterWidget, self).render(name, value, attrs, choices)
TypeError: render() takes at most 4 arguments (5 given)

Full stack trace:
https://gist.github.com/erasmodanarni/ad77549ac18f36f8999cc57b94482c66
Here is how I used it:
class SubazioniForm(forms.ModelForm):

    class Meta:
        model = Subazioni
        fields = '__all__'
        widgets = {
            'destinatari': BetterFilterWidget(),
        }

Any ideas how to proceed further?
Many thanks!

What version of django are you using?

If django 1.10, there a PR to fix this here: https://github.com/ExoticObjects/django-better-filter-widget/pull/7
Looking at it today.

Hi Matt. I'm using 1.10...
Thank you for time!
On Fri, Mar 17, 2017 at 4:13 PM, Matt<EMAIL_ADDRESS>wrote:

If django 1.10, there a PR to fix this here: #7
https://github.com/ExoticObjects/django-better-filter-widget/pull/7
Looking at it today.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExoticObjects/django-better-filter-widget/issues/8#issuecomment-287381887,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYpXqcAMf-t-dvgCVYTshWbrVBlGFrqWks5rmqM0gaJpZM4MgB-j
.

I applied the changes, and now I find a javascript error in the html source: "Can't find variable: django"

The appearance of the page is like a standard multiple select field.


Deleting unused imports and variables

I went through all files inside anisoap folder and deleted unused variables and imports.
Additionally, some typos in the comments are fixed.
I created a new branch from the most recent main and avoided making any breaking changes, so everything should work the same way still.

Hi @YCC-ProjBackups -- love this. Thank you for correcting my bad spelling.
All looks good but with some questions -- why are we adding new imports to projection coefficients?

Replying to @rosecers, I have not added any imports (only removed unused ones) -- Github probably shows it as addition due to changed ordering of the imports.
Let me know if you still have questions!


Update PHPStan to 0.12

This PR:

updates PHPStan to 0.12
uses phpstan/extension-installer to avoid manual inclusion of extensions
raises PHPStan level to the max
uses phpstan analyze --generate-baseline to ignore all errors generated by the previous point

We can work iteratively to reduce the baseline afterwards.
PS: build/commit hooks broken until #305 is merged.

b7e10f8 is an example of how to reduce the baseline.


⚠ Thumbnails API Endpoint has degraded performance

In b396e4a, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1484 ms

Resolved: Thumbnails API Endpoint performance has improved in 0817f16 after 5 minutes.


Got error when running "make installdb"

I enter the mysql and input these words following:
mysql>  CREATE FUNCTION redis RETURNS STRING SONAME 'lib_mysqludf_redis.so';
The error message is "can't find symbol redis in library". But the flag of redis is T when i runned "nm lib_mysqludf_redis.so ". I don't know what caused this error.

 You can use mysql_config --plugindir find the location. The location should include lib_mysqludf_redis.so and these dependency libraries:

libcjson.so
libcjson.so.1
libcjson.so.1.6.0
libhiredis.a
libhiredis.so
libhiredis.so.0.13
lib_mysqludf_redis.so

If files are missing, you can check your <source_code_folder>/lib to find them. Then copy these to mysql plugin folder.

Thank you so much.