Creating the pseudotranscriptome

Hello,
I am trying to create a pseudotranscriptome using the following code:
gedi -e CreatePseudo -fasta /path/to/genome/GRCh38.p13.fa -gtf /path/to/genome/GRCh38.p13.annotation.gtf -o /path/to/output/pseudotranscriptome/
It looks like the code runs perfectly in about 43 seconds, with 0 warnings and 0 errors, but there are no output files created in my output folder. Are they generated somewhere else, or is there another issue? I have also checked the paths to the original reference files, but I cannot find anything.
I am using GRAND-SLAM 2.0.7b, I have placed the grandRescue.jar file (v1.0) in the plugins folder, and I am using a conda environment with samtools v1.12 and STAR v2.7.10b installed. I have also attached the output that is printed to the console.
mk_pseudotranscriptome.txt
Thank you for any help you can provide!

Hi jroubroeks,
from the output you provided it seems like all the steps ran without issue.
CreatePseudo creates some temporary files. They should also pop up in the specified output folder and will automatically be deleted afterwards. Can you see them show up in your output directory?
Also, could you run the CreatePseudo command with the -D flag and provide the complete output including error messages?
Kevin

Thank you for your reply!
I ran the command with the -D flag, but there are no warnings or errors. This is the output:
mk_pseudotranscriptome.log
I do see one temporary file (.fa) being created in the output folder, which disappears first around the point the pipeline gets to the 'Starting to create Genome Files...' part of the log file. At that point a new temporary file is created which also disappears once CreatePseudo finishes running.

It seems with the change of GEDI to a new java version, some minor issues swapped over to the grandRescue part.
I fixed the issue with overwriting/deleting the temporary files and it now should work properly. (Unfortunately, the run time seems  slower than before and I could not fix it yet).
Please check the new release and let me know if any further issues arise.

It looks like that did it! For me, it was also only 12 seconds slower than it was before.
Thank you very much for your help!

Hello,
While running gedi -e IndexGenome I am running into a similar error, where the log file also shows 0 warnings and 0 errors, but there actually does appear to be an error while running the code. I also do not see any .oml files being created in the .gedi/genomic/ folder.
Perhaps this is an issue that I should open on the gedi page, but since it seemed similar to my previous issue I wondered whether the problems are related?
These are the log files for indexing the genome/pseudotranscriptome:
index_genome.txt
index_pseudo.txt
Janou

Hi Janou,
could you run the command again with the -nomapping and -D flag and provide the logs?
If the -nomapping flag is not set, gedi will also create STAR, kallisto and bowtie indices.
Kevin


test macOS hashmap

With https://github.com/rust-lang/miri/pull/1130 landed, this should work now. Thanks @christianpoveda!
Fixes https://github.com/rust-lang/miri/issues/686

@bors r+

:pushpin: Commit 31fbb5a9b2553cd095144fd0a5af4c976a5a3ae5 has been approved by RalfJung

:hourglass: Testing commit 31fbb5a9b2553cd095144fd0a5af4c976a5a3ae5 with merge 86d7db4684594b402fb4182007db92cec6f0f938...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 86d7db4684594b402fb4182007db92cec6f0f938 to master...


Add private methods QPDFObjectHandle::asArray etc

Centralise casting of QPDFObjects and reduce repeated dereferencing.

I don't like the name asStreamWithAssert. Any sugggestions?

There are too many changes here for me to accept this without a discussion. I have scanned through the code, but I will have to do a more thorough review so I can try to figure out what you're trying to accomplish here. There are things that look like temporary code too but I have to inspect more carefully.

These are bits and pieces on the way to #726 which I felt would make sense even if you decided against splitting QPDFObject.
I put them into a single PR because of merge conflicts. Once you decide which ones you like I will do individual PRs in sequence.
We can discuss the individual commits later.  (Dinner time over here)

Not worth considering at this time.


How to use a mat-autocomplete

Is it possible to use a mat-autocomplete in a cell in the table?
In addition, then typing in the autocomplete component the filtering should be done using a http call, like they do in this example: https://stackblitz.com/edit/angular-nku8fq?file=app/app.component.ts
The hardest thing for me to wrap my head around is how to react to changes to the autocomplete input field and do the filtering, like they do in the example I linked to:
this.filteredOptions = this.myControl.valueChanges
      .pipe(
        startWith(null),
        debounceTime(200),
        distinctUntilChanged(),
        switchMap(val => {
          return this.filter(val || '');
        })
      );

How do I get hold of the form control for each row and subscribe to its changes?
Any suggestions?

Hi @ulejon,
Yes it is possible. The way I see it you can do it at least in two different ways:
1- If you are defining a ValidatorService instance at the time of creating the datasource, on each new row you instantiate you can access to row.validator.controls['nameOfTheFormControl'], and subscribe to it like in the example you provided. So, in the event that triggers creation of a new row (click on a button for example), instead of calling dataSource.createNew(), you can call a custom method in your component that does the following:
dataSource.createNew(); // Create the new row
const row = dataSource.getRow(-1); // To get the new created row.
... // At this point you can access row.validator, which is a FormGroup with all FormControls inside.

2- Define a (change) event handler in the input asociated with the autocomplete, which calls a method with the current text in the field as a parameter. That method will load the desired data to the list asociated with the autocomplete field as desired.
I hope it helps.
BR

Hi and thanx @irossimoline! I will try out approach no 1, I think that is the most fitting solution for me. Much appreciated!

Great, @ulejon. If you have any issues regarding to that please share your approach with stackblitz or some other. Otherwise, feel free to close the issue.

@irossimoline I'm having some issues with approach 1. I'm trying to create a stackblitz that I can show you, but I'm having issues with that as well. I'm unable to add angular4-material-table as a dependency. It says that I also need to install dependency @angular/cdk/collections. Have you successfully created a stackblitz with angular4-material-table?

I didn't use it at stackblitz, but you can start from this example on plunkr.

@irossimoline Here's the link to a simple plunkr
If you bring up the console you can see that I it works with subscribing to new rows. But how do I subscribe to the rows initially loaded from the service?

@ulejon, on that case you can try the following:

Create a new field for your model, that will hold a Subscription value.

On editing rows, check if subscription does not exist before calling row.startEdit(), and create one if not, storing it on the new field of your model. For this, you will have to call the row.startEdit() from a method into your component, like you did with dataSource.createNew().

Your template code will have something like the following:
<button *ngIf="!row.editing" mat-icon-button color="primary" focusable="false" (click)="myStartEdit(row)">
  <i class="fa fa-pencil mat-icon"></i>
</button>

And your component.ts file should have the implementation for the invoked mehod:
myStartEdit(row: TableElement<ModelObject>) {
  // Check if subscription exists.
  if(!row.currentData.subscription) {
    // If does not exists a subscription, create one and store it in the `ModelObject` new field.
  }

  // Now you can start editing.
  row.startEdit();
}

On new rows, create new subscription and store it in the ModelObject new field.

On deleting rows, check if the subscription exists. If exists, then unsubscribe before calling row.delete(). PS: I'm not exactly sure if unsubscribe in this specific case is mandatory to prevent memory leaks or not. Maybe you can try this approach, and investigate a bit further about rxjs subscriptions and memory leaks. If you can't get an answer try raising an issue on Angular or rxjs git repo to ask about this specific case. I'd also encourage you to post your results here for the record.

Tell me about the results of trying this approach.

@irossimoline, thank you for the detailed response! I'm pretty sure this approach will solve my problems. I won't be able to try ut out for a couple of days. I'll close this issue for now and later update it with the results.
Thank you again,
Cheers


Throw if inlay hint text is not a string

After https://github.com/microsoft/TypeScript/pull/54734, the inlay hint text may be an array if interactiveInlayHints is set. The array would need to be transformed from the TS protocol into the VS Code / monaco protocols (converting locations / offsets / URIs / etc), but that's not done here (yet?), and so causes a compiler error in our pipelines that build the nightly / PR playground.
This change works around the problem by asserting that the text prop is a string, which should always be the case in monaco (for now) as interactiveInlayHints is not enabled.
This code is safe for existing versions of TS before 5.2; the check will just be a noop.
Marking as a draft pending a discussion as to if the API we have merged is the "final" one, or if we think it'd be better to just use another prop and then set text: "" or something.

The API was fixed to be backwards compatible; closing this.


⚠ GitLab Server has degraded performance

In cca6adb, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 8861 ms

Resolved: GitLab Server performance has improved in 94a4100.


Document keyboard shortcut and how to configure it.

This is a workaround for #27.  You can configure a rarely used shortcut that's less likely to conflict with something else.

Thank you!


Add support for --no-cache override

When debugging a config file it's helpful to turn off the cache. A command line override of --no-cache could be used to override the config's cache definition.

PR #556


Integration test results

In lieu of actually having the automated tests running correctly... possible tomorrow, most likely week after next though. He's a report from my machine.
I'm going to do this at least once a day until we have the automation, as it should motivate me to you know, do that. But in the mean time it gets some feedback faster.
The basic setup is a fresh install with the default settings, so HQ and no users set but the installed ones. There's a file in the test directory were you can make new "cwms users" as needed,  adding the user again is a "no op" in cwms so there's no failures to worry about with duplication.
I'm pretty sure some of the test are failing because the work isn't complete and in progress. I recommend just annotating the class with @Disabled("<a reason>") so this report can be more focused.
Also I'm just going to keep adding each report to this issue.

integrationTests-2024-07-11.zip

@zack-rma FYI.

I see the problem with versioned and have a fix for it.   The problem with Projects has already been fixed in a different pr that is waiting for you to resolve comments

I see the problem with versioned and have a fix for it. The problem with Projects has already been fixed in a different pr that is waiting for you to resolve comments

I'm attempting to write a versioned TS w/ CDA 3.1.3 and getting a 500 error. Would this issue be the reason?
{   "message": "Internal Error",   "incidentIdentifier": "-7273730038755828008",   "details": {} }

@msweier  Unfortunately that doesn't have enough info for me to know if its related or not.  CDA doesn't give users the full details.  You'd need to match up that incidentIdentifier with the message and stack trace that is probably in the tomcat logs.  My comment was in response to the failed integration tests that Mike posted in the zip.  Coverage is not perfect but most of the end-points have integration tests verifying functionality

Just tested Release 3.1.5-RC06-SNAPSHOT and versioned timeseries worked like a charm! Thanks guys!


Publish to Github appears before Git extension scans for open folder

From @JacksonKearl:
The Publish to Github welcome view command can appear before the Git extension has time to detect that there is actually a repository in the open folder.
We should make that welcome view contribution depend on an additional context key which indicates when the Git extension has scanned the open folder for any repositories.

@JacksonKearl Can you verify this one?


update README

The options figure in the README didn't end up looking that great in dark-mode to me, and some of the text was more related to the MUSICA library. I replaced the figure in the README with a short text description and links to the dependencies, but left the figure in the docs. See what you think.
Also, I moved the note about version 3.x.x being a refactor to the top of the README so it's more visible.

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

Comparison is base (d5946ac) 97.00% compared to head (7d5730d) 97.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #313   +/-   ##
=======================================
  Coverage   97.00%   97.00%
=======================================
  Files          34       34
  Lines        2667     2667
=======================================
  Hits         2587     2587
  Misses         80       80

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


Split compound actions (Lair Actions and Legendary Actions) into their individual components.

Problem: Lair and Legendary Actions are imported from DNDBeyond as single actions. This means that the actions cannot be used as-is once they are imported. A user must manually split them up.
Solution: It would be convenient if these kinds of actions would be automatically split up, so that they can be immediately usable.

Can you give an example of a Legendary action that does this? They should be split. Lair actions are a lot more difficult as the formatting is not consistent and is often not easy to parse out.

Ah, I misread an enemy's stat block - you are correct, legendary actions are parsed. It's just lair actions that are missing.


Fix link

Can you get the Processor README as well?
https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/eventhub/Azure.Messaging.EventHubs.Processor/README.md

API change check
API changes are not detected in this pull request.


Update Agent button in dashboard doesn't life cycle

There seemed to be a deploy going on when I clicked, so I didn't immediately notice that clicking this added a number to the number of tasks. I did finally notice that it does create a task and show that it's running, but otherwise there is no clear indication that clicking it worked.

Fixed. Now it uses the same button/styles as other save buttons.


2 identical IIS schema files aspnetcore_schema_v2.xml and aspnetcore_schema.xml

Describe the bug
After installing ASP.NET Core 3.0 Runtime and Hosting bundle I've noticed that there are 2 identical IIS schema files installed under C:\Windows\System32\inetsrv\config\schema.
To Reproduce
Steps to reproduce the behavior:

Install the hosting bundle on a clean box
observe the contents of C:\Windows\System32\inetsrv\config\schema
compare the 2 aspnetcore files and see that they are identical

Steps to reproduce the IIS manager confusion

Install the .NET Core 2 hosting bundle on a clean box
observe the contents of C:\Windows\System32\inetsrv\config\schema
iisreset
Verify that IIS manager can edit the aspnetcore settings
install .NET Core 3 preview bundle as above
iisreset
observe that stdOutLogFile is missing from the config
observe that there are 2 schema files with the same settings

Expected behavior
There is no need to have 2 files for the exact same schema.
This seems to be a bug with a minimal impact if you only install .NET Core 3 bundle, but can cause some confusion if there were previous versions.
When installed on top of the .NET Core 2.1 version IIS manager actually got confused and didn't show the standard stdOutLogFile option in Configuration editor.
Uninstalling all versions and re-installing .NET Core 3.0 preview bundle fixed the issue but it now has 2 identical files.

@muratg Let's make sure everything work for this scenario in 3.0.

Triage: we're not planning to change anything here.


[Cartridge - suggestion] Extend the cartridge configuration mixin.

Right now, as of Core 0.11 / Components 0.7.4, the cartridgeConfiguration mixin only supports a subset of the possible configuration updates of the cartridge. There are a few parts of the header/cartridge that can only be set and update through a direct handleViewAction() call, such as the BarRight component for instance (BarLeft can be updated though).
My first suggestion would be then to update the cartridgeConfiguration mixin to full support the whole range of supported header/cartridge updates.
In addition, by default, the header has two (or three?) sizes: small, medium (and large?). There is currently no way to remove this behaviour, like #671 would want. There is a sizeMap that is supposed to control how the switching between the sizes should work, but I'm not sure it works as it should as I didn't (and others didn't either) manage to achieve the #671 wanted behavioue with it.
My second suggestion would be to rework the way the sizeMap works (and add it to the cartridgeConfiguration of course) to be a list of desired sizes with their attributes, like this for instance:
sizeMap = [
    {
        name: 'small',
        height: '100px',
        displayWhenScrollInRange: [300, 1000]
    },
    {
        name: 'medium',
        height: '300px',
        displayWhenScrollInRange: [0, 300]
    }
]

That could also be used to solve the 'zigwigwi' issue since changing the sizeList could prevent the behaviour from happening.
Third suggestion: it would be awesome if we could define a default cartridge/header in the layout initialization, and that for each parameter that isn't provided in the cartridgeConfiguration the default value is taken instead of nothing/the previous value.
.

@JabX please respect the CONTRIBUTING guidelines https://github.com/KleeGroup/focus-components/blob/develop/CONTRIBUTING.md

Feel free to push a pull request :)


CI broken because of shellcheck

Shellcheck fails because of the which command
In scripts/bootstrap.sh line 55:
    printf "Vagrant installed in %s\n" "$(which vagrant)"
                                          ^---^ SC2230: which is non-standard. Use builtin 'command -v' instead.
In scripts/bootstrap.sh line 120:
    printf "Virtualbox installed in %s \n" "$(which VBoxManage)"
                                              ^---^ SC2230: which is non-standard. Use builtin 'command -v' instead.

Fixed.


Can't give the intellisense of "with"

The intellisense didn't give the tips of the key word "key"

Check your settings. Have you enabled suggestions for keywords?

Thanks for the bug report. I've confirmed that the completion provider was missing support for the with keyword. This will be fixed in the next release.

fixed in 2021.11.1 release


PSD return value fails within database

'LFP_RIGHT_0_LFP_RIGHT_2_welch_psd_0.0' is not a valid key name in sqlite database.
Replace str to int conversion in oscillatory.py

Solved by 8cf5156


nixos/zfs: remove incorrect conditional use of spl kmod; remove withs

Description of changes

Things done
nix-build -A nixosTests.zfs on x86_64-linux.

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Eval is failing


 Fixed u-boot resin vars

Fixed mnt-sysroot-active.service: Failed with result 'exit-code'.
No kernel-root variable was passed to the kernel cmdline, which
prevented symlinks to be created at /dev/disk/by-state/
Changelog-entry: mnt-sysroot-active fixed
Signed-off-by: Alvaro Guzman<EMAIL_ADDRESS>

Is this PR still needed? Can it be closed if not?

Hello,
no, it's been replaced by the other three that are already merged. I'm closing it.
Thanks!


Move a specific regex to static variable

Fixes #333
I measured the time taken to compile the regexp at startup and it's unnoticeable for these regexp, so I don't think we need the added complexity with sync.Once.

imo the principle is what's important - as @spencerschrock right now it happens that scorecard is scanning a large amount of yarn lockfiles relative to other lockfiles, so that's why this seems the slowest but that could very easily change and I know there's a huge regexp for requirements.txt which will have an impact.
So while I agree it's not necessarily worth the extra complexity of sync.Once for this case, I think it would be worth considering the principle on "should this regexp be global or not?" (to which sync.Once should mean no one has to actually debate over the benchmarks, as the rule can be just always use that and don't worry about it).

@G-Rath Good point, I added a utility function that'll cache regex's globally and replaced most instances of regexp.MustCompile with it, so it should be relatively painless to use in the future as well. PTAL

I like the cached regex package approach, provides a simple replacement call without sacrificing readability or usability conventions that a caller would be responsible for following.
Wasn't aware of sync.Map but it seems like a good fit:

The Map type is optimized for two common use cases: (1) when the entry for a given key is only ever written once but read many times, as in caches that only grow

fwiw it looks like this package provides exactly what you want, and doesn't have any other dependencies

It does look like basically what is implemented here, but since this is just a couple of lines, I don't think it's necessary to pull in a dependency.

It does look like basically what is implemented here, but since this is just a couple of lines, I don't think it's necessary to pull in a dependency.

+1. It's pretty trivial, and not worth adding this to our supply chain.


layer index error with openlayer v3.8.2

When you added index in your layer object.
angular-openlayers-directive use the method: insertLayer in the line 2031 make a loop with:
while (layers.getLength() < index) {
layers.push(null);
}
New version openlayer not support insert null object.

Should be solved by #207 which is currently under review.


Bursa Malaysia Extraction Features

This PR is adding the capability of the Bursa Malaysia plugin to extract data from and parse it properly for the following pages.

company profile
company announcement.

The Specs are for all the public facing API/Function is been written and the mock is also added into the PR

@rizmanhariz  , please check the codes and see if the code is clean and easily understandable from the stand point of any new person coming to the project.


47022173: 3D Segmenting prostate MRI scans using 3D Improved UNet

Task 4 - Hard Difficulty. This project uses a deep learning model, the 3D improved UNet, to segment 3D MRI scans of the prostate. The model segments the input MRI scans into background, body, bone, bladder, rectum, prostate. This project aimed to achieve a dice score of greater than 0.7 across all labels.
Added Files:

dataset.py - Contains the ProstateDataset3D class to load and process the images and masks for a dataloader.
driver.py - The driver code to run training or inference using the command line.
modules.py - Contains the Modified3DUNet class which is the model for this task. It also has a function to init weights for the model.
predict.py - Contains example usage of the code and visualisations.
train.py - Contains the validate and train loops (as functions) and a function to save predictions for checkpoints.
utils.py - Contains various constants used throughout the code e.g., default hyperparameters, model dimensions.
requirements.txt - Dependencies.
assets - Folder containing images for readme.

This is an initial inspection, no action is required at this point
Recognition problem:
Problem Solving: (5)
•	Algorithm solves the problem and achieves a Dice score of above 0.7 for all labels.
Algorithm implementation: (3)
•	Algorithm implemented in PyTorch for the improved UNet3D model and functions.
Design: Good coding design (1)
Commenting: Clear and sufficient comments throughout the code (1)
Difficulty: 3D Improved UNet – Hard (10)

Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
Header blocks.
Recognition Problem
Good solution to problem.
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage.
Module present.
Commenting present.
No Data leakage found.
Difficulty : Hard. UNet3D (Hard Difficulty)
Commit Log
Good Meaningful commit messages.
Good Progressive commits.
Documentation
Readme :Good.
Model/technical explanation :Good.
Description and Comments :Good.
Markdown used and PDF submitted. PDF checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch). On time submission.
No Feedback required.
Request Description is good.
TOTAL0

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Segmentations not one hot encoded -2 additionally

Good work


preferable JSON style

Hi guys!
I'm thinking about json fields naming style in your project. Now you use '-' as separator. For instance: 'consensus-algo'. But in JavaScript it will be problem because we can't use '-' in variable's name.
There is workaround for JS: data["consenus-algo"] or data["some long name"].
But may be it will be more comfortable use something like '_' or camelCase? What do you think ?
I have just found Google Style : https://google.github.io/styleguide/jsoncstyleguide.xml
it's up to you, just want know your decision/opinion

Fixed some places with incorrect json style.
If you find any more incorrect JSON responses - please, let us know!

Thank you for choice!


Node Pools

[Terms used system agent pool, system node pool, and user agent pool, user node pool -- is there a difference between "agent" and "node"?]

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

ID: 838efbb3-0d7d-8c8c-fbf6-afcbb7d97fc5
Version Independent ID: 33ca9f57-a4d4-d222-1f0e-9927f0a0440a
Content: Understanding agent pools in Azure Operator Nexus Kubernetes service
Content Source: articles/operator-nexus/howto-kubernetes-cluster-agent-pools.md
Service: azure-operator-nexus
GitHub Login: @dramasamy
Microsoft Alias: dramasamy

@pgoyal01
Thanks for your feedback! We will investigate and update as appropriate.

Fixed via PR 271157 (private).
#please-close


ISSUE: The Mail USPS Package is not updating

Describe the bug
The Mail USPS Package is not updating just the mail
Environment (please complete the following information):

Home Assistant version: 2024.8.2
Docker
Component version: 0.4.0

Logs
there is no logs . try to activate the debug but did not generated anything
Screenshots
Email receive

Info on HA

Additional context
Add any other context about the problem here.
Please add emails in plain/text format if possible and applicable.

Packages are not updated from the daily digest. Please review the USPS configuration in the wiki.


Add WithPgWeb

close: #3081
Microsoft Reviewers: Open in CodeFlow

@Alirexaa this is looking pretty good. A few minor things. We'll need a docs issue/PR filed for this as well (probably just updating the existing doc page for Postgres).

@mitchdenny besides these things, this PR needs more to do, right now bookmarks populate in pgweb but when selecting one of those to connect, connection refuse occur.
Also need to write some tests

To pass all tests we need to import docker.io/sosedoff/pgweb/latest to netaspireci.azurecr.io

@eerhardt could you please import docker.io/sosedoff/pgweb/latest to make ci green?

Can you please add some information in PR description, maybe even just links to pgweb?

@eerhardt could you please import docker.io/sosedoff/pgweb/latest to make ci green?

I've pushed it to the netaspireci.azurecr.io registry. However, I don't believe the test will pass because the CI machines don't have Docker Desktop installed, which means there isn't network communication between the containers.

@eerhardt could you please import docker.io/sosedoff/pgweb/latest to make ci green?

I've pushed it to the netaspireci.azurecr.io registry. However, I don't believe the test will pass because the CI machines don't have Docker Desktop installed, which means there isn't network communication between the containers.

What can I do for that?

What can I do for that?

For now we've been disabling the test in CI until the problem can be resolved.

/azp run


Melt diagram doesn't accurately represent the melt function ?

https://github.com/kailashahirwar/cheatsheets-ai/blob/master/Pandas-1.jpg
shouldn't it turn
[ grey] [ grey ] [ grey ]
[ green] [ green] [green] etc

The pivot color coding is also incorrect

I will check

Awesome man, I add some addition as it seemed There were some unresolved conflicts,hopefully this resolved version addressed it.
1 Sometimes files cannot be automatically
2 merged because your local changes conflict
3 with the changes from the commits merged.
4
5
<<<<<<< HEAD
6 Use the Resolve tool to make this easier.
7 You can handle several files at once just
8
dragging in the parts of the file you want
9
to keep and dragging out to discard.
10
11 Use all chunks from HEAD or temp by tapping next to the filename.
12 >››>>>> temp


Ease of Contributions and Repo Maintaince

Thank you for your hard work maintaining the repo. I would like to suggest and propose a few items which I believe will help ease future contributions to the repo and create a bit of structure around contributions in the future.
If our goal is to complete previous commitments laid out in issues, we must allow and facilitate PRs with good easy CI and tests.

[x]  Fix CI From Travis or Replace it with Github Actions https://github.com/bithavoc/express-winston/issues/272

I created a PR for the github actions here; https://github.com/bithavoc/express-winston/pull/274

Other Nice to Haves

[x] Add a PULL_REQUEST_TEMPLATE.md which will populate the PR description and provide a structure that facilitates communications for PRs.

I added a basic template in this PR https://github.com/bithavoc/express-winston/pull/274

[ ] Dockerize the project for uniform development / test environments in containers.
[ ] Add a CONTRIBUTING.md or How to Contribute section to the README.md

also for long term, a Contributor Code of Conduct is an ideal but practical structural changes are more important at first.

@bithavoc  thoughts?


AssertionError: Torch not compiled with CUDA enabled

Hi, Im trying to run main.py for the animal dataset.. However im unable to do getting below mentioned error. Kindly assist thanks.
File "main.py", line 92, in
model = Seq2seq(encoder, decoder).to(device)
File "C:\Users\Anaconda3\lib\site-packages\torch\cuda_init_.py", line 210, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

i ran the code without cuda.. it worked.. thanks..


How do I set custom variables?

Hi. New to Hugo, but love it so far. Can anyone help my understand custom variables better? I'd like to set some site-wide custom variable to call into templates: for example, a Twitter username that will be used on the Homepage, and the footer of single posts.  I'm using the default config.toml file for config.

For anyone else who stumbles on this issue in the future, the relevant section in the docs is here.

Correct link as of this comment: https://gohugo.io/variables/site/#the-siteparams-variable


[Bug]: Failure in parsing HSR settings

Affected Version
Collapse 1.71.9
Bug Behavior
When trying to change settings for Star Rail, I encounter this error and it doesn't let me change anything. The settings page in game is also bugged for me as I had 120 fps option on.
The error shown is here:
System.Exception: Failed when reading game settings GraphicsSettings_PCResolution_h431323223
Please open the game and change any graphics settings, then safely close the game. If the problem persist, report the issue on our GitHub
System.Text.Json.JsonException: '0' is an invalid end of a number. Expected a delimiter. Path: $.width | LineNumber: 0 | BytePositionInLine: 47.
 ---> System.Text.Json.JsonReaderException: '0' is an invalid end of a number. Expected a delimiter. LineNumber: 0 | BytePositionInLine: 47.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader&, ExceptionResource, Byte , ReadOnlySpan`1 )
   at System.Text.Json.Utf8JsonReader.ConsumeNumber()
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader&, Type, JsonSerializerOptions, ReadStack& , T& )
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader&, Type, JsonSerializerOptions, ReadStack& , T& )
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& , JsonReaderException)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   at System.Text.Json.Serialization.JsonConverter`1.ReadCoreAsObject(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1, JsonTypeInfo, Nullable`1 )
   at System.Text.Json.JsonSerializer.Deserialize(ReadOnlySpan`1 , Type, JsonSerializerContext)
   at CollapseLauncher.GameSettings.StarRail.PCResolution.Load()
 ---> System.Text.Json.JsonException: '0' is an invalid end of a number. Expected a delimiter. Path: $.width | LineNumber: 0 | BytePositionInLine: 47.
 ---> System.Text.Json.JsonReaderException: '0' is an invalid end of a number. Expected a delimiter. LineNumber: 0 | BytePositionInLine: 47.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader&, ExceptionResource, Byte , ReadOnlySpan`1 )
   at System.Text.Json.Utf8JsonReader.ConsumeNumber()
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader&, Type, JsonSerializerOptions, ReadStack& , T& )
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader&, Type, JsonSerializerOptions, ReadStack& , T& )
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& , JsonReaderException)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   at System.Text.Json.Serialization.JsonConverter`1.ReadCoreAsObject(Utf8JsonReader&, JsonSerializerOptions, ReadStack& )
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1, JsonTypeInfo, Nullable`1 )
   at System.Text.Json.JsonSerializer.Deserialize(ReadOnlySpan`1 , Type, JsonSerializerContext)
   at CollapseLauncher.GameSettings.StarRail.PCResolution.Load()
   --- End of inner exception stack trace ---

This is also attached here: DxDiag.txt
Expected Behavior
Collapse should have allowed me to open the settings page.
Steps to reproduce

Open the launcher
Click the settings tab from Star Rail
Error occurs

Related Issues
No response
Screenshot(s)
No response
Additional Information
No response

Hello! Thanks for reporting the issue. We are currently aware that this is a problem for some users and are looking into trying to resolve the issue on our end.
This happens when you force close the game while it is still writing to the settings registry file. There currently is no "easy" way to resolve this issue, so you're going to have to go into the registry and delete the associated key so that the game can recreate it during the next startup. Here are the steps to resolve the issue presently (note that you may need Administrator privileges to proceed):

Open your start menu and search for "Registry Editor". If nothing shows up, do WinKey + R, then type regedit and hit Enter.
Navigate to the following path: Computer\HKEY_CURRENT_USER\Software\Cognosphere\Star Rail
Delete the associated key (in your case, this would be GraphicsSettings_PCResolution_h431323223)
Restart Collapse and attempt to relaunch the game

Please let us know if following the steps above resolve your issue. We apologize for any inconvenience caused. While we are currently working on resolving, the fix may take some time to ship due to the complexity of the issue. Thanks again for reporting the issue!

Hi, I have made a fix in commit https://github.com/neon-nyan/Collapse/commit/196739a6314ccb8dbaf33677dbb1e0cbd43f868d
you can test the debug build in https://r2-render.bagelnl.my.id/misc-stuff/net7.0-windows10.0.22000.0.7z
Just extract and run the CollapseLauncher.exe
As a note, since this is a debug build, it will be a bit slower than release, and you might need to install some dependencies that it asks (mainly .net7)
Let us know how it goes


Getting ArgumentNullException exception on calling System.Management.Automation.PowerShell.Create() when publishing a single file exe

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce

Create a dotnet console app.
Add nuget package System.Management.Automation, Microsoft.Powershell.SDK
Write below code in  Program.cs of the console application

var shell = PowerShell.Create()
            .AddCommand("Set-ExecutionPolicy")
            .AddParameter("Scope", "Process")
            .AddParameter("ExecutionPolicy", "Unrestricted")
            .AddScript(
                $"Write-Host 'Hello World!'");

        var results = await shell.InvokeAsync();

Run dotnet publish -c Release -o .\bin\Publish --self-contained true --runtime win-x64 /p:PublishSingleFile=true
then `cd  .\bin\Publish
run the exe file.
You'll get below error:

 System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
         at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
         at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---

Expected behavior
should not throw exception.

Actual behavior
Throwing System.ArgumentNullException exception

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

I believe the problem is that PowerShell uses the location of System.Management.Automation.dll to get the location of $PSHOME which is what fails when built into a single exe.  I was working on a change to allow building pwsh as a singleexe (which as other problems), but I can submit a simple change that would (I think) fix your problem.

#23797
#13540
Such a big repair, thank you ！ I will tell my father

@mySCHOTT there is no intent to support WinPS5.1 with single-exe


Can you add typescript support?

Can you add typescript support?

Out of curiosity, are there things @types/lokijs isn't covering? The only item I've really come across so far is the $exists operator which isn't exposed on the top level. It might be helpful to have a list of types that need fixing.
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/lokijs/index.d.ts
Based on the type file history, it seems very receptive to PRs as well.

Unfortunately, the typing definition provided by @types missed some detail about many classes, marked a lot of things as any which make the definition less useful, and most important, not included the typing for all adapters.

Based on the roadmap I don't think a TS migration is planned. We can either add our own .d.ts or PR against @types/lokijs. My suggestion is we improve the external types when we bump against rough edges since those already have tests in place and cover a lot of Loki's API surface area.
A quick list of changes for those who are really good at typings:

address any usage. Where possible, any should become unknown

LokiOps should probably become a generic LokiOps<E = unknown>, with LokiQuery passing this type information in. Just typing the LokiOps will remove a lot of any. here is how Mongo types their filter operations

add the $exists operator ref
add missing adapters and adapter methods

LokiFsStructuredAdapter
LokiIndexedAdapter
LokiPartitioningAdapter official docs do not mention a lot of methods in the types

Additional Context:

A ts fork of Loki was made (last updated 2020 and appears abandoned). Meanwhile, the Nozbe team did several IndexedDB improvements in 2021 and techfort sees to be merging PRs again.
There are some Loki alternatives out there with TS support, but all seem to end up in a pile of abandoned software
As a last resort, if you need a fully typed in-memory DB with query support, I'd recommend either typicode/lowdb or a combination of fake-indexeddb & Dexie. Not to be dismissive of the typing problems, but specifically because typing something as complex as Mongo / Mango style filtering operations is really difficult to add after-the-fact.

I spent 6 days fully reviewing most of Loki's code (~6000 lines), and finally came to the conclusion that perhaps we need some house-keeping work to modernize the project and improve the code quality.
In addition, the mongo-like query is not the most difficult thing, and the writing typing definition for the Transform API and the lens implantation ((getIn)[https://github.com/techfort/LokiJS/blob/master/src/lokijs.js#L125] and (deepProperty)[https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/src/lokijs.js#L7485]) is even more desperate, I've did a lot of experiment about these API and finally.
Maybe I should write a complete code review report but it's too late today, maybe it will happen after I finished reading the last part of the source code.


WIP: Reworks tracing to use RequestContext natively

Before, we used lifecycle hooks to ensure trace contexts didn't leak.
Now, we have Brave use RequestContext directly. Yay.
Note This is raised early to solicit feedback. Checkstyle and unit tests will come after we know it is also ok with others :)

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

this is the first output of hacktime in Fukuoka with @kojilin and @anuraaga!

fyi a comprehensive test on the trace context will need to wait for the next brave release as it had a bug
Here's what it will look like, and this passes with https://github.com/openzipkin/brave/pull/749
public class RequestContextCurrentTraceContextTest extends CurrentTraceContextTest {
    DefaultAttributeMap map = new DefaultAttributeMap();
    @Rule
    public MockitoRule mockitoRule = MockitoJUnit.rule();

    @Mock(answer = Answers.CALLS_REAL_METHODS)
    RequestContext mockRequestContext;

    @Before
    public void setup() {
        when(mockRequestContext.attr(isA(AttributeKey.class))).thenAnswer(
                (Answer<Attribute>) invocation -> map.attr(invocation.getArgument(0)));
        mockRequestContext.push();
    }

    @Override
    protected CurrentTraceContext newCurrentTraceContext() {
        return RequestContextCurrentTraceContext.INSTANCE;
    }
}

ok I think we are good to go!

What about avoiding nested ifs with early termination?
I started to do this, but elicited a "yik" comment locally :P It is a
matter of style I personally prefer, but can understand if others
don't like

the reason for inner class is toString that's all. (also brave is by
default java 6, so sometimes I forget) :P

your call.

@trustin I think I got all your notes. very good ones!

okie dokie.. pushed based on last notes. we are off to lunch and will handle anything else when back!

I didn't want to mention newBuilder.build because this will create an
incomplete instance of tracing. more intended to say how to patch where one
is already creating their builder.
ex there is no valid reason to call
tracing.newBuilder().currentTraceContext(something).build() as it is
missing a couple things most notably where to send the data (ex
builder.spanReporter(foo))
make sense?

make sense?

Of course. Thanks for the explanation!

Thanks a lot, @adriancole and reviewers!

heh should note @anuraag paired on this and was controlling my hands
also @kojilin helped review locally too thanks everyone!

https://github.com/openzipkin/brave/releases/tag/5.2.0 talks about this. feel free to reuse the content in any way you like


Docs: Add tutorial for setting up a MongoDB database

Lots of functionality relies on having a database connected to the server, but setting up a MongoDB database isn’t straight forward. Adding a tutorial would make doing so easier. See https://github.com/alienlebarge/alb-indiekit/issues/6#issuecomment-774545434

Closing this in favour of issues for creating tutorials for individual services, for example #526 and #527.


Implement pocket slots.

Pocket slots are implemented on the HUD and I think there's slot defines for them, but they definitely don't work properly yet.

What's the state of this, can it be closed?

they definitely don't work properly yet.

What do you mean by this?
Does taking off your jumpsuit not drop your pocket contents?

Old issue, this can be closed.


Remove post quantum algorithm SIKE

Refer https://arstechnica.com/information-technology/2022/08/sike-once-a-post-quantum-encryption-contender-is-koed-in-nist-smackdown/

Fixed


Fix navigaton for  with extra style

In a case of any extra style applied to <div>, assigned as Editor container, move canva stop work normally:

In the normal mode it work only if click to child drawflow <div>, and won't work if it moved and click goes to prawflow-parent.
In the fxed mode move of canva donot work at all.

All of this becuase code rely on e.target.classList[0], assuming then it is always only one class assigned to any element, and these classes are pre-defined. It looks true for all the elements, created by editor, but it is not true for container <div> which is used to put editor in.
Fix: change e.target.classList[0] to matches() for conditions and add looping over all the classes of the element in the esecution part.
[fbe2125] includes meaningful code change.
[17b7841] Incluses just indents change, coming from the code taken into extra loop.
Hope you found it usefull, this made the code a bit more immue to some factors behind of control.

Hello @pavlyuts
Thanks for the pull request.
It would not be better to force "parent-drawflow" to be the first class. So we avoid the loop issue.
In the function start.
Something like that:
var elem = document.getElementById('drawflow');
const copyClass = elem.className;
elem.className = ""; // Remove All clases
elem.classList.add("parent-drawflow") // Add class
copyClass.split(" ").forEach(item => elem.classList.add(item)); // Add copied clases

What do you think?

Hi!
There should not be any loop issue. Even a loop via all the assigned classes the loop will do nothing on unknown classes but will do what required for every internal class regardless of order. I think my code is more general to resolve the issue.
In other hand, this only matters for top-level container class. You may fix order at the moment of assigning parent-drawflow to ensure it is the first one and this shoud work too.
It is up to you, it is your code, I only wish the issue be fixed ;)


Sync Fork from Upstream Repo

Pull Request Test Coverage Report for Build ce00027a197260076dd13a70b3c92d54308dfabf-PR-16

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.642%

Totals

Change from base Build 621cd029060f18295c3adcf0d752895a9c61aab5:
0.0%

Covered Lines:
538

Relevant Lines:
541

💛  - Coveralls


no-static flag added for fpm build

flag added to ignore building of static files when fpm build is used
use either -ns or --no-static

Done the changes after review


local mode / --local

This issue tracks wrangler v2's integration with miniflare.
wrangler v2 supports "local" mode across the board.

You can call wrangler dev ... --local, wrangler kv:* ... --local and it'll run 'locally' on your machine.
During development (with wrangler dev), you can hit the L key and toggle between local/remote mode as you please.
We'll integrate even deeper with miniflare soon, including but not limited to durable objects, a first class testing story, --public and more.

remaining here -

wrangler secret doesn't work in local mode yet
.wasm/text file support doesn't work in local mode yet

tracking the smaller items under the umbrella task


Validate that everything is Unicode safe

I fixed some immediate pain in #2 but there still are a lot of str(varName) calls out there.

Also probably should be informed or dependent on #5


Storage Backends for Varnish

Wondering if the current implementation supports using file as the storage backend for Varnish and if the file can be configured to use a PV/host mount ?

We do not currently support file backed storage for Varnish. Maybe my logic here is wrong, but I think you should use a different tool if you need persistence. Varnish is a cache, and we didn't have any use cases for persistence at the time. What is your use case? Maybe there's an angle we're not thinking about it from.

Our use case revolves around serving multi GB files that can some amount to multi TB. We are looking to use the file backend https://varnish-cache.org/docs/trunk/users-guide/storage-backends.html#file

Sorry for the delay. We'll discuss this next week and see if this is something that we can support. @tomashibm @antonioua  FYI. @hsawhney09 we also will accept PRs if this is something you have the expertise and time required to implement.


Help - creating story

After installing and verifying that find command works, tried the following command:
club create -t 'story title' -E 646 -p 86 -l "my label" -d "my description"
(also tried with " quotes on number fields and string fields, and with --title and --project options. Verified epic and project ids exist.)
Expected Behavior
Should create a story.
Actual Behavior
returns:
Must provide --title and --project
Steps to Reproduce
see above.

Hi @evaneus! Thanks for the bug report.
So, that message would appear if club can't find the project you're supplying (Project 89, in this case). It failed because Clubhouse requires each story to belong to a Project.
When you run club projects, do you see a Project with an ID or name with 89?

whoops, I could have sworn I double checked those ids 😊
Sorry for the erroneous report.

I've been unable to use this tool to create stories as I'm getting the above reported error even though I have supplied a valid title and project id. I was able to find a version that still works (1.14.0).
I was able to find a commit which may have introduced the regression: https://github.com/andjosh/clubhouse-cli/commit/2b02329c5b9ca03e594b4fa02c57cc698f7c1a6e
Commit prior to above still works. @andjosh maybe you have a better idea about what broke?

@cem2ran Thank you so much for pointing that out!
It seems there was a simply copy pasta issue (fixed in https://github.com/andjosh/clubhouse-cli/commit/0b12d25edd621957ceb18da893d660216ee78880 and released in https://github.com/andjosh/clubhouse-cli/releases/tag/v2.0.3). Do you also need the fix released in v1.14.x or are you good to go up to version 2.0.x now?

@andjosh I'd be happy to use the latest version :)


package management system

Having a package management system like Perl CPAN, Ruby gems, and Python's PyPI would really simplify developing programs with rust. Ruby even has a couple other useful libraries built on top of gems, such as bundler, which lets you bake in the library dependencies into a project as well as install them into a local directory.
Open issues would be how to integrate sensibly with projects like Debian and Fedora that provide their own package management.

erickt: I believe I have made a more-or-less faithful implementation of your idea, which I named 'cargo', per graydon's suggestion.
https://github.com/elly/rust-libs/blob/master/cargo
It supports installing packages (from source only for now) by:

github:/[@]
file:/path/to/file/that/tar/xf/understands
uuid:[@]

The install-by-uuid thing is a gigantic hack - it works by fetching a file off one of my machines which is a list of uuid->install-methods. If people like this idea, I can write an appengine app to do this or something else.
By way of example and test, I have a package available at github:elly/rust-hello, http://www.leptoquark.net/~elly/rust-hello.tar, and uuid:83941200-18b3-41b1-8316-b98a2950b33a.
Anyone have thoughts on this? :)

Argh, markdown ate my bullet point. That last one was "any URL schema that wget supports".

Nice, elly. I think it is a promising start.
rustc and cargo need to agree on where rust software lives so that cargo-install libraries are automatically resolved by rustc. rustc can already give you the global sysroot with 'rustc --sysroot', but we should probably also have something like --hostlibs, because rust libraries currently live under /usr/lib/rustc/${arch}/lib. And then we also probably need rustc and cargo to share the same idea of where user-specific stuff lives.
I like just building packages straight from their git repo.

elly's cargo has some built in hash-based versioning that we probably want to merge with rustc's (mostly unimplemented) versioning.

As a result of further hacking, it now supports generation of manifests from crate files, and optionally signing (and verification) of packages.

...and as of https://github.com/elly/rust-libs/commit/bb062589031fc749289af4500d2256224b0b5a6e it can install rustc itself with this small patch to add a manifest: https://github.com/elly/rust/commit/ea56cabc11af9f15b73879caf85a9460485a957e
Try it: cargo install github:elly/rust@manifest

Does cargo satisfy the requirement "package management system" now?

I've been working on this. See src/cargo for current progress :).

I think it's fair to say we "have" a package management system now. Subsequent bugs are appropriate for feature work or such. I'll add a [cargo] tag.


Null value in Custom operator when value is an anonymous object

Version
2.7.1
Details
Hi, I have a custom operator that runs EF.Functions.JsonContains(from PostgreSql)
public class JsonContainsOperator : IGridifyOperator
{
    public string GetOperator() => "#=";
    public Expression<OperatorParameter> OperatorHandler()
    {
        return (prop, value) => EF.Functions.JsonContains(prop, new[] { new { Id = value } });
    }
}

And when I apply the filter, I get a NULL value in the value.
Example
var test = _context.Products.ApplyFiltering("Users #= 1") .ToQueryString();

SELECT i."Id", i."Name", i.Users
FROM View_Products AS i
WHERE i."Users" @> '[{"Id":null}]'

Here is my model, I use SQL View, Users is jsonb
public class ProductsView : Entity
{
    public string Name{ get; set; }
    [Column(TypeName = "jsonb")]
    public IEnumerable<User> Users { get; set; }
}

public class UserView
{
    public int Id { get; set; }
    public string Name { get; set; }
}

What could be the reason? Thank
Steps to reproduce
To reproduce, you can repeat my code above

Hi @hottabych07
Because in this case, you had a combination of anonymous object and array there was no proper way to detect what is the type of the value. this problem is solved in v2.7.2.
I also should add if you are only dealing with for example integer types, you should add your conversion to the operator but it is not necessary usually. e.g
public class JsonContainsOperator : IGridifyOperator
{
   public string GetOperator() => "#=";
   public Expression<OperatorParameter> OperatorHandler()
   {
      return (prop, value) => EF.Functions.JsonContains(prop, new[] { new { Id = int.Parse(value.ToString()!) } });
   }
}

Thank you for the feedback.


Update sbt version

I want to migrate from travis to github actions and its best to update the sbt version beforehand.

I think I've turned off Travis CI on sbt org or something.

Yea - https://github.com/sbt/sbt-osgi/issues/73


MIN and MAX undefined when field has negative values

The following query results in undefined value for MIN(delay):
alasql('SELECT MIN(delay) FROM airline');
The column delay is of type INT.

I get that
 "SELECT MIN(delay) FROM @[{delay:5},{delay:7}]"
[ { 'MIN(delay)': 5 } ]

Please provide more information about the structure of your data - or make a JSfiddle to demonstrate

Try this:
"SELECT MIN(delay) FROM @[{delay:5},{delay:-7}]"
When there is a negative value, it breaks.

Perfect  - another bug - negative numbers must be "..." in the @ json notation - Ill create an issue with that
> alasql "SELECT MIN(delay) FROM @[{delay:'-50'},{delay:'-7'}]"
[ { 'MIN(delay)': -50 } ]

> alasql "SELECT MIN(delay) FROM @[{delay:'-50'},{delay:'-70'}]"
[ { 'MIN(delay)': -70 } ]

However - this is a parsing issue and not the returning of undefined you descrbe.
The test file https://github.com/agershun/alasql/blob/324a8c07ee5739477779e7bae222f3f9ef17ee21/test/test263.js covers what tests we do on MIN() - From your information I cant figure out what is wrong.
If you could provide some input data that generated the issue that would be awesome

You can use this fiddle to load the data that I am working on: http://jsfiddle.net/vivekratnavel/31n7f2qz/


Questions: mempool

Is folder datadir2 the mempool?

If so, is there a flag to run with karlsend after clearing the datadir2 file?

Dear:
Q: Is folder datadir2 the mempool?
A: No, it's not
Q: If so, is there a flag to run with karlsend after clearing the datadir2 file?
A: There is no feature like this right now. People remove that folder and do resync, somes gonna do copy-paste from snapshots. Right now, the sync time is quite fast due to blockchain size. < 5 hours in my experiment.


Using as asset source causes desk tool to crash

I have the media library plugin installed and it all appears to work - but as soon as I add it as an asset source as described in your docs, it causes the desk tool to crash with an error Cannot read property 'displayName' of undefined
Here is the stack trace Sanity is showing in the UI
Stack trace:
TypeError: Cannot read property 'displayName' of undefined
    at withDocument (/static/js/app.bundle.js:68107:86)
    at http://localhost:3333/static/js/app.bundle.js:263471:42
    at Array.map (<anonymous>)
    at http://localhost:3333/static/js/app.bundle.js:263467:93
    at mountMemo (/static/js/vendor.bundle.js:18584:19)
    at Object.useMemo (/static/js/vendor.bundle.js:18880:16)
    at useMemo (/static/js/vendor.bundle.js:2327:21)
    at Object.wrappedHook [as useMemo] (/static/js/app.bundle.js:317949:14)
    at SanityImageInput (/static/js/app.bundle.js:263467:37)
    at renderWithHooks (/static/js/vendor.bundle.js:17945:18)

Component stack:
in ForwardRef(SanityImageInput) (created by FormBuilderInputInner)
    in ChangeIndicatorProvider (created by FormBuilderInputInner)
    in div (created by FormBuilderInputInner)
    in FormBuilderInputInner (created by FormBuilderInput)
    in FormBuilderInput (created by Field)
    in div (created by Field)
    in Field (created by ObjectInput)
    in div (created by ObjectInput)
    in div (created by ObjectInput)
    in ObjectInput (created by FormBuilderInputInner)
    in ChangeIndicatorProvider (created by FormBuilderInputInner)
    in div (created by FormBuilderInputInner)
    in FormBuilderInputInner (created by FormBuilderInput)
    in FormBuilderInput (created by SanityFormBuilder)
    in FormBuilderContext (created by SanityFormBuilderContext)
    in SanityFormBuilderContext (created by SanityFormBuilder)
    in SanityFormBuilder (created by EditForm)
    in form (created by EditForm)
    in EditForm (created by FormView)
    in div (created by ForwardRef(RegionsWithIntersections))
    in div (created by ForwardRef(RegionsWithIntersections))
    in ForwardRef(RegionsWithIntersections) (created by StickyOverlay)
    in StickyOverlay (created by OverlayEnabled)
    in Tracker (created by OverlayEnabled)
    in OverlayEnabled (created by FormView)
    in div (created by FormView)
    in FormView (created by DocumentPanel)
    in div (created by ForwardRef(ScrollContainer))
    in ForwardRef(ScrollContainer) (created by DocumentPanel)
    in div (created by DocumentPanel)
    in BoundaryElementProvider (created by DocumentPanel)
    in PortalProvider (created by DocumentPanel)
    in div (created by styled.div)
    in styled.div (created by Box)
    in Box (created by Styled(Box))
    in Styled(Box) (created by Card)
    in Ge (created by ThemeProvider)
    in ThemeProvider (created by ThemeColorProvider)
    in ThemeColorProvider (created by Card)
    in Card (created by DocumentPanel)
    in DocumentPanel (created by DocumentPane)
    in div (created by DocumentPane)
    in div (created by ForwardRef(ScrollContainer))
    in ForwardRef(ScrollContainer) (created by EnabledChangeConnectorRoot)
    in Tracker (created by EnabledChangeConnectorRoot)
    in EnabledChangeConnectorRoot (created by DocumentPane)
    in DialogProvider (created by DocumentPane)
    in div (created by KeyboardShortcutResponder)
    in KeyboardShortcutResponder (created by GetHookCollectionState)
    in GetHookCollectionState (created by RenderActionCollectionState)
    in RenderActionCollectionState (created by DocumentActionShortcuts)
    in DocumentActionShortcuts (created by DocumentPane)
    in LayerProvider (created by LegacyLayerProvider)
    in LegacyLayerProvider (created by DocumentPane)
    in DocumentPane (created by DocumentPaneProvider)
    in DocumentHistoryProvider (created by DocumentPaneProvider)
    in DocumentPaneProvider
    in StreamingComponent
    in StreamingComponent (created by Context.Consumer)
    in WithInitialValueWrapper (created by DeskToolPane)
    in DeskToolPane (created by DeskToolPanes)
    in SplitPaneWrapper (created by DeskToolPanes)
    in div (created by Pane)
    in Pane (created by SplitPane)
    in div (created by SplitPane)
    in SplitPane (created by PanesSplitController)
    in div (created by PanesSplitController)
    in div (created by Pane)
    in Pane (created by SplitPane)
    in div (created by SplitPane)
    in SplitPane (created by PanesSplitController)
    in div (created by PanesSplitController)
    in div (created by Pane)
    in Pane (created by SplitPane)
    in div (created by SplitPane)
    in SplitPane (created by PanesSplitController)
    in div (created by PanesSplitController)
    in PanesSplitController (created by DeskToolPanes)
    in PortalProvider (created by DeskToolPanes)
    in div (created by DeskToolPanes)
    in DeskToolPanes (created by DeskTool)
    in DeskTool (created by withRouter(DeskTool))
    in withRouter(DeskTool) (created by DeskToolPaneStateSyncer)
    in DeskToolPaneStateSyncer (created by DeskTool)
    in DeskToolFeaturesProvider (created by DeskTool)
    in DeskTool (created by RenderTool)
    in RenderTool (created by SchemaErrorReporter)
    in RouteScope (created by SchemaErrorReporter)
    in div (created by SchemaErrorReporter)
    in div (created by SchemaErrorReporter)
    in div (created by SchemaErrorReporter)
    in SchemaErrorReporter (created by DefaultLayout)
    in DefaultLayout (created by withRouter(DefaultLayout))
    in withRouter(DefaultLayout) (created by DefaultLayoutRoot)
    in RouterProvider (created by DefaultLayoutRoot)
    in LoginWrapper (created by DefaultLayoutRoot)
    in DefaultLayoutRoot (created by AppProvider)
    in div (created by styled.div)
    in styled.div (created by Box)
    in Box (created by Styled(Box))
    in Styled(Box) (created by Card)
    in Ge (created by ThemeProvider)
    in ThemeProvider (created by ThemeColorProvider)
    in ThemeColorProvider (created by Card)
    in Card (created by Styled(Card))
    in Styled(Card) (created by AppProvider)
    in SnackbarProvider (created by AppProvider)
    in ToastProvider (created by AppProvider)
    in LayerProvider (created by AppProvider)
    in PortalProvider (created by AppProvider)
    in UserColorManagerProvider (created by AppProvider)
    in AppProvider (created by SanityRoot)
    in Ge (created by ThemeProvider)
    in ThemeProvider (created by SanityRoot)
    in ZIndexProvider (created by SanityRoot)
    in SanityRoot
    in AppContainer

This error doesn't seem to be directly related to this plugin. What Sanity versions are you on (sanity versions)? And are you on the latest version of this plugin (1.0.7)?

Hmm it's weird because as soon as I comment out the part bit in sanity.json which specifies the asset source, the error goes away.
Sanity versions:

could you share your sanity.json?

@Aratramba sure - it looks like this (when I include the reference to the asset source file)
{
  "root": true,
  "project": {
    "name": "..."
  },
  "api": {
    "projectId": "...",
    "dataset": "production"
  },
  "plugins": [
    "@sanity/base",
    "@sanity/components",
    "@sanity/default-layout",
    "@sanity/default-login",
    "@sanity/desk-tool",
    "@sanity/dashboard",
    "media-library"
  ],
  "env": {
    "development": {
      "plugins": ["@sanity/vision"]
    }
  },
  "parts": [
    {
      "name": "part:@sanity/base/schema",
      "path": "./schemas/schema"
    },
    {
      "name": "part:@sanity/desk-tool/structure",
      "path": "./src/structure/contentMenuStructure.ts"
    },
    {
      "name": "part:@sanity/base/new-document-structure",
      "path": "./src/structure/newDocumentStructure.ts"
    },
    {
      "implements": "part:@sanity/form-builder/input/image/asset-source",
      "path": "./assetSource.js"
    }
  ]
}

I have the same issue. I just installed this plugin and added as asset source and it crashes with the same error. I have the latest Sanity versions.

I also have the same issue with the latest Sanity versions.

Lovely! Works for me too, thanks @samesamestudio.


[TUTORIAL][DOC] Tutorial Updates

Description
Tutorial Edits to make the tutorials flow and read better
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Comments
Should be the end of tutorial updates for the near future until I work with Aston on getting new ones up and running

Job PR-802/7 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-802/7/index.html


change: xyk - check max out/in ratio in sell/buy

In XYK, currently only the specified amount is checked against max allowed in/out reserve ratio.
eg.
in sell - only amount_in is checked to be <= reserve / MaxInRatio
in buy - only amount_out is checked to be <= reserve/ MaxOutRatio.
It might be worth to check the amount out in sell, and amount in in buy as well. Similar to what we do in LBP or Omnipool.
@jak-pan wdyt ?

We can, but this is not as critical because there is no reason to expect math errors like in omnipool. So it's not critical.


does not evaluate if expression operand has a period, hyphen seperater

"{airQuality.temperature} > 44"
Map<String, Object> values = new HashMap<>();
values.put("a-b", "indoor");
EvaluationValue result = e.withValues(values).evaluate();
BaseException(startPosition=4, endPosition=5, tokenString=a, message=Variable or constant value for 'a' not found)
at Main.main(Main.java:24)
Caused by: BaseException(startPosition=4, endPosition=5, tokenString=a, message=Variable or constant value for 'a' not found)
Any workaround for this ?

dot (.) and hyphen (-) are reserved operators from the library. I would suggest you replace those special characters with underscore (_) when creating expressions and passing in variables.

Closing this, we won't support special characters apart from underscore in variable names.


Nihal Ravi Ganesh

Project Request

Proejct Request to Add [your name] markdown file and route

Field
Description

Name
Nihal Ravi Ganesh

Email
<EMAIL_ADDRESS>

Github
NRG2005

What do you what to contribute to:

[ ] HackFest GDSC Contributor
[ ] Hacktober Fest Contributor

Fill the placeholders like [your name]
add your github link below the table

Fill the placeholders like [your name]
add your github link below the table


Ensure the stream is closed on test completion

This should silence the following error seen with the 3.11 tests,
ResourceWarning: Unclosed file <tempfile.SpooledTemporaryFile object at 0x7fb6e82be0b0>

Hmm, this is trickier than it looks - FileStorage streams are created but not closed.

Got a few more, but unfortunately the failed test report is unreliable, the files might get GCd and raise the warning at any time unrelated to the current test.

If I add the following to conftest.py to always force GC after each test, all the tests pass. Remove it, and a random test that doesn't appear to use files in any way fails.
@pytest.fixture(autouse=True)
def always_gc():
    yield
    gc.collect()

Something's going on with SpooledTemporaryFile. If I disable it in formparser.default_stream_factory, all tests pass. However, it's still creating TemporaryFile objects, and I didn't change any code, so somehow those aren't leaving unclosed files.

Never mind, it's not SpooledTemporaryFile, it happens if I modify default_stream_factory to always return TemporaryFile too. It probably only disappeared when I commented out only SpooledTemporaryFile because whatever test is triggering the issue used BytesIO in that case, which doesn't have the issue.


eGPU card set as default video adapter issue

I have an intel nuc 12 (mini pc) with a tunderbolt4 port, and a docking station for an external gpu I connect the rx 7800xt as an external card, to the mini pc, and want it to be the main video card in chimeraos and everything rendered on it. However intel has an integrated graphics card that I cannot turn off from bios (I have installed all bios updates), all rendering happens on the weak graphics card, both in desktop mode and in games. This can be seen through the intel_gpu_top command line utility and through glxinfo.
My monitor is connected via the display port to the amd video card and chimeraos won't let me load game mode but automatically loads in desktop mode, the video card shows up in devs lspci | grep VGA and lshw -numeric -C display it is fine, however, rendering doesn't switch to it. I realize this is more of a question for Arch linux and x11/wayland (I'm not good at that part) but maybe someone here knows how to switch this?
On windows 11 (with the same equipment) I was able to do this by disabling the integrated graphics monitor through the device manager and everything started working as expected.
On linux, I haven't figured out exactly how to turn off the graphics yet. I tried disabling the pci device with the command echo 1 > /sys/bus/pci/devices/0000:00:03.0/remove with id of my integrated graphics card, but that turned off my external graphics card ¯_(ツ)_/¯ time after time.
I also tried doing this via xrandr --setprovideroffloadsink id id or the global variable DRI_PRIME=1 but that still didn't provide a solution either.
I realize that my problem is very specific, and not directly related to chimeraos, but would be very grateful if someone could help me with this.

I managed to start the gpu using this script, it seems the issue can be considered closed.
https://github.com/ewagner12/all-ways-egpu

i use method 1

For yourself, and anyone else who finds this issue later, we have a built in utility for this, detailed here in the wiki: https://github.com/ChimeraOS/chimeraos/wiki/General-Configuration#multi-gpu-management-utility-egpu-and-igpu--dedicated-gpu-configurations
You can use this to select which GPU renders games and the gamescope overlay. This is especially useful for systems with an iGPU as you can use that to render the entire overlay and leave the other GPU to render games with no overhead. YOu can also set it to prefer the eGPU when it is available.


Boid Birds and height limit

Hi there couldn't find a repo for the birds add-on so i'm posting this here !
i'd like to edit the height at which the flocks fly (they currently just fall down until they reach their preferred altitude)
could it be possible to make the code open source ?
in the mean time, i'd like to thank you for the boids mod, it is a fantastic integration :)
take care

Oops, I meant to upload it to Github too. I published it here now:
https://github.com/Tomate0613/birds-boids
As for the config, I will add one once I find some time.
Great to hear that you enjoy the mod though.


Stop running helix on PRs for now

Part of https://github.com/aspnet/AspNetCore/issues/8453

@muratg @shirhatti

Lets use the issue for the discussion

Going with https://github.com/aspnet/AspNetCore/pull/8464 instead


Using Chocolatey Task in Devops Pipeline

I have installed the tools with marketplace but can't find them anywhere in the build pipeline only the ChocolatyTools and saying that it is installed.
But the task i don't find?
Maybe also update the the screenshot for Devops?
I am a beginner but this makes it not easyer.

I had the same thing happen, but was able to get Tasks to show after uninstalling and reinstalling the extension.


Create GraphQL to SQL compiler

Motivation
Right now we can execute any kind of query. However one of the common scenarios would be to create a reply by making SQL query to a database and then returning the computation result back to requester. Here we have a problem - since we are defining resolution of per-field basis, any nested calls will result in N+1 SELECT problems, eg. given a GraphQL query:
query Example {
    users {
        id
        name
        pets {
            name
        }
    }
}

and schema defined like:
Define.Object("User", [
    Define.Field("id", String, fun _ u -> u.ID)
    Define.Field("name", String, fun _ u -> u.ID)
    Define.Field("pets", ListOf Pet, (fun _ u ->
        query {
            for pet in u.Pets do
            select pet }))
]);

we would end up with making a one query to retrieve user, and then for each user retrieved this way, one additional query to get his pets. This is a common problem in O/R mapping and something we'd like to avoid.
Possible solution
Because we have already implemented planning phase, we have a convenient representation of GraphQL queries in form of ExecutionPlan data structure attached to context. What we can do from here is to create a compiler, which would translate GraphQL query into SQL queries.
Currently, beside data about things like field name, alias, output type, arguments or containing object data, we can also represent a structure of the query itself by using ExecutionPlanKind discriminated union, ie. GraphQL query above would look close to the following:
SelectFields [             // users
    ResolveValue           // users.id
    ResolveValue           // users.name
    ResolveCollection (    // users.pets
        ResolveValue       // users.pets.name
    )
]

We could translate those into their SQL query equivalent.
How?
ResolveValue
This can be translated directly to matching SQL table column.  Given an execution plan info structure the most straightforward translation would look like: info.ParentDef.Name + "." + info.Definition.Name + " AS " + info.Identifier . Remark: this is not actual code, we would need some table aliasing etc.
SelectFields
We have two cases here:

For top level fields we can make direct SELECT .. FROM clause.
For set of consecutively nested SelectFields we can use selection with JOIN clause between inner and outer SelectFields (because SelectFields [ SelectFields [ .. ] ] is always 1-1 relation. Example:

GraphQL query:
{
    product {
        id
        customer {
             name
        }
    }
}

into SQL:
SELECT product.id, customer.name
FROM Product product
JOIN Customer customer ON product.customer_id = customer.id

ResolveCollection
Since this kind always describes 1-many relationship, realizing it with joins may not be a good idea i.e.: given customers.orders.products - where we have 10 customers, each of them has 50 orders and each order has 20 products, we would end up with a SQL query returning 10 000 rows, where actual number of entities we care about is 80.
Solution:
Make a separate sub select - as SQL command can take more than one SELECT statement, once we find ResolveCollection we can translate its subtree into separate SELECT FROM statement and join data for it directly from the result set. Remark: this will require and additional field to correlate rows from a separate selects.
Example:
GraphQL query:
{
    customers {
        customer_id
        name
        orders {
             order_id
        }
    }
}

into SQL queries:
SELECT customer_id, name FROM customers;

SELECT customer_id, order_id FROM orders;

ResolveAbstraction
This kind is used for both GraphQL interfaces and unions and carry the typeMap info (Map<string, ExecutionPlanInfo list>), which describes a list of fields to be resolved for each type target abstraction refers to. We basically need to use two cases here:
Union
Union should be pretty easy to translate. Example - given type union Pet = Dog | Cat we could assume there are some Dog and Cat tables in the SQL schema, we could translate following GraphQL query:
{
    animals {
        ... on Dog { barks }
        ... on Cat { meows }
    }
}

into SQL looking like that:
SELECT 'Dog' AS TypeName, Barks AS barks, NULL AS meows FROM Dogs
UNION
SELECT 'Cat' AS TypeName, NULL AS barks, Meows AS meows FROM Cats

Then just use TypeName as discriminator for creating result objects.
Interface
Dunno yet. They are basically unrepresentable in SQL.
Security issues
One of the most obvious problems is to apply some constrains on the queries, so that not everyone would be able to traverse through the whole database. Two possibilities I had in mind:
Tree cutting
Given an exectuion plan tree, we could introduce some operators to split it in two before executing. ie given user query:
{
    user {
        credentials { id }
        privateField
    }
}

split it into twp:
{
    user {
        credentials { id }
    }
}

{
    user {
        privateField
    }
}

Once first query will be executed, the result can be authorized and then (if auth was successful) the second query would be executed. We could add some methods to the API to make execution plan tree cutting easier.
Resolve value exceptions
The second option - more costly but also easier to achieve - would be to simply apply authorization of field resolution level, i.e:
Define.Field("PrivateField", String, fun ctx user ->
    let auth = ctx.RootObject :> AuthIdentity
    if auth.HasAccess "PrivateField"
    then user.PrivateField
    else raise (UnathorizedException()))

This won't save from retrieving that data from the database, but it won't return it outside.
Upgrade F# compiler dependency
Other thing that could be taken into account withing that task is to think about switching FieldDef.Resolve from function to expression - this could give us possibility to interpret the body of resolution function. This will be the breaking change for F# compiler < 4.0 - we could raise that requirement and mark function passed as parameter with ReflectedDefinition attribute to make it work in transparent way.

As mentioned on Slack, I've decided first to make GraphQL-to-LINQ interpreter as this is more flexible approach, and can be potentially used for more scenarios and solve problems such as selects over many-to-many joints for free. Downside of it is performance cost - another level of indirection that requires additional computations and may result in slower code.
Right now I've managed to refactor FieldDef.Resolve field localy to use F# quotation expressions instead of delegates - this will allow us to interpret resolvers to construct output LINQ queries. To visualize, lets use following example:
GraphQL query:
{
    users(id: 1) {
        id
        info {
            firstName
            lastName
        }
        contacts {
            firstName
        }
    }
}

This would produce following execution plan:
ResolveCollection: users
	SelectFields: users
		ResolveValue: id
		SelectFields: info
			ResolveValue: firstName
			ResolveValue: lastName
        ResolveCollection: contacts
            SelectFields: contacts
                ResolveValue: firstName

By applying that execution plan we would expect following LINQ query:
users.Where(u => u.Id = 1).Select(u =>      //  ResolveCollection
    new User {                              //      SelectFields: user
        Id = u.Id,                          //          ResolveValue: id
        Info = new UserInfo {               //          SelectFields: info
            FirstName = u.FirstName         //              ResolveValue: firstName
            LastName = u.LastName },        //              ResolveValue: lastName
        Contacts = u.Contacts.Select(i =>   //          ResolveCollection: contacts
            new UserInfo {                  //              SelectFields: contacts
                FirstName = i.FirstName     //                  ResolveValue: firstName
            })
    })

Therefore:

ResolveCollection - applies LINQ query methods (i.e. Select). It could also apply other methods, when field is contains some arguments we could use for additional operations (like id ⇒ Where method with equality comparison, we should cover at least args that has been specified in Relay.JS: first/last/before/after/id).
SelectFields - constructs expression for new returned object. This is problematic part, as GraphQL is highly dynamic and any combination of fields should be allowed. Therefore it seems, that necessary limitation would be to set requirement on the materialized type to contain default constructor and introduce mutable fields, that could be filled later. I'm afraid, this is a must, but it results in non-idiomatic F# code.
ResolveValue - this would create an assignment expression, based on matching object property to expression from FieldDef.Resolve.
ResolveAbstraction - no idea yet.


Adding a sticky navbar

Adding a sticky navbar so that it would be easy to navigate.

Can you assign me with this issue?

@akshitagupta15june can i do this?

Hi this is not needed for the website


Remote fetch + remote filtering

Hi, what is the recommended way (if possible) to get the Choices search query as the user types, to fetch filtered data?
Thanks

Hi,
You can use the [callbackOnSearch(value) {...}](https://github.com/jshjohnson/Choices#callbackonsearch) function to fetch/handle data.
Thanks


Allow logged in user to see published dataset

Description
User can not see published dataset while being logged in. This is because of the query filter, it only returns datasets belong to a owner group or access group
Fixes:
Added an extra field to include published dataset
Tests included/Docs Updated?

[ ] Included for each change/fix?
[ ] Passing? (Merge will not be approved unless this is checked)
[ ] Docs updated?
[ ] New packages used/requires npm install?
[ ] Toggle added for new features?

Hi Linh, I can not reproduce your problem. I can see published data while being logged in. So I am not sure that this change is needed. Can you tell me some exact steps what you do to reproduce the error ?

Is this connected to catanie #762 ? This effect I can confirm .

@stephan271 yes. It is connected to catanie #762. Step I did to reproduce this is. This happens to us while the user is logged in and click on a public dataset link on the landing page or doing like the steps bellow.

Log in to SciCat
Go to http://localhost:4200/datasets/[ip of a public dataset that the user is not in owner group or access group]
It returns empty page and looking at the network log /findOne return 404 => empty page

Okay so you say that your change in catanie will fix catanie #762 only, if at the same time catamel is changed in the way you describe ?

@stephan271 I am not sure I understand your question correctly but to solve issue #762 in catanie I need to make changes in both catamel and catanie which is this PR and the PR #771 in catanie. The reason we get empty page is because catamel only returns dataset belongs to the user if the user is logged in therefore I added {isPublic: true} to cover the case the user wants to view a public dataset which he/she is not owner to. The PR #771 is just to make it clear for the user why they don't see the dataset details in some cases.

@stephan271 Is this ok or do I need to change it?

Sorry, was busy with other stuff. Yes it is okay. I will merge your in your code. Thanks !


Trusted domain dialog in web doesn't return focus to previously clicked element when canceled.

This can be trivially reproduced with the GitHub Pull Requests and Issues extension:

Open a pull request on insiders.vscode.dev
In the pull request description, leave a comment with a link to an external domain.
If you've trusted the workspace, set "workbench.trustedDomains.promptInTrustedWorkspace": true
Tab to the link that you made in step 2.
Enter.
In the resulting trusted domain dialog, tab to cancel and cancel.
🐛 Focus is not restored (this works property on desktop with the native dialog).

Discovered by the accessibility testing team in https://github.com/microsoft/vscode-pull-request-github/issues/4242

GitHubTags:#A11ySev2;#A11yTCS;#A11yMAS;#DesktopWeb;#Visual Studio Code Client;#WCAG2.4.3;#BM-VisualStudioCode-Win32-Nov2021;
primary bug:https://github.com/microsoft/vscode-pull-request-github/issues/4242

@alexr00 I'm not sure what I can do on my side. The custom dialog takes the active element before showing and restores it after the dialog is dismissed. In this case, the active element is the iframe for the webview. I think the webview content provider may need to hand focus coming back to the iframe and decide if it should restore focus to the previously active element.

@sbatten I assumed that it was fixable by the custom dialog since the issue doesn't happen with the native dialog (and since it is something that will affect all extensions with webviews). Does this need to be fixed by individual extensions?

The native dialog doesn't have this issue because it doesn't truly steal focus, its a separate window. In custom dialogs we try our best to restore focus to mimic the behaviour of a native dialog but since the focused element is inside a webview, we need a webview specific solution. After chatting with @mjbvz we propose that the PR extension handle this when the iframe is refocused. I'm not sure if the PR extension keeps some internal focus state to handle tab navigation. However, if there is a general webview solution, we can pull that up. At the dialog level it is impossible for me to properly restore focus to a specific element inside the iframe unfortunately.

Thanks for starting this discussion, and a friendly reminder that we have to tackle this in April for compliance reasons.
@scottaohara what do you think? Somewhat similar to our previous webview focus discussion? If the custom dialog returns the focus to the WebView (outer element) would that be enough to reduce severity to 3? Otherwise VS Code can not pass focus back to the exact element as @sbatten explained above.

We are already passing focus back to the outer webview at the dialog layer.

i imagine that'll be the best you can do, assuming these would be cross-origin iframes.... moving focus to the iframe of the webview and then letting the extension teams reset focus back to the last focusable element once focus is re-detected back in the iframe.  based on the linked issue, as long as that is a common representation of this issue, it does seem like it'd be fine as a sev3, so long as focus was moved back to the iframe/iframe's container, and not to the browser chrome.

@mjbvz do you have any idea why that might be the case?

@isidorn @scottaohara how do we get this bumped down to sev3 as discussed?

@fsteffi should be able to help here.

@sbatten @alexr00 Possibly because the webview is structurally and the end of the dom (outside of the normal workbench dom). We need to do this so that the webview can be moved around without being recreated and destroyed. Not sure why it only sometimes happens though


How to remove Dialog

I want to click the close button then remove dialog. Please help me...

Did you see the example?
The dialog should be closed by clicking on the button.

@emiliorizzo The close button isn't working. It's not working on my code, neither is it working on the sample fiddle you have in the docs. But somehow it is working in your demo. Please check.

HI @thukuwanjiku , I´m sorry the late answer, but I don't known why I didn't see this comment before.
I've fixed your example in: https://codesandbox.io/s/vue-template-4x70j


Fix test job in CI

Messed something up when writing the test job. Fix it.

Closing because I completed this in #21


VisDrone Test-Dev Results

Hi,
The results that you have published for SiamFCRes22W is on the test-challenge set of VisDrone. Do you have the raw results of your models for test-dev set?
Thanks.

Hi,
The results that you have published for SiamFCRes22W is on the test-challenge set of VisDrone. Do you have the raw results of your models for test-dev set?
Thanks.

Hi, please find raw results in readme.md


fix(code splitting): Fix error “Multiple assets emit”

Fixes error “Conflict: Multiple assets emit to the same filename f952101eaf243f0f36fb.chunk.js” by using chunk name in file name in Webpack config.
Error without this fix:
ERROR in chunk users
f952101eaf243f0f36fb.chunk.js
Conflict: Multiple assets emit to the same filename f952101eaf243f0f36fb.chunk.js

ERROR in chunk welcome
f952101eaf243f0f36fb.chunk.js
Conflict: Multiple assets emit to the same filename f952101eaf243f0f36fb.chunk.js

ERROR in chunk 3
f952101eaf243f0f36fb.chunk.js
Conflict: Multiple assets emit to the same filename f952101eaf243f0f36fb.chunk.js

See reference:
https://github.com/jods4/aurelia-webpack-build/tree/master/demos/03-Code_splits
Using [name].js in Webpack config for chunkFilename to solve the above error.
Thoughts
Only using [hash].js will conflict as hash isn't unique. [chunkhash] on the other hand is unique but I think it's a good idea to be consistent and prepend the name to chunk files.
So at the end I think this patter is good [name].[hash].chunk.js.
Help how to enable code splitting
Add second parameter to PLATFROM.moduleName like:
{ route: ['', 'welcome'], name: 'welcome',      moduleId: PLATFORM.moduleName('./welcome', 'weclome'),      nav: true, title: 'Welcome' },
{ route: 'users',         name: 'users',        moduleId: PLATFORM.moduleName('./users', 'users'),        nav: true, title: 'Github Users' },
{ route: 'child-router',  name: 'child-router', moduleId: PLATFORM.moduleName('./child-router', 'child-router'), nav: true, title: 'Child Router' },

Additional info:
Issue with child-router: https://github.com/jods4/aurelia-webpack-build/issues/34
Article/tutorial: https://ilikekillnerds.com/2017/03/code-splitting-aurelia-webpack-applications/

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

Thanks. Could you apply the same change to skeleton-webpack-esnext?

Ok, I've already done it.


[20.09] containerd: 1.4.3 -> 1.4.6

Motivation for this change
The sixth patch release for containerd 1.4 is a security release to
update runc for CVE-2021-30465
The related fix in master is in #123741
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123899 at 096c1e11 run on x86_64-linux 1

9 packages built successfully:

charliecloud
containerd
docker (docker-edge ,docker_19_03)
docker-gc
docker_18_09
out-of-tree
pipework
python37Packages.jupyter-repo2docker
python38Packages.jupyter-repo2docker

I have read that bit about backports, but in master there is already version 1.5.x, so I don't think I can take a commit from there and also an upgrade to v1.5.x in release-20.09 is quite a big jump.
Not too familiar with the process in those cases. Any ideas @SuperSandro2000

We could cherry-pick https://github.com/NixOS/nixpkgs/commit/f2ed6d87a40ad55c5b71dd95bbf3287900e42ae9#diff-d4c36e4b2859cf623d3e2d399423b39e59d962f8ebf6a396836e3bd86f93b552 and then upgrade from there.

Sure, I think then I also need to cherry-pick those changes to master before v1.4.4:
d7d6f5507c9b3b551d7b02ac8d2021b66c5e176d
0bff5a7843827e5e7f5d1b8211072d6fa6454e18

do you mind investigating failures?


[Feature request]: feature-parity to babel-plugin-jest-hoist

Describe the feature
There are subtle differences between latest babel-jest's hoisting to what sec offer, it'd be great if swc can offer same feature parity.
See below code snippet for the comparion:
// babel-jest
const member1 = {
  id: 'user1'
};

_getJestObj().mock('selectors', () => ({ ...jest.requireActual('selectors'),
  getMember: jest.fn().mockReturnValue(member1),
}));

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _getJestObj() {
  const {
    jest
  } = require("@jest/globals");

  _getJestObj = () => jest;

  return jest;
}

//swc
jest.mock('selectors', () => ({
  ...jest.requireActual('selectors'),
  getMember: jest.fn().mockReturnValue(member1),
})
);

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : {
    default: obj
  };
}
const member1 = {
  id: 'user1',
};

In case of swc, test will fail due to runtime exception: ReferenceError: Cannot access 'member1' before initialization
Two differences between transforms

for the constant being used inside of mock member1, babel-jest hoists mocks after declaration instead of putting into top-level
support interop to @jest/globals via _getJestObj helper

Both should be able to workaround by adjusting test code itself though.
Babel plugin or link to the feature description
No response
Additional context
In my opinion, jest-related transform is a good candidate for the plugin instead of core of swc keeps its logic inside. Maybe once plugin api is stablized, worth to extract existing logic + add this improvements on top of that into separate plugin. Or either could make improvement first then extract it into plugin later.

Moving this to plugins repo since this no longer belongs to core.


Add secext

Hopefully i did this somewhat correctly:)

@roblabla Thanks, i have fixed the things you brought up:)

@roblabla Thanks, i have fixed the things you brought up:)


Proposed solution is not working for us.

We tried to follow the documentation but we still get an CORS error message:
Access to XMLHttpRequest at 'https://dev.azure.com/organization/project/_apis/git/repositories/repo_id?path=file&api-version=6.0' from origin 'http://something.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
[Enter feedback here]

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

ID: 1c792d9d-54c9-e8d1-b82c-a60f818a4389
Version Independent ID: d1f483e8-3bd7-5a29-50e1-cfc7788b64ba
Content: Cross-origin resource sharing (CORS) with Azure DevOps REST APIs - Azure DevOps
Content Source: docs/integrate/concepts/cross-origin-resource-sharing.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

@floushee - Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow