Mastodon: Transmit "client_id" and "client_secret" when requesting a token

I'm currently implementing the Mastodon API at Friendica. At the moment I'm testing several apps against my current test installation.
AndStatus is failing at my tests since it doesn't provide client_id and client_secret when requesting a token via /oauth/token. According to the Mastodon documentation this data is required: https://docs.joinmastodon.org/methods/apps/oauth/#obtain-a-token
For this reason Friendica rejects the request. Providing at least the client_id is documented here as well: https://aaronparecki.com/oauth-2-simplified/ Since all other tested application do provide this data (and since the documentation states so as well), it would be great if AndStatus could provide this data as well.

Hi @annando
This issue is exactly about the same problem: https://github.com/andstatus/andstatus/issues/530
In short: current behavior is correct. client_id is in the header...

Okay. I'm now fetching the data from there as well, this seems to work.


fix: kind values.yaml file disable keycloak

Which problem does the PR fix?

What's in this PR?
This is a fix for the kind file. I am also disabling keycloak since identity is disabled.
Related: https://github.com/camunda/camunda-platform-helm/issues/1832

Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[ ] In the repo's root dir, run make go.update-golden-only.
[ ] There is no other open pull request for the same update/change.
[ ] Tests for charts are added (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[ ] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[ ] Did all checks/tests pass in the PR?

Confirmed this deployment works :+1:


problemMatcher squiggles should track edits

I've written a problemMatcher. It works great and produces problems (error squiggles) in the document.

Now I edit the document to insert a newline above the squiggle.

I would like the squiggle to automatically shift down one line.
(instead, the squiggle currently stays at the exact same file+line+column).

Now I edit the document to completely delete the text that contained the squiggle.

I would like the squiggle to automatically be deleted.
(instead, the squiggle currently stays at the exact same file+line+column).

If I edit the document to delete part of the text range of the squiggle, I'd like the squiggle's range to be modified accordingly.

Here's a video which shows how squiggles aren't currently auto-moved by file edits.
https://imgur.com/a/yWfq97Z
REPRO
Create a folder with three files:
[a.txt]
hello
there
world

[a.ts]
const x = 15;
f(x);

[.vscode/tasks.json]
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "label": "ts problemMatcher",
      "type": "shell",
      "command": "printf 'a.ts'; echo ':2:1 - error TS2304: my walk has become rather sillier recently'",
      "group": "build",
      "problemMatcher": "$tsc"
    },
    {
      "label": "absolute problemMatcher at line 2",
      "type": "shell",
      "command": "echo 'e /Users/ljw/code/a.txt:2:1: warning: absolute warning in /Users/ljw/code/a.txt:2'",
      "group": "build",
      "problemMatcher": {
        "owner": "moose",
        "fileLocation": "absolute",
        "pattern": {
          "regexp": "^e (.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
          "file": 1,
          "line": 2,
          "column": 3,
          "severity": 4,
          "message": 5
        }
      }
    },
    {
      "label": "relative problemMatcher at line 3",
      "type": "shell",
      "command": "echo 'e a.txt:3:3: error: relative warning in {workspace}/a.txt:3'",
      "group": "build",
      "problemMatcher": {
        "owner": "moose",
        "fileLocation": ["relative", "${workspaceFolder}"],
        "pattern": {
          "regexp": "^e (.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
          "file": 1,
          "line": 2,
          "column": 3,
          "severity": 4,
          "message": 5
        }
      }
    }
  ]
}

Run the "relative problemMatcher" build task.
Observe that it produces a problem on line 3 of a.txt.
Click on that problem to go to a.txt.
Insert a newline at the start of the file

WHAT I EXPECT: the problem should be shifted down one line, tracking the text
WHAT I GET: the problem remains on line 3, new on a different span of text
For the repro, I also did it with an "absolute problemMatcher" and "$tsc" problem matcher (this one's easiest to see if you disable the built-in typescript language extension). They all have the same phenomenon: problems fail to track edits to the file.

This has been discussed here
If you want the problem to update, you should run a a background task that uses a watch problem matcher. Otherwise, the problems will not update.

@alexr00 Thanks for the answer, but I don't think it's viable. A background task and watch matcher don't help in two very typical scenarios: (1) the task has a side-effect, e.g. "publish to azure", so you can't have it run in watch mode, (2) the task is long-running e.g. 90s - imagine it produces three errors in a file, and you addressed the first one, and now you have to wait an unpredictable length of time before you can get the squiggles you need to work on the next.
To recap from https://github.com/microsoft/vscode/issues/90890

@pkruk2 observed that squiggles were being moved around in response to edits, but the line+column shown in the Problems pane was being left as-is; @pkruk2 therefore requested that the Problems pane be updated also in response to edits.
@sandy081 "fixed it" by making squiggles no longer move around. I put "fixed it" in quotes because this was the opposite of what @pkruk2 and I hope for. @dbaeumer also observed that this fix is unexpected.

I understand the motive behind @sandy081's fix: the motive is that the task produced some output, and we scraped that output, and the output is sacrosanct and should never be edited, and it's weird for squiggles to disagree with the scraped output, so therefore the squiggles shouldn't move in response to edits.
But although that conclusion is intellectually self-consistent, I can't imagine any scenarios or user-experiences where that behavior is actually helpful! So I think it's valuable to figure out a different answer.
Just to note: the full Visual Studio product has the behavior I prefer, where (1) it populates its Problems pane with the output of its problemMatcher, (2) however, squiggle locations do move in response to edits. Here's a video: https://imgur.com/a/fYZsAEI. Thus, in Visual Studio, the squiggle locations do get out of sync with what's shown in the problem pane. [note1: in visual studio the squiggles from a build task are actually invisible, so they only way to tell where they are is by double-clicking on the error in the problems pane]. [note2: in visual studio the live-tracking of squiggles doesn't persist after a file has been closed].
Further context: I'd chatted with @dbaeumer two years ago about how we should reconcile the problems that come out of LSP, with those that come out of a built task. That's because not all LSPs can be as fast as typescript, and many LSPs only produce problems for the currently-open-file rather than for all files. The way Visual Studio resolves this is that the problemMatcher and build task are used to produce whole-project "blue" squiggles, and the Visual Studio LSPs only produce single-file "red" squiggles, and whenever you click on a blue error in the problem pane then the blue error gets silently and automatically surplanted by the red squiggle once the file is open.
With the current VSCode behavior, I guess my only hope is (1) use a problem-matcher, (2) write my own extension which moves problems upon text edits. I don't know if that's possible. I'll look.

See also https://github.com/microsoft/vscode/issues/74524

@sandy081 "fixed it" on April 6th 2020 404f66c by making squiggles no longer move around. I put "fixed it" in quotes because this was the opposite of what @pkruk2 and I hope for.

@sandy081 would you consider changing this behavior?

@alexr00 That would inconsistencies across workbench. Diagnostics will not represent same range. Right fix would be is to let that source/owner update diagnostics.

I'm not sure I understand your comment - what are the disadvantages / problems of updating the diagnostics (maybe optionally/as opt-in for extension)? Could you give an example?

I meant Diagnostics should be updated by their owners when document content changes, for eg., TS extension shall update TS diagnostics. VS Code cannot update them because it does not know the semantics and it was never updating them. Previously Squiggles were not updated when content changed which caused they inconsistencies between them and diagnostics as latter were not updated.

In case extension can't simply re-generate diagnostics (for example due to side-effects or long update time):

right now diagnostics are not very usable, they point to wrong location
if updated based on file edits, they could point to correct location

My argument is that in this case not updating diagnostics is worse than updating them.

I filed a separate issue https://github.com/microsoft/vscode/issues/103953 for discussion #103953.


Found an issue with running on Linux that I fixed

When running on linux removing static from the openxr crate was necesscary, along with that, adding ash::extensions::khr::Swapchain::name() to the DeviceCreateInfo and removing it from extensions was necessary to get it running. I will be making a PR shortly but I assume this code does function on some other platform, likely windows, so is this just a platform difference and I should modify things with #cfg(unix) or is this something I should just generally add?

@MalekiRe I've downloaded your forks of this project and wgpu, but when trying to build the example it says:
error: failed to select a version for `wgpu`.
    ... required by package `wgpu-openxr-example v0.1.0 (/home/user/github/wgpu-openxr-example)`
versions that meet the requirements `*` (locked to 0.16.0) are: 0.16.0

the package `wgpu-openxr-example` depends on `wgpu`, with features: `xr` but `wgpu` does not have these features.

failed to select a version for `wgpu` which could resolve this conflict

Any advice on what I'm doing wrong, please?


[TASK][EASY] JDBC Engine supports MySQL

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before creating

[X] I have searched in the task list and found no similar tasks.

Mentor

[X] I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

Basic knowledge on Scala Programing Language

Background and Goals
Now JDBC engine does not support MySQL Dialect (kyuubi.engine.jdbc.type=mysql)
Although we can use kyuubi.engine.jdbc.type=doris to connect to the MySQL server.
Implementation steps
externals/kyuubi-jdbc-engine/src/main/scala/org/apache/kyuubi/engine/jdbc/dialect

Add MySQL dialect

Additional context
No response

hello，can i take this?  I expect to achieve it in two weeks.

@Kwafoor assigned, good luck!

@Kwafoor assigned, good luck!

Thanks, i will try to finish this in two weeks.

Escalate task level from easy to medium due to the complexity of implementation


Added Outlaw inventory slot

I sadly didn't get to see if it worked with skins, i played for 4 hours straight and asked all lobbies who had an outlaw skin and nobody did.
I basically implemented it the same way the other weapons were so I'm assuming that skins are just gonna work.

The commits are a bit messed up, I will try to fix them for you!
And don't worry I can test the outlaw skin my self, I have a friend that has it.

The code works flawlessly, maybe we have to arrange the UI better, but the code works perfectly!

I'm gonna squash this and merge it! (I fixed the commit issues)

I made a drawn proposal for the a new layout in #3.
I tried just moving the rectangles in the VS preview for inventory but what happened is that weapons started overlapping and almost none of those respected their preview.
So what I ended up doing was manually adjusting the margins while running and checking every time the spaces, the final result is flawless imo, but the VS preview is screwed.


[pulsar-client] Fix pulsar-cpp crash on lookup timeout

Motivation
cpp-client crashes when lookup operation timeout because it finds lookup-promise null.
Thread 1 (Thread 0x2b5cb0736700 (LWP 17356)):
#0  0x00002b5c865ec90f in pulsar::Promise<pulsar::Result, std::shared_ptr<pulsar::LookupDataResult> >::setFailed (this=0x0, result=pulsar::ResultTimeout)

Modification
Setting up lookup-promise to lookupData before passing to function which will avoid cpp-client crash.

rerun java8 tests
rerun integration tests

Merged in 2.3.1 at
709d49b


Would it be possible to pass multiple image sources?

I was wondering if it was possible to pass through multiple image sources so that, for example, we're able to use different images at different media sizes? And the output would be 0 or more source elements and a default img element, wrapped by a picture element

You can do this today:
<picture>
  <SanityImage as="source" {…otherProps} />
  <SanityImage {...otherProps />
</picture>

This does result in a few extraneous attributes on the source tags (e.g. alt) but they are ignored by the browser and don't interfere. I think this is a leaner approach for the library to take for now.


boards: sam_v71: enable GPIO driver

Enable missing GPIO driver which is needed to handle CS GPIOS in SPI driver.
MR has been tested by building spi_loopback sample only.
Signed-off-by: Bartosz Bilas<EMAIL_ADDRESS>

It fixes the build failures related to spi_loopback sample and SPI driver itself:
https://buildkite.com/zephyr/zephyr/builds/45893#331870b3-1688-4aa5-9e33-4b40f3cf323b

Is GPIO in the list of minimal configuration list?

Is GPIO in the list of minimal configuration list?

What list are you talking about?

Is GPIO in the list of minimal configuration list?

What list are you talking about?

There is a minimal config list that each board should enable to run. As far I know, everything outside that, should be configured by App/Samples.

Is GPIO in the list of minimal configuration list?

What list are you talking about?

There is a minimal config list that each board should enable to run. As far I know, everything outside that, should be configured by App/Samples.

There is a supported features table https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/sam_v71_xult/doc/index.rst#supported-features, where GPIO is specified so I assume that GPIO driver should be enabled.

Is GPIO in the list of minimal configuration list?

What list are you talking about?

There is a minimal config list that each board should enable to run. As far I know, everything outside that, should be configured by App/Samples.

There is a supported features table https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/sam_v71_xult/doc/index.rst#supported-features, where GPIO is specified so I assume that GPIO driver should be enabled.

Is GPIO necessary to run Hello World?
If the answer is no board should not enable something that

Is GPIO in the list of minimal configuration list?

What list are you talking about?

There is a minimal config list that each board should enable to run. As far I know, everything outside that, should be configured by App/Samples.

There is a supported features table https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/sam_v71_xult/doc/index.rst#supported-features, where GPIO is specified so I assume that GPIO driver should be enabled.

No, any driver should be enabled when it is needed instead all the time. Otherwise we can spend a lot of flash for nothing. My suggestion is look how to enable by demand at Kconfig inspecting devicetree nodes. This could require some rework at SoC Kconfig too.

@bbilas Since this fix is for the SPI loopback examples only, you could set CONFIG_GPIO=y within a board specific overlay in the boards directory of the SPI loopback example for each of these boards, and avoid modifying the default configuration

@nandojve @danieldegrasse I agree with you guys. I will send new patchsets.

Superseded by https://github.com/zephyrproject-rtos/zephyr/pull/40241.


Missing callback functions

The following callbacks in #.demo have either been deleted or never existed - I thought it might be worth mentioning.

onISelect: used in Demo_Issue79, Demo_Issue105, DemoPassword
onGotFocus: same
onKeyPress: same

The current example was ripped out of a client application and is "out of context".


404 Not Found

I'm not certain what your preferred way of handling unfound ignore packages is, but for these that are dumping "404 not found" it would probably be best to leave them blank instead of pushing the 404 message into the template.
The Mac one should at minimum (and probably only) blacklist .DS_Store's in every directory.

This is actually two issues. Is something returns a 404 it should not be written and macOS should be returning a result.


Maintain charges (master data) and charge price lists and display them via GUI

Problem Description
As a grid company,
We want to be able to change, and stop, charges and charge price lists,
so that updated prices are included in settlement
As a grid company,
We want to be able to verify updated charges and chage price lists
ether by receiving them via B2b messages or via GUI.
As a grid company,
We want to be deliver charges and charge prices independantly,
creates as well as updates,
so that we don't have to send them together as now
Scope

[ ] Solution is to cover receival of messages in CIM XML schema only (BRS31,32,33 AND 34), and intended receipiants of output is grid operators and Energinet

[ ] Subsequent featues will cover; CIM JSON format, balance suppliers, handling updated charge links.

[ ] A stopped charges can result in mass updates of charge links - is out of scope, given that updates on charge links is out of scope - even if this is a consequence of a stopped/ended charge. https://app.zenhub.com/workspaces/feature-board-60e2eb437d96850014aa15ab/issues/energinet-datahub/geh-charges/543

Link to knowledge base on GUI:
https://miro.com/app/board/o9J_kq0bac0=/
Business notes
SME will update feature with a (link to) a list of fields that are allowed to be updated
Shooting blanks at Datahub: If we update a charge, but the change has already been carried out, will it overwrite, do nothing or what? Change request without any changes, are taken in, with new effective date. Changes withouh changes are accepted.
If only one hour is changed, then its perfectly acceptable to send in half a year of data.
Acceptance criteria

[ ] Given receival of updated charges
when storing these
then the persistance followed the agreed rules for updating,
documented in user story https://app.zenhub.com/workspaces/team-volt-60a61059028fd7000e49956e/issues/energinet-datahub/geh-charges/288

--

[ ] Given receival of updates to charges
when receiving updates where no fields are different that those stored, than
then we proces it, as opposed to ignoring or rejecting it.

--

[ ] Given Datahub
when receival of updated charges
Then VAT is a field that can be updated

--

[ ] Given Datahub,
when charges and charge prices are received, be it creates or updates,
then they can be processed in seperate messages, and subsequently updated seperately
(*contrary to today, where charges and prices always are in the same message)

--

[ ] Given a Grid operator,
when having updated charges,
then I would like to verify that these changes are carried out
by requesting the my own price list via a BRS-034
(*RSM-035 files needs schema validation and to be logged, and requester is checked for authorizational rights )

--

[ ] Given a Grid operator,
when having updated charges,
then I would like to verify that these changes are carried out
by searching for charges in the GUI and inspecting the details
(see https://miro.com/app/board/o9J_kq0bac0=/ for graphical interface details)

--

[ ] Given a Grid operator,
when having updated charges,
then I would like to verify that these changes are carried out
by seing the changed charge name in the search metering point screen, on {updated charge names, stop date and transparent invoicing} on charge links

--

[ ] Given Datahub on B-002
when assigning default charge links, these needs to have prices associated to them for the current month
Then energinet is responsible to needs to keep prices used by default charge links updated

Related user stories:
Charges - create test scenarioes for create, update and stop charges
https://app.zenhub.com/workspaces/team-volt-60a61059028fd7000e49956e/issues/energinet-datahub/geh-charges/204
Rules for updating charges
https://app.zenhub.com/workspaces/team-volt-60a61059028fd7000e49956e/issues/energinet-datahub/geh-charges/288
invite for refinement;
MD for design components

Maybe "Maintain charges (master data) and charge price lists" and "display charges (master data) and charge price lists via GUI" could/should be split into two features?
The Problem Description mentions "stop charge and charge price lists", but it is mentioned in the "Scope" section that "stop" will result in mass updates of charge links which are considered "out-of-scope". It seems to me that we thereby compromise the data integrity of the system(?)

Activity diagram illustrating the existing maintain charge flow and the new price flow to be developed in #1409, #1410, #1411 and #1413.

ACs removed from feature:
OUT OF SCOPE, to be moved from feature
9 Given a grid access provider
when sending multiple charges,
then datahub must process them in the order of receival
--
OUT OF SCOPE:

[] 10 Given a grid  access provider and a stopped charge
when submitting a charge link
Then the charge link period must be for a period where the charge is active, otherwise it's rejected


this.$apollo is not defined.

Hi,
I've tried to make some small code with documentation I found on your webpage and received a problem - this.$apollo is not defined.
Here is the code:
import Vue from 'vue'
import { ApolloClient } from 'apollo-client';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { onError } from 'apollo-link-error';
import { ApolloLink } from 'apollo-link';
import { HttpLink } from 'apollo-link-http';
import config from './config/config.js';
import { enableExperimentalFragmentVariables } from 'graphql-tag';
import VueApollo from 'vue-apollo';
import ElementUI from 'element-ui';

import App from './App.vue'
import router from './router'
import store from './store'

import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/style.scss'

Vue.use(ElementUI);

Vue.config.productionTip = false;

const uri = `${config.VUE_APP_URI}/graphql`;
const httpLink = new HttpLink({uri});

const cache = new InMemoryCache({});

const errorLink = onError(({ graphQLErrors, networkError }) => {
  if (graphQLErrors){
    graphQLErrors.map(({message, locations, path}) => {
      console.log(`[GraphQl error] : Message : ${message}, Location : ${locations}, Path : ${path}`)
    })
  }
  if (networkError){
    console.log(`[Network error]: ${networkError}`)
  }
});

const client = new ApolloClient({
  link : ApolloLink.from([
    errorLink,
    httpLink
  ]),
  cache,
  connectToDevTools : true
});

const apolloProvider = new VueApollo({
  defaultClient : client,
  defaultOptions : {
    $loadingKey : 'loading'
  }
});

Vue.use(apolloProvider);

new Vue({
  router,
  store,
  provide : apolloProvider.provide(),
  render: h => h(App)
}).$mount('#app');

The part of code where error occurred:
methods : {
    capture(){
      const {email} = this.form;
      if (!email || !validateEmail(email)){
        this.error = 'Please enter a valid email';
        return;
      }
      this.$apollo.mutate({
        mutation : CaptureEmail,
        variables : {email}
      })
        .then(({data}) => {
          this.submitted = true;
          this.error = false;
          console.log(data.captureEmail.id);
        })
        .catch(error => {
          if (error.graphQLErrors.length >= 1){
            this.error = error.graphQLErrors[0].message
          } else {
            this.error = 'Something went wrong';
          }
          console.log(error);
        })
    }
  }

I used:
node V10.10
Vue v2.5.17
Vue-apollo v3.0.0-beta.25 (also tested this with v3.0.0-beta.19)

See this release. Where did you find your code example on the docs? It needs to be changed.

I've just changed the code to
new Vue({
  router,
  store,
  apolloProvider,
  render: h => h(App)
}).$mount('#app');

and this haven't fixed the issue.
However, using tutorial from this link(https://www.howtographql.com/vue-apollo) I have the code with .provide() and it works ok. The tutorial is official tutorial for Vue and GraphQL.

@Akryum For example project from How To GraphQL works with and without .provide().
I suppose the first project I provided could have some misconfiguration, but at the same time another project works both ways, so it might be still supported.

Yes, you should have a deprecation warning in the console. BTW howtographql is not the official documentation for vue-apollo. :smile_cat:

Well, I have no deprecation message.

It's here.

Yeah, here are screenshots.

I suppose vue cli could suppress the message, but not sure.

I meant in the browser console. But it doesn't seem the options are the cause of the issue.

Okay I have re-red your code and I think the faulty line is this one:
Vue.use(apolloProvider);

It should be the plugin, not the provider:
Vue.use(VueApollo);

Did it solve your issue?

Same problem here with this config:
import Vue from 'vue'
import ApolloClient from 'apollo-boost'
import VueApollo from 'vue-apollo'

Vue.use(VueApollo)
const apolloProvider = new VueApollo({
  defaultClient: new ApolloClient()
})

new Vue({
  el: '#app',
  apolloProvider,
  components: {
    ...
  }
})

happening here:
 mounted () {
    console.log('vue apollo loading?:' + this.$apollo.queries.myTestQuery.loading)
}

All the tests are passing, and I can't reproduce this.
https://github.com/Akryum/vue-apollo/blob/dev/tests/demo/src/main.js#L14


Fix graph compilation error from Falcon when batch size>1

This change fixes the size mismatch between position_ids and cos when batch size > 1.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@regisss would you be able to check why the CI test keeps failing? The error message says some checkpoint is missing but that seems irrelevant to my change.


Merge back client oauth/oidc support

This PR must be merged and NOT squashed

opening this PR earlier so we have the CI/CD running on each commit and we can see if there is a merge conflict with the main branch


chore: ignore ffi bindings for code coverage

This PR lets the code coverage tool ignore the auto-generated bindings, some of which might not get used in practice.

Codecov Report
Patch coverage has no change and project coverage change: +0.24 :tada:

Comparison is base (dd2b730) 81.83% compared to head (a4af2bf) 82.07%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   81.83%   82.07%   +0.24%
==========================================
  Files          10       10
  Lines         666      664       -2
==========================================
  Hits          545      545
+ Misses        121      119       -2

Impacted Files
Coverage Δ

lib/src/generated/ffi.dart
84.42% <ø> (+0.84%)
:arrow_up:

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.


add support for choosing the totals table

Add support for working with the totals table in addition to series.
Also refactors code so that unit tests can see how we would handle any given response from Axiom (no assertions currently, just lets me more easily walk through the code over and over)

Not sure if you all still need this or not, I just got into it last night and wanted to finish what I started.


When the code will be released?

Hi, thanks for the great work. I am concerning about when the code will be released?

Hi, thanks for the great work. It's the end of June now when the code will be released.

We have


Add support for disabling I/O over TUN/TAP support

In my case, I only need the builder from tokio-tun to create the TUN/TAP device and don't want any of the I/O over it, but the library currently requires that. By gating this behind a feature or adding a feature to disable it, the tokio net dependency wouldn't need to be pulled in for these cases.

Or, make a base crate like core-tun that would do the TUN/TAP creation and have tokio-tun depend on it with the async I/O added.


KEY-138: TOC's active style

My latest attempt that I described in GTM standup: Intersection observer looks at currently visible headings in the viewport and sets the first one as the "active-styled" one
Adds a persistent #overview heading for the H1 on each docs' page
Hard-code fixes a few duplicate headings, as we don't currently have logic to prevent identical heading id's

Here's the other branch I was playing with 2 intersection observers but I didn't like how it was turning out so abandoned @ChrisLaneAU @BarnabyBishop https://github.com/Thinkmill/keystatic/blob/toc-active-style/docs/src/components/navigation/table-of-contents.tsx


solution profile

Dear Wang,
Many thanks for the library. I also wish to visualize my solution on your existing code.
Here's my solution for 4 different layer ( solution for the dome reservoir at time 500) and would like to add the functionality to the existing code to generate also the solution on the vtk file. Many thanks.

Hi Kiarash,
Please check my updates in GettingStart notebook. I loaded the temperature you provided for the dome case.
Sorry about the later updates.
Thanks,
Bin


Close #21 - Add phpCmd

This is just a quick PR to close my own issue #21. Hopefully this works for you.

Hi @finn-matti sorry i never got to this :)
I tried your PR and specified: "php-cs-fixer.phpCmd": "herd php" and it did not work for me. What is the use case here, do i need to pass the full path to php to make it work?
Thanks

Turns out it needs full path to php. This worked for me "php-cs-fixer.phpCmd": "/Users/mansoor/Library/Application Support/Herd/bin/php".


add a script to pull interesting stats from a zork log

This is really bad and slow but I've found it useful to assemble a few basic stats for our beta testers. Think of it as a placeholder for now.

:+1: - seems straightforward, if it's slow then grep must be expensive in this case. Maybe some mix of awk/sed wizardry could speed things up, but agreed that this is fine to check in for now.

Right! I could think of a bunch of ways to improve this but then the script is getting a little complicated. Thanks!


Auto-building remap operations & Coupled Sim Init

Initializing a coupled simulation needs to be designed such that the actual remap operator construction can be hidden.
The init process might look something like:

Init all component simulations with existing standalone code
Init coupled simulation struct
Init maps using boundary spaces of each model
Reinit component simulations with updated coupled fields

To be addressed in #211


Generalise tegola Docker

Proposal to generalise Tegola Docker with ability to handle several configuration at build.
I feel forced to remove the multi-stage build in expiry docker as it may need the exact same configuration as the main one.
I'm not aware of include directive or so in Dockerfiles, then it makes the code a little redundant.
You can build the default images with
docker build -f Dockerfile -t openinframap/tileserver .
docker build -f Dockerfile.expiry -t openinframap/tileserverexpiry .

And run it without BOUNDS env variable.
Happy to get feedbacks on it.

Hi @russss is it possible to have a look to this PR please?

Merged in 13c75f9e4f1647884099a4d3300f85d808111f32 - sorry for the delay, I had to make some changes to the deployment environment.

It's fine, thank you @russss


Columns are displayed in random order

Describe the bug
Columns are displayed in random order.
To Reproduce
Steps to reproduce the behavior:

select 1,2,3
select 1,2,3
select 1,2,3
select 1,2,3

Expected behavior
The columns are displayed in the order listed in the select command.
GQL (please complete the following information):

Version 0.11.0

Screenshots

Hello @neilboyd,
Thank you for reporting, i was delaying it until improve the gitql internal object structure, but i think it's time to handle it now, it will handled i next release 0.12.0
Thank you

Hello @neilboyd,
It's fixed in this commit https://github.com/AmrDeveloper/GQL/commit/c1a8c821a032ee5dc438638178b93f7d925c0f28 and will be released next week

Fixed and released on 0.12.0


Make sqlalamcy models

Detailed Description
Using .sql file, make the sqlalmacy models
Context
.sql file is made from .dbml
Possible Implementation
Using this blog we can change raw sql into sqlalacmy models. We might have to tweak them a bit

This got merged, so real's should work now

https://github.com/xnuinside/omymodels/pull/44#event-8175375080

Done with https://github.com/openclimatefix/pvsite-datamodel/commit/ae113fffedd5f1dc8a993f9ba15ba19825210fdb


Running the code in Spirit 40

Hi, I am trying to deploy the quad sdk in Spirit 40. I have two issues which are described below:
I loaded the customized firmware from the RML lab. The suggested way to run SDK is to run "load_robot_env.sh" in TX2/Xavier, and then run "load_remote_env.sh" in the remote controller.
The first question: Do we have to install all the dependencies for only running the "robot_driver.launch" in the TX2? I used a docker to install the environment, but every time when I set up the code, the problem of installing the ipopt libraries always happens.
I ran the full stack quad sdk in the remote computer:
Below is my procedure:
I first ran: roslaunch quad_utils robot_driver.launch mocap:=false logging:=true, then the terminal shows that it successfully connected to the spirit robot with 1000hz, although the frequency is not stable.
Then I ran, rostopic pub /robot_1/control/mode std_msgs/UInt8 "data: 1"
The first time, the robot did not stand as I expected, but I found the controlModeCallback is not called. It turns out that the namespace robot_1 is not loaded correctly. So I manually change the controlModeTopic, which is loaded from the parameter server before to "robot_1/control/mode". Then the above cmd successfully makes the robot stands.
Do you know the reason?
At last, I ran the remote_driver.launch" in the remote computer with default parameters, it opens the rviz, however, it did not spawn a spirit robot, since it did not call the quad_spawn.launch. I am confused about the goal of opening a rviz panel. I thought it was to show the real-time position of the real spirit.

Then I ran: roslaunch quad_utils quad_plan.launch reference:=twist logging:=true, in which case, the nmpc will not going to the for loop, I believe that it is blocked by some required information, such as ground force? If so, is there a solution to run the robot without force plate on the ground.
Thanks for your time! Any explanation would be appreciated.!

Looks like logging.launch will change all topic names to /robot_1/xxxx?

Hi @henryliuliuliu,
I know that you met with Jiming at some point in the week to discuss your setup. I was wondering if you still needed help with this or if I could close the issue.
Best,
David

Thanks for your help! I am ok with the quadSDK now!


Upgrade to<EMAIL_ADDRESS>

The breaking change was the dropped support of IE8 (not supported here) and a change in export layout: https://github.com/react-bootstrap/dom-helpers/blob/master/CHANGELOG.md#500-2019-08-30.
Depending on how you look at it, some may consider this upgrade to be a breaking change from this project's perspective (for those who are using older versions of dom-helpers, they may now have multiple versions in their bundles - old versions are incompatible with v5).

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1421   +/-   ##
=======================================
  Coverage   90.35%   90.35%
=======================================
  Files          59       59
  Lines        1742     1742
=======================================
  Hits         1574     1574
  Misses        168      168

Impacted Files
Coverage Δ

source/Collection/CollectionView.js
90.19% <ø> (ø)
:arrow_up:

source/Grid/Grid.js
94.48% <ø> (ø)
: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 a390b2a...daef4bd. Read the comment docs.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1421   +/-   ##
=======================================
  Coverage   90.35%   90.35%
=======================================
  Files          59       59
  Lines        1742     1742
=======================================
  Hits         1574     1574
  Misses        168      168

Impacted Files
Coverage Δ

source/Collection/CollectionView.js
90.19% <ø> (ø)
:arrow_up:

source/Grid/Grid.js
94.48% <ø> (ø)
: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 a390b2a...daef4bd. Read the comment docs.


jsgrid - Do not display the value of a column if it does not change

Is it possible not to display the value of one or more columns if the value does not change?
Thanks in advance for your help.

What do you mean by change? Is it a particular event?

I mean if the value remains the same and you don’t want to show the value in every row, until it changes again.
Thanks
From: Artem Tabalin<EMAIL_ADDRESS>Sent: Wednesday, December 14, 2016 4:25 PM
To: tabalinas/jsgrid<EMAIL_ADDRESS>Cc: Nahid Gordiz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [tabalinas/jsgrid] jsgrid - Do not display the value of a column if it does not change (#547)
What do you mean by change? Is it a particular event?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/tabalinas/jsgrid/issues/547#issuecomment-267199510, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWK5Heh-6-Pfa5z0fnJYyqozCkC7VQrJks5rIIjXgaJpZM4LNfKx.

@ngordiz, could you provide an example?

Manager name
Employee first name
Employee last name
Hours worked
status
John Doe
Tom
Adams
40
APPROVED
John Doe
Tim
Allan
45
Not Approved
John Doe
Nancy
Kim
40
Approved
Phil Sandy
Rose
Smith
37
approved
I would like not to display the second and the third John Doe, since it is the same as the first line.
Thanks, Nahid
From: Artem Tabalin<EMAIL_ADDRESS>Sent: Thursday, December 15, 2016 3:39 PM
To: tabalinas/jsgrid<EMAIL_ADDRESS>Cc: Nahid Gordiz<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tabalinas/jsgrid] jsgrid - Do not display the value of a column if it does not change (#547)
@ngordizhttps://github.com/ngordiz, could you provide an example?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tabalinas/jsgrid/issues/547#issuecomment-267476902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWK5HZqu29xldqG6_3yvklay7ruHPRidks5rIc-HgaJpZM4LNfKx.

I guess representation in the comment is not what you expected, right?
Would you mind to format it properly or put a screenshot to show expected result.
From what I undersrand you need to define a special itemTemplate, tracking the current value and previous value. It returns either a new value (when it's changed) or an empty string, if it's the same.

Thanks.  Sorry for the bad display.  I got it.


Disable debug output

Each time the tests run I get the following output. Is there a way to disable it? It is very annoying.
Running tests...
11:14:25.246 [error] Supervisor 'Elixir.Logger.Supervisor' had child 'Elixir.Logger.ErrorHandler' started with 'Elixir.Logger.Watcher':watcher(error_logger, 'Elixir.Logger.ErrorHandler', {true,false,500}, link) at <0.270.0> exit with reason normal in context child_terminated
11:14:25.285 [info] Application lager started on node nonode@nohost
11:14:25.317 [info] Setup running ...
11:14:25.318 [info] Directories verified. Res = ok
11:14:25.318 [info] Setup finished processing hooks (Mode=normal)...
11:14:25.318 [info] Application setup started on node nonode@nohost
11:14:25.358 [info] Starting reporters with [{reporters,[{exometer_report_statsd,[{hostname,"localhost"},{port,8125}]}]},{subscribers,[{exometer_report_statsd,[my_app,webapp,resp_time],[min,max,mean,'95','90'],1000,true},{exometer_report_statsd,[my_app,ecto,query_exec_time],[min,max,mean,'95','90'],1000,true},{exometer_report_statsd,[erlang,memory],[atom,binary,ets,processes,total],1000,true},{exometer_report_statsd,[my_app,webapp,resp_count],one,1000,true},{exometer_report_statsd,[my_app,ecto,query_count],one,1000,true},{exometer_report_statsd,[erlang,statistics],run_queue,1000,true}]}]
11:14:25.359 [info] Application exometer_core started on node nonode@nohost
11:14:25.361 [info] exometer_report_statsd([{hostname,"localhost"},{port,8125}]): Starting
11:14:25.370 [info] Application exometer started on node nonode@nohost
11:14:25.378 [info] Application pobox started on node nonode@nohost
11:14:25.398 [info] Application elixometer started on node nonode@nohost
11:14:25.510 [info] Application my_app started on node nonode@nohost
11:14:25.835 [info] Application ex_unit started on node nonode@nohost
11:14:25.847 [info] Application ex_machina started on node nonode@nohost

Yes, add the following to your /config/test.exs
config :lager, [
  handlers: [
    lager_console_backend: :critical,
  ]
]

I'll update master to have this.

@schurig See https://github.com/pinterest/elixometer/pull/54

Fixed in #54

Thanks!


Add ShareX

Screen capture, file sharing and productivity tool.

Will keep misc category for now and restructure later


more css stuff

fixed ant sacrifice settings buttons and the max toggle overlapping in certain edge cases
added special hover class for active challenges
remade the blessing and spirit tabs in flexbox and improved their centering
made setting confirmation toggle icons slightly smaller to avoid them being blurry and better center them
added hover effects and proper pointer cursor conditions to constant upgrade

Looking good! Thank you for these CSS changes 💯


New snips addon build needed using snips 0.52.7

Snips.ai now produces models with version 0.12.0.  Any attempt to use these with the current build of the snips addon results in model mismatch error and fails to run.  I did a local docker build of the snips addon using 0.52.7 and can confirm that it works as expected.  Obviously the bundled assistant.zip would need to be updated as well...

I can't update the assistant.zip - > @tschmidty69 ?

Updated at this link https://github.com/tschmidty69/hassio-snips/releases/download/0.1-pre1/assistant.zip

Hi,
I have the same issue, I updated my assistant.zip file yesterday and the nlu engine version is 0.13 now and that can't work with actual 0.9 snips hassio addon, that expect 0.12 nlu engine
How can I make it work ?
Regards


Update README.md

Description
Contributors images were not displaying.
Enhancement in issue #9
Screenshots

Original
Updated

original screenshot

updated screenshot

@codewithvk


Vault health check and namespace fix

What this PR does / why we need it:
This PR fixes two issues:

Approle login for HashiCorp vault is failing when namespaces were used in vault.
The health check would mark the vault as sealed/un-initialised when the vault token did not have enough access to call the /sys endpoints.

In order to fix the first issue, I added the X-VAULT-NAMESPACE header to the login API call.
To fix the second issue, I had to move from making use of vault client's client.Sys().Health() to making direct API calls like we do for login etc. This is because when token passed to the vault does not have sufficient permissions to call the /sys/* endpoints, vault returns the correct HTTP status code, but an empty JSON response. In vault client's client.Sys().Health(), the team is replying purely on the JSON response of the vault and not the HTTP status code by setting the following parameters:
r.Params.Add("uninitcode", "299")
r.Params.Add("sealedcode", "299")
r.Params.Add("standbycode", "299")
r.Params.Add("drsecondarycode", "299")
r.Params.Add("performancestandbycode", "299")

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #3434
Special notes for your reviewer:
You will need an enterprise version of HashiCorp's Vault to fully test these changes.
Release note:

Fixed approle login when namespaces were used in HashiCorp Vault
Fixed incorrectly failing health check that was caused when the Vault token did not have sufficient permission to call /sys/* endpoints

/assign @munnerz

/assign @munnerz

@lalitadithya @meyskens Can this PR be extended to support Vault Namespaces for Kubernetes Auth as well? All Vault Auth backends can be mounted in namespaces.

@lalitadithya @meyskens Can this PR be extended to support Vault Namespaces for Kubernetes Auth as well? All Vault Auth backends can be mounted in namespaces.

@lalitadithya @meyskens Can this PR be extended to support Vault Namespaces for Kubernetes Auth as well? All Vault Auth backends can be mounted in namespaces.

@adisong Can you elaborate a little bit, please? I don't understand your request. I know that vault supports Kubernetes Auth as described here. My apologies, I haven't used this part of vault/cert manager much.

@lalitadithya @meyskens Can this PR be extended to support Vault Namespaces for Kubernetes Auth as well? All Vault Auth backends can be mounted in namespaces.

@adisong Can you elaborate a little bit, please? I don't understand your request. I know that vault supports Kubernetes Auth as described here. My apologies, I haven't used this part of vault/cert manager much.

@lalitadithya Similarly to requestTokenWithAppRoleRef there is requestTokenWithKubernetesAuth method that should also have X-VAULT-NAMESPACE header to keep this consistent.

@lalitadithya Similarly to requestTokenWithAppRoleRef there is requestTokenWithKubernetesAuth method that should also have X-VAULT-NAMESPACE header to keep this consistent.

@adisong , Okay. Gotcha! I have made the necessary changes. If you don't mind, can you please verify?

@adisong , Okay. Gotcha! I have made the necessary changes. If you don't mind, can you please verify?

@adisong , Okay. Gotcha! I have made the necessary changes. If you don't mind, can you please verify?

Yep, LGTM 👍 Thank you!

@adisong , Okay. Gotcha! I have made the necessary changes. If you don't mind, can you please verify?

Yep, LGTM 👍 Thank you!

/ok-to-test

/ok-to-test

This looks like it is ready to merge, when is final approval expected?  I am waiting on this to be released so I can finish testing cert-manager with vault and release in production for our platform at HEB.

This looks sane to me, but I can't test it myself. Adding to the 1.3 milestone which is due early April
/milestone v1.3
/kind bug

/lgtm

/assign @jakexks

FYI - Resolved the conflicts by rebasing. No other changes made.

Yep it is confirmed!
/approve
/lgtm


[Bug]: Error / Warn on startup Paper 1.20.1 Build 22

/mv version -p output
https://paste.gg/p/anonymous/88f4073995cb45668e3ab7af018cee52
Server logs
https://paste.gg/p/anonymous/ba3e324344994359857cf187e00565a7
Server Version
[23:47:43 INFO]: This server is running Paper version git-Paper-22 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: f7b386d)
You are running the latest version
Previous version: git-Paper-20 (MC: 1.20.1)

Bug Description
Warn on startup when Paper 1.20.1 Build 22 first loads Multiverse-core . Tested with no plugins , NO ERRORS . Tested with all plugins Error / Warn . Tested with just Multiverse-core , Error / Warn .
Problem with Paper 1.20.1 Build 22 . Does not effect the server as far as I can tell , but I think you should update dependencies , etc ...
Steps to reproduce
Just update to Paper 1.20.1 Build 22
only add multiverse-core-4.3.9.jar to plugins to trigger error / warn
latest.log
Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Did you read the next line after the warning? Line 97...

Did you read the next line after the warning? Line 97...

Yes Those few line have been there for many versions , Im aware of it
The new warning , that starts at the very top after paper loads , is related to 1.20.1 and related to a server running in a Docker image on a Host . This started after we switched from 1.19.4 . If I remove Multiverse then this does not happen . Multiverse needs a update

Here is the link to paper issue https://github.com/PaperMC/Paper/issues/9352#issue-1759378331 . They closed it as not a Paper problem

Can you show logs without multiverse? Are you running this server behind a proxy?
This is occuring before multiverse is loaded.

The server is running on Fragnet Hosting service on a VM Docker Image and Yes it would use some kind of Proxy. I am guessing a Hosting company would have 100's of clients on a node each in a Docker Image and each VM runs like a localhost . This is just a warning , the server does work . I will revisit the issue at a later date when more bugs are worked out in 1.20.1 . It may be a Mojang bug .
The order of things
Docker Boot sets enviroment
Loads Paper with all its settings
Network testing , Microsoft authentication
Plugin Manager figures out order to load plugins
Warn happens at this point .
Tested fine on my home computer server on local host .

Having the same issue

I cannot reproduce this in a standard test environment. If someone could recreate the exact docker setup required, then I'd be happy to test again

For security reasons , a client would not have access to a hosting companies Docker Image . I did mention this in other Gits . Paper was able to fix this in latest builds

Ah, can I close this issue now?


Remote-sync plugin works for php version 5.6 but doesn't work for other versions.

this is not a problem of the theme, it is a problem of the plugin, so please submit the issue here:
https://github.com/tunapanda/wp-remote-sync/issues


Add concurrent use

The current implementation does not support concurrent use. This was not an issue during the experiment, but is a significant impediment to more general use.

Simple, broad synchronization would be acceptable.

Note that was response time slows we begin to approach Slack's 3 second webhook timeout.

#782c8244576ea4a617dbfa806550f8bf8d0dad86


Not sending ALPN when using socks5 proxy

I met with a weird issue. When using socks5 proxy, reqwest will use HTTP/1.1 during request, though HTTP/2 when using http/https proxy. Through Charles and verbose log I found that no ALPN were sent when using socks5 proxy.
I checked source code and noticed such codes:
https://github.com/seanmonstar/reqwest/blob/ddf7f24dcadb9a310b52300c531fe516a05e0c43/src/connect.rs#L148-L150
https://github.com/seanmonstar/reqwest/blob/ddf7f24dcadb9a310b52300c531fe516a05e0c43/src/connect.rs#L205-L225
I think here should clone tls instead of tls_proxy since tls_proxy.alpn_protocols.clear() introduced in #466 fixing #459.

I simply verified my thoughts with testing, but I'm still uncertain, so I submit this issue.

I encountered the same issue. Looking at the code, it looks like a bug.
This "feature" was introduced by #466. It seems that before it, it tried to use ALPN, but not properly activating h2 backend for some reason.

Since hyper v1 upgrade is on the way, #2131 will be closed and I open a new PR to branch hyper-v1. If needed, add the following in Cargo.toml for temp patch before hyper v1 upgrade finishes and you upgrade reqwest to latest version:
[patch.crates-io]
reqwest = { git = 'https://github.com/cxw620/lib_reqwest.git', rev = 'ed9dbc7649f53cd18b5bdfe88173064c95bd6b78' }
```


Simple Array demo -> drag reorder slow

Hi, great library! Been waiting for a ng2+ version of a json schema form.
Not sure you noticed that dragging the items in array to reorder is pretty slow.
I'm using latest Safari on macOS.

Thanks for pointing that out. I had a variation of this problem.
So I moved the drag and drop listeners outside the Angular zone, and it's much faster now.


i18 message not found

Hi Sir:
When I set up 'language' => 'en-US' in common\config\main.php  , backend & frontend not found the current message file. Which file I need to setup?
<?php return [     'name' => 'Yii2-advanced-start',     'timeZone' => 'Asia/Taipei',     'language' => 'en-US',     'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',

On what page?

In http://mysite.com , I see those words:  NAV_HOME,  NAV_ABOUT,  NAV_CONTACT,   NAV_MY_MENU
In http://mystart.com/admin , those words are TITLE_HOME ,TITLE_USERS,TITLE_USERS

I change to 'language' => 'en' , then workable. strange.

I found your layout will cut off the full word.  I look the source code is <html lang="ru"> or <html lang="en">

Yes!
https://github.com/Dominus77/yii2-advanced-start/blob/288682261f87af0a72a6abb2693d55d0076c8fe5/frontend/views/layouts/main.php#L17

May I ask you which the rule for the i18 message? I found those message in  modules, api, backend, common...

In the main template, the translation is global, for its frontend, for backend its correspondingly
\Yii::t('app', 'NAV_HOME');
Global translations are in the messages folder of the corresponding application
frontend https://github.com/Dominus77/yii2-advanced-start/tree/master/frontend/messages
backend https://github.com/Dominus77/yii2-advanced-start/tree/master/backend/messages
In modules, the structure is the same, but it is called differently if the translation is not global
Example:
\modules\main\Module::t('module', 'Home');
The translations are in
modules \ main \ messages \ en \ module.php
and
modules \ main \ messages \ ru \ module.php

http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html

Understood. thanks.

After I changed the layout to
<html lang="<?= Yii::$app->language ?>">
why not work?

And in the config parameter language?
https://github.com/Dominus77/yii2-advanced-start/blob/288682261f87af0a72a6abb2693d55d0076c8fe5/frontend/config/main.php#L11

I setup 'language' => 'en-US' in common\config\main.php
layout:
<html lang="<?= Yii::$app->language ?>">

but Chinese is work !! Ha , It is I need.
'language' => 'zh-TW'

Then this parameter in the backend and frontend should be removed or commented out
https://github.com/Dominus77/yii2-advanced-start/blob/288682261f87af0a72a6abb2693d55d0076c8fe5/frontend/config/main.php#L11

Yes , I did it . but not workable for 'en-US'

Not displayed in code?
<html lang="en-US">

HTML code is show <html lang="en-US">  but message is the key 'NAV_HOME....'

in the application's messages folder, there is an en-US folder and the app.php translation file in it?
https://github.com/Dominus77/yii2-advanced-start/tree/288682261f87af0a72a6abb2693d55d0076c8fe5/frontend/messages/en-US

At me all works, I switch language in common, the language changes to Russian or English

Probably my work is English because by default I'm writing in English, now I'll check with the contants))

I am only not work for 'en-US' , others is fine. FYI
Thanks , I am learning  much from you.

Checked, specify not 'en' instead of 'en-US'

I'm still that teacher)))
I can tell if I know myself.

By the way, recently made a plug-in for highlighting syntax, I advise you to look instead of SyntaxHighlighter
https://github.com/Dominus77/yii2-highlight-plugin

Got it . Thanks a lot.


backup got failed

1, i have installed already mysql-autoxtrabackup using below command
pip3 install mysql-autoxtrabackup
after this one need to follow
cd /home git clone https://github.com/ShahriyarR/MySQL-AutoXtraBackup.git
cd /home/MySQL-AutoXtraBackup/
python3 setup.py install      ---this command also?
2,when am trying to install with below command
autoxtrabackup -v -lf /home/MySQL-Autoxtrabackup_2_4_5_7.log
-l DEBUG --defaults_file=/home/XB_TEST/server_dir/xb_2_4_ps_5_7.conf --backup
am getting the error
pkg_resources.DistributionNotFound: The 'mysql-connector==2.1.4' distribution was not found and is required by mysql-autoxtrabackup
as per your instruction i have changed the link in setup.py
but now these error is showing

As far as I remember @BarbzYHOOL used to fix this issue somehow.
Could you please assist on this?

https://github.com/ShahriyarR/MySQL-AutoXtraBackup/issues/368 and in my fork the fix is there (on master or another branch)

Okay I will release the new version, with a bunch of stacked fixes.
It seems to be this project is still alive :)

thanks for respond

autoxtrabackup --backup -v -l DEBUG -lf /home/XB_TEST/backup_dir/xb.log --defaults-file=/home/XB_TEST/server_dir/bck.conf
Traceback (most recent call last):
File "/usr/local/bin/autoxtrabackup", line 11, in
load_entry_point('mysql-autoxtrabackup==1.5.4', 'console_scripts', 'autoxtrabackup')()
File "/usr/local/lib/python3.5/site-packages/Click-7.0-py3.5.egg/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/Click-7.0-py3.5.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/site-packages/Click-7.0-py3.5.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.5/site-packages/Click-7.0-py3.5.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/Click-7.0-py3.5.egg/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/mysql_autoxtrabackup-1.5.4-py3.5.egg/autoxtrabackup.py", line 185, in all_procedure
config = GeneralClass(defaults_file)
File "/usr/local/lib/python3.5/site-packages/mysql_autoxtrabackup-1.5.4-py3.5.egg/general_conf/generalops.py", line 15, in init
con.read(config)
File "/usr/local/lib/python3.5/configparser.py", line 696, in read
self._read(fp, filename)
File "/usr/local/lib/python3.5/configparser.py", line 1077, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '/home/XB_TEST/server_dir/bck.conf', line: 1
#'mysqladmin=/usr/bin/mysqladmin\n'--- What is this error here please advise me

Hey @bimith,
configparser.MissingSectionHeaderError: File contains no section headers.
I believe you're missing a [mysqlbackup] line ahead of the configs pertaining to mysqlbackup, in the file /home/XB_TEST/server_dir/bck.conf.
If that doesn't fix it please post the contents of the file.

@bimith sorry the section would be like [Backup] rather than mysqlback. And it might not necessarily be that section, but it's complaining that the sections in general are missing.


HDFS env variable change

Signed-off-by: Dherendra<EMAIL_ADDRESS>

Replacing environment variable from SS_HDFS_33_TRANSPERNCY_VERSION_ENABLE to   SCALE_HDFS_TRANSPARENCY_VERSION_33_ENABLE in prepare_env.yml file


Add support for email verification

@bantic for you to review/merge. /cc @fancyremarker we worked on this yesterday.
Adds support to diesel for email verification. This is still a stand-alone feature, and not part of the wizard flow.
Also adds a top level error page, required to show a default message for invalid tokens.

@mixonic sweet — I added a few qs there, after you take a look at those go ahead and merge at your leisure

@bantic updated to address your comments, and added unit tests for the url params parser. Thanks!


Module build failed

I get an error trying to run the slackr starter kit:
ERROR in ./src/index.jsx
Module build failed: SyntaxError: Unexpected token (16:2)

Did you run npm install?


feat: sacramento pd scraper

TODO

[ ] extract CSI photos
[ ] Question: extract YouTube individual video URLs (vs playlist url)? cc @zstumgoren
[ ] scrape & test

Done

[x] create metadata JSON of extracted URLs (minus CSI photos subindex) to scrape

6/25 todo: handle duplicate asset_urls to avoid scraping assets twice


:e_mail: AWS User Pool Email Automation

This script (currently in the draft phase):

Pulls email addresses  from a configuration json file

Checks for the existence of a user pool corresponding to the configuration file + (potentially) creates it if it does not exist

Checks for users in the User Pool, and creates an account for them if they're not in the pool

Sends a custom  welcome email with SES, prompting users to change their password and setup MFA

@shankari


[🔔 Dio] sendTimeout cannot be used without a request body to send

Package
dio
Version
5.3.3
Operating-System
Web
Adapter
Default Dio
Output of flutter doctor -v
[!] Flutter (Channel stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale en-NP)
    • Flutter version 3.22.0 on channel stable at /Users/shrijanregmi/fvm/versions/3.22.0
    ! Warning: `flutter` on your path resolves to /Users/shrijanregmi/Projects/Flutter/sdk/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/shrijanregmi/fvm/versions/3.22.0. Consider adding /Users/shrijanregmi/fvm/versions/3.22.0/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.2.6/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/shrijanregmi/fvm/versions/3.22.0. Consider adding /Users/shrijanregmi/fvm/versions/3.22.0/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (7 weeks ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/shrijanregmi/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • ANDROID_HOME = /Users/shrijanregmi/Library/Android/sdk/:/Users/shrijanregmi/Projects/Flutter/sdk/bin/:/Users/shrijanregmi/fvm/versions/3.22.0/bin/:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/shrijanregmi/fvm/versions/3.22.0/bin/:/Users/shrijanregmi/google-cloud-sdk/bin:/Users/shrijanregmi/.nvm/versions/node/v18.16.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shrijanregmi/Library/Android/sdk/platform-tools/:/Users/shrijanregmi/Projects/Flutter/sdk/bin/:/Library/Frameworks/Python.framework/Versions/3.12/bin:/Users/shrijanregmi/.pub-cache/bin:/Users/shrijanregmi/.maestro/bin
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2022.2)
    • 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 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (4 available)
    • Shrijan’s iPhone  (mobile)      • 00008130-001420681A90001C • ios            • iOS 17.5.1 21F90
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 126.0.6478.63

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Dart Version
3.4.0
Steps to Reproduce

Create a dio instance
Add sendTimeout = const Duration(seconds: 3)
Hit a get request
Observe the error

Expected Result
No error should be there
Actual Result
I get the following error when running dio on WEB. If I run it on Android or iOS, it works fine!
[🔔 Dio] sendTimeout cannot be used without a request body to send
[🔔 Dio] _StackTrace (../dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 843:28  get current
         ../packages/dio/src/adapters/browser_adapter.dart 153:22               fetch
         ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54  runBody
         ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5  _async
         ../packages/dio/src/adapters/browser_adapter.dart 34:29                fetch
         ../packages/dio/src/dio_mixin.dart 515:52                              _dispatchRequest
         ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50  <fn>
         ../dart-sdk/lib/async/zone.dart 1661:54                                runUnary
         ../dart-sdk/lib/async/future_impl.dart 163:18                          handleValue
         ../dart-sdk/lib/async/future_impl.dart 847:44                          handleValueCallback
         ../dart-sdk/lib/async/future_impl.dart 876:13                          _propagateToListeners
         ../dart-sdk/lib/async/future_impl.dart 652:5                           [_completeWithValue]
         ../dart-sdk/lib/async/future_impl.dart 722:7                           callback
         ../dart-sdk/lib/async/schedule_microtask.dart 40:11                    _microtaskLoop
         ../dart-sdk/lib/async/schedule_microtask.dart 49:5                     _startMicrotaskLoop
         ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7  <fn>
         )

Yes, it literally tells you that it doesn't work.

The problem, at least in my case, is that I set sendTimeout in the BaseOptions when initialising dio. I would expect it to be ignored for the requests that do not support it, without printing a warning.

@AlexV525 How is one supposed to use a single client instance without being notified about sendInterval when sending GET requests? #2260 doesn't prevent Dio from logging the warning into console by the adapter.

@tomwyr #2260 implements the log incorrectly, #2309 fixes it, could you check again on the main branch?

I can still see the warning. The issue that you linked also says:

The warning will be raised within the adapter.

Which maybe explains why it didn't change the behavior I'm referring to.


How to make class heritage with ModelResource

Hello,
How to make class heritage with ModelResource ?
A basic heritage with redefinition of Meta will include all fields from the parent resource.
Even if I put Meta.fields & Meta.export_order. It will just put them at the end.

I see. And Im sorry to say, I'm not sure why that happens 😞
But a way that I have been able to solve it in other situations (models, admin,, serializers, etc.) is to use a common constant defining the fields that you would like to have in each resource, and then concatenating the lists together with the specific fields for each resource.

Hi @andrewgy8
I think I experienced the same thing with django.forms.ModelForm and maybe django_tables2.tables.Table.
They all have in common to use meta-classes...

I'm going to close this unless someone can show this is django-import-export specific issue.

I think it's mandatorily related to django-import-export. Even the other objects have the same behavior doesn't mean import-export shouldn't improve it.

Are you suggesting we solve a feature/bug in the way Python handles Meta class attribute inheritance?
I'm of the opinion that its out of the scope of Django Import Export.


[BUG] Yaml error when disabling features / commands

What is the bug?
The following yaml error in the help menu.
Expected Behaviour
Not sure what message it's supposed to replace.
How to Reproduce
Not Certain as it happened randomly.,
Error message
(attached to issue)
Output of /teama version
[18:19:49 INFO]: Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SeparatedYamlStorageManager
[18:19:49 INFO]: Minecraft Version: git-Paper-496 (MC: 1.20.4)
[18:19:49 INFO]: Language Selected: messages
[18:19:49 INFO]: Online mode: false
[18:19:49 INFO]: Player count: 1
[18:19:49 INFO]: Current plugin version: 4.9.4
Additional Information

P:lease could you attach your messages.yml file as it is likely you have made a configuration error


[docs] Mentioned CSS required for disabling transitions

Hopefully, this change will clarify the options available with/without using CssBaseline.

[x] I have followed (at least) the PR section of the contributing guide.

Closes #16483

@burtyish Thanks, it looks better! I have tried to push it one step further. Let me know what you think :)

@oliviertassinari looks good, thanks!

@burtyish Thanks


Failures for new pytest-fail-slow check in Windows CI jobs

Issue to keep track of spurious failures after gh-20672 was merged yesterday.
This one showed up on gh-17924:
 ______________ TestDifferentialEvolutionSolver.test_strategy_fn _______________
[gw0] win32 -- Python 3.12.3 C:\hostedtoolcache\windows\Python\3.12.3\x64\python.exe
Test passed but took too long to run: Duration 1.9977539000001343s > 1.0s

I think it's just new. That test didn't even register in other recent CI runs (e.g. gh-20805), but gh-20757 merged 9 hours ago, but now in gh-20807:
================================== FAILURES ===================================
______________ TestDifferentialEvolutionSolver.test_strategy_fn _______________
[gw0] win32 -- Python 3.12.3 C:\hostedtoolcache\windows\Python\3.12.3\x64\python.exe
Test passed but took too long to run: Duration 1.9525856999998723s > 1.0s

I'll look into that particular test tomorrow.

In #20757 TestDifferentialEvolutionSolver.test_strategy_fn was amended slightly to check that a user provided strategy worked with updating='deferred'. I think the test should be run in the fast and slow test suites.
Considering the other changes in the PR the added test runs faster now (508 ms) than it would've done before the PR (755 ms). So it's not a performance issue in the code, it's just that an extra check has been added. We could cut the number of iterations down to make it run faster, but for me this is in the noise. That it takes 2s in CI is negligible. This extra test didn't fail the runtime check in the PR so any fails will be sporadic.
It's now extra work to mark this test as pytest.mark.fail_slow. I think the trial policy to have tests run under a second is going create noise from sporadic fails that'll take extra work to quieten.

Ran across one that was missing from the original PR and fixed it in gh-20824. A few others that I might need to adjust are:

scipy/stats/tests/test_fit.py::TestFit::test_truncweibull_min
scipy/sparse/tests/test_base.py::Test64Bit::test_no_64
scipy/stats/tests/test_fast_gen_inversion.py::test_error_extreme_params
scipy/interpolate/tests/test_bsplines.py::TestSmoothingSpline::test_weighted_smoothing_spline
scipy/sparse/tests/test_base.py::TestCSC::test_slicing_3
scipy/stats/tests/test_resampling.py::TestPermutationTest::test_finite_precision_statistic
scipy/optimize/tests/test_optimize.py::TestOptimizeResultAttributes::test_attributes_present
scipy/optimize/tests/test_constraint_conversion.py::TestNewToOld::test_multiple_constraint_objects
scipy/sparse/tests/test_base.py::Test64Bit::test_resiliency_random

But I've been monitoring the variation between runs and most tests are reasonably consistent. For instance, tests on the list that took significantly more time on a recent CI run compared to the last run of the gh-20672 are:
Tests taking significantly more time:
18.02s -> 28.94s linalg/tests/test_extending.py::test_cython
1.28s -> 2.02s sparse/linalg/_isolve/tests/test_iterative.py::test_precond_inverse[poisson2d]
0.99s -> 1.79s optimize/tests/test__dual_annealing.py::TestDualAnnealing::test_from_docstring
0.91s -> 1.18s optimize/tests/test__dual_annealing.py::TestDualAnnealing::test_bounds_class
0.62s -> 0.83s spatial/tests/test_qhull.py::TestVoronoi::test_incremental[random-3d-chunk-1]
0.43s -> 0.54s optimize/tests/test_constraint_conversion.py::TestNewToOld::test_multiple_constraint_objects
0.4s -> 0.51s linalg/tests/test_matfuncs.py::TestExpM::test_gh18086
0.35s -> 0.49s sparse/tests/test_base.py::Test64Bit::test_resiliency_all_64[TestCSC-test_slicing_3]
0.33s -> 0.45s sparse/tests/test_base.py::Test64Bit::test_resiliency_limit_10[TestDOK-test_add_sub]
0.29s -> 0.43s optimize/tests/test__shgo.py::TestShgoArguments::test_21_1_jac_true
0.28s -> 0.39s special/tests/test_support_alternative_backends.py::test_support_alternative_backends[f_name_n_args3-numpy]
0.26s -> 0.38s sparse/linalg/_eigen/tests/test_svds.py::Test_SVDS_ARPACK::test_small_sigma_sparse[complex-shape1]
0.29s -> 0.37s special/tests/test_support_alternative_backends.py::test_support_alternative_backends[f_name_n_args6-numpy]
0.28s -> 0.37s sparse/linalg/_eigen/arpack/tests/test_arpack.py::test_hermitian_modes
0.28s -> 0.36s special/tests/test_support_alternative_backends.py::test_support_alternative_backends[f_name_n_args1-numpy]
0.26s -> 0.35s stats/tests/test_continuous_basic.py::test_cont_basic[500-burr-arg7]
0.25s -> 0.35s sparse/tests/test_base.py::Test64Bit::test_no_64[TestDOK-test_setdiag_comprehensive]
0.26s -> 0.34s interpolate/tests/test_rgi.py::TestRegularGridInterpolator::test_list_input[quintic]
0.25s -> 0.33s sparse/tests/test_base.py::Test64Bit::test_resiliency_random[TestCSR-test_add_sub]
0.25s -> 0.33s interpolate/tests/test_interpolate.py::TestNdPPoly::test_simple_4d

and all of the ones that take more than 0.55s have pytest.mark.fail_slow exceptions with plenty of buffer.

@rgommers to try to prevent any more failures due to variation in times, do you might if I just double the limits of everything I've put exceptions on so far when I address the ones above?

Yes, that sounds like a good idea.

From this log:
_______________ TestExpmActionSimple.test_scaled_expm_multiply ________________
[gw0] win32 -- Python 3.12.3 C:\hostedtoolcache\windows\Python\3.12.3\x64\python.exe
Test passed but took too long to run: Duration 1.026920699999664s > 1.

A timeout failure for scipy/_lib/tests/test__util.py::test_pool from this CI log:
__________________________________ test_pool __________________________________
[gw0] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 2.63190110000005s > 1.0s

scipy\linalg\tests\test_lapack.py::test_gejsv_general[1-1-0-1-3-float64-size0] from this CI log:
_________________ test_gejsv_general[1-1-0-1-3-float64-size0] _________________
[gw1] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 1.0877726999997321s > 1.0s

From this CI log:
scipy\stats\tests\test_sampling.py::test_random_state[NumericalInverseHermite-kwargs4]:
_____________ test_random_state[NumericalInverseHermite-kwargs4] ______________
[gw1] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 1.2308337999993455s > 1.0s

scipy\stats\tests\test_sampling.py::TestQRVS::test_QRVS_shape_consistency[3-d_out2-None-size_out0-qrng2-NumericalInversePolynomial]:
_ TestQRVS.test_QRVS_shape_consistency[3-d_out2-None-size_out0-qrng2-NumericalInversePolynomial] _
[gw1] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 1.267359999999826s > 1.0s

From this CI log:
scipy\optimize\tests\test__differential_evolution.py::TestDifferentialEvolutionSolver::test_immediate_updating:
___________ TestDifferentialEvolutionSolver.test_immediate_updating ___________
[gw0] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 1.3675756000002366s > 1.0s

From this CI log:
scipy\special\tests\test_extending.py::test_cython
 _________________________________ test_cython _________________________________
[gw0] win32 -- Python 3.12.4 C:\hostedtoolcache\windows\Python\3.12.4\x64\python.exe
Test passed but took too long to run: Duration 51.31201609999971s > 40s

From this CI log:
scipy\ndimage\tests\test_filters.py::TestThreading::test_median_filter[numpy]
___________________ TestThreading.test_median_filter[numpy] ___________________
[gw0] win32 -- Python 3.12.5 C:\hostedtoolcache\windows\Python\3.12.5\x64\python.exe
Test passed but took too long to run: Duration 1.553102299999864s > 1.0s

From this CI log:
scipy/stats/tests/test_sampling.py::TestNumericalInverseHermite::test_basic_truncnorm_gh17155
__________ TestNumericalInverseHermite.test_basic_truncnorm_gh17155 ___________
[gw0] win32 -- Python 3.12.6 C:\hostedtoolcache\windows\Python\3.12.6\x64\python.exe
Test passed but took too long to run: Duration 1.0116556000002674s > 1.0s

Yeah at this point failure of scipy\stats\tests\test_sampling.py::TestNumericalInverseHermite::test_basic_truncnorm_gh17155 has become pretty consistent, so I'll add an exception to that one.

Failure just observed in gh-21748:
 __________________________ test_map_coordinates_dts ___________________________
[gw0] win32 -- Python 3.12.7 C:\hostedtoolcache\windows\Python\3.12.7\x64\python.exe
Test passed but took too long to run: Duration 1.1165470000000823s > 1.0s

From gh-21860:
___________________ TestThreading.test_minmax_filter[numpy] ___________________
[gw0] win32 -- Python 3.12.7 C:\hostedtoolcache\windows\Python\3.12.7\x64\python.exe
Test passed but took too long to run: Duration 1.4764681999999993s > 1.0s

From gh-21496:
________________ test_pickle[NumericalInverseHermite-kwargs4] _________________
[gw0] win32 -- Python 3.12.7 C:\hostedtoolcache\windows\Python\3.12.7\x64\python.exe
Test passed but took too long to run: Duration 1.1260315999998056s > 1.0s

_________________ TestNumericalInversePolynomial.test_cdf[x1] _________________
[gw1] win32 -- Python 3.12.7 C:\hostedtoolcache\windows\Python\3.12.7\x64\python.exe
Test passed but took too long to run: Duration 1.0949972999997044s > 1.0s

From gh-21954
_______________ TestExpmActionSimple.test_scaled_expm_multiply ________________
[gw1] win32 -- Python 3.12.7 C:\hostedtoolcache\windows\Python\3.12.7\x64\python.exe
Test passed but took too long to run: Duration 1.526563200000055s > 1.0s

From this log:
________________________ test_cont_fit[MLE-nct-arg78] _________________________
[gw0] win32 -- Python 3.10.11 C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe
Test passed but took too long to run: Duration 6.988128999999844s > 5.0s

On M3 ARM mac I see this one pretty often after bumping to latest OS, 15.2 I think:
================================================== FAILURES ===================================================
_____________________________________________ test_quad_vec_pool ______________________________________________
[gw7] darwin -- Python 3.12.3 /Users/treddy/python_venvs/py_312_scipy_dev/bin/python
Test passed but took too long to run: Duration 10.467066458979389s > 10s
=========================================== short test summary info ===========================================
FAILED scipy/integrate/tests/test__quad_vec.py::test_quad_vec_pool
=================== 1 failed, 58698 passed, 3734 skipped, 193 xfailed, 12 xpassed in 58.94s ===================


lograge does not install alongside rails5 rc2

..since
lograge (= 0.4.0.rc1) was resolved to 0.4.0.rc1, which depends on railties (<= 5.0.0.rc1, >= 4)

I guess changing the dependencies from "<= 5.0.0.rc1" to "< 5.1" would resolve that issue satisfactorily.

@radiospiel Give me a few moments and I'll have a compatible release. 👍


dev-amdgpu: Handle GPU atomics on host memory addresses

It is possible to execute a GPU atomic instruction using a memory address that is in the host memory space (e.g, HMM, managed, hipHostMalloc'd address). Since these are in host memory they are passed to the SystemHub DmaDevice. However, this currently executes as a write packet without modifying data. This leads to hangs in applications that use atomics for forward progress (e.g., HeteroSync).
It is not clear where these are handled on a real GPU, but they are certainly not handled by the software stack nor driver, so they must be handled in hardware and therefore implemented in gem5. Handling for atomics in the SystemHub makes the most sense.
To make atomics work a few extra changes need to be made to the SystemHub. (1) The atomic is implemented as a host memory read, followed by calling the AtomicOpFunctor, followed by a write. This requires a second event to handle read response, performing atomic, and issuing a write. (2) Atomics must be serialized otherwise two atomics might return the same value which is incorrect. This patch adds serialization logic for all request types to the same address to handle this. (3) With the added complexity of the SystemHub, a new debug flag explicitly for SystemHub is added.
Testing done: The heterosync application with input "sleepMutex 10 16 4" previously hung before this patch. It passes with the patch applied. This application tests both (1) and (2) above, as it allocates locks with hipHostMalloc and has multiple workgroups sending an atomic request in the same Tick, verifying the serialization mechanism.
Change-Id: Ife84b30037d1447dd384340cfeb06fdfd472fff9

Also I think this only works for GPUFS, right?

Also I think this only works for GPUFS, right?

Yes, that is correct.  In general anything in src/dev/amdgpu is full system only


Numpy datatype issue

Hi,
I was just trying to run the face_decompose example, but I get the output below. Seems like there is an issue recognizing datatypes in numpy ? I'm using numpy/sklearn/nilearn and never experienced this before.
thx
Nico
`Dataset consists of 400 faces
Extracting the top 18 MODL...

TypeError                                 Traceback (most recent call last)
 in ()
93                    random_state=2,
94                    callback=cb)
---> 95 estimator.fit(data)
96 train_time = (time.time() - t0)
97 print("done in %0.3fs" % train_time)
/home/nfarrugi/anaconda2/envs/fmri_new/lib/python2.7/site-packages/modl/dict_fact.pyc in fit(self, X, y)
244             Dataset to learn the dictionary from
245         """
--> 246         X = self.prefit(X, reset=True)
247         if self.max_n_iter > 0:
248             while self.n_iter[0] + self.batch_size - 1 < self.max_n_iter:
/home/nfarrugi/anaconda2/envs/fmri_new/lib/python2.7/site-packages/modl/dict_fact.pyc in _prefit(self, X, reset, check_input)
262                     "with backend == 'python'")
263
--> 264             self._init(X)
265             self._init_arrays(X)
266         if check_input:
/home/nfarrugi/anaconda2/envs/fmri_new/lib/python2.7/site-packages/modl/dict_fact.pyc in init(self, X)
184         self.counter = np.zeros(n_cols + 1, dtype='int')
185
--> 186         self.n_iter_ = np.zeros(1, dtype=np.long)
187
188         self.code_ = np.zeros((self.n_samples_, self.n_components))
TypeError: data type "long" not understood`

ps : in the code above I had tried to put
 self.n_iter_ = np.zeros(1, dtype=np.long)
instead of
 self.n_iter_ = np.zeros(1, dtype='long')
but this generates the same error

Seems like my numpy installation was messed up, now I'm getting a different error when importing DictMF.
`---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
 in ()
1
----> 2 from modl.dict_fact import DictMF
/mnt/campus/git/modl/modl/dict_fact.py in ()
11 from sklearn.utils import check_random_state, gen_batches, check_array
12
---> 13 from modl._utils.enet_proj import enet_projection, enet_scale, enet_norm
14 from .dict_fact_fast import _get_weights,
15     dict_learning_sparse, \
/mnt/campus/git/modl/modl/_utils/enet_proj.py in ()
8 from sklearn.utils import check_array
9
---> 10 from .enet_proj_fast import enet_norm as c_enet_norm
11 from .enet_proj_fast import enet_projection_inplace
12
ImportError: No module named enet_proj_fast
`
I guess this is related to the fact that the build is not complete (6 tests fail out of 20) ?


Non-unique DOM elements on the My Dashboard page

If you login and go to the My Dashboard page (you must have more than one plan), you will see the following warning in the console:

We should update the identifiers by giving the forms a namespace
The same is also happening on the Users page

I don't think this is an issue anymore - possibly after the validations work.

Close out if legacy.

agreed. I'm not seeing these errors any longer


<EMAIL_ADDRESS>decompress error

geany is not installing correctly on my setup.  I have lessmsi installed and the system 7zip installed.  The installation fails with Extracting dl.7z ... ERROR Exit code was 2!. Going into the installation folder and manually extracting dl.7z, 7z is tripping up on a single file: ERROR: Can not open output file : Access is denied. : .\data\filedefs\filetypes.abc.

@zoof can you clear the cache directory and reinstall geany?

Yes.  I cleared the geany cache and tried to reinstall with the same error.  Then I cleared the entire cache and tried to reinstall, again with the same error.

See https://github.com/ScoopInstaller/Scoop/issues/4647


NoSuchMethodError in LogicalPlan

We are having the following issue while upgrading from EMR 5.28 to 5.29. Both EMR versions support Spark 2.4.4.  We rolled back due to this issue. is this issue specific to EMR the way packaging spark jars? Any idea?
: java.lang.NoSuchMethodError: org.apache.spark.sql.catalyst.analysis.Analyzer.execute(Lorg/apache/spark/sql/catalyst/plans/logical/LogicalPlan;)Lorg/apache/spark/sql/catalyst/plans/logical/LogicalPlan;
at org.apache.spark.sql.delta.util.AnalysisHelper$class.tryResolveReferences(AnalysisHelper.scala:33)
at io.delta.tables.DeltaMergeBuilder.tryResolveReferences(DeltaMergeBuilder.scala:121)
at io.delta.tables.DeltaMergeBuilder$$anonfun$1.apply(DeltaMergeBuilder.scala:228)
at io.delta.tables.DeltaMergeBuilder$$anonfun$1.apply(DeltaMergeBuilder.scala:228)

This looks like a EMR specific issue. This is in Apache Spark 2.4.4: https://github.com/apache/spark/blob/v2.4.4/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L118

We are also experiencing this issue with EMR 5.29. When writing to S3, merge operations fail with that exception. Overwrite operations are not impacted.

This is unfortunately something you will probably have to raise with the EMR team. As they often don't upstream their changes to Spark, it is not really possible for other projects to figure out what changes they are making internally. As @zsxwing points out, it does look like the missing API is part of Apache Spark 2.4.4. I'm not sure why EMR is choosing to remove / change it.

We are also experiencing the same issue with EMR version  5.29.0, and after downgrading to version  5.28.0 everything started working as expected.

I just got an update from the EMR team, it will be fixed in EMR 5.30.0. There is no ETA when that will be released. I think this issue can be closed.

@kkr78 thank you for the update!

Also a problem in EMR 6.0.0 for the interested.

Double confirm, still exists in EMR 6.0.0.

Hi, I'm the engineer on EMR who actually caused and fixed this problem. (So sorry!) Unfortunately, emr-6.0.0 was already released by the time we became aware of this issue in emr-5.29.0 and fixed it for emr-5.30.0, so this is why it is still present in emr-6.0.0. Rest assured that it will be fixed in both emr-5.30.0 and emr-6.1.0 when they come out.

No problems. ETAs for both versions?

@ejono Thank you very much for confirming the fix versions. Any ETA would be great!

Sorry, but I'm unable to provide ETAs.

5.30 seems to be out, for the interested. Will test and see.

Have tested this on 5.30, the merge operation now works 🥳

@Antauri @guyneedhamcanva  thank you for confirming!


Add glidein restrictions tweak for the relval agent

Still need to be tested.

Just updated the site thresholds as well, since we've the condor overflow mechanism in place, having more jobs in the local condor queue is useful (these thresholds are already in production for quite a bit)

I also added the bash script to restart ErrorHandler (while we sort out that issue).
It's tested, so I'm merging it.


the port 8000 is still running after the window is closed

Eel version
0.11.0.
Describe the bug
the port 8000 is still running after the window is closed
i am using Ubuntu18.04
Myprogram is
main.py:
import eel
eel.init('front')
eel.start('index.html')
Foldername:front
index.html:

Hello World

after i closed the window the port is still running:

I dived pretty deep on this and still could not move past this. Some things I tried (for those the come behind me).
I (locally) modified eel/init.py :

to have it's own version of GeventWebSocketServer where the server kept a reference
to keep that server as a global
to pass that server in as a parameter to the bottle run
added a onclose hook that called eel.server.stop()
confirmed the close propagated all the way to gevent._socket3.close

Looked at my netstate and still saw the eel port with an established connection.
So, I'm at a loss on how to proceed and expect that I will switch to calling eel in a subprocess so that I can be sure it will close the port.

In the aspect of my project i overcame the error by the following process.
https://github.com/chelladuraimohanraj/eel-closer.git
i think it might be helpfull

i solved it early since i am new to github so i dont know how to request for a push on your code

Ah, my problem was more that the port stayed open in the same interactive session after the UI closed, so in my case I can't kill the process.
We run python as a command line interface, and so if someone starts up a 2nd shell it won't be able to display the UI (even if the first one is closed).
I think I'm going to go with copying my web app to the temp dir and randomly change the port...

Good luck ...

Glad to hear that you got to the bottom of the problem - sorry you had this issue. Try upgrading to the latest version of Eel if you continue to have difficulty with the server closing down by itself. :)


Add Bogo Sort in PowerShell

I've just noticed that I already created a PR with Bogosort in Powershell (#629). I'll close the old PR because this implementation is a much better example on how to use pipelines in PowerShell.

[lang: powershell]

Hi, we're not currently accepting sorting algorithm PRs, so I'm gonna close this one.


nrocli: validation fixes and retargeting

enhance (and rename, since it's only supposed to validate) nrocli to detect NRT misconfiguration, even though only the most glaring.
Add along the way some fixes for the existing functionality, and options to be friendlier for integration and testing.
With these ehnancements, nrovalidate (formerly nrocli) can now detect and report incompatible environments, meaning environments on which NROP can be deployed but it will do nothing useful.

/retest

/retest

/retest

/retest

/lgtm
thanks!

/retest

/retest

/lgtm
/approve
Thanks


Removed eclipse plugin

The eclipse plugin is not mentioned in the README instructions/documentation, nor does it seem to be required to run this effectively, just a thought from a beginner

@thacherT1D Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

please remove eclipse plugin


[#166927205][Do not merge] Enable SSO uplift journey for non-GDS Google users

What
This modifies the Google SSO uplift process so non-GDS users can enable Google SSO. It removes any GDS user validation and configures the OIDC flow so the UAA username is mapped to the Google token sub during the uplift process.
How to review

Code review
Deploy to your dev env

Please do not merge
Who can review
Not me

This should be deployed before the migration script from https://github.com/alphagov/paas-cf/pull/1994. If not, users will end up relying on matching emails to sign in (reasoning is awkward to explain), which a later story may break.


Add button to mark item as large image.

I'm thinking this could just be a button added on to each .g-file-list-entry to "mark this as a large image", which will kick off the POST request. Since MIME types are a bit unreliable in Girder at the moment, I'm thinking it should be available for every listed file.
Once the large image exists, the button should change to only be present on the active large image, and allow a DELETE request to be sent (as well as to signify which image is marked).
It would also be nice to have a special signifier for when an image creation task is pending (i.e. item.largeImage.expected == true)/

Should there be an option to show this or not (like controlling whether we show thumbnails and the viewer via settings)?

IMO, no. These should be tiny, non-intrusive icons that directly map to the REST endpoints that the plugin provides.

Added in PR #43.


Add support for updating CHANGELOG.md

Depends on #32

@cmurphy, @mcanevet rebased on new #32

Could you add documentation to the readme? I was surprised at the behavior of only adding the most recent change to the changelog. It makes sense given your usecase from #32 but it should be documented.

Updated and added some doc.


error: attribute 'kernelAtLeast' missing

Describe the bug
When i try to rebuild my mobile nixos on the pinephone from latest unstable channel i get this error.
...
error: attribute 'kernelAtLeast' missing

       at /nix/store/9qk04qfc1vxa59h5ncdgyfch16bbbbyp-nixos/nixos/pkgs/top-level/linux-kernels.nix:249:42:

          248|   packagesFor = kernel_: lib.makeExtensible (self: with self;
          249|     let callPackage = newScope self; in {
             |                                          ^
          250|     inherit callPackage;
(use '--show-trace' to show detailed location information)

This issues is not present at 17c252aab1772d36acd6d3f57f6512f25b6f9e9c.
Steps To Reproduce
Steps to reproduce the behavior:

boot Pinephone from image https://davidak.de/tmp/gs6kzw3vhpdwkrmzk6wxd68fhap6hsdr-pine64-pinephone_full-disk-image.img
create config
nixos-rebuild

Expected behavior
no errors
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata

system: "aarch64-linux"
host os: Linux 5.17.5, NixOS, 22.05 (Quokka), 22.05.git.9e47e609715
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.8.0
channels(root): "nixos"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Bisected this to 8aa8e0ce7f137fe329608efcbb3494a5e6a63f42.

I think this is better fixed in mobile-nixos.


Clang compiler complains about initialization order in CSP 5.2.0+536 on M1 mac

Describe the bug
When building an application that uses CSP 5.2.0, the following compiler warning is issued:
In file included from ./include/CSP/Systems/Settings/SettingsSystem.h:21:
./include/CSP/Systems/Settings/SettingsCollection.h:105:5: warning: field 'Type' will be initialized after base 'csp::systems::ResultBase' [-Wreorder-ctor]
: Type(AvatarType::None), csp::systems::ResultBase(ResCode, HttpResCode) {};
^~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
csp::systems::ResultBase(ResCode, HttpResCode) Type(AvatarType::None)
1 warning generated.
To Reproduce

Create an application that uses the CSP libraries
Build the application on an Apple Silicon Mac
Notice the warning

Expected behaviour
No warning is emitted when building a CSP application
CSP version (please complete the following information):
5.2.0+536
Language:
C++
Desktop (please complete the following information):
OSX on Apple Silicon

Thanks @kevinmagnopus - we'll likely get this fixed in the next couple weeks.

Fixed in #550. Thanks for reporting this!


chart event click is not working with Swiper.js (Angular)

Bug report
The chart event is not triggered with Swiper.js.
Codepen
https://codesandbox.io/s/area-datetime-x-axis-forked-52hs4?file=/src/app/app.component.html
or
https://stackblitz.com/edit/swiper-apexchart?file=src/app/app.component.ts
Explanation
I also change Swiper parameters preventClicks and preventClicksPropagation as false, but It is still not working.
<swiper [preventClicks]="false" [preventClicksPropagation]="false">

without Swiper.js, it works fine.

Integration with 3rd party components is outside the scope of apexcharts. I would submit an issue on the swiper repo for help with their product