UI not displaying messages for remote client browser

I have a fresh dev install, on a clean VM, and I can't see any messages after logging in with a browser on another host. Trying to create a new one hangs the UI.
If I start Zulip with run-dev.py --interface='' then I can access the UI correctly from the same host it's running on (either by localhost or ip address) but not another one. If I provide the ip address instead of just '', it doesn't even work from the same host.
git bisect says this is where the problem is:
commit 3f5d0e69fbf801a59aa367398ea93b51be7bb940
Author: Mehanig<EMAIL_ADDRESS>Date:   Tue May 23 15:03:53 2017 -0700
Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
UI hanging trying to create a new message. Note the default dev streams exist, but there are no messages in them.

The browser reports these errors:

Hmm.  That should be fixed by provisioning and then restarting the server,
a few commits later we increased the provision version to force
provisioning.
-Tim Abbott (mobile)
On May 30, 2017 6:43 PM, "feorlen"<EMAIL_ADDRESS>wrote:

I have a fresh dev install, on a clean VM, and I can't see any messages
after logging in with a browser on another host. Trying to create a new one
hangs the UI.
If I start Zulip with run-dev.py --interface='' then I can access the UI
correctly from the same host it's running on (either by localhost or ip
address) but not another one. If I provide the ip address instead of just
'', it doesn't even work from the same host.
git bisect says this is where the problem is:
commit 3f5d0e6
https://github.com/zulip/zulip/commit/3f5d0e69fbf801a59aa367398ea93b51be7bb940
Author: Mehanig<EMAIL_ADDRESS>Date: Tue May 23 15:03:53 2017 -0700
Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
UI hanging trying to create a new message. Note the default dev streams
exist, but there are no messages in them.
[image: screen shot 2017-05-30 at 16 41 39]
https://cloud.githubusercontent.com/assets/95028/26611996/c316295e-4566-11e7-9757-63fa5c17d813.png
The browser reports these errors:
[image: screen shot 2017-05-30 at 16 47 05]
https://cloud.githubusercontent.com/assets/95028/26612005/d874f12c-4566-11e7-8e77-2a6a54b11268.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/5118, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACnm2taF5x6k5ev0ymjgAuRb8R-0PfeDks5r_MXagaJpZM4NrDgr
.

While I was doing bisect, I was re-provisioning between every attempt. Is that not enough to do it?

cc: @mehanig, @pweaver if could see the issue right away. I can't debug at this point, but it looks like there are several vestigial components for the static assets.

A little weird that tests didn't catch this.
I posted a fix in #5120. I can't test it because I don't have a production instance setup or easily bootable right now, but it compiles properly. Can one of you test the fix?

@pweaver Thanks! I'll give it a try tomorrow. Is there something special about this in a production install? (I can test that, too.)

Yes, the problem with production installs is that webpack mangles names which means global variables which used to work break. (webpack basically assumes globals don't exist).
We probably want to remove globals from the javascript as much as possible to reduce this issue. .eslint.json list the global variables which /should/ exist, but as we move to webpack we need to make sure they keep existing either though expose-loader or script-loader (or just remove and require the globals where they are needed).

Wow. @feorlen, good catch. @pweaver thank you!

Actually, I misread the error, you are working in dev. translations.js is not being loaded in the first place.

Is the webpack-dev-server binary installed in node_modules/.bin? That might also be the issue.

If webpack-dev-server is not installed, try running npm install webpack-dev-server. Some people have been having trouble with npm installing binaries correctly and I suspect #4880 will fix most of that.

It also could be something else related to the dev server.

Hmm, I wonder if it has to do with you not running the dev server locally. The dev server currently opens an ip address on <IP_ADDRESS>, but it needs to connect to the server ip address. We may need run-dev.py --listen to specify an ip to webpack to use in the dev server configuration.
Might be tricky to solve.

run-dev.py should be able to proxy to webpack; that's what it did previously.
@pweaver you can make yourself a remove dev VM on DO to test easily, I think...

Right forgot about that.

@pweaver https://github.com/webpack/webpack-dev-server/issues/147 might also be related to this issue

Huh, I can't replicate the issue.

Can you test  #5118?

My original test was a local VirtualBox image, but it's also happening on my DO dev droplet. That's entirely a test machine, so I can give people access if needed. Please let me know how I can get you login details. (I don't see a way to send you a private message here.)

#5126 fixes the problem on /sockjs/info urls showing up. Basically the webpack-dev-server was inlining a loading script with an old url.
The problem is getting /socket.io to work. On the websocket site /sockjs is hardcoded. This is a problem because tornado already uses /sockjs. To fix this we are going to have to change one of the urls (rewrite it?), rename the tornado url, or webpack-dev-server. I am not sure the right approach.

We could also disable hot reloading.


Newsest version no longer working

When I try to update, this happens:

Yeah I might have barked some stuff with the significant filtering move.
Working on fixing it.

@destructive-dragon Bump!
Try out the new version!


feat: generate example function for TypeScript models

Description

Added a flag tsExampleInstance which if true adds an example of the model generated .
Added a snapshot test for the same.

Related issue(s)
Resolves #462

There is a problem in the code formatting and I don't know how to resolve it. Please if anyone can help me with it.


Font sharpening is overdoing it

Original:

Current:

I find the font sharpening somewhat strong here. I preferred the softer touch of the original design. Especially on not that great displays and projectors, the sharper fonts become difficult to read.
I understand the color changes, definitely a nice touch... Just maybe a little softer? Note that the dark side of the thing actually does have more comfortable fonts.

We have added the issues to the backlog of our Trello board

This issue has been fixed.


Cleanup CallableResolver

Hi There,
I was taking a look at the Callable Resolver and I've noticed how the indentation levels were nested and all coupled into one single method. I've also noticed how some checks and logic were
intrinsically structured.
Moreover the callable pattern, even though is not used anywhere else I think it's better to have it as a constant, since it's never going to change.
I've run the unit tests. Hope it's opened for discussions, glad to have your positive or negative feedback, thanks!

Coverage decreased (-0.07%) to 97.862% when pulling 6ccc22980b4444d3121c9f9680bfa5366ec74b61 on 0x13a:feature-refactor-callable-resolver into 50f3eef927689b5bbf3cfbf34c8aa8762e549b6c on slimphp:3.x.

gotta add full test coverage

You can simply add to this branch and as you push, it'll re-run the CI tests

@akrabat yes thanks I know. Just wanted to keep the PR list clean, as it will take some time, before I can work on it. I will reopen it soon

Coverage decreased (-0.07%) to 97.862% when pulling fb96f3ba7b3763d2178004cbc9225ff99266301b on 0x13a:feature-refactor-callable-resolver into fb5356a0f16ef027035155067377239c938bb767 on slimphp:3.x.

Coverage decreased (-0.07%) to 97.862% when pulling 90005977bdd2fbbf5dfda8e9821fa87eae01f46e on 0x13a:feature-refactor-callable-resolver into fb5356a0f16ef027035155067377239c938bb767 on slimphp:3.x.

The un-covered line here it seems to be like a dead code, and moreover it's not appearing on my local phpunit 4.8.33 running with PHP7 7.0.14, where I've 100% code coverage for the Slim Callable Resolver. Any ideas ?

The un-covered line here it seems to be like a dead code, and moreover it's not appearing on my local phpunit 4.8.33 running with PHP7 7.0.14, where I've 100% code coverage for the Slim Callable Resolver. Any ideas ?

I can't see why that closing } is shown as not covered.

Thanks.
It may be worth looking at the equivalent in 4.x and seeing if that can also be improved.

@akrabat someone already made some refactoring https://github.com/slimphp/Slim/pull/2157


IPA ref for other models

Hi! Thank you for this great software.
I was wondering if you plan to include other models or a code for building the necessary IPA reference?
I work with danio rerio and would love to use InPACT!
Thanks!

Hello! Thank you for your interest in InPACT!
While our current focus is on human data, we are definitely open to expanding InPACT to support other species, such as Danio rerio. We appreciate your suggestion and will keep you informed of any developments regarding the inclusion of Danio rerio in InPACT.
Liu

Thank you very much!
I am looking forward to it!


Cherry-pick VS insertion automation to release/17.4

### Summary of the changes

We need to insert into 17.4 (see https://github.com/dotnet/razor/pull/8097). However, as part of https://github.com/dotnet/razor/pull/7944 to automate VS insertions, I updated the drop folder to point to a different location. We should cherry-pick this change (+ related changes) back to 17.4 so we can insert.

cc @Cosifne

updated the drop folder to point to a different location.

And this doesn't happen in a .yml file?

And this doesn't happen in a .yml file?

I updated the yml file so the drop path is now DropFolder: 'artifacts\VSSetup\$(_BuildConfig)\Insertion', and updated the drop path in the release pipeline to match. Hypothetically, we could temporarily change back the release pipeline to the old path, but we're going to run into the same issue if we service 17.4 again, so I thought it'd be more efficient in the long run to cherry-pick this change.

All good, just making sure I understand, because the PR you linked to that caused the break was after 17.4 :)

Also @davidwengier - messaged you separately about this just now too, but I'm not sure if cherry-picking this will cause problems in VS since we're once again changing the version #?


consistently check expressions with >, >=, <, <= for unconstrained types in strictNullChecks

fixes #50603, which bisected to #49119
Previously: unconstrained type parameters were inconsistently checked in comparisons, as shown below (5.5.3 playground):
function f<T>(a: T, b: T) {
   return a > b; \\ okay
}

function g<T extends {} | undefined | null>(a: T, b: T) {
   return a > b; \\ error!!
      \\ 'a' is possibly 'null' or 'undefined'.ts(18049)
      \\ 'b' is possibly 'null' or 'undefined'.ts(18049)
}

Now with this PR:
    function f1<T>(a: T, b: T): boolean {
        return a > b;
               ~
!!! error TS18046: 'a' is of type 'unknown'.
                   ~
!!! error TS18046: 'b' is of type 'unknown'.
    }

    function f2<T extends {} | undefined | null>(a: T, b: T): boolean {
        return a > b;
               ~
!!! error TS18049: 'a' is possibly 'null' or 'undefined'.
                   ~
!!! error TS18049: 'b' is possibly 'null' or 'undefined'.
    }

This PR does not affect the checking of unconstrained types in other locations.

@typescript-bot test it
@typescript-bot pack this

Checking this
@typescript-bot perf test this

@DanielRosenwasser Thanks for the suggestions! Good catch--it does work for unions but not intersections, so I added those cases as well.

@typescript-bot test it

I have just put up #59437 which I believe is the right fix for #50603 plus the inconsistencies related to unconstrained type parameters vs. type parameters constrained to {} | null | undefined. There are an awful lot of interacting parts here. In particular, it only becomes feasible to check that unconstrained generic types are possibly nullable in --strictNullChecks mode by first fixing the fact that obj shouldn't be null-checked in obj[key] when obj and key both have generic types.


Fix description in guides.

Hello!
You have error on this line if (JSON.parse(res.data.is_first_launch) == true) because sometimes res.data.is_first_launch eq undefined and JSON.parse(undefined) throw exception and app crash. I catched that bug in my app from sentry

And I fix that
 const isFirstLaunch = res?.data?.is_first_launch;    if (isFirstLaunch && JSON.parse(isFirstLaunch) === true)
Please, approve that MR that other people won't have this bug on app.
And also I fixed all var to const, because use var in modern JavaScript it's bad practice. var in in global scope, but const|let only local scope.

@khorark thank you for this MR. we will publish a new version of the plugin with your MR


'angularx-timeline' is not a known element

ERROR in src/app/releases-timeline/releases-timeline.component.html:1:1 - error NG8001: 'angularx-timeline' is not a known element:
1. If 'angularx-timeline' is an Angular component, then verify that it is part of this module.
2. If 'angularx-timeline' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.

1 <angularx-timeline [dataSource]="dataSource"></angularx-timeline>
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  src/app/releases-timeline/releases-timeline.component.ts:7:16
    7   templateUrl: './releases-timeline.component.html',
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component ReleasesTimelineComponent.
src/app/releases-timeline/releases-timeline.component.html:1:20 - error NG8002: Can't bind to 'dataSource' since it isn't a known property of 'angularx-timeline'.
1. If 'angularx-timeline' is an Angular component and it has 'dataSource' input, then verify that it is part of this module.
2. If 'angularx-timeline' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <angularx-timeline [dataSource]="dataSource"></angularx-timeline>
                     ~~~~~~~~~~~~~~~~~~~~~~~~~

  src/app/releases-timeline/releases-timeline.component.ts:7:16
    7   templateUrl: './releases-timeline.component.html',
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component ReleasesTimelineComponent.

Module was added to app.module.ts imports.
Angular CLI: 10.1.7
Node: 12.19.0
OS: win32 x64
Angular: 10.1.6

Did you get de answer? Have same problem now


onPress is not called after using useNativeDriver transform button

Description
After using useNativeDriver transform button, finger movement occurs when the button is pressed, the button's onPress will not be called, but the visual feedback of the button is normal.
The bug only occurs on Android devices, and when the new architecture is enabled, useNativeDriver=true is set.
React Native Version
0.71.4
Output of npx react-native info
System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 148.16 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.5.0 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 28, 29, 30, 31, 32, 33
Build Tools: 28.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-31 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: Electric Eel 2022.1.1 Patch 2 Electric Eel 2022.1.1 Patch 2
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /opt/homebrew/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Run my code, Press the button after scrolling the FlatList, move your finger slightly and lift it up.
Snack, code example, screenshot, or link to a repository
import React, {useRef, useState} from 'react';
import {View, Text, Button, Animated} from 'react-native';
const componentList: number[] = Array.from(new Array(100).keys());
const App = () => {
const currScroll = useRef(new Animated.Value(0)).current;
const [count, setCount] = useState(0);
return (
<View style={{flex: 1}}>
<Animated.View
style={{
position: 'absolute',
zIndex: 2,
width: '100%',
transform: [{translateY: currScroll}],
}}>
<Button
title={Press count : ${count}}
onPress={() => {
console.log('pressed');
setCount(count + 1);
}}>
</Animated.View>
<Animated.FlatList
style={{width: '100%', height: '100%', position: 'absolute', zIndex: 1}}
data={componentList}
renderItem={({index}) => (
<Text
style={{
backgroundColor: 'white',
height: 28,
}}>
{index}

)}
keyExtractor={item => item.toString()}
onScroll={Animated.event(
[
{
nativeEvent: {
contentOffset: {
y: currScroll,
},
},
},
],
{useNativeDriver: true},
)}></Animated.FlatList>

);
};
export default App;

Hi @ThinkerLu , we still have this issue. Did you find any solution for this?

+1, after applying transform:  translateX/Y/Z(*), on Animated.View, internal content of this View become non-responsive, works after multiple clicking.
It comes after using New Arch.Even used latest 0.72.0-RC.3

@jugshaurya I can confirm I'm having the same issue, using 71.10, android.

@jugshaurya I can confirm I'm having the same issue, using 71.10, android. It basically makes the new architecture unusable on Android, unless you plan to have no animation. It's occurring with all touchables and pressables.
related: https://github.com/facebook/react-native/issues/36710

I found a temp/possible solution for it, after researching for more than 2 weeks.
Use onPressIn instead of onPress !

@jugshaurya I can confirm I'm having the same issue, using 71.10, android. It basically makes the new architecture unusable on Android, unless you plan to have no animation. It's occurring with all touchables and pressables.
related: #36710

I found a temp/possible solution for it, after researching for more than 2 weeks.
Use onPressIn instead of onPress !
Let me know if it also works for you. Also to increase tappable area to make button more responsive, you can use hitslop prop.

This is not a solution as it triggers accidentally on any scrollable item

@jugshaurya I can confirm I'm having the same issue, using 71.10, android. It basically makes the new architecture unusable on Android, unless you plan to have no animation. It's occurring with all touchables and pressables.
related: #36710

I found a temp/possible solution for it, after researching for more than 2 weeks.
Use onPressIn instead of onPress !
Let me know if it also works for you. Also to increase tappable area to make button more responsive, you can use hitslop prop.

This is not a solution as it triggers accidentally on any scrollable item

Can you share an example gif or something to get the better context, because i used this solution for codebase, it is working fine.

Hi everyone, we have this investigation marked as high priority, so we hopefully would be able to make progress on this as fast as we can.
To help us out, we would greatly appreciate a reproducer starting from this repo. I understand that the issue does not reproduce consistently, but if you can set up something and tell us how and how much we need to interact with the repro to get the issue happening, this will help us a lot.
Thank you all for the cooperation! 🙏

@cipolleschi Here's the example from @ThinkerLu as a reproducer repo, and a video of the result.
Reproducer: https://github.com/sonicbaume/fabric-onpress-bug-reproducer
Video:
https://github.com/facebook/react-native/assets/102724304/97806c87-4788-488a-8f2b-593ea286d300

@cipolleschi Is this still considered high priority? Is there anything else you need?

@cipolleschi Is this still considered high priority? Is there anything else you need?

Yes it is. If someone is willing to attempt to fix it and send a PR, it would be greatly appreaciated. Otherwise we'll eventually fix it in the (hopefully soon) future

Thanks for your patience, competing priorities took most of my time. :(
As @cortinico said, we want to fix this issue, together with some other that are affecting the New Architecture. Bear with us, we will get there.

Hi @sonicbaume @ThinkerLu @iMonk777 @jugshaurya @vrgimael, sorry that this took us so long.
I was trying the reproducer and it feels like it is fixed on 0.74.1 with regular touches.
There is still something weird related to when you tap-drag-release within the button. It looks that onPress is not invoked in that case. It works if you click-drat to the top-release: it looks like that when we 'release' the touch, we are not considering the translated position.
https://github.com/facebook/react-native/assets/11162307/d8239609-57b8-45b9-b6c6-af363d52f4ca

This will be fixes in 0.76.

This will be fixes in 0.76.

Hi @cipolleschi,  what is the commit id that fixed this bug?

@61xin there are multiple commits required to fix this issue. It will be quite hard to backport the fix to previous versions, plus the New Architecture is considered stable and ready for production in 0.76. So I strongly suggest to update to 0.76 if you want to migrate to the New Architecture, also because that version will contains many more fixes for the New Arch.

ok，thank you!

@61xin  After upgrading to 0.76.1 I can say that the issue is still present

@fdecampredon can you share a reproducer? We have a screen in RNTester to test this case and I'm sure it was fixed. Maybe we missed some edge case.

@cipolleschi I'm really sorry after more investigation I think it is more related to this one : https://github.com/facebook/react-native/issues/44768.
We'll try to make a minimal reproduction example but it's a bit hard since the problem is deeply nested in a very complex screen.

I am using  react native 0.72 and this solve my problem，you can try it!
import type {ViewProps} from 'react-native'
import {PanResponder, View} from 'react-native'

export type TouchComponentProps = {
  onPress: () => void
}

export default (props: ViewProps & TouchComponentProps) => {
  const panresponder = PanResponder.create({
    onStartShouldSetPanResponder: () => true,
    onShouldBlockNativeResponder: () => false,
    onPanResponderRelease: () => {
      props.onPress()
    },
  })

  return (
    <View {...props} {...panresponder.panHandlers}>
      {props.children}
    </View>
  )
}


[Bug]: Coolify does not seems to find a file

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
https://github.com/nextcloud/docker
Description
If I try to load the example at https://github.com/nextcloud/docker/tree/master/.examples/docker-compose/insecure/mariadb/apache
by change the compose location on the server it does not finish giving the error
[14:03:55.439] Cloning nextcloud/docker:master...
[14:03:56.327] Configuration changed
[14:03:57.574] Command failed with exit code 14: docker compose --project-directory /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi -f /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml pull
open /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi/db.env: no such file or directory
[14:03:57.576] Command failed with exit code 14: docker compose --project-directory /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi -f /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml pull
open /tmp/build-sources/nextcloud/docker/cld1odr7l0000agpdd5ljekwi/db.env: no such file or directory

I think the server does not cd before loading the docker-compose.yml breaking the internal links it has
Steps To Reproduce

Make a compose project using this https://github.com/nextcloud/docker
change the compose file to .examples/docker-compose/insecure/mariadb/apache/docker-compose.yml
profit! (build log not finishing)

Version
3.12.12 & 3.12.10

I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.
Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.
Thanks for your understanding.


Export validateSequenceArray

Hi @tnrich, in the old bio-parser we could import this function through
import validateSequenceArray from 'bio-parsers/lib/parsers/utils/validateSequenceArray';
But now the lib files no longer there in the built files. So add this export to index.js file

Released in 0.1.19    @XingGao-PKI


Bug: Narrow all emissions filters based on time period

Test Case
Test Case: TC420
Actual Results

The custom data download allows a user to select and apply filter criteria for items greyed out from the check list. Users can apply filter criteria for greyed out items by selecting the select all check box.

For facility/ unit attributes the UI is saying that data is not available for 1995 but the API returns data

https://easey-dev.app.cloud.gov/api/facility-mgmt/facilities/attributes?year=1995
Requirements
User Story
As a custom data download user I want the all the emissions filters to narrow based on time period so that I can avoid producing a query with no results
Acceptance Criteria
Given that a user has selected an emissions subtype
When the functionality is displayed
Then the user is required to apply filter criteria for time period first
AND the optional filters are greyed out until time period criteria is applied
Given that a user has selected an emissions subtype on the custom data download
When filter criteria is applied for time period
Then the system displays a spinner until the filter logic is engaged
Given that the filter logic is engaged
When filter panel functionality is displayed
Then non applicable selections are removed from the combo box
AND grayed out from the check list
Given that a user has selected a  time period where data is not available (dev environment)
When the time period criteria is applied
Then the system will display the following message:  "Data is not available for the selected time period. Enter a new time period"
And require the user to apply a new time period
Given that the filter logic is engaged
When new filter criteria is applied for year
Then the system will display the warning message: Changing the year will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to proceed then all previously selected criteria are cleared
AND the time period is updated
Given that the filter logic is engaged
When new filter criteria is applied for year
Then the system will display the warning message: Changing the year will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to cancel then all previously selected criteria are maintained
Given that the filter logic is engaged
When new filter criteria is applied for the month, day, or quarter
Then all previously selected criteria are maintained
Given that the filter logic is engaged
When the time period filter tag is cleared
Then the system will display the warning message: Removing time period will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to proceed then all previously selected criteria are cleared
and all the optional filters are greyed out until time period criteria is applied

https://epacamd.testquality.com defect D82.


Add a DNS Zone screen misplaces email address error popup

I was testing adding a DNS Zone, and put garbage in the email address field.  The error popup showed for the wrong input.

Huh, that's a funny one. What browser are you running?

He is running Vivaldi, Chrome doesn't have the same problem.
@Dorthu, do you think it is safe to say this is a problem with Vivaldi instead, since it is based on the same technology as Chrome?

I am closing for now.  If someone can justify re-opening it, feel welcome.


Additional Button on the left side

Is it possible to add buttons to the left side? Like a Camera button for image uploads.

I added a PR that allows you to create a much more flexible custom display based on message row data. https://github.com/FaridSafi/react-native-gifted-messenger/pull/71
Here is an example of adding buttons inline in the chat: https://gyazo.com/de634181d3b27ffae7d6d04fbb649f9b

I think my question is not that clear. I thought of a button on the left side of the input field.

Like this one for uploading images/videos.

+1

Aw gotcha, it's not currently implemented. However, I can make another PR for this functionality. Basically, you should be able to over-ride the current text input container with your own container. Which could include anything.

Hello, there is now a leftControlBar prop in 0.1.0


No registered resource provider found for location 'EastUS2' and API version '2021-04-01-preview' for type 'vaults'

Describe the bug

When trying to create an Azure Key Vault in the Dogfood environment the request is failing with
(NoRegisteredProviderFound) No registered resource provider found for location 'EastUS2' and API version '2021-04-01-preview' for type 'vaults'. The supported api-versions are '2014-12-19-preview, 2015-06-01, 2016-10-01, 2018-02-14-preview, 2018-02-14, 2019-09-01'. The supported locations are 'eastus2, centralus, northcentralus, southcentralus, canadaeast, canadacentral'.
To Reproduce

Make sure that latest version of az-cli is installed(2.27 in my case)
Try to execute an az-cli command to create a Key Vault in Dogfood subscription

Expected behavior

The expected behavior is that the Key Vault should get created.
Environment summary

OS details
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
az-cli version
➜  ~ az --version
azure-cli                         2.27.2
core                              2.27.2
telemetry                          1.0.6
Extensions:
account                            0.2.1
vmware                             3.1.0
Additional context

The create Key Vault request got successful when downgraded the az-cli version following
➜  ~ az --version
azure-cli                         2.22.0 *
core                              2.22.0 *
telemetry                          1.0.6
Extensions:
account                            0.2.1
vmware                             3.1.0

keyvault

For service info: '2021-04-01-preview' not supported in dogfood environment

Please reach out to the AKV dev internally to further investigate.


[UX] Remove all default on-hover behaviour.

This improves the website experience to be more consistent between desktop and mobile devices.

Decided on leaving color changes in as they are very subtle. The bold will be removed.


Ingest Node - Grok Processor

Hi guys,
i am trying to transform my documents in opendistro elasticsearch with an ingest pipeline with a grok processor (i also enabled the security feature and use the admin user for everything). So i created a pipeline using the REST API (PUT _ingest/pipeline/my-pipeline) and configured filebeat to use this pipeline:
output:
    elasticsearch:
       …
       pipeline: my-pipeline
       …

But when watching the documents, they are not transformed, and it seems like the pipeline is ignored.
Filebeat connects to the elasticsearch container and the logs are shown there but the transformation was not executed.
I tested it with the elastic-oss image and it works there.
Any ideas?

Hi @christopherfriedrich,
Sorry for the long delay. I don't have an answer, but could you please re-ask your question on this forum: https://discuss.opendistrocommunity.dev/c/general-elasticsearch/10.
Thanks,
Jon


AGE&Citus Integrationn-Project Planning and Requirements Gathering

Since,  Citus is an extension to PostgreSQL that is used for horizontal scaling of PostgreSQL across multiple nodes. we can use it with AGE to improve the performance and scalability of graph queries by parallelizing the execution across the cluster.

Citus
In relation to its operational efficiency, Citus distributes tables into shards across a network of PostgreSQL nodes. This means that data is broken down into smaller pieces and stored on numerous nodes, enabling tasks to be carried out concurrently. This approach optimally harnesses the processing power, memory, storage, and input/output capabilities of the CPU.
Additionally
The system's distributed query engine effectively directs transactions throughout the cluster, simultaneously distributing analytical queries and batch processes across all available cores. Additionally, you retain the ability to utilize the familiar PostgreSQL features and tools.

Citus Architecture
Talking about its architecture, in a citus cluster all servers run PostgreSQL with the citus extension plus any number of other extension installed. Citus uses the PostgreSQL extension APIs to change the behaviour of database in two ways.

It replicates database objects to all servers such as custom types and functions.
It adds two new table types that can be used to take advatange of additional servers.

AGE and citus both are extensions to PostgreSQL, we can try to use it by installing both extensions on Postgres cluster

How to choose a shard ID on citus is a problem


Unable to use the package

I am getting an error
ERROR  Cannot start nuxt:  The requested module '@graphql-codegen/plugin-helpers' does not provide an export named 'DetailedError'                                                         12:03:52

  import { DetailedError, createNoopProfiler } from '@graphql-codegen/plugin-helpers';
  ^^^^^^^^^^^^^
  SyntaxError: The requested module '@graphql-codegen/plugin-helpers' does not provide an export named 'DetailedError'
  at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
  at async ModuleJob.run (node:internal/modules/esm/module_job:181:5)
  at async Promise.all (index 0)
  at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
  at async normalizeModule (node_modules/@nuxt/kit/dist/index.mjs:476:26)
  at async installModule (node_modules/@nuxt/kit/dist/index.mjs:455:41)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1606:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6778:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6828:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:50:20)

I guess it might be because of the recent update to the graphql-code-generator more specifically because of this PR where they have removed the DetailedError

@ShreyAmbesh @boboldehampsink Temporary fix:
Add the following to your package.json file to pin the pertinent dependencies.
For NPM
  "overrides": {
    "@graphql-codegen/cli": "2.13.4",
    "@graphql-codegen/core": "2.6.2",
    "@graphql-codegen/plugin-helpers": "2.7.1"
  }

For Yarn / Pnpm
  "resolutions": {
    "@graphql-codegen/cli": "2.13.4",
    "@graphql-codegen/core": "2.6.2",
    "@graphql-codegen/plugin-helpers": "2.7.1"
  }

@Diizzayy's method No. 1 doesn't work for me, and the second didn't try

@talaxasy Second works like a charm

https://github.com/npm/cli/issues/5850
just dropping this issue here - i was able to get the DefaultError problem fixed, then it broke again when i re-installed.
even with overrides, npm install is giving me the 2.7.1 version for @graphql-codegen/plugin-helpers.  the others are ok, though...
maddening

maddening

@stlbucket Indeed, this is quite an annoying bug caused by important upstream dependencies that we haven't been able to get around. As a temporary workaround I might resort to publishing a patched version of the dep to be used solely by this nuxt module that averts this issue.

@stlbucket release is on the way!

@talaxasy release is on the way!

I had to blow away my package-lock.json but this update installs and runs smoothly without the need for overrides.  Thanks so much for your work on this package!

@stuible Okay perfect! I'm happy to hear it's working properly for you.

@Diizzayy - i will be trying this soon - fyi i had been on rc13, then woke up this morning so have rebuilt on 3.0
nuxt-graphql-client is showing as 0.2.12 in my package.json - above you said 0.2.11?
my next step will be incorporating pinia, which is where i actually encountered the problem previously

https://github.com/vuejs/pinia/issues/853
pinia requires --legacy-peer-deps
due to the same bug, i believe?

@stlbucket Pinia should work fine alongside this module, Let me know what if any issue your run into and I'll have a look into it

@Diizzayy - seems to have worked for now

@ShreyAmbesh @stlbucket @talaxasy @stuible version 0.2.11 has been released with the aforementioned patch. Looking forward to hearing your feedback.

yeah, works

Closing, this was recently resolved upstream as per dotansimha/graphql-code-generator#8590


Use tinygo to build wasm

Currently, the wasm size is around 8.3MB and its built with go bin. We can look to use tinygo inorder to reduce the wasm size.
https://github.com/trustbloc/agent-sdk/blob/ee6d0d474d63ba871fbdbfb82e1f2a53b0aa1518/cmd/agent-js-worker/scripts/build_assets.sh#L8

document the compile errors with tinygo
try to find work around (build tinygo locally with reflect packcage changes)

This is the initial issue with the official tinygo:
$ tinygo build -o src/agent-js-worker.wasm -target wasm
# google.golang.org/protobuf/internal/descfmt
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:44:31: reflect.ValueOf(vs).MethodByName undefined (type reflect.Value has no field or method MethodByName)
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:93:29: reflect.ValueOf(vs).MethodByName undefined (type reflect.Value has no field or method MethodByName)
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:124:11: rv.MethodByName undefined (type reflect.Value has no field or method MethodByName)
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:194:9: rv.MethodByName undefined (type reflect.Value has no field or method MethodByName)
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:209:13: v.MethodByName undefined (type reflect.Value has no field or method MethodByName)
../../../../../../go/pkg/mod/google.golang.org/protobuf@v1.27.1/internal/descfmt/stringer.go:219:12: rv.MethodByName undefined (type reflect.Value has no field or method MethodByName)
$ tinygo version
tinygo version 0.22.0 darwin/amd64 (using go version go1.17.6 and LLVM version 13.0.0)

Trying with the source code for tinygo I made some changes to make those errors disappear, but those didin't work just changing the tinygo build because some new errors appeared.
~/development/securekey/fork/tinygo/build/tinygo version
tinygo version 0.23.0-dev-a7a69d38 darwin/amd64 (using go version go1.17.6 and LLVM version 13.0.0)
$ ~/development/securekey/fork/tinygo/build/tinygo build -o src/agent-js-worker.wasm -target wasm
# net
~/development/securekey/fork/tinygo/src/net/tcpsock.go:28:16: undeclared name: DefaultResolver
~/development/securekey/fork/tinygo/src/net/tcpsock.go:28:49: undeclared name: context

Adding -ldflags "-s -w" reduced dist directory from 8.3MB to 8MB

Adding -ldflags "-s -w" reduced dist directory from 8.3MB to 8MB

@victro this is the compressed file size. Can you add uncompressed wasm size as well ?

Tinygo
The first step was to add placeholders for functions not
implemented in the following files:

modified:   loader/goroot.go
    modified:   src/net/ipsock.go
    modified:   src/net/net.go
    modified:   src/net/tcpsock.go
    modified:   src/os/errors.go
    modified:   src/os/file_unix.go
    modified:   src/os/file_windows.go
    modified:   src/reflect/type.go
    modified:   src/reflect/value.go
    modified:   src/runtime/extern.go
    modified:   src/runtime/symtab.go

And add a new package
“user” for with the following content:

package user

func lookupUser(username string) (*User, error) {
    panic("unimplemented: User.lookupUser()")
}

type User struct {
    // Uid is the user ID.
    // On POSIX systems, this is a decimal number representing the
uid.
    // On Windows, this is a security identifier (SID) in a string
format.
    // On Plan 9, this is the contents of /dev/user.
    Uid string
    // Gid is the primary group ID.
    // On POSIX systems, this is a decimal number representing the
gid.
    // On Windows, this is a SID in a string format.
    // On Plan 9, this is the contents of /dev/user.
    Gid string
    // Username is the login name.
    Username string
    // Name is the user's real or display name.
    // It might be blank.
    // On POSIX systems, this is the first (or only) entry in the
GECOS field
    // list.
    // On Windows, this is the user's display name.
    // On Plan 9, this is the contents of /dev/user.
    Name string
    // HomeDir is the path to the user's home directory (if they
have one).
    HomeDir string
}

func Current() (*User, error) {
    panic("unimplemented: user.Current()")
}

I had to change a readonly file just to avoid having the
issue of a int conversion error and the file is:

Changes in
<EMAIL_ADDRESS>

And had some issues with os/user that were bypassed by
changing the following content in
tinygo/loader/goroot.go
// The boolean indicates whether to merge the subdirs. True
means merge, false
// means use the TinyGo version.
func pathsToOverride(needsSyscallPackage
bool) map[string]bool {
    paths := map[string]bool{
        "":                      true,
        "crypto/":               true,
        "crypto/rand/":          false,
        "device/":               false,
        "examples/":             false,
        "internal/":             true,
        "internal/bytealg/":     false,
        "internal/reflectlite/":
false,
        "internal/task/":        false,
        "machine/":              false,
        "net/":                  true,
        "os/":                   true,
        "os/user/":              true,
        "reflect/":              false,
        "runtime/":              false,
        "sync/":                 true,
        "testing/":              true,
    }
    if needsSyscallPackage {
        paths["syscall/"] = true // include syscall/js
    }
    return paths
}

After that make again and the final operation I am working
on right now is passing the following issue:

../../../../../../go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog_file.go:118:7:
Symlink not declared by package os

This is being called from tinygo/loader/goroot.go

GCCGO

Run all the following commands inside of a linux container
in docker to have all the dependencies installedL:

apt install -y
software-properties-common wget git gcc-11
add-apt-repository -y   ppa:ubuntu-toolchain-r/test
add-apt-repository
-y pya:ubuntu-toolchain-r/test
update-alternatives --remove-all gcc
update-alternatives --remove-all g++

update-alternatives --install
/usr/bin/gcc gcc /usr/bin/gcc-11 10
update-alternatives --install
/usr/bin/gccgo gccgo /usr/bin/gccgo-11 10
update-alternatives --install
/usr/bin/gccgo gccgo /usr/bin/gccgo-9 20

update-alternatives --set cc
/usr/bin/gcc

wget
https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar
-C /usr/local -xzf go1.17.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

The current error at the moment is:
/root/go/pkg/mod/github.com/hyperledger/aries-framework-go/component/storage/indexeddb@v0.0.0-20220202170435-bb5bedb39f36/indexeddb.go:19:2:
package syscall/js is not in GOROOT (/usr/local/go/src/syscall/js)

Tinygo
The first step was to add placeholders for functions not implemented in the following files:
modified:   loader/goroot.go
modified:   src/net/ipsock.go
modified:   src/net/net.go
modified:   src/net/tcpsock.go
modified:   src/os/errors.go
modified:   src/os/file_unix.go
modified:   src/os/file_windows.go
modified:   src/reflect/type.go
modified:   src/reflect/value.go
modified:   src/runtime/extern.go
modified:   src/runtime/symtab.go
And add a new package “user” for with the following content:
package user
func lookupUser(username string) (*User, error) {
panic("unimplemented: User.lookupUser()")
}
type User struct {
// Uid is the user ID.
// On POSIX systems, this is a decimal number representing the uid.
// On Windows, this is a security identifier (SID) in a string format.
// On Plan 9, this is the contents of /dev/user.
Uid string
// Gid is the primary group ID.
// On POSIX systems, this is a decimal number representing the gid.
// On Windows, this is a SID in a string format.
// On Plan 9, this is the contents of /dev/user.
Gid string
// Username is the login name.
Username string
// Name is the user's real or display name.
// It might be blank.
// On POSIX systems, this is the first (or only) entry in the GECOS field
// list.
// On Windows, this is the user's display name.
// On Plan 9, this is the contents of /dev/user.
Name string
// HomeDir is the path to the user's home directory (if they have one).
HomeDir string
}
func Current() (*User, error) {
panic("unimplemented: user.Current()")
}
I had to change a readonly file just to avoid having the issue of a int conversion error and the file is:
Changes in<EMAIL_ADDRESS>And had some issues with os/user that were bypassed by changing the following content in
tinygo/loader/goroot.go
// The boolean indicates whether to merge the subdirs. True means merge, false
// means use the TinyGo version.
func pathsToOverride(needsSyscallPackage bool) map[string]bool {
paths := map[string]bool{
"":                      true,
"crypto/":               true,
"crypto/rand/":          false,
"device/":               false,
"examples/":             false,
"internal/":             true,
"internal/bytealg/":     false,
"internal/reflectlite/": false,
"internal/task/":        false,
"machine/":              false,
"net/":                  true,
"os/":                   true,
"os/user/":              true,
"reflect/":              false,
"runtime/":              false,
"sync/":                 true,
"testing/":              true,
}
if needsSyscallPackage {
paths["syscall/"] = true // include syscall/js
}
return paths
}
After that make again and the final operation I am working on right now is passing the following issue:
../../../../../../go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog_file.go:118:7: Symlink not declared by package os
This is being called from tinygo/loader/goroot.go
GCCGO
Run all the following commands inside of a linux container in docker to have all the dependencies installedL:
apt install -y software-properties-common wget git gcc-11
add-apt-repository -y ppa:ubuntu-toolchain-r/test
add-apt-repository -y pya:ubuntu-toolchain-r/test
update-alternatives --remove-all gcc
update-alternatives --remove-all g++
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10
update-alternatives --install /usr/bin/gccgo gccgo /usr/bin/gccgo-11 10
update-alternatives --install /usr/bin/gccgo gccgo /usr/bin/gccgo-9 20
update-alternatives --set cc /usr/bin/gcc
wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
The current error at the moment is:
/root/go/pkg/mod/github.com/hyperledger/aries-framework-go/component/storage/indexeddb@v0.0.0-20220202170435-bb5bedb39f36/indexeddb.go:19:2: package syscall/js is not in GOROOT (/usr/local/go/src/syscall/js)

Adding -ldflags "-s -w" reduced dist directory from 8.3MB to 8MB

@victro this is the compressed file size. Can you add uncompressed wasm size as well ?

34MB

The following tests are failing with the tinygo build and working fine with the gc compiler:
1) "before all" hook for "Router is running on "http://<IP_ADDRESS>:10091,ws://<IP_ADDRESS>:10092" with controller "http://<IP_ADDRESS>:10093""
     DID-Exchange between an Edge Agent and a router
     Error: timout waiting for aries to initialize
    at test/didexchange/edgeagent_mediator.js:74:31

2) "after all" hook for "Edge Agent validates that the connection's state is 'completed'"
     DID-Exchange between an Edge Agent and a router
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/didexchange/edgeagent_mediator.js:80:20)

3) "before all" hook for "Router is running on "http://<IP_ADDRESS>:10091,ws://<IP_ADDRESS>:10092" with controller "http://<IP_ADDRESS>:10093""
     DID-Exchange between two Edge Agents using the router
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

4) "after all" hook for "Alice Edge Agent validates that the connection's state is 'completed'"
     DID-Exchange between two Edge Agents using the router
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/didexchange/edgeagent_mediator.js:113:26)

5) "before all" hook for "Router is running on "http://<IP_ADDRESS>:10091,ws://<IP_ADDRESS>:10092" with controller "http://<IP_ADDRESS>:10093""
     Registers multiple routers
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

6) "after all" hook for "Alice Edge Agent validates router`s connections"
     Registers multiple routers
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/didexchange/edgeagent_mediator.js:202:26)

7) "before all" hook for "Alice constructs an out-of-band invitation"
     Outofband - New connection after Alice sends an ouf-of-band invitation to Bob wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

8) "after all" hook for "Bob accepts the invitation and connects with Alice"
     Outofband - New connection after Alice sends an ouf-of-band invitation to Bob wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/outofband/outofband.js:41:27)

9) "before all" hook for "Bob and Carol have established connection with Alice"
     Introduce - Alice has Carol's public out-of-band invitation wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

10) "after all" hook for "Bob wants to know Carol and sends introduce response with approve"
     Introduce - Alice has Carol's public out-of-band invitation wasm
     TypeError: destroy is not a function
    at Context.<anonymous> (test/introduce/introduce.js:268:15)

11) "before all" hook for "Bob and Carol have established connection with Alice"
     Introduce - Alice has Carol's public out-of-band invitation. The protocol starts with introduce request. wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

12) "after all" hook for "Bob wants to know Carol and sends introduce response with approve"
     Introduce - Alice has Carol's public out-of-band invitation. The protocol starts with introduce request. wasm
     TypeError: destroy is not a function
    at Context.<anonymous> (test/introduce/introduce.js:210:15)

13) "before all" hook for "Bob and Carol have established connection with Alice"
     Introduce - Bob sends a response with approve and an out-of-band invitation. wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

14) "after all" hook for "Carol wants to know Bob and sends introduce response with approve"
     Introduce - Bob sends a response with approve and an out-of-band invitation. wasm
     TypeError: destroy is not a function
    at Context.<anonymous> (test/introduce/introduce.js:142:15)

15) "before all" hook for "Bob and Carol have established connection with Alice"
     Introduce - Bob sends a response with approve and an out-of-band invitation. The protocol starts with introduce request wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

16) "before all" hook for "Holder requests credential from the Issuer"
     Issue credential (v2) - The Holder begins with a request wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

17) "after all" hook for "Checks credential"
     Issue credential (v2) - The Holder begins with a request wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/issuecredential/issuecredential.js:118:27)

18) "before all" hook for "Holder requests credential from the Issuer"
     Issue credential (v3) - The Holder begins with a request wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

19) "after all" hook for "Checks credential"
     Issue credential (v3) - The Holder begins with a request wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/issuecredential/issuecredential.js:118:27)

20) "before all" hook for "Alice create key set"
     KMS Test wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

21) "after all" hook for "Alice import p256 key"
     KMS Test wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/kms/kms.js:32:21)

22) "before all" hook for "[wasm] Alice imports extra JSON-LD contexts"
     JSON-LD API Test wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

23) "after all" hook for "[wasm] Alice deletes remote context provider"
     JSON-LD API Test wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/ld/ld.js:51:21)

24) "before all" hook for "receiver registers basic message service"
     Basic Messaging
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

25) "after all" hook for "sender gets updated list of registered message services"
     Basic Messaging
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/messaging/messaging.js:63:27)

26) "before all" hook for "Alice constructs an out-of-band invitation"
     Outofband - New connection after Alice sends an ouf-of-band invitation to Bob wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

27) "after all" hook for "Bob accepts the invitation and connects with Alice"
     Outofband - New connection after Alice sends an ouf-of-band invitation to Bob wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/outofband/outofband.js:41:27)

28) "before all" hook for "Verifier sends a request presentation to the Prover"
     Present Proof (v2) - The Verifier begins with a request presentation wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

29) "after all" hook for "Verifier checks presentation"
     Present Proof (v2) - The Verifier begins with a request presentation wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/presentproof/presentproof.js:321:25)

30) "before all" hook for "Verifier sends a request presentation to the Prover"
     Present Proof (v3) - The Verifier begins with a request presentation wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

31) "after all" hook for "Verifier checks presentation"
     Present Proof (v3) - The Verifier begins with a request presentation wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/presentproof/presentproof.js:321:25)

32) "before all" hook for "Verifier sends a request presentation to the Prover"
     Present Proof (v2) - The Verifier begins with a request presentation (BBS+) wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

33) "after all" hook for "Verifier checks presentation"
     Present Proof (v2) - The Verifier begins with a request presentation (BBS+) wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/presentproof/presentproof.js:156:25)

34) "before all" hook for "Verifier sends a request presentation to the Prover"
     Present Proof (v3) - The Verifier begins with a request presentation (BBS+) wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

35) "after all" hook for "Verifier checks presentation"
     Present Proof (v3) - The Verifier begins with a request presentation (BBS+) wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/presentproof/presentproof.js:156:25)

36) "before all" hook for "Alice create peer did"
     VDR
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

37) "after all" hook for "Alice validates that she has the did"
     VDR
     TypeError: Cannot read properties of undefined (reading '0')
    at Context.<anonymous> (test/vdr/vdr.js:28:21)

38) "before all" hook for "[wasm] Alice stores the verifiable credential received from the college"
     Verifiable Store Test wasm
     Error: timout waiting for aries to initialize
    at node_modules/@hyperledger/aries-framework-go/dist/web/aries.js:1:18374

39) "after all" hook for "[wasm] Alice generates the signed  verifiable presentation to pass it to the employer"
     Verifiable Store Test wasm
     TypeError: Cannot read properties of undefined (reading 'destroy')
    at Context.<anonymous> (test/verifiable/verifiable.js:66:21)

Changes in tinygo are in this commit:
https://github.com/victro/tinygo/commit/20d5436d8e92f801f4502fa8576485cfc5116cea

At the moment after adding the runtime package manually to tinygo the current error to fix is:
# github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/didexchange.test
panic: runtime error: index out of range [2336751994] with length 9

Putting this ticket on hold, the latest goal for the ticket was to update gjson that doesn't use reflect in latest version


Same output for any system prompt

I followed the steps in the tutorial to evaluate the results of the model on MSVD-QA, but I found that regardless of how my system prompt was set, even if the model was asked to answer 'Yes', its answer was almost consistent. Is this reasonable?

Hi @yangzhj53,
Thank you for your interest in our work. It looks like the model is not respecting the system/user prompt in this particular case which can be considered as one of the limitations of the model.
May be, using some language only instruction data (e.g. ShareGPT data) along with the VideoInstruct-100K improves the performance.
Please do share if you fix this trend. Thank you and good luck :)


Not Working in Edge

It looks like it may not be working in Edge or Chrome.

Fixed in latest version (v3.15.2) just posted for review.
Chrome and Edge are still pending the review. Edge review is slower than Chrome or Firefox and usually takes up to a week to be available.

The update has passed the Chrome review and is now available for download. Edge is still pending.


firebase_admin

Operating System version: Ubuntu 18.04.3
Firebase SDK version: 2.7.0
Firebase Product: database

I have a Tornado app which is using python firebase_admin SDK.
When I run in single process:
console_server = tornado.httpserver.HTTPServer(ConsoleApplication())
console_server.listen(options.console_port, options.bind_addr)
tornado.ioloop.IOLoop.instance().start()

firebase_admin works fine. But when I change it to run in multiprocess:
console_server = tornado.httpserver.HTTPServer(ConsoleApplication())
console_server.bind(options.console_port, options.bind_addr)
console_server.start(4)
tornado.ioloop.IOLoop.instance().start()

The last line here is getting stuck:
if (not len(firebase_admin._apps)):
     cred = ...
     self.app = firebase_admin.initialize_app(cred)
self.app = firebase_admin.get_app()
self.db = firestore.client()
...
ref = self.db.document(USER_DOC.format(org, value))
user_ref = ref.get()

Seems like get() is not getting resolved since I don't get any exception.
Does anyone has an idea why it's happening?

I'd recommend asking the Tornado community for some help. I don't know what you mean by "not getting resolved". If there was an error in the SDK level, I'd expect to see some sort of an error message or exception stack trace. Perhaps there is an exception that your server environment is not exposing.


DSP: nsim: introduce nsim_em11d board with DSP feature

This pull request is to introduce nsim_em11d board with DSP feature, plus a sample test.
Add nsim_em11d board and its DSP and AGU registers context switch code.
Add DSP thread option, dis/enable context switch function for DSP and AGU registers.
Add a sample test, which is currently specific to ARC.
AGU registers work with XY memory, this PR is dependent on #48405

Hi @SiyuanCheng-CN,
I've tried to build dsp_sharing.test_load_store with GNU toolchain from Zephyr SDK 0.15.0 with following command:
west build -b nsim_em11d tests/arch/arc/arc_dsp_sharing -T dsp_sharing.test_load_store

and I got multiple warnings on linking stages, like:
[130/140] Linking C executable zephyr/zephyr_pre0.elf
/home/paltsev/CodeData/zephyr/zephyr-sdk/zephyr-sdk-0.15.0/arc-zephyr-elf/bin/../lib/gcc/arc-zephyr-elf/12.1.0/../../../../arc-zephyr-elf/bin/ld.bfd:zephyr/linker_zephyr_pre0.cmd:250: warning: memory region `XCCM' not declared
/home/paltsev/CodeData/zephyr/zephyr-sdk/zephyr-sdk-0.15.0/arc-zephyr-elf/bin/../lib/gcc/arc-zephyr-elf/12.1.0/../../../../arc-zephyr-elf/bin/ld.bfd:zephyr/linker_zephyr_pre0.cmd:257: warning: memory region `YCCM' not declared

I'm wondering if it behaves same way for you?

Hi @SiyuanCheng-CN,
I've tried to build dsp_sharing.test_load_store with GNU toolchain from Zephyr SDK 0.15.0 with following command:
west build -b nsim_em11d tests/arch/arc/arc_dsp_sharing -T dsp_sharing.test_load_store

and I got multiple warnings on linking stages, like:
[130/140] Linking C executable zephyr/zephyr_pre0.elf
/home/paltsev/CodeData/zephyr/zephyr-sdk/zephyr-sdk-0.15.0/arc-zephyr-elf/bin/../lib/gcc/arc-zephyr-elf/12.1.0/../../../../arc-zephyr-elf/bin/ld.bfd:zephyr/linker_zephyr_pre0.cmd:250: warning: memory region `XCCM' not declared
/home/paltsev/CodeData/zephyr/zephyr-sdk/zephyr-sdk-0.15.0/arc-zephyr-elf/bin/../lib/gcc/arc-zephyr-elf/12.1.0/../../../../arc-zephyr-elf/bin/ld.bfd:zephyr/linker_zephyr_pre0.cmd:257: warning: memory region `YCCM' not declared

I'm wondering if it behaves same way for you?

Did you add XY mem PR, it's now merged into upstream.

Did you add XY mem PR, it's now merged into upstream.

Nope, for some reason I've thought it was also embedded in this PR, but it's not :)
I'll do rebase locally and re-check.


[Tormenta20 - Jogo do Ano][New Feature]  Added Global Modifiers Tab, Autocalculator tab, Possibility to add new Skills

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

[X] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Added Global Modifiers Tab
-> Now Players can put buffs, debuffs and set conditions in the character sheet.
Added Repeating Scetion to Skills
-> Now players can add new Skills if it needed
Added Extra Dices Field and Crititcal Enchant field
-> Extra Dices can be added to attacks
-> Select if the weapon has any enchant who modifies critical.

Character Sheet Info Roll20 Internal Use only.


[Deprecate] Removal of API endpoints

Looking at Swagger we have some unused API endpoints.

We should work to remove these unused API endpoints.

The ones that can be removed asap

api/v1/active
api/v1/airflow


Regression Issue: Server Crashing with semtech/mu-search:0.10.0-beta.5 in docker-compose.yml

After upgrading the semtech/mu-search image from 0.10.0-beta.3 to 0.10.0-beta.5 in the docker-compose.yml file, our previously functioning server setup is now crashing. Specifically, the mu-search container in the beta.5 version restarts continuously after completing indexing, while the beta.3 version does not exhibit this issue.
Context and Setup:

Repository link to docker-compose line: docker-compose.yml#L85.
Configuration files: The same configuration files are being used across both setups:

vliz-dams-crs-dump.vocab-config.ttl
vliz-dams-licenses-dump.vocab-config.ttl

Volume and Network Setup: All container data, networks, images, and data from linked volumes (Elasticsearch and Virtuoso) were completely reset/pruned between setups.

Problem Details:

Behavior in beta.5: The mu-search container restarts after indexing is complete.
Behavior in beta.3: The mu-search container does not restart and remains stable after indexing.
Environment Consistency: Aside from the mu-search image upgrade, all other environment variables, volumes, configurations, and settings remain unchanged between the two setups.

Expected Behavior:
The server setup should maintain stability post-indexing in beta.5, consistent with its behavior in beta.3.
Steps to Reproduce:

Set up the environment using the docker-compose.yml with the semtech/mu-search:0.10.0-beta.5 image.
Load the configuration files linked above.
Monitor the mu-search container behavior after indexing.

UPDATE: when testing this on the docker-dev server the mu-search does not crash. It does output some UPDATE ERRORS regarding max yaml points in the logs
2024-11-06T10:21:19.391924044Z INFO [#1] UPDATE HANDLER -- Persisting update queue to disk (length: 0)
2024-11-06T10:21:19.638663437Z ERROR [#1] UPDATE HANDLER -- Failed to persist update queue to disk
2024-11-06T10:21:19.639079436Z ERROR [#1] UPDATE HANDLER -- org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:289): The incoming YAML document exceeds the limit: 3145728 code points. (Java::OrgSnakeyamlEngineV2Exceptions::YamlEngineException)

vocabserver-app-search-1_logs.txt

Hi  on the last comment:
the error indicates a very large update queue, the yaml store is configured by default to not store a document larger than 3MB. So the error is indicative of mu-search not being able to follow the amount of changes and a very large amount of changes happening in a short time.
On the first issue: we've not been able to reproduce this

Thanks for the follow-up and for confirming the potential issue with large update queues and the default 3MB YAML storage limit.
Is there a way to increase the YAML storage size to accommodate larger updates, or would you recommend a configuration change to handle high-change volumes more gracefully?

@cedricdcc this should be resolved by bumping mu-search to 0.10.0

If the issue is resolved, please close the issue to let us know :)

We are currently running a big test on our docker-dev server. In a couple of days we can be sure if this specific issue has been resolved :)

@cedricdcc can you confirm you bumped search to 0.10.0 ? this was not updated in the repository.

I can indeed confirm that in our docker-dev stack the mu-search component was updated to 0.10.0

This is also confirmed by the logs you provided since they mention exceeding 20MB size. I see it does actually manage to index everything aside from the warnings. So while not ideal, I guess it is manageable at the moment?
Obviously we will see how to best resolve this issue, at the very least we can be smarter when trying to write the queue (it now errors because we try to read it before writing it).


Epic_2: Dataset Registration (Provider Perspective)

Alset is a car manufacturer that is currently working on Advanced Driver Assistance Systems (ADAS). For testing and developing ADAS, Alset generates data during test rides with cars that are equipped with sensors. Over time, Alset has collected a variety of datasets for different driving scenarios and car types.

To improve its economic situation and to establish new partnerships, Alset wants to offer this data to other interested parties. However, Alset does not know how to find suitable buyer. During an industry meetup, Alset learns about TAIA-X, an open marketplace for simulation data that relies on industry standards.

Alset accesses the marketplace through a web-based interface. As a first step towards offering a dataset, Alset must register a user account on the marketplace.

After account registration, Alset wants to offer a dataset on the marketplace. Therefore, several things are required:

It must prove that the dataset complies with prevailing ontology standards. Therefore, it needs to find a suitable ontology that matches its dataset.
Once found, the dataset must be transformed into a token-based representation that matches the selected ontology.
Additionally, a dataset description in form of keywords must be uploaded.
The dataset itself must be stored in a specific P2P storage system.

After the dataset is registered and some time has passed, Alset receives a notification that another marketplace user is interested in buying the dataset. (…)

Closed, because Epic is cut into smaller user stories in #44 #45 #46 #47 #48 #49 #50.


[FEATURE]: Implement code assistance and hotkey tools

Feature Summary
As a user I want to be able to toggle code snippets (in the traditional sense), code completion, or even copilot-esque assistance so that I can simulate typing code as though I'm in an actual IDE.
I feel like this site has the potential to teach people about how much more efficient they can be with these tools not in ideation, but code production. I also feel like this could be a useful way to bring in sponsors to the app (so bounties can be set up and hosting can be covered).
Idk. Just some thoughts.
Code of Conduct

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

If I'm getting it right, this feature suggest that user be able to customize the shortcuts for this page:

Customization like changing restart race from default 'esc' to 'ctrl+r'


Multithreading error.

I have used the c_predict_api to build a predict api in the web. but when I conduct the pressure test using 50 requests in 1s, 49 return right result and 1 blocked(10 or 20 requests will also block 1 request). I find that it is blocked in MXPredSetInput and MXPredGetOutputI check the c_predict_api.cc and its include file. I find a unique_lock before a memcpy function and it will be unlock after the memcpy finished in MXPredSetInput and MXPredGetOutput. Why there is 1 request blocked? And how to slove it.

Thank you for submitting the issue!  @sandeep-krishnamurthy requesting this be labeled.

I have the same issue where its hanging at https://github.com/apache/incubator-mxnet/blob/v1.2.0/src/engine/threaded_engine.cc#L395. I'm using v1.2.0, any fixes or updates?

More specifically, I'm running a server like the @nihilityworld and so far I've traced that the hanging is because:

it never returns from nd.SyncCopyToCPU(data, size); in MXPredGetOutput https://github.com/apache/incubator-mxnet/blob/v1.2.0/src/c_api/c_predict_api.cc#L398.
because it never returned from this->WaitToRead(); in NDArray::SyncCopyToCPU
https://github.com/apache/incubator-mxnet/blob/v1.2.0/src/ndarray/ndarray.cc#L1975
because it never returned from Engine::Get()->WaitForVar(ptr_->var); in inline void WaitToRead()
https://github.com/apache/incubator-mxnet/blob/v1.2.0/include/mxnet/ndarray.h#L307
because it never returned from finished_cv_.wait(lock, [this, &done]() { return done.load() || kill_.load(); in ThreadedEngine::WaitForVar
https://github.com/apache/incubator-mxnet/blob/v1.2.0/src/engine/threaded_engine.cc#L395

After we ran model.predict() once in the main thread, the hangers disappeared. Maybe this helps.

@mxnet-label-bot, [Thread Safety, Bug]

Had dead lock problem too using c_predict_api.
I use 10 different PredictorHandles created by MXPredCreate() and for each PredictorHandle calling MXPredSetInput(), MXPredForward() and MXPredGetOutput() functions to inference in 10 threads, and after serval hours, I got dead lock in MXPredForward, MXPredSetInput or MXPredGetOutput.

meet the same error. need help...
@JohnLee168 @nihilityworld  @chsin  have you solved it?
@gartentrio  can you describe the detail how to get it work?

Same issues on v1.5. Did someone find a solution to the problem?

Anyone found solution for this issue?

It seems that this problem is connected with:
https://github.com/apache/incubator-mxnet/issues/10948
I could say that when your program start another child process (any type of process, even something like "ps aux") in linux it could lead to hangs in
MXPredSetInput/MXPredGetOutput in another thread. Locking could help to avoid this bug.

It seems that this issue is a serious bug, not question.


Improve pdf_reader, ChatCompletionRequest and DocumentDataExample

Relatively minor remarks on my side (we can talk about it @martacerri ) we can merge as soon as it is changed


Add my first file

i don't know what i'm doing but it's feels like i'm learning. so everything's good! i think.

cool


chore(Sentry): [MC-41] Enable includeLocalVariables

Goal
Log variable values to Sentry when exceptions or errors happen.
I'd love feedback/perspectives on:
By default Sentry tries to scrub sensitive data. Is there any data we should prevent from being sent to Sentry from this service?
Implementation Decisions
We use commonjs, so the following notice from Sentry doesn't apply to us:

Due to an open Node.js issue, we are currently unable to capture local variables for unhandled errors when using JavaScript modules (ESM).

References
JIRA ticket:

https://mozilla-hub.atlassian.net/browse/MC-41

Documentation:

includeLocalVariables reference
includeLocalVariables blog post
Scrubbing sensitive data

@mmiermans I'm wondering if we should roll this back, since it doesn't work.


Simpler way to get the whole body of the request

Hello.
Here is my function to get the body of a request:
fn http_get<'a>(url: &str, handle: &Handle) -> impl Future<Item=Vec<u8>, Error=()> + 'a {
    let url = hyper::Url::parse(&url).unwrap();
    let client = Client::new(handle);
    client.get(url).map_err(|_| ()).and_then(|res| {
        res.body().map_err(|_| ()).fold(vec![], |mut acc, chunk| {
            acc.extend_from_slice(&chunk);
            Ok(acc)
        })
    })
        .map_err(|_| ())
}

I wonder if there is a simpler way than using fold() to get the whole body of the request.
Thanks.

Fold gives the maximum control over all the details. There is a request (https://github.com/alexcrichton/futures-rs/issues/390) for a new method on Stream, and likely solution (https://github.com/alexcrichton/futures-rs/pull/394).

Since this is an issue with futures, I close this issue.
Thanks.


Improved some styles

Changed the btn for delete note
Made a header div
removed brs and added margins
formatted html file

@kom-senapati do one thing make the size of the image smaller

@kom-senapati pull the latest one their are some conflicts

@anuragkmr45 You can add this pr now. I will do another pr for the notes header feature.


Hotreloading doesn't work in devcontainer or wsl

Describe the bug
I am running this dev container on my computer and vite doesn't hot-reload. I'm forced to press 'r' all the time to update the website changes.
I have the same issue wih Vue from create-vite so its not a problem with the framework
Reproduction
https://github.com/vincent-thomas/playground
Steps to reproduce
Open this project in a dev environment and then run "pnpm dev", try making edits and watch nothing happen.
System Info
System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (2) x64 AMD Ryzen 7 5800X 8-Core Processor
    Memory: 1.63 GB / 3.83 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.14.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.3.1 - /usr/local/bin/npm
  npmPackages:
    @vitejs/plugin-react: ^3.1.0 => 3.1.0
    @vitejs/plugin-react-swc: ^3.0.0 => 3.2.0
    vite: ^4.1.0 => 4.1.3

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

See https://vitejs.dev/guide/troubleshooting.html#vite-does-not-detect-a-file-change


Add startsWith and endsWith matching startegy

Good enhancement! Thank you for contributing.
Must be rebased against the 1.0 branch. The doc has been moved in https://github.com/api-platform/doc

@sroze @dunglas Updated.

@ahlee2326 looks like it needs to be rebased :)

@theofidry Is that ok merge this into master? Or I have to make another PR to merge into 1.0?

What will be merged into the master will be for the 2.0. So if you want to backport it to the 1.0 you must do another PR. Provided there is no BC break.

Thanks @theofidry, I have created another PR #289.


Is there a reason that bench.run() doesn't throw?

I was scratching my head for a good three hours until I did this:
bench.addEventListener("error", e => reportError(e))

Scenario:
const bench = new Bench()
bench.add("i look fast but i just fail", () => { iDontExist() })
await bench.run()
console.table(bench.table())

Is there a reason that right now throwing inside benchmarks doesn't cause a catastrophic failure? There must  be... right? 😅
I think that it would be a good idea to make it so that either:

bench.run() throws
console.error() on any errors

Some kind of user feedback that the superfast speeds they're seeing are actually an error is a good idea. 😊

Yes, because environemnts like Vitest want to handle the error themselves instead of us throwing. We can add an option called throws, that'd also be good.

check #51

I've been dealing with this the last couple of days. If you look at bench.tasks (for instance, when bench.table() is being called) you can see that some of your tests ran 0 times, and the result contains the error it encountered.
It would be better for everyone who is not us if the tests told you when they are blowing up.

I fixed this in the PR and I'll try to merge soon, sorry for the delay!

The extra checks in table() might fix a problem I'm having. cool cool

Happy to hear that @jdmarshall


CORTX-30537: add a way to disable formulaic pool versions

Hare automatically generates formulaic pool versions (i.e. different
combinations of layouts) based on the tolerances for failure domains
and corresponding layout parameters. In some configuration cases,
these multiple poolversions may not be required and in-order to use
other fault tolerant and recovery methods (e.g. automatic data recovery
on process restart). Thus, there needs to be a way to disable
generating formulaic pool versions.
Solution:

Add a flag in cdf to disable formulaic pool versions.
Update cfgen to read corresponding flag and skip generating
formulaic pool versions.
Add corresponding flag to hare mini-provisioner, set it to False
by default.

Signed-off-by: Mandar Sawant<EMAIL_ADDRESS>

retest this please

Deployment jobs are failing and premerge also failed. need to triage. Please paste the test results @mssawant

@mssawant can we merge (after proper testing) discussion with @chandradharraval dependent Motr PR https://github.com/Seagate/cortx-motr/pull/1959 is merged already.

@mssawant deployment, premerge and sanity are failing on this PR. need to check.

retest this please

retest this please

retest this please

retest this please

Hare Sanity is failing at HA pod deployment,
16:26:06  ERROR: Rollout of deployment/cortx-ha timed out after 241 seconds
16:26:06
16:26:06  ERROR: A timeout occurred while waiting for one or more resources during the CORTX cluster installation.

retest this please

retest this please

retest this please

Fixed the make test issue.
Pre-merge is failing due to shutdown timeout and got aborted,
11:43:53  Stopping m0d@0x7200000000000001:0x2 (ios) at localhost:0f1314cc...
11:43:53  Stopping m0d@0x7200000000000001:0x3 (ios) at localhost:0f1314cc...
11:43:53  Stopped m0d@0x7200000000000001:0x3 (ios) at localhost:0f1314cc
11:43:53  Stopped m0d@0x7200000000000001:0x2 (ios) at localhost:0f1314cc
11:43:53  Stopping m0d@0x7200000000000001:0x1 (confd) at localhost:0f1314cc...
11:47:52  Cancelling nested steps due to timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] sshCommand
11:47:52  Executing command on cortx-vm-name[ssc-vm-g2-rhev4-3193.colo.seagate.com]:
11:47:52                      cluster_status=$(( hctl status ) 2>&1)
11:47:52                      if [ "$cluster_status" != "Cluster is not running" ]; then hctl shutdown; fi
11:47:52                       sudo: false
11:47:53  Stopping m0d@0x7200000000000001:0x1 (confd) at localhost:0f1314cc...
11:48:55  Stopped m0d@0x7200000000000001:0x1 (confd) at localhost:0f1314cc
11:48:55  Stopping hare-hax at localhost:0f1314cc...
11:50:25  Stopped hare-hax at localhost:0f1314cc
11:50:25  Making sure that RC leader can be re-elected next time
11:50:25  Stopping hare-consul-agent at localhost:0f1314cc...

Using context: premerge-test
Timeout has been exceeded
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at hudson.remoting.Request.call(Request.java:177)
	at hudson.remoting.Channel.call(Channel.java:997)
	at org.jenkinsci.plugins.sshsteps.steps.CommandStep$Execution.run(CommandStep.java:72)
	at org.jenkinsci.plugins.sshsteps.util.SSHStepExecution.lambda$start$0(SSHStepExecution.java:84)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Finished: ABORTED


Fix tests

Earlier I was unconsciously always installing the latest stable version from pypi and running the tests against that, locally, instead of installing the latest commit from github. This issue was fixed in #21. However, now I can see that the first minor change that I had announced in https://github.com/martino-vic/loanpy/issues/18#issuecomment-1164553728, i.e. https://github.com/martino-vic/loanpy/commit/c44ecfc5032a0f4a9582eed285fce95a03362098 in fact broke quite a few tests. These need to be fixed now.

unittests for helpers.py running: 53c143326112465e805546bef1ef5ff19c710831

I had assumed that the input-type for prosodic_string is the same as for word2phonotactics, but no: While latter took a string, the former needs a tuple or list:
>>> from lingpy import prosodic_string as p
>>> p('xyz')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/viktor/Documents/cldfvenv3.9/lib/python3.9/site-packages/lingpy/sequence/sound_classes.py", line 881, in prosodic_string
    [int(t) for t in tokens2class(string, rcParams['art'],
  File "/home/viktor/Documents/cldfvenv3.9/lib/python3.9/site-packages/lingpy/sequence/sound_classes.py", line 782, in tokens2class
    raise ValueError("[!] Need tuple or list as input.")
ValueError: [!] Need tuple or list as input.
>>> p('x y z')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/viktor/Documents/cldfvenv3.9/lib/python3.9/site-packages/lingpy/sequence/sound_classes.py", line 881, in prosodic_string
    [int(t) for t in tokens2class(string, rcParams['art'],
  File "/home/viktor/Documents/cldfvenv3.9/lib/python3.9/site-packages/lingpy/sequence/sound_classes.py", line 782, in tokens2class
    raise ValueError("[!] Need tuple or list as input.")
ValueError: [!] Need tuple or list as input.
>>> p(list('xyz'))
'AXN'

I can fix this only by changing the source code. The problem lies in helpers.py line 615. self.forms_target_language needs to be changed, so that instead of being a word list of the type ["abc", "def", "ghi"] it should be  [["a", "b", "c"], ["d", "e", "f"], ["g", "h", "i"]], i.e.  [i.split(" ") for i in ["a b c", "d e f", "g h i"]]

Careful: I'm making local changes in the virtual environment's loanpy folder but am pushing to GitHub from the GitHub folder. I have to remember copying changes before pushing.

Fixed in commit ca23d2868a117ae3ad03b242955273e085c9f959


Max Resolve Points not calculated correctly

Core Rulebook p. 22

You have a number of Resolve Points equal to half your character level (rounded down, but minimum 1) + the modifier of your key ability score.

However the calculation for max Resolve Points on the sheet is done regardless of the players selected key ability score.

The above character should have a max Resolve Point pool of 4, since Dex is their selected key ability score. On Page 58:

Key Ability Score This entry indicates which of the six ability scores is most important for this class—that ability is your key ability score. To be most effective, you should usually make your key ability score your highest ability score. Unless otherwise noted, the saving throw DC for foes to resist your class features (if appropriate) is equal to 10 + half your class level + your key  ability score modifier. This entry also notes one or two other ability scores that are important for this class but are not vital.

Perhaps I'm not fully understanding the rules, but it sounds like the player has the option of selecting their key ability score, which if true would mean this value should be derived from modifier of the key ability score as selected by the player.

That dropdown is due to be removed. The system draws the KeyAbility from your 1st class item, and can be changed there. There are similar known issues in relation to this though.

That dropdown is due to be removed. The system draws the KeyAbility from your 1st class item, and can be changed there. There are similar known issues in relation to this though, if multiclassing.

Ah I see. Great, thank you!

Closing this for now.


Type of FDR correction

What are the Type of FDR corrections
availables at the Alphapeptstats? Benjamini Hochberg?
Thank you

Hi, I had a similar question coming here.
After going through some of the source code, I was able to see that the perform_ttest_analysis and perform_ttest functions found in alphapeptstats/alphastats/multicova/multicova.py will return the unadjusted and adjusted t and p-values according to the definition for s0 from Tusher et al 2001 PNAS. Later, the only options for FDR references 'BH' in some other calculations. However, how the qvalue and final significance is called in annotate_fdr_significance seems to be different than Benjamini Hochberg's method.
I'm curious if this is a permutation-based FDR correction like what's used in Perseus (Tyanova et al 2016), or is this another q-value method? I've tried passing an old dataset worked up in Perseus, but I get fairly different numbers of significant hits despite using the same s0 and kind of ttest. I do get the correct unadjusted p-values and correct adjusted t-values.  I'm quite excited for this package, so thank you for making this code available!


Scrolling makes MaterialViewPager height longer

I made a video to demonstrate:
http://jimclermonts.nl/downloads/bug-materialviewpager.mp4
Any ideas? I have the latest version of Material View Pager! It only occurs when keyboard is up.

Same issue... I have searchview fragment in my materialviewpager. When I click to searchview, UI is crashing. Images there:

http://i.hizliresim.com/1ED4qB.png
http://i.hizliresim.com/LDg2m0.png


Cards

Known in the design as article list. On the homepage we show three last published articles. Placed just above the footer, it’s already present on the current website as the cards block.
Requirements

Full width graphite background (see secondary palette)
Heading with marker above it
Three cards, containing:

Image
Heading
Text
Link with chevron

On mobile, the cards are placed below each other
On tablet, we’ll handle the design as on current website: two cards on one line when they fit, with one card below it centred
On desktop, all cards will be placed on one line

Sizing

All cards have 24px padding
The gap between cards is 16px
On desktop, the cards will be justified. Together including spacing they’ll be as wide as the maximum content container (1040px)

reopening to be discussed with a solution for Major Bug #71  and to be retested once its fixed

bug moved as Minor and ticket moved as Done until further notice


corporate: Fix invoicing of plans on free-trial with changed schedule.

Fixes the multiple invoices created for a customer issue we encountered yesterday.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, but it's worth doing a follow-up PR to extend the test here, thanks @prakhar1144!


Create node.js code sample

Also @mrtracy

This change is

looks OK to me but thank christ I don't use this stuff every day

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

_includes/app/basic-sample.js, line 6 [r1] (raw file):
generally gone a little overboard with the comments

_includes/app/basic-sample.js, line 24 [r1] (raw file):
magic

_includes/app/basic-sample.js, line 31 [r1] (raw file):
wtf bro no placeholders?

_includes/app/basic-sample.js, line 40 [r1] (raw file):
throughout: either log the naked error or add the statement you tried to execute. probably worth looking at the the kinds of errors this yields

_includes/app/basic-sample.js, line 48 [r1] (raw file):
this style of callback passing and piping is insane to read. surely there is a better style

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 5 unresolved discussions.

_includes/app/basic-sample.js, line 31 [r1] (raw file):
Assuming node allows them, I would also suggest using placeholders.

Comments from the review on Reviewable.io

Thanks for the reviews, and welcome to the wonderful world of asynchronicity and callback hell!

Review status: all files reviewed at latest revision, 5 unresolved discussions.

_includes/app/basic-sample.js, line 6 [r1] (raw file):
You think so? For an example app?

_includes/app/basic-sample.js, line 24 [r1] (raw file):
Waterfalls are always magical

_includes/app/basic-sample.js, line 31 [r1] (raw file):
Completely agree, although I was trying to stick to https://www.cockroachlabs.com/docs/build-a-test-app.html as closely as possible. Should we go back and make sure all examples are using placeholders for values?

_includes/app/basic-sample.js, line 40 [r1] (raw file):
This stye is actually pretty common for Node. See https://www.npmjs.com/package/pg. The errors are full objects so they provide a good amount of context.

_includes/app/basic-sample.js, line 48 [r1] (raw file):
17,000 stars and the third most used library would seem to argue otherwise. Go doesn't seem so bad now, does it?

Comments from the review on Reviewable.io

Can't authenticate in reviewable right now. So my 2 cents here.
Maybe just put // Connect to the cluster. before the variable declaration and get rid of // Construct a connection configuration?
If you all think we should be using placeholders in all example, we should do that. @spencerkimball, your opinion?

@jseldess Done.

Thanks, @nvanbenschoten. As discussed, once @andreimatei's samples are merged in, you can open another PR to adjust this basic sample and create a transaction-focused sample.


Bundled app doesn't run on OSX Mavericks

N.B. - If the answer is "we don't support anything that old", that's fine, but I thought it was worth raising
🐛 Bug
napari bundled app doesn't run on Mavericks (10.9.5, build 13F1911).  The dock icon briefly flashes up and then disappears.
Running the executable from inside the package shows:
MC7555564:~ molly$ /Applications/napari.app/Contents/MacOS/napari ; exit;
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Applications/napari.app/Contents/Resources/Support/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /Applications/napari.app/Contents/Resources/Support/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

/Applications/napari.app/Contents/MacOS/napari: line 5: 55772 Trace/BPT trap: 5       Support/bin/python3 -m napari
logout

[Process completed]

Googling suggests that _clock_gettime was introduced in 10.12, so presumably this won't work on 10.10 or 10.11.
To Reproduce
Steps to reproduce the behavior:
Download, extract & run bundled app on OSX Mavericks. I've only tried 0.4.1rc2 (I don't have much access to this machine).
Additional context
It would be cool if napari would run on old OSX versions. We have a lot of relatively high-powered iMacs and Mac Pro's with old OSs for compatibility with old hardware.

For mac0S we require at least version 10.12, we used to have that in the installation tutorials, see this old version, https://github.com/napari/tutorials/blob/18b9775c682d2ce0d8331409cb6b88c5a8a850db/fundamentals/installation.md#troubleshooting but it has disappeared now. We should add back in along with a link on why. I'm pretty sure it was a fundamental Qt incompatibility for the versions of Qt that we want to use.
I'm afraid I don't think we'll be able to extend support further back, but we should update the documentation again to have this info

Cool, I figured as much. Just wanted to check.
Definitely worth putting back in the docs, because everything installs fine on 10.9, and then nothing happens without an explanation.

Hi @adamltyson! We released a new set of installers for 0.4.15, based on conda packages. I wonder if this option works for you now? Check napari-0.4.15-macOS-arm64.pkg (taken from https://github.com/napari/napari/releases/tag/v0.4.15).

Hey @jaimergp, unfortunately I can't tell you! I don't have access to the relevant machines (I don't even know if they exist anymore!). If I come across an old mac I'll test this out.
Thanks!

Thanks for your reply! conda-forge builds their packages on the Mavericks (10.9) SDK, so it should work. Some specific packages (not sure if they are in our dependency tree) do require the 10.12 SDK, but those are rare.
Since we cannot check right now but we have reasons to believe it can work, I'd say we can close this issue for now, @potating-potato! If it becomes a problem in the future, we can re-discuss, but I am inclined to think 10.9 is not very common nowadays, and less so moving forward.

thanks all! I am closing this issue for now, for anyone still seeing this with the new conda-based bundling, please feel free to reopen the issue


[Bug]: JSObject variable value changes should reflect in dataTree

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When variable value is changed in a JS object, changes must be reflected as soon as save action is completed and not after a page refresh as is the functionality right now. Refreshing page to update dataTree is not the expected behaviour a user expects
Steps To Reproduce

Define a variable in a JS object and display this value on the console or as an alert message
Change this value and run the function again to show this updated value - observe that the old value is still being executed
Refresh the page and run the function - observe that the new value is now executed
Repeat the steps and observe that a page refresh is needed to update dataTree

Public Sample App
No response
Version
Cloud

This does work in production. Please reopen if didn't work for any specific case.