Renative module not found when using monorepo

Describe the bug
When using generated project as part of monorepo using yarn workspace, renative module can't be found.
To Reproduce

Create a new project:
rnv new
Build initial assets
rnv build -p web
Copy new project into existing monorepo
Ex:

Monorepo root
- packages
  - newProject
     .....
     - package.json
  - otherComponents
     - package.json

See error

ERROR in ./src/app/index.js
Module not found: Error: Can't resolve 'renative' in '/Users/Shared/Relocated_Items/Security/Work/GIT/ott/uvn-ott-apps/packages/news/src/app'
 @ ./src/app/index.js 3:14-33
 @ ./index.web.js
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080 (webpack)/hot/dev-server.js ./index.web.js

Expected behavior
A clear and concise description of what you expected to happen.
Renative is supposed to hoist appropriately on yarn workspace. I'm trying to use nohoist but that create other issues with other dependencies
Screenshots or copy&paste
If applicable, add screenshots to help explain your problem.
If applicable, copy&paste the output of the command. Run the command with -i to get more debugging informations
Monorepo looks like this:

Desktop (please complete the following information):

OS: [e.g. osx, windows 7, ubuntu 16.04]
MacOS: 10.15.7

Node Version [e.g. v10.16.3]
v12.15.0

RNV Version [e.g. 0.25.0]
0.31.3

Additional context
Add any other context about the problem here.
The plan is to try to use common assets on multiple apps also explained on https://github.com/pavjacko/renative/issues/644

Adding nohoist for renative and root folder on metro.config.js fixed the issue on my end:
root package.json
{
  "name": "root",
  "private": true,
  "workspaces": {
    "packages": [
      "packages/*"
    ],
    "nohoist": [
      "**/renative"
    ]
  }
}

metro.config.js
const defaultConfig = {
    watchFolders: [
        path.resolve(__dirname, '../../'),
    ],
};

Adding nohoist for renative and root folder on metro.config.js fixed the issue on my end:
root package.json
{
  "name": "root",
  "private": true,
  "workspaces": {
    "packages": [
      "packages/*"
    ],
    "nohoist": [
      "**/renative"
    ]
  }
}

metro.config.js
const defaultConfig = {
    watchFolders: [
        path.resolve(__dirname, '../../'),
    ],
};

eh nohoist really shouldn't be the solution.... you just end up with a monorepo that takes hours to install

hey, this is pretty old issue, but in case you or someone else still has this issue, try adding "isMonorepo": true, to renative.json of the project, in this case news

@alaingoga closing this ticket as a solution has been provided, if it still doesn't help feel free to reopen again


refactor xchain-util for new midgard

Background
A new Midgard package has been created which creates the api directly from Midgard docs using open API. The API is defined here.
xchain-util exposes getInboundDetails() which combies getMimirDetails() and getAllInboundDetails to return combined information (asgard vault address, halt status and gas rate)
getInboundDetails() is used in deposit() for every chain client, example in the Bitcoin Client.
Change required.
Implement export const getInboundDetails = async (chain: Chain, network = Network.Mainnet): Promise<InboundDetail> the new Midgard module and then references within the chain depost() functions updated.
A client file can be created in https://github.com/xchainjs/xchainjs-lib/tree/master/packages/xchain-midgard/src to support the new function OR put into a utils.
Note: Midgard Docs does not support Mimir so getMimirDetails() will need to be moved into the Midgard Module.
Once done, the below be removed from xchain-utils:
https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-util/src/midgard.ts
https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-util/src/types/inboundDetail.ts
https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-util/src/types/midgard.ts
https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-util/src/midgard.test.ts (can be migrated to midgard module)

Most of this work was done with the new Midgard Module

Closing issue


DataGrid Multibinding

I'm trying to use a MultiBinding to bind to a DataGridTextColumn.
<DataGrid x:Name="DataGrid" Items="{Binding Data}" AutoGenerateColumns="False" CanUserResizeColumns="True" CanUserReorderColumns="True" IsReadOnly="True">
    <DataGrid.Columns>
        <DataGridTextColumn Header="Length">
            <DataGridTextColumn.Binding>
                <MultiBinding Converter="{StaticResource measurementConverter}" Mode="OneTime">
                    <Binding Path="Length"/>
                    <Binding ElementName="DataGrid" Path="DataContext.RoundingConfiguration"/>
                </MultiBinding>
            </DataGridTextColumn.Binding>
        </DataGridTextColumn>
        <DataGridTextColumn Header="Width" Binding="{Binding Width, Mode=OneTime}" />
        <DataGridTextColumn Header="Height" Binding="{Binding Height, Mode=OneTime}" />
    </DataGrid.Columns>
</DataGrid>

public class MainWindowViewModel : ViewModelBase
{
    public List<Measurement> Data { get; set; }
    public RoundingConfiguration RoundingConfiguration { get; init; }

    public MainWindowViewModel()
    {
        RoundingConfiguration = new RoundingConfiguration() { D = 0.02f };

        var list = new List<Measurement>();
        for (int i = 0; i < 5; i++)
        {
            float val = 1.0f + 0.01f * i;
            list.Add(new Measurement() { Width = val, Length = val, Height = val});
        }
        Data = list;
    }
}

public sealed class MeasurementConverter : IMultiValueConverter
{
    public object Convert(IList<object> values, Type targetType, object parameter, CultureInfo culture)
    {
        float dimension = (float)values[0];
        RoundingConfiguration roundingConfiguration = values[1] as RoundingConfiguration;
        uint decimals = 2;
        return dimension.ToString($"N{decimals}", CultureInfo.InvariantCulture);
    }
}

The binding to a simple path is not working with the multi binding (<Binding Path="Length"/>) but works correctly with the single binding (Binding="{Binding Width, Mode=OneTime}").
This stackoverflow thread suggests that this should work or has worked in the past (with WPF) as the issue was just not converting the return value to a string: https://stackoverflow.com/questions/42592321/multibinding-not-working-in-datagridtextcolumn
values[0] in the converter is always "unset" as can be seen in the second screenshot.
The complete minimal sample to reproduce the issue can be found here: https://gitlab.com/JanGernert/datagrid-minimal-sample

OS: Windows 10 & Fedora 35
Version 0.10.10 & CI build (16d10238a9cbf7de2d71ecd6506db8c73dfd8acc)

did you ever managed to solve this? the docs on multibinding is really poor unfortunately.

@jangernert
I don't think it's possible or will be possible to use MultiBinding in the DataGrid. It uses binding object only to get property metadata. As it does all bindings by itself for the performance instead.
You should use DataGridTemplateColumn with TextBlock inside.
@vikkio88 as we discussed in the chat, your problem is not related to the DataGrid.


Recognize indent within LaTeX environment

Fixes issue #16.
Automatically indent within LaTeX environments. As a bonus, the auto reformatter will indent environment contents as well.
Compatibility note: to accomplish this, the grammar needed to be changed such that \begin and \end could be distinguished from other commands at token level and hence in the parse tree.

Generated classes missing.


Determine semantics of "grad"/"backward" for integral scalar types

What does it mean to compute "gradients" for nodes that have Int or bool types? Several choices:

All gradients are zero -- may be mathematically correct (w.r.t. some assumptions I guess -- what is an infinitesimal change in integers?) but wasteful?
::backward() is disabled altogether and has_grad is always false -- this would require template specialization and maybe SFINAE. Another option is to omit SFINAE, so ::backward() still exists and is callable but it would throw at runtime.
::backward() works as if everything is floating and results become whatever they might be when casted back to ints -- this is the "no code change" case where I just instantiate the node with the scalar and assume everything works (some things will not work for sure). This is somewhat semantically similar to integer division of two ints, it's not mathematically correct w.r.t. real division, but it's somewhat approximately correct and somewhat reasonable.

Check PyTorch behavior for reference.


cigien: Watch boulder[\W_]+farms[\W_]+cbd[\W_]+oil(?:[\W_]+(?:\d++|[\da-f]{5,}+)s?)*

cigien requests the watch of the watch_keyword boulder[\W_]*+farms[\W_]*+cbd[\W_]*+oil(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)*. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

boulder[\W_]*+farms[\W_]*+cbd[\W_]*+oil(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)* has been seen in 1 true positive, 0 false positives, and 0 NAAs.

boulder[\W_]*+farms[\W_]*+cbd[\W_]*+oil(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)* has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ


AVI to MP4 transcoding of video file

Hello,
I have to transcode a file from AVI to MP4 , but this process takes too much time on production server(almost more than 1 hour, then also its not complete).Size of video file is 2.2GB and  following is my code:

if video.video_url.present?
   movie = FFMPEG::Movie.new("#{video.video_url.url}")
   if movie.present?
	puts("=================inside movie ===================")

	video.duration = movie.duration
	video.order.total_video_duration = 0 if video.order.total_video_duration.nil?
	video.order.total_video_duration += movie.duration.to_i
	video.order.save
	video.save
	if !(video.video_url_content_type == "video/mp4")
	  puts("==============-=---=video==========#{video.inspect}=========")
		video_url = video.video_url
    	      filename = "media1#{Time.now.to_i}"

            if video.video_url_content_type == "video/x-flv"
         	`ffmpeg -i "#{video.video_url.url}" "#{Rails.root.to_s}/public/tmp/#{filename}.mp4"`
           elsif video.video_url_content_type == "video/x-msvideo" || video.video_url_content_type ==    "video/avi"
      	`ffmpeg -i "#{video.video_url.url}" -c:v libx264 -crf 19 -preset ultrafast -c:a aac -strict experimental -b:a 192k -ac 2 "#{Rails.root.to_s}/public/tmp/#{filename}.mp4"`
      else
      	`ffmpeg -i "#{video.video_url.url}" -c:v copy -c:a copy "#{Rails.root.to_s}/public/tmp/#{filename}.mp4"`
      end
      f = File.open("#{Rails.root.to_s}/public/tmp/#{filename}.mp4")
      video.video_url = f
      video.save
      f.close
      movie1 = FFMPEG::Movie.new("#{Rails.root.to_s}/public/tmp/#{filename}.mp4")
      File.delete("#{Rails.root.to_s}/public/tmp/#{filename}.mp4")
    end
	end
end

This code works only for some files and not for all files.
The code is called from a raketask and a crontab is scheduled on server.
Please need an urgent reply on this.
Thanks

You're just using the gem to read the video's meta data.  This choice sort of defeats the purpose of using streamio-ffmpeg. Since you are transcoding directly with fmpeg, you should post your questions to that forum, including information about the base cases you're using for video and which line hangs and / or any error messages you get.
Once piece of advice would be to make sure you are using a recent version of ffmpeg. Sometimes video that has encoding errors cannot be transcoded and this would cause ffmpeg to hang.

I am using streamio-ffmpeg 3.0.0 (version 3.0.0)
Using below command for transcoding AVI file to MP4 (this will work for som AVI format file not for all)
ffmpeg -i "#{video.video_url.url}" -c:v libx264 -crf 19 -preset ultrafast -c:a aac -strict experimental -b:a 192k -ac 2 "#{Rails.root.to_s}/public/tmp/#{filename}.mp4"

Again, you aren't using the gem to transcode. You posted this question on this project but you should post it on the FFMpeg project board.
In my experience, if a video does not transcode, it is usually due to

an outdated version of ffmpeg
lack of memory
a corrupt video file.

@bikeath1337 pretty happy to land on this issue as it was the very first thing I was looking for… completely into using all the features of this gem, but you're just not showing how to ! neither your readme

@bbnnt I don't know what value it adds to scold but that being said, the issue reported was that the job doesn't finish. As tried to explain, the job of transcoding is done by FFMpeg, the gem just creates a wrapper around it.
So if FFMpeg doesn't finish when it's called directly, as @Mittall reported, then it's an FFMpeg issue, not the gem. FWIW, such issues are not very unusual historically, which is why it's usually really important to keep release-current with FFMpeg.
And yes, your example looks correct and is in the documentation for the gem as it's not a different use case than any other transcoding job.

I was not scolding sorry if it felt like so, can admit though I'm just getting into this gem and more specifically looking into converting videos
Was trying to convert an avi to an mp4,  encountered troubles using the options you do show in the README (then i know how to google around to find out as its not the issue here)
I was more or less trying to get some kind a confirmation; so thx for your quick rep' !


Delays allocate memory on the audio thread

Effect::init is called on the audio thread. It shouldn't be.

Fixed in 4d13481.


Regression: Docs on RTD are Broken

The docs on https://pyee.readthedocs.com for latest are completely missing the API docs:
https://pyee.readthedocs.io/en/latest/#
I'll need to do some fiddling to figure out why this is. Maybe I need to add -e . to the requirements_docs.txt file? I think so!

I pushed out this fix and it actually worked!


fix(chat): fix sidebar menu items count calculation (Issue #1710)

Description:
fix sidebar menu items count calculation
Issues:

Issue #1710

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review

/deploy-review


CI: move slow tests to GPU jobs

What does this PR do?
Resolves #15372
Closes #15331
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

cc @Borda just in case this PR was closed accidentally.

it was linked willingly :otter:


Legend!

fixes #353 :fingers_crossed:

Coverage increased (+0.2%) to 76.989% when pulling ea72de60bdcb9e248a037d9c82311bc4c9db0905 on jiwalker-usgs:master into 5f0bf48ccd9c76e2dd9e34c6b235c95622074eee on USGS-R:master.


CLI is capable of downgrading when upgrading, which is weird

Running dockstore --upgrade can take an unstable version and downgrade it to a lower stable version. It should take an override parameter or similar to have this occur.
$ dockstore --version
Dockstore version 0.4-alpha.0-SNAPSHOT
The latest stable version is 0.3-beta.1, please upgrade with the following command:
   dockstore --upgrade
$ dockstore --upgrade
Upgrading to most recent stable release (0.4-alpha.0-SNAPSHOT -> 0.3-beta.1)
Downloading version 0.3-beta.1 of Dockstore.
Download complete. You are now on version 0.3-beta.1 of Dockstore.

Related, the version command should probably mention that you're on a newer unstable version.
$ dockstore --version
Dockstore version 0.4-alpha.1
The latest stable version is 0.3-beta.1, please upgrade with the following command:
   dockstore --upgrade

Perhaps we want something like

dockstore --upgrade (takes you to the newest stable version, unless you're already "past it")
dockstore --upgrade --force-stable (takes you to the newest stable version no matter what)
dockstore --upgrade --force-unstable (takes you to the newest unstable version)


Support clean uninstallation of OCS

When on OCS addon uninstall, the OCM creates a config map with deletion label in openshift-storage namespace. The OCS converged addon controller will watch for this deletion label and proceed on removing the OCS resources.
Signed-off-by: kesavan<EMAIL_ADDRESS>

@nb-ohad have Updated the tests

LGTM
@JohnStrunk , Ohad asked me to contact you to merge after I was done looking through it.
Please don't forget to squash the commits.

@JohnStrunk Now its ready to get merged


Merging doc-onboarding according to yesterday's decision at CANDy DevOPS COP

Looking into it @WadeBarnes

@SylvainMartel the DCO problem in this merge request is happening because I did a rebase of the doc-onboarding branch from the main branch. I did it in the github web gui, and the rebase/merge commit is not signed-off by me, possibly because I forgot to check some box somewhere.
I can sign-off the merge commit on my local clone w/o problem, but since it modifies the commit, I have to force-push it on the doc-onboarding branch.
It's impossible because the doc-onboarding branch is protected:
~/dev/github.com/ICCS-ISAC/Candy
bruno@bruno-thinkpad:# git push --force
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 407 bytes | 407.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/doc-onboarding.
remote: error: Cannot force-push to this branch
To github.com:ICCS-ISAC/Candy.git
 ! [remote rejected] doc-onboarding -> doc-onboarding (protected branch hook declined)
error: failed to push some refs to 'github.com:ICCS-ISAC/Candy.git'

Would you please unlock the branch, and notify me, I will re-do the push.
I'll re-notify you when the push is done, and we will re-protect the branch, in the case if someone needs it still.
We sould be able to merge this PR afterward.


define Suspicion model

resolved: #41
details:

(image from hashicorp)
for dynamically determine suspect timeout created timer for suspect member.

no, the object who use this Suspicion struct would manage members
so I think the structure would be like this:
struct Memberlist {
    members []Member
    suspicions []Suspicion
}

I think Suspicion should be used in status of Member. Because Memeber has status and this could be Unknown, alive, suspected, dead.

I think Suspicion should be used in status of Member. Because Memeber has status and this could be Unknown, alive, suspected, dead.

But the suspicion is more related with timer not status.
I've commented on top of Suspicion struct. What Suspicion mainly do is calculate left Suspicion time, and manage suspicion time for each suspected member
// suspicion manages the suspect timer and helps to accelerate the timeout
``

I think we should talk more about this part.
Whether to suspicion and member management at the same time, or not

We decided to move the suspicion into the member.


Possibility to change ports

Is there a possibility to change the Opensearch service ports other than port 9200?
I've searched a lot for examples but couldn't find anything.

Hey @diegomx, there's not currently a way to set OpenSearch configuration, but you can fork and add '-E',  'http.port=9300',  to this line.


ParserFile: support values with equals signs

This PR allows the newly-supported options file which you can put in your project's folder to have values that include the equals sign character (=). Example: header=---=== Changelog ===---

Changed a spec which did not exercise the code.
Removed return values from the side-effecting parse! method.

Hi, thanks again.
Looks good! Short and self-descriptive methods.
I'm out of the my working PC this week. So, can't test your code.
But since all test are passed and it's improvement for your feature, you can merge it :wink: Just run rubocop -a before merge to fix minor syntax issues. :+1:

Yay, someone uses git push -f :bomb:
Ok, now you can merge it :)

(@dlanileonardo built the – very cool – feature, I only greased the gears a little.)
Thanks, I'll merge this, then.


I need an S3 Bucket :)

As part of the metrics work I need some storage.
All I need is a single S3 bucket that is the world readable and some credentials to write into it.
It really should be S3 because I'm also using some functions built with Zeit that end up getting deployed on Lambda, so it will be a lot faster if the whole thing is in S3.

All I need is a single S3 bucket that is the world readable

easy peasy

and some credentials to write into it.

more info needed. I'd love to not mint a long term IAM user for access to this bucket so it would be good to know if there's a way to provision an AWS resource with a role that can mint short(ish) term tokens for access to the bucket. By "deployed on Lambda" do you mean AWS Lambda? If so, how does Zeit handle an IAM role for Lambda? That would be the place to grant write access to the S3 bucket

If so, how does Zeit handle an IAM role for Lambda?

Zeit is provisioning in its own account and proxy billing me for it. Right now the load is light enough that this is just on my personal account.
We don't need to have an IAM role that Zeit knows about. I just need a token that I can use in the Lambda function which will access S3 like any other client would.
I just need something I can plug into the JS SDK, either an accessKey/secretKey or a credentials file. https://www.npmjs.com/package/aws-config

I've deployed node lambdas before and they require an execution role that has the privileges attached to it. All AWS SDKs know how to farm out to that role to mint short term credentials. Perhaps you can point me to the Zeit docs so I can see how they handle this?

Not sure, docs are here https://zeit.co/docs/
On Mon, Dec 10, 2018, 7:12 PM eefahy<EMAIL_ADDRESS>wrote:

I've deployed node lambdas before and they require an execution role
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-lambda.html
that has the privileges attached to it. All AWS SDKs know how to farm out
to that role to mint short term credentials. Perhaps you can point me to
the Zeit docs so I can see how they handle this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/infra/issues/462#issuecomment-446057056, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAACQ3_E6qj8OL3HbrUptJXFiinniiN6ks5u3yKXgaJpZM4ZMbyL
.

Bummer. They are obvs very engineered for stateless apps so I guess a user account with a minted key is what it needs to be. How long do you need this set up for? Is this a long or short term thing?

The metrics project is long term. We may find a better way to process this data in the future and be able to deprecate this solution but that's at least a year out.

Also, do you have a project name for this work? What should I call the bucket and/or username for access to it? Do you have a preferred region for the bucket?

thoughts?

Sorry, didn't see that, ipfs-metrics :)

I made the bucket and the user. Do you have access to any 1pass vaults?

Happy doing business with you!
Closed via https://github.com/protocol/ad-hoc-infra/pull/1


SOCKS proxy support

Coverage decreased (-1.57%) to 90.1% when pulling d29891d0eb8e0b8845b70e180dd96d0a2188166b on marthjod:master into b5f4f8a5bee724d25b2da12b072bfe81340ede56 on nmesstorff:master.


feat(experimental): Rating add new component

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Tests related changes
[ ] Documentation content changes

What is the current behaviour?
Closes #
What is the new behaviour?

Will you add an API page?


Support for unionOf(schemaMap)

Thanks for your cool module. We thought we would add support for a schema which is a union of multiple schemas. (https://github.com/gaearon/normalizr#unionofschemamap-options)
Let me or @cranberryofdoom know if you have any questions or comments!

Awesome, thank you a lot!


Allow the Keyboard Manager's 'Remap Keys' utility to be mapped as an 'App-specific shortcut'

Description of the new feature / enhancement
Requesting that App-specific capability be added to the 'Remap a key' function in the Power Toys Keyboard Manager.
Scenario when this would be used?
Say I want to assign the 'ESC' KEY to a "more convient" (to me) Physical Key as a 'shortuct' but only for, say, Photoshop for example...
...but only in PHOTOSHOP. Not for every app on my whole PC.
Can't do this currently.
...'App-specific shorcuts' currently only supports remapping a 'MODIFIER' + a '(Physical) KEY' as a COMBO. You can't Remap a 'Single (Physical) KEY' to another 'Single (Physical) KEY' for a SINGLE App, rather than GLOBALLY), which is what you get currently.
Requesting that App-specific capbility be added to the 'Remap a key' function in the Power Toys Keyboard Manager.
Thanks
Supporting information
No response

Probably bad etiquette, but I'm just here to say that I nearly created a duplicate for this ticket. I have a few media apps that don't respond to media play/pause so for those apps and those apps ONLY I need to remap media play/pause to something like spacebar.

/dup #6756


How can i change the Visual Studio 2019 IDE Navigator window size

I just want to read full name of an active file without dots. Is this possible to change default window size bigger then this?

My environment font size is 14

@serdarsen It looks like you have product feedback rather than documentation feedback.
If you are looking for functionality that isn’t currently provided by the product, please use our “Suggest a feature” option in the Visual Studio Developer Community. We’d be happy to have this on record, where others can view it and upvote it, too.
For more information about this works in the dev community, see our Suggest a feature page.

ok thank you @msebolt i'll do that way than.


Font styling

I want to work on font styling in this website to make it look attractive. I am a participant in GSSOC 21. Can you please assign it to me.

@chehak123  please provide some screenshots or videos.
so that we accept this issue under GSSoC'21

Hello I would like to contribute to it being a part of GSSOC, please assign me this issue


request help:  ssl每次添加SNI都要创建证书

Issue description
ssl每次添加SNI都要创建证书, 后期证书到期，修改麻烦， 是否能借鉴kong， SNI做成一个list?

please use English on the public channel.
Your suggestion is very good. Would you like to contribute PR this?

support multiple SNI for ssl object

Solved in https://github.com/apache/apisix/pull/1678


Write Unit Test for the whole game

Without tests how can we assure that changed codes didn't cause any malfunction to the system?
The bigger the game gets, the harder it's testing/debugging becomes.

https://letsmakeagame.net/unity-unit-testing-advanced-tutorial/


EurekaClient Bean initialization timing error

I'm using Eureka Client and RestTemplate to discover service.
The service name is ACCOUNT.
When I invoke restTemplate.getForObject, I encountered this Exception:
java.lang.IllegalStateException: No instances available for ACCOUNT

    at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:79)
    at org.springframework.cloud.client.loadbalancer.LoadBalancerInterceptor.intercept(LoadBalancerInterceptor.java:46)
    at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:85)
...

Here is my configuration:
@EnableDiscoveryClient
@SpringBootApplication
public class BaseApplication {

    @LoadBalanced
    @Bean
    RestTemplate restTemplate() {
        return new RestTemplate();
    }
}

So I tried to debug the source code, I found when DiscoveryEnabledNIWSServerList.obtainServersViaDiscovery invoked,  DiscoveryManager.getInstance()                 .getDiscoveryClient(); return null. The initialization code in EurekaClientAutoConfiguration was executed at last. It seems that the execution order was wrong.
After I put this code in my BaseApplication, everything goes well.
    @Bean(destroyMethod = "shutdown")
    @org.springframework.cloud.context.config.annotation.RefreshScope
    public EurekaClient eurekaClient(ApplicationInfoManager manager,
                                     EurekaClientConfig config,
                                     DiscoveryClient.DiscoveryClientOptionalArgs optionalArgs,
                                     ApplicationContext context) {
        manager.getInfo(); // force initialization
        return new CloudEurekaClient(manager, config, optionalArgs, context);
    }

spring-cloud-netflix version: 1.1.0.RELEASE

Can you provide a sample project that recreates the problem?

Hi @spencergibb .
I have created a project to reproduce the problem.
Please refer to the README.

Thanks for the sample. Unfortunately it isn't valid (yet):
$ mvn validate
No wrapper found, running native Maven
[INFO] Scanning for projects...
Downloading: http://repo.spring.io/repo/org/springframework/cloud/spring-cloud-starter-parent/Brixton.RELEASE/spring-cloud-starter-parent-Brixton.RELEASE.pom
Downloaded: http://repo.spring.io/repo/org/springframework/cloud/spring-cloud-starter-parent/Brixton.RELEASE/spring-cloud-starter-parent-Brixton.RELEASE.pom (5 KB at 7.5 KB/sec)
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.akkafun.mysteam:order-service:1.0-SNAPSHOT (/home/dsyer/dev/cloud/workspace/sunnykaka/order/pom.xml) has 1 error
[ERROR]     Child module /home/dsyer/dev/cloud/workspace/sunnykaka/order/api of /home/dsyer/dev/cloud/workspace/sunnykaka/order/pom.xml does not exist
[ERROR]
...

Do you think you could fix it and ping us back?

Hi @dsyer .
I have fix it. Please update and try again.

Sorry. I still can't build on the command line. Your "common" library has some issues with its pom I think.

@dsyer
Sorry I forget to remove the maven plugin in pom.xml.
It can build now.

I've just upgraded this example application to use BRIXTON and have started seeing this problem.
I get the impression that the error occurs the first time the RestTemplate is invoked.
Subsequent calls generally succeed although sometimes I see Hystrix timeouts.
The steps to reproduce (on Mac OSX with Docker compose installed) are:

Run ./build-and-test-all.sh
Run ./run-e2e-test.sh - this step should reproduce the problem

If you then run (cd e2e-test ; ./gradlew cleanTest test) directly it should succeed.

@sunnykaka I added an OrderApplication to your "order/core" (mirroring the AccountApplication) and ran all three apps. The /orders/place endpoint worked fine (the one that uses the ACCOUNT service in a load balanced rest template).
@cer the first time can always be too soon for the caches to have equalized (by default the heartbeat is only sent every 30sec and you need to register first and then get a heartbeat before the catalog cache is initialized). I don't think anything changed in Brixton, other than the eureka version (big changes internally, but the same basic protocol on the surface). I'll have a dig into your app as well if I can get past the platform issues.

@dsyer Perhaps what has changed is as well as upgrading to Brixton that I've added an automated test that runs the application (configured to use Eureka) and then immediately tests the UI.  The script waits for the target service to be registered with Eureka. The test also waits for  HealthIndicator that returns OK if and only if the EurekaClient in the web application can lookup the service. What are the platform issues that you refer to? Windows?!

Maybe the test should wait a bit longer. I'd have thought if the eureka client can see your service it should be fine though (you can dig that out of the standard /health endpoint BTW). It would be good to know if it works anyway.
By "platform" I meant MacOS, Docker, Scala, Gradle (all of which slow me down -- MacOS is the only one I don't have). That's not a complaint -- you can use whatever platforms you like, and the more the merrier, it's just friction for me trying it out. I did spend an hour with it today, but there's a step where Gradle says it might take "30 seconds" to launch a docker container and it never came back. I noticed a lot of files created by root, so I wondered if there were permission issues.

@dsyer
Yes, the placeOrder works fine in OrderApplication, but it can't work in junit test.
If you just run RegistrationServer and AccountApplication, then start OrderServiceTest,
you can see the exception.

It's not a unit test then. You are running a full end to end test with eureka from junit. I don't think that's really a good pattern to encourage. If you need to do that, then you should work out a way to wait for the service catalog caches to equalize before starting the test, I guess.

Yes, it's a integration test.
So, it's a service catalog cache problem because junit test run too fast?
I'll try it, thanks.

@sunnykaka is it still a problem with the latest release?

@marcingrzejszczak
It's work fine in F.release


Template rendering problem this parse int values defined in a vars configaration file.

I have template that looks like this:
{{ $i,$t := range until .Values.Count }}
  bla bla bla
 {{ end }}

And configuration like this vall.yaml:
Count: 3

Rendering template doesn't work because .Values.Count  parsed from yaml file as float64, but "until" function required int64.

Does using toInt64 work? range toInt64 .Values.Count | until

Function "toInt64" not defined. There is int64 function.
But It doesn't work.
{{range $i,$t := until (int64 .Values.count)}}
bla bla
{{end}

at <.Values.count>: wrong type for value; expected int; got int64

My not very good and not very short workaround:
{{range $i,$t := until (atoi (printf "%d" (int64 .Values.count)))}}
bla bla bla
{{end}}

It will be perfect to have "int" function like "int64".

I have added following pull request for it.
https://github.com/Masterminds/sprig/pull/19

I merged that into Sprig. I'll update Helm to the latest version of Sprig right after 2.0.0.


Handle sparse/dense uniformly for different kernels

https://github.com/neurostuff/NiMARE/blob/e0d7cf5dc939729d18c637f1d73ee694acdc6bac/nimare/meta/kernel.py#L202
This line is buggy, because only MKDA return a sparse matrix.
For ALE, this line returns a dense matrix.
In addition, it's worth thinking what we can do to speed things up, as going from data -> sparse then sparse -> costs time

Yes, in the PR where I introduced sparse arrays I only focused on MKDAChi2 to optimize the CorrelationDecoder. I forgot to mention that I left the other estimators for future PRs. I didn't want to tackle all of the estimators together in a single PR.
For MKDAChi2 estimator, the code will finish at that line since return_type == "sparse"; but, I agree this should be removed when all estimator supports sparse arrays.


[WIP] Update Dragonfly > v1.2.1

Dragonfly has fix resp3 issue with PUBSUB

Tested Dragonfly v1.2.0 - works for me without forcing RESP2.

It turns out that AlwaysRESP2 is still required for dragonfly <= v1.2.1 because it doesn't support HELLO AUTH: https://github.com/rueian/rueidis/issues/207
I have contributed to dragonfly https://github.com/dragonflydb/dragonfly/pull/1156 to support that. Hopefully, AlwaysRESP2 won't be necessary with newer versions.

Dragonfly 1.3.0 is out, however, we still can't use PUBSUB on it because there is an out-of-order issue: https://github.com/dragonflydb/dragonfly/issues/1245.

@rueian Is this fix now that the dragonfly issue was closed?

Hi @gaby, the dragonfly issue was closed but they haven't released it yet.

Hi @gaby, the dragonfly issue was closed but they haven't released it yet.

Thanks!


wiring esp32s3

hello, i need wiring diagram to esp32s3. thx
THIS ARE THE PINS THAT I USE:
SS: GPIO10
SCK: GPIO12
MISO: GPIO13
MOSI: GPIO11
im getting allways :
W (412) spi_flash: Detected size(16384k) larger than the size in the binary image header(8192k). Using the size in the binary image header.
E (5690) NFC_SETUP: Didn't find PN53x board
im doing something wrong? or is a bad pn532?

im getting allways :
E (5690) NFC_SETUP: Didn't find PN53x board

Yeah, those should be the right pins.
The aforementioned error has been prevalent and usually occurs due to connectivity issues (bad wires, bad contacts, long wires, etc.) or even a bad nfc board or IC(possibly not genuine IC).
Could you post logs from the start of the boot? to see if the right pins are initialized.

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0xa (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0xe68
load:0x403c9700,len:0xa14
load:0x403cc700,len:0x2d7c
entry 0x403c98d4
I (309) cpu_start: Multicore app
I (309) cpu_start: Pro cpu up.
I (309) cpu_start: Starting app cpu, entry point is 0x40376788
I (0) cpu_start: App cpu up.
I (327) cpu_start: Pro cpu start user code
I (327) cpu_start: cpu freq: 160000000
I (327) cpu_start: Application information:
I (329) cpu_start: Project name:     HomeKey-ESP32
I (335) cpu_start: App version:      v0.4.1
I (340) cpu_start: Compile time:     Oct 19 2024 17:04:41
I (346) cpu_start: ELF file SHA256:  4183b9e8041cc903...
I (352) cpu_start: ESP-IDF:          4.4.7
I (357) cpu_start: Min chip rev:     v0.0
I (361) cpu_start: Max chip rev:     v0.99
I (366) cpu_start: Chip rev:         v0.2
I (371) heap_init: Initializing. RAM available for dynamic allocation:
I (378) heap_init: At 3FCA28C8 len 00046E48 (283 KiB): D/IRAM
I (384) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM
I (391) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (397) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
I (405) spi_flash: detected chip: generic
I (409) spi_flash: flash io: dio
W (412) spi_flash: Detected size(16384k) larger than the size in the binary image header(8192k). Using the size in the binary image header.
I (450) gpio: GPIO[10]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (451) gpio: GPIO[12]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (458) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (468) gpio: GPIO[11]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (478) system_api: Base MAC address is not set
I (482) system_api: read default base MAC address from EFUSE
I (489) sleep: Configure to isolate all GPIO pins in sleep state
I (495) sleep: Enable automatic switching of GPIO sleep configuration
I (502) cpu_start: Starting schedule2 oI (38) SETUP: setup > Reader Data loaded from NVS
I (52) SETUP: setup > MQTT Config loaded from NVS
I (63) SETUP: setup > Misc Config loaded from NVS
Listing directory: /
  FILE: actions.html    SIZE: 11534
  DIR : assets
  FILE: index.html      SIZE: 5790
  FILE: info.html       SIZE: 202
  FILE: misc.html       SIZE: 8623
  FILE: mqtt.html       SIZE: 10232
I (112) SETUP: setup > READER GROUP ID (8): 7642AAF012EE189E
I (112) SETUP: setup > READER UNIQUE ID (8): E31ACB8F1E775C31
I (116) SETUP: setup > HOMEKEY ISSUERS: 5

today i recived the esp32c3 and is working... so something is wrong with the flash for esp32s3 i suspect the gpio pins are wrong.


Make HKDropdown work in Firefox (and older browsers)

What happened?
When FF users tried to close the "rotate credential" dropdown menu by clicking outside, they got an ugly error in their console.
TypeError: e.path is undefined[Learn More] bundle.608046422ea4d96848a5.min.js:65:67980
t/t.handleClose

This happened because I'm a lazy developer and pretend there is only one browser, and one browser only: Google Chrome.
Diagnosis
The event object doesn't have a path property in Firefox. The hivemind suggested using event.composedPath() instead (https://stackoverflow.com/a/39245638).
I added an extra guard in there, too, such that if we can't detect path via the object property or the composedPath method, we just hide the dropdown menu.
Related Issue
https://trello.com/c/SgEsOB2v/129-error-when-attempting-to-rotate-credentials

@uhoh-itsmaciek If you're having trouble understanding this code path, then I haven't done a good job of writing clear code to express what's going on here. Let me try to break it down.
What's tricky about this interaction pattern is that there are two ways to close the dropdown once it's open.

By clicking outside the dropdown menu, thereby trigging handleClose(). Easy peasy.
By clicking the dropdown menu button again, thereby trigging BOTH handleClose() and then handleDropdown() 😱

The verbosity of handleClose() hence comes from trying to handle that second case.
Note that if you omit the conditional logic inside of that function (which tries to detect what element you clicked), you end up in the following nasty loop.
handleClose = () => {
  // Sans conditional logic
  this.setState({
    showDropdown: false
  })
}

Alrighty, let me set showDropdown to false.

So, the event.path stuff was a means of determining whether you clicked on the dropdown menu button, and short-circuiting so that we don't end up in the loop.

@mattrothenberg got it, thanks for the awesome explanation. That makes sense: maybe we can add a comment saying "when closing by clicking on the menu button again, both this handler and handleDropdown fire: make sure we avoid competing with it in that case."


Fix sample selection to not always use first index

Currently, go-torch always uses the first sample it finds in the
profile. With 1.8, memory profiles always have inuse/alloc so we
need to select the right sample, otherwise we're always showing
alloc.
This allows allows selection of a custom sample using sample_index
for non-memory profiles.
Fixes #52.

Coverage increased (+0.3%) to 95.431% when pulling f7d494d37662436cd40ebf736865c2ddda9fcb2c on sample_selection into 1e8874b81576ecbc20c6506047020bfa596017ba on master.

The glide.yaml needed to be updated (to include the require subpackage), and to get that picked up in glide.lock, I had to regenerate the whole file. Really wish it was possible to just touch a single dependency!

Coverage increased (+0.3%) to 95.431% when pulling df43f8cb9a16d373fc7a24a4ccf32ec96610ac8c on sample_selection into 1e8874b81576ecbc20c6506047020bfa596017ba on master.

Coverage increased (+0.3%) to 95.431% when pulling df43f8cb9a16d373fc7a24a4ccf32ec96610ac8c on sample_selection into 1e8874b81576ecbc20c6506047020bfa596017ba on master.

Coverage increased (+0.3%) to 95.431% when pulling df43f8cb9a16d373fc7a24a4ccf32ec96610ac8c on sample_selection into 1e8874b81576ecbc20c6506047020bfa596017ba on master.

Coverage increased (+0.3%) to 95.431% when pulling df43f8cb9a16d373fc7a24a4ccf32ec96610ac8c on sample_selection into 1e8874b81576ecbc20c6506047020bfa596017ba on master.


Can I specify the GPU id?

Hi!
I successfully run the code and get good result, but I am afraid the code is executed all by CPU
And I do have more than one GPUs on the machine.
May I ask How I can run the code with the help of GPU?

You should use the tensorflow GPU version.  I don't have a multi GPU machine, but uou can specify CUDA_VISIBLE_DEVICES to set which GPU to use.


Add MapSwaggerUI for endpoint routing

fixes #2061
fixes #1726
alternative to #2266
Has the exact same behavior with regard to options as the UseSwaggerUI overload with setupAction. That is it loads any SwaggerUIOptions provided via DI and applies the same defaults as said UseSwaggerUI overload.
Comparing it to MapSwagger the main difference is the avoidance of yet another options type. Which is, as far as I can tell a straight copy of the original one. What was the rationale behind that design?

@domaindrivendev did you get a chance to review this yet? Is there something missing?

Just came here to post the request exact same change. Any chance this get merged? @domaindrivendev

Thanks for contributing - if you'd like to continue with this pull request, please rebase against the default branch to pick up our new CI. Could we also get some tests?


test PR with Github API

Please pull this in!

Docs Build status updates of commit b7cf922:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Trackpad randomly jumps cursor

Bug
Trackpad is very slow, and un-responsive, difficult for tap to touch, while scrolling sometime the cursors is jumped
Configuration

Opencore
Thinkpad x1 carbon 7th gen with IceLake CPU
Extension:

VoodooI2C
VoodooInput
VoodooPS2Controller
VoodooRMI

Awesome. Before I can start helping I am going to need the following things.

Your exact model number
Your EFI
Answers to the following quesitons
3a. Does the jumping go away when you simply press down firmer on the trackpad
3b. Have you disabled force touch in VooodooRMI (or I2C, forget which kext it's in)
3c. Is your trackpad detected as a builtin one within System Preferences
Once I've got those I can start helping diagnosing.

X1 Carbon 7th Gen - (Type 20R1, 20R2) Laptop (ThinkPad) - Type 20R1 ( Mine is 20R1)
EFI repo
3a. Yes but it means that I have to firmly touch the trackpad to move cursor, point or scroll
3b. No I have not disabled forcetouch
3c. Yes

Great. I'll take a look at your EFI now. It's probably something forcetouch related.

Replace your VoodooRMI.kext with ours and see if it helps.
In Kexts/VoodooRMI.kext (Show package contents)/Info.plist
We've disabled ForceTouchEmulation and I remember tuning some of the FingerMajorMinor and ThumbDetection things to better fit the smaller trackpad.

I have the same laptop as @huyhoang8398 and I don't seem to be having the same issues with the trackpad. I have experienced other issues though:

Fast moments are not registered (swiping quickly using the trackpad leads to the cursor not moving)
tapping and double tapping is unreliable (buttons work fine, touch tapping is the issue)

other than those two issues, everything on my trackpad works fine including gestures and general movement

Thanks @muhchaudhary.
There are two things here.

@huyhoang8398, I believe you are using a different EFI while @muhchaudhary is using our verbatim provided one with his small modification. @huyhoang8398 Please use our identical EFI with @muhchaudhary 's modifications (see #4) and see if that improves your situation.
In troubleshooting myself some time ago I learned that the behavior of the trackpad under VooDoo is simply imperfect even at its best. Nothing is exactly going to compare to the real deal from apple. I also realized that as I started using my own X1C7 I learned the peculiar things about the trackpad and my general discomfort using it literally disappeared as I learned to tap and drag a bit more forcefully. What's so hard about debugging is that I can't sit right next to you and do a side by side comparison to the 'working known good' and your X1C7s, but take that into mind when considering whether or not there's an actual bug. Absolutely not saying that this issue doesn't exist, but this is a difficult to quantify feeling-based issue.

I think I have the exact same issue on my 20QD0000US. In fact, I've noticed the exact same issue on OpenBSD (though much less frequently). In both OpenBSD and macOS when I push down the trackpad harder it will move but it's still pretty useless since that's a click

It's much worse on macOS though so I wouldn't say it's the exact same issue.

Update: Trackpad is basically perfect after removing VoodooRMI. I think I found it unnecessary on my old EFI attempt too. I suggest anyone facing issues try the same

There is an issue with normal push clicks on the touchpad being registered as force clicks. Just disable force clicking for a fix (other settings I changed were enabling tap to click and changing natural scrolling)

@sreehax  - excellent news! I will add your solution in our README. Thank you so much for fixing this.
@muhchaudhary @huyhoang8398 I am going to close this issue but please feel free to reopen this issue if @sreehax 's fix does not work.

Reponeing this. I was away from my X1C7 for a short while and coming back made me realize there was skipping than I had previously though was happening.
Will report back with removing VoodooRMI

Yup. Disabling VoodooRMI massively improved trackpad responsiveness and overall feel. For the sake of documentation, I'm going to write my before/after notes below and close the issue. May comment on voodooRMI repo to see what's going on.
 Smallest finger surface areas are now detected.

@sreehax @huyhoang8398 Thank you both for being on top of this issue and especially @sreehax  for finding the solution. I will disable voodooRMI in the config plist and remove it from the EFI.

Disabling voodooRMI and using PS2 and I2C works great on my x1c7 20R


Remove release-specific information from TestKit documentation

Merging it to release as it is a documentation-only change.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Incorrect default value for BRANCH in readme

The readme states the following about BRANCH:

BRANCH:

description: The branch to deploy when pushing to Dokku
required: false
default: ''master

The default value for BRANCH is not 'master'. It is the branch which triggers the CI pipeline.

No, that should be CI_BRANCH_NAME. Regardless, we had the wrong default for BRANCH, so I fixed that.

Got bitten by a similar misunderstanding… I expected the default to be the checked out branch, not some hard coded one.


Add option to collapse navbar

For large projects, the generation of non-collapsed navbar is frequently a reason for long build periods.
Motivated by the current option available in other themes, like sphinx-book-theme, this patch includes the 'collapse_navbar' option to the theme configuration.

Hey @pradyunsg :wave:
I was trying to implement this with a simple approach, but because the context defined in __init__.py cannot be acceded from the html templates, I was unable to call the furo_navigation_tree with the collapse option.
Naively, I tried to have both function as well defined in the context:
context["furo_navigation_tree"] = _compute_navigation_tree(context)
context["furo_navigation_tree_collapsed"] = _compute_navigation_tree(context, collapse=True)

but of course, that was generating both trees rather than the option selected, so there was no improvement.
The motivation comes from the Qt for Python project, which you might remember uses furo, where we have around 2500 rst files, so with this the sphinx-build process was reduced from 20 minutes, so 2 minutes.
If you believe there is a simpler way to achieve this, I can happily modify the PR :)
Thanks for your time.

See https://github.com/pradyunsg/furo/pull/674 for a similar PR and discussion about this topic, including how the Pydata theme recently sped things up in https://github.com/pydata/pydata-sphinx-theme/pull/1609.

Thanks for the insights @Eric-Arellano :tada: I was following a similar topic from sphinx-book-theme https://github.com/executablebooks/sphinx-book-theme/issues/561 to get the idea for this flag.
At least at the moment we are using this variation and it works well with our documentation process, the speed up is considerable.


WIP:Precision lattice

I am just showing this for our archives ^^
I tried implementing a version, where f_i is centered around 0 rather than w_i
This ought to help numerical precision. It may be that I made a mistake or that the computation of the equilibrium needs to be improved in order for this change to be effective.
The "PrecisionLattice" and "Lattice" perform similar in double precision. In single precision, the recentered version is better in terms of pressure but WORSE in terms of velocity.
.... so: I'll leave this here for now but will delete the branch at some point.
Here are the numbers (on CUDA):

lettuce -p single convergence

     resolution       error (u)       order (u)       error (p)       order (p)
             16        3.04e-02             0.0        2.24e-02             0.0
             32        6.83e-03             2.2        9.81e-03             1.1
             64        1.52e-03             2.2        4.73e-03             1.0
            128        3.54e-04             2.2        3.48e-03             0.7
            256        9.14e-05             1.9        2.28e-02             0.1

lettuce -p single convergence --f-recentered

     resolution       error (u)       order (u)       error (p)       order (p)
             16        3.04e-02             0.0        2.24e-02             0.0
             32        6.83e-03             2.2        9.80e-03             1.1
             64        1.52e-03             2.2        4.72e-03             1.0
            128        3.72e-04             2.0        2.76e-03             0.9
            256        1.53e-04             1.2        1.42e-02             0.1

Hello @Olllom! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file lettuce/cli.py:

Line 18:80: E501 line too long (84 > 79 characters)
Line 100:80: E501 line too long (116 > 79 characters)

In the file lettuce/collision.py:

Line 30:80: E501 line too long (80 > 79 characters)
Line 101:80: E501 line too long (111 > 79 characters)
Line 160:80: E501 line too long (94 > 79 characters)
Line 252:80: E501 line too long (94 > 79 characters)

In the file lettuce/equilibrium.py:

Line 36:42: E201 whitespace after '('
Line 60:1: W391 blank line at end of file

In the file lettuce/lattices.py:

Line 137:80: E501 line too long (110 > 79 characters)

In the file tests/conftest.py:

Line 10:80: E501 line too long (84 > 79 characters)

I am closing this with a reference to https://arxiv.org/abs/2112.08926 for further reading on half-precision LBM.
Without custom data types, just recentering the distribution values does not improve the situation.


fedora repository disabled by dnf

I followed the installation instructions and run the script.rpm.sh to install the repo, however dnf disables it:
dnf search telepresence
Failed to synchronize cache for repo 'datawireio_telepresence', disabling.
Failed to synchronize cache for repo 'datawireio_telepresence-source', disabling.
Last metadata expiration check: 0:02:02 ago on Wed 25 Apr 2018 01:20:22 PM EDT.
No matches found.

It turns out that the repo metadata is missing from the repository:
dnf --verbose search telepresence
...
Cannot download 'https://packagecloud.io/datawireio/telepresence/fedora/27/x86_64': repomd.xml GPG signature verification error: gpgme_op_verify() error: General error.
Cannot download 'https://packagecloud.io/datawireio/telepresence/fedora/27/SRPMS': repomd.xml GPG signature verification error: gpgme_op_verify() error: General error.
...
code: using metadata from Fri 13 Apr 2018 07:43:59 PM EDT.
Failed to synchronize cache for repo 'datawireio_telepresence', disabling.
Failed to synchronize cache for repo 'datawireio_telepresence-source', disabling.
Last metadata expiration check: 0:04:58 ago on Wed 25 Apr 2018 01:20:22 PM EDT.
Searching Packages:
No matches found.

I tried to search the repo for the repomd.xml file but it seems to be missing.
There is more information on the files which are needed in this blog post: https://blog.packagecloud.io/eng/2015/07/20/yum-repository-internals/#yum-repository-metadata

Still doesn't work for me...
+ main
+ detect_os
+ [[ -z '' ]]
+ [[ -z '' ]]
+ '[' -e /etc/os-release ']'
+ . /etc/os-release
++ NAME=Fedora
++ VERSION='27 (Workstation Edition)'
++ ID=fedora
++ VERSION_ID=27
++ PRETTY_NAME='Fedora 27 (Workstation Edition)'
++ ANSI_COLOR='0;34'
++ CPE_NAME=cpe:/o:fedoraproject:fedora:27
++ HOME_URL=https://fedoraproject.org/
++ SUPPORT_URL=https://fedoraproject.org/wiki/Communicating_and_getting_help
++ BUG_REPORT_URL=https://bugzilla.redhat.com/
++ REDHAT_BUGZILLA_PRODUCT=Fedora
++ REDHAT_BUGZILLA_PRODUCT_VERSION=27
++ REDHAT_SUPPORT_PRODUCT=Fedora
++ REDHAT_SUPPORT_PRODUCT_VERSION=27
++ PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
++ VARIANT='Workstation Edition'
++ VARIANT_ID=workstation
+ os=fedora
+ '[' fedora = poky ']'
+ '[' fedora = sles ']'
+ '[' fedora = opensuse ']'
++ echo 27
++ awk -F . '{ print $1 }'
+ dist=27
+ [[ -z fedora ]]
+ [[ -z 27 ]]
+ os=fedora
+ dist=27
+ echo 'Detected operating system as fedora/27.'
Detected operating system as fedora/27.
+ curl_check
+ echo 'Checking for curl...'
Checking for curl...
+ command -v curl
+ echo 'Detected curl...'
Detected curl...
+ yum_repo_config_url='https://packagecloud.io/install/repositories/datawireio/telepresence/config_file.repo?os=fedora&dist=27&source=script'
+ '[' fedora = sles ']'
+ '[' fedora = opensuse ']'
+ yum_repo_path=/etc/yum.repos.d/datawireio_telepresence.repo
+ echo 'Downloading repository file: https://packagecloud.io/install/repositories/datawireio/telepresence/config_file.repo?os=fedora&dist=27&source=script'
Downloading repository file: https://packagecloud.io/install/repositories/datawireio/telepresence/config_file.repo?os=fedora&dist=27&source=script
+ curl -sSf 'https://packagecloud.io/install/repositories/datawireio/telepresence/config_file.repo?os=fedora&dist=27&source=script'
+ curl_exit_code=0
+ '[' 0 = 22 ']'
+ '[' 0 = 35 -o 0 = 60 ']'
+ '[' 0 -gt 0 ']'
+ echo done.
done.
+ '[' fedora = sles ']'
+ '[' fedora = opensuse ']'
+ finalize_yum_repo
+ echo 'Installing pygpgme to verify GPG signatures...'
Installing pygpgme to verify GPG signatures...
+ yum install -y pygpgme --disablerepo=datawireio_telepresence
Failed to synchronize cache for repo 'datawireio_telepresence-source', disabling.
Last metadata expiration check: 0:00:00 ago on Thu 26 Apr 2018 01:47:08 PM EDT.
Package python2-pygpgme-0.3-25.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
++ rpm -qa
++ grep -qw pygpgme
+ pypgpme_check=
+ '[' 0 '!=' 0 ']'
+ echo 'Installing yum-utils...'
Installing yum-utils...
+ yum install -y yum-utils --disablerepo=datawireio_telepresence
Failed to synchronize cache for repo 'datawireio_telepresence-source', disabling.
Last metadata expiration check: 0:00:04 ago on Thu 26 Apr 2018 01:47:08 PM EDT.
Package yum-utils-1.1.31-513.fc27.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
++ rpm -qa
++ grep -qw yum-utils
+ yum_utils_check=
+ '[' 0 '!=' 0 ']'
+ echo 'Generating yum cache for datawireio_telepresence...'
Generating yum cache for datawireio_telepresence...
+ yum -q makecache -y '--disablerepo=*' --enablerepo=datawireio_telepresence
+ echo

+ echo 'The repository is setup! You can now install packages.'
The repository is setup! You can now install packages.

# dnf repolist
Failed to synchronize cache for repo 'datawireio_telepresence', disabling.
Failed to synchronize cache for repo 'datawireio_telepresence-source', disabling.
Last metadata expiration check: 0:01:54 ago on Thu 26 Apr 2018 01:56:39 PM EDT.

OK, so it seems there was some problem with gpgme, because I just got an upgrade which I applied via dnf upgrade to gpgme-1.10.0-4.fc27.x86_64.rpm made it work.
Thanks for taking the time to look into it.

I'm glad you're up and running. There seems to be an growing need for an alternate install path that involves curling a binary blob. But that's for another issue...


Network connection proxy settings and plugins  are reset after each upgrade

Description
All settings in Preference -> General -> General Connections lost and are reset after each upgrade.
Also, the plug-in installed from 3rd party sources lost after each upgrade.
DBeaver Version
Community <IP_ADDRESS>209051344
Operating System
Windows 10 Enterprise 20H2
Database and driver
No response
Steps to reproduce

Make some changes in 'Preference' -> 'General' -> 'Network Connections', such as adding a line of 'proxy bypass'.

When the new version prompt pop out, choose upgrade, and make sure to deselect 'reset settings'

Check Network Connection settings after upgrade, all changes are reset.

Install Eclipse plug in Vrapper using instructions from https://shehuawwal.com/installing-vim-extension-module-for-dbeaver-with-vrapper/.

upgrade when prompted

The Vrapper disappeared after upgrade.

Additional context
No response

thanks for the report.
proxy issue will be resolved in #16215
issue with plugins - #5317


add proper IndexScaNN instantiation during Faiss deserialization

related issue: #149
/kind improvement

/retest

/lgtm

we could close this pr since #156 be merged.


DB Model - User preferences

Is your feature request related to a problem? Please describe.
As a regular user of PCM, I want to save my preferences.
Describe the solution you'd like
There should be a DB model for User preferences (One to One relationship) with properties:

[ ] userId (UUID)
[ ] practiceGoal (Number 1-4)
[ ] why (Text field of why they are here)

The UserService should be appended to include:

[ ] An updatePreferences method to set the user's preferences.

Additional context

This model will be used by the updatePreferences mutation

@tristanMatthias , I feel that I can take this task. It may take a little bit longer time for me to do it since I will do it while learning.

Ok no problems. I'll team you up with @quimgv to help guide you through this process.


[Bug]: [eslint] Plugin "react" was conflicted between "package.json

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview

First time setting up react application on my device and i try to run for the first time and i get this error

[eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\user\Documents\ReactJS\first-app\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\user\Documents\ReactJS\first-app\node_modules\eslint-config-react-app\base.js".
Expected Behavior

eslint-plugin-react version
7.32.2
eslint version
8.39.0
node version
20.0.0

CRA is largely deprecated and can’t be fixed without ejecting. You’ll have to eject, or install the version that it wants.


Password rest

System information:

Operating system (distribution) and version
DBeaver version :21.2.5
Java version
Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:  RESET password for Prod environment .
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

Hello @Ipsita503178922,
Can you please provide more information about your issue? Thanks.

I need to reset my password . how do i do that?

Hello @Ipsita503178922
Please tell me, what kind of password are you want to restore? Database connection password? DBeaver master-password? Or something else?

database  connection password.

What database do you use?

There have been no updates for a long time. If it is still actual - feel free to reopen the issue


feat: cross-val-score and k-fold implemented

Cross validation is not just crucial to machine learning itself. It is also useful to validate machine learning model implementations. This PR aims to add support for basic k-fold cross validation.

@DirkToewe is this ready for review? I need some these class in order to implement GridSearch

It is ... I hope :smile:

Most issues should be resolved now, except for the [X, y] issue... I thing I'm gonna sleep on that one. Maybe I can come up with a better solution. Suggestions are welcome.

@DirkToewe this is amazing work. I love the attention to detail 😄 I put my notes into the PR mostly about cleaning this or that, but I wanted to talk through the crossValScore api here. You mention above that there are really two cases that we want to support. The unsupervised, supervised call to crossValScore.
So the two basic calls are just
crossValScore(clf, X, y, params) and crossValScore(clf, X, params)
Why can't we just look at the third argument to decide if they passed a Scikit1D or not? Maybe this is more complicated than I'm understanding but we just have to check that isScikit1D(y) is true or not, right? That func exists in the utils, I think. And if that function call returns false, then we assume that it is a parameter object. I call this solution option 1 below.
I'm not immune to the downsides of this approach which are basically the Typescript type is strange for that variable. I think it would be like clf -> Estimator X -> Scikit2D y -> optional Scikit1D | paramObject params -> optional paramObject
I still think that is better than packing them into a [X, y] array because there is no precedent for that on the sklearn side.
Another approach would be to "mandate" that the third argument is a Scikit1D, and just explicitly pass undefined there if we need to set the param object. I call this approach option 2. Function calls would like look
crossValScore(clf, X, undefined, { groups: ... })

Basically my vote is that we don't pack into an array, and either do option 1 or 2 above.

Possible solution to this here: https://github.com/javascriptdata/scikit.js/pull/186#discussion_r786446628


Add dialog to reload on service crash

Provides a means for users to gracefully handle a native <webview> crash.
Description
Add handler for crashed <webview> and prompt user to reload the service.
Motivation and Context
Until #72 is addressed by electron, reloading a crashed service is a temporary solution. This will also be usable for future electron-related crashes.
How Has This Been Tested?
Reproduce crash on #72, and reload on prompt. Tested on OSX High Sierra.
Screenshots (if appropriate):
Types of changes

[x] New feature (non-breaking change which adds functionality)

@dannyqiu thanks for taking the time to do this.
I won't merge this for now as I think that a dialog is very intrusive and will prevent any user input from any other service that might have focus until you close the dialog. Even though a crashing webview is bad I believe that UX should always have the highest priority.
I would rather add a generic crash notification component that will be inserted in to the crashed tab container. I will craft something when I'm done with the beta 12 improvements and will add this to this PR.


Slower if the ROI Manager is not empty

fom forum post "the ROI Manager window is open and already contains many ROIs it takes 5-10 times longer"

The latest version should fix this. See https://github.com/BIOP/ijp-LaRoMe/pull/17 and https://github.com/BIOP/ijp-LaRoMe/pull/16


about training the RIFE_HDv2

hello , I  train the RIFE_HD successfully ,but training RIFE_HDv2 failed. the optical flow labels is produced by  liteflownet with  Vimeo90K dataset.
to train RIFE_HDv2, I use " 3e-4*mul" in function "get_learning_rate",    batch size 16, and loss "loss_G = loss_l1 + loss_cons + loss_ter" ,  optimG "weight_decay=1e-5"
Is there anything else to pay special attention to？
it is a little difficult to converge because the output of flownet is four channels？

Hi, I set weight_decay=1e-3 and it should be more stable.
If it can still not converge, please set get_learning_rate to "1e-4*mul".


Popup for survey

@MortenHofft, as previously discussed we need to recruit respondents for a survey. I don't have the final link to the survey, but we should get started anyway. My inspiration is what Aarstiderne have on their site.

I would like something very similar, like this:

We are imagining that this will appear when visiting a page under /occurrence/ after 10 seconds.

How does this sound? Anything I haven't thought about?

For the styling, I'd go with something similar to what we have already in place for the cookies.
Something like this

Yes, please.

This is the final link, btw: https://surveyapac.deloitte.com/jfe/form/SV_23JpuX4LK0ofHim

Just to be clear, @thomasstjerne —the agreed text is in Daniel's comment— @javiesgm was just mocking up something!

There has been enough respondants. Remove the survey again.


Expose Function in web request mgt

Hello
Does anyone here have experience with the HttpClient object combined with a certificate for connecting the BC SaaS to 3th party software?
There is only 1 article that i found: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpclient/httpclient-addcertificate-method
Here it says that we can use this function to add the Base64 certificate to the HTTPClient, when i do this and actually send the response (with the HttpClient.Send method) i get 'An error occured while sending the request'. When i send the same call with Postman i get a proper response.
I've tried this function with the optional "password" parameter but the result is the same.
If i use the OpenSSL tool to verify this certificate everything seems valid.
When i publish this extension on a local environment of BC160 CU1 i get the same error message but there is some logging in the event viewer:
"The request was aborted: Could not create SSL/TLS secure channel."
In the Web Request Mgt codeunit there is a function (scope = OnPrem) to enable TLS1.12 but since this app will be used for the cloud environment, this not an option.
The ideal scenario would be that this functionality was added to the HttpClient object, if this is not possible, can you expose the functions in de Web Request Mgt codeunit so we can use it for cloud development?
Thanks in advance!

You can ignore this issue, i fixed this by encoding this certificate to base64. I tought the certificate already as base64 encoded.


fv3fit: Fix dropped derived outputs bug

This fixes a bug in DerivedModel that dropped derived outputs if an existing DerivedModel was wrapped again in a DerivedModel (this can happen in the offline diags, which add Q2 as a derived output).
Added a test for this.

if there are other approaches we could take—like just updating the list of derived variables instead of wrapping the model in a whole new one

Effectively that is what it does (well, it was supposed to, now it actually does that). My thinking behind the wrapping is that the DerivedModel is itself a Predictor and the model that it wraps is a Predictor, so it seemed like DerivedModel(some_derived_model) should be allowed. If you think the API should be clearer, we could add a method like new_derived_model = some_derived_model.add_derived_outputs(...) which could get used in the wrapping case as well.


New provider

This is a new version of the provider for the HTCondor CE.  Note that as the HTCondor CE is a new(ish) service, GLUE 1.3 publication is not required. This provider is a stripped down version that should suit the needs of Alice and LHCb.

I have addressed your comments and made the changes as suggested. I did not address the packaging. I anticipate that this provider should replace the existing one.

Apologies for my ignorance, but is there a connection to https://github.com/opensciencegrid/htcondor-ce/blob/master/src/bdii/condor_ce_bdii_generate_glue2.py ? Many lines seem very similar, especially the templates.

I have addressed all the comments. Yes this provider is an evolution of condor_ce_bdii_generate_glue2.py. Note that GLUE 1.3 is not required for the HTCondor CE.