Revoke access token if password is changed

If the user changes his/her password, the old access tokens can still be used until it expired.
How to make access tokens invalid if username or password is changed. #59 !
I built a multi-platform project that I need to logout users from other devices after changing their password
also revoking access token when a user logout. thanks

Is Blacklist Token not enough for you?

Access tokens, by definition can not be blacklisted. There is no database hit to check access tokens. Only basic decoding/encoding.
You need to blacklist corresponding refresh tokens. The expiry time of access tokens should be reasonably small so that anyone who gets access token can use it only for a short duration without the refresh token.

a lot of thanks for you!
On Sat, Dec 14, 2019 at 6:10 PM Adwait Thattey<EMAIL_ADDRESS>wrote:

Access tokens, by definition can not be blacklisted. There is no database
hit to check access tokens. Only basic decoding/encoding.
You need to blacklist corresponding refresh tokens. The expiry time of
access tokens should be reasonably small so that anyone who gets access
token can use it only for a short duration without the refresh token.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davesque/django-rest-framework-simplejwt/issues/141?email_source=notifications&email_token=AEUGRUMM6KMPZ7XW4V5FFZTQYTV5NA5CNFSM4IGMWVG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4EDVQ#issuecomment-565723606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUGRUPMVH6YKNIVIHYIMFLQYTV5NANCNFSM4IGMWVGQ
.


Update cluster-intro.html

@Kesavkrish01 Thanks you for your contribution.
Could you please sign the CLA before the PR can be reviewed.
You can follow the steps documented here: https://git.k8s.io/community/CLA.md

/close


Unsure how to use apollo-live-client for live subscriptions

Hi,
I have a subscription going with apollo-live-server which I can test with GraphiQL:
subscription {
  groups {
    event
    doc {
      _id
      name
    }
  }
}

However, it is not clear how to use the apollo-live-client. I am using it in a react-native environment. I have set up the websocket link correctly, I believe:
// our websocket link for subscriptions
const wsLink = new WebSocketLink({
  uri: constants.GRAPHQL_SUBSCRIPTION_ENDPOINT,
  options: {
    reconnect: true,
    connectionParams: () => ({
      [constants.AUTH_TOKEN_KEY]: getLoginToken() // this is asynchronous
    })
  }
});

// concat our link for a subscription link which uses websocket
const subscriptionLink = ApolloLink.from([errorLink, wsLink]);

// now use split to choose the correct link for subscription vs method
const link = split(({query}) => {
  const {kind, operation} = getMainDefinition(query);
  return kind === "OperationDefinition" && operation === "subscription";
}, subscriptionLink, methodLink);

Regular queries work fine, but I haven't gotten subscriptions to work yet. Here is what I am using. I am sure it's wrong. Any help will be appreciated:
const GET_GROUPS = gql`
  query {
    groups {
      _id
      name
    }
  }
`;

const SUBSCRIBE_GROUPS = gql`
  subscription {
    groups {
      event
      doc {
        _id
        name
      }
    }
  }
`;

  render() {
    return (
      <Container>
        <Content>
          <ReactiveQuery
            query={GET_GROUPS}
            subscription={SUBSCRIBE_GROUPS}
          >
            {({data: {groups}, loading, error}) => {
               if (loading) return <Text>
                                     Loading
                                   </Text>;
               if (error) return <Text>
                                   {error}
                                 </Text>;

               return <Text>
                        {JSON.stringify(groups)}
                      </Text>;
             }}
          </ReactiveQuery>
        </Content>
      </Container>
      );
  }

What gets rendered is the just the query results, but I don't see the subscription updates coming in.
How do I debug this?
Thanks!

OK, the subscription request doesn't even seem to be getting to the server...need to debug that...

It seems the websocket connection to the server is closing immediately. I tried command line utilities like wsc and wscat to connect to ws://localhost:3000/subscriptions.
wscat -c ws://localhost:3000/subscriptions                                                                                ✘ 255 feature/infrastructure ✚ ✱
connected (press CTRL+C to quit)
disconnected

wsc ws://localhost:3000/subscriptions                                                                                feature/infrastructure ✚ ✱
Connected to ws://localhost:3000/subscriptions
> Connection closed

But GraphiQL can connect via browser. Doesn't GraphiQL also use websockets for subscriptions?

Actually, I don't think the websocket issue is the problem. I used react-native-websocket to open a websocket from within my app to ws://localhost:3000/subscriptions, and it worked. A socket is created and opened and does not immediately close.
However, the subscription request does not reach the subscription resolver on the server, so either there is a problem with the WebSocketLink or with the subscription query.

@ujwal-setlur I would first advise you to test a barebones subscription, without apollo-live-client to make sure it works properly. Maybe there are certain security rules that prevent websocket connections ?

@ujwal-setlur to make sure this works, can you run your subscription in GraphiQL ? It should work automatically. If all works there I think the problem may be on RN side

@theodorDiaconu, actually I tried that. That is not working either, My app actually crashed when I tried something like this:
const observable = client.subscribe({ query: SUBSCRIBE_GROUPS });
const subscription = observable.subscribe({ <--- this crashed the app
  next({ data }) {
    // data is your payload
    // do something with it
  },
});

Continuing to debug...

@theodorDiaconu, yes, as I said in the initial problem report, subscription via GraphiQL works so the server side is set up fine, I believe.

@ujwal-setlur In that case there's something going on at RN level... something acting up with the client, what is the error ? why is your app crashing ?

Will post the code and error in a few mins

Actually, the code is not crashing anymore. Maybe I had it in the wrong place before. This is what I have in my component:
export default class MyComponent extends Component {
  constructor(props) {
    super(props);
  }

  componentDidMount() {
    this.subscribeGroups();
  }

  subscribeGroups() {
    console.log("subscribing groups");
    const observable = this.props.client.subscribe({
      query: SUBSCRIBE_GROUPS
    });
    const subscription = observable.subscribe({
      next({data}) {
        console.log("got data");
        // data is your payload
        // do something with it
      }
    });
  }

  render() {
    return (
      <Container>
        <Content>
          <ReactiveQuery
            query={GET_GROUPS}
            subscription={SUBSCRIBE_GROUPS}
          >
            {({data, loading, error}) => {
               if (loading) return <Text>
                                     Loading
                                   </Text>;
               if (error) return <Text>
                                   {error}
                                 </Text>;

               return <Text>
                        {JSON.stringify(data)}
                      </Text>;
             }}
          </ReactiveQuery>
        </Content>
      </Container>
      );
  }
}

The code does not crash, but I don't see the subscription reaching the server side. It makes me think the ws link is not set up right?

This is the crash I got on iOS. I got it before on Android as well, but then it went away. Very confusing...

Show me your typeDefs, how you define this server-side, and also the resolvers

OK, I identified the culprit! I was setting an option for the Meteor auth token in the WebSocketLink, but it was with an asynchronous call:
const wsLink = new WebSocketLink({
  uri: constants.GRAPHQL_SUBSCRIPTION_ENDPOINT,
  options: {
    reconnect: true,
    connectionParams: () => ({
      [constants.AUTH_TOKEN_KEY]: getLoginToken() // <-- This asynchronous call caused the problem!
    })
  }
});

I had patched subscriptions-trasnport-ws to allow for async calls to set header per https://github.com/apollographql/subscriptions-transport-ws/pull/348, but clearly this is not working. When I just use:
const wsLink = new WebSocketLink({
  uri: constants.GRAPHQL_SUBSCRIPTION_ENDPOINT,
  options: {
    reconnect: true
  }
});

then things work! I will have to figure out another way of setting the async auth header.
Thanks for the help!

@ujwal-setlur here you go:
import { AsyncStorage } from 'react-native'
import ApolloClient from 'apollo-client'
import { HttpLink } from 'apollo-link-http'
import { setContext } from 'apollo-link-context'
import { InMemoryCache } from 'apollo-cache-inmemory'
import {
  from,
} from 'apollo-client-preset'

export function initialize() {
  const httpLink = new HttpLink({
    uri: 'http://<IP_ADDRESS>:3000/graphql',
  })

  const authMiddleware = setContext(() =>
    AsyncStorage.getItem('Meteor.loginToken').then(loginToken => ({
      headers: {
        'meteor-login-token': loginToken,
      },
    })))

  const client = new ApolloClient({
    link: from([authMiddleware, httpLink]),
    cache: new InMemoryCache({
      dataIdFromObject: object => object._id || null,
    }),
  })

  return client
}

Sorry, I now realise that this approach wouldn't work for Websockets, but I think with websockets the logic is that you can use getLoginToken() that reads from somewhere, and when that something changes, just reconnect. And problem solved. Also if you do solve this, would you be kind enough to submit a PR updating docs in here ? If not just leave the solution here so others won't head into this issue.

@theodorDiaconu, will do! Thanks a lot for your help and attention!

@theodorDiaconu, this works for me:
const wsLink = new WebSocketLink({
  uri: constants.GRAPHQL_SUBSCRIPTION_ENDPOINT,
  options: {
    reconnect: true,
    connectionParams: () => ( // a promise that resolves to return the loginToken
    new Promise((resolve, reject) => { // eslint-disable-line no-undef,no-unused-vars
      getLoginToken().then(token => {
        if (token) {
          resolve({
            [constants.AUTH_TOKEN_KEY]: token
          });
        } else {
          resolve({
            [constants.AUTH_TOKEN_KEY]: ""
          });
        }
      });
    })
    )
  }
});

When login token changes, reset the websocket connection:
wsLink.subscriptionClient.close(true, true);
wsLink.subscriptionClient.tryReconnect();

at the appropriate place.

I will open a documentation PR soon.

All issues reported here have been resolved. None of them were issues with this package. Closing.


PR Template: Fix typos, rephrase things, eliminate redundant section

Hi @mslarae13, here are some changes I propose to the PR template in https://github.com/microbiomedata/berkeley-schema-fy24/pull/217. I created this PR instead of directly committing these changes onto the branch you're working on. If you want to adopt these changes, you can merge this PR branch into that branch.

You can view the "rendered" version of the PR template, here:
https://github.com/microbiomedata/berkeley-schema-fy24/blob/eecavanna-patch-1/.github/PULL_REQUEST_TEMPLATE/pull_request_template_berk.md

Actually, I want to wrap this up. I'm going to merge and I'll make the change from light to soft in my branch


Show the preset configuration options at the landscape screen

Add a select box to the landscape screen with the preset configurations. The modules should be automatically selected after choosing one of the preset configurations.
See https://github.com/jhipster/jhipster-lite/issues/9491 description for the complete roadmap.

FYI: I am currently facing a learning curve with the Tikui framework to add style to the component. I've already implemented the preset configuration behavior.

Here is a demo of using the preset configurations 😃💙:
https://github.com/user-attachments/assets/8ef6389f-a363-42a4-b78d-88e9bf0f5389

@pascalgrimaud: Bounty Claimed https://opencollective.com/generator-jhipster/expenses/215555. Thanks 😀✌


[WIP] Utilization Donut Chart Component

Description
Implementation for utilization donut chart component.
Create a CPU Utilization Component, which is not embedded in a Card:

color changes based on thresholds
optional details are shown
optional details can be stacked horizontally, after the chart
optional details can be stacked vertically

In Progress Checklist

[x] Unit tests
[x] CSS styling for labels
[x] Clean up and line endings
[x] Evaluate focusing on use of a C3 chart config instead of individual attributes, similar to existing chart components
[x] Evaluate transcluded label instead of "parameterizing" and "concatenating" them

PR Checklist

[x] Unit tests are included
[x] Screenshots are attached (if there are visual changes in the UI)
[x] A Designer is assigned as a reviewer (if there are visual changes in the UI)
[x] A CSS rep is assigned as a reviewer (if there are visual changes in the UI)
[ ] Amend commit for continuous integration

Updated

Previous

Hi David, how is this component different from the current donut chart?   It seems very similar, just wondering why we could enhance the already existing component?
Thanks,
Dave

@Dtaylor that's correct most of this component is a pass through directly for the existing donut charts.
Funny enough have an initial version that just adds a couple of additional attributes on top of the pct donut but the sizing was awkward.
Overall the difference are around label placement, minor sizing, and center label customizing... all things that a user can potentially do with the config, but with short-cuts/settings/properties instead.
Sizing and placement were/are the more bothersome properties to deal with and one of the reasons for separating it out. Now that understand how sizing functions I can look at what converting this version would take, since it sounds like we're good with the add on approach.

@dtaylor113 have part of your input, @jeff-phillips-18 do you have input on...

Adding to the existing pct-donunt chart component?

And both...

The idea that a large percentage of this component, as is, is just structuring the "config" in a customized way, and that perhaps just placing an updated demo might be enough?
Here's a quick snapshot of the intention behind it...

@cdcabrera agree with the approach of updating the existing donut chart rather than create a new component

good good @serenamarie125 , @beanh66 @cshinn

aspects of the initial design layout can start to be viewed, used flex to layout the columns. There's an initial screen shot, which when compared to the request is missing some bold and sized text

@beanh66 @cshinn your input on

adding to the existing component vs writing a new one, that's really really close to the old one.

@cdcabrera, you are right that we already have an attribute called 'center-label' which can have values 'used', 'available', 'percent', and 'none', so it sounds like setting it to 'percent' will correctly set the center label.  The issue is how can we bundle the 'side labels' so that it's easy for app. dev to customize/specify.
I would suggest adding a config option, something like 'side-label': {
position: 'left' / 'right',
title: 'Storage',
type: percent, used, available  (?),
format: full ('of m GB used'), idk, just spitballing here :-)
}

@cdcabrera I agree with enhancing the existing component.

@amarie401 for reference

Is this still WIP or ready for final reviews?

@jeff-phillips-18 et all, it's close to final can remove the WIP just...

need some for/against input on how the additional config option is structured on top of the existing donut
any minor design concerns

Then i'll rebase and amend the commit message

@dtaylor113 @jeff-phillips-18 since both commented on the Less, I'll go ahead and move it over to PF core for this update. If there are any additional PCT Donut styles that don't fall into the SVG/C3 manipulate I can try to move those as well.

Went ahead and separated out the Pct Donut Less towards core Pf, see this PR 720

Hi @cdcabrera, I feel like the ngDoc has somewhat gotten somewhat munged (if that is a word :-).  Previously, the top row was showing the different Thresholds, the middle row was the different center-labels, the last row was some custom stuff:

With your current changes, the first row is now showing Thresholds and some custom label placements, and I think different donut sizes(?).  However, there is no ngDoc help text or labels to denote what is being displayed in the first row:

I would suggest leaving the first row to denote the different Thresholds and add a new row which clearly describes the different/new label customizations and placements you are introducing.
Thanks,
Dave

@dtaylor113 can add a dedicated row for sure

This PR is dependent on core Patternfly PR 720

@dtaylor113 the revised layout linked to Patternfly core PR 720

The associated core PatternFly PR 720 has been merged, you'll need to update your packages to see the CSS update

@cdcabrera Perfect!  Exactly what I was envisioning.


Type error: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'.

The version of Ajv you are using
8.12.0
Operating system and node.js version
13.4.1 Ventura  node v16.15.1
Package manager and its version
8.11
Link to (or contents of) package.json
"dependencies": {
"ajv": "^8.12.0",
"autoprefixer": "10.4.14",
"eslint-config-next": "13.4.4",
"guid-ts": "^1.1.2",
"lodash": "^4.17.21",
"next": "13.4.4",
"next-api-decorators": "^2.0.2",
"path-to-regexp": "^6.2.1",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"rxjs": "^7.8.1",
"tailwindcss": "3.3.2"
},
"devDependencies": {
"@types/lodash": "^4.14.195",
"@types/node": "20.2.5",
"@types/react": "18.2.8",
"@types/react-dom": "18.2.4",
"eslint": "8.42.0",
"ts-json-schema-generator": "^1.2.0",
"typescript": "5.1.3"
}
Error messages
./node_modules/ajv/lib/ajv.ts:41:3
Type error: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'.
39 |
40 | export {

41 |   Format,
|   ^
42 |   FormatDefinition,
43 |   AsyncFormatDefinition,
44 |   KeywordDefinition,

The output of npm ls
The errors in fact is during the project build, but it cause of Nextjs dependency which sets the TS isolated modules to true during compilation all the time.

Same problem here. We could try just renaming/splitting out the re-exported types in ajv.ts to use the keyword export type { BlaBla }, but I'm a little confused about why we're hitting ajv.ts anyway, instead of dist/ajv.js and dist/ajv.d.ts. Looking into that.

Ah, okay: I was importing ajv types from "ajv/lib/types". That URL came from vscode Intellisense, in my case. The lib directory is included in the release because it is listed under files in package.json.
If we made sure to import from "ajv" instead, the entry points defined in the package.json gets us into dist. No error during the Linting and checking validity of types... stage of next build 😊

@jcamden You're right thanks a lot for pointing on that.
import { ValidateFunction } from 'ajv';  // instead of ajv/lib/types
fixed the problem


Helper to merge identical case-insensitive tags

I changed TAGGIT_CASE_INSENSITIVE to True in my settings file. But the taggit_tag table has already been populated with case-insensitive duplicates on my production database. This situation also causes python errors or tags to stick when saving django models which contain two duplicate tags (e.g. MyTag and mytag). Fair enough this situation shouldn't occur in the first place so that's not really a bug.
However it would be nice to provide an API function and a django manage.py command to merge duplicate tags and references. This could then be easily called from my own database migration scripts and fixed automatically on various instances that currently need this change.

For me the issue is not just case-wise duplicates, also people might be using different terms for the same thing or just different ways to write (CamelCase, snake-case, Space case ... etc, or just common typos)
I'd love a functionality where I could turn a Tag into a DuplicateTag object.
Something like:
class DuplicateTag(TagBase):     duplicate_of:Tag      class Meta:         verbose_name = _("Tag")         verbose_name_plural = _("Tags")         app_label = "taggit"
Where the duplicate_of field just refers to the Tag which should be chosen instead of that one.
Example Case:
The tag people are supposed to use would be "Cyber Hopping".
In reality all these will be also used: CyberHopping, Cyberhopping, Cyber-hopping, Cyber hopping....
Being able to mark/transform the latter Tags as/into a duplicate of another would help greatly to keep things clean.
This is just an idea, if that's appreciated by the contributors, or if they have/want/plan a different solution please let me know. I might just start to toy around trying to put this one into code at some point.

I would like a generic Tag:mergeInto(Tag) function that initially just nukes the source tag and reparents all the content on the target tag. That would save me from having to write and test such a function myself.


Adding mpi_force_c_code feature

Adding C code for mpi so that LVI passes can be optimized.

Please bump patch versions in Cargo.toml

bors r+


List of studies that have used this data

This goal of this issue is to compile a list of studies that have used our model free data.

Learning Vector Quantization with Local Adaptive Weighting for Relevance Determination in Genome-Wide Association Studies
Flavia R B Araujo, Hansenclever F Bassani, Aluizio F R Araujo
Neural Networks (IJCNN) (2013) DOI: 10.1109/IJCNN.2013.6707040

To evaluate the scalability of DSEL-LVQ we considered the datasets described in [22] with interactions of three, four and five SNPs. However, these datasets included only the relevant SNPs, therefore, to produce datasets with 20, 50 and 100 SNPs, we selected randomly 800 and 1600 individuals from [22] and combined them with irrelevant SNPs (noisy data) randomly selected from [21]. This resulted in 100 data files for each combination of population sizes, numbers of interacting SNPs and number of irrelevant SNPs, all equally balanced in cases and to controls.

Cuckoo search epistasis: a new method for exploring significant genetic interactions
M Aflakparast, H Salimi, A Gerami, M-P Dubé, S Visweswaran, A Masoudi-Nejad
Heredity (2014) DOI: 10.1038/hdy.2014.4

We also used Himmelstein data sets with three to five functional SNPs, which had been generated with no predefined genetic models, to evaluate methods in identifying higher order interactions. For any interaction order, the data folders consisted of 100 data sets each having 1500 cases and 1500 controls for a SNP number as high as the considered interaction order. Assuming Hardy-Weinberg equilibrium proportions and MAF of 0.5, we randomly generated additional SNP data to embed with the Himmenstein data using a multinomial distribution. After embedding Himmelstein data with our generated data sets, the resulting data sets for any interaction order contained 1000 SNPs for 3000 samples. These data sets are available online from http://discovery.dartmouth.edu/model_free_data/.

CINOEDV: a co-information based method for detecting and visualizing n-order epistatic interactions
Junliang Shang, Yingxia Sun, Jin-Xing Liu, Junfeng Xia, Junying Zhang, and Chun-Hou Zheng
BMC Bioinformatics (2016) DOI: 10.1186/s12859-016-1076-8

For assessing the capability of CINOEDV in inferring higher order epistatic interactions from the epistasis hypergraph, four models are used that have been developed previously [49, 50], namely, Three − 1, Three − 2, Four and Five. Three − 1 is a model of 3-order epistatic interaction displaying both marginal effects and interaction effects. Three − 2 is a pure model of 3-order epistatic interaction, where the association to the phenotype is only observable when all 3 ground-truth SNPs are considered together, that is, no main effects and no pairwise epistatic interactions. Similarly, Four and Five are models of 4-order and 5-order epistatic interactions, each displaying no main effects and no 2-order interaction effects. For each corresponding data set also generated by epiSIM [44], 1500 cases and 1500 controls are included and genotyped by 1000 SNPs.


Incorrect default value

What type of bug is this?
Unexpected error
What subsystems are affected?
Table Engine
Minimal reproduce step

Create a table

CREATE TABLE `ExcePTuRi`(
non TIMESTAMP(6) TIME INDEX,
`iUSTO` DOUBLE DEFAULT 0.047318541668048164
)
ENGINE=mito

Check the column default value

SELECT table_name,column_name,column_default FROM information_schema.columns WHERE table_name = 'ExcePTuRi';

What did you expect to see?
+------------+-------------+----------------------+
| table_name | column_name | column_default       |
+------------+-------------+----------------------+
| ExcePTuRi  | non         | NULL                 |
| ExcePTuRi  | iUSTO       | 0.047318541668048164 |
+------------+-------------+----------------------+

What did you see instead?
+------------+-------------+---------------------+
| table_name | column_name | column_default      |
+------------+-------------+---------------------+
| ExcePTuRi  | non         | NULL                |
| ExcePTuRi  | iUSTO       | 0.04731854166804816 |
+------------+-------------+---------------------+

What operating system did you use?
doesn't matter
What version of GreptimeDB did you use?
main
Relevant log output and stack trace
No response

See also: https://github.com/serde-rs/json/issues/536


cancel sort in remote order

I use table sort only for display sort order and have sorting order in my database because of that I use remote option. But table don't have any option to cancel sorting. I try to use options but it seems to ignore that.
My code snippet is https://gist.github.com/abonec/3c59009ca365259ddd9dcc32f21cab96

@abonec, sorry I am not very understand about what's means for cancel sorting, you mean the sort direction is still remain on header and data seems like no change?

@AllenFang I use table only to visualize data and sorting indicators and callbacks that gives me information about sorting that user choose. This information I send to the server and server send me back already sorted data. Table only visualize sort order in headers and actually don't need to sort it.
In term cancel sorting I mean to reset triangles in headers which visualize sort order.

umm.... so did you want a feature which can help you to remove the triangles on header???? and when did you want it, what user action will trigger this cancel sorting???

@AllenFang usually (i.e. DB systems) after the third click on the header will reset sort (first two will sort in acs/desc and third will reset). It will be great.
But I asked you for API, may be about callback.

after the third click on the header will reset sort (first two will sort in acs/desc and third will reset). It will be great.

ok, got it. I will support it, but actually need some time, it's minor feature so without any schedule promise

But I asked you for API, may be about callback.

you means you want to have a callback or something to know what column and order that user trigger?

you means you want to have a callback or something to know what column and order that user trigger?
no, I mean to set some props to the table for refresh order. If you look at the source code above I set sortOrder and sortName when cancelOrder button was pressed but this has no affect in remote mode.

understand, thanks you, so let me check again, there're two major thing you were hope:

Can cancel the sorting via clicking, ex: --click--> DESC --click--> ASC --click-->NONE
you hope there's a function or props can cancel the sorting.

exactly

I'll support it, but need some time

you hope there's a function or props can cancel the sorting.

Noe, It support on v3.3.4, check this to see how to clean a sorted table.

Can cancel the sorting via clicking, ex: --click--> DESC --click--> ASC --click-->NONE

Actually, it did need some time, no schedule, sorry.

it works, thx

Does v4.3.1 supoort the below functionality now?

Can cancel the sorting via clicking, ex: --click--> DESC --click--> ASC --click-->NONE

I need to use something like this on my table.

Hi i am using react-bootstrap-table ^4.3.1
I want remote pagination so i set remote={true} but i want local sorting.
Can you please help..


Charts mini-improvement

Charts mini-improvement:

Make sure 'numberOfXAxisPoints'  is always used as an 'NSInteger' property.
Make sure 'numberOfPlots' as an 'NSInteger' returning method.

r=me. Thanks!


Can't restore quarantined "Threat" files in Microsoft Defender Antivirus

You can not restore a file from Quarantine if the file is treated as a "Threat". Restoration is only possible for Lesser issues like Unwanted Programs. Effectively once Windows Defender quarantines something as a Threat you lose the ability to restore the file and permanently lose access to the file... even if both you & Windows Defender know the file is not a threat to the health of you and your PC.
In my case the file is of a somewhat questionable nature and I don't want to disclose what it is, losing access to the file without my consent is a huge problem! I should not be having data deleted from my computer without my consent!
I'm unsure if this page pertains to Windows Defender, which is what I'm talking about.

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

ID: 1a40da1f-0038-b2f3-69c0-7d769f0f9152
Version Independent ID: 54a1caf7-271f-df11-02c5-121c15444bb1
Content: Restore quarantined files in Microsoft Defender Antivirus
Content Source: microsoft-365/security/defender-endpoint/restore-quarantined-files-microsoft-defender-antivirus.md
Product: m365-security
Technology: mde
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Turns out I just needed to type the following in to an elevated Command Prompt window to resolve my issue. This does not resolve my concern that it's needlessly difficult to restore some types of threats instead of being equally easy regardless of threat type.
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -restore -all

@Nicholas-Steel Thank you for your feedback. You are correct, there is no GUI button to solve this currently. I recommend you leave the feedback directly to the Product team via https://feedbackportal.microsoft.com so you can get updates or information on when this will be available.
Hope this helps!
Thanks
Sri

@Nicholas-Steel  Thank you very much for your kind feedback. Considering your valuable feedback, please log this issue as advised. Concerning team will evaluate and take the appropriate action, as per their schedule. We proceed here to close it. Thanks again for taking out some time and sharing your feedback.

Interesting, so when I went back to the folder containing the file and Windows Defender again picked it up and removed the file to quarantine but... this time I was given access to the 3 Actions and was able to Allow (restore) it via the Windows Defender UI (which presumably also adds an exception for it). So that's nice.
Unsure if this is just this particular infection that can be Allowed or if it's a global change and all Threats can now be Allowed as they're encountered.
Separate issue, but I hate that the Quarantine UI doesn't tell you the originating path nor file name of the files in quarantine. It only tells you the threat type/name.

@Nicholas-Steel Thank you very much for your kind feedback. Considering your valuable feedback, please log this issue as advised. Concerning team will evaluate and take the appropriate action, as per their schedule. We proceed here to close it. Thanks again for taking out some time and sharing your feedback.

Hah, valuable feedback xD Yeah, sure, it is only 2023. MS will definitely change the behavior any time soon. Thanks for the command @Nicholas-Steel

This issue is not fixed as of the date of this comment: when i chose to restore the file, it was not restored. moreover on downloading the same file from the same url (this one https://github.com/seerge/g-helper/releases/download/v0.81/GHelper.zip), it kept putting it to quarantine.
Whitelisting/restoring still doesn't work.

agree that controls for dealing with false positives are incredibly insufficient. windows is being highly over-zealous here and should at least give users control over their files if they seek it out.


Global Cheat Indicator

Geode Version
2.0.0
Related Problem
Some mods do not have cheat indicators, making it hard to detect unfair advantages (ex. click between frames)
Your Solution
Modders could mark settings in their mods as “cheats” and the cheat indicator could appear if any settings marked as cheats are active.
Additional Information
No response

good in concept, poor in practice. there'll always be a loophole (either already there by nature or pried open by brute force) to avoid detection or falsify such results
this is why anticheat detection/disallowed mod detection is always a constant battle for minecraft multiplayer servers—you can easily change mod IDs, edit the raw .jar (in this case, .geode) binary, or just outright make your own bootleg mod containing the same cheat


STP-3690: Update references to COS for Nov replan

Summary and Scope
Updated references to COS because of the COS replan effort.
Issues and Related PRs

Resolves STP-3690
Change will also be needed in release/2.6

Testing
Lint and spell check
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[x] HPC Product Announcement prepared, if applicable

/backport release/2.6


Symbols example fails to render in Sketch 47.1

👋 Hello! Thanks for contributing. Please use the template that matches your intention
I am...
Erik Myers
| -------------------------------------------------------------------------------------------------

Reporting a bug or issue

Symbols example throws error on render.
Expected behavior:
Symbols example renders with npm run render
Observed behavior:
Terminal throws error when running npm run render:
TypeError: MSImageData.alloc().initWithImage_convertColorSpace is not a function. (In 'MSImageData.alloc().initWithImage_convertColorSpace(image, false)', 'MSImageData.alloc().initWithImage_convertColorSpace' is undefined)
line: 2787
stack: makeImageDataFromUrl
renderBackingLayers
flexToSketchJSON
map@[native code]
flexToSketchJSON
makeSymbol

How to reproduce:
Follow the How to use instructions in the symbols example repo
Sketch version:
47.1

It seems like any example with an image is throwing this error in Sketch 47.1.


Fix operator/scalar mismatch

Description
Single-select questions are stored as STRINGs, but we had LIST_OF_STRINGS as the type for all selections in Scalar. This prevented us from being able to submit the predicate form for single-select questions
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
#322

This is fixed by #1430, which adds the correct type to single-select questions


fix Dialyzer warnings

This PR fixes a couple dialyzer warnings around missing types. Additionally, it allows other keys in maps passed to functions that expect Absinthe.Relay.Connection.Options.t() (useful for when these arguments come from Absinthe resolver args, where other unrelated args may also be present).
defmodule MyApp.Schema do
  query do
    connection(field(:users)) do
      arg :is_banned, non_null(:boolean)

      resolve fn _, %{is_banned: is_banned} = args, _ ->
        users = UsersService.list()
        Connection.from_list(users, args) # this line raises a dialyzer warning,
                                          # because `args` has a key named
                                          # `:is_banned`; this shouldn't warn,
                                          # since unrecognized keys are ignored
      end
    end
  end
end

Thanks!


Move max vector dims limit to Codec

Move vector max dimension limits enforcement into the default Codec's
KnnVectorsFormat implementation. This allows different implementation
of knn search algorithms define their own limits of a maximum
vector dimensions that they can handle.
Closes #12309

This looks fine to me.
Somebody who wants to raise the limit (or lower it to 32 like in the test) can simply implement an own codec.
One question I have: What happens if you open an index with a higher limit in field infos and you use default codec? I think this is unsupported, but in that case the implementor of the codec should possibly use own codec name.

Thanks @jpountz  and @uschindler for the reviews. I will do the following:

merge this PR in the current form to main and branch_9x.
create a separate PR on top of it for the main branch only to make KnnVectorsFormat#getMaxDimensions abstract and all codecs provide their own implementation of it.

One question I have: What happens if you open an index with a higher limit in field infos and you use default codec? I think this is unsupported, but in that case the implementor of the codec should possibly use own codec name.

This change doesn't touch the read logic, it only adds write-time validation. So if you first index vectors above the default limit using a custom codec that reuses the same codec name as the default codec and then open this index with the default codec, you will be able to perform reads, but writes will fail. Using a different codec name would certainly make things simpler, to force Lucene to use the same codec at read time instead of the default codec.

One question I have: What happens if you open an index with a higher limit in field infos and you use default codec? I think this is unsupported, but in that case the implementor of the codec should possibly use own codec name.

This change doesn't touch the read logic, it only adds write-time validation. So if you first index vectors above the default limit using a custom codec that reuses the same codec name as the default codec and then open this index with the default codec, you will be able to perform reads, but writes will fail. Using a different codec name would certainly make things simpler, to force Lucene to use the same codec at read time instead of the default codec.

That's what I expected. Thanks.


When using "base href" ui-router generates wrong urls

Proper urls are not generated properly by ui-sref when <base href="/foo/bar/" /> is present.
My angular app is hosted in the foo/bar directory.
In my index.html:
<base href="/foo/bar/" />

my routes are like:
.state('mystate', {
        url: '/statelocation',
        ... })

and here is how I reference the state in the template:
Go to my state!

And instead of outputting:
Go to my state!

I get (note the slash):
Go to my state!

I am not sure you have the same problem as I do, but this issue ruined my day, and after hours of trying to fix it beautiful I used this workaround http://stackoverflow.com/questions/34211894/angular-ui-router-ui-sref-links-arent-prepending-the-hash-when-filling-in-href/34775725#34775725


[DOCFIX] Update the metrics doc with cluster performance metrics

@yuzhu @calvinjia PTAL the metrics doc changes, thanks!

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.4 please


[BLE] disabling client as ERR_DLOPEN_FAILED

What issue do you have? Please be as thorough and explicit as possible.
I cannot enable bluetooth on my Govee LED H6181
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

Homebridge UI

Which version of Homebridge/HOOBS do you have?

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

RPi Node.js V20

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

Latest beta

Which Govee devices do you have that are causing issues? Please include product models if applicable.

H6181
Please paste any relevant logs below.

I am also having this issue as well.


Support groovy 4

Boot upgraded to groovy 4 https://github.com/spring-projects/spring-boot/commit/dd812a3f76ac27c6c91bab0e02ea08c58ecaddd1
Updated spock groovy 4 support here https://github.com/spring-projects/spring-boot/commit/a1e972ebaa63a3c935afd3bd9b8958c910961d4b
And temporarily removed rest assured here https://github.com/spring-projects/spring-boot/commit/568cd687af8ccb6119b97dd3083e5968b32a233b

Done via https://github.com/spring-cloud/spring-cloud-contract/commit/145cf4dd9e59c5d40151ef5e9e8ee82bfd4542d2


KYLIN-4338 Web page modification to support global domain dict

issue link : https://issues.apache.org/jira/browse/KYLIN-4338

Codecov Report

Merging #1058 into master will increase coverage by 0.03%.
The diff coverage is 9.73%.

@@             Coverage Diff              @@
##             master    #1058      +/-   ##
============================================
+ Coverage        25%   25.04%   +0.03%
- Complexity     6180     6222      +42
============================================
  Files          1438     1439       +1
  Lines         87669    87773     +104
  Branches      12256    12272      +16
============================================
+ Hits          21926    21985      +59
- Misses        63593    63633      +40
- Partials       2150     2155       +5

Impacted Files
Coverage Δ
Complexity Δ

...org/apache/kylin/engine/spark/SparkExecutable.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...apache/kylin/measure/bitmap/BitmapMeasureType.java
18.86% <0%> (ø)
4 <0> (ø)
:arrow_down:

...be/model/CubeDescTiretreeGlobalDomainDictUtil.java
0% <0%> (ø)
0 <0> (?)

...ache/kylin/engine/mr/common/AbstractHadoopJob.java
15.21% <0%> (-0.04%)
2 <0> (ø)

...va/org/apache/kylin/cube/model/DictionaryDesc.java
65.38% <10%> (-34.62%)
8 <1> (+1)

...ain/java/org/apache/kylin/cube/model/CubeDesc.java
63.56% <20%> (-0.57%)
182 <1> (+1)

...org/apache/kylin/metadata/model/DataModelDesc.java
59.21% <25%> (-0.58%)
72 <1> (-1)

...c/main/java/org/apache/kylin/cube/CubeManager.java
36.52% <50%> (+0.02%)
44 <0> (ø)
:arrow_down:

...lin/cube/model/validation/rule/DictionaryRule.java
86.84% <60%> (-4.59%)
16 <1> (+1)

...ream/core/storage/columnar/ColumnarStoreCache.java
52.27% <0%> (-3.41%)
8% <0%> (ø)

... and 7 more

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 3777021...530471d. Read the comment docs.

Pull Request Test Coverage Report for Build 5517

19 of 113 (16.81%)  changed or added relevant lines in 9 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 27.506%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-cube/src/main/java/org/apache/kylin/cube/CubeManager.java
5
6
83.33%

core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/DictionaryRule.java
4
5
80.0%

engine-mr/src/main/java/org/apache/kylin/engine/mr/common/AbstractHadoopJob.java
0
1
0.0%

engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkExecutable.java
0
2
0.0%

core-metadata/src/main/java/org/apache/kylin/metadata/model/DataModelDesc.java
5
8
62.5%

core-metadata/src/main/java/org/apache/kylin/measure/bitmap/BitmapMeasureType.java
0
4
0.0%

core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
3
10
30.0%

core-cube/src/main/java/org/apache/kylin/cube/model/DictionaryDesc.java
2
10
20.0%

core-cube/src/main/java/org/apache/kylin/cube/model/CubeDescTiretreeGlobalDomainDictUtil.java
0
67
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
1
69.81%

engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkExecutable.java
2
0.0%

Totals

Change from base Build 5512:
-0.02%

Covered Lines:
24143

Relevant Lines:
87773

💛  - Coveralls

Check list

[ ] Step 1. [OPTIONAL]Understand background/root cause/design basically(one hour EST) . Its issue type is

[x] bug fix
[ ] new feature
[ ] enhancement

[x] Step 2. Test cases are designed and documented (30 minutes EST).
[x] Step 3. Prepare specific env, for example:

mock data (maybe some specific data type)
test env (maybe install a RDBMS instance).

[x] Step 4. Verify and make sure test cases passed.
[x] Step 5. Paste manual important steps and screenshots here (20 minutes EST).

If you find difficulty in pick most important evidence, please attach diagnosis package.

[ ] Step 6. Do more check in user perspective (20 minutes EST)

[ ] Doc need be updated? And if it is updated? Ask help for release manager if so.
[ ] If it is a breaking change so we should notify Kylin community? Ask help for release manager if so.

[x] Step 7.  Summarize this test (20 minutes EST).

Total estimate

4 hours for small issue from optimistic estimate.

Note
If you find some unexpected and unrelated error/mistake, please DO report it if it is truly a mistake, I think we may research and fix it in the future.
If you find background information/root cause analysis is not complete or ambiguous, please try to contact to author or do a quick research and record what you find. It is a good chance to learn something interesting.
If you find it is not easy to design testcase, please notify release manager.

Design test case

Create project named testGlobalDicProject1, from Hive load data source tableuseractionLog for this project
Create one model testGlobalDicModel1 and two cube testGlobalCube1 and testGlobalCube2 in project testGlobalDicProject1,
add count distinct precisely measure for column PV_ID in testGlobalCube1
add count distinct precisely measure for column PLAY_ID in testGlobalCube2
Build two cube
Create another hive table useractionLog_Copy with the same data as useractionLog
Create project named testGlobalDicProject2, from Hive load data source tableuseractionLog_Copy for this project
Create two cube testGlobalCubeCopy  in project testGlobalDicProject2,
add count distinct precisely measure for column PV_ID in testGlobalCubeCopy, and in Advanced Dictionaries choose Reuse Global Domain, set Reuse Model Name to testGlobalDicModel1, Reuse Cube Name to testGlobalCube1, USERACTIONLOG.PV_ID to Reuse table.column.
add count distinct precisely measure for column PLAY_ID in testGlobalCubeCopy, and in Advanced Dictionaries choose Reuse Global Domain, set Reuse Model Name to testGlobalDicModel1, Reuse Cube Name to testGlobalCube2,  Reuse table.column to USERACTIONLOG.PLAY_ID.
Build cube testGlobalCubeCopy with MR engine, query this cube after build complete.
Clone cube testGlobalCubeCopy and renamed to testGlobalCubeCopy, modify Build engine to Spark and build, query this cube after build complete.

Summary

Global dictionary reuse works well with MR and spark engine.


Use al version in tag update branch name

Issue #, if available:
Description of changes:
Ever since adding the al22 builds we have this issue which only hits us every so often, but it happened yesterday again. Basically since both jobs to update al2 and al22 images run concurrently and they both push to the same branch, the second one would overwrite the branch which the first one open the PR with.  We force push to ensure the bot is always updating the branch to what it wants, the code does not handle concurrent updates which would be a more significant change.  There is no reason (that i know of) that the branch name matters and needs to be the same, so this change the code to open the PR on a branch with the AL version specified in the name.  This should ensure that the al2 job and the al22 job always open their own PRs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Mark override on service method

Fix a warning in interceptor test service....

Thanks for the prompt review!


[Bugs]Error during N2 Handover (direct)

Describe the bug
When performing N2-Handover (direct), a warning log “IE DirectForwardingPathAvailability is not implemented” is output upon receiving HandoverRequired. However, the handover completes, and it appears that communication is possible with the target gNB.
Does this mean that N2-Handover (direct) is not implemented in v3.4?
To Reproduce
Perform N2-Handover (direct)
Expected behavior
N2-Handover (direct) can be performed.
Screenshots
log

capture
　A warning log is output, but it appears that N2-Handover is completed.

Before EndMarker (No.2705)
　UL communication via the source gNB.

After EndMarker (No.2762).
　UL communication via the target gNB.

Environment (please complete the following information):
free5GC Version: v3.4.2
OS: Ubuntu 20.04.6 LTS
Kernel version: 5.4.0-125-generic
go version: Ubuntu go1.21.8 linux/amd64

Hi, @Tommy021477
The IE DirectForwardingPathAvailability is defined as optional in the spec. Currently, it is not implemented in free5GC, but this does not mean that we haven't implemented handover. You can refer to section <IP_ADDRESS> of TS 38.413 for more details.


feat: add manual installation for Packer users

Several developers uses Packer as plugin manager.

It's just an addition of information.


rename maxgraph to graphscope and other refactors

What do these changes do?

Java package renaming.
Most of the changes is rename com.alibaba.maxgraph to com.alibaba.graphscope,
and some are renamed to com.alibaba.maxgraph.groot.

Rust package renaming.
Most of the changes is rename maxgraph-xxx to groot-xxx.

And many terms / classes contains maxgraph to corresponding interactive-xxx or groot-xxx

Related issue number

Fixes #1667

Codecov Report

Merging #2367 (fafa46a) into main (b028dc2) will decrease coverage by 5.59%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2367      +/-   ##
==========================================
- Coverage   72.30%   66.71%   -5.60%
==========================================
  Files          88       88
  Lines        9711     9711
==========================================
- Hits         7022     6479     -543
- Misses       2689     3232     +543

Impacted Files
Coverage Δ

...on/graphscope/tests/kubernetes/test_demo_script.py
0.00% <0.00%> (-81.16%)
:arrow_down:

python/graphscope/deploy/kubernetes/cluster.py
23.41% <0.00%> (-52.78%)
:arrow_down:

python/graphscope/deploy/kubernetes/utils.py
12.31% <0.00%> (-52.22%)
:arrow_down:

...n/graphscope/deploy/kubernetes/resource_builder.py
25.61% <0.00%> (-45.87%)
:arrow_down:

...thon/graphscope/tests/kubernetes/test_with_mars.py
0.00% <0.00%> (-43.75%)
:arrow_down:

python/graphscope/interactive/query.py
69.51% <0.00%> (-14.64%)
:arrow_down:

python/graphscope/client/rpc.py
72.38% <0.00%> (-8.96%)
:arrow_down:

python/graphscope/tests/conftest.py
77.19% <0.00%> (-4.57%)
:arrow_down:

python/graphscope/deploy/launcher.py
75.00% <0.00%> (-4.17%)
:arrow_down:

python/graphscope/client/session.py
72.74% <0.00%> (-2.64%)
:arrow_down:

... and 4 more

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 b028dc2...fafa46a. Read the comment docs.


S3 - trying to upload/delete files with brackets fails

Environment info

Version: master
Deployment: DEV
Customer: QA

Actual behavior

trying to upload a file named: "log (1).txt" or anything else in this structure like: "S3 (HTTP).cyberduckprofile" using Cyberduck
failing on access denied
in the logs we can see the issue is with the signature:  CONSOLE:: RPC._on_request: ERROR srv object_api.create_object_upload reqid 48@fcall://fcall(6b78wgx3) connid fcall://fcall(6b78wgx3) RPC ERROR UNAUTHORIZED SignatureDoesNotMatch
also delete and probably and other action on objects with this format fails.

Expected behavior

Works with AWS - upload should succeed

Steps to reproduce

upload an object in the above format: anytext(space)(open bracket)anynumber(closing brucket).anypostfix

Screenshots or Logs or other output that would be helpful
Additional Information

Upgrading to a newer version of Cyberduck fixes this issue.
In order to fix for the older version, we would need to decodeURI and escape the path in our signature_utils (this should be checked for all of the queries as well prior to the fix).

This is an old issue and since a 6/19 version of cyberduck already fixes it, closing


Handle JSDoc {@link ... } inline tags for OS

🔍 Search Terms
JSDoc @link for local OS
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
like this post :
https://github.com/microsoft/TypeScript/issues/16498
can we also add support for local OS drive ?
I work on 2 project, and i would like to be able to open external file to another projet .
📃 Motivating Example
ex:
iif am in project projets\ANFTECS-WEB , i would like to add a clickable note link to projets\ANFTECS
/** @see {@link D:\Users\jonle\Documents\DEV\projets\ANFTECS\src\game\enum\battle.enums.ts} */

Actually, the link is not clickable, and I need to open the folder and the file manually.
It's just not very time-efficient and productive!
I would like to open the file when I ctrl+click on it, like a web address. Is it possible to add this support ?
Thank you
💻 Use Cases

What do you want to use this for?
work on multi project connected with security and productivity (on the same machine or server)

I'm fairly certain that this is up to the individual editor tool you use. TypeScript does not control whether something is clickable or not.

It's much more common to see a relative path here, since other people might have different usernames, drive configurations, locations of storing their code, operating systems, and so on. What's the advantage of using this form vs a relative path?


⚠ Bofrost.es has degraded performance

In 1a2ab18, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1692 ms

Resolved: Bofrost.es performance has improved in 9fdd180 after 6 minutes.


Run archiver for EIA 860 early release data

Had to update the archiver https://github.com/catalyst-cooperative/pudl-archiver/pull/129/files


Add a database query to the city filters

FEATURE REQUEST

Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
existing issue, otherwise proceed to step 2.

Describe the feature you are requesting, as well as the possible use case(s) for it.
Implementing the city filter on the front end but the filter is not picking up any data from the data base. Add queries to timescale.go.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
must have

city filters seems to work just fine, make sure your fork is in sync

It was the query issue and I have resolved it.


Update README.md

Current coverage is 73.67% (diff: 100%)

Merging #386 into master will not change coverage

@@             master       #386   diff @@
==========================================
  Files            14         14
  Lines          1656       1656
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1220       1220
  Misses          436        436
  Partials          0          0

Powered by Codecov. Last update ac99e1b...eae374d

Thanks!
And I think I will remove the old pod file style later.


Tab folder uses wrong path separator in remote

Windows -> Linux via Remote SSH

This should be fixed via c0a9bc3988


Only English text is clipped

Microsoft PowerToys version
0.63.0
Running as admin

[x] Yes

Area(s) with issue?
TextExtractor
Steps to reproduce
I clip a region containing Chinese text. It only shows the English

✔ Expected Behavior
The Chinese to be clipped along with the Englih
❌ Actual Behavior
Only the English shows up on my clipboard
Other Software
No response

City lJniversity 0f Hong Kong
学士商务
Sep 2008 - JuI 2013
this is what i just scan by text scaner
with language pack

at powertoys 0.64.0
you may need to install chinese language pack?
https://learn.microsoft.com/en-us/windows/powertoys/text-extractor

Thanks
I do have the Chinese Language (input) pack installed with English input as the default. As an experiment, I switched my input language to Chinese and this time, it clipped both the Chinese and the English in "City lJniversity Of Hong Kong 学士商务". So that a feature or a bug? (BTW, did you purposely spell "University" with "IJ"?
Interestingly it doesn't list any OCR packs when I query. But it seems that it still can use the input packs.

Please try the right-click menu for selecting languages in the latest version of Text Extractor.


Order by multiple columns: orderBy([$col1 => 'desc', $col2 => 'asc', ... ])

Hi,
It would be nice to have an option to order by multiple columns - by keys of one array that is an argument. For example, something like this:
orderBy(['col1' => 'desc', 'col2' => 'asc', ... ])

We're open to Pull Requests if you're willing to propose such functionality.
Closing this since it's not a bug report, but feel free to open a discussion on the Internals Repo, it's the place for proposals and discussions.


v3: submitted comments show up in _data/comments. However, the website doesn't get re-built

staticman v3 creates commits successfully (yml files appear in _data/comments), but it doesn't trigger a rebuild (correction: fails to get rebuilt — the trigger might be fine) on github pages (the deployed version remains based on the last commit created by me rather than the bot).
The same issue was described by @willymcallister in https://github.com/eduardoboucas/staticman/issues/243#issuecomment-454905594_:

When I submit a comment it shows up in _data/comments. However, github-pages/Jekyll does not trigger a rebuild of the parent article.
I'm using the App with the v3 endpoint, per Eduardo's edited instructions. I waited the suggested 10 minutes for github-pages to respond. If I make a trivial change to an unrelated article and push, the rebuild is triggered promptly and the comment appears.
My site is on github-pages.
https://spinningnumbers.org/a/staticman.html, https://github.com/willymcallister/willymcallister.github.io

My preliminary experimentation suggests this is due to the "moderation: false" setting; It seems like Github Pages does not force a rebuild of the website unless the owner of the repository makes a commit.
A fix would be to have the Staticman app send a pages build request through the Github API:
https://developer.github.com/v3/repos/pages/#request-a-page-build
https://stackoverflow.com/a/53842971
I'm unsure how to make this change.
@eduardoboucas

Github support looked at why my site was not rebuilding (https://spinningnumbers.org/a/staticman.html). The issue is solved by enabling moderation. Here is the full response...
It looks like your site builds are failing with the following error:
Validation failed: User must be a human
To avoid abuse, GitHub Pages sites can't be automatically rebuilt when a GitHub App pushes to a repository. As StaticMan is a GitHub App it isn't able to automatically trigger a rebuild of your site.
I notice that this application has a moderation-mode, that will create pull requests for you to merge manually. Enabling this mode will let this app create pull requests, and will then trigger a build when you manually merge them.
I'd recommend reaching out to the project maintainer for more help on this, as this will need to be something that is changed on their side.
Thanks,
Thomas
GitHub Support

Oh, wow. Thanks for looking into this.

A fix would be to have the Staticman app send a pages build request through the Github API:

I'm not sure I like this approach, because Staticman doesn't know (and shouldn't care) whether you use GitHub Pages or not. Its job is to get content into your repository. I'm not keen on adding logic that is specific to GitHub Pages.
Given this limitation from the GitHub API, I don't see what's the best way to make Staticman work without moderation.

@ex-punctis An obvious solution would be configuring your repo with a CI service.

@VincentTam Thanks for the tip, I'll look into this.

@ex-punctis Note that GitHub Actions are in beta.  This includes an internal CI support.  You may apply for it.  Here's the template for Jekyll:
https://github.com/actions/starter-workflows/blob/dcaa948ed3751fbfc4285b4745799dc2a5d4476e/ci/jekyll.yml

As noted by other users, it should be possible to configure either GitHub Actions, or Travis to automatically rebuild your website when moderation is disabled.


Enabling Active HealthCheck causes ClusterLoadAssignment to be empty.

Describe the bug
Hi,
I'm trying to enable active health checks on a specific Mapping, which uses a KubernetesEndpointResolver. Upon configuring the healthcheck we can see that in some ambassador pods, all upstream hosts for the cluster associated to the mapping seem to disappear, and it stays missing until something else changes in the cluster (a pod scale up for instance). This causes these Ambassador pods to return 503 errors, as no upstream targets are found.
Here's the configuration I'm trying to add to the Mapping:
  health_checks:
  - unhealthy_threshold: 50
    healthy_threshold: 1
    interval: "15s"
    timeout: "10s"
    health_check:
      http:
        path: /ready
        expected_statuses:
          - max: 300
            min: 199

This issue only affects some Emissary pods. When comparing pods that experience the issue with those that work correctly, the Envoy config dump (with EDS info) reveals that the list of hosts is empty for the faulty pods:
Bad:
    {
     "endpoint_config": {
      "@type": "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment",
      "cluster_name": "k8s/namespace-1/service-a/443",
      "policy": {
       "overprovisioning_factor": 140
      }
     }
    },

Good:
endpoint_config": {
      "@type": "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment",
      "cluster_name": "k8s/namespace-1/service-a/443",
      "endpoints": [
       {
        "locality": {},
        "lb_endpoints": [
         {
          "endpoint": {
           "address": {
            "socket_address": {
             "address": "<IP_ADDRESS>",
             "port_value": 8080
            }
           },
           "health_check_config": {}
          },
          "health_status": "HEALTHY",
          "load_balancing_weight": 1
         },
         {
          "endpoint": {
           "address": {
            "socket_address": {
             "address": "<IP_ADDRESS>",
             "port_value": 8080
            }
           },
           "health_check_config": {}
          },
          "health_status": "HEALTHY",
          "load_balancing_weight": 1
         },
         {
          "endpoint": {
           "address": {
            "socket_address": {
             "address": "<IP_ADDRESS>",
             "port_value": 8080
            }
           },
           "health_check_config": {}
          },
          "health_status": "HEALTHY",
          "load_balancing_weight": 1
         }
        ]
       }
      ],
      "policy": {
       "overprovisioning_factor": 140
      }
     }
    }

I haven't been able to pinpoint why some pods have an empty ClusterLoadAssignment, but it seems like a race condition, possibly in the service that populates the assignment via EDS. The issue occurs randomly in different pods if i keep removing and adding back the healthcheck config.
To Reproduce
Steps to reproduce the behavior:

Create an Mapping with KubernetesEndpointResolver and service pointing to an k8s service. Ex:

apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
  name: mapping-1
spec:
  hostname: "*"
  ambassador_id: [ emissary ]
  load_balancer:
    policy: round_robin
  prefix: /prefix
  service: https://service-a.default:443

Modify the mapping to add the healthcheck

apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
  name: mapping-1
spec:
  hostname: "*"
  ambassador_id: [ emissary ]
  load_balancer:
    policy: round_robin
  prefix: /prefix
  service: https://service-a.default:443
  health_checks:
  - unhealthy_threshold: 50
    healthy_threshold: 1
    interval: "15s"
    timeout: "10s"
    health_check:
      http:
        path: /ready
        expected_statuses:
          - max: 300
            min: 199

Port forward to the ambassador pod and check that the instances of service-a.default cluster are not registered on the ClusterLoadAssignment (http://localhost:8001/config_dump?resource=&mask=&name_regex=&include_eds=on)

Expected behavior
Configuring the healthcheck should not wipe the instances of the cluster associated to the mapping resource.
Versions (please complete the following information):

Ambassador: 3.8.3
Kubernetes environment [e.g. Minikube, bare metal, Google Kubernetes Engine]
K8S 1.28

It seems that this may have the same root cause of https://github.com/emissary-ingress/emissary/pull/4447
Seems when we add the healthcheck, we create a new cluster with the same name and can trigger this bug...

Ok...
Indeed seems the same root cause of https://github.com/emissary-ingress/emissary/pull/4447
Seems that anything that changes the cluster object, can trigger this bug:
I kept changing the connect_timeout_ms or cluster_idle_timeout_ms on the mapping  and could reproduce this problem as well  -> No healthcheck configured at all:
Cluster Object:
"cluster": {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "cluster_https___servoce-1_namespace-a_443_o-32E2014365DD7432-0",
      "type": "EDS",
      "eds_cluster_config": {
       "eds_config": {
        "ads": {},
        "resource_api_version": "V3"
       },
       "service_name": "k8s/servoce-1/namespace-a/443"
      },
      "connect_timeout": "2s",
      "dns_lookup_family": "V4_ONLY",
      "transport_socket": {
       "name": "envoy.transport_sockets.tls",
       "typed_config": {
        "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
        "common_tls_context": {}
       }
      },
      "alt_stat_name": "distributor_cortex_443",
      "common_http_protocol_options": {
       "idle_timeout": "90s"
      }
     },
     "last_updated": "2024-10-08T00:52:01.553Z"
    },


WIP: ConcurrentArray implementation via inheritance

Sample implementation - only one method.

Codecov Report

Merging #5 into master will decrease coverage by 0.48%.
The diff coverage is 11.86%.

@@            Coverage Diff            @@
##           master      #5      +/-   ##
=========================================
- Coverage   82.98%   82.5%   -0.49%
=========================================
  Files          50      51       +1
  Lines        8745    8802      +57
=========================================
+ Hits         7257    7262       +5
- Misses       1261    1313      +52
  Partials      227     227

Impacted Files
Coverage Δ

vm/vm.go
87% <ø> (ø)
:arrow_up:

vm/concurrent_array.go
0% <0%> (ø)

vm/array.go
94.39% <100%> (+0.04%)
: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 31daa5c...4c34eea. Read the comment docs.


pg_trgm settings don't seem to "take"

Consider this script:
create extension pg_trgm;
create table foobar(entry varchar(100));
insert into foobar (entry) values ('Larry Stooge');
insert into foobar (entry) values ('Curly Stooge');
insert into foobar (entry) values ('Sneezy Dwarf');

Now let's run a query using the similarity function:
select entry, similarity(entry, 'Larry Stooge') from foobar;

Larry Stooge	1.0
Curly Stooge	0.368421
Sneezy Dwarf	0.04

Now let's limit ourselves based on the similarity function:
select entry, similarity(entry, 'Larry Stooge')
from foobar
where similarity(entry, 'Larry Stooge') > 0.5;

Larry Stooge	1.0

Now let's try using the "%" operator in conjunction with set  pg_trgm.similarity_threshold;
set pg_trgm.similarity_threshold = 0.5;

select entry, similarity(entry, 'Larry Stooge')
from foobar
where entry % 'Larry Stooge';

Larry Stooge	1.0
Curly Stooge	0.368421

(oops, I only expected 1 row)
Now let's see what the value of pg_trgm.similarity_threshold is:
show pg_trgm.similarity_threshold;

unrecognized configuration parameter "pg_trgm.similarity_threshold"

Now it gets interesting....if I highlight BOTH of the following statements and execute them at the same time, I get what I expect!
set pg_trgm.similarity_threshold = 0.5;
select entry, similarity(entry, 'Larry Stooge')
from foobar
where entry % 'Larry Stooge';

Larry Stooge	1.0

Just for completeness:
 select version()

PostgreSQL 10.5 (Ubuntu 10.5-0ubuntu0.18.04) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0, 64-bit

Hi @ccurvey,
Yes, current version of OmniDB recreates the database connection every time a query is executed in the Query Tab, that is why your SET is going away. Console tab keeps connection open and you should be able to execute what you want.
This is the main change in the next release. Query tab is being improved to allow disable autocommit and keep connections open in the Query tab.
Regards,
Rafael.

Makes sense.  thanks for the explanation

Hi @ccurvey ,
We have implemented several improvements for Console Tab and Query Tab in 2.12.0, we just released it. Would you please test it and provide us your valuable feedback? Thanks in advance!
Regards,
William

Closing this now.


HTTPd : Add webpage to query logs.

It would be a good thing to be able to visualise logs from the webpages.

Replaced by #22.


Roadmap

The basic functionality and its tests are currently in place. We have

a database of some vector data examples (mostly from GeoDa centre ported from the libpysal.examples module + NYBB) as a JSON file
tooling to work with it like in xyzservices (mostly ported from there; it may eventually be worth sharing bits somehow)
new top-level api to fetch url or local path

implementation of download and caching using pooch for downloads and local path handling via get_path

tests and CI

What needs to be done:

~agree on a name and find a home (GeoPandas org or PySAL org?)~
~documentation~ -> #3
expand list of datasets to replace naturalearth in documentation -> #4
~possibly something like download_all or download(list) to pre-download files to a cache~. ->  #2
release

After that, I think the first version is done and can be used in GeoPandas docs instead of to-be-deprecated datasets module.

PySAL is fine hosting the package in the org but there's an agreement that it would belong to geopandas better.

I have tagged a 2023.1.0b2 release which has been shipped to PyPI. Will give it a few days to hopefully add some additional data and cut 2023.1.0 or 2023.2.0 as a proper release that will also be on conda-forge (so far I haven't created a feedstock yet as they do not favour beta releases).

Completed.


Row/Card: truncate metadata lines instead of each item in the line

Currently we truncate each item in the metadata lines in rows and cards. Instead we should truncate the entire line and the truncation should happen based on the container rather than a max width of the line.
In some cases, author names (especially when there are multiple) can be quite long. I suppose people might still want to truncate those, but not sure if that should be done as part of the component or not.

Triage:  Truncate single line; Card still handles separators

After talking with @sweeting, we decided dev can truncate the author names for example if they need to.

After further discussion we are closing for now and will revisit. Tooltips are not a viable solution for mobile usage. Need to encourage users to choose what they should emphasize rather than placing everything in metadata rows.


python312Packages.lxmf: 0.5.7 -> 0.5.8

Diff: https://github.com/markqvist/lxmf/compare/refs/tags/0.5.7...0.5.8
Changelog: https://github.com/markqvist/LXMF/releases/tag/0.5.8

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 358969

x86_64-linux

:white_check_mark: 8 packages built:

python311Packages.lxmf
python311Packages.lxmf.dist
python311Packages.nomadnet
python311Packages.nomadnet.dist
python312Packages.lxmf
python312Packages.lxmf.dist
python312Packages.nomadnet
python312Packages.nomadnet.dist


Potential Qualtrics Integration

There are several issues with integrating the Misinformation Game with Qualtrics. Redirecting to a new tab causes a discontinuity for participants. Redirecting the current tab can cause issues for participants that have cookies disabled. IFrames within Qualtrics can cause issues with bugs and dual scrollbars. A potential closer integration with Qualtrics could help to alleviate these issues and make the Misinformation Game work better as a part of a larger Qualtrics survey.
See: https://link.springer.com/content/pdf/10.3758/s13428-022-01792-w.pdf

I am closing this issue as the paper describes methods to integrate with Qualtrics, and no further work on integration with Qualtrics is planned.


MacOS: errors when validating the layout with the dtd file

As discussed on discord, xmllint is harder to run on the generated .keylayout because its parser chokes.
So this is a screen capture of VSCodium using the RedHat XML extension. Note that:

all errors are visible in the error list at the bottom,
the buffer part of the screenshot shows lines that work and lines that trigger errors,
the errors only appear once I fix the path to the dtd file (see #167 ), so I highly suspect they are indeed coming from dtd validation

Oh, and I forgot the sacred screenshot rule:

Font is "FantasqueMonoSans"
Colorscheme is one of the dark variants of "Rose Pine" (forgot which one, but there are only 2 anyway)


Disable the feature rust_decimal.

Starting with rust version 1.60 you can disable the feature by putting a dep: before it. Since the MSRV is 1.70, this is safe to include.

https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies


Circular Reference Error when using OASModel and OASOutput with Recursive Nested Schemas

Describe the bug

I'm encountering a "Type of property 'x' circularly references itself" error when using the OASModel and OASOutput types with recursive schemas. The issue arises when trying to define and work with models that involve a recursive reference (e.g., a tree structure) in the OpenAPI definition.
To Reproduce Steps to reproduce the behavior:

typescriptlang playground
Expected behavior
Recursive schemas should be handled gracefully without triggering circular reference errors.
Environment:

OS: MacOS Sonoma 14.6.1
package-name<EMAIL_ADDRESS>NodeJS: 20.14.0
TypeScript: 5.5.4

Additional context

I noticed that a similar issue was addressed in #335, but it seems like the fix might only handle one level of recursion or a limited case. In this scenario, deeper or more complex recursive structures still trigger the circular reference error. The issue could likely affect other recursive structures like linked lists or graphs.
We really appreciate the effort you’ve put into this library. We’re using your library in over 10+ projects and it has greatly simplified our development process. Thanks for your ongoing work and dedication!

Thank you @ardatan :pray: for addressing the previous issue we raised regarding the circular reference error. The fix you implemented worked well for the cases we initially encountered.
However, we’ve come across another situation where the error occurs. This time, the issue is related to handling an array of objects where the object schema itself is recursive. Here’s a brief outline of the structure:
typescript playground
We have an array of objects, each representing a recursive entity (e.g., nodes in a tree).
The circular reference error appears when the array contains instances of this recursive object.
We’d appreciate your insights on whether this can be resolved similarly to the previous fix or if it requires a different approach.


Implement protocol to add custom output to rust-lightning channel

This is a preparatory step before we implement a protocol which adds a DLC output to a rust-lightning channel.
Vanilla Lightning channels can have outputs that pay to a party directly or HTLCs. Both of those types of outputs are involved in payments. With this ticket we want to be able to add a custom output that is not involved in a Lightning payment. Since DLC outputs will also be orthogonal to Lightning payments, we expect to be able to reuse/expand/rewrite the code written when working on this ticket when implementing the Lightning DLC protocol.
The outcome of this ticket should be adding a passing test to the lightning::ln::functional_tests module.

@luckysori are you working on a fork of this https://github.com/lightningdevkit ? I guess we should keep that aligned with https://github.com/itchysats/10101/issues/11

We have a fork here https://github.com/itchysats/rust-lightning


Game Character/Layout generation.

Game Buddy is a text-to-image generator program that utilizes the ps1-graphics-sdxl-v2 model from Hugging Face to generate visual representations based on user-provided text input. The program allows users to:

Generate Images: Game Buddy takes text input from the user and generates an image using the ps1-graphics-sdxl-v2 model.

Edit Prompts/Input: Users can edit the generated prompt or input to refine the image generation process.

Request Image Story: Additionally, Game Buddy offers the option to provide a story related to the generated image. The story is generated using the gemma-7b text generation model.

Thanks @Rounaknyk for submitting this integration. We will review this and include in our integrations.

Sadly this PR does not meet our integrations PR project requirements please update and see https://github.com/fetchai/uAgents/blob/main/integrations/CONTRIBUTING.md, thanks!
will update this and include in our examples


truffle test not pass

my version:
Truffle v5.1.14-nodeLTS.0 (core: 5.1.13)
Solidity v0.5.16 (solc-js)
Node v12.16.0
Web3.js v1.2.1
use Ganache test the contract, return test did not pass

46 passing (28s)
16 failing

Contract: BridgeBank
Bridge token minting (for locked Cosmos assets)
"before each" hook for "should mint bridge tokens upon the successful processing of a burn prophecy claim":
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:319:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should unlock Ethereum upon the processing of a burn prophecy:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:592:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should unlock and transfer ERC20 tokens upon the processing of a burn prophecy:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:659:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should allow locked funds to be unlocked incrementally by successive burn prophecies:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:726:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should not allow burn prophecies to be processed twice:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:870:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should only allow locked funds to be unlocked, even if the contract holds surplus funds:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:925:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Creation of oracle claims
should allow validators to make OracleClaims with their own signatures:
AssertionError: expected promise to be fulfilled but it was rejected with 'Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..'

Contract: Oracle
Creation of oracle claims
should not allow validators to make duplicate OracleClaims:
AssertionError: expected promise to be fulfilled but it was rejected with 'Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..'

Contract: Oracle
Creation of oracle claims
should emit an event containing the new OracleClaim's information:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:275:42)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should not process the prophecy if signed power does not pass the required threshold power:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:389:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should allow for the processing of prophecies:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:405:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should allow non-unanimous consensus if signed power passes threshold:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:439:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should not allow a prophecy to be processed twice:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:472:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should emit an event upon successful prophecy processing:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:507:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Valset
Signature verification
should correctly validate signatures:
AssertionError: expected '0xf121d6E2b49b121B31ad93A8f388469f7525eBbE' to equal '0x7B8f3E3479Ec938c8959cAD07327Ef038b2127C1'

expected - actual

-0xf121d6E2b49b121B31ad93A8f388469f7525eBbE
+0x7B8f3E3479Ec938c8959cAD07327Ef038b2127C1
at Context. (test/test_valset.js:572:24)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Valset
Signature verification
should not validate signatures on a different hashed message:
AssertionError: expected '0x55532D40e64188E5F8DD3ca37FC61Cb7A93b38F3' to equal '0x0000000000000000000000000000000000000000'

expected - actual

-0x55532D40e64188E5F8DD3ca37FC61Cb7A93b38F3
+0x0000000000000000000000000000000000000000
at Context. (test/test_valset.js:590:24)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

` 46 passing (28s)
16 failing

Contract: BridgeBank
Bridge token minting (for locked Cosmos assets)
"before each" hook for "should mint bridge tokens upon the successful processing of a burn prophecy claim":
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:319:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should unlock Ethereum upon the processing of a burn prophecy:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:592:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should unlock and transfer ERC20 tokens upon the processing of a burn prophecy:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:659:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should allow locked funds to be unlocked incrementally by successive burn prophecies:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:726:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should not allow burn prophecies to be processed twice:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:870:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: BridgeBank
Ethereum/ERC20 token unlocking (for burned Cosmos assets)
should only allow locked funds to be unlocked, even if the contract holds surplus funds:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_bridgeBank.js:925:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Creation of oracle claims
should allow validators to make OracleClaims with their own signatures:
AssertionError: expected promise to be fulfilled but it was rejected with 'Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..'

Contract: Oracle
Creation of oracle claims
should not allow validators to make duplicate OracleClaims:
AssertionError: expected promise to be fulfilled but it was rejected with 'Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..'

Contract: Oracle
Creation of oracle claims
should emit an event containing the new OracleClaim's information:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:275:42)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should not process the prophecy if signed power does not pass the required threshold power:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:389:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should allow for the processing of prophecies:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:405:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should allow non-unanimous consensus if signed power passes threshold:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:439:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should not allow a prophecy to be processed twice:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:472:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Oracle
Prophecy processing
should emit an event upon successful prophecy processing:
Error: Returned error: VM Exception while processing transaction: revert Invalid message signature. -- Reason given: Invalid message signature..
at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
at TruffleContract.newOracleClaim (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
at Context. (test/test_oracle.js:507:25)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Valset
Signature verification
should correctly validate signatures:
AssertionError: expected '0xf121d6E2b49b121B31ad93A8f388469f7525eBbE' to equal '0x7B8f3E3479Ec938c8959cAD07327Ef038b2127C1'

expected - actual

-0xf121d6E2b49b121B31ad93A8f388469f7525eBbE
+0x7B8f3E3479Ec938c8959cAD07327Ef038b2127C1
at Context. (test/test_valset.js:572:24)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Contract: Valset
Signature verification
should not validate signatures on a different hashed message:
AssertionError: expected '0x55532D40e64188E5F8DD3ca37FC61Cb7A93b38F3' to equal '0x0000000000000000000000000000000000000000'

expected - actual

-0x55532D40e64188E5F8DD3ca37FC61Cb7A93b38F3
+0x0000000000000000000000000000000000000000
at Context. (test/test_valset.js:590:24)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
`

In file CosmosBridge.sol, Burn = 1
enum ClaimType {         Unsupported,         Burn,         Lock }
but in file test_cosmosBridge.js, CLAIM_TYPE_BURN  = 0
const CLAIM_TYPE_BURN = 0; const CLAIM_TYPE_LOCK = 1;

@YingQm thanks for opening this issue.
The contract test suite is currently out of date. I'm working on an upgrade to the contracts that will include the relevant fixes.