AWS Conditions is not defined / missing in alias stack

I'm trying to use AWS Conditions in order to create conditional Resources.
Conditions generally work like this in your serverless.yaml:
...
resources:
  Conditions:
    IsProdCondition:
      Fn::Equals: [ '${self:custom.stage}', 'prod' ]

  Resources:
    MyResource:
      Type: AWS::S3::Bucket
      Condition: IsProdCondition
      ...

Unfortunately that doesn't work with the Alias plugin 😢
While the Conditions section properly appears in the cloudformation-template-update-stack.json stack, it's missing in the cloudformation-template-update-alias-stack.json one. This causes an error during deployment:

Template format error: Condition IsProdCondition is not defined.

The simplest solution should be to copy the Conditions section in both stack JSONs. Then it's accessible in both cases and even if might not always be necessary, it doesn't hurt to have a superfluous condition defined either.

Conditions should be defined outside of resources between Parameters and Resources


Fix HHVM build for now again and ignore future HHVM build errors

The HHVM build reports an error once again. Let's fix this once again by updating the base distro from precise to trusty and ignore any future HHVM build errors.
See travis-ci/travis-ci#7712 (comment)
Originally from clue/php-http-proxy-react#12

Unrelated PHP build error is being addressed via #21 :shipit:

For the reference: The HHVM build actually still fails due to installation errors and I have no plans to fix this right now. PRs are welcome :+1:


Bug, banlist

how can I get rid of my server? Even taking off the banlist will not

What you need to do is remove the ban from the list, then do the command /anticheat reload (in console or authorized player) and people are off the ban list.
If you have automatic update of identifiers enabled you should also consider disabling them or removing the matching identifiers.

I'Il try, thx

even if I remove myself from the list and put false in the updateidentifiers I am being banned.
sorry for my English*

Would you check that one of your identifiers isn't already on the ban list?
IP, XBL LIVE, MICROSOFT ACCOUNT, FIVEM LICENSE, STEAM ID
Based on these identifiers, he checks if someone is banned.


Multipart Form Data

Closes #8

Codecov Report

Merging #10 (e8ff8ae) into main (56ad0ce) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   99.59%   99.63%   +0.04%
==========================================
  Files           7       11       +4
  Lines         246      273      +27
  Branches       61       54       -7
==========================================
+ Hits          245      272      +27
  Misses          1        1

Impacted Files
Coverage Δ

src/response.ts
97.29% <ø> (-0.14%)
:arrow_down:

src/serial/entry.ts
100.00% <ø> (ø)

src/client.ts
100.00% <100.00%> (ø)

src/serial/entry-list.ts
100.00% <100.00%> (ø)

src/serial/index.ts
100.00% <100.00%> (ø)

src/serial/multipart-form-data.ts
100.00% <100.00%> (ø)

src/serial/name-value-pairs.ts
100.00% <100.00%> (ø)

src/serial/normalize-newlines.ts
100.00% <100.00%> (ø)

src/serial/serialization.ts
100.00% <100.00%> (ø)

src/serial/serializers.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56ad0ce...e8ff8ae. Read the comment docs.

Looking at issue #8 , this PR is option 5, right?

Looking at issue #8 , this PR is option 5, right?

Correct. It seemed to be the best approach without swapping out the request library or hacking together FormData libraries.


[$500] Chat - 3-Dot menu is grayed out but still active when create chat in offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.18-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Disable the internet connection
Search for a user that you have not opened a conversation with
Navigate to the header of the conversation
Take a note of 3-Dot menu and click on it

Expected Result:
In offline mode 3-Dot menu is grayed out and should be not clickable
Actual Result:
3-Dot menu is grayed out but still active when create chat in offline mode.
User can pin this conversation
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/2c53d9d1-3828-4d13-b3ae-e43ca46e83ce
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
3 Dot menu is clickable in offline mode with new report
What is the root cause of that problem?
we do not disable the threedot when the report has pendingAction is add and isOffline is true
What changes do you think we should make in order to solve the problem?
We should add prop disabled when pendingFields.createChat === 'add' && isOffline
Or I think we can only disable when pendingFields.createChat === 'add
What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
When the user is offline, the HeaderView is dimmed if addWorkspaceRoomOrChatPendingAction is true. Hence by default, the ThreeDotsMenu component is enabled. The HeaderView only uses shouldShowThreeDotsButton to check if it can display it.
https://github.com/Expensify/App/blob/376bb9563618502906032a970b09c0075c40a5d5/src/pages/home/HeaderView.js#L288-L292
What changes do you think we should make in order to solve the problem?

We use the same condition, addWorkspaceRoomOrChatPendingAction from ReportUtils.getReportOfflinePendingActionAndErrors, as the ReportScreen component and set it as the value for the disabled prop in the ThreeDotsMenu component.
...
disabled={addWorkspaceRoomOrChatPendingAction}
...

Proposal
Please re-state the problem that we are trying to solve in this issue.
3 Dot menu is clickable in offline mode with new report
What is the root cause of that problem?
https://github.com/Expensify/App/blob/376bb9563618502906032a970b09c0075c40a5d5/src/pages/home/HeaderView.js#L288-L288
we don't have disable here.
I think we don't need to disable.
We need pin and something on off-line.
What changes do you think we should make in order to solve the problem?
We need to add && !isOffline here
https://github.com/Expensify/App/blob/9e81447833a4b9f9ea34a91f01185b0687ddb66a/src/pages/home/HeaderView.js#L173
What alternative solutions did you explore? (Optional)

This behavior aligns with the 'Optimistic WITH Feedback Pattern'. In offline mode, actions like the 3-Dot menu are greyed out to show they're queued but not yet processed. I think this isn't a bug, but intended functionality.

I am not sure if this is a bug. @garrettmknight Can you clarify?

I'd agree that this is intended. @lanitochka17 can you point me to the test this came from?

Hi @garrettmknight I'd like to contribute to the project. I'm trying to set up the project and need a Mapbox token as instructed. But I can't access the Slack thread for help because I don't have Slack access yet. I've already requested a Slack invite as instructed. Could someone help me with the Mapbox setup or grant me access to the Slack channel? Thanks

@lanitochka17 going to close this one, but let me know the test you found this on when you see this.

@garrettmknight  Hello
An issue was encountered while executing these steps:
https://expensify.testrail.io/index.php?/tests/view/4092459

Got it, we can optimistically work with all the 3 dot menu stuff so I think this is expected.


feat(mempool): add pending transaction type

This change is

crates/mempool/src/mempool.rs line 219 at r5 (raw file):
Previously, elintul (Elin) wrote…
@ArniStarkware, should be changed.

I don't follow.

crates/mempool/src/mempool.rs line 219 at r5 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
I don't follow.

I do follow :)


'BETWEEN AND', inclusive or exclusive?

Should 'BETWEEN AND' be inclusive or exclusive, or configurable by dialect?

Thanks for the issue, let me find some unit-tests and examples from other dialects and implement in unit tests here.

It appears that it is dialect specific https://english.stackexchange.com/questions/118402/when-is-between-inclusive-and-when-exclusive

MySql appears to be Inclusive and order-senstive:  https://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#operator_between

mysql> SELECT
    ->     1 BETWEEN 1 AND 3 AS a,
    ->     3 BETWEEN 1 AND 3 AS b,
    ->     3 BETWEEN 1 AND '3' AS c,
    ->     2 BETWEEN 3 and 1 AS d,
    ->     3.0 BETWEEN 1 AND 3 as e,
    ->     3 BETWEEN NULL AND 1 as f,
    ->     3 BETWEEN NULL AND 4 AS g;
+---+---+---+---+---+------+------+
| a | b | c | d | e | f    | g    |
+---+---+---+---+---+------+------+
| 1 | 1 | 1 | 0 | 1 |    0 | NULL |
+---+---+---+---+---+------+------+
1 row in set (0.00 sec)


Properly check permissions when viewing revisions

Currently any user with any page permission can view any page revision. This commit fixes that, and ensures that the user has publish or edit permission on the page before showing a page revision. If not, the user is presented with a 403.
This maintains the current behavior if the user has no page permissions, which is to redirect to the admin home page.
New tests have been added to cover these changes.
Fixes #5426.

Thanks @chosak! Merged in 7c3418f99e7b2c2da7ad19b2840d73099dadc6a7.


Clicking on the GUI can cause it to disappear

I was testing this component out and noticed that clicking on the top of the GUI (the first bar with the notches in the middle) causes it to disappear. I suspect it is attempting to initiate drag behaviour but fails.
CodePen.

Weirdly enough I was working on an alternate syntax for #2 and noticed that it's draggable, while the ones generated by the component disappear on every drag attempt. (Codepen) Worth comparing to the primitive initialization.

Oh, interesting, it's not actually disappearing!
When it initially disappears, the gui actually goes up & to the right of the viewport (see GIF below), from then on it is draggable, but it appears to be consistently misaligned with the input's location.

Ha! I didn't notice that.
I suppose avoiding the primitive is acceptable for now. But I wonder why it teleports like that :thinking:


Improved presentation

My attempts to make our app look better 👍

Rebased against latest changes to master, mainly integration of new urlInfo, and fixed failing unit tests

Notes from @willrogers  - responses in bold:

The toggle theme button should be in the menu

Consider trying to implement the alternative theme so it works with the overall theme
Toggle theme button is special at the moment and will need to be wrapped into a widget

I can't seem to get back home once I've gone somewhere else

Probably an issue with the link in OPEN_PAGE information

The slideshow for the synoptic is interesting but feels experimental. You don't really know when you've opened another screen. If there isn't a screen open the empty slideshow panel doesn't look great. That's all fine though, we're here to some experimenting please carry on (you mentioned tabs for example)

It definitely is experimental at the moment, I have a good plan of haw how to handle this but it will require adding some further functionality; I am thinking along the lines of the dynamicPage component which can extract information from the url, but with additional state so it can open/close tabs as requested

I might expect the drawer to close when I select one of the items

I think this can be accommodated without too much hassle but would need to look at the docs for the component

I'm not sure the slider widget is working properly at the moment. This certainly might have been one of my changes

This has been broken for sometime but should be fixed, yes

Also, can you put a note on the Wiki about how to serve the development app on the local network. I guess you're doing this so you can use your phone for testing.

Yes, I will and it does look decent on my phone 👍


[BUG] rancher-monitoring fails on kubernetes 1.28.7

Rancher Server Setup

Rancher version: 2.8,3
Installation option (Docker install/Helm Chart): Chart, via RKE with recent kubernetes 1.28.7

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Information about the Cluster

Kubernetes version: 1.28.7
Cluster Type (Local/Downstream): imported

Describe the bug
Existing cluster, just upgraded from rancher 2.7 to 2.8 and kubernetes to 1.28.7. I am trying to update the monitoring chart.
Currently:
$ helm ls --namespace cattle-monitoring-system
NAME                    NAMESPACE                       REVISION        UPDATED                                 STATUS          CHART                                   APP VERSION
rancher-monitoring-crd  cattle-monitoring-system        1               2022-01-26 15:25:29.627030844 +0000 UTC deployed        rancher-monitoring-crd-100.1.0+up19.0.3

I tried to upgrade via rancher UI, but the error message regarding podsecurity appears, though no podsecurity/psp is enabled in the cluster or the chart.
helm upgrade --history-max=5 --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-103.0.4-up45.31.1.yaml --version=103.0.4+up45.31.1 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-103.0.4-up45.31.1.tgz

Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "rancher-monitoring-crd-manager" namespace: "cattle-monitoring-system" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
2024-04-08T21:27:05.037321888Z ensure CRDs are installed first

with a current checkout of teh chart repo, I tried to verify that helm renders the templates without the pod security policy:
$ helm template --namespace=cattle-monitoring-system --set global.cattle.psp.enabled=true rancher-monitoring-crd charts/charts/rancher-monitoring-crd/103.0.4+up45.31.1/ |grep policy
apiVersion: policy/v1beta1
- apiGroups: ['policy']
    "helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed
    "helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed

$ helm template --namespace=cattle-monitoring-system --set global.cattle.psp.enabled=false rancher-monitoring-crd charts/charts/rancher-monitoring-crd/103.0.4+up45.31.1/ |grep policy
    "helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed
    "helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed

But when I upgrade the chart, the message appears again:
$ helm upgrade --namespace=cattle-monitoring-system --set global.cattle.psp.enabled=false rancher-monitoring-crd charts/charts/rancher-monitoring-crd/103.0.4+up45.31.1/
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "rancher-monitoring-crd-manager" namespace: "cattle-monitoring-system" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first

Why renders upgrade the template differently?
FYI: Helm is also updated to:
version.BuildInfo{Version:"v3.14.3", GitCommit:"f03cc04caaa8f6d7c3e67cf918929150cf6f3f12", GitTreeState:"clean", GoVersion:"go1.22.1"}

This is still a problem BTW


cssmoudles and postcss-mixins does not take effect.

cssmoudles and postcss-mixins does not take effect.
webpack: v1.13.2
node: v6.2.0

source code:
@define-mixin fonts $fs, $col {
    font-size: $(fs)px;
    p { color: $col; }
}
.search {
	@mixin fonts 80, blue;
}

I want to be like this:
.search {
	font-size: 80px;
}
.search p {
    color: blue;
}

// webpack.config.js
import path from 'path';
import webpack from 'webpack';
import values from 'postcss-modules-values';
import autoprefixer from 'autoprefixer';
module.exports = {
    module: {
        loaders: [
            {test: /\.css$/, loaders: ['style!css?modules&importLoaders=1&localIdentName=[local]
             -[hash:base64:6]&importLoaders=!postcss']},
        ],
    },
    postcss: [
        values,
        autoprefixer({ browsers: ['last 2 versions'] }),
        require('postcss-nested'),
        require('postcss-mixins'),
    ],

}

Could you test Autoprefixer by user-select: none?

Autoprefixer no problem.

Autoprefixer works? Hm, maybe I was wrong that it is postcss-loader issue.
You told that other syntax work. Could you repeat?

Configuration should be no problem.
But this can be used:
@define-mixin fonts $elem, $fs {
    .$(elem) { font-size: $(fs)px; }
    .test { font-size: calc($(fs)px*10); }
}
@mixin fonts search, 40;
/* @mixin fonts search:hover, 89; */

Try to put postcss-nested before postcss-mixin.
Also I recommend to use PreCSS. It has all Sass-like plugins in right order.

@motorguo As @ai mentioned put postcss-nestedbefore 'postcss-mixinand maybe autoprefixer at the bottom, bc your nested and mixed CSS will not be prefixed otherwise :). Besides that is the mixin definition in the same file bzw.require(file.css)' or are these different files/requires? Can you please give me information about your overall organisation of CSS ?

@ai Thank you very much. 正解！

@michael-ciniawsky Already solved. thank you for your reply.

👍


(TK-350) Prep for 1.3.0 release

This commit updates all of the dependencies to the latest
versions of the various PL/TK components, to prepare for a
new 1.3.0 release of the template.

👍

:+1:

Seems like we've mostly versioned this according to TK version in the past, and since Preben's +1'd this I'll merge.


About normalization

Hi, thanks for your great work.
I wonder why in data/mini_imagenet.py, you don't use normalization.

Thanks for answering.

Hi, we did this to make sure that the l-infinity attack bounds are correct.  This practice is common in the adversarial attack literature.  However, you can instead do normalization in the standard way and then clip the PGD attack differently for each channel depending on the normalization constants.


Added suport for dynamic fetching of data in each segment

@AsafMozes

Please add the necessary files for this PR to publish this as v4.8
CHANGELOG.md
package.json
package-lock.json
For example: https://github.com/microsoft/powerbi-visuals-api/pull/19/files


Switch to using resin-lint

This switches over to using resin-lint to match the linting we use everywhere else

lgtm


fix: lassie merges without approval

Lassie is merging merge requests without approvals.

@anbraten @lukashass Do you have an idea why this is happening?


Support for swig

I am using dask to delay calling to some swig functions and I got TypeError: can't pickle SwigPyObject objects when trying to call Executor.submit. Does dask support swig?

Dask uses pickle or cloudpickle to serialize functions.  I would have thought that Swig supported standard serialization techniques.  Is this not true?
Can you provide a failing example, perhaps with a common library that uses swig?

Any further information on this?

@parmitam and I just uploaded a VM here (username/pw: ubuntu/ubuntu). ~ubuntu/dask/run.py contains a short pipeline implemented on top of the LSST framework. When run it gets stuck on line 468 when executing e.submit. The non-dask version runs fine, and we currently don't have an idea whether that is a swig problem, a LSST bug, a dask bug, or simply us misunderstanding how dask works.
Sorry that we weren't able to create a shorter pipeline. Feel free to poke around, but we also understand that this might be too involved and if so feel free to pass as well.

Yeah, I'm personally unlikely to dive through a VM to help diagnose this.
A quick googling of the problem also leads to this stackoverflow question, which may be of use:
http://stackoverflow.com/questions/9310053/how-to-make-my-swig-extension-module-work-with-pickle

This appears to not be an issue with dask, just a lack of pickle support in your swig code. Closing for now, feel free to reopen if needed.


Column names with hyphens are unsupported

It appears that using snsql when the column names have hyphens in them is unsupported and there doesn't seem to be any way to escape/quote the column name as you would in a normal SQL query to ensure it doesn't get incorrectly split. Consider the following MWE:
import pandas as pd
import snsql

# Dataframe with hyphenated and non-hyphenated column names
df = pd.DataFrame.from_dict(
    data={
        "age": {0: 25, 1: 38, 2: 28, 3: 44, 4: 18},
        "capital-gain": {0: 0, 1: 0, 2: 0, 3: 7688, 4: 0},
        "occupation": {
            0: "Machine-op-inspct",
            1: "Farming-fishing",
            2: "Protective-serv",
            3: "Machine-op-inspct",
            4: "?",
        },
    }
)

# Queries attempting to use hyphenated column
query_unquoted = (
    "SELECT occupation, AVG(capital-gain) FROM schema.table GROUP BY occupation"
)
query_quoted = (
    'SELECT occupation, AVG("capital-gain") FROM schema.table GROUP BY occupation'
)
query_backticks = (
    "SELECT occupation, AVG(`capital-gain`) FROM schema.table GROUP BY occupation"
)

# Query using non-hyphenated column
query_no_hyphen = "SELECT occupation, AVG(age) FROM schema.table GROUP BY occupation"

metadata = {
    "": {
        "schema": {
            "table": {
                "age": {
                    "type": "int",
                    "lower": 0,
                    "upper": 100,
                },
                "capital-gain": {
                    "lower": 0,
                    "upper": 99999,
                    "type": "int",
                },
                "occupation": {
                    "type": "string",
                },
                "row_privacy": True,
                "rows": 5,
            },
        },
    },
}

# Create reader from DataFrame
privacy = snsql.Privacy(
    epsilon=1.0,
    delta=1e-5,
)
reader = snsql.from_df(df, privacy=privacy, metadata=metadata)

# Each of these fails in a different way
# ValueError: Symbol could not be found in any relations: capital
reader.execute(query_unquoted)
# ValueError: Symbol could not be found in any relations: "capital-gain"
reader.execute(query_quoted)
# ValueError: Lexer error at line 1 column 23.  Message: token recognition error at: '`capital-'
reader.execute(query_backticks)

# Runs fine
reader.execute(query_no_hyphen)

As many datasets (particular those that may be used directly as dataframes) may contain hyphenated column names it would be very helpful if this was supported in snsql.

When the column name is quoted it appears to try to compare the quoted string to the unquoted column name and then fails because they're not equal; i.e. it does 'capital-gain' != '"capital-gain"'.

Thanks for the feedback.  We have been discussing in #455, and it should be straightforward to extend the grammar to support hyphens in object names.  I'll reference both of these GitHub issues when the PR is ready.

Fixed


Error (Xcode): project not found when archiving

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I tried to build my app with
flutter build ipa --release --flavor driver_production_store -t lib/main-driver_production_store.dart --obfuscate --split-debug-info=build/symbols --no-tree-shake-icons

Expected results
The archive is succesful
Actual results
The build fails with Error (Xcode): project not found
Building an archive in Xcode does work, only through the Flutter command line it fails.
Code sample
Code sample
[Paste your code here]

Screenshots or Video
No response
Logs
Logs
Automatically signing iOS for device deployment using specified development team in Xcode project: {redacted}
Running Xcode build...
 └─Compiling, linking and signing...                        21.6s
Xcode archive done.                                         135.4s
Failed to build iOS app
Error (Xcode): project not found

Uncategorized (Xcode): Command PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failure

Encountered error while archiving for device.

Flutter Doctor output
Doctor output

[!] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64 (Rosetta), locale en-GB)
    • Flutter version 3.13.9 on channel stable at /Users/glennruysschaert/development/flutter
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.0/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/glennruysschaert/development/flutter. Consider adding
      /Users/glennruysschaert/development/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (2 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/glennruysschaert/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/glennruysschaert/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (3 available)
    • Glenn’s iPhone (mobile) • 00008130-0005148E1061401C • ios            • iOS 17.0.3 21A360
    • macOS (desktop)         • macos                     • darwin-arm64   • macOS 14.0 23A344 darwin-arm64 (Rosetta)
    • Chrome (web)            • chrome                    • web-javascript • Google Chrome 119.0.6045.105

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

! Doctor found issues in 1 category.

Thanks for the report @vixez
I tried a sample flavors app and used below command to build ipa which was successful.
flutter build ipa --release --flavor dev lib/main_prod.dart --obfuscate --split-debug-info=build/symbols --no-tree-shake-icons
I verified this using latest stable but on iOS 15.3 version and lesser macOS version. I suspect if this is another case of macOS sonoma + iOS 17 combination issue, but in order to properly investigate, can you run your command in verbose mode and provide the entire log ?
Also, try without --obfuscate --split-debug-info=build/symbols --no-tree-shake-icons flag, just to see if it works without passing these flags or not.

Thanks for the report @vixez
I tried a sample flavors app and used below command to build ipa which was successful.
flutter build ipa --release --flavor dev lib/main_prod.dart --obfuscate --split-debug-info=build/symbols --no-tree-shake-icons
I verified this using latest stable but on iOS 15.3 version and lesser macOS version. I suspect if this is another case of macOS sonoma + iOS 17 combination issue, but in order to properly investigate, can you run your command in verbose mode and provide the entire log ?
Also, try without --obfuscate --split-debug-info=build/symbols --no-tree-shake-icons flag, just to see if it works without passing these flags or not.

Hello @darshankawar ,
I have added the output of flutter build ipa --release --flavor driver_production_store -t lib/main-driver_production_store.dart --verbose here.
output.txt

Thanks for the logs. I was hoping to see if there are any other log entries indicating why the error could be occuring, but couldn't find such.
Since you are on Sonoma, can you check if all your project files are stored within iCloud Drive ?
Also, I see that you are on cocoapods version 1.12.1. There was a recent fix made by them affecting Xcode version, so maybe worth trying to upgrade cocoapod to latest version and run your scenario again.
Moreover, in order to narrow down the issue, can you also try to run only flutter build ipa and flutter build ipa --release to know if these commands works properly or also throws same error ?

@darshankawar
I found this is a Sentry related issue. So I will close this as it does not have anything to do with Flutter.


Rename alias_cert for set_cert to alias_cert_part

Fix: #2442
commit 1: Rename alias_cert for set_cert to alias_cert_part;

@jyao1 feel free to merge as you see fit.

I prefer to call it "alias_cert_partial_set"

I prefer to call it "alias_cert_partial_set"

Thanks. I have changed the name.


Errors while exporting and importing graphs

@aggelgian
I'm using the graph module to export & import graphs.
While exporting a graph, I sometimes get this error
** (ArgumentError) argument error
    (stdlib) :ets.select(262184, [{{:"$1", :_, :_, :_}, [], [:"$1"]}])
    (stdlib) digraph.erl:312: :digraph.edges/1
[…]

When I export the graph to a file and call :graph.from_file/('priv/graph.txt'), I get this error:
iex(20)⋅❯ :graph.from_file('priv/graph.txt')
** (MatchError) no match of right hand side value: {:error, {:fread, :integer}}
             :graph.from_file/3
    (stdlib) :digraph.del_edge/2

Right now my priority is the ability to import a graph. Could you tell me what I'm missing?

@Annwenn
Hello! How exactly do you export the graph?
Could you provide me with a minimal example to reproduce the error?

Yes sure, here's the code of the export_graph/2 function:
  def export_graph(graph, file \\ "priv/graph.txt") do
    n = :graph.num_of_vertices(graph)
    m = :graph.num_of_edges(graph)
    {:graph, t, _} = graph
    d = "d"
    first_line = ~s(#{n} #{m} #{t} #{d})
    data =
      :graph.edges_with_weights(graph) |>
        Enum.map_join("\n", fn(x) -> {{foo, bar}, w} = x ;
        "#{foo} #{bar} #{w}" end)
    content = """
    #{first_line}
    #{data}
    """
     IO.puts("Graph contains #{n} vertices, #{m} edges and is #{t}.")
     IO.inspect content
     File.write(file, content)
  end

Most of my functions are wrappers around yours and return the graph (which is stored as a state in the GenServer) so I can pipeline them with the |> (pipe) operator
iex(3)⋅❯ Uwotm8.add_user("foo")
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(4)⋅❯ Uwotm8.add_user("bar")
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(5)⋅❯ Uwotm8.add_user("baz")
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(6)⋅❯ Uwotm8.add_edge("foo", "bar", 20)
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(7)⋅❯ Uwotm8.add_edge("bar", "foo", 20)
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(8)⋅❯ Uwotm8.add_edge("bar", "baz", 80)
{:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
iex(9)⋅❯ Uwotm8.print_graph
:ok
[{From, [{To, Weight}]}]
========================
iex(10)⋅❯ [{<<"bar">>,[{<<"foo">>,20},{<<"baz">>,80}]},
 {<<"baz">>,[]},
 {<<"foo">>,[{<<"bar">>,20}]}]
iex(10)⋅❯ Uwotm8.Worker.export_graph {:graph, :directed, {:digraph, 290855, 294953, 299050, true}}
Graph contains 3 vertices, 3 edges and is directed.
"3 3 directed d\nbar foo 20\nfoo bar 20\nbar baz 80\n"
:ok

Then the file looks like :
uniaika 17:53 ~/code/Elixir/POC/uwotm8 ❯❯ cat priv/graph.txt
3 3 directed d
bar foo 20
foo bar 20
bar baz 80

After a few corrections in the code, the error now looks like
iex(36)⋅❯ :graph.from_file('priv/graph.txt')
** (MatchError) no match of right hand side value: {:error, {:fread, :integer}}
             :graph.read_edge/2
             :graph.init_edges/6
             :graph.from_file/3
    (stdlib) :digraph.del_edge/2

@Annwenn
Hello!
Sorry for taking so long to address issue; I was really busy the last few weeks.
The problem is that graph:from_file/1 assumes that each vertex is an integer from 0 to N-1, where N is the number of vertices. Therefore, an exception occurs when trying to import vertices that are strings.
To facilitate importing / exporting graphs I just added two new MFAs:

graph:export/3

The 1st argument is the graph.
The 2nd argument is the file.
The 3rd argument is a function that shows how to dump each vertex to a string.

graph:import/2

The 1st argument is the file.
The 2nd argument is a function that shows how to parse a vertex from a string.

I've also added your use case an example in import_export.erl.
A possibly better example of importing a graph can be found in a_star_demo.

Woah, thank you!
Your library will come handy for my IRC bot. It has a Web of Trust module and I use the graph module to build relationships between users.
(here's the interesting part of the project.)

@Annwenn
I'm happy to hear that it will be useful for you. I'll check out your project ;)
If you any other functionality, just tell me!

Sure, thanks a lot!


Create Table Component Wrapper

Problem
Currently, the tables implementation in the code is dirty and not componentized.
Solution
We need to componentize the table implementation for reuse across the application
Requirements
Create a component named <TableComponentWrapper> that implements a table which can receive data from react props and be reused across pages
Additional Context
Find the use cases of the table components in Monosi. Implement a generic componentized version. Replace all places in the code where tables are used with <TableComponentWrapper>
Questions, or need help getting started?
Feel free to ask below, or ping us on Slack

I am excited to work on this issue. Can you assign it to me? Thanks!

Sure! Really appreciate the help here!

Thank you very much for giving the opportunity. I will follow through guidelines in coming days and will reach you on slack in case of any confusion. :)


Breaking change: Target v4 APIs for Sonarr and Radarr

Details
Describe the solution you'd like:
It might be a good idea to remove the v3 API endpoint and start rolling with v4. Maybe there are some optimizations that can be had too.
To keep the code easy to maintain, we should remove the v3 calls and make them v4.
It would be fine to make this part of v2.0.0

I think we could get away with not releasing a breaking update for migrating Radarr to their v4 API since that is their stable release.

It looks like Radarr and Sonarr v4 both use their v3 APIs. There is nothing to do here. 🤦🏼


VS Fills Out the Port Number

Hello 👋 - Visual Studio will fill out the port number so the user doesn't need to enter that (unless they use a custom port)
>Set the Qualifier field to <remote computer name>:port.
IMHO should be:
>Set the Qualifier field to <remote computer name>.
While it's not a big deal, it makes it cleaner and easier to follow IMHO.

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

ID: c4215ecb-721f-9b0b-66ae-042ffd7c9842
Version Independent ID: 0d58ec46-8b09-f184-24f3-ac53ac0d1b50
Content: Remote Debug ASP.NET Core on a Remote IIS Computer - Visual Studio
Content Source: docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@spottedmahn Thanks for the info. Last I tested these features, I didn't see that behavior, so including information about the port was very important. I will need to retest the behavior.

I didn't see that behavior

Weird.  2017 and 2019.  I enter the computer name and hit enter and the port number automatically fills out.

Hmm. It seems likely that when VS finds the machine based on computer name, it auto-fills the port. Due I think to running the server on VMs and/or Azure, and/or due to network restrictions here, I often need to use the IP address instead, and so you don't the port. I can make some edits here.

Hi @Mikejo5000 - I just tried in VS 2017 w/ a computer name and IP address and both times it added the port number after hitting enter.  Just an FYI 😊

@spottedmahn OK, thanks, again. Could be this improvement was made in one of the VS 2017 updates. I'll update the docs.


[Feature]

Motivation: Why do you think this is important?
Currently a native map type is not supported by flytekit, and a workaround is to use generic as a JSON string. This is not very handy and safe, also it is not compatible with other SDK implementations that support map, such as flytekit-java
Goal: What should the final outcome look like, ideally?
Support Python native dict as input and output type, for example:
        @inputs(a={Types.String: Types.Integer})
        @outputs(b={Types.String: Types.Integer})
        @python_task
        def square_each(wf_params, a, b):
            b.set(
                {k: v * v for k, v in a.items()}
            )

Describe alternatives you've considered
Use generic and JSON string.
Flyte component

[ ] Overall
[ ] Flyte Setup and Installation scripts
[ ] Flyte Documentation
[ ] Flyte communication (slack/email etc)
[ ] FlytePropeller
[ ] FlyteIDL (Flyte specification language)
[x] Flytekit (Python SDK)
[ ] FlyteAdmin (Control Plane service)
[ ] FlytePlugins
[ ] DataCatalog
[ ] FlyteStdlib (common libraries)
[ ] FlyteConsole (UI)
[ ] Other

[Optional] Propose: Link/Inline
The fix should be straight forward by copying what's being done for list.
Additional context
N/A
Is this a blocker for you to adopt Flyte
Somewhat, especially when coming to multiple-SDK interoperability.

@honnix can you update the title and maybe add it to the new version of flytekit?

I fixed the title. What do you refer to as adding it to the new version?

https://github.com/lyft/flyte/projects/7 is this the right one?


how to change height of content-header ??

how to change height of content-header ??

Add this to your custom css or modify it in AdminLTE.css Line 319,
but i recommend a custom css to avoid additional work after further updates or fixes.
.content-header > h1 {
    font-size: 28px;
}


Prevent input being inactive after submit

Hello, Im trying to figure out how is it possible to keep the user input active and be able to "submit" the form multiple times.
I want to create a chatbot that will first inquire user for some question to "fill the form", and then the Conversational Form would act as a chat (I can append messages from chat already). My only problem is that when I submit the form, the userinput becomes inactive, and when I try to activate it back with
ConversationalForm.userInput.disabled = false;
after resubmitting I get an error
conversational-form.min.js:4 Uncaught TypeError: Cannot read property 'setTagValueAndIsValid' of undefined     at e.userInputSubmit (conversational-form.min.js:4)     at t.dispatchEvent (conversational-form.min.js:1)     at n.doSubmit (conversational-form.min.js:3)     at n.onEnterOrSubmitButtonSubmit (conversational-form.min.js:3)     at n.onKeyUp (conversational-form.min.js:3) e.userInputSubmit @ conversational-form.min.js:4 t.dispatchEvent @ conversational-form.min.js:1 n.doSubmit @ conversational-form.min.js:3 n.onEnterOrSubmitButtonSubmit @ conversational-form.min.js:3 n.onKeyUp @ conversational-form.min.js:3
Could you help me? I haven't found anything useful in the examples.
Basically I just need to be able to keep the user input active and working submit, I can handle the rest.
Have a nice day.

Hi @manweCZ
This is not exactly straight forward, but I have mocked an example here where I after first input inject a select for a couple of times before continuing to the last input element.
https://github.com/space10-community/conversational-form/blob/master/docs/dynamic-questions.html
One gotcha, if the user has completed the form it is not possible to use addTags() so keep that in mind. That's why I inject my dynamic questions in between first and last element.
Let me know if you have any questions.


Nested TagHelpers of same Type cause ArgumentException (Key problem)

Nested Tag Helpers of the same type will cause an Argument Exception (Key Problem)
System
.NET Core 2.1
Description
Using a TagHelper to create a Bootstrap 3.3.6 Panel:
    public class PanelContext
    {
        public IHtmlContent Body { get; set; }
        public IHtmlContent Footer { get; set; }
    }

    [RestrictChildren("panel-body", "panel-footer")]
    public class PanelTagHelper : TagHelper
    {
        public string PanelTitle { get; set; }
        public string PanelIcon { get; set; }
        public string PanelID { get; set; }
        public string PanelCSS { get; set; }

        public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
        {
            var panelContext = new PanelContext();
            context.Items.Add(typeof(PanelTagHelper), panelContext);

            await output.GetChildContentAsync();

            PanelCSS = string.IsNullOrEmpty(PanelCSS) ? "" : PanelCSS;

            string template = $@"

 {PanelTitle}

                                    ";

            //Set the TagHelper's Tag to a Div.
            output.TagName = "div";

            //Set the Tag's ID attribute.
            output.Attributes.SetAttribute("id", $@"{PanelID}");

            //Set the Tag's class attribute.
            output.Attributes.SetAttribute("class", $@"panel {PanelCSS}");

            //Add the Templated HTML
            output.Content.AppendHtml(template);

            if (panelContext.Body != null)
            {
                output.Content.AppendHtml(panelContext.Body);
            }
            if(panelContext.Footer != null)
            {
                output.Content.AppendHtml(panelContext.Footer);
            }
        }
    }

Nesting a panel like:
<panel panel-css="panel-default">
     <panel-body>
     @* Do some other stuff*@
          <panel panel-css="panel-default>
               <panel-body>
               @*Stuff*@
               </panel-body>
           </panel>
    </panel-body>
</panel>

This will generate:
ArgumentException: An item with the same key has already been added. Key: <Namespaceremoved>.TagHelpers.PanelTagHelper

Pertinent Trace Error: context.Items.Add(typeof(PanelTagHelper), panelContext);

I believe it's because there is already a context injected into the system and there is no unique identifier for these context.
Is this an error in my programming, or a bug with nesting taghelpers?
I can provide the Child TagHelpers if needed.
Thank you very much for your time.

Thanks for contacting us, @AvogadroSG1. It would be great if you could share a sample project with a repro with us.

No problem!
Here you go!
https://github.com/AvogadroSG1/taghelperbug
Also Download attached.
TagHelperBug.zip

Hi @mkArtakMSFT and @AvogadroSG1,
I reproduce this bug. I felt there is no bug.
Root cause:
key was added first time panel tag helper get called Process method .  when inner Panel tag helper get called same method again trying to add same key.
i changed your project. and please go through repository TagHelperBug
Output:

Thanks @kishan3034.
@AvogadroSG1, seems like this is an issue with your code, so we're closing this now.


BUG: CLI Start Command: Process in container not scoped

allow -> arg -> container with proc started
BUG: This did NOT work.
Filter file:
filter:
allow:
-arg: less
Container:
docker run --name musl --privileged --rm -v /home/ubuntu/appscope/:/opt/appscope -ti alpine:latest ash
less /opt/appfirst/emacs-container
Command:
sudo scope start < filterm4.yml
pidof less
7292
grep scope /proc/7292/maps

After testing:

With procname set, we can scope less inside a container
With arg set, there is a panic

Fixed with map initialization in https://github.com/criblio/appscope/pull/1114


README: clean-up, typos and stick to 80 chars per line

Cleaned up a few typos and reformatted the README to stick to a 80 chars max line length.

Looks good, lets it get merged :smile:.


[Solved]Issue about the downloader

Edit: Problem is solved.

Hi, I've been fighting with this script all evening. The how_to_use.txt file definitely says "to download video, audio and subtitles, use this: " and I've been using that command but it never seems to get the video down. just a black screen and a separate audio file and subtitle file.
Any insights into what might be causing this would be greatly appreciated. This is the error that is produced.

I can't download any movie.
Always I get an error:
looks like you entered wrong disney url movie/show type. url must contain: (disneyplus.com)
Even Loki TV series as is in how.to.use.txt file
What is wrong?

Maybe I am mistaken, but it looks like the URL format of disney plus is not the same as before. Mine are all like this:

https://www.disneyplus.com/fr-fr/play/XXXXXXX

Instead of the example shown in the how.to.use.txt that is like this

https://www.disneyplus.com/es-es/series/loki/6pARMvILBGzF

I always got this error:
File "I:\AI\Disney-Plus-video-downloader\disneyplus.py", line 817, in
episodes = dsnp.load_playlist()
File "I:\AI\Disney-Plus-video-downloader\pydisney\disneyplus_api.py", line 147, in load_playlist
SeasonTitle = data_info['series']['text']['title']['full']['series']['default']['content']
TypeError: 'NoneType' object is not subscriptable


Test: Git ignore explorer exclusions

Refs: https://github.com/microsoft/vscode/issues/38878

[x] macOS @tanhakabir
[x] windows @rebornix
[x] linux @alexr00

Complexity: 3
Authors: @lramos15,@JacksonKearl
Create Issue

We have finally closed out the highly upvoted #38878. Please test the feature in your local OS, connected to a remote of some kind, and opening a local folder in vscode.dev
The feature can be enabled via files.excludeGitIgnore: "true"
Some possible testing scenarios:

Multiroot workspaces with different gitignore files in each
Git ignores in sub directories
Adding, deleting, modifying gitignore don't require reloads

The general theme is that if git excludes it then we hide it. The main caveat is git doesn't include something until the gitignore has been committed but the explorer will as it does not have access to the git process.

This is working great! I like the fact that if a git-ignored file is opened in the editor, it will show up in the file explorer still. Neat!


Unable to Launch in Release mode

when i try to debug with Native tool chain or try to launch in release mode it cause an error
System.TypeLoadException: 'Unresolved P/Invoke method 'MediaApi_GetRadioEnabled!radioapi.dll' in assembly 'Microsoft.Devices.Radio.FMRadio, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' because it is not available in UWP applications. Please either use an another API , or use [DllImport(ExactSpelling=true) to indicate that you understand the implications of using non-UWP application APIs.'
And when i continue
Unhandled exception at 0x68645BA5 (Windows.UI.Xaml.dll) in FMRadioApp.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x0514B188, 0x00000003).

Just do what the bold letters say, change ExactSpelling to true and it will run fine.

But if set exact spelling = true then windows app certification show error of unsupported api but if i set exact spelling = false then windows app certification not show any error but above exception occurs in Windows.UI.xaml.dll


Add --no-passive flag to not perform passive subdomain enumeration

Added an initial implementation (sorry @Mzack9999 It's dirty :p)


Slow performance when Sentry integration is enabled

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.11.1
Steps to Reproduce
Set the environment variable SENTRY_ENABLED to True
Run the command: python manage.py sqlmigrate app
Record the time taken.
Python version: 3.9.15
Django version: 3.2.17
Os version: Debian 10.13 Slim
if SENTRY_DSN and SENTRY_ENABLED and not BUILD_MODE and not TEST_MODE:
    sentry_sdk.init(
        release=f"app@{VERSION}",
        environment=ENVIRONMENT,
        integrations=[DjangoIntegration()],
        ignore_errors=SENTRY_IGNORE_EXCEPTIONS,
        send_default_pii=True,
        sample_rate=min(SENTRY_EVENTS_SAMPLE_RATE, 1.0),
        traces_sample_rate=min(SENTRY_TRACES_SAMPLE_RATE, 1.0),
    )

Expected Result
We have noticed that there is a significant impact on performance when the Sentry integration is enabled.
time SENTRY_ENABLED=False ./src/manage.py sqlmigrate app
13min

time SENTRY_ENABLED=True ./src/manage.py sqlmigrate app
~14min

Actual Result
time SENTRY_ENABLED=False ./src/manage.py sqlmigrate app
13min

time SENTRY_ENABLED=True ./src/manage.py sqlmigrate app
28min

@antonpirker as discussed, please disable signals instrumentation by default and make it opt-in.

Looks similar to https://github.com/getsentry/sentry-python/issues/1826

Because we have already a option middleware_spans that defaults to True, I will make the spans thing also default to true: https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/django/init.py#L94
fyi @sl0thentr0py


Add set channel cert on new channels.

this PR is massive, and therefore very hard to review. could you break it up? maybe on PR to add docker, one for e2e tests, one for the ytsync work, etc...

@lyoshenka agreed. This is still in process until we get travis passing. I also need to clean up the testing code too. Its my working branch. I squash commits into reasonable changes per commit.


Open in new window/tab

problem
opening a new tab / new window before accessing a certain page requires more clicks.
solution
right-click/three-dot menu will have a button for "Open in new tab/window" just like in browsers.

cons
N/A
alternatives
opening a new tab/window (requires more clicks)

Implemented in the official Notion version of tabs (available in the latest vanilla app, will be available in the next release of the notion-enhancer).


Adding New Resources.

Adding more resources to the resources section.
Do you want to work on this issue?
yes
How are you planning to resolve on this issue?

To the Icons section, I'll be adding Iconoir (An  Icons library available in SVG format for React and React Native libraries, flutter, figma and framer)
To the CSS generator section. i'll be adding Fffuel (An amazing svg generator for background patterns)
I also want to add a "UI UX  Design" Section in the resources section where i'll be adding resources like
🎯3d icons (An open source 3d icons library that can be used with any design tool),
🎯Artboard Studio (An amazing library for animated mockups)

I'll be using the same card design templates.
Do you want to raise this under hacktoberfest?
Yes, I'm raising this issue under hacktoberfest.

Sounds good, assigning this issue to you.

Ok, thanks you.

Hello @yashikabhargava , I've made the changes.

Yes, you can go ahead and open a PR.

Thank you for merging my pull request, i really appreciate you!


Mutagen MP4 not importing

λ python3 manual.py -i "D:\shows" -a
Traceback (most recent call last):
  File "manual.py", line 15, in <module>
    from metadata import Metadata, MediaType
  File "C:\Users\steve\source\sickbeard_mp4_automator\metadata.py", line 13, in <module>
    from mutagen.mp4 import MP4, MP4Cover, MP4StreamInfoError
ImportError: cannot import name 'MP4' from 'mutagen.mp4' (unknown location)

Did you install mutagen?

Yes I did pip3 install mutagen

Make sure you don’t have a left over mutagen directory in your script folder that’s causing issues

oh my bad, i had that + just did a node.js install which uses chocolatey to install deps and that installed a new version of python that messed with my environment variables. So my pip3 and python3 commands were operating on different directories. Got it fixed now, my bad.


Improve LimitExceeded exception message

Currently, it has a typo: https://github.com/nikolaposa/rate-limit/blob/68ea4e5e011769bdfa22c68e75b415b012f41ad2/src/Exception/LimitExceeded.php#L20
"Limit of has been exceeded by identifier: $identifier" - should include "rate" as well.

Nice catch, thanks for reporting 👍


Compatibility with latest version of actix-web v4.2.1

When updating actix-web from 4.1 to 4.2.1, the following error gets produced:
error: failed to select a version for `zstd`.
    ... required by package `actix-http v3.2.2`
    ... which satisfies dependency `actix-http = "^3.2.2"` of package `actix-web v4.2.1`
    ... which satisfies dependency `actix-web = "^4.2.1"` of package `raspberry v0.1.0 (/Users/user/Desktop/Programming/flettex-chat/apps/raspberry)`
versions that meet the requirements `^0.11` are: 0.11.2+zstd.1.5.2, 0.11.1+zstd.1.5.2, 0.11.0+zstd.1.5.2

the package `zstd` links to the native library `zstd`, but it conflicts with a previous package which links to `zstd` as well:
package `zstd-safe v4.1.4+zstd.1.5.2`
    ... which satisfies dependency `zstd-safe = "=4.1.4"` of package `zstd v0.10.0+zstd.1.5.2`
    ... which satisfies dependency `zstd = "^0.10.0"` of package `zip v0.6.0`
    ... which satisfies dependency `zip = "^0.6"` of package `utoipa-swagger-ui v1.0.0`
    ... which satisfies dependency `utoipa-swagger-ui = "^1"` of package `raspberry v0.1.0 (/Users/user/Desktop/Programming/flettex-chat/apps/raspberry)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='zstd' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

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

This is because a dependency of the crate utoipa-swagger-ui = "^1" -> zip = "^0.6" is using a different version of zstd
Current ways to get around this include downgrading zstd to 0.5, or simply using zip = { git = "https://github.com/zip-rs/zip" } Since they fixed it in their Git but not release yet.

Seems like you are using quite old utoipa-swagger-ui version 1? There is already version 2 release train available and it is recommended to migrate. For example I tested with the todo-actix example and upgraded actix-web to 4.2 then running it worked just fine without issues.

Oh, I did not realize that utoipa-swagger-ui has a version 2. I will see if it is compatible after updating the version

Oh, I did not realize that utoipa-swagger-ui has a version 2. I will see if it is compatible after updating the version

@PullStackPigDev  is it solved, by upgrading the version?

Hello, I have just upgraded utoipa and utoipa-swagger-ui to v2 and everything is now working flawlessly.
Thank you!


change the color of social icons at footer on hover

Description
I want to change the color each social icon to their primary color when user hover on it
like: facebook:blue
instagram:pink, and many more
Screenshots
I want to apply here:

Demo:
https://github.com/user-attachments/assets/7842039a-816b-4fec-8bca-67d40dfd412f
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@Shekhar-Raj As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.

Don't forget to give our repository a star and let me know once you've done it.


Is animation-range for scroll-timeline not supported?

I have tried using both JS and CSS methods but cannot get rangeStart:, rangeEnd or animation-range to work in Safari or Firefox (where this polyfill would be needed).
For a reproduction, I cloned the repo, ran npm i, then edited demo/basic/anonymous-scroll-timeline.html to add:
...
 #box_one {
    width: 100px;
    height: 100px;
    background-color: green;
    animation: move linear;
    animation-timeline: scroll(y nearest);
    animation-range: 40px 150px;  /* <--- ADDED THIS LINE */
  }
...

In Chrome, this had the intended effect (att first, scrolling does not animate anything, then the box suddenly moves swiftly downward and right). In Safari and Firefox the behaviour is the same as before adding that line.
If the lack of support for animation-range is intentional, could you suggest a workaround? (For context, what I'm hoping to achieve is a fixed-position large, heroic header, which shrinks down to a small top-bar as one scrolls further down the page.)

I’ve done some quick debugging and while animation-range is supported for ViewTimeline-based animations, it doesn’t play nice with ScrollTimeline-based ones.

Thanks for checking & confirming @bramus ! That's kind of surprising since I would have assumed ScrollTimeline would be a lot easier to implement than ViewTimeline. Good in any case, to know that ViewTimeline works – I'll see if I can do something with that in the meantime.


fix: freeze traefik channel

Description
After issue https://github.com/canonical/traefik-k8s-operator/issues/361
Traefik does not work with our integrations tests.
As this is v1.4, we can freeze the traefik channel to 1.0/stable
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[ ] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

Until bug fixes in the latest channel, we can freeze it.


No "LOGOUT" nor similar button appears anywhere; unable to log out

RainLoop version, browser, OS:
Rainloop: 1.17.0 (Premium version, lifetime)
Browser: Firefox 112.0 (error also occurs in all other browsers that I have tried)
OS: Ubuntu 20.0.4 (error also occurs in MacOS 11.7.6)
Expected behavior and actual behavior:
Expected behavior:  A "LOGOUT" button or menu entry (or something with a similar name or appropriate icon) should show up when logged in.
Actual behavior: No "LOGOUT" button nor anything similar appears anywhere when logged in.
Steps to reproduce the problem:
Step 1:  Log in to any valid email account (not the "admin" panel, but a regular email account login)
Step 2: Look for "LOGOUT" button.  It doesn't appear anywhere.
Logs or screenshots:
N/A
Also, these packages are installed:
(1) reCaptcha
(2) Override Smtp Credentials
(3) Custom Login Mapping
Furthermore, I have this problem irrespective of whether "custom_logout_link" is set or whether it's empty.
I think that my problem is probably due to some sort of configuration error.
I just want to be able to log out!  How can I fix this?
Thank you very much.

Oh! I figured out the problem!
I had a LOT of addresses in the "ACCOUNTS", and when clicking on the menu at the upper right, there were too many of them, and the menu truncated its list of entries. Not only were some of the accounts missing from that list, but also, "Add Account", "Settings", "Help", "Mobile Version", and "Logout" were truncated off the bottom of the list.
I removed some of those account entries, and then all the menu entries, including "Logout", appeared.
I am keeping this as an "Open" issue, because perhaps some work might be necessary to enable that menu to not have entries truncated when there are lots of accounts.


fix(disabled): radio select

Proposed Changes
dont call the onChange to modify the state if the component is disabled
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

there is a .625rem margin top on the second button, Could it be fixed at the same time?


Regenerating testproto code with latest Protobuf will remove dependency on protobuf v1 module

In the latest version of protoc-gen-go, the hard dependency on the v1 protobuf api (github.com/golang/protobuf) has been removed. I noticed that this project isn't using any v1 APIs, so by regenerating the testproto/testproto.pb.go file it will be possible to further clean up the go.mod dependencies.
I did need to update the go_package setting to add a full module path for protoc to work:
diff --git a/testproto/testproto.proto b/testproto/testproto.proto
index b2b6be4..b1f2eaa 100644
--- a/testproto/testproto.proto
+++ b/testproto/testproto.proto
@@ -2,7 +2,7 @@ syntax = "proto3";

 package testproto;

-option go_package = ".;testproto";
+option go_package = "github.com/mennanov/fmutils/testproto;testproto";

 import "google/protobuf/any.proto";
 import "google/protobuf/field_mask.proto";

Please, check this new release https://github.com/mennanov/fmutils/releases/tag/v0.1.1
Thanks for your contribution!


arrow function gets incorrect type when followed by async function

TypeScript Version:  3.1.0-dev.20180717 and 2.9.2
Search Terms: lambda arrow-function expression-type async
Code
I am trying to compile this code with tsc -t ES2017:
const isAMatch = (url: string): boolean => /cdn/.test(url)

(async () => {
console.log(isAMatch('foo'))
})()

This fails with an error:
 error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Boolean' has no compatible call signatures.

  1 const isAMatch = (url: string): boolean => /cdn/.test(url)
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2

...
  4 console.log(isAMatch('foo'))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5 })()
    ~~

Rewriting the arrow function to be a normal function is a workaround:
function isAMatch(url: string): boolean {
  return /cdn.*curve.*inject\/curvetips.js/.test(url)
}

(async () => {
console.log(isAMatch('foo'))
})()

But weirdly enough inserting an empty dummy function also fixes the compile error:
const isAMatch = (url: string): boolean => /cdn/.test(url)

function dummy() { }

(async () => {
console.log(isAMatch('foo'))
})()

I can not reproduce this error in the playground.

This is an ASI issue.  TypeScript is doing the best it can with invalid code.
What you have written gets parsed as:
const isAMatch = (url: string): boolean => /cdn/.test(url)(async () => {
console.log(isAMatch('foo'))
})()

Which you clearly did not intend.  You can verify that, is this JavaScript works:
const isAMatch = (url) => /cdn/.test(url);

(async () => {
console.log(isAMatch('foo'))
})()

Whiles this doesn't:
const isAMatch = (url) => /cdn/.test(url)

(async () => {
console.log(isAMatch('foo'))
})()

Semicolons in JavaScript are optional, except when they aren't! 😱

ah wow.. that makes perfect sense now that you point that out. I wonder if this mistake is common enough to add something like "perhaps you need to add a semicolon" to the compile error message.

I wonder if this mistake is common enough to add something like "perhaps you need to add a semicolon" to the compile error message.

The problem is that it is ambiguous at best, which is why depending on ASI will eventually cause you problems.  How is TypeScript or JavaScript supposed to know that you weren't trying to invoke a function call that returns a function which you were invoking which returns a function which you were trying to invoke?   The best TypeScript can do is say "hey, something doesn't work right here, you are invoking something that can't be invoked, what were you really trying to do?"


Pytorch models unarchive failed

I downloaded the pytorch pretrained models, but failed to unarchive the '.tar' files, and I have tried any method I can think of.
It seems that there is something wrong with the '.tar' files.

I read your code and found my mistake.
Thanks anyway :)


Add blinky and litex-ddr demos for Xilinx KC705

picocom -b 115200 /dev/ttyUSB0
picocom v2.2

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,

Type [C-a] [C-h] to see available commands

Terminal ready

        __   _ __      _  __
       / /  (_) /____ | |/_/
      / /__/ / __/ -_)>  <
     /____/_/\__/\__/_/|_|
   Build your hardware, easily!

 (c) Copyright 2012-2023 Enjoy-Digital
 (c) Copyright 2007-2015 M-Labs

 BIOS built on Jun  6 2023 00:52:44
 BIOS CRC passed (316757a7)

 LiteX git sha1: a1106b99

--=============== SoC ==================--
CPU:		VexRiscv @ 125MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		128.0KiB
SRAM:		8.0KiB
L2:		8.0KiB
SDRAM:		1.0GiB 64-bit @ 1000MT/s (CL-7 CWL-6)
MAIN-RAM:	1.0GiB

--========== Initialization ============--
Initializing SDRAM @0x40000000...
Switching SDRAM to software control.
Write leveling:
  tCK equivalent taps: 24
  Cmd/Clk scan (0-12)
  |110111111111| best: 0
  Setting Cmd/Clk delay to 0 taps.
  Data scan:
  m0: |10000000000000111111111111| delay: 14
  m1: |00000000000000111111111111| delay: 14
  m2: |11110000000000000111111111| delay: 17
  m3: |11110000000000000011111111| delay: 18
  m4: |11111111000000000000011111| delay: 00
  m5: |11111111000000000000011111| delay: 00
  m6: |11111111111000000000000011| delay: 00
  m7: |11111111111000000000000001| delay: 00
Write latency calibration:
m0:0 m1:0 m2:0 m3:0 m4:6 m5:6 m6:6 m7:6
Write DQ-DQS training:
m0: |000000000111111111110000000000000| delays: 13+-04
m1: |000000001111111111110000000000000| delays: 13+-05
m2: |000000000001111111111100000000000| delays: 15+-04
m3: |000000000000011111111111000000000| delays: 17+-04
m4: |111111000000000000000000000000000| delays: 02+-02
m5: |111111000000000000000000000000000| delays: 02+-02
m6: |111111000000000000000000000000000| delays: 02+-02
m7: |111111000000000000000000000000000| delays: 02+-02
Read leveling:
  m0, b00: |00000000000000000000000000000000| delays: -
  m0, b01: |00000000000000000000000000000000| delays: -
  m0, b02: |11110000000000000000000000000000| delays: 01+-01
  m0, b03: |00000000000111111000000000000000| delays: 13+-02
  m0, b04: |00000000000000000000000111111000| delays: 25+-02
  m0, b05: |00000000000000000000000000000000| delays: -
  m0, b06: |00000000000000000000000000000000| delays: -
  m0, b07: |00000000000000000000000000000000| delays: -
  best: m0, b03 delays: 13+-02
  m1, b00: |00000000000000000000000000000000| delays: -
  m1, b01: |00000000000000000000000000000000| delays: -
  m1, b02: |11110000000000000000000000000000| delays: 01+-01
  m1, b03: |00000000001111110000000000000000| delays: 12+-02
  m1, b04: |00000000000000000000000111110000| delays: 25+-02
  m1, b05: |00000000000000000000000000000000| delays: -
  m1, b06: |00000000000000000000000000000000| delays: -
  m1, b07: |00000000000000000000000000000000| delays: -
  best: m1, b03 delays: 12+-02
  m2, b00: |00000000000000000000000000000000| delays: -
  m2, b01: |00000000000000000000000000000000| delays: -
  m2, b02: |11100000000000000000000000000000| delays: 01+-01
  m2, b03: |00000000111111110000000000000000| delays: 11+-03
  m2, b04: |00000000000000000000111111100000| delays: 23+-03
  m2, b05: |00000000000000000000000000000000| delays: -
  m2, b06: |00000000000000000000000000000000| delays: -
  m2, b07: |00000000000000000000000000000000| delays: -
  best: m2, b03 delays: 11+-03
  m3, b00: |00000000000000000000000000000000| delays: -
  m3, b01: |00000000000000000000000000000000| delays: -
  m3, b02: |11110000000000000000000000000000| delays: 01+-01
  m3, b03: |00000000111111110000000000000000| delays: 11+-03
  m3, b04: |00000000000000000000001111111000| delays: 25+-03
  m3, b05: |00000000000000000000000000000000| delays: -
  m3, b06: |00000000000000000000000000000000| delays: -
  m3, b07: |00000000000000000000000000000000| delays: -
  best: m3, b03 delays: 11+-03
  m4, b00: |00000000000000000000000000000000| delays: -
  m4, b01: |00000000000000000000000000000000| delays: -
  m4, b02: |00000000000000000000000000000000| delays: -
  m4, b03: |01111111110000000000000000000000| delays: 05+-04
  m4, b04: |00000000000000111111110000000000| delays: 17+-03
  m4, b05: |00000000000000000000000000111111| delays: 28+-02
  m4, b06: |00000000000000000000000000000000| delays: -
  m4, b07: |00000000000000000000000000000000| delays: -
  best: m4, b03 delays: 05+-04
  m5, b00: |00000000000000000000000000000000| delays: -
  m5, b01: |00000000000000000000000000000000| delays: -
  m5, b02: |00000000000000000000000000000000| delays: -
  m5, b03: |00111111100000000000000000000000| delays: 05+-03
  m5, b04: |00000000000000111111100000000000| delays: 17+-03
  m5, b05: |00000000000000000000000000011111| delays: 28+-02
  m5, b06: |00000000000000000000000000000000| delays: -
  m5, b07: |00000000000000000000000000000000| delays: -
  best: m5, b04 delays: 17+-03
  m6, b00: |00000000000000000000000000000000| delays: -
  m6, b01: |00000000000000000000000000000000| delays: -
  m6, b02: |00000000000000000000000000000000| delays: -
  m6, b03: |11111110000000000000000000000000| delays: 03+-03
  m6, b04: |00000000000011111110000000000000| delays: 15+-03
  m6, b05: |00000000000000000000000000111111| delays: 28+-02
  m6, b06: |00000000000000000000000000000000| delays: -
  m6, b07: |00000000000000000000000000000000| delays: -
  best: m6, b04 delays: 15+-03
  m7, b00: |00000000000000000000000000000000| delays: -
  m7, b01: |00000000000000000000000000000000| delays: -
  m7, b02: |00000000000000000000000000000000| delays: -
  m7, b03: |11111110000000000000000000000000| delays: 03+-03
  m7, b04: |00000000000011111100000000000000| delays: 14+-02
  m7, b05: |00000000000000000000000001111110| delays: 27+-02
  m7, b06: |00000000000000000000000000000000| delays: -
  m7, b07: |00000000000000000000000000000000| delays: -
  best: m7, b03 delays: 03+-03
Switching SDRAM to hardware control.
Memtest at 0x40000000 (2.0MiB)...
  Write: 0x40000000-0x40200000 2.0MiB
   Read: 0x40000000-0x40200000 2.0MiB
Memtest OK
Memspeed at 0x40000000 (Sequential, 2.0MiB)...
  Write speed: 112.6MiB/s
   Read speed: 93.6MiB/s

--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
             Timeout
No boot medium found

--============= Console ================--

litex> mem_test 0x40000000 0x40000000
Memtest at 0x40000000 (1.0GiB)...
  Write: 0x40000000-0x80000000 1.0GiB
   Read: 0x40000000-0x80000000 1.0GiB
Memtest OK

litex>

Looks great, thanks!


Feature/implement stream

Tests failing coz of s3 bucket key issue. Try running on local

Thanks 😄


Homepage and Repository links are down

The README.md file lists the homepage and repository as: https://git.theta.eu.org/huawei-modem.git/
However, this site does not appear to have a proper TLS configuration, so the connection fails:
user@Ondo:~$ openssl s_client -connect git.theta.eu.org:443
CONNECTED(00000003)
40D704B94C7F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1584:SSL alert number 80
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 318 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
user@Ondo:~$

Thanks for the report! I've adjusted the crate metadata to point to the correct location now :)


Discrepancy - source URL & SAS token for the specific blob/document (not for the container)

The section Translating specific document in a container in our documentation states the following.
Ensure you have created source URL & SAS token for the specific blob/document (not for the container)
but the example provided the SAS tokens are all container-based sr=c
In practice SAS token sr=b for a specific document is not working feature.

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

ID: 5615cc8c-dc4b-61f1-bfab-9e79899ea6e4
Version Independent ID: aba00d3b-0523-d21d-fab1-7150c4895f6b
Content: Start translation - Azure Cognitive Services
Content Source: articles/cognitive-services/Translator/document-translation/reference/start-translation.md
Service: cognitive-services
Sub-service: translator-text
GitHub Login: @laujan
Microsoft Alias: lajanuar

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

@puthurr Yes you are correct, all the example part has mentioned that this is in a container, thanks.

Hi @puthurr, Thank you for your feedback. We have updated start-translation.md. based upon your comments. Thanks again!
#please-close
cc: @YutongTie-MSFT


Update lein to 2.7.1

@cap10morgan thank you! I've added you as collaborator on this repo. Feel free to merge pull requests.


Shows GeneralTypeIssues when using pathlib library

Environment data

Language Server version: 2021.1.1
OS and version: OSX 10.14.6
Python version (& distribution if applicable, e.g. Anaconda): 3.7.9

Expected behaviour
No error
Actual behaviour
Pylance[reportGeneralTypeIssues]: Operator "/" not supported for types "Path" and "object | str | datetime"
Logs

XXX

Code Snippet / Additional information

from pathlib import Path

def save_model(self, storage: Path):
    storage / name

Your sample code doesn't show how name is assigned a value or a type. Is it annotated with the type Union[object, str, datetime]? Is its type inferred from some other expression?
According to the pathlib.pyi type stub, Path derives from PurePath which supports the following method:
    def __truediv__(self: _P, key: Union[str, _PathLike]) -> _P: ...

That means the / operator is supported, but the right-hand operand must be of the type str or a PathLike[str]. It cannot be an object or datetime. That explains the error you're seeing here.

Your sample code doesn't show how name is assigned a value or a type. Is it annotated with the type Union[object, str, datetime]? Is its type inferred from some other expression?
According to the pathlib.pyi type stub, Path derives from PurePath which supports the following method:
    def __truediv__(self: _P, key: Union[str, _PathLike]) -> _P: ...

That means the / operator is supported, but the right-hand operand must be of the type str or a PathLike[str]. It cannot be an object or datetime. That explains the error you're seeing here.

It's been a month since this issue was opened and we left a reply waiting for info; if the above doesn't make sense and your issue persists, we can take a look, but it seems like your name variable is just of the wrong type.


Methods never defined and value never used

[approve ci]

Needs clang-format first though :-).

[approve ci clang-format]


eval和test的速度很慢，这种情况正常吗

作者你好，
请问我在复现实验的时候，出现了eval 和 test的时间很长的现象，这是正常情况吗？

因为数据集和原始数据集有了一些更新，导致出现了很多新的数据（这些数据中有部分的 sec_struc中 左括号数量多于右括号，导致计算对应的adj的时候报错），于是我对原始的代码做了如下修改，将计算过程放到了try里面，如果是错误的就跳出：
def dotbracket_to_adjacency(sec_struct: str) -> np.ndarray:     """     Convert secondary structure in dot-bracket notation to      adjacency matrix.     """     n = len(sec_struct)     adj = np.zeros((n, n), dtype=np.int8)     stack = []     empty_count = 0     for i, db_char in enumerate(sec_struct):         if db_char == '(':             stack.append(i)         elif db_char == ')':             try:                 j = stack.pop()                 adj[i, j] = 1                 adj[j, i] = 1             except IndexError:                 break     return adj
其他地方都没有改变
大概eval 和 test 每个都要接近8小时，查看占用，发现gpu长时间不用，一直是cpu在跑一个叫做contrafold的进程，希望大佬解惑。

Hello, thanks for your interest. Is it possible to write your issue in English? I am not a speaker of Mandarin.
I translated the title:

eval and test are very slow. Is this normal?

No, the speeds you are observing are not normal. Things should be much faster, even on CPU. And it looks like there may be an issue with how you are using EternaFold (this is what uses contrafold.cpp in the background).

``> Hello, thanks for your interest. Is it possible to write your issue in English? I am not a speaker of Mandarin.

I translated the title:

eval and test are very slow. Is this normal?

No, the speeds you are observing are not normal. Things should be much faster, even on CPU. And it looks like there may be an issue with how you are using EternaFold (this is what uses contrafold.cpp in the background).

Thank you so much for your reply.
（1）
I haven't modified any code related to EternaFold, just follow the code that was already written in the repository.
The only thing I modified is :
Since the dataset  have been updated, resulting in many new data points (among which some have more left parentheses than right parentheses in sec_struc, causing errors when use function 'dotbracket_to_adjacency'), so I made the following modification to the original code. I placed the calculation process inside a try block, and if there's an error, it returns a zero array. Could this slow performance be caused by the operation I performed?
def dotbracket_to_adjacency(sec_struct: str) -> np.ndarray:
    """
    Convert secondary structure in dot-bracket notation to
    adjacency matrix.
    """
    n = len(sec_struct)
    adj = np.zeros((n, n), dtype=np.int8)
    stack = []
    empty_count = 0
    for i, db_char in enumerate(sec_struct):
        if db_char == '(':
            stack.append(i)
        elif db_char == ')':
            try:
                j = stack.pop()
                adj[i, j] = 1
                adj[j, i] = 1
            except IndexError:
                break
    return adj

（2）
In addition, I'm sorry I'm not familiar with C++, so I would like to ask: does the c.cpp in the project execute locally, or does it call an interface to execute on their website?
（3）
Since there are error files, I tried to filter out those erroneous data directly in the process_data.py. However, I noticed that the existing split files ${split_type}_split.pt from the repository were used when dividing the training and test sets. How should I divide this new dataset? Is there any ready-made code available?
Thank you again for your help!

Since the dataset have been updated, resulting in many new data points (among which some have more left parentheses than right parentheses in sec_struc, causing errors when use function 'dotbracket_to_adjacency'), so I made the following modification to the original code.

What do you mean by the dataset being updated? Do you mean that you are using a different/new/custom dataset?

among which some have more left parentheses than right parentheses in sec_struc

This should actually never happen b/c it would mean that something is wrong with how the secondary structure is being computed from the input PDB file(s). Can you perhaps show me what the secondary structure looks like? (See here for the dot-bracket notation: https://eternagame.fandom.com/wiki/Dot-Bracket_Notation)

I recently updated the instructions for preparing the data and for reproducing our splits for benchmarking: https://github.com/chaitjo/geometric-rna-design/pull/16
Somebody else told me that RNAsolo was no longer allowing downloading older versions based on date cutoffs, and I suspect the issues you were facing can be due to the same reason. If you try the new data instructions in the README, I think it should work.
Let me know how it goes!


Unable to watch selectedTo prop

Hi
I am trying to watch the selectedTo prop since I need to use the array for bulk actions ( CRUD )
Trying to watch the prop using the following code.
 watch : {           selectedTo: {              handler(val, oldVal){                     console.log('Item Changed')                     console.log(val)              },              deep: true           }   },
This probably is a very noob question. I am still learning Vue and I wasn't able to find a solution to this.

Why not listening to the vuetable:checkbox-toggled event instead?

Found it easier to perform the bulk remove options using the array. Then listening to the event.
Since I require all the selected ID's I found watching the selectedTo array perfect for my project.
I was able to achieve this using the below code.
`mounted () {
this.$watch(
() => {
return this.$refs.vuetable.selectedTo
},
(val) => {
    }
  )

},
`


remove quotes from WorkflowChain class_uri

I am not able to mint ids for WorkflowChain in the nmdc runtime because it does not recognize nmdc:WorkflowChain as a class. I believe it is because of the quotes around it. This PR removes them.

I believe this can be closed now that this has been merged:

https://github.com/microbiomedata/berkeley-schema-fy24/pull/149


Allow additional columns

Allow for the extension of datasets with local information - additional columns outside of the provided schema - extendable.

Validator should ignore any columns included in addition to those in the schema

From a purist point of view, isn't the option to allow extensions part of the schema definition?


[Fakes] Docs are old, samples are wrong.

<Types> is not valid as part of the schema as far as I can see for the .fakes, so why is it shown here?
It shouldn't be so difficult to create fakes and have things be clean without warnings.    I just want the Controller, but adding the specific namespace, typename, fullname and I can't get anything to work.

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

ID: 99be7810-3759-ab36-bb72-cdcb74c5b272
Version Independent ID: b0c72031-cbc4-1179-668d-43555f76755b
Content: Code generation, compilation, and naming conventions in Microsoft Fakes - Visual Studio
Content Source: docs/test/code-generation-compilation-and-naming-conventions-in-microsoft-fakes.md
Product: visual-studio-windows
Technology: vs-ide-test
GitHub Login: @gewarren
Microsoft Alias: gewarren

For @mbickle and others that may look here:
Here's a working .fake you can use as a starting point. This will generate an empty fake assembly, that is, an assembly with neither stubs or shims:
<Fakes xmlns="http://schemas.microsoft.com/fakes/2011/">
  <Assembly Name="MyAssembly"/>
  <StubGeneration>
    <Clear />
  </StubGeneration>
  <ShimGeneration>
    <Clear />
  </ShimGeneration>
</Fakes>

You can then utilize <Add ...> nodes in either section to cherry pick what you want stubbed/shimmed.
For example:
<Fakes xmlns="http://schemas.microsoft.com/fakes/2011/">
  <Assembly Name="MyAssembly"/>
  <StubGeneration>
    <Clear />
  </StubGeneration>
  <ShimGeneration>
    <Clear />
    <Add Namespace="MyAssembly.Services"/>
    <Add Namespace="MyAssembly.Helpers"/>
  </ShimGeneration>
</Fakes>

@kendrahavens Looks like I could just update the sample code with this code instead?

I think .NET Standard support should now be listed as in preview as well.


A lot of ghosting and jitter on Street Fighter 6's UI

Describe the bug
Whenever the camera moves even slightly, the UI text seems to turn slightly blurry and begins ghosting. Additionally, opening up the smart-phone causes the text on screen to begin jittering, even with the jittering option disabled.
The jittering doesn't occur on DLSS 2.5.1, but the ghosting is still a problem between the latest iteration of DLSS and its' predecessor.
Identify the REFramework version
Developer build 45c41e3
To Reproduce
Steps to reproduce the behavior:

Open the game and go into World Tour to see this at its' worst.
Rotate the camera.
Open the smartphone.

Expected behavior
No ghosting on these UI elements
Desktop

Windows 10
RTX 3060
AMD Ryzen 7 3700x

Being worked on. I've made some good progress with completely removing the jittering and ghosting, but the colors aren't quite right on the UI yet.


[SPARK-10989] [MLLIB] Added the dot and hadamard operators to mllib

Added a basic implementation of dot and hadamard products between vectors for mllib

Can one of the admins verify this patch?

I just saw the other discussion https://issues.apache.org/jira/browse/SPARK-6442
I guess perhaps this should be put on hold?

@da-steve101 I do think this should be put on hold, but I hope we can revisit SPARK-6442 soon.  Could you please keep your branch, but close this issue for now?  Thank you!


Fixing framework path.

Pull Request Description
What issue does this change request address?
#1764
What are the significant changes in functionality due to this change request?
Fixes cd to find framework since it is now ravenframework
Also, fixes building command.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 8db1caf : invalidated by @joshua-cogliati-inl
fiddling with git config

Job Mingw Test on 8db1caf : invalidated by @joshua-cogliati-inl
windows troubles

Job Test qsubs sawtooth on 8db1caf : invalidated by @joshua-cogliati-inl
FAILED: Diff tests/cluster_tests/RavenRunsRaven/Code

PR is good, and checklist is satisfied.


Derive serialize and deserialize

Adding derive only for Serialize and Deserialize
relaxing the type constraint on List<T, N> and Vec<T, N> so that pure Serialize and Deserialize could be used directly too.

do you have an example use case where you would only want the serde functionality and the merkle stuff is a strict problem?

do you have an example use case where you would only want the serde functionality and the merkle stuff is a strict problem?

Hm... I am working on the p2p part of the rust bundler of erc4337. The p2p spec requires ssz encoding for these types and the merkle stuff is not needed here currently.
I implemented the encoding part for UserOp and didn't implement for merkle function but I still want to derive the serialize function only for more types.

@zsluedem did some work on main to simplify the type constraints and also split off the serialization bit from the merkle bit
would love to see a PR for your updates to the proc macro here (may be easier to just cherry-pick to a new PR)

Thanks


Commenting on Proposal Detail Page (Frontend) (L)

Summary:
As a DHO user I would like to be able to leave and reply to comments on a proposal detail page in order to get clarity on new proposals.
Description:
Please add a "comment" widget below the description of new proposals on the proposal detail page.
Acceptance Criteria:

[ ]  Every user should be able to leave a comment
[ ]  It should be possible to reply to comments (allow as many levels of comments as the user wants or max of 3?)
[ ]  User should be able to reply with an emoticon. Standard emoticons available?
[ ]  The total comment number should be visible on the preview card (to be designed by Massimo)
[ ]  Notifications for when someone leaves a comment (later)

Ressources:
Attachement:
Final Design to be done
https://xd.adobe.com/view/500c58dc-9103-41f4-a82a-bb390323fbd8-055f/screen/c20e1ce9-f9cf-4900-b68a-9bf9f9828c3e

Hey @leonieherma1 I think this is the correct UI for this task, Just to confirm https://xd.adobe.com/view/27bc7fff-1845-449c-913a-4ecfb3c9461c-72ef/screen/9e4d3c8c-ea69-46b9-a065-e1dcf85fd9a6/

Yes that is correct. All the latest designs can always be found here: https://xd.adobe.com/view/0d46ebe4-2b4b-437b-86f7-c3c5c18e05ac-5815/?fullscreen&hints=off


Updated connection URI scheme name for SSL.

Hi. This is a fix for issue #61.  Thanks for taking a look at this.

@longplay - thanks for this fix! :+1:

Glad to be of help. Thanks again for wascally!


First update does not appear before being processed

I tried to add 19000 documents in one go (our movies dataset). It worked and was processed in 10-15 seconds.
However, during this 10-15 seconds, if I try to get the updates list, I get an empty list. Then, after this time, the update appears with the status processed (without passing by enqueued).
Then, I re-tried the same push in the same index, and I get the updates list. This time, I get immediately the update with the status enqueued, and then, after 0-15 seconds, the status passes to processed.
Seems like there is an issue for the first update.
Version
MeiliSearch v0.9.0
Edit
Just found out that the update does not appear with the global route GET indexes/:index_uid/updates but it does with the routes GET indexes/:index_uid/updates/:updateId !

Hi, there!
Can I go ahead pick this up?
PS: this would be my first every open source contribution :)

Hey @sgummaluri,
Yes, go on, but be carreful I marked this issue as a good-first-issue but it doesn't mean it is an easy one :)

Hey @Kerollmops,
Fair enough. How do you suggest I get started with this?

It would be good if you launch the MeiliSearch server with the RUST_LOG=debug environnement variable, this way MeiliSearch will display more things when indexing documents. Once done, create an index and send the 19000 movies in it (you can find those in the dataset folder of the repository) and try to reproduce the bug.

Hey @sgummaluri,
It would be easier to have a direct conversation than using Github, you are welcome to our https://slack.meilisearch.com.

Hi @Kerollmops ,
Issued a PR #587 that fixes this! Do let me know if there's anything else that needs to be done on this :)

Closed by #587


Implement Spatial and Temporal Filters in Matlab

Required Info

Camera Model
D415

Firmware Version
5.11.1

Operating System & Version
Win 10

Kernel Version (Linux Only)
-

Platform
PC

SDK Version
v2.17.1

Language
Matlab 2018b

Segment
-

Issue Description
I am trying to develop a depth measuring program in Matlab, to verify a distance over a few pixels as function of the time. Noise seems to be the biggest problem for me, because every frame has an entirely pattern. I was trying to implement the Temporal and Spatial filter into my program. I see that they have been developed but I am stuck in how to use them. I only have experience with matlab due to my physics study. Matlab is very useful to gather a lot of data and use them for furthur analyses. But replicating these filters in Matlab takes too much processing time.
Does anybody have a clue on how to use them and also where to place them? You can use the depth_example() as a way to show where I should put it. So I have a clear idea where to place it inside my own program.

The Matlab API is very nearly one to one with the C++ API, so the C++
example on post-processing filters should be a good jumping off point for
understanding how to use them in Matlab

Thank you, I managed to implement it thanks to the examples. I was already close thanks to a friend who had who understood the language. Something I noticed is that the temporal filter and spatial filter both miss a 'end' statement. An 'end' should be placed above the line with: this = this@realsense.filter(out);. In both cases it is missing.


Add release pipeline for typespec-go emitter

Pipeline was copied from publish-release-go.yml and slightly modified.

@benbp can you help create this pipeline when you have some time?

@weshaggard is this something you can help with in Ben's absense?