Use of selected() function

Hi,
I'm trying to use pc.selected() to return all data within brush extents ("1d-axes"). For example,
var pc = ParCoords()("#example")
  .data([
    [0,-0,0,0,0,1],
    [1,-1,1,2,1,1],
    [2,-2,4,4,0.5,1],
    [3,-3,9,6,0.33,1],
    [4,-4,16,8,0.25,1]
  ])
  .alpha(0.4)
  .render()
  .shadows()
  .reorderable()
  .brushMode("1D-axes");  // enable brushing
  .on("brushend", function(brushed) {

    console.log(pc.selected());

  });

However, I get a "TypeError: pc.selected is not a function"
Am I using this function correctly? If not, how else could I obtain all data within the brush extents as an array? Apologies if the solution is obvious, I'm still new to Javascript. Thanks!

Hi Josh,
There is no selected function. To get data within brush extents, you may use:
.on("brushend", function(brushed) {
    console.log(brushed);
   // or
   console.log(pc.brushed());
  });

Please never worry about your Javascript skills (How can a man know everything?) You're always welcomed to submit issues here.

Thanks for the quick reply!
My issue with that method is I'm using pc.brushed(new_array) to manually edit what is brushed, and I need a separate method to simultaneously obtain what is actually in the brush extents.
On line 167 of parcoords.js I'm seeing:
// data within extents
var selected = function selected(state, config, brushGroup)

and on line 3092 as a part of the ParCoords function:
pc.selected = selected$4(config);

There is also a file for this selected function in the api folder.
This selected function is part of what makes pc.brushed() possible correct? Is it the case that it's just not available in the general api? If so, could it be made usable? Cheers!

This is indeed a bug. pc.selected() now has been exposed as api.
Version 2.1.0 has been released with the bug-fix.
pc.brushed can be used in two ways:
pc.brushed(...) // called with arguments, will manually *set* brush
pc.brushed() // without any argument, will get *brush* extents

This is a dream come true! The only thing I'm noticing here is that pc.selected() will return the entire data set when no axes are brushed. Since nothing is actually selected, wouldn't we want to return an empty array in this case?

Another strange thing happens when working with two ParCoords variables:
       var pc1 = ParCoords()("#plot01")
            .alpha(0.4)
        var pc2 = ParCoords()("#plot02")
            .alpha(0.4)

        // load csv file and create the chart
        d3.csv('data/cars.csv').then(function(data) {
            pc1
                .data(data)
                .hideAxis(["name"])
                .composite("darker")
                .render()
                .shadows()
                .reorderable()
                .brushMode("1D-axes")  // enable brushing
                .on("brushend", function(){
                  console.log(pc1.selected());
                  console.log(pc2.selected());
                });

            pc2
                .data(data)
                .hideAxis(["name"])
                .composite("darker")
                .render()
                .shadows()
                .reorderable()
                .brushMode("1D-axes")  // enable brushing
                .on("brushend", function(){
                  console.log(pc1.selected());
                  console.log(pc2.selected());
                });
        });

        d3.select('#brushReset').on('click', function () {
            pc1.brushReset();
            pc2.brushReset();

        });

The two plots seem to be linked, in that console.log(pc1.selected()) and console.log(pc2.selected()) always return the same data even when brushes are different between plots. Could this be because of the way I'm loading the data?
Interestingly, you must also click the brushReset button twice in order for both plots to refresh.

2.1.1 has been released with the selected api.
However, there are still bugs unsolved in this conversion. The remaining bugs will be fixed in further releases.

The two more bugs that you've found are tracked in:

#21 Two parcoords instances are linked
#22  When no brushes are applied, selected() should return empty data other than entire data set


Fix NaN values on trade orders

This PR handles UI NaN values while data is being retrieved (by replacing NaN with '--' in order table).
Currently trade orders looks like this while data is loading:

PR replaces NaN values with the following placeholders:

Please note: The pre commit eslint hook is throwing errors for me as there doesn't appear to be a linting config file in the repo, so I've had to bypass the lint and commit with --no-verify, however I have tried to follow the existing file formatting.

Thank you


when will the code be released?

Hi,
This is an interesting work, and when will this code be released?

Hi, Thanks for your interest in our work.
The code will be released in this weekend. I will let you know when the code comes.

Sorry, I still have some bugs to work out. I will fix them as soon as possible.
Sorry again.

That's ok, thanks for your reply.
Shizhen Zhao @.***> 于2022年11月20日周日 18:34写道：

Sorry, I still have some bugs to work out. I will fix them as soon as
possible.
Sorry again.
—
Reply to this email directly, view it on GitHub
https://github.com/CVMI-Lab/FS3D/issues/1#issuecomment-1321093917, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUPUUKBZWSXVM5COFPLIALWJH5CFANCNFSM6AAAAAASEANC3A
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


AG grid theme changes

Replaced borders (which was a bit hacked - had to give transparent border to avoid content shifting) to outlines

/release-pr

remove commented code + changeset

whoops sorry, been a while since i did this stuff and forgot to check - done

Some visual regression  between cell and header vertical alignment

Some visual regression between cell and header vertical alignment

I believe this is ok, from what I see its the 2px border on cells have been removed so everything is slightly shifted relatively to not needing that anymore


added editorConfig support

We should add .editorconfig file to define consistent coding style.
Refer here

Hi @mrdivyansh, thanks for the PR but I cannot merge it for the same reason I closed many other pull requests in the spirit of keeping this project really simple and clutter-free.


Fixed problems with inline specification

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
Download and build my private mvs repository, then run verify_coin.sh
Related PRs

@bors-libra r=shazqadeer

:pushpin: Commit 484c7de has been approved by shazqadeer

:hourglass: Testing commit 484c7deba7d192e1ae448766fb681fbe66fe3515 with merge 018be4fcbe4e4dc9c862609d893d9c8a1b7a5e32...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: shazqadeer
Pushing 018be4fcbe4e4dc9c862609d893d9c8a1b7a5e32 to master...


feat: add additionalProperties prop to WorkOrderCell

Add additionalProperties prop to ´WorkOrderCell´

@Jonas-Omdal is looking into the needs of the Work Orders app when it comes to the work order cell. I think he'll make sure it covers all their needs in that regard. Closing this PR as stale / irrelevant


Google Cloud Diagnostics ASP.NET Core Logging Integration Tests

@evildour If you have some spare bandwidth and don't mind taking a look at this could you? Thanks!

(...LGTM after resolving conflicts, that is)


Keybase: Out of space error

I am getting the following error:
Keybase: Out of space
Action needed! You are using 168.8GB (157%) of your quota. Please delete some data

I am only using 1.27MB of data
I ran keybase log send and I ran keybase fs reset /keybase/team/
my log id: ee2746c0bba5ab305c485c1c
What can I do to prevent this out of space error from showing in the future?

I'm seeing the same thing right now.  I'm getting error messages about using 107% of maximum space, but du -sch keybase/private/drwho/ shows that I'm only using 6.8 gigs.
I've done keybase log send as well, but I keep getting "ERROR API network error: Post "https://api-0.core.keybaseapi.com/_/api/1.0/logdump/send.json": net/http: request canceled (Client.Timeout exceeded while awaiting headers)" errors in so doing.

@virtadpt What I ended up doing was completely deleting my keybase group and making a new one.  I might have also reinstalled keybase as well.

@bboltn Have you seen this happen with a personal (non-group) file store?

No. I’ve only seen it once with a group. ---Brian @.://keybase.io/bboltnOn Mar 15, 2023, at 10:23 PM, The Doctor @.> wrote:
@bboltn Have you seen this happen with a personal (non-group) file store?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


DataGrid - Theme based alternate background colour

Hello Team,
First of all, thanks for this awesome UI toolkit and it's working very well so far. We just started using it and it's going very well. Thanks again!!
We are integrating Datagrid in our app and finding it difficult (or maybe with our little knowledge) to set Theme based row background color. We have light and dark theme support in the app and our Datagrid uses custom alternate background colors. Initially, the app was just in the light mode so it was defined at grid level styles and was working very well but now we have added dark mode support and alternate colors are not working very well. I tried to override the colors using the below technique but it didn't work very well (in App.xml file, it though for light theme)-
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml">

    <Style TargetType="DataGridRow" BasedOn="{StaticResource MahApps.Styles.DataGridRow}">
        <Style.Triggers>
            <Trigger Property="ItemsControl.AlternationIndex" Value="0">
                <Setter Property="Background" Value="#fff" />
            </Trigger>
            <Trigger Property="ItemsControl.AlternationIndex" Value="1">
                <Setter Property="Background" Value="#330A7AFF" />
            </Trigger>
        </Style.Triggers>
    </Style>

</ResourceDictionary>

I am sure there must be an easy solution for this but I am not able to figure it out yet. Please advise.
Also If I include Dark.Blue theme in App.xml becomes the base style for the app whereas I need light theme to be the base theme for the app.
Thanks.

Hi @mpogra ,
Please ask questions like this on gitter first because I think it is not a bug.
Join the chat: https://gitter.im/MahApps/MahApps.Metro
Thank you for understanding
Tim

Thanks, Looks like I missed that point. Asking there.

Thanks for quick help by @timunie , Was able to change color of rows using DynanicResources.
In details, I have defined below SolidColorBrushes into the App.xaml -

Applied them to Grid style like below (using DynamicResources) -
<Trigger Property="ItemsControl.AlternationIndex" Value="0">                         <Setter Property="Background" Value="{DynamicResource DataGrid.EvenRow.Background}" />                     </Trigger>                     <Trigger Property="ItemsControl.AlternationIndex" Value="1">                         <Setter Property="Background" Value="{DynamicResource DataGrid.OddRow.Background}" />                     </Trigger>
Then changing these when the user is changing Theme at run like below -
Application.Current.Resources["DataGrid.EvenRow.Background"] = new SolidColorBrush(Color.FromArgb(255, 255, 255, 255));                 Application.Current.Resources["DataGrid.OddRow.Background"] = new SolidColorBrush(Color.FromArgb(255, 115, 194, 251));
Hope it will help someone.


Update MCE to v1

Signed-off-by: Zachary Kayyali<EMAIL_ADDRESS>
Description of the change:
https://github.com/stolostron/backlog/issues/19242
Motivation for the change:
https://github.com/stolostron/backlog/issues/19242

/hold

/unhold


(SYS-4589) Script to Increment Version Number

We can now use yarn bump [VERSION_NUMBER] to replace the string in all necessary files and even add the --ota flag to automatically publish to Expo.

Creator

[ ] Build relevant tests if any apply
[ ] Ensure there are no new warnings
[ ] Upload an animated GIF showcasing the solution (if it applies)
[ ] Set a relevant reviewer

Reviewer

[ ] Run test and make sure all tests pass
[ ] Review function and form on iOS
[ ] Review function and form on Android
[ ] Review function and form on Web
[ ] Review new test logic

@IsaacHardy I'd love your thoughts on this. This is super slick and awesome. I'd approve it. 💯 My question for you is ... should this be a node script and not python? Maybe easier maintenance for those non-Python developers? Do you care?

I'm okay with the script being in Python. Love me some Python.


Allow repost time threshold to be configurable

Addresses #124

How about also adding this to the heroku config file?

Ready for re-review.

:shipit:


Can i show the assets in sections based on date?

Can i show the assets in sections based on date?
If i want achieve what could be the best approach with your library.

Not supported yet :(

Can I get the array of DKAssets so that i can sort and display in my custom view controller.

You can try to make a subclass of DKImagePickerController then return the custom subclass of DKAssetGroupDetailVC in the makeRootVC function.


Add info about case sensitivity of view look up

I think it would be good to have a small section explaining the case-sensitivity of view search (mainly for non-windows platforms)
The current behavior is this:
User types in the URL and case could be anything => we try to do a case-Insensitive mapping from the input names (ex: controller and action names) to C# type and method names and use these C# type and method names to do a case-sensitive search of views.
So names of types, method names and area names must be case-sensitive equal with the files/folders on the machine.
@pranavkm

@ardalis This should get covered in the view discovery section of the views overview doc (#1325)


SSUI - Adding missing semicolon for SASS and UI Element Tooltips

This somehow got missed in my last checkin and the SASS build won't compile without it.

FYI @h-kataria . Please let me know if you need any additional screenshots.

looks good.


[mesheryctl] Bug: version/tag of the docker images in the manifest files not according to version specified in context

Description

mesheryctl should fetch Kubernetes manifest files according to the version and channel of the current-context specified by the user in the ~/.meshery/config.yaml file.
This is handled by the FetchManifests function-
https://github.com/layer5io/meshery/blob/3e366a9c5d38ece0bed770e386c8f37f64f7d8e7/mesheryctl/pkg/utils/platform.go#L101
Although we fetch the manifest files from the appropriate release in GitHub, the images specified in the manifest files are unaltered and the manifest files are applied to the cluster.
https://github.com/layer5io/meshery/blob/3e366a9c5d38ece0bed770e386c8f37f64f7d8e7/install/deployment_yamls/k8s/meshery-istio-deployment.yaml#L25
As seen above the tag is stable-latest and it would not change even if the user specified a different channel and version.
Expected Behavior

The tag of the images should be re-written according to the current-context before the manifest files are applied to the cluster.
Implementation
Given the current implementation of "context support" throughout mesheryctl, and version and channel are pulled to fetch the specific manifests, these could be easily written to the manifest files using viper.
Similar implementation can be found for the system start command in start.go file.

Can i try?

Sure @piyushsingariya ! Assigning...

@navendu-pottekkat So we basically have to edit the manifest files, I get that part. but how exactly we do this? and I didn't found any implementation mentioned in start.go

Yes. Once we download the manifest files, we have to edit it. We can use viper for that. In system start i.e start.go , this is used to rewrite the meshery.yaml file in the case for Docker. Check from line 95 in start.go
Let me know if this is still confusing...

I read the code but I'm not able to grasp how exactly I have to edit-out these manifest files? Because these manifest files and meshery.yaml are too different.

Okay @navendu-pottekkat, I think I'm getting hold of how to use viper and how to follow up the code in the case of docker. I just have one slight doubt, I have to implement this from very scratch, I mean building structs and proceeding ahead, right?

@navendu-pottekkat I highly doubt what I'm doing right now, So I'm dropping a sample code that I have added so have a look at it.
start.go
		// fetch the manifest files corresponding to the version specified
		manifests, err := utils.FetchManifests(version)

		if err != nil {
			return err
		}

// NEW CHANGES
		for _, manifestFile := range manifests {
			utils.ViperCompose.SetConfigFile(manifestFile.Path)
			err = utils.ViperCompose.ReadInConfig()
			if err != nil {
				return err
			}

			compose := &utils.K8sCompose{}
			err = utils.ViperCompose.Unmarshal(&compose)
			if err != nil {
				return err
			}

			spliter := strings.Split(compose.Image, ":")
			compose.Image = fmt.Sprintf("%s:%s-%s", spliter[0], version, "latest")

			utils.ViperCompose.Set("spec.template.spec.containers", compose)
			err = utils.ViperCompose.WriteConfig()
			if err != nil {
				return err
			}

		}

and this is K8sCompose in utils/compose.go
type K8sCompose struct {
	Name      string   `yaml:"spec.template.spec.containers.name,omitempty"`
	Image     string   `yaml:"spec.template.spec.containers.image,omitempty"`
	Ports     []string `yaml:"spec.template.spec.containers.ports,omitempty"`
	Resources []string `yaml:"spec.template.spec.containers.resources,omitempty"`
}

@piyushsingariya Sorry for responding late. I was travelling.
Was this code working? The way you are implementing this looks correct. i.e you would have to create a struct and unmarshal the manifest files and use viper to modify the tag on the image.

Hi @navendu-pottekkat It was not working, and I figured out that the above sample code is :vomiting_face:
and now I have figured out what's the actual way of doing this but I'm having a hard time writing those changes to YAML files

I guess writing those changes back would be similar to the docker implementation... We only have to change the tags right?

When I do that yaml files kind of complete changes plus I'm also having some trouble getting the image tag from yaml
It's not working the way it supposed to be working.

Most likely an issue with the created struct... We can discuss this

@navendu-pottekkat I'm finally able to change the yaml files as supposed but their are still few things needs to be corrected.
Check the comparison here Link and I'm stuck with this error now
: failed to apply manifests: Error Applying manifest.no matches for kind "Deployment" in version ""

@piyushsingariya I do see some other changes in the link you shared...

Yeah, I'm having trouble dealing with them, could you check the changes so that you could guess what's going wrong?


FIX UI/ - SC text

The story:
As a developer that wants to use Styled components, I want to use styled components for the text in our project

What we should do:
We should modify the current text.css file so that we are using styled components in the project.

To be successful we need to:
Check these off as they are completed:

[ ] switch the current  text.css to use styled components

@YagoMackay Can you move it to in progress if you are working on it please?


Update Settings: Update Ppro Purchasing and Setting items

Task/Issue URL: https://app.asana.com/0/1207908166761516/1208966262488270/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5385  👈 (View in Graphite)
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.


create-bucket unable to create MinIO bucket

Have you read a contributing guide?

[x] I have read CONTRIBUTING.md
[X] I have searched the existing issues and didn't find any that were similar
[X] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior
Container any-sync-dockercompose-create-bucket-1 exits with the following error
mc: <ERROR> Unable to make bucket `minio/minio-bucket`. Put "http://minio:9111/minio-bucket/": dial tcp <IP_ADDRESS>:9111: connect: connection refused

On viewing the web-ui for created MinIO instance, bucket minio-bucket is missing
Expected Behavior
any-sync-dockercompose-create-bucket-1 creates bucket and displays output of mc mb minio/${MINIO_BUCKET} in docker logs as instructed in docker-compose.yml
Steps To Reproduce

git clone repo
Update .env

- MINIO_PORT=9111
- MINIO_WEB_PORT=9180
- EXTERNAL_ANY_SYNC_ADMIN_PORT=82
- EXTERNAL_LISTEN_HOST="<IP_ADDRESS>"

make start

Environment
- OS: Debian GNU/Linux 12 (bookworm)
- Version: 3.0.0

Anything else?
I don't see the bucket being used even after creating minio-bucket bucket manually through minio web-ui. It is empty even after uploading some test files into my space.

yes, currently changing minio port is not working

I don't see the bucket being used even after creating minio-bucket bucket manually through minio web-ui. It is empty even after uploading some test files into my space.

you need to wait 5 minutes or longer, this is bug for anytype-ts client version 0.39.0


add raincloud plots from Beacon Biosignals

We decided to open source @kimlaberinto amazing raincloud plots and add them to base Makie.
This is a direct port of the docs & the latest implementation.
@kimlaberinto wanted to spent some more time to make the recipe even more usable/pretty before we merge.
We also need to add some tests to the reference image tests.
cc: @haberdashPI @ericphanson @mich11 @palday @jrevels

@haberdashPI mentioned this in a previous discussion that we've had. I wanted to repost it here so others can see and so that we potentially make this change as well.

I want to advocate for the API that is made public to be compatible with AlgebraOfGraphics. I think it's a simple change and it would be nice if it worked straightforwardly in that case: basically the interface needs to use a flat array (like columns of a DataFrame) to denote the category labels along x, rather than using nested arrays by default. I was thinking of making a little PR myself to do this...

Compile Times benchmark

I've added some proposed changes in #1839. See that PR for details. I've tested this with a PR of AoG which supports the latest version of Makie (by just updated the [compat] entries), and that seems to be working well for calling visual(RainCloud).

Sorry about that, it looks like my use of some newer keyword syntax is leading to the failures on 1.3: (;show_median) instead of (;show_median=show_median)

Ok, this should build now...
I removed dodge here: https://github.com/JuliaPlots/Makie.jl/pull/1725/commits/ba50702ffe817b34d18cffacb81147641b57f170, since group_labels didn't seem to have the ability to deal with dodge...Not sure if zipping dodge in there was just an oversight, or if group_labels should be able to deal with that.
Also, it's all gray now, I think before, it was cycling the color?

It should be cycling color; I can debug today or tomorrow. Is there anything special I should know to setup the doc build on my machine?

add raincloud plots from Beacon Biosignals by SimonDanisch · Pull Request #1725 · JuliaPlots/Makie.jl

I think it was doing that before, if I'm not mistaken.. So think something got removed ;)

Is there anything special I should know to setup the doc build on my machine?

I usually just copy out the code blocks, since the setup is a bit annoying and you can't just build a single page 😅

I've made some updates to the docs in #1936 .
This also fixes a few bugs I found in the process.

Test failures due to: https://github.com/JuliaPlots/Makie.jl/pull/1937

Yes, I think that's what's mostly left.
Would also be nice to bring back the color cycling. Let me know if you need help with that.

Would also be nice to bring back the color cycling. Let me know if you need help with that.

I think this is addressed? At least when I ran the help examples on my machine they are colored now. (#1936)
I'll set up a PR to fix @hannahilea's comments.

Ah you're right, great :) Somehow the last time I checked the docs build, it was still all black

https://github.com/JuliaPlots/Makie.jl/pull/2019 makes a small fix to address @hannahilea's comments.

Yay, thanks everyone :)

Yay, thanks everyone :)


Bug Report: Custom states doesn't work

Which target are you using?
[x] Windows
[ ] Linux
[ ] Mac
Explain your issue
Please check first if your issue haven't already been reported yet.
When doing any custom state (like MainMenuState or FreeplayState, anything in general), It doesn't load.
I've tried restarting the engine and deleting and creating the file but nothing worked

Please provide an small sample where this happens, like a zip of a mod where just this issue happens


Check for Java 8

It seems that we are expecting people to use Java 8.  Unit tests will fail with other versions, 11 for example.  Certain garbage collectors have been discontinued in later versions.  An error message is now displayed if anything other than Java 8 is found.  Perhaps we will discover some unexpected behavior by users.  I have a paragraph prepared for the readme file that recommends version 8 to accompany the change.

+1000

I think the tests passed in part by luck.  We enabled testing of the webapp recently.  Two sets of tests are usually running in parallel.  I wonder whether there is a problem if one webapp test tries to run while another is already.  Won't there be contention for port 9000 or won't the two interact?  Those tests take quite a bit of time and perhaps the testing should not be done with the rest of the project.  The compilation was similarly added and that has been helpful.  At least the webapp always builds even when something else was refactored.


Hotswap allow different alpha scalings

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

not stale


Use simple volatile read for SingleThreadEventExecutor#state instead of UNSAFE

Use simple volatile read for SingleThreadEventExecutor#state instead of UNSAFE(AtomicIntegerFieldUpdater#get), CAS operation still to use AtomicIntegerFieldUpdater

looks good to me  :+1:

@fengjiachun LGTM...

@fengjiachun can you please adjust the commit message to match our template:
http://netty.io/wiki/writing-a-commit-message.html
After this is done I will merge it

Is the commit message ok now? @normanmaurer

@fengjiachun also please use git commit --amend and do the changes there. Then force push ;)

@normanmaurer done, is ok now?

@fengjiachun yes... let me cherry-pick

Cherry-picked into 4.1 (cd80b6c2d8677ccee372fe43deaf8509da6eb45f) and 4.0 (867fb70994)

thanks a lot @normanmaurer


Hugging face trainer callback integration

Pull request for issue #24 : Draft for HuggingFace Global Power Limit Optimizer. Imports correctly locally, but needs to be further tested on machine with GPUs.

I simplified the class to only the methods necessary for HFGlobalPowerLimitOptimizer.
Testing of HFGlobalPowerLimitOptimizer is in test.py (I can remove it before merging). It tests 4 things:

The constructor signatures of GPLO and HFGPLO are exactly the same
HFGPLO inherits from TrainerCallback
HFGPLO can be used as a HuggingFace TrainerCallback. Single GPU Test
Ensure that HFGPLO can be used as a HuggingFace TrainerCallback. Multi GPU Test

The output of these tests seem to show that the GlobalPowerLimitOptimizer underneath is being called correctly. A snapshot is provided below:

Please let me know if there is anything else I should test or add to the code. Thanks!

Made all the requested changes. I refactored the example, borrowed it from an example script from huggingface. Also updated the docs, but I was not sure whether to also add it to docs/index.md.

Updated the code with all suggestions. For the README.md in examples/huggingface, I was unsure what to do for the links to HFGlobalPowerLimitOptimizer, so I just removed them.


Fix perfomance/projections_spec.rb feature_review url

In this block:
..
  let(:url) { feature_review_path(apps, server) }
  let(:path) { URI.parse(url).request_uri }
..

request_uri cannot be called on a URI parsed object without a real URL -- feature_review_path is stripping it down so you have to use feature_review_url first, or path on the URI parsed object
Note: this was always passing because CircleCI is configured to skip this test, it would fail otherwise

Some background on performance specs. We created them to benchmark how long it took to apply events for certain page requests, and then justify to the business that we needed to spend time on optimizing this by using snapshots to avoid re-applying events from the beginning every time.
After that we stopped maintaining them, so they're probably very outdated. For example, "Feature Review Search" doesn't exist anymore (L40).

Thank you for the explanation @dideler !
If I run bundle exec rspec I'm expecting to have all of them working. Not a priority of course, but they should be either fixed or definitely removed.  What do you think?

Good observation @your! Something that we forgot to document in the README is the suggested way to run tests. We used bundle exec rake which will run rspec (unit) tests, cucumber (acceptance) tests, and rubocop (linter) - in that order. This excludes performance tests.
See https://github.com/FundingCircle/shipment_tracker/blob/master/Rakefile#L11-L17
We should definitely mention this in the README. As for the fixing/removing the perf tests, I'm okay with removing them. They mostly focus on snapshotting, which is already done. There are other areas that can be optimized, but they may not be properly captured by these tests so the tests aren't adding much value (at least in their current state).

LGTM


cdk wasm public metadata

I've been pushing for some standardization around a cdk namespace for Wasm public metadata as discussed here: https://forum.dfinity.org/t/rfc-canister-metadata-standard/16280
I'm wondering if it would make sense to get the major CDKs to start adopting their own public metadata conventions before standardizing. Azle and Kybra are both willing to do this, I'm also opening an issue with cdk-rs.
One of the great benefits of adopting this public metadata convention would be to allow canister indexing services like IC Dashboard to give near real-time statistics on exactly how many canisters are deployed on the IC per cdk/language. These stats would be very valuable for what I think are obvious reasons.
My proposal is this:
cdk:name
This is the name of the CDK that was used to produce the canister’s Wasm module binary e.g. motoko, cdk-rs, azle, kybra, icpp.
cdk:languages
This is a list of strings indicating the source code languages that the CDK supports e.g. motoko, rust, typescript, javascript, python, c++
cdk:version
This is the version of the CDK that was used to produce the canister’s Wasm module binary e.g. 1.2.3, 0.16.2, 2.3

Has tech_stack been implemented by Motoko as seen here?


Opening www folder in Xcode

Hello,
Thanks for this great repo. Just setup my setup. I was wondering how to open the www folder in Xcode? When I try, it says there is no project.  Do we just create a new project and drag the files into the project? Or is there a clever way of doing this?

What I have done:

New Project -> Other -> External Build System
Saved it into the www folder
Dragged all the files in that folder in my Xcode project


Feat: use cf_connecting ip (if exists) as user ip

SSPanel currently using X-Forwarded-For (which is known that easy to fake.) to detect visitors' IP.

Cloudflare use CF-Connecting-IP to return real user IP to origin server. So we should use CF-Connecting-IP when it exists.

https://stackoverflow.com/questions/14985518/cloudflare-and-logging-visitor-ip-addresses-via-in-php

User's choice


Basic support for 'nullable' types

Reasons for making this change
Modifies the implementation of getSchemaType so that when a property has a type of [<any>, 'null'], then <any> will be passed. This allows the library to render and validate the field correctly. For the sake of simplicity, this change does not attempt any further assumptions, coercions or transformations.
References #465
Checklist

[x] I'm updating documentation

[x] I've checked the rendering of the Markdown text I've added

[x] I'm adding or updating code

[x] I've added and/or updated tests
[x] I've updated docs if needed
[x] I've run npm run cs-format on my branch to conform my code to prettier coding style

[x] I'm adding a new feature

[x] I've updated the playground with an example use of the feature

I wanted to land this PR in draft status before the end of the week in the hope that it'll get some eyes over the weekend. If this feature is desirable to the project maintainers, I'll add some tests and a Playground example when I return on Monday.

@epicfaace Forgive the direct tag - this is ready for review, but I can't get the PR out of draft status. Hopefully the controls will appear for project maintainers.

Looks good! Thanks for the PR. One question: how does the code actually know to put null as the value when you leave a field empty that has type: ["string", "null"] ? Is this coming from ajv?
Can you add a test in which it renders a form with a nullable field and checks to make sure that when the field is emptied, its value is null?

@epicfaace This PR doesn't actually go that far; having looked the history of closed, unmerged PRs that attempted to implement UX changes or other additional handling of such nullable types, I intentionally decided against that. This allows end-users to handle such scenarios themselves, either through custom widget implementations or uiSchema adjustments.
To quote from the FAQ entry change:

However, the actual rendering and handling of the field is unchanged; you are free to handle this using an approach ('ui:defaultValue': null, for example) best-suited to your use case.

Should I expand on this in the FAQ and/or elsewhere to make this point more clear?

@warrenseymour oh I see, thanks for the explanation. Just one small typo then and I think we'll be good to go! Thanks again!
I do think it might be nice to have some default handling of nullable types, but that can be added in the future as this change already goes pretty far.

@epicfaace hi, could you bump this change into npm?

I don't have access, @glasserc does

Thought this solves validation problem when you want 3 types of values - any, undefined and null, but it is for widget only :(

@FriOne I don't think it's possible to set a value equal to undefined in json schema.

@epicfaace sorry, I meant that this change doesn't allow null in values. I can set string or undefined and validation will be passed but can't set null.

@FriOne it should allow null in values. I've just updated the playground to the latest version; can you make an example on the playground and share it with me?

@epicfaace the problem is on my side, my bad :)


Gathering metrics can become bottleneck during fill-analytics

Bug description
When we only collect daily statistics, collecting the analytics metrics can slow down the syncing speed, because writing to InfluxDB takes longer than skipping over uninteresting milestones.
We should think about strategies to mitigate this, or rework our fill-analytics logic in general (for example by splitting the logic into per milestone and time interval analytics).

Closed by #1131


getCenterPoint() gives incorrect values when legend label hidden

To overlay data values on top of a horizontalBar chart, I'm using:
animation: {
    onComplete: function () {
        var chartInstance = this.chart;
        var ctx = chartInstance.ctx;
        Chart.helpers.each(this.data.datasets.forEach(function (dataset, i) {
            var meta = chartInstance.controller.getDatasetMeta(i);
            Chart.helpers.each(meta.data.forEach(function(bar, index) {
                var centerPoint = bar.getCenterPoint();
                ctx.fillText(dataset.data[index], centerPoint.x, centerPoint.y);
            }), this);
        }), this);
    }
}

However, when used in conjunction with:
legend: {
    display: false
}

The returned values are askew

Edit(SB): code formatting

I suspect that when the legend is hidden, the context is not initialized the way you are expecting.
Can you try to explicitly set the textBaseline before drawing the text?
// ...
ctx.textBaseline = 'middle';
ctx.fillText(dataset.data[index], centerPoint.x, centerPoint.y);

Note: you may want to have a look at the chartjs-plugin-datalabels (example). It supports both vertical and horizontal bars.

Cheers, with that bit of help I ended up using
ctx.textBaseline = 'middle';
ctx.textAlign = 'center';
which resolved both vertical and horizontal placement issues...
In hindsight it was an obvious mistake on my side (as I'm not used to using canvas), I'm also assuming that means that when the legend is drawn it sets the text placement context as I set above; which was then persisted into the onComplete event..?

Closing as resolved :)


Fix Zedboard build by sticking with release v2014.4 of u-boot from Xilinx.

Would it be any simpler to use the -b option to git clone as in:
git clone -b xilinx-2014.04 git://github.com/Xilinx/u-boot-xlnx.git ${ZYNQ_UBOOT_SRC}

Tim:
I didn't think that would work because "xilinx-v2014.4" is a tag, not a branch name.  But, I just tried it and it indeed works.  Thanks.  I'll make another pull request...


problem with connectors/walletconnect.js

connectror must return provider. please fix this
https://github.com/SmallRuralDog/web3modal-vue/blob/master/src/providers/connectors/walletconnect.js#L32
try {
    await provider.enable()

    resolve(provider);
} catch (e) {
    reject(e);
}

pls merge pull request
https://github.com/SmallRuralDog/web3modal-vue/pull/3


when source is ORACLE-CDC  target is ORACLE， using is_exactly_once=true  then will lock target table

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
when source is ORACLE-CDC  target is ORACLE， using is_exactly_once=true  then will lock target table
no error , but data don't insert or update  target db
target db will generate a lock。
SeaTunnel Version
2.3.4
SeaTunnel Config
env {
  execution.parallelism = 12
  job.mode = "STREAMING"
  checkpoint.interval = 120000
}

source {
  Oracle-CDC {
    #result_table_name = "customers"
    base-url = "jdbc:oracle:thin:@XXX.XX.XX.XX:1521:XXXX"
    #bsource.reader.close.timeout = 120000
    username = "XXXX"
    password = "XXXX"
    database-names = ["orcl"]
    schema-names = ["SCH"]
    table-names = ["ORCL.SCH.SCH_MODULE_LOG"]
    #connection.pool.size = 1
    startup.mode = latest
    table-names-config = [
      {
        table = "ORCL.SCH.SCH_MODULE_LOG"
        primaryKeys = ["LOAD_BATCH","MODULE_CODE"]
      }
    ]
    debezium {
      # log.mining.strategy = "online_catalog"
      # log.mining.continuous.mine = true
      database.oracle.jdbc.timezoneAsRegion = "false"
    }
  }
}

sink {
    jdbc {
        #source_table_name = "fake3"
        url = "jdbc:oracle:thin:@172.XX.XX.XX:1521:XX"
        driver = "oracle.jdbc.OracleDriver"
        user = "XXXXX"
        password = "XXXXX"
        database = "XXXX"
        table = "ODATA.SCH_MODULE_LOG"
        primary_keys = ["LOAD_BATCH","MODULE_CODE"]

        generate_sink_sql = "true"
	is_exactly_once = "true"

        xa_data_source_class_name = "oracle.jdbc.xa.client.OracleXADataSource"
        schema_save_mode = "CREATE_SCHEMA_WHEN_NOT_EXIST"
		    data_save_mode  = "APPEND_DATA"
    }
}

Running Command
.seatunnel.sh -c xxx.conf

Error Exception
no error , but data don't insert or update  target db
target db will generate a lock,
lock type is TM, lmode is 3 , object is target table

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

remove this config
	is_exactly_once = "true"


Change tied operand formatting to allow type changes.

The ops have always held the types/dims but they were elided when printing.
Now type and dimension changes can be fully specified and round-tripped.
This allows streams and dispatch regions to change types/shapes.
Reverts #6188.
Fixes #6075.
Fixes #6185.
Fixes #6420.

Good thinking - I'll add a verifier (have been meaning to do that for ages).

Actually I'm not sure how to verify this generally - as things like tensor<4xi8> and tensor<1xi32> are allowed to tie, and tensor<?xi8> and tensor<?xi32> are similarly allowed in the dynamic case. I feel like emitting asserts here that ensures the byte sizes are equivalent is probably the right thing to do (assert hal.allocator.compute_size equality) and once we type/shape-erase will often resolve itself entirely at compile time. But such an effort needs some design beyond this :)

Actually I'm not sure how to verify this generally - as things like tensor<4xi8> and tensor<1xi32> are allowed to tie, and tensor<?xi8> and tensor<?xi32> are similarly allowed in the dynamic case. I feel like emitting asserts here that ensures the byte sizes are equivalent is probably the right thing to do (assert hal.allocator.compute_size equality) and once we type/shape-erase will often resolve itself entirely at compile time. But such an effort needs some design beyond this :)

Sure no worries. THe current dispatch region formation does account for the shapes being comparible before adding it as tied operands.


Faster and/or consistent mouse scrolling

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

Is there a setting that allows for faster scrolling? That is, more lines scrolled per notch of the mouse wheel. If not, I'd like to request it. My OS setting in Mouse Properties is to scroll 6 number of lines which appears to not be reflected in VSCode.
Steps to Reproduce:

Open a file with more lines than can be shown on the screen.
Scroll one notch with the mouse wheel. On my system the view scrolls about 2.5 lines.

@mchels It can be a float:
  // A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events
  "editor.mouseWheelScrollSensitivity": 1

hey @alexandrudima, that's a great setting and it helped me a lot
but I noticed that it only works in the text editor. For example, scrolling the in the sidebar (project navigator, or search results)


How to debug

almost fed up not able to debug cli generated code tried webstorm, vscode, augury no sucess can any one help me.....
Augury also not even getting component.
augury screenshot...

You'll have to check with those tools directly. We don't have any kind of direct integration with them, and since the apps run in the browser I have to assume it's an issue with debugger config.


Support non-list inputs to primitives

Summary
Support passing a single circuit etc without putting it in a list to the run() method of the primitives.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 14 (85.71%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.001%) to 84.302%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/primitives/base_estimator.py
7
8
87.5%

qiskit/primitives/base_sampler.py
5
6
83.33%

Files with Coverage Reduction
New Missed Lines
%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
57826

Relevant Lines:
68594

💛  - Coveralls

We need more test cases to clarify the behavior with non-list input.
For example, parameter_values allows None, [[]], [[1]] and , [[1, 2]].
On top of it, this PR allows [], [1], [1, 2].

I'm making a patch to fix the condition and add more tests.

I made a patch https://github.com/jyu00/qiskit-terra/pull/1 to this PR. Could you take a look at it, @jyu00 and @ikkoham?


How to keep variables declarations DRY

First of all, I would like to thank you for this tool.
Problem
I am having a problem trying to keep the variables.tf file DRY. Here's my directories structure:
.
├── common.shared.yaml
└── iam
│   ├── role-01
│   │   ├── main.tf
│   │   ├── outputs.tf
│   │   ├── terragrunt.hcl
│   │   └── variables.tf
│   └── role-02
│       ├── main.tf
│       ├── outputs.tf
│       ├── terragrunt.hcl
│       └── variables.tf
└ terragrunt.hcl

In my root terragrunt.hcl:
...

locals {
  common_vars_yaml = "common.shared.yaml"
}

inputs = merge(
  yamldecode(
    file(
      find_in_parent_folders(local.common_vars_yaml)
    )
  )
)

...

Even though I import these inputs in every terragrunt.hcl for each service, I still need to repeat all variables declarations.
Example
# common.shared.yaml
obj:
  str: value

# variables.tf
variable "obj" {
  type = object({
    str = string
  })
}

The last part above (variables.tf) is copied and pasted for every service that needs variables present in common.shared.yaml.
How could I solve it? Are there any patterns or built-in functions?

Just realized I posted in wrong repo


refactor and unit test add functionality

Codecov Report

Merging #27 (64dde3b) into main (52a7bca) will increase coverage by 6.07%.
The diff coverage is 47.27%.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   54.40%   60.48%   +6.07%
==========================================
  Files           8        7       -1
  Lines         329      329
==========================================
+ Hits          179      199      +20
+ Misses        141      120      -21
- Partials        9       10       +1

Flag
Coverage Δ

Linux
60.48% <47.27%> (+6.07%)
:arrow_up:

macOS
60.48% <47.27%> (+6.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cmd/listings.go
55.31% <0.00%> (-4.46%)
:arrow_down:

pkg/cmd2/add.go
88.88% <100.00%> (+88.88%)
:arrow_up:

Continue to review full report at Codecov.

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


How to embed a full HTML document in Dash for R?

I tried to embed the HTML test.html with multiple commands such as htmlIFrame but nothing gets rendeded. What is the proper way to embed full HTML document into dashR?
library(plotly);
library(htmlwidgets);

df <- data.frame(x = 1:25, y = c(1:25 * 1:25))
gg <- ggplot(df,aes(x = x, y = y)) + geom_point()

# Save ggplotly as widget in file test.html
saveWidget(ggplotly(gg), file = "~/test.html")```

@heoa Hopefully the reply here answered your underlying question (about how to embed ggplotly figures within a Dash for R app); if not, please let me know!

@rpkyle yes thank you, it would be super useful to have a collection of minimal working examples of using ggplot with dashR. I started the below thing
https://github.com/plotly/dashR/issues/118
which we could turn into documentation later.

Given that my earlier reply answered your initial question, I'm going to go ahead and close this one for now.


Adds the option to only handle notFound or other server errors.

Thanks for the middleware, works well. You may not be interested in this, thought I'd upstream it just in case you were (or even had a better solution). I basically needed leaf coverage for a whole app for .notFound, but only needed leaf coverage for certain routes for all other errors (app has both leaf and json/rest routes). Be nice if the NIO errors enum was an OptionSet.
Not a breaking change either.
Cheers.

@trametheka apologies I missed this one! I like the idea of the PR though it might be a little out of scope for Leaf Middleware. However, if you'd like to update the PR to work with the existing release then I'll merge it! Unfortunately it may be a fair bit of work since LeafMiddleware has moved to async/await


Create CONTRIBUTING.md

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.83%. Comparing base (b424dc1) to head (7f7f45a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   95.83%   95.83%
=======================================
  Files          17       17
  Lines         336      336
=======================================
  Hits          322      322
  Misses         14       14

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mock sequencer address

Closes #609
Introduced changes

add cheatcode for mocking the sequencer address
the elect codename is up for renaming

Checklist

[x] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[x] Performed self-review of the code
[x] Added changes to CHANGELOG.md

lgtm, but please add tests and docs

Tets and docs will be 2 seperate PRs

Tests and docs will be 2 seperate PRs to keep them reviewable

Usually we do everything in the same PR 🤔


Implement More button in Request Overview

User story

As a user
I need to select further search criterias
So that I can narrow further the search

Acceptance criteria

[ ] when clicking on More a dropdown menu with following search criteria is shown:

Requested Time

Requested Team

Epic Link

[ ] one or more search criteria can be applied

Definition of done

Can be demoed
(* Fully tested with the unit test)
Code well structured and formatted (hold to code conventions)
Clear explaination of code
No syntax/runtime errors
Codes are peerly reviewed
Communicate issues by leaving comments on github

change the names in accordance to the custom fields (Requested Time -> Start of Work & End of Work; Requested Team -> Associated Team)


add functions to cast binaries into matrix and tensors

Hey @velimir! Thanks a lot for contributing :)
Is there a reason why the checks are failing? I don't have access to a computer for the next 2 days but then I can look at the issue.

hey @anshuman23
Unclear. It might be something to do with the container environment. Locally all tests are green.
As you can see the code change did pass the tests. The following commit though (with documentation changes) did not: box is killed by a timeout.
Seems like it's not the first time travis doesn't like tensorflow: https://github.com/anshuman23/tensorflex/pull/46#issue-260357862

Thanks! You're right, this looks good to go, I will merge it by tomorrow latest :)


Update dependency ghcr.io/kyverno/kyverno to v1.8.4

This PR contains the following updates:

Package
Update
Change

ghcr.io/kyverno/kyverno
patch
v1.8.2 -> v1.8.4

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Didn't see anything that we need to take into account:

v1.8.4: https://github.com/kyverno/kyverno/releases/tag/v1.8.4
v1.8.3: https://github.com/kyverno/kyverno/releases/tag/v1.8.3
Commits: https://github.com/kyverno/kyverno/compare/v1.8.2...v1.8.4


Incorrect breakpoint site description

Re: {cvr}/sample/22203
THe site2 description for NSUN4 is incorrect. The breakpoint occurs after the 3UTR of the gene in the positive strand. However, the description sites the Promoter region. Though the "26Kb from tx start" is correct.

Moved this to iAnnotateSV


ADM-924: [frontend] could export multiple sets of data in report list page

Summary
...
Before

Screenshots
After

Note
Null

1 sonar issue: https://sonarcloud.io/project/issues?resolved=false&sinceLeakPeriod=true&pullRequest=1436&id=au-heartbeat-heartbeat-frontend&open=AY9ce38RQA-dYWUTFPTq


Tracking: introduce memory management

This issue tracks the development of the memory management component of the compute node operator cache.
The development will follow the design in https://singularity-data.quip.com/CldAAcFmzZSO/Yet-another-simple-idea-for-memory-management
tasks:

[ ] LRU cache that supports eviction by timestamp
[ ] LRU manager on compute node.
[ ] Use new LRU cache for operators.

Related issue:
#4987

Can we close this?


Params are now passed to nested includes

Fixes https://github.com/Netflix/fast_jsonapi/issues/277

Released in Version 1.4


Handling terminated instances

How are you handling cleaning up after instances are terminated?

I've posted the cleanup script we run as a complement to this alarm creation script.

Awesome! Thank you @thigley986 some awesome work here, really love this idea.
It would be really cool to create a CloudWatch Event for monitoring new and terminated instance to trigger the lambda function to create/delete all the associated alarms. https://aws.amazon.com/blogs/apn/automatically-delete-terminated-instances-in-chef-server-with-aws-lambda-and-cloudwatch-events/ kind of describes it. If I end up taking a stab at doing this I'll share what I end up with.


bug(COMPONENT): TITLE

Current behavior
I have to type something into an input that corresponds to an Angular Material date picker. I want the text provided to the method type corresponds to the content of the input after calling the method.
In some of my inputs, this text doesn't correspond. For example, I have this:
  cy.get('input[formcontrolname=someField]').clear().type('06/11/2020');
  cy.wait(2000);

I can see 06/01/2021/11/2020 in the input.
Desired behavior

Test code to reproduce
Here is the Angular code for the input:
<form
  [formGroup]="form"
>
  <input
    matInput
    placeholder="Ex : 21/03/2018"
    formControlName="someField"
    type="text"
    [matDatepicker]="someFieldPicker"
  />
  <mat-datepicker-toggle matSuffix [for]="someFieldPicker"></mat-datepicker-toggle>
  <mat-datepicker #someFieldPicker></mat-datepicker>
</form>

By switching the input to a single, things work as expected:
<form
  [formGroup]="form"
>
  <input
    matInput
    placeholder="Ex : 21/03/2018"
    formControlName="someField"
    type="text"
  />
</form>

Versions
Cypress: 6.2.1
Angular: 10.0.0
Node: v12.19.1
NPM: 6.14.8

The Material datepicker doesn't do anything to the input while the user is typing, it only tries to parse the date once the input is blurred. Even then, I don't think that a parsed date would produce a result like the one you posted above. If I had to guess, it looks like Cypress isn't clearing the input completely before typing in the new value. Have you tried adding a wait between the clear call and the type?
I'm closing the issue, because this is likely an issue either with the test or with Cypress.

The Material datepicker doesn't do anything to the input while the user is typing, it only tries to parse the date once the input is blurred. Even then, I don't think that a parsed date would produce a result like the one you posted above. If I had to guess, it looks like Cypress isn't clearing the input completely before typing in the new value. Have you tried adding a wait between the clear call and the type?
I'm closing the issue, because this is likely an issue either with the test or with Cypress.


Bump all dependencies of Go and Node

[x] Update the CHANGES log.

Codecov Report

Merging #349 (6e86aff) into main (20f3643) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #349   +/-   ##
=======================================
  Coverage   38.21%   38.21%
=======================================
  Files         117      117
  Lines       12831    12831
=======================================
  Hits         4904     4904
  Misses       7445     7445
  Partials      482      482

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Increase streaming wordcount IT timeout

The Python streaming wordcount test will still time out if the worker has to install the SDK from a source tarball, continuing to cause flakey failures before the pipeline even starts executing. Bumping to 15 minutes should help.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damccorm
Still having some issues with the early failures

Run Python_PVR_Flink PreCommit

Which test suite is failing, and can this bump be reverted after v2.47.0 release as the tarball install switched to wheel install?

It's the streaming wordcount integration tests, there's some consistently slow start-up on the Dataflow side. Hopefully we can knock them back down later but I also suspect some of the slow start-up is from the runner v1 test jobs being upgraded to runner v2


i have some problem do a test

I would like to test network on UCF101 after finetune in UCF101 using pretrained kinetics you provided.
i use resnet18.
I want to get the accuracy of a video unit, not clip.
i use instruction below
python main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path test --dataset ucf101 --model resnet --model_depth 18 --n_classes 101 --batch_size 64 --n_threads 4 --pretrain_path 18result1s/save_200.pth --no_train --no_val --test --test_subset val --n_finetune_classes 101
jpg is the same as your data directory.
18results1s/save_200.pth is pretrained on Kinetics, finetune in UCF101's network.
it make a error.
run
dataset loading [0/3783]
dataset loading [1000/3783]
dataset loading [2000/3783]
dataset loading [3000/3783]
test
test.py:42: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
inputs = Variable(inputs, volatile=True)
test.py:45: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
outputs = F.softmax(outputs)
Traceback (most recent call last):
File "main.py", line 162, in
test.test(test_loader, model, opt, test_data.class_names)
File "test.py", line 50, in test
test_results, class_names)
File "test.py", line 20, in calculate_video_results
'label': class_names[locs[i]],
KeyError: tensor(12)
KeyError : tensor(12) , i change my instruction, the number in parentheses is change, maybe.
can you help me?

Did you use pytorch 0.4?
My codes currently do not work on pytorch 0.4.
I would like to update my codes for 0.4,
but it takes more time.

@lee2h Hope this should help you similar kind of error i got please try in this way that is zero tensor error
video_results = []
for i in range(sorted_scores.size(0)):
video_results.append({
'label': class_names[torch.Tensor.item(locs[i])],
'score': float(sorted_scores[i])
})

@kenshohara  @hareeshdevarakonda
i use pytorch 0.5.
maybe i found solution like yours.
i change the code to below
video_results.append({
'label': class_names[locs[i].item()],
'score': sorted_scores[i].item()
})
it maybe same as your solution.
and also, from val.json to video accuracy,
in utils/eval_ucf101.py
line 56 and 92,
i change iteritems() to items().
and i run below code
import eval_ucf101 as U
ucf=U.UCFclassification('ucf101_01.json','val.json',subset='validation',top_k=1)
ucf.evaluate()
print(ucf.hit_at_k)
the printed number is 0.015xxxx
i think it means 1.5% accuracy.
what's the problem?
i want 84.4% accuracy.
below is my val.json
val.zip
my model is resnet18, pretrained in Kinetics and finetune on UCF101 at 200 epoch in split 1.
during training and validating, validation result is 76.9% (clip) in 200 epoch.
python3 main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path test --dataset ucf101 --model resnet --model_depth 18 --n_classes 101 --n_threads 4 --pretrain_path 18result1s/save_200.pth --no_train --no_val --test --test_subset val --n_finetune_classes 101
i get val.json from above command.

@kenshohara
i downgrade pytorch 0.5 to 0.3, restore code, and run your code.
pretraining on kinetics (you provided), finetuning on UCF101.
python3 main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path 18result0.3 --dataset ucf101 --model resnet --model_depth 18 --n_classes 400 --n_finetune_classes 101 --pretrain_path resnet-18-kinetics.pth --ft_begin_index 4 --resnet_shortcut A --batch_size 64 --n_threads 4 --checkpoint 10
and, i evaluate on UCF101 split 1.
python3 main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path result0.3 --dataset ucf101 --model resnet --model_depth 18 --n_classes 101 --n_threads 4 --pretrain_path 18result0.3/save_200.pth --no_train --no_val --test --test_subset val --n_finetune_classes 101 --resnet_shortcut A
i get val.json.
val.zip
and i run below code.
import eval_ucf101 as U
ucf=U.UCFclassification('ucf101_01.json','val.json',subset='validation',top_k=1)
ucf.evaluate()
print(ucf.hit_at_k)
printed result is 0.005286809410520751
i think, it means 0.5% accuracy.
the result is same as run on pytorch 0.5. meaningless.
the validation accuracy on 200epoch is 0.7668 (76.68%).
i want test accuracy 84.4%.
what's the problem?

in instruction, i change pretrain_path to resume_path, it works well.
i get UCF101 split 1, 82.2% video accuracy.
i will train and evaluate for another split and pytorch 0.5.
if there is no problem, i will close this issue.
thank you for your awesome work.

If I want to train and evaluate the model on the whole UCF101 dataset. What should I do ?
I find that the split1 , split2, split3 have overlaps.
Should I continue train the model on split2 using the pretrained model on split1?
Or I continue to train the model on split2 using pretrained kinetics model, and average the performance?

@kenshohara For the 3 test/train splits provided by UCF, are there publicly available annotations (the different action classes for each video) ?

@kenshohara @hareeshdevarakonda
i use pytorch 0.5.
maybe i found solution like yours.
i change the code to below
video_results.append({
'label': class_names[locs[i].item()],
'score': sorted_scores[i].item()
})
it maybe same as your solution.
and also, from val.json to video accuracy,
in utils/eval_ucf101.py
line 56 and 92,
i change iteritems() to items().
and i run below code
import eval_ucf101 as U
ucf=U.UCFclassification('ucf101_01.json','val.json',subset='validation',top_k=1)
ucf.evaluate()
print(ucf.hit_at_k)
the printed number is 0.015xxxx
i think it means 1.5% accuracy.
what's the problem?
i want 84.4% accuracy.
below is my val.json
val.zip
my model is resnet18, pretrained in Kinetics and finetune on UCF101 at 200 epoch in split 1.
during training and validating, validation result is 76.9% (clip) in 200 epoch.
python3 main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path test --dataset ucf101 --model resnet --model_depth 18 --n_classes 101 --n_threads 4 --pretrain_path 18result1s/save_200.pth --no_train --no_val --test --test_subset val --n_finetune_classes 101
i get val.json from above command.

thank your answers

Hi @kenshohara ,@lee2h
I use the same setting as you used:
python3 main.py --root_path UCF101 --video_path jpg --annotation_path ucf101_01.json --result_path test --dataset ucf101 --model resnext --model_depth 101 --n_classes 101 --n_threads 4 --resume_path results/save_200.pth --no_train --no_val --test --test_subset val --n_finetune_classes 101
my val accuracy is ~85%,  video acc. ~88%.
I can not understand, what is wrong?
Could you help me, please?
Thanks


real time contributors

i found out that contributors were hardcoded in the Readme and it couldnt update for new contributors so i changed it. also i found no need for the addcontributors workflow since the updated readme provides the functionality.

@EfrataAron kindly raise a pr for develop branch


Added missing queue macros for building on Android

TAILQ_CONCAT() and LIST_FOREACH_SAFE() are not defined in queue.h in the Android NDK.
I simply added the macros to internal.h, but please let me know if you’d prefer another place to add them.

This is insufficient, there are additional ones, #453 covers this as well.

The thing is that (probably unlike Windows) the Android NDK implements some of these macros, but not all of them. I see a couple of alternate ways that I think should work and would probably be better than just sticking them in internal.h like I did here:
a) Add missing macros to android_stubs.h.
b) Wait for #453, then include generic_sys_queue.h on Android and don’t include sys/queue.h.
c) Wait for #453, then include generic_sys_queue.h and add #ifndef’s around each definition.
Do any of these approaches sound good or is there another way you’d prefer?

I'm totally happy with b.  It seems much nicer.  The file is already annoying to work with, so c isn't very appealing.  a would really increase the duplication, so I really think b is the best approach.

Sounds good! I’ll wait for #453 and re-do this.

@triplef - #453 is merged :-)

Thanks! :) I’ve updated the patch as discussed.

@swift-ci please test

@swift-ci please test

CC: @ktopley-apple


PIN: sMRIPrep 0.1.x (implicitly pinning niworkflows and templateflow)

[x] Includes #1525, as this builds upon that one.
[x] Synchronizes CHANGES with v 1.3.0.post3
[x] Migrates to smriprep-0.1.x, niworkflows-0.8.x, and templateflow-0.1.x

Tests corresponding 9983733 - https://circleci.com/workflow-run/c3746070-b10d-4137-8271-a6c4142ef0bc


Add linting via pre-commit, unpin quarto version in publish action

Hi @Sparrow0hawk
I noticed recently that the QR extension didn't work with the pinned version of Quarto in the .github/workflow/publish.yml when the GH Action ran so have unpinned it. At the same time made a few more tweaks, summary of changes...

Unpinned Quarto version in publish.yml action.
Added a clean theme quarto-revealjs-clean to the extensions
Extended the pre-commit hooks to include linting of Markdown via markdownlint-cli2 which I've started using recently.
Updated the README.md to cover these changes and applied the linting to .md and .qmd files.

Hope these contributions are ok, I'm wary of adding too much.

Thanks for your PR! It looks great and I'm happy with the changes suggested here.
This is also a good nudge to dust of this template for some slides I'll need soon!

Cool, thanks @Sparrow0hawk :+1:

Cool, glad you approve :+1:


Unreasonable disk usage for workers in k8s condor

After setting up htcondor-cc in the dev instance we can successfully run a single job IF we provide 200GB of ephemeral storage to the container running the condor worker.  Something (the worker image?) blows up the disk usage for the container (to 186GB).  Thus only a limited number of jobs can possibly be scaled out to the cluster (one per physical host).

@clundst is it still a valid issue?

I've taken all the condor workers out of k8s.


loop of loadMinimal is not working on andorid

hi，
LoadMinimal of examples loop set true and autoplay,but it can't from the last image to first image,always reload the last image.
I use RN0.44 and andorid 6.0(AVD).

I fixed this problem with src/index.js line 348 change offset[dir] = step to offset[dir] = 0.Now,it's worked.


💄 fix(style): add line-height to .section-title

Fixes an issue where section titles with multiple lines would be very close to each other. Other values are changed so single-line spacing is roughly the same.

Looks good to me! Thanks, Donovan.


Inconsistent EC2 Instance Listing Across AWS Accounts

Issue: Inconsistent EC2 Instance Listing Across AWS Accounts
I am using the AWS plugin for Steampipe, directly attached to a PostgreSQL database, and passing three temporary AWS credentials. I have multiple AWS accounts, each with the same IAM role attached via ARN, granting identical permissions.
After generating temporary credentials, I passed them to the PostgreSQL database using the following commands. I am able to successfully list S3 buckets and EC2 instances across most accounts, except for one specific AWS account, where I encounter the following error:

Commands to Attach Credentials to PostgreSQL:
CREATE EXTENSION IF NOT EXISTS steampipe_postgres_aws;
CREATE SERVER steampipe_aws FOREIGN DATA WRAPPER steampipe_postgres_aws OPTIONS (
  config 'regions = ["*"]',
  ignore_error_codes = ["AccessDenied", "AccessDeniedException", "NotAuthorized", "UnauthorizedOperation", "UnrecognizedClientException", "AuthorizationError"],
  access_key = "$AWS_ACCESS_KEY_ID",
  secret_key = "$AWS_SECRET_ACCESS_KEY",
  session_token = "$AWS_SESSION_TOKEN"'
);
CREATE SCHEMA aws;
CREATE EXTENSION ltree;
IMPORT FOREIGN SCHEMA aws FROM SERVER steampipe_aws INTO aws;

Error Message:
[ERROR]<PHONE_NUMBER>893: aws_ec2_instance.listEc2Instance: api_error="operation error EC2: DescribeInstances, https response error StatusCode: 401, RequestID: e32bnb570-9645-43df-1d8h-c0b394b98855, api error AuthFailure: AWS was not able to validate the provided access credentials"

Details:

This issue only occurs with one AWS account, despite all the ARNs having the same role attached, with full permissions to list EC2 instances.
I have ruled out the possibility of expired credentials, as the error occurs within 5 minutes of generating the credentials, and they are valid for 1 hour.
I also tried explicitly setting the region to us-west-2 and removing the ignore_error_codes option, but the issue persists.

To ensure the credentials are valid and have sufficient permissions, I created my own Steampipe plugin using the same version of the AWS SDK as the steampipe-plugin-aws. Interestingly, using the same credentials with my custom plugin, I was able to list EC2 instances from all regions, but when using steampipe-plugin-aws, the error occurs.
Here is a link to my custom Steampipe plugin for listing EC2 instances: https://github.com/aswin-kevin/steampipe-plugin-quark

AWS Plugin version:
v0.145.0
Could you please provide guidance or help in resolving this inconsistency?

Hi @ParthaI , just checking in on the status of this issue. Any updates or an ETA would be greatly appreciated, thanks!

Thanks for the immediate response @ParthaI. Appreciate it.

Hey @ParthaI ,
I’ve found a solution to the issue I was facing. It turns out that my keys aren’t able to list EC2 instances from the ap-south-2 region due to a problem on our AWS side (which we’ll resolve soon).
The issue occurs because I’ve set the regions to (*), so Steampipe tries to fetch EC2 instances from all regions. However, when it hits ap-south-2, it encounters an "AuthFailure" error, returning 0 results and breaking the entire flow. The process halts even though only one region is causing the error.
To address this, I added "AuthFailure" to the **ignore_error_code** block in the Steampipe configuration. Now, it bypasses the error in the ap-south-2 region and successfully fetches EC2 instances from the other regions, which is the intended behavior.
I was wondering if there’s a better way to achieve this? Additionally, I’d like to capture both the errors and the results if possible. The reason is, if in the future we encounter permission issues for a specific region or function, I’d like to be aware of the errors so we can enable the necessary permissions on our side.
Thanks!

Hi @ParthaI I'm using the aws plugin postgres FDW. Looks like the regions and ignore_error_codes fields are not taken by the plugin.
Does the aws postgres fdw supports ignore_error_codes and regions parameter ?
CREATE SERVER steampipe_aws FOREIGN DATA WRAPPER steampipe_postgres_aws OPTIONS (config '   regions = ["*"]   ignore_error_codes = ["AuthFailure", "AccessDenied", "AccessDeniedException", "NotAuthorized", "UnauthorizedOperation", "UnrecognizedClientException", "AuthorizationError"]   access_key = "$AWS_ACCESS_KEY_ID"   secret_key = "$AWS_SECRET_ACCESS_KEY"   session_token = "$AWS_SESSION_TOKEN"');

Ah, I see.

Does the AWS Postgres FDW support the ignore_error_codes and regions parameters?

Yes, according to the documentation here, it should support those parameters.
We’ll conduct further investigation and get back to you.
For reference, here’s a related discussion in the community channel: https://turbot-community.slack.com/archives/C01UECB59A7/p1726235163173639
Thanks!

Hello @aswin-kevin,
We haven’t received a response in a while, so we’re going to close this issue for now. If this is still a concern or if you have additional details to share, please don’t hesitate to reopen the issue, and we’ll be happy to assist you further.
Thank you for your understanding!


separate repo for git sekrets to encourage cross-platform usage

As requested by @konklone and outlined in an email by @rogeruiz on December 22:

[ ] the git-seekret documentation
[ ] seekrets-install
[ ] seekret-rules/*.rule
[ ] the BATS tests
[ ] modify the install script to point to a new location that isn't the 18F/laptop repository.

Things to be integrated in a single repo:
The main repository for git-seekret:
https://github.com/18F/git-seekret
and the main library it uses which is forked at:
https://github.com/18F/seekret

We might want to put this in the 18F/laptop repository. We will ultimately need to track three different repositories.

git-seekret this repo
seekret the library repo that this repo depends on
18f-git-seekrets-implementation / installation

Number three isn't something that necessarily requires it's own repository. If we modify the seekrets-install script enough, we can get enough of the cross-platform functionality @konklone was looking for. Windows support being another environment to support.

We already cover the installation without depending on the `mac` script. But it would be great to support the three major platforms starting with Linux. ( :eyes: source)

### Want to install just git-seekret?
curl -s https://raw.githubusercontent.com/18F/laptop/master/seekrets-install | sh -

git-seekret will install global git hooks into ~/.git-support/hooks. To restore pre-existing git hooks, it is recommended to save pre-existing hooks into a separate directory and to copy those hooks into ~/.git-support/hooks after git-seekret is installed.

:+1:


Uncaught (in promise) ChunkLoadError: Loading chunk 692 failed.

Description
For some reasons, a chunk starts to fail loading:

I didn't change anything and it starts failing. Any idea why and how to fix it?
Your Environment
Newrelic version: newrelic_rpm (8.16.0)
Ruby version: 3.0.4
Rails version : <IP_ADDRESS>

Experiencing the same issue, any updates on this?

We faced the same issue. It broke JS on a few pages of the app.
I hope the workaround will be found soon.

Will be properly silenced into a warning in upcoming v1225 cut!

@guillaumebriday-pa Thanks for letting us know about this issue! This appears to be related to the browser agent, and will be fixed in browser agent version 1225 (thanks @cwli24!)
I'll be closing this issue as it is not a ruby agent issue. Please see https://github.com/newrelic/newrelic-browser-agent/issues/392 for more information.


Best weights

Seems like a model never save proper weights and always use current ones.

works as expected now


How to give foreign key reference of a table in another database?

Environment
Knex version: "^1.0.1"
Database + version: MySql 8.0.23
OS: Ubuntu 20.04
Select applicable template from below.
@smorey2
Feature discussion / request

Explain what is your use case:  I have two databases (sso, and items). I wish to create a migration to create a new table belonging to items database that have foreign keys referencing to a table(eg. users) in sso database.

I am using:
table.integer('user_id').unsigned();
table.foreign('user_id').references('sso.users.id');

This produce the error:
migration failed with error: alter table `group_sale_items` add constraint `group_sale_items_user_id_foreign` foreign key (`user_id`) references `sso`.`users` (`id`) - Referencing column 'user_id' and referenced column 'id' in foreign key constraint 'group_sale_items_user_id_foreign' are incompatible.

Explain what kind of feature would support this: It would be great to have a feature where we can specify the database too like we specify the table using inTable('users').

Give some API proposal, how the feature should work: An API to which we can give database name and it will reference the table to that particular database's table.

cc @kibertoad

@ritikbanger - a quick google search provides this response.
https://stackoverflow.com/questions/4452132/add-foreign-key-relationship-between-two-databases
Cross-database foreign key relationships are not a feature of database design.
You can however design your own Application specific implantation like suggested in stack overflow. But I would recommend against it.
Alternatively you could use schemas as a way to isolate your entities and combine everything into one database.
either way, this is not a feature of knex. as it is not a database supported function.
thank you.
Sky Morey

Hi @smorey2 Thanks for the response, since it is not a feature of knex, Can I assume that I cannot create such a migration file? and instead need to create a table with cross-database foreign key relationship in the db dump itself.

@ritikbanger I am curious how you are planning to create a table with a cross-database foreign key?  AFAIK this is not possible, and not part of database design. But so could be incorrect.
Foreign keys are a tool to help with Data Reference Integration (DRI). But only within the same database. Cross-database DRI can not be ensured since database are separate entities which can be joined or left at any moment.

Aparently mysql allows this somehow. You can always just use knex.raw in your migrations.

@smorey2 I am using different knex configurations for different databases. I have a docker container for mysql dbs and I am giving cross-db references in my mysql dump, it do check for tables constraint and work well in the case. It is something similar to operate multiple microservices together.
@santialbo Could you give a specific example of using knex.raw in migration files for giving cross-db references so that it can check into a particular db and put up the constraint in another db.


Push nbt-0.6 to Hackage

I'm running into build issues with Stackage lts-5.0 because nbt-5.1 still uses cereal (>=0.3.4 && <0.5). This is no longer the case in nbt-0.6 due to glguy's version bump of the upper bound for compatible cereal versions, so Hackage needs to be updated.

Thanks for the reminder; not releasing it sooner was an oversight :+1:


nixos-rebuild overrides configuration.nix with weird XML 404 garbage

Describe the bug
When I run sudo nixos-rebuild switch or sudo nixos-rebuild test, my /etc/nixos/configuration.nix gets completely overridden with the following content:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>404 - Not Found</title>

404 - Not Found

Steps To Reproduce
Two main things that are probably important:

I'm running on Amazon AWS machine.
I'm pinning nixpkgs

My configuration.nix:
{ config, pkgs, lib, ... }:

let
  nixpkgs = import ../nixpkgs.nix;
in {
  imports = [
    <nixpkgs/nixos/modules/virtualisation/amazon-image.nix>
  ];

  # A workaround:
  # https://github.com/NixOS/nixpkgs/issues/62824#issuecomment-516369379
  boot.loader.grub.device = lib.mkForce "/dev/nvme0n1";

  ec2 = {
    hvm = true;
    efi = false;
  };

  system.stateVersion = "18.09";  # NOTE: Never edit this!

  # Put the pinned nixpkgs under /etc/nixpkgs so we can point to /etc/nixpkgs
  # and it'll update where it points to.
  environment.etc = {
    nixpkgs = {
      source = nixpkgs;
    };
  };

  networking.firewall.enable = true;

  security.sudo.wheelNeedsPassword = false;

  services.openssh = {
    enable = true;
    openFirewall = true;
    passwordAuthentication = false;
  };

  users = { ...... };

  environment.systemPackages = with pkgs; [
    vim
    git
  ];
}

And the file ../nixpkgs.nix that is imported:
builtins.fetchTarball {
  name = "my-nixpkgs";
  # nixos-unstable branch Jan 10, 2023
  url = "https://github.com/NixOS/nixpkgs/archive/c07552f6f7d4eead7806645ec03f7f1eb71ba6bd.tar.gz";
  sha256 = "sha256:1lw6wa6akj16ia6jjqb9dhq0yx6rkxzzqsb2bjh3r3f7s138bl0q";
}

Then, run sudo nixos-rebuild switch
Expected behavior
I've had this kind of setup for a few years now and it has worked. After I changed the pinned nixpkgs, it broke.
Screenshots
Additional context
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.86, NixOS, 23.05 (Stoat), 23.05pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(root): `"nixos-19.09pre174426.acbdaa569f4"`
 - channels(arttu): `""`
 - nixpkgs: `/etc/nixpkgs`

I got it fixed by running:
nixos-rebuild -I nixpkgs=/etc/nixpkgs switch

After that, the system was updated properly and I was able to continue using nixos-rebuild switch as before.
I don't really know why the original issue happened and why this solved. Perhaps this issue can be closed but I'll leave it open in case someone wants to check if there was an actual bug somewhere in nixpkgs.

I got it fixed by running:
nixos-rebuild -I nixpkgs=/etc/nixpkgs switch

After that, the system was updated properly and I was able to continue using nixos-rebuild switch as before.
I don't really know why the original issue happened and why this solved. Perhaps this issue can be closed but I'll leave it open in case someone wants to check if there was an actual bug somewhere in nixpkgs.

As no further work is necessary, ideally it should be closed. Search also lists closed issues.

that;s really really weird....if nixos was a city, this would be 'weird city'.
can you make it do it again?

I have a suspicion but I don't have an aws account to verify.

The ec2-metadata-fetcher.sh (invoked by azure-image.nix uses curl to download a "user-data" file from an AWS infrastructure server.
amazon-init.nix (also imported by amazon-image.nix) then tries to interpret that file as provisioning data. If it matches a certain regex, then it copies that file to /etc/nixos/configuration.nix

If the file downloaded in step 1 is a 404, then this can result in /etc/nixos/configuration.nix to contain a 404 error message. So setting virtualisation.amazon-init.enable = false; could be a workaround. If this is really the root casue of the problem, then I assume AWS changed something that makes the ec2-metadata-fetcher.sh script fail now.

Ok, that makes perfect sense, but blimey, it could probably do with some error checking that if it fails it should abort. Network resources are never guaranteed  to be available....

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1932

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1933

Closing as fixed, if my understanding of the linked PR and issue is proper.
Feel free to re-open if the PR wasn't a solution to this problem.


Add minify version with source maps

Thank you for the pull request, I really appreciate you taking the time to do this!
I've thought about adding these files previously, but I haven't done it — preferring to only serve the primary .js file and expecting users to minify and source map the code if they like.
Did you have a specific motivation for adding these files in? I'm not 100% sure it's the decision I want to make, but I'm open to it!

I had a problem with reusing code with browserify
module.exports = require('./lib/extend');
....
var is = require('is');

browserify try to resolve dependencies one again. but in this context require mustn't be resolve. minify code solve this problem.
Otherwise minified files is good.
Source maps is nessesary anyway.

Thanks for the additional information! I'll take a look at both #190 and this over the weekend when I have some time. Thank you for you contributions :)

@jessepollak what status of current PR?

This slipped, will actually look at this over the weekend, sorry!

Checking into the status of this.  We are in the process of cleaning up our code a little & ran into this issue.
Thanks for the great library!

@jessepollak We're encountering this issue as well -- our build process makes extensive use of browserify and so fails to inject the non-minified card.js. Is there any traction being made on this PR?

OK, I'm into merging this in, but I just changed the way I use payment (it now gets included as a dependency) and this PR is no longer working. I'm looking into it!

@jessepollak I rebase this PR to latest master, now it's word

Hm, now I'm getting another error:
/Users/jessepollak/repos/card/node_modules/gulp-uglify/node_modules/vinyl-sourcemaps-apply/node_modules/source-map/lib/source-map-consumer.js:703
        throw new Error('"' + aSource + '" is not in the SourceMap.');
        ^

Error: "/payment/lib/payment.js" is not in the SourceMap.

Any ideas? Sorry about the long delay — will make sure the next turnaround is faster!

I rebase to master and it's everythink ok


Lycheral Numbers

Is your feature request related to a problem? Please describe.
I would like to add a math section problem which is Lycheral Numbers, I want to implement it in c, c++, Java, and Python.
Describe the solution you'd like
I can write a code that has the Time complexity of   O((end - start) * 50 * d), where the start and the end are the range of numbers between which we check Lycheral Numbers.
Lycheral Number: A Lychrel number is a natural number that, when repeatedly reversed and added to itself, never forms a palindrome
I want to work under SSOC'23.

Assigned!
@saikiranreddy201 : C, C++, Python and Java

I would like to work on this issue.
I understand the issue. ✅


'fullScreenCover(isPresented:onDismiss:content:)' is only available in iOS 14.0 or newer

I have project with minimal iOS 16 version. After adding the dependency through SPM, got error in the Utils.swift file.

How to fix this problem?

Hey @st-small, please check out version 1.3.0, should be fixed there, have a great day!

Same error, I have 1.3.0 version


nwbuild hangs at "Launching App"

I am testing out nw-builder on a Windows 7 machine using a pretty simple setup (see below). I am running "nwbuild" as an npm script via nwbuild -r \"./src\". However, each time I execute this script the nw-builder tool re-downloads the NW.exe app (even though it already exists in the cache directory) and then hangs on the "Launching App" message. I am able to see that "nw.exe" is running in the background via the Windows Task Manager but I do not see any activity from it. Any help would be greatly appreciated.
package.json
{
	"name": "SampleApp",
	"version": "0.0.1",
	"main": "index.html",
	"window": {
		"toolbar": false,
		"width": 1024,
		"height": 768,
		"show": true,
		"frame": true,
		"resizable": true
	}
}

Also, it should be noted that subsequent downloads of the NW.exe app are placed one directory too deep (see example below).
First Download:
node_modules/nw-builder/cache/<version>/<platform>/[extracted-files]
Subsequent Downloads:
node_modules/nw-builder/cache/<version>/<platform>/<nwjs-version-platform>/[extracted-files]

Update: I pointed nw-builder to nw.js v0.11.6 instead of latest and everything started working. It seems that all of the builds based on io.js (not node.js) are failing on my windows machine.

Could you try running your app with the nw module and see what happens?

Mine was downloading the alpha build, I pointed it to 0.12.3  and it worked.
nwbuild -v 0.12.3 -r /path/to/app/

try
nwbuild -v 0.12.3 -r /path/to/app/
here it works!!

I dont think the -r option is valid for this question. The idea is to build a .exe not to run the app. I've the same problem and it does not work, even with the v0.11.6 version.
I'm trying to build the win64 version from my osx. Is that even posible? I've tried with all of these commands and the resulting .exe just creates some processes in Windows and nothing happens.
$ nwbuild -p win86 -v 0.12.3 .
$ nwbuild -p win32 -v 0.12.3 .
$ nwbuild -p win32 -v 0.12.3 .
$ nwbuild -p win64 -v 0.11.6 .
$ nwbuild -p win64 -v 0.11.6 -r .
$ nwbuild -p win64 -v 0.11.6 -r . -o ./build

any help will be greatly appreciated.

Update: Well It happens to be my old Windows machine. I created a virtual machine with a brand new Windows and the resulting .exe worked with no problems. I'm using the 0.12.3 version of nw.js

This could've been related to alpha builds like mentioned above. Should be ok as of version 2.2.1.


Building github.com/elastic/elasticsearch

custom configuration for org.apache.lucene/lucene-.. artifacts because their POM files point to placeholders that cannot be parsed by srclib, for example http://central.maven.org/maven2/org/apache/lucene/lucene-core/6.0.1/lucene-core-6.0.1.pom defines scm.url as ${vc-browse-base-url};f=${module-directory}

A couple comments, otherwise LGTM


Fixes #1747

@shubham3211 LGTM! Please squash your commits. Also, I guess author search is yet not implemented on the schedule page please add that, make another PR for it.

@agbilotia1998 done :+1:

@agbilotia1998  by author search you mean issue #1734

Okay @shubham3211 a PR is already opened for it.Thanks :+1:


Adding different images and description using Pinata

Hi, I was going through the simple_collectible tutorial , and wanted to experiment with my own image of a ticket.  I tried to modify the attributes with my own data in the file metadata/rinkeby/0-PUG.json with the following
{
    "name": "Ticket",
    "description": "FirstTickett",
    "image": "https://gateway.pinata.cloud/ipfs/IPFSCID",
    "attributes": [
        {
            "trait_type": "Mistake",
            "value": 100
        }
    ]
}

changing the sample_token_uri ="https://gateway.pinata.clou/ipfs/IPFSCID" which stores the actual image of the ticket. Ialso defined a ERC simple collectible as follows
contract SimpleCollectible is ERC721 {
    uint256 public tokenCounter;
    constructor () public ERC721 ("Ticket", "TICKET"){
        tokenCounter = 0;
    }

I can successfully compile and run both the deploy scripts as mentioned in the README. However , I dont really get the image in opensea dashboard and also the description doesnt change. Is this not the right way of creating unique nfts . I could be perhaps totally wrong in my understanding .
Another question ,is that in terminal ,  I alaws see error messages even if it compiles and deploys.  I wonder what is the reason. I understand it as a problem with linting of style . Screenshot below

Thanks for this issue! Sorry I'm only seeing it now. My notifications were setup weird.
It looks like you're trying to set your token_uri to be the same as your image_uri. Are you aware that the two of those are different? Your tokenuri is where the json file lives, and the imageuri is where your image lives.
Where are you seeing that error?

Closing due to inactivity


how do set FileDownloader use myself okhttp instance

how do set FileDownloader use myself okhttp instance

soooo.. Sorry, This is unable to support, from the current situation. Since the OkHttpClient instance is in a separate process :filedownloader.

But we will provide some common OkHttpClient interfaces in the next version, such as: readTimeout、connectTimeout...
if you want to share the connection pool, it is very tough for the current situation.

got it!

Can you also expose
okHttpClient.setSslSocketFactory
and
okHttpClient.setHostnameVerifier

@DevilGeek I got an idea what all you need, and I will do it.
You can set your custom okHttpClient what you are like on the Application#onCreate, when :filedownloader process is launching.


We need to store the signing key... somewhere, and we still need to store all of the data in the JWT on the server if we want to do session management.
The only benefit I can think of: not needing to make an extra request to some new endpoint to check your token's scopes. Worth it?


fix: Marketplace Apache Spark Cluster URL Slug

Description 📝
The documentation for the Apache Spark Marketplace Cluster is located at:
https://www.linode.com/docs/marketplace-docs/guides/apache-spark-cluster/
The current URL is wrong and needs to be fixed at: packages/manager/src/features/OneClickApps/oneClickAppsv2.ts
Changes  🔄
List any change relevant to the reviewer.

Change slug from apache-spark to apache-spark-cluster

Target release date 🗓
September 30, 2024
Preview 📷
See the bottom left where the URL slug is:

| Before  |

| After   |

Test failures on plan-selection.spec.ts and create-stackscripts.spec.ts are not related to the changes in this PR. Merging this now.


Impact on Hybrid Cloud Trust?

There is no mention in this document of any impact on Hybrid Cloud Trust, but in my testing a user moved into the Cloud Sync group cannot authenticate to on-prem resources without authenticating again.
Can I get clarification on whether this is expected behaviour before I take this up with support?

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

ID: 70e7def0-aa27-80ba-e2e5-94d83410e1a6
Version Independent ID: 4dd1fd12-2b06-ac78-e40b-a2d440ea181b
Content: What is Azure AD Connect cloud sync? - Microsoft Entra
Content Source: articles/active-directory/cloud-sync/what-is-cloud-sync.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@jpjm Thank you for your query . We will investigate and update the thread .

Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Thank you for submitting this issue.  Unfortunately, due to high volumes I was unable to respond to this in a timely manner.  At this point, I am going to close this due to it's age and the possibility that it may have been addressed.  If this is still a problem, please consider submitting a new issue.  Thank you.
#please-close