[Issue] Shouldn't Use Fix Security Key in "board.cfg"

In GitLab by @sokril on Sep 21, 2017, 18:19

In GitLab by @wknet123 on Nov 8, 2019, 07:37
Fixed with PR #594

In GitLab by @yhua123 on Nov 8, 2019, 07:37
LGTM

In GitLab by @sokril on Nov 8, 2019, 08:11
closed

In GitLab by @sokril on Nov 8, 2019, 08:11
assigned to @wknet123


Error from pip's dependency resolver

When running this example with Ocean 4 in Leap IDE, see the following message:
Installing collected packages: tabulate, scikit-learn, matplotlib
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
imbalanced-learn 0.8.1 requires scikit-learn>=0.24, but you have scikit-learn 0.23.1 which is incompatible.
Successfully installed matplotlib-3.3.4 scikit-learn-0.23.1 tabulate-0.8.9

A bit of context, @mcfarljm:
In the LeapIDE we have imbalanced-learn preinstalled. We install the latest version (at the time of image build), so we currently have imbalanced-learn==0.8.1 (the latest version). Since 0.8.0 (Feb 18 2021) they require scikit-learn>=0.24.
However, requirements in the repo pin it to 0.23.1:
https://github.com/dwave-examples/qboost/blob/67aba3e2ce70d746195cffafd1baacd99367c5f2/requirements.txt#L2
FWIW, in the latest LeapIDE (test) we also have preinstalled scikit-learn==1.0 (the latest version).

The code does not currently use imbalanced-learn, but it is needed for some functionality that I was planning to add.  @randomir , maybe the easiest fix here is to bump requirements.txt to scikit-learn==0.24.2 (tested locally).  And while we're doing that, I suspect we can also remove the python 3.5 handling as well?
I forget the details around why it was necessary to preinstall imbalanced-learn before we could add it to requirements.txt, but I also seem to recall that a better alternative might be to add it to .gitpod.yaml?  If so, maybe that would be preferable to preinstalling imbalanced-learn, given that we're not currently using it in any other repos?


Swift 4

Need to support swift 4.0.
Line 80~83 in SportlightViewController.swift
fileprivate func setupTapGesture() {         let gesture = UITapGestureRecognizer(target: self, action: #selector(SpotlightViewController.viewTapped(_:)));         view.addGestureRecognizer(gesture)     }
Need to add @objc to expose this instance method to Objective-C

#36 I send a pull-request 👍

@yukiasai Please upgrade to swift 4 and xcode 9. Thanks!

Hmm.. is this repository stop maintaining? @yukiasai

+1

+1

This PR will be closed as we have fixed here. Thank you!


Run the test.py in mode 1

I run the test.py in mode 1, My video size is (1280,800),but it show video is (512,256).
If I want show the 1280*800 video,what i need modify code ?

No,just run the code:)

At line 75("test.py"), ti[0] is a result frame. You can apply a resize function to it.

I know that. But ti[0] resize the(1280,800), video will become  blur.
Can I resize the (1280,800), and video will Clearly not blur?

Because this process is up-sampling from low resolution, result video can become little blur.
If you want to get a clear video, you can use the original video, and transform points from (512,256) to (1280,800) to get exact points on the lanes.

Ok, thanks for you help.


Kotlin 1.9.22 support

As a workaround you can easily suppress the version checker:
compose {
    kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.9.22")
}

Thanks! Sure we will support it.

Compose Multiplatform Compiler plugin 1.5.7 has been published.
It can be used by setting:
compose {
    kotlinCompilerPlugin.set("1.5.7")
}

Out of a box, the support of 1.9.22 will be enabled in the next dev build. Fixed by: https://github.com/JetBrains/compose-multiplatform/pull/4075

Hey there, sorry if I've misunderstood: is 1.5.7 the correct version for Kotlin 1.9.22 right now?

This version (1.5.7) of the Compose Compiler requires Kotlin version 1.9.21 but you appear to be using Kotlin version 1.9.22 which is not known to be compatible.

@jamesonwilliams I guess you changed it like this:
android {
 .....
  composeOptions {
          kotlinCompilerExtensionVersion "1.5.7"
      }
....

Right?
the thing is that the above DSL is only applicable to android.
While this DSL is for compose multiplatform projects:
compose {
    kotlinCompilerPlugin.set("1.5.7")
}

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[Xero] [Export Flow] Create the Bank account select page

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/39745
PROPOSAL:
Tests

Precondition:
Workspace with Xero connection and has Bank accounts.
Test steps

Go to Workspace > Accounting > Export > Xero bank account
Verify that you see the accounts from the Xero Bank accounts list.
Click on any bank account.
Verify It displays the correct bank account name under Xero bank account in Export page.

[x] Verify that no errors appear in the JS console

Offline tests

Same as Test Steps
QA Steps

Same as Test Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/3069065/cba72f2d-a989-4738-a2a8-c3e2eaf7a0e6

Android: mWeb Chrome
https://github.com/Expensify/App/assets/3069065/7622c6f4-f65b-4490-ac46-df0909a0ccd6

iOS: Native
https://github.com/Expensify/App/assets/3069065/35e1f115-f3e9-49bc-b791-45e9a4f17f62

iOS: mWeb Safari
https://github.com/Expensify/App/assets/3069065/eb931a7d-1e66-4794-b067-14d220c0e10e

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/3069065/d51b10d8-397a-4c9c-af62-8544f0e89529

MacOS: Desktop
https://github.com/Expensify/App/assets/3069065/5a0ceabb-2f14-43af-8392-1beb916bfd99

@pecanoro could we please have the spanish translation for this:
xeroBankAccountDescription: 'Select the bank account expenses will be posted to as bank transactions.',

Link to the line in the PR: https://github.com/Expensify/App/pull/41916/files#diff-472528060691374654a2e2e866547d385eec3849efddca38cbfca1e5b3ba47d5R2079

@ishpaul777 You'll need to enable the Accounting and Xero beta for this. You can check the steps here.

@ishpaul777 Did you get the access working? Need to move this faster along.

@pecanoro The Spanish translation is updated (screenshot added to the PR body as well).

Asking @hungvu193 to review as per this. Need this for the Xero adhoc build.

Hey @mananjadhav, Sorry for delay, I was not able to priortize yesterday, will try the steps now let you know if i am able to setup in few minutes 🙇

Thanks for responding. Just asked @hungvu193. They already have the setup as well as the context.

No. Means a Xero account with Bank names.

Thanks for the important redirect bug. I had my commits messed up, could've easily missed this one.

@hungvu193 @ishpaul777 Can one of you please complete the checklist for this one?

@mananjadhav there are conflicts that need to be solved

Running prettier diff.

Fixed lint issues. All checks should pass now.

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Drag behavior.

I should implement d3-drag and then see about integrating it with d3-force and make sure this API is sufficient.

https://github.com/d3/d3-drag

Seems good! 👍


Remove support for .NET 7.0 from release infra

.NET 7.0 will reach EOL on May 14, 2024.  After this date, support for .NET 7.0 releases should be removed from the release infrastructure.

[Triage] The release checklist will need updating and should be included with this work.

Duplicate of https://github.com/dotnet/source-build/issues/4366


MINOR: Merge script improvements

Remove "list commits" since we never use it
Fix release branch detection to just look
for branches that start with digits
Make script executable

@guozhangwang or @hachikuji, maybe one fo you can review.

LGTM.

Merged to trunk.


Provide non-constructor static methods for constructing Pathways objects from database

[Technical ticket; no user story]
Many objects in Pathways retrieve their properties from the database at construction time, using a provided database id. This is convenient when writing production code, but makes it difficult to construct (and slow to load) mock objects for testing since setting up every object requires a database read (which is slow, adds boilerplate for setting up the db connection, and limits the variety of objects that can be constructed). A more flexible approach would be to have the constructor accept all the necessary parameters directly (rather than a database id) and have the class provide a static method (like "from_db(id)") that can be used to find the necessary parameters, pass them to the constructor, and return the object constructed from the retrieved data.
AC

All Pathways classes have database access removed from their constructors, and moved to a static method as necessary

Per conversation with @ryandrewjones just now, it would make sense to do this in conjunction with implementing an ORM.

This will be implemented in the course of integrating with an ORM in #40, so this ticket is now redundant. Closing.


Inferenceservercliupdate

Update the name of the parameter for the inference server main.

Build triggered. sha1 is merged.

Build finished. No test results found.

Refer to this link for build results (access rights to CI server needed):
/job/datavec_PR/26/


Add ability to compare if two objects are equivalent

Need the ability to compare two Data, Instrument, Energy and Material objects to see if they are equivalent.

Data and Energy implemented, Instrument in progress, will be targeted with the Resolution update


Deign guidelines

Currently, to be able to get a production key, one needs to add the "Powered by Giphy" icon and add shortcut to each giphys creator, as according to this:
https://developers.giphy.com/docs/sdk/#data-collection
Is this work in the pipeline?

Anyone still maintaining this plugin? Seems like an easy change... Would like to clone this but won't have time to maintain it :(

@KhalidScrypt yes, do you have some pull request?

hey @Bolling88 can yout test this verision, please

fixed in v3.0.1

close


How do I do it if I want the size to fit width?

Sorry, I'm not sure I understand the question. The NativeVideoPlayerView should automatically adapt it's size to the container. You can wrap it into an AspectRatio widget to force an aspect ratio. Check the example code also. Did I answer your question?

@albemala, I am facing a similar issue. I have a video of dimension 1080x608 and with your plugin, I am able to play the video but the video is occupying only 1/3rd of the screen as 2/3 of the screen is white.
I am attempting to play this in Android TV Box where Horizontal width is more that Vertical.
I am looking for any ways to stretch the video to cover the whole screen in this plugin
PS: Aspect Ratio does not help here.

@albemala, yeah It's an Android TV.  The problem is with android tv right now but I think the problem may also occur in android phones if the resolution of the video does not match the resolution of the android phone since the video is not streching. This is my build method:
@override
  Widget build(BuildContext context) {
    double mWidth = MediaQuery.of(context).size.width;
    double mHeight = MediaQuery.of(context).size.height;
    return SizedBox(
      height: mHeight,
      width: mWidth,
      child: Stack(
        children: [
          Positioned(
            top: 0,
            bottom: 0,
            left: 0,
            right: 0,
            child: Stack(
              children: [
                Text("currentPlaylistIndex : $currentPlaylistIndex"),
                Container(
                    width: mWidth,
                    height: mHeight,
                    decoration: BoxDecoration(border: Border.all(color: Colors.green)),
                    child: AspectRatio(
                      aspectRatio: 16/9,
                      child: NativeVideoPlayerView(
                        onViewReady: (NativeVideoPlayerController controller) async {
                          log("Initial Video Player Called");
                          _activeVideoController = controller;
                          _init();
                        },
                      ),
                    )),
              ],
            ),
          ),
        ],
      ),
    );
  }

In the below code, the green border is covering the whole screen of the Android TV.
decoration: BoxDecoration(border: Border.all(color: Colors.green)),

@albemala, In your code in the file NativeVideoPlayerViewController, If I make these two changes, It works for me. I am basically wrapping the videoView around a Relative Layout with Match_Parent. Would you be able to provide a dynamic way of wrapping the VideoView around Relative Layout in the dart code so that developers who want to stretch the video can do so ?
 init {
        api.delegate = this

        videoView = VideoView(context)
        videoView.setBackgroundColor(0)
        // videoView.setZOrderOnTop(true)
        videoView.setOnPreparedListener(this)
        videoView.setOnCompletionListener(this)
        videoView.setOnErrorListener(this)

        relLayout = RelativeLayout(context)
        val rlp = RelativeLayout.LayoutParams(
            RelativeLayout.LayoutParams.MATCH_PARENT,
            RelativeLayout.LayoutParams.MATCH_PARENT
        )
        rlp.addRule(RelativeLayout.ALIGN_PARENT_LEFT);
        rlp.addRule(RelativeLayout.ALIGN_PARENT_TOP);
        rlp.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
        rlp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
        videoView.layoutParams = rlp
        relLayout.layoutParams = RelativeLayout.LayoutParams(
            RelativeLayout.LayoutParams.MATCH_PARENT,
            RelativeLayout.LayoutParams.MATCH_PARENT
        )
        relLayout.addView(videoView)
    }

and
  override fun getView(): View {
        return relLayout
    }

@albemala  any update on this ?

I've just published a new version (1.3.1) and the issue should be fixed now. please let me know if that's the case or if you still have the same problem. @rohitranjan1991 thank you your help, I appreciate it :)


enable static strings output by default

this is probably what people want, and more discoverable

cc @0xF2EDCA5A

closed in #227


Random popup

Expected Behavior
Should be able to dismiss this popup.
Actual Behavior
A popup that shows a list of URLs randomly pops up and can't be dismissed. Tried to hit the ESC key but the popup doesn't disappear.

Reproduction Steps
Unable to replicate because it just randomly pops up.
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2022.5.1
What operating system are you using?
Windows
Operating System Version
Windows 11
Installation method
downloaded from insomnia website
Last Known Working Insomnia version
No response

Hi @wendellestradairely, thanks for reporting this. I've also noticed this behavior as of late. We'll update you here if there are any fixes or work done for this one soon.

Closing as duplicate of https://github.com/Kong/insomnia/issues/4531


Can't dismiss About screen on iOS 12

On both a 2016 iPhone SE running iOS 12.4.1 and an iPad running iOS 12.x, the About screen does not respond to swiping in any direction and there are no buttons visible. The only way to dismiss the About screen is to force-quit the application.
(FreeOTP 2.1.)

Thanks for reporting this @jmarshall - the modal swipe down dismissal is only possible in iOS 13, apologies for the oversight. We will make sure it is fixed for the next minor release.


commands/.../up/local.go: handle sigint and sigterm

This commit fixes issue #366 and kills the go run command spawned
by up local when a SIGINT or SIGTERM signal is sent.

LGTM

Fixed

lgtm


"Feature Absorber" not showing contained feature

According to the changelog for "4.20beta15" the "Feature Absorber" is supposed to show the feature it extracted once extraction reaches 100%. However, the WAILA tooltip displays "Unknown feature" even at 100%.

Same with The One Probe, leaving the block alone for about 10 minutes after it reached 100%. Also picked up the block and still unknown, along with trying to put it in a Crafting Table to see if that helps and a Dimlet Workbench, but no dice there.

Dimension information:
Description string @eFlight,eSaturation1,eResistance3,XEfficiency,XEfficiency,XEfficiency,#mjurassicraft:amber_ore@0,#mdraconicevolution:draconium_ore@0,#mrftools:dimensional_shard_ore@0,fOregen

Minecraft: 1.10.2
Forge Mod Loader: 1.10.2-<IP_ADDRESS>9
RFTools: 1.1x-5.87
RFTools Dimensions: 1.1x-4.54

Fixed next version


Fix script examples

The scripts given in the documentation cannot work correctly (or you are using a shell other then BASH) because the colon : at the end of the scp commands will put the file in the user home directory and not in the target directory where they are needed. Therefore I changed this to the full path (deterministic is better I think).
Second, in the external ETCD example the script must use $host and not CONTROL_PLANE_IP which I have changed too.
Maybe I am wrong but otherwise I am pretty sure that it won't work.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.12 Features: set Milestone to 1.12 and Base Branch to release-1.12
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please delete this note before submitting the pull request.

/lgtm

Sorry I didn't see your PR sooner; part of it was changed via https://github.com/kubernetes/website/pull/9503 but that doesn't address your comment about bash-only syntax. Can you rebase?

@roberthbailey np, will do in the next days. Thanks for reply!

/assign @detiber @chuckha

I hope that I've done the rebase in the correct order... :blush:

@m4r10k Not including scripts and being vague about having to copy files to other masters got rejected first time around. We need to have copy/pastable scripts that work for at least some situations.
As for the first section of script you quoted -- that should be fine since all the commands in this document should be run as root as noted here.
Would you mind opening up a ticket https://github.com/kubernetes/kubeadm/issues with your thoughts and suggestions for improvement?

@chuckha Ah, I forgot about the root clause! But then the USER=ubuntu thing is much more confusing. I will open an issue at kubeadm.


optimize activity end point

[ ] add a cursor sooner (5? 25 results?)
[x] add a limit parameter
[x] add a min time

Limit parameter: #317

We're not doing to limit the expanding txn search logic in the API (which was implied by the first item) Closing as completed


remote-ssh use launch.json to start npm script failed

Does this issue occur when all extensions are disabled?: Yes!

VS Code Version:

Version: 1.62.1 (Universal)
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T09:23:14.144Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

OS Version:
OSX Big sur 11.5.2
Steps to Reproduce:

clone https://github.com/iamwwc/vscode-remote-ssh-launch-bug and open it in remote-ssh environment
click run -> start debugging

debug tip will show but disappear quickly. I have tested in v1.61, it works. But today I updated to v1.62.1, it failed.
I have disable all extensions except remote-ssh which is necessary for remote development
https://user-images.githubusercontent.com/24750337/141076072-5b5a5b4e-bd34-44f5-a2be-ec6f8379c7d9.mov

I started getting this too. Set log level to trace and see this
[2021-11-10 12:45:06.736] [renderer1] [trace] KeybindingService#dispatch F5 workbench.action.debug.start
[2021-11-10 12:45:06.736] [renderer1] [trace] CommandService#executeCommand workbench.action.debug.start
[2021-11-10 12:45:06.743] [renderer1] [trace] [text file model] save() - enter vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.745] [renderer1] [trace] [text file model] doSave(0) - enter with versionId 0 vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.746] [renderer1] [trace] [text file model] doSave(0) - exit - because not dirty and/or versionId is different (this.isDirty: false, this.versionId: 0) vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.747] [renderer1] [trace] [text file model] save() - exit vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.753] [renderer1] [trace] Error while resolving configuration file 'vscode-userdata:/c%3A/Users/Jack/AppData/Roaming/Code/User/tasks.json': Unable to read file 'vscode-userdata:/c:/Users/Jack/AppData/Roaming/Code/User/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Jack/AppData/Roaming/Code/User/tasks.json')
[2021-11-10 12:45:06.808] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/settings.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json')
[2021-11-10 12:45:06.808] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/tasks.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json')
[2021-11-10 12:45:06.813] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/settings.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json')
[2021-11-10 12:45:06.813] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/tasks.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json')
[2021-11-10 12:45:06.825] [renderer1] [trace] onWillActivateByEvent:  onDebugResolve
[2021-11-10 12:45:06.826] [renderer1] [trace] onWillActivateByEvent:  onDebugResolve:pwa-node

Reverting to 1.62.0 fixes my problem for now https://github.com/microsoft/vscode/issues/136873#issuecomment-965402902

v1.62.2 has fixed it!


[PE-D][Tester B] Adding a student to a group is not dependent on tutorial number

If I add a student to the address book using the details above, the student belongs to tutorial group 06 with the email<EMAIL_ADDRESS>Afterwards, I create a group using create t/01. Hence the group is tagged to tutorial number 01.
However, when I run join<EMAIL_ADDRESS>gr/1, the student successfully joins the group even if he/she does not belong to the tutorial number tagged to the group.

Labels: type.FeatureFlaw severity.Medium
original: McNaBry/ped#7

same as #159


List of "supported events" needs update

Supported events: build.complete, git.push, tfvc.checkin, workitem.created, workitem.commented, workitem.updated

This list seems to be outdated, as the actual list on the service shows way more items
Maybe the list can even be removed altogether, in case all events are supported?
Thanks,
--Neno

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

ID: 274c7cc8-3496-59a2-b9ca-43da778b1b62
Version Independent ID: ae4f66ff-46a6-5b1c-365b-0d869d66cd93
Content: Service hook consumers for Azure DevOps Services - Azure DevOps
Content Source: docs/service-hooks/consumers.md
Product: devops
Technology: devops-collab
GitHub Login: @aaronhallberg
Microsoft Alias: aaronha

@aaronhallberg Can we get the docs fixed? (1 event is missing)


miscellaneous nimble issues

[minor] nimsuggest somehow transforms \n into \x0A, not \x0A

see also nimsuggest somehow transforms
into \x0A, not \x0A by timotheecour · Pull Request #9599 · nim-lang/Nim
I tried figuring out where doc field is being modified by using nimsuggest use on doc field of Suggest however:
> use compiler/options.nim:153:6
returns empty

(which I reported in https://github.com/nim-lang/nimsuggest/issues/90)

nimsuggest does't work if it's compiled somewhere else than default location
eg: this won't work

$nimc_D/bin/nim c -o:/tmp/nimsuggest_dbg --noNimblePath -p:compiler --debugger:native nimsuggest/nimsuggest.nim

after running nimsuggest you'll get:
Error: cannot open '/private/lib/system.nim'

somehow nimsuggest hardcodes location of nim sources based on not ideal assumptions; it could be made more robust eg using findNimStdLibCompileTime introduced here https://github.com/nim-lang/Nim/pull/9181/files

issue closed but not clear it was addressed: https://github.com/nim-lang/nimsuggest/issues/64#issuecomment-435481945
likewise with https://github.com/nim-lang/nimsuggest/issues/38#issuecomment-435482237


Panic with message "No space left on device"

When playling long tracks on my embedded device with about 36MB of free RAM, librespot panics with: thread 'main' panicked at 'called Result::unwrap()on anErr value: Error { repr: Os { code: 28, message: "No space left on device" } }'.
For example using this track (45:31). Is there a way not to load the whole song into RAM?

Interesting, I never really considered very large tracks.
librespot doesn't load the whole song into RAM, but it downloads it into /tmp, which may be the same thing if that is mounted as a tmpfs.
As a temporary workaround, you can change this line from NamedTempFile::new() to NamedTempFile::new_in("/somewhere/not/in/ram").
Ideally, if a cache directory is specified we can just use $CACHE/temp automatically for that.

Thanks, I will try this. In fact, this track is an extreme. It my also happen for tracks having a length of six or seven minutes, depending on the free RAM left.

On second thought, my system is NAND flash based. So, using anything else than the RAM for caching is not a good idea. So, I need a bigger RAM?

Pretty much. A solution would be to change librespot to break up the files in blocks of say 500KB, and delete them automatically (if cache is disabled) once it has moved on to the next one. This is a large-ish change, so it's unlikely I'll be able to implement it anytime soon unfortunately.

I've modified librespot to disable the audio file-cache. See pull request #181.

Closed due to lack of maintenance of the project.


⚠ Fortnite has degraded performance

In 75ebf11, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1610 ms

Resolved: Fortnite performance has improved in 64442bc.


PowerToys Run Calculator not invoked when calculation starts with parentheses

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Invoke the PowerToys Run search bar, and type (1-2)/3 (or any other computation starting with ()
✔ Expected Behavior
I was expecting to see -0.33333333 in the results
❌ Actual Behavior
The Calculator plugin is not invoked. To work around the issue, both 1*(1-2)/3 and =(1-2)/3 work (i.e. start with something other than (, or explicitly invoke Calculator)
Other Software
No response

/dup #18490


Application Installation Issue in Prod Environment

Cannot install the extension Routing Report by XYZ <IP_ADDRESS> because the tenant msca1a7355t53497180 already uses a different version of it.

When We are trying to deploy our application to the production environment it is published successfully but it gives an error as described above while installing.

Have you followed the instructions in this article https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-upgrading-extensions ?


Bug(eos_designs) redistribute connected not under address_family ipv4 for default vrf

Issue Summary
When bgp_default_ipv4_unicast : false, which is the default,  the redistribute connected should be in the address-family ipv4 stanza instead of the default.
router bgp 65535
   bgp asn notation asdot
   router-id <IP_ADDRESS>
   no bgp default ipv4-unicast
   ... <neighbor info>...
   redistribute connected    <--
   !
   address-family ipv4
      neighbor IPv4-UNDERLAY-PEERS activate
                                               <-- missing

Which component(s) of AVD impacted
eos_designs
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
This was discovered while trying to redistribute SVIs in the default vrf.

An enhancement can be found here:  https://github.com/aristanetworks/avd/issues/3928

Relevant log output
No response
Contributing Guide

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

I am not sure this is completely correct. It has been like this for a very long time, so I think we need to revisit this on the EOS side and decide.

@pvinci-arista can you take a look at Claus comment and reevaluate this issue?


Non-internal JSONC files reporting jsonc(519) on trailing commas

Type: Bug
As of Prettier 3.2, JSONC is now fully supported, and trailing commas are applied (on by default).
https://prettier.io/blog/2024/01/12/3.2.0#json
This issue occurs when extensions are disabled, and in a fresh installation of Insiders.

Create a JSONC file (i.e. test.jsonc).
Add an object with some keys.
Add a trailing comma to the last line, or format with Prettier 3.2+.

{
  "property": "value",
}

VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z)
OS version: Darwin arm64 23.2.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
6, 7, 7

Memory (System)
16.00GB (0.36GB free)

Process Argv
--crash-reporter-id 82f23d23-e47d-41ab-bdb3-a5becc651759

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30959800
edj9j583:30958191
a89i1917:30961429
7j2b6412:30962116
bg6jg535:30958357

The only other reports I found were related to the internal/settings files:

https://github.com/microsoft/vscode/issues/126024
https://github.com/microsoft/vscode/issues/80419

trailing commas can only be enable via schema atm
using "trailingCommas" iirc

If I understand right, prettier now can format files that end with .jsonc and automatically adds a trailing comma?
But a. jsonc is not a well-defined standard and it depends on the use case of the file whether trailing commas are allowed.
I don't think that's a smart decision from prettier, We have several issues files against us for not detecting training commas.
See https://github.com/microsoft/vscode/pull/203387#issuecomment-1909686444 for more background.

Yes, that's correct. From the blog post I linked to:

Previously, we infer the parser of .jsonc files to be json, but if we want keep the trailing comma, we'll have to use a hacky workaround config {parser: "json5", quoteProps: "preserve", singleQuote: false}.
The new added jsonc parser:

Always quote the object keys.
Wrap strings with double quotes.
Of course, respect the trailingComma option.

As trailing commas are the default in Prettier, I expect that most users will now have trailing commas appended to JSONC files.
I personally don't mind this change, but do understand your concerns. If there are any quick fixes here, I'll take them :)

As mentioned, we think we're on the safer side to report trailing commas by default, unless the schema associated to the file allows trailing commas. No changes planned on our side.
I will forward issues about trailing commas to Prettier.

Raised in this thread, thank:
https://github.com/prettier/prettier/issues/15956


docs: update command instalation with pnpm

Update Command install when using pnpm

Chores

@all-contributors please add @vadhe for docs


Determine paradigm for automated / easy checks for updates

Investigate existing tooling to solve this problem
Put forward candidate(s) for on-call workflow to execute the chosen strategy

We just discovered this existing doc:

https://github.com/chanzuckerberg/single-cell/blob/main/how-we-work/how-to-upgrade-dependencies.md

which should be reviewed and refined as required.

Not a priority.


Add tests for eds reconnect.

We need more test cases to cover eds reconnect.
See https://github.com/istio/istio/pull/4449

https://github.com/istio/istio/pull/4475


[WIP] Update docs around CEL for Admission Control

/retitle [WIP] Update docs around CEL for Admission Control
Relevant to https://github.com/kubernetes/enhancements/issues/3488

/sig api-machinery

This'd be where we document the changes for beta, including https://github.com/kubernetes/kubernetes/pull/119215

An update for doc team: I will be OOO hence @jiahuif and @alexzielenski will be updating the doc for KEP-3488 in separate PRs.
Thank you!

/close
This is superseded by other docs PRs

included in #42220


oci.WithPrivileged: set the current caps, not the known caps

This change is needed for running the latest containerd inside Docker that is not aware of the recently added caps (BPF, PERFMON, CHECKPOINT_RESTORE).
Without this change, containerd inside Docker fails to run containers with "apply caps: operation not permitted" error.
See kubernetes-sigs/kind#2058
NOTE: The caller process of this function is now assumed to be as privileged as possible.

@fuweid other than the nits above is this approach acceptable?
https://github.com/kubernetes-sigs/kind/issues/2058 we are trying to figure out if we should implement some workaround specific to our project (a runc shim?) or if we can depend on shipping a broad solution here.
also thank you @AkihiroSuda !

@BenTheElder the approach looks good to me right now:) And I am still wondering whether it is impacted on systemd service case or not. Will update it later

I was hoping that a null cap list in the oci spec would allow inheriting caps, but nope 😢

gentle ping @dims @dmcgowan (I hope this is OK! in Kubernetes it would be after a ~week, but I'm not sure here)


Add /reload support

When server reloads, people need to do /login to do something. They will not be notified that they will need to login

Hi, @Cwickks!
I don't know if this is possible to keep the login, as /reload closes the OpeNLogin class loader and creates new instances, but I can add a message to authenticate again.


How do I collapse/Expand by nodeId?

I saw a bug reported related to this.  Is there supposed to be an api call  to collapse and expand nodes by nodeId?
Also, there is a new dev version in progress - check the roadmap here - https://github.com/bumbeishvili/d3-organization-chart/issues/14

use chart.setExpanded(<nodeId/>,true) method
Yes there was a bug when the root node was collapsed,  setExpanded method was causing an error

`updateChart() {
if (!this.data) {
return;
}
if (!this.chart) {
return;
}
this.chart
.container(this.chartContainer.nativeElement)
.data(this.data)
.svgWidth(500)
.initialZoom(0.4)
.onNodeClick((d) => this.onNodeClicked(d))
.render();
}
onNodeClicked(nodeId: string): void {
console.log("d3-org-chart.onNodeClicked:Emitted:" + nodeId);
if (nodeId === "H2") {
console.log("Collapsing Districts");
this.chart.setExpanded(nodeId, true);
}
if (nodeId === "H1" || nodeId === "H2") {
console.log("Ignoring static node:" + nodeId);
return;
}
this.districtEmitter.districtEmitter.emit(nodeId);

}
`
I tried true and false, it does not error out but does not expand or collapse..  What am I missing?
And thanks for the quick reply!

@tibrown  please modify sample JSFiddle where you can reproduce the issue and I may be able to help - https://jsfiddle.net/k2ucqayn/
Take a look at other samples as well, since one of the samples has the exact functionality displayed and it works well

`d3.json('https://gist.githubusercontent.com/bumbeishvili/dc0d47bc95ef359fdc75b63cd65edaf2/raw/c33a3a1ef4ba927e3e92b81600c8c6ada345c64b/orgChart.json')
.then(data=>{
new Chart()
.container('.chart-container')
.data(data)
.svgWidth(window.innerWidth)
.svgHeight(window.innerWidth)
.initialZoom(0.6)
.onNodeClick(d=> console.log(d+' node clicked'))
.render()
.setExpanded('0-1', false);
})
I put that into the fiddle and it still expanded fully`

We switched to a different package..
On Fri, Jul 2, 2021 at 3:13 AM David Bumbeishvili @.***>
wrote:

Closed #47
https://github.com/bumbeishvili/d3-organization-chart/issues/47.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bumbeishvili/d3-organization-chart/issues/47#event-4969784054,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMAG6QI3IGN3B372GYPJHTTVVRIDANCNFSM4XLJZSTA
.

--
✞ Tim Brown

@tibrown which package?

BalkanGrraph org chart, angular version.   We bought the license.
On Fri, Jul 2, 2021 at 10:09 AM David Bumbeishvili @.***>
wrote:

@tibrown https://github.com/tibrown which package?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bumbeishvili/d3-organization-chart/issues/47#issuecomment-873028084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMAG6XSVBYR3EAXD535Y4TTVXCCRANCNFSM4XLJZSTA
.

--
✞ Tim Brown

Looks nice

In the new version, we will have two ways to expand the node

set _expanded:true  to the node data property and rerender()
Use  chart.setExpanded('nodeId').render()

https://user-images.githubusercontent.com/6873202/126049161-142de38b-4ebf-4807-8587-0e7b0e31838f.mp4


Email should autofill on user invite

When a user clicks a link to register after being invited by a team captain, the email should auto populate.
Consider a message that warns users that if they register with an email other than the email they were invited with, they will not have the invite to the team.

Closed by<PHONE_NUMBER>af7cb955b8c4f91b15b4f318f2fb88


error occurred when ./build_engines.sh with custom model (ssd_mobilenet_v1_coco)

hi,
I customized object detection model using sd_mobilenet_v1_coco (Tensorflow version 1.15) along the tensorflow-object-detection-api-tutorial. Then I created my_ssd_mobilenet_v1_coco.pb and changed build_engine.py  build_engine.sh for my customed model. The problem occurred when I ran ./build_engines.sh. When I ran ./build_engines.sh the file format .pbtxt and .uff was created but .bin has not been created.
The error msg was,
"#assertionnmsPlugin.cpp,249
./build_engines.sh: line 12: 12300 Aborted
(core dumped) python3 build_engine.py my_ssd_mobilenet_v1_coco".
There's problem when executing engine = builder.build_cuda_engine(network) in build_engine.py. I'd like to know if there's anything I'm missing.
Thanks.

and how you solved the probelm? I met the same error .thanks.

My problem was that i got wrong num_classes. As the number of classes had to include a background, so it had to be one more value than the number of classes.


Failed to send tasks, ending up with KeyError from retrieve_group

The issue
I was trying to send the 17th of a sequence of tasks, when I came up with a JSONDecodeError, which I suppose was due to deep layers of gates:
---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
Cell In[141], line 18
     15 # measurement in the computational basis
     16 measure(q)
---> 18 task.send(q, name=name, group="MFIM-compile", wait=False)

File /usr/local/lib/python3.10/site-packages/quafu/tasks/tasks.py:279, in Task.send(self, qc, name, group, wait)
    277 data = data.replace("%27", "'")
    278 res = requests.post(url, headers=headers, data=data)
--> 279 res_dict = json.loads(res.text)
    281 if res.json()["status"] in [201, 205]:
    282     raise UserError(res_dict["message"])

File /usr/local/lib/python3.10/json/__init__.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    341     s = s.decode(detect_encoding(s), 'surrogatepass')
    343 if (cls is None and object_hook is None and
    344         parse_int is None and parse_float is None and
    345         parse_constant is None and object_pairs_hook is None and not kw):
--> 346     return _default_decoder.decode(s)
    347 if cls is None:
    348     cls = JSONDecoder

File /usr/local/lib/python3.10/json/decoder.py:337, in JSONDecoder.decode(self, s, _w)
    332 def decode(self, s, _w=WHITESPACE.match):
...
    354 except StopIteration as err:
--> 355     raise JSONDecodeError("Expecting value", s, err.value) from None
    356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

As I tried to retrieve the first 16 task results with
group_res = task.retrieve_group("MFIM-compile")

I got a KeyError and nothing from group_res:
KeyError                                  Traceback (most recent call last)
Cell In[142], line 1
----> 1 group_res = task.retrieve_group("MFIM-compile")

File /usr/local/lib/python3.10/site-packages/quafu/tasks/tasks.py:340, in Task.retrieve_group(self, group, history, verbose)
    338     print((" "*5).join(["task_id".ljust(16), "task_name".ljust(10),   "status".ljust(10)]))
    339 for taskid in taskids:
--> 340     res = self.retrieve(taskid)
    341     taskname = res.taskname
    342     if verbose:

File /usr/local/lib/python3.10/site-packages/quafu/tasks/tasks.py:315, in Task.retrieve(self, taskid)
    312 res_dict = json.loads(res.text)
    313 measures = eval(res_dict["measure"])
--> 315 return ExecResult(res_dict, measures)

File /usr/local/lib/python3.10/site-packages/quafu/results/results.py:26, in ExecResult.__init__(self, input_dict, measures)
     24 status_map = {0:"In Queue", 1:"Running", 2:"Completed", "Canceled":3, 4:"Failed"}
     25 self.measures = measures
---> 26 self.task_status = status_map[input_dict["status"]]
     27 self.res = eval(input_dict['res'])
     28 self.counts = OrderedDict(sorted(self.res.items(), key=lambda s: s[0]))

The question
How may I retrieve the completed 16 task results? Thanks in advance!

Like this

Sorry that I just noticed this issue. I also met JSONDecodeError several days ago and had checked to find that res.text in task.send() was an empty string and value of res_dict['ok'] in backend.get_backends_info() was False. This problem seemed to originate from the backends, for my codes runs well several hours later without any modification. Please report it if you met similar error again to help trace the reason of error. Better exception handling may be implemented in the future.

Hi @Memcys, could you find these tasks on the web?

Sorry for this late reply. I did find them in the History Tasks.

Sorry that I just noticed this issue. I also met JSONDecodeError several days ago and had checked to find that res.text in task.send() was an empty string and value of res_dict['ok'] in backend.get_backends_info() was False. This problem seemed to originate from the backends, for my codes ran well several hours later without any modification. Please report it if you met similar error again to help trace the reason of error. Better exception handling may be implemented in the future.

Thank you for your comment and your guarantee. It does seem like an occasional error, for I received all results in later runs (though the circuits were modified somehow).


New Design System

Applied new design changes.

I noticed two things, not sure if they are new or not. If you expand the tutorial on the desktop view, the arrow does not change direction. It should point towards the center to indicate the closing action.

The loading icon (eg. when information about stake is fetched) is still in ae colors (pink). This seems weird.

@thepiwo can we have a preview version of this deployed?


⚠ Bofrost.lu has degraded performance

In 87c7621, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1687 ms

Resolved: Bofrost.lu performance has improved in 26fc65f after 30 minutes.


DRY wishlist toasts

Description

Right now the toasts used by wishlist is duplicated, this is an attempt to DRY them. This PR trys to do that by moving the toast logic into the useWishlist hook. In doing so, the wishlist calls will be very clean.
It will be a 1 liner if you want to call wishlist methods in your components, like:
await wishlist.createListItem()
await wishlist.updateListItem()
await wishlist.removeListItem()

However, there is a limitation with localization that intl provider is not accessible in top level hooks like useCustomer, useBasket or useWishlist... so this prevent us from translating the toasts.
Trade-off: Developer Experience v.s. Feature complete
We have a trade-off here.

Or
We clean up the code so generated project won't have those unprofessional repeated toasts everywhere in the code base, and embrace the limitation (not translate the toasts!) until we fix the intl provider
I'd like to choose the later, and propose that we have a clean PWA and not to translate the toast for now.
Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

(change1)

How to Test-Drive This PR

(step1)

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Blocked by https://github.com/SalesforceCommerceCloud/pwa-kit/pull/143, closing for now, will re-open once the blocked item is available.


DataLoader Error with ConcatDataset of MNIST and SVHN

https://github.com/pytorch/vision/blob/152c2b3a9403811198beb8fffc5070fc80d1273c/torchvision/datasets/mnist.py#L70
Discription
Hello.
I tried to concatenate two datasets MNIST and SVHN.
Here, I found an error.
Example code:
# Load MNIST
mnist_transform = transforms.Compose([
    transforms.ToTensor(),
])
mnist_test = toy_dataset.MNIST('./data/MNIST', train=False, download=True, transform=mnist_transform)
mnist_test_dataloader = data.DataLoader(mnist_test, batch_size=batch_size, shuffle=False,
                                        num_workers=args.num_workers, drop_last=False, pin_memory=True)
# Load SVHN
svhn_transform = transforms.Compose([
    transforms.Resize([28, 28]),
    transforms.Grayscale(),
    transforms.ToTensor()
])

svhn_test = toy_dataset.SVHN('./data/SVHN', split='test', download=True, transform=svhn_transform)
svhn_test_dataloader = data.DataLoader(svhn_test, batch_size=batch_size, shuffle=False,
                                       num_workers=args.num_workers, drop_last=False, pin_memory=True)
concat_dataset = mnist_test + svhn_test
concat_test_dataloader = data.DataLoader(concat_dataset, batch_size=batch_size, shuffle=False,
                                         num_workers=args.num_workers, drop_last=False)
#### ERROR #####
D = [d for d in merged_test_dataloader]

Error Message
TypeError: expected Tensor as element 16 in argument 0, but got tuple
I simply put int() at line 70 for the target and solve this issue.
img, target = self.data[index], int(self.targets[index])

Thanks for catching this bug!
This is a bug in MNIST that happened when tensors and variables got merged and we started supporting scalar tensors.
Can you send a PR fixing this?

Fixed via #605

Can we close this issue, @fmassa?


Fix links to Vite website

I put a changelog entry in packages/volto/news, because our docs don't say where to put changes to apps. See https://6.docs.plone.org/contributing/index.html#change-log-entry.
I can update the docs in a separate PR, but I need to know the correct location.
Also one of the changelog checks passed because we don't check apps.

@stevepiercy wut! they should have changed it yesterday, I've been cheking docs the last weeks in vitejs.dev. Today it's their conf, I guess they changed it to have it by then.


Feature: Any plans to support Binary Vector Embeddings?

SDK
Python
Description

From https://huggingface.co/blog/embedding-quantization: Binary and Scalar Embedding Quantization for Significantly Faster & Cheaper Retrieval
Also from https://old.reddit.com/r/LocalLLaMA/comments/1gov1q4/binary_vector_embeddings_are_so_cool/

TL;DR: They can retain 95+% retrieval accuracy with 32x compression and ~25x retrieval speedup.

Thanks for any help!

@asmith26 we have not finished the hamming distance for binary encoding yet. Basic building blocks are checked in Lance already. If the team bandwidth allows, we can have it in Q1 2025.
You are more than welcome to contribute too.


flow/string-format: Also ensure that precision == 0 is valid in another case

Do this not only in the case where there's an exponent.

@glima, could you please take a look on this one? It's in the other path.

Merged, thank you!


crypto trading?

Hello, does this bot also do crypto trading?

Yes, this bot trades. But before you get started. Visit our live support page to initiate a chat with an agent for further information and enquires on how it works via Robinhood-ai-trading live chat.
Regards

@flyboynyc Hi! No, it's not right now but I can add it in the future if you want

@flyboynyc Hi! No, it's not right now but I can add it in the future if you want

PLEASE! I can donate to you as well if u can add feature and also make a video of the setup please. I have done everything except I cant generate a API key in the robinhood app. If you can do this, we can work together and make money. Thanks in advance!

Give me some time to check...


Added something similar to LCEL

@all-contributors please add @TesAnti for infrastructure, tests and code


HeatmapLayer: fix sublayer id

For #3812

Background
Fix sublayer id. Will port to 7.3-release branch.

Change List

HeatmapLayer: fix sublayer id

Coverage increased (+2.7%) to 82.884% when pulling 816b7245d7f9abf499b872c696c70265356c9edd on HeatmapSublayerId into 49d53eadb77889a1b662457f09f9cb0204f020e1 on master.


implement get a list of all execution - issue #7

enhancement - add endpoint /robotframework/executions to be able to get the list of finished executions

Hi @Noordsestern ,
I've tried to implement #7.
Please have a look and see if everything looks good from your side.
Thanks,
Ion

Thank you @ionutpetrache ! It is different (and better) than what I had in mind. I wanted to cache execution ids in a list, but resarting the service would have purged the list. Getting the ids from folder names is much smarter! :)
Originally I had planned to return also ids for executions that are not finished, yet. But as the webservice does not support concurrency, yet, I suppose that is a addon for later.
Thank you very much for your contribution!


Document trait impl behavior

All implementations of (at least) the following traits should specify their exact behavior using a doc comment on the appropriate impl methods:

Default -- exactly how the collection is constructed (e.g. by delegating to some other method)
Extend -- whether the new elements are inserted in the same order they are yielded from the iterator, and, for maps and sets, what happens in the case that there are duplicates (including what it means for there to be a duplicate)
FromIterator -- same requirements as Default and Extend
{PartialEq, Eq} -- what constitutes the equivalence relation
{PartialOrd, Ord} -- what constitutes the partial/total order

Additionally, all types implementing Iterator should document their ordering invariants (including the case in which there are none).

Default, Extend, and FromIterator all seem obvious? Default is sugar for new, and Extend and FromIterator are sugar for the simplest insertion.
Eq and Ord, I guess are a bit nontrivial...

Hmm, I guess those three are normally obvious, but {Eq, Ord} seem important to specify, especially because it's so easy to silently break code that is using them.


[soz-core] build errors

Is there an existing issue for this?

[X] I have searched the existing issues

Description of Issue
When building Soz-Core, the interface build is not done correctly because DetectiveBoard.scss and ScientistCamera.scss are not found.
This therefore prevents the interfaces from working once in game.

Expected Behavior
No errors during build and therefore no in-game interface issues.
Reproduction Steps
Follow the steps in the readme and during the step to build the resources in soz-core, the issue occurs.
Does it happen all the time ?
Yes.

Fixed by removing the imports of the two scss files not present, in private\nui\Police\ScientistCamera.tsx and private\nui\Police\DetectiveBoard.tsx.


Make the (?) operator optional

The ? operator is great for JS interop, but as it is defined as a global value, it takes precedence over ? that you might define for your own types.
For example, I'm experimenting with a little DSL for building HTML nodes:
type DomNode =
  | Text of string
  | Element of tag:string * attributes : (string * string)[] * children : DomNode[]

type El() =
  static member (?) (_:El, n:string) = fun a b ->
    Element(n, Array.ofList a, Array.ofList b)

let text s = Text(s)
let h = El()

You can write:
h?div ["class","test"] [
  h?h1 [] [ text "Heading" ]
  h?p [] [ text "Some long text" ]
]

Sadly, this only works if I do not open Fable.Core, because otherwise the ? in Fable.Core.Operators hides the one that my El type defines.
Would it make sense to either not make the Operators module AutoOpen (and perhaps rename it to JsInterop, which sounds like a more suitable name)?

I guess this makes sense. It will be kind of a breaking change but it should be OK at this point. Only thing is I didn't want to force the user to open many namespaces, it's a pity ? is not overriden by the custom implementation in this case.


support positional --mp parameter for forge test

This PR tries to fix this issue, users can now simply type forge test path_to_sol to run test.

@zerosnacks Do you have any additional feedback or suggestions for this PR?


Add component-display component

TP: https://rockabox.tpondemand.com/entity/10405
META COMPONENT.
Review by commit for great sanity.
The original .ComponentView styles weren't used in CM, so no fix needed there.

Hey, there were two merges happened earlier, leaving the following file  to be updated.

src/rb-generic-form/demo/demo.tpl.html
src/rb-raw-html-display/demo/demo.tpl.html

Hey, there were two merges happened earlier, leaving the following files to be updated.
src/rb-generic-form/demo/demo.tpl.html
src/rb-raw-html-display/demo/demo.tpl.html

@jess0407 I've added a fixup for this.

Hey Paul, it looks good to me :)


Color Scheme based on OS?

Is it possible to have all the settings sync, but the color scheme is different on each OS?
For example, when I'm on Pop-os, windows or Arch I'd like to have a Nordic theme. But on Manjaro, I prefer Apple mint and on Ubuntu, Monokai.

If you set different color schemes there is not much left to sync. Mostly the Global settings tab.
If you want to have different default color schemes but keep blocklist in sync I don't think it is possible without tricks since default settings will also be synced.

@pavel-agarkov I'm using firefox. And it has this "Device name" option. Would it be possible to set color schemes based on the names?
eg.
If the name is PC-windows, set colors to nord.
But if it's PC-ubuntu, set to monokai.

You can create a side user script that checks computer name and sends a command to Midnight Lizard.
Midnight Lizard has a built-in external command for changing the default color scheme.
Here's how it can be called:
https://github.com/Midnight-Lizard/Portal/blob/e866fef239f49f81f185dfaffe0967d249516588/app/projects/schemes/src/lib/extension/extension.service.ts#L121-L124
Where postMessage is just a DOM event dispatch:
https://github.com/Midnight-Lizard/Portal/blob/e866fef239f49f81f185dfaffe0967d249516588/app/projects/schemes/src/lib/extension/chrome-runtime-port.ts#L38-L44


Fixed NSG Package Unzipped Twice

After the changes, the NSG unzipped only once while the old test shows it was unzipped twice.


detect clear-sky conditions using power data

Would be valuable to have a technique to identify clear-sky conditions using power data. Brief discussion here

We should consider refactoring the careful handling of intervals in the persistence forecast code below into pvmodel.py so that it doesn't need to be duplicated in the validator subpackage:
https://github.com/SolarArbiter/solarforecastarbiter-core/blob/563b0c738c26095e2331ea01d9726c2a44942cb3/solarforecastarbiter/reference_forecasts/persistence.py#L245-L288


Search page at /search does not produce results

🐛 Bug Report
The search page at /search does not produce results.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce

Create a new site using Docusaurus alpha.70 using the @docusaurus/theme-classic theme:

npx @docusaurus/init@latest init my-website classic

Configure Algolia according to the docs by placing this into themeConfig in docusaurus.config.js:

    algolia: {
      apiKey: 'f2899fea0369aeea336963e48a0e46dc',
      indexName: 'standardnotes',
    },

Type something (e.g., "self") into the search bar. Get results
Scroll down in the Algolia search results. Click "See all results". Get no results

Expected behavior

I expect there to be results when I click "See all results"
Actual Behavior

Clicking "See all results" will open the /search page, but there will be no results.
Your Environment

Docusaurus version used: alpha.70
Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Node.js v12.16.0
Operating system and version (desktop or mobile): Windows 10 19041.685, WSL Ubuntu 18.04 LTS

Reproducible Demo
(Paste the link to an example repo, including a siteConfig.js, and exact instructions to reproduce the issue.)

Search page: https://docs.standardnotes.org/search?q=self
Repository: https://github.com/standardnotes/docs
Algolia API key in docusaurus.config.js: https://github.com/standardnotes/docs/blob/main/docusaurus.config.js#L13-L16
Algolia docsearch config: https://github.com/algolia/docsearch-configs/blob/master/configs/standardnotes.json

Interestingly, you can reproduce this issue with the Amphoradata key found here and the AI Speaker key found here, but not with the Docusaurus key found here. You can also find reproducible demos by cloning the websites for Amphoradata or AI Speaker and updating the Docusaurus version to alpha.70.

Note, the amphoradata seems to work for me and its config is up to date.
http://www.amphoradata.com/search?q=control
Also, if it does not work locally after upgrading to latest, it's because we introduced a new page metadata to filter on recently (with the release of contextual search), so you have to wait for Algolia to crawl your prod website with this new metadata (or run the algolia crawler yourself)

Note, the amphoradata seems to work for me and its config is up to date.
http://www.amphoradata.com/search?q=control
Also, if it does not work locally after upgrading to latest, it's because we introduced a new page metadata to filter on recently (with the release of contextual search), so you have to wait for Algolia to crawl your prod website with this new metadata (or run the algolia crawler yourself)

Hi @slorber, thanks for responding to this. I'll try to update the Algolia config for Standard Notes and see if that fixes the issue.

Hi @slorber, thanks for responding to this. I'll try to update the Algolia config for Standard Notes and see if that fixes the issue.


368 369 taxonomies

Add new content category base class
Create the resource and news categories
Create Walker for only showing terms that belong to the current context
Please review @ollietreend  and @marcincichon

Looks good @RobertWDLowe


Our k8s provider mandates the use of backoffLimit <=3.

How can I set backoffLimit for storage type elasticsearch under esIndexCleaner and dependencies
time="2021-04-05T08:05:30Z" level=error msg="failed to apply the changes" error="admission webhook \"xxxxxx.webhook\" denied the request: Job spec in CronJob must set 'backoffLimit' <= 3" execution="2021-04-05 08:05:30.031265563 +0000 UTC" instance=jaeger-tracing-prd namespace=xxxxxxxxx

Seems like a good first issue. Would you like to send a PR for this? You'd need to change this struct to accommodate the new field:
https://github.com/jaegertracing/jaeger-operator/blob/65490e8fdc240b3bf9a25297dfc1627372134791/pkg/apis/jaegertracing/v1/jaeger_types.go#L603-L624
Make sure to add the same field to other places that also create cronjobs, such as the JaegerDependenciesSpec and JaegerCassandraCreateSchemaSpec.
You'll then be able to use it here:
https://github.com/jaegertracing/jaeger-operator/blob/65490e8fdc240b3bf9a25297dfc1627372134791/pkg/cronjob/es_index_cleaner.go#L48-L99
Make sure to add a test and docs for this.

I'm giving this a try and am looking to finish up by modifying the docs. Should I open a separate PR into the documentation repository?

Yes, please create a new PR for the docs repo, linking to this PR here. The changes there should be applied only to the next-release directory. Thanks!

@jpkrohling So I've been working through writing the docs but it appears https://www.jaegertracing.io/docs/1.22/operator/ doesn’t dive very deep into the CRD options. It seems like only pretty high-level features are mentioned. Does this deserve a mention in the docs?

Right, sorry, it should probably be kept only as a godoc in the relevant Go type. We'll eventually figure out a way to properly document the whole CRD based on that.


Fb immutable tableinfo

Didn't mean to promote out of draft status. I figured "Ready to review" meant I was ready to review it, not mark it for merging.


Tests falling from ImageType in valid data.

Appears this field was removed from the schema awhile back:
https://github.com/poldracklab/mriqcwebapi/commit/6882f33e3cbcc683f6829a543cd91cbe41008c5d
Wonder how the tests continued to pass for so long.

For what it's worth I can confirm that this is an issue with data I'm trying to upload. Happy to help fix it, just not sure what approach you all want to take to get it fixed.
Here are the relevant warnings:
2019-02-07 11:19:56,558 nipype.interface:INFO MRIQC Web API: submitting to <https://mriqc.nimh.nih.gov:443/api/v1/T1w>
190207-11:19:56,982 nipype.interface WARNING:
         QC metrics upload failed to create an ID for the record uplOADED. rEsponse from server follows: {"_status": "ERR", "_issues": {"bids_meta": {"ImageType": "unknown field"}}, "_error": {"code": 422, "message": "Insertion failure: 1 document(s) contain(s) error(s)"}}
2019-02-07 11:19:56,982 nipype.interface:WARNING QC metrics upload failed to create an ID for the record uplOADED. rEsponse from server follows: {"_status": "ERR", "_issues": {"bids_meta": {"ImageType": "unknown field"}}, "_error": {"code": 422, "message": "Insertion failure: 1 document(s) contain(s) error(s)"}}
190207-11:19:56,983 nipype.interface WARNING:
         QC metrics failed to upload. Status 422: {"_status": "ERR", "_issues": {"bids_meta": {"ImageType": "unknown field"}}, "_error": {"code": 422, "message": "Insertion failure: 1 document(s) contain(s) error(s)"}}
2019-02-07 11:19:56,983 nipype.interface:WARNING QC metrics failed to upload. Status 422: {"_status": "ERR", "_issues": {"bids_meta": {"ImageType": "unknown field"}}, "_error": {"code": 422, "message": "Insertion failure: 1 document(s) contain(s) error(s)"}}
190207-11:19:56,988 nipype.workflow INFO:

And here is the contents of the JSON that prompted those issues when I tried to submit it:
{
  "bids_meta": {
    "AcquisitionMatrixPE": 256,
    "AcquisitionNumber": 1,
    "AcquisitionTime": "15:44:56.685000",
    "BaseResolution": 256,
    "BodyPartExamined": "HEAD",
    "ConsistencyInfo": "N4_VD13D_LATEST_20130810",
    "ConversionSoftware": "dcm2niix",
    "ConversionSoftwareVersion": "v1.0.20180325 GCC6.3.0",
    "DeviceSerialNumber": "66018",
    "DwellTime": 9.8e-06,
    "EchoTime": 0.00267,
    "FlipAngle": 7,
    "ImageOrientationPatientDICOM": [
      0,
      1,
      0,
      0,
      0,
      -1
    ],
    "ImageType": [
      "ORIGINAL",
      "PRIMARY",
      "M",
      "ND",
      "NORM"
    ],
    "InPlanePhaseEncodingDirectionDICOM": "ROW",
    "InstitutionAddress": "Stadium_1952_Princeton_NJ_US_08544",
    "InstitutionName": "Princeton_University",
    "InstitutionalDepartmentName": "NeuroScience",
    "InversionTime": 1.2,
    "MRAcquisitionType": "3D",
    "MagneticFieldStrength": 3,
    "Manufacturer": "Siemens",
    "ManufacturersModelName": "Prisma",
    "Modality": "MR",
    "ParallelReductionFactorInPlane": 2,
    "PartialFourier": 1,
    "PatientPosition": "HFS",
    "PercentPhaseFOV": 100,
    "PhaseEncodingSteps": 255,
    "PhaseResolution": 1,
    "PixelBandwidth": 200,
    "ProcedureStepDescription": "Botvinick_Francisco",
    "ProtocolName": "MPRAGE_1.0mm_ipat",
    "PulseSequenceDetails": "%SiemensSeq%_tfl",
    "ReceiveCoilActiveElements": "HE1-4;NE1,2",
    "ReceiveCoilName": "HeadNeck_20",
    "ReconMatrixPE": 256,
    "RepetitionTime": 2.53,
    "SAR": 0.0492047,
    "ScanOptions": "IR",
    "ScanningSequence": "GR_IR",
    "SequenceName": "_tfl3d1_16",
    "SequenceVariant": "SK_SP_MP",
    "SeriesDescription": "MPRAGE_1.0mm_ipat",
    "SeriesNumber": 2,
    "ShimSetting": [
      752,
      512,
      2044,
      214,
      -107,
      -161,
      251,
      85
    ],
    "SliceThickness": 1,
    "SoftwareVersions": "syngo_MR_D13D",
    "StationName": "AWP66018",
    "TxRefAmp": 294.458,
    "dataset": "unknown",
    "modality": "T1w",
    "rec_id": "original",
    "run_id": "01",
    "session_id": "48passages01",
    "subject_id": "P01"
  },
  "cjv": 0.41041220199289746,
  "cnr": 3.1284066487706523,
  "efc": 0.5664594814367988,
  "fber": 3285.87646484375,
  "fwhm_avg": 3.6312766666666665,
  "fwhm_x": 3.53252,
  "fwhm_y": 3.65712,
  "fwhm_z": 3.70419,
  "icvs_csf": 0.22093892402830756,
  "icvs_gm": 0.38690349088568277,
  "icvs_wm": 0.3921575850860097,
  "inu_med": 1.117046594619751,
  "inu_range": 0.46524921357631677,
  "provenance": {
    "md5sum": "9bce21bb093d066c25fec3362870295f",
    "settings": {
      "testing": false
    },
    "software": "mriqc",
    "version": "0.14.2",
    "warnings": {
      "large_rot_frame": false,
      "small_air_mask": false
    },
    "webapi_port": null,
    "webapi_url": "https://mriqc.nimh.nih.gov/api/v1"
  },
  "qi_1": 0.00027437098991142645,
  "qi_2": 0.002107048637971936,
  "rpve_csf": 24.04490466010397,
  "rpve_gm": 13.338478453926502,
  "rpve_wm": 16.610574544547116,
  "size_x": 176,
  "size_y": 256,
  "size_z": 256,
  "snr_csf": 3.942298606603943,
  "snr_gm": 9.92454130460891,
  "snr_total": 11.042614659034264,
  "snr_wm": 19.261004065889942,
  "snrd_csf": 47.88677328472102,
  "snrd_gm": 71.75077127987952,
  "snrd_total": 73.10450401389313,
  "snrd_wm": 99.67596747707888,
  "spacing_x": 1.0,
  "spacing_y": 1.0,
  "spacing_z": 1.0,
  "summary_bg_k": 6.226035920219859,
  "summary_bg_mad": 6.572751998901367,
  "summary_bg_mean": 11.720952033996582,
  "summary_bg_median": 10.074546813964844,
  "summary_bg_n": 3520179.0,
  "summary_bg_p05": 2.4095474004745485,
  "summary_bg_p95": 26.55628032684326,
  "summary_bg_stdv": 7.996243000030518,
  "summary_csf_k": -0.134648560620223,
  "summary_csf_mad":<PHONE_NUMBER>6083984,
  "summary_csf_mean":<PHONE_NUMBER>355469,
  "summary_csf_median":<PHONE_NUMBER>0859375,
  "summary_csf_n": 10596.0,
  "summary_csf_p05":<PHONE_NUMBER>033203,
  "summary_csf_p95":<PHONE_NUMBER>113281,
  "summary_csf_stdv":<PHONE_NUMBER>2216797,
  "summary_gm_k": 0.6742948520168786,
  "summary_gm_mad": 67.67241668701172,
  "summary_gm_mean":<PHONE_NUMBER>09375,
  "summary_gm_median":<PHONE_NUMBER>914062,
  "summary_gm_n": 12873.0,
  "summary_gm_p05":<PHONE_NUMBER>367187,
  "summary_gm_p95":<PHONE_NUMBER>828125,
  "summary_gm_stdv": 72.5295181274414,
  "summary_wm_k": 0.677626363443649,
  "summary_wm_mad": 47.310157775878906,
  "summary_wm_mean":<PHONE_NUMBER>335938,
  "summary_wm_median": 1000.0137939453125,
  "summary_wm_n": 228378.0,
  "summary_wm_p05":<PHONE_NUMBER>330078,
  "summary_wm_p95": 1084.0444763183593,
  "summary_wm_stdv": 51.918975830078125,
  "tpm_overlap_csf": 0.1875094771385193,
  "tpm_overlap_gm": 0.46722444891929626,
  "tpm_overlap_wm": 0.5632771849632263,
  "wm2max": 0.5133271315034852
}

@oesteban we want to remove ImageType from the mriqc white list?
Or add it back into the webapi as an acceptable field?

I think this makes clear that we need to have the white list always synchronized. We started with the https://github.com/poldracklab/mriqcwebapi-schemas and I think it could be used as a git submodule from both projects (mriqc and mriqc-webapi). At least it was created for that. Should we get this done at once?

re allow unkown, one would hope, but from what @Shotgunosine is posting it seems not to be working. I'll take a look at whats running in production to see if there's anything wonky there that might cause the issue.
I'll start in on integrating mriqcwebapi-schemas into the webapi.

Very much appreciated. I think making sure the web api is running with the latest schema would be the priority.

Thanks for getting on this so quickly, let me know if you need me to test or if there's anything else I can do.

Was wondering why my local version worked by not the production one. Turns out there was a bug with allow_unknown that has been fixed since the container was last built.
https://github.com/pyeve/eve/blob/master/CHANGES.rst
@Shotgunosine can you verify that the api works from your end? I was able to use curl to post the payload you posted here to the api.

Confirmed! It worked! Thanks so much for the quick response!

I think this should be closed?


pydantic.errors.PydanticImportError: pydantic:ConstrainedFloat has been removed in V2.

Got the above error with the following command:
./manage.py docker --framework timm --task image-classification --gpu resnet18
Any idea?

Yes, this try to build the docker image, which installs pydantic v2 (which is not working on the api-inference-community 's version.
You can try to simply to upgrade api-inference-community to 0.0.32 within the docker_images/timm/requirements.txt  file.

Closing tentatively, feel free to reopen.

@Narsil  Thank you very much for the reply! I have successfully set up the docker server now. However, when I use the curl command to do image classification with the timm framework for a test, I got the following error. Do you happen to know what did I doing wrong?
curl -X POST <IP_ADDRESS>:8000 -d @cat.png

{"error":"401 Client Error. (Request ID: Root=1-64b6eff9-34148a5d727e012835e8e809;270acbbd-6191-40ff-bb1b-06f3a02d2ebc)\n\nRepository Not Found for url: https://huggingface.co/resnet18/resolve/main/config.json.\nPlease make sure you specified the correct `repo_id` and `repo_type`.\nIf you are trying to access a private or gated repo, make sure you are authenticated.\nInvalid username or password."}

I don't think theré s a resnet model, you might be looking for timm/resnet50.a1_in1k  (or friends)


Madhav shroff/main

@MadhavShroff  Please use the code in this pull request and build on top of it.

Will do 👍


[WIP][SPARK-39119] Upgrade Hadoop to 3.3.3

(Will fill in details later)

Yay! Thank you, @sunchao !

cc @MaxGekk

cc @MaxGekk

I just hope you are not going to backport this to 3.3 ;-)

It's great to see the official one!

Shall we convert to a normal PR by removing [WIP] in the title and convert to Ready for review status?

Sure @dongjoon-hyun . Updated.

Thanks @dongjoon-hyun !


Weird contract string parameter escaping

It seems like you have to escape every non alphabet/number character in a string parameter that gets passed with cleos push action... This is weird and unnaturral:
cleos push action testera hi "This is Toni!" -p testera
executed transaction: a302ab1da77dc6a26c4842b5e1d2201f786548f334ab29e094b6d86788137976  104 bytes  852 us
#       testera <= testera::hi                  "This"

cleos push action testera hi "This\ is\ Toni!" -p testera
executed transaction: 816f67f350f3118dac6c83a99651384b64ddac109df7b10d9a609641ff11e060  112 bytes  830 us
#       testera <= testera::hi                  "This is Toni"

cleos push action testera hi "This\ is\ Toni\!" -p testera        executed transaction: 78c52c89f14439bcdb67c49c795ee0630cadd86d8bbbf8f874952f7b164718f5  112 bytes  860 us
#       testera <= testera::hi                  "This is Toni!"

My test are ran on dawn4.0.0^ (pretty sure).

This behaviour is actually intentionally, as bash strips the first set of quotation marks. This means the interpretter receives This is Toni!, which it cannot interpret (it will try however, and simply parse the first string). If it would receive "This is Toni!" however, it would know it's a string. Thus you have to pass:
'"this is toni"'


PoC: possible repro for issue 69

It looks like this would reproduce the scenario, yes, though I don't know if I'd actually expect it to crash. @Gankro (by the power of git blame I summon thee), do you know what actually happens if we violate the rules set out in ptr::add's docs, and add an offset larger than isize::MAX? All the context on why I'm asking this is in https://github.com/danburkert/memmap-rs/issues/69.

It's Undefined Behaviour and llvm is permitted to do anything and everything to your code if you do it


/openurl command doesn't work in irc

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running a recent nightly build or the newest stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues for similar looking reports

Describe your issue
/openurl command doesn't work in irc, it doesn't open my browser at all
Works just fine in normal twitch chat
Screenshots
No response
OS and Chatterino Version
Chatterino 7.3.4 (b00bee632) on Windows 10 (21H1)

I will check this out when I have time

can reproduce


removed test from namespaces

removed test from namespaces. Will still work with 'test', need to decide how strictly to enforce url names and how to display 404 pages.


Drag multi-selection

We could adapt rete-drag-selection-plugin to work without holding the ctrl key after switching viewport translation to the right mouse button.

Duplicate #4, closing


Am 895 junit improvements

https://tools.hmcts.net/jira/browse/AM-895

Will open a new PR as this one has been brought in too many changes as my own after PR merges with master.


Question: event before deselect

Hi,
is it possible to "manipulate" the selection just before deselecting an item, for example to always "force" the user to keep one element selected.
At the moment we can change the current selection when user clicks on clear-all button using beforeClearAll event e.g.
beforeClearAll: function () {
     // when clear all, we still select the root
     this.value = [this.options.id];

     // block clear-all action
     return false;
}

But if the user deselects the options one by one, that event is not called... is there a similar event for select/deselect ?
Thanks in advance

I'm having the same issue, typical use case is processing a confirmation flow before actually deselecting.

I'm facing the same issue! :(


Rebuild against libssl1.1 needed for Debian Stretch

Description
The apt package is build against libssl1.0 which is not available on Debian Stretch giving the following error:
libssl.so.1.0.0: cannot open shared object file: No such file or directory

Environment summary
Install Method:  apt-get
CLI Version:
azure-cli (2.0.9)

acr (2.0.7)
acs (2.0.9)
appservice (0.1.9)
batch (3.0.2)
billing (0.1.2)
cdn (0.0.5)
cloud (2.0.5)
cognitiveservices (0.1.5)
command-modules-nspkg (2.0.0)
component (2.0.6)
configure (2.0.9)
consumption (0.1.2)
core (2.0.10)
cosmosdb (0.1.9)
dla (0.0.9)
dls (0.0.9)
feedback (2.0.5)
find (0.2.5)
interactive (0.3.5)
iot (0.1.8)
keyvault (2.0.7)
lab (0.0.7)
monitor (0.0.7)
network (2.0.9)
nspkg (3.0.0)
profile (2.0.7)
rdbms (0.0.4)
redis (0.2.6)
resource (2.0.9)
role (2.0.7)
sf (1.0.4)
sql (2.0.6)
storage (2.0.9)
vm (2.0.9)

Python (Linux) 3.6.1 (default, Jun 22 2017, 12:11:55)
[GCC 4.8.4]

Python location '/opt/az/bin/python3'

OS Version:
Debian Stretch
Shell Type:
bash

Thanks for reporting. We'll look into this.

Keep in mind that oldstable (jessie) does not have libssl1.1, but libssl1.0.0. So you need to introduce another distribution alongside wheezy.

Wouldn't it be vastly preferable if you just didn't bundle an entire copy of python3 in the package and just had a dependency on the distribution python packages you needed? Embedding copies of system packages in your package is always going to be fragile this way and also have tons of security issues.

For now users can install the libssl1.0.0 from jessie-backports from here:
https://packages.debian.org/jessie-backports/amd64/libssl1.0.0/download

Installing libssl1.0.0 from jessie-backports causes issues then with .net core 2.0 cli


Make copyright internal to the file

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


addPipelineData is not documented

addPipelineData does not appear in documentation but is actively suggested when using the pipeline designer

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

ID: 77386c22-1c7f-ab78-f541-52d50fa9fd8e
Version Independent ID: be836c7f-2b53-c59a-7252-dfc15ec63537
Content: Docker task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/docker.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

@Mertsch Thanks for your suggestion. While we look into this, consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

investigating
I'm updating addPipelineData and adding addBaseImageData now.


Fix windows path check on rust linter

Fix for #724
I'm not sure it is good solution, but for me it works.

I replace code with this function and for me it works but find problem with this when run tests on windows - tests does not pass because ale#test#SetFilename('src/playpen.rs') converts "/" to "" in this case

@daa84 That's okay. The tests don't run on Windows at the moment. I'm planning on running the tests on AppVeyor eventually.

Cheers! :beers:


nsc-events-8-409-implement-material-ui

Resolves #409
This PR converts the following pages from Tailwind CSS to Material UI:

Home page
Admin dashboard
Creator dashboard
Archived events
My events

I got this error message when I run this in my end:
Failed to compile
./components/ThemeToggle.tsx:5:0
Module not found: Can't resolve 'react-icons/fi'
3 | import React from "react";
4 | import { useThemeContext } from "../app/theme/providers";

5 | import { FiMoon, FiSun } from "react-icons/fi";
6 |
7 | const ThemeToggle = () => {
8 |   // Get the current theme mode and the function to toggle it

https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./components/Navbar.tsx

@miqo1385 You may be missing dependencies on your local machine. Try running npm i to install any missing dependencies.


fix typo

Coverage remained the same when pulling d1672bee40caa7be9f4358b43a699789a4811781 on nicoder:patch-2 into 9f166349101024e57cb6af6d9017fd84130c2b18 on phpbrew:master.

Tanks!  We hats typoz ;)


Add tests

Unit
Integration
Acceptance

Open for discussion on tools and approach
cc @jensck

My only thoughts on this (echoed from our previous conversations on the subject):
I would recommend de-prioritizing tests on the SDK in favor of high level integration tests on the device setup lib.  By far the most common source of issues has been with the setup process running on new versions of Android, and it's also one of the more time consuming things to test when you have to run that test many, many times by hand.
As for implementation, I'd probably stick with JUnit-driven unit tests and Espresso-driven integration tests.  Maybe try out Spek or Spock for unit tests if you really want something more concise?  And I'd avoid both PowerMock, and any cross-platform testing framework.  Both are devil's bargains: they look great up front, but they come with nasty side effects and limitations you'll only discover after using them for a bit that eclipse their value.

I agree that high level integration tests on device setup lib are important, but actually are less likely to change/break (pending Android API changes/devices behaviour). Also - would be pretty hard to implement. Another piece on info:
We will soon push for a integrated "browserified" soft AP process that should work similarly on iOS and Android webviews.
Lately an API response change caused a crash in the iOS app which could have been caught easily with unit tests on SDK - the API IS changing all the time and might cause breakage. Just my 0.02$ on why unit tests on SDK still have lots of value.


parsing response from Google Open Spherical Camera API

Hey
I am having problems implementing Google's OSC Api ...
i am making a post with { name: "camera.getLivePreview" } as parameters and i am getting back a stream of jpegs as binary data
https://developers.google.com/streetview/open-spherical-camera/reference/camera/getlivepreview
is there a way i can use this library to handle the response? i tried in vanilla js with no luck :(
thanks

Superagent can only fetch things of finite size. The documentation says "Continuous video stream.", which I assume means a stream that never ends, so you'll never get the end() callback in superagent.
You must use a different library for this.

thanks @pornel
i can officially say i am lost :/

Search for tools for dealing with multipart/x-mixed-replace. The format is quite obscure.

being doing that for the past 3 days and counting :)


Touch is not working in landscape orientation

Firstly loading url works fine with both the orientations i.e. landscape and portrait. But when i switch from portrait to landscape and vice versa, touch doesn't work for some area.
I am testing in iPhone 7 device so, in portrait mode width and height of screen is 375 and 667 respectively. When i switch orientation from portrait to landscape mode width and height of screen become 667 and 375 respectively. Webview width should become 667 from 375 (you can see the style in code, width and height is set to screen width and screen height respectively) and width is taken 667 that is perfect but touch area is not working from 376 to 667.
I have also debug RNCWebView.m class to check if content view inside scrollview is taking the current frame and its working fine. I can't find the source of issue.
Touch should work in both orientations and for full width.
Environment:

OS: iOS
OS version: 13.3.1
react-native version: 0.61.5
react-native-webview version: 8.2.1

Here is my code:
const isPortrait = () => {
const dim = Dimensions.get('screen');
console.log('is_Portrait', dim.height >= dim.width);
return dim.height >= dim.width;
};
export default class App extends Component {
constructor(props) {
super(props);
this.state = {
url: null,
deviceToken: '',
webViewLoaded: false,
key: 1,
orientation: isPortrait() ? 'portrait' : 'landscape'
};
    Dimensions.addEventListener('change', () => {
            this.setState({
                orientation: isPortrait() ? 'portrait' : 'landscape'
            });
    });
}

render() {
const {url, deviceToken, safeArea, orientation} = this.state;
let screenWidth = Dimensions.get('window').width
let screenHeight = Dimensions.get('window').height
    return (
                    <WebView
                        style={{width: screenWidth, height: screenHeight, position: 'absolute'}}
                        containerStyle={{width: screenWidth, height: screenHeight}}
                        onError={({nativeEvent}) => {
                            alert('Internet not available, Cross check your internet connectivity and try again')
                        }}
                        source={{uri: url}}
                        />
    );
}

}


fastlane command using shell script in the AppleScript using automator

Trying to run the "fastlane" command in the automator with do shell script in appleScript but getting
sh: fastlane : command not found error.

issue resolved by giving the actual path for the command in the shell script .


Feature request: --break-on-failure

Hi,
for huge test suites it is nice to have a feature like --break-on-failure that leads bandit to exit (i.e., ignore further it()s and describe()s and just prints the summary).

Why would that be nice? I cannot see a scenario in which you would like to not test code

Oh, wtf, I meant "that leads bandit to exit after one failure"

I still can't see why would you want to cancel all tests after one test fails.
OTOH a full-blown test dependency system would be pretty nice...

I cannot see a scenario in which you would like to not test code

It's not about not testing code - all tests still have to pass for the entire test suite to pass.
For huge test suites this could accellerate fixing broken tests.

OTOH a full-blown test dependency system would be pretty nice...

:+1:
As long as this isn't implemented i can see the use of exiting after a single failed test.

I can see the point of having bandit bail out on the first failing test when you have a large test project.
@nabijaczleweli I don't understand what you mean by a test dependency system, though. Could you elaborate?

I visualize it like this:
describe("explosion", [] {
  depends_on("explosive");
  // ^ needs a `describe` named "explosive" to succeed for it to start,
  // otherwise marked skipped (in yellow?)
});

describe("bomb", [] {
  depends_on("explosive:plants");
  // ^ needs a nested `describe` or `it` named "plants" under a `describe` named "explosive"
  // to succeed for it to start, otherwise marked skipped (in yellow?)
});

I'm sorry. I still don't think I understand.
Does depends_on("explosive"); mean that describe("explosive", [](){ /*... */}); must have been executed prior to describe("explosion", []() { /*... */ });?

And must have completed successfully, yes. If it failed, the describe() containing depends_on("explosive") is skipped.

A beautiful flowchart™ of how I'd imagine it to work

Did describe("m00") succeed?

You will no longer be able to decide whether to skip a test when you encounter it.
As I see it, this would be a major change to bandit.
Before executing any dependent tests you must ensure to read all dependencies (build a dependency graph of all tests?). If the entire suite has to be read first, it would also be possible to show the total number of test cases before all tests are finished (e.g. a progress bar).
Cyclic dependencies must be detected and reported.
I consider it bad practice to capture big variables with lamdas handed to bandit::it as this increases runtime / memory requirements even when skipping the respective tests. If we would collect all test cases before starting execution this problem might get worse.

I'm afraid I think this is too complicated, both to implement, and to understand as a user.
I think adding a '--break-on-failure' option yields the same result in a much simpler way.

I took a stab at the '--break-on-failure' option. Haven't tested it on MSVC.
My C++ is a bit rusty after mostly doing Python nowadays, so a review would be most welcome.

Works on GCC5.1 WindowsXP 32bit, but doesn't color the SKIPPED text, is this intentional?

It seems we've missed adding skip to most progress reporters. Only the spec and xunit reporter actually report skipped tests from what I can see. Don't know how we missed that earlier.


Dump fixes

Datasets added
Individual prefLabels simplified (Gabaergic - accession_id   -> Gabarergic)
Removed unused templates (non-taxo roots and cross species)

pull request to the wrong branch


Fix up links in ML folder

replace redirected links
replace site-relative links with file-relative links

Contributes to #15560

@cjgronlund Thanks for the review. I've addressed all of your suggestions.


Broken links to examples files

Thanks for the work! I would like to point out that the links to the tutorials in this page are broken, location of files is not correct, just in case you are not aware of it.

Fixed! Thank you for the heads-up! :D


How to cancel default events for register

I'm having an issue with user registration.  However, the updated event happens for a distinct id that doesn't match anything in my DB or Mixpanel's database.
I am trying to use createAlias from back-end to tie $user->id to Mixpanel's distinct_id. But this library seems to automatically be creating that alias, however, it creates another alias with that mysterious id value.
So I think it would be best if I could somehow cancel the default registration events and re-create them myself. Is there any docs on how to do such?

I will try disabling enable-default-tracking for now and see if that helps.


fix desc - wmic qfe get hotfixid

C:\Windows\System32>wmic qfe get hotfixid
HotFixID
KB2849697
KB2849696
KB2841134
KB2670838
KB2830477
KB2592687
KB2819745
KB2479943
KB2491683
KB2506212
KB2506928
KB2509553
KB2511455
KB2532531
KB2533552
KB2533623
KB2534111
KB2545698
....

Should this not finish with something like "patches installed on the system"? Agree the old description is incorrect.

@tekwizz123 Fix it.

Merged.


Distinguishing between species in segmentation masks

This issue was brought up by Guy:

The weed species information is on an image-wise basis, but I was wondering how you were doing that for segmentation masks where the colour/shade of the mask refers to individual species but where that information is only encoded at the start. Would we need to define which colours referred to which weed (in some input box if you select segmentation?) and then have a bit of code go over every image and check for that colour and then assign a weed id, or is this already covered in the COCO standard?

COCO doesn't store masks as a PNG, but rather as polygons or a bitmap mask for each annotation, and it stores the category with each annotation.
So I see this mapping from colour to category name as part of conversion (#34), just as the VOC converter accepts a mapping from the stored category name to the WeedCOCO category name (see https://github.com/Sydney-Informatics-Hub/Weed-ID-Interchange/pull/49/files#diff-e37c5d148e72b97d1fd2e23d9c762251R1-R2 for an example, and https://github.com/Sydney-Informatics-Hub/Weed-ID-Interchange/pull/49/files#diff-4d5ea174a60cf1f936d2a94f354e36aeR117-R121 for the logic of loading it).

Fixed in segmentation mask importer