[Feature] Statusline integration

Describe the solution you'd like
It would be nice if music-controls.nvim could display the current playing song and its status (e.g., playing, paused, stopped) directly in the statusline. The feature should be independent of the specific statusline plugin being used (such as lualine, galaxyline, or others). This way, users who do not like to receive notifications can still see the current song being played without having to rely on notifications.
Additional context
A possible way to implement this is to provide a function, e.g. _statusline, that returns the current song and its status. This function could be called by the user in their statusline configuration, shown below:
local music_status = require("music-controls").current._statusline

require('lualine').setup {
    sections = {
        lualine_x = {
            music_status
        }
    }
}

Feature has been implemented in commit: 60d2b8c.


rasterized psf

@rgiordan -- The more I think about it, the more I like your idea for modeling the PSF in Celeste with a rasterized image rather than a mixture-of-Gaussians. We should probably run it by David before working on it, and I wouldn't want it delay "Hessian time", but I'm listing it here so we don't forget about it.
Possible advantages:

Faster to convert from the existing SDSS PSF format to a rasterized image than to fit a mixture of Gaussians.
More accurate---and we've heard from Dustin via David that the mixture of Gaussians doesn't  fit so well.
Could make it easier to integrate my galaxy model and future PSF model into Celeste. (Both map latent variables to rasterized images, not simple parametric models.)

The work for the Hessian will be very similar whether we do it this way or not, so we can investigate this in parallel.

We may want to use a discrete 2D FFT for convolving galaxies with a rasterized psf. This short, applied tutorial might teach us just enough about to 2D FFT. Also, Dustin has a note titled "A method for fast galaxy–PSF convolution".

Right now this working in my other repo.  It's about 5x slower than the current ELBO, but there are a lot of obvious improvements that I can make, which I have labeled as issues.  Before merging with Celeste.jl I still need to do a lot of testing and validation, though.

I merged a version of this in https://github.com/jeff-regier/Celeste.jl/pull/419.  I'd prefer to keep this open until I've done more validation.

The basics of this are done in https://github.com/jeff-regier/Celeste.jl/pull/455 and working on an array of test images.  The specifics that remain to be done have their own issues.


Fixes deb package for Ubuntu 15.04 compatibility

Ubuntu 15.04 introduces systemd as a replacement for upstart/SysV. As a result, docker startup script does not load variables from /etc/default/variables. This pull request is a proposition on how to fix that.
Associated issues: #12926 and #13384

Thanks! IIRC, there was some work being done in this area, so I'll ping some people to have a look
ping @tianon @jfrazelle for deb packages and hack/make

is a WIP and this has the same problems as #13415

Ping @jfrazelle @tianon.

I'd actually be inclined to close this as a duplicate (https://github.com/docker/docker/pull/13923#issuecomment-112220002).

See also #12134, #13415, #7220, and especially https://github.com/docker/docker/pull/5141#issuecomment-40940481, #3307, and #3627.

closing


Home Page Design

The current homepage does not have good UI. So, we are calling all the UI/UX designers to build / suggest UIs that we can implement in our project.
The new or proposed UI should have:

Homepage
Application page where user can create notes

@arpitghura Can I work on this issue? I have a few ideas for the UI. I can send them over on Discord too!

hey @arpitghura, I would like to contribute to this issue as I'm quite good at making responsive designs so
can you please assign me the same
THANK YOU FOR CONSIDERING..... :)

Hi @arpitghura!,  I would like to work on this issue. Please assign this issue to me.

@Albert-2 okay. Assigning this to you.

hey @arpitghura
I have one suggestion assign me that dark mode issue too so that I'll design the home page accordingly with the dark mode....
Thank You......
Happie Coding..... :)

https://github.com/arpitghura/NotesJar/issues/18
Talking about this one 👆

the app will not look exactly like this but focus on structure
like on one side you will have a provision to add a note and on the other side you wil get to see all your notes
don't worry the height will not increase will keep it scrolling

The design looks okay to me. Go ahead and start working on this.
Don't forget to create a new branch.

yeep....

hey @arpitghura
Brother i have done changes and made a PR too
Kindly review it
here  https://github.com/arpitghura/NotesJar/pull/20

hey @arpitghura
please review my PR as it's the last day of codepeak'23

@arpitghura can you assign me this issue under DWOC

Hey @gayathrik23, @Albert-2 has done some work on this issue, and his PR #20 is merged into another branch, 2-home-page-design which you can find in the sidebar of this issue.
If you want to work on this issue, go ahead and checkout that branch to get the actual code.

Hey @Albert-2 are you still working on this issue?

hey @arpitghura
i am contributing in DWoC'23 so will you please label the issue accordingly and consider the PR for the same
Thank You so much for considering......!!✌


Ui device improvements

This PR allows us to transform  the view below, on which we can see several problems:

deviceTypes of the same device are not grouped together,
the deviceTypes to turn on and off, which for me are the most important, are drowned in the middle of all the others.

into this one:

The addition of 2 fields ("order" and "color") in the "deviceType" table allows you to order the display of deviceTypes and to choose the background color individually.
By clicking on this icon :

you open the following modal window:

In the first column, you can choose the background color of the devicetype from a palette of 32 colors (from the Gladys theme), and in the second column, the display order.
The "Peripherals per piece" box has also been modified to incorporate these changes, as well as the addition of the "color-picker" to the "color" type devicetypes:

Hey! :)

deviceTypes of the same device are not grouped together,

Really good idea to fix this! Thanks!

the deviceTypes to turn on and off, which for me are the most important, are drowned in the middle of all the others.

Ok so now you put it at first? nice!

The addition of 2 fields ("order" and "color") in the "deviceType" table allows you to order the display of deviceTypes and to choose the background color individually.

The order idea is a good one!
For the color, to be completely honest I don't know if it's something we want in Gladys ^^
Why do you want that in Gladys?

Color, for example, allows you to quickly identify the deviceType you use the most, if you wish.
In my case, it allows me to identify devicetypes of the same device:

I know that these elements form a block, a bit like a chapter in bold and paragraphs. So this allows me to greatly simplify the names of the deviceType: there is no need to repeat to which device they are attached and they can have the same name.
And finally, I put the flat colors of AdminLTE, and I think it looks pretty :) .. But this is a matter of taste ;)

Here is the PR without the choice of color.
I added 2 small modifications, because they concern the same view:

Change due to the color of the toggle: indeed, it was not exactly the same as the color of the theme : before was #428BCA

instead of #3c8dbc

Decrease the width of the color picker: I suggest you make it as wide as the toggle button :

Of course, I made the same changes at the box.
I hope that's okay with you.

Fine for me (color-picker creator).

Hey!
I agree for the small changes, but I'm still not in for the choose order view...
This has a huge impact everywhere and I really prefer to take some time thinking about this before integrating these changes... sorry!
That's why I'm not merging this now, I prefer that we took the time to talk about this together before.


Mini-Toolbox Thumbnails

Adds the framework that allows blocks to 'shadow' the value of other blocks. Tracks relationships between blocks and updates accordingly. Note: Currently only works for relationships between gamelab_clickedSpritePointer (the shadower) and gamelab_allSpritesWithAnimation (the shadow target). Future work would be to extend this feature to work with other types of blocks.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1089365). Click here to learn what that means.
The diff coverage is 30.43%.

@@            Coverage Diff            @@
##             master     #176   +/-   ##
=========================================
  Coverage          ?   56.85%
=========================================
  Files             ?       96
  Lines             ?    11539
  Branches          ?        0
=========================================
  Hits              ?     6560
  Misses            ?     4979
  Partials          ?        0

Impacted Files
Coverage Δ

core/utils/xml.js
89.49% <100%> (ø)

core/ui/fields/field_rectangular_dropdown.js
71.8% <11.11%> (ø)

core/ui/block.js
63.31% <38.46%> (ø)

Continue to review full report at Codecov.

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

Jira Ticket for Unit Testing: https://codedotorg.atlassian.net/browse/STAR-459


about dataset

Hi, thank you for your work.
What is the folder structure for TRAIN_DIR and VAL_DIR? How to construct visible data and infrared data?
Looking forward to your answer~

Hi, the folder structure of dataset is shown below.
.
└── dataset/
    ├── TRAIN_DIR /
    │   ├── vis_img
    │   └── ir_img
    └── VAL_DIR/
        ├── vis_img
        └── ir_img

As for the data, you may download from the sources mentioned in the paper.

OK, thank you~
Do the aligned images in the "vis_img" and "ir_img" folders need to be named with the same name?

OK, thank you~ Do the aligned images in the "vis_img" and "ir_img" folders need to be named with the same name?

In this dataloader yes, but you can change the code to make it fit to other naming conventions.

OK, thank you~


Incorrect information.

You have a section that reads as:
Azure Load Balancer. An Azure Load Balancer is created when the NGINX ingress controller is deployed. The load balancer routes internet traffic to the ingress.
This is not true. An Azure Load Balancer is created when the AKS cluster is created. The NGINX Ingress will use it, but it will not create it.

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

ID: c5e2e444-d6b9-962e-56d4-8d1f3508ba9e
Version Independent ID: 061ea6aa-353b-a98d-cbf6-639209a5fd1b
Content: Microservices architecture on Azure Kubernetes Service (AKS) - Azure Architecture Center
Content Source: docs/reference-architectures/containers/aks-microservices/aks-microservices.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 421884

Hello @PixelRobots, we have made the changes in the doc. We will now proceed to close this issue out, Please let us know if you have any further concerns.


AccessDeniedException when trying to set Cloudwatch log group retention from aws-for-fluentbit

Description
When using aws-for-fluentbit addon there's error in the log:
AccessDeniedException: User: arn:aws:sts::<redacted>:assumed-role/<redacted>-aws-for-fluent-bit-sa-irsa/1677224270028524181 is not authorized to perform: logs:PutRetentionPolicy on resource: arn:aws:logs:<redacted>:<redacted>:log-group:/aws/eks/<cluster>/host:log-stream: because no identity-based policy allows the logs:PutRetentionPolicy action\n\tstatus code: 400, request id: b232c74f-a569-4aa4-bb49-aba1c5d74d7e"
The action "logs:PutRetentionPolicy" is required at: https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/aws-for-fluentbit/data.tf#L18

[x] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Versions
4.24.0
Reproduction Code [Required]

Steps to reproduce the behavior:
enable_aws_for_fluentbit                 = true
aws_for_fluentbit_cw_log_group_retention = 10  # <-- will not work.
Expected behaviour
aws-for-fluentbit should be able to set retention period for the cloudwatch log group.
Actual behaviour
aws-for-fluentbit is not able to set retention period for the cloudwatch log group.

Fixed in https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/pull/9


warning SA1206: The 'public' modifier must appear before 'virtual'.  Could you please make StyleCop agree with Rosylin?

I'm getting a warning SA1206: The 'public' modifier must appear before 'virtual' on Roslyn generated code:
        /// <summary>
        /// Gets or sets the <see cref="AccountCanonMap"/> set.
        /// </summary>
        virtual public DbSet<AccountCanonMap> AccountCanonMaps { get; set; }

I have no idea how I change the order on generated code as it's just a bit field.
I'll leave the same notice on the Rosylin site as well.

This is the expected behavior for StyleCop Analyzers, so I'm going to mark this external and watch for the Roslyn issue.


Signature validation error.

I want my bot to accept HTTP requests as well so for now what I'm doing something like this
bot.app.get('/', (req, res) => {         //Some other stuff      });
Now when I'm trying to do POST request with JSON data I was getting "Couldn't validate the request signature." error so for this I had to remove the middleware.
bot.app._router.stack = bot.app._router.stack.slice(0,2)
What I propose is in _verifyRequestSignature check for webhook if it is not let it go as a normal web request.

Closing in favor of #84


Support for MS Fabric OneLake

Microsoft recently announced Fabric Online which is based on Azure Data Lake Storage Gen2. It should be quite compatible with ADLS Gen2 APIs and SDKs to be compatible with existing ADLS Gen2 applications. But it looks like it has a new protocol (abfss?).
It would be great to have support for OneLake and maybe some docs on how to upload files etc.

Is this supported now?

A hacky workaround I've found is:
from adlfs import AzureBlobFileSystem

fs= AzureBlobFileSystem(account_name="onelake", anon=False)
fs.account_host = "onelake.blob.fabric.microsoft.com"
fs.do_connect()

You can then pass it for example to pandas to read abfs:// paths:
df = pd.read_parquet(path, filesystem=fs)

Related to https://github.com/fsspec/adlfs/issues/340


Back up liveblog overridecss file in github

In elections18-graphics, they're stored in etc. Is there a similar place in liveblog?
https://s.npr.org/include/overridecss/id650521908.css

Feel free to create (and document) whatever file-path works best in the liveblog repo! Definitely seems like a useful addition. Can be done after elections are done.

Done in 2d2b434ba9bbc48750ec95af71746c9fc253dafe
The overridecss for this project and past projects lives in `/www/css/overrides/'


Dart 1.6.0 and Polymer 0.11 : Transform ImportInliner on xxx.html threw error: Invalid character at position 26. ./ressources/images/{{elts[key][3]}}.png

Originally opened as dart-lang/sdk#19834
This issue was originally filed by<EMAIL_ADDRESS>
The problem seems to come from the parser.
In Dart Editor 1.5.2, my code works. In Dart Editor 1.6, there is a compile error, which leads to a 404 error when launched in Dartium.
I am on Windows 8.1 x64 and use 64 bits versions of Dart Editor 1.5.2 STABLE and 1.6.0.dev.
I don't know how to reproduce the problem so I send you my complete project.
If the project is corrupted (will probably not happen), just do a "pub get".
The error is in zone-ruban.html.
PS : Just another question concerning the same line : With Dart 1.5.2, in Javascript, when I do a Firebug in Firefox, I see something strange. My pictures are dynamically loaded with polymer, but I still get an error on the line that load them. How can this work ?

Attachments:
cvwebkit.zip (7.56 MB)
[dynamic picture error.jpg](https://storage.googleapis.com/google-code-attachments/dart/issue-19834/comment-0/dynamic picture error.jpg) (231.96 KB)

This comment was originally written by<EMAIL_ADDRESS>
The real problem is that it doesn't compile anymore with Dart 1.6.0. Maybe is it to conform browsers ?

This comment was originally written by<EMAIL_ADDRESS>
Yes that's what I thought. I noticed it was specific to src attribute. So, is this an error from Dart or from me ?

 Comment by zoechi

This is caused by the binding in the src attribute of the img element which is treated differently by browsers than other attributes.
I think this is like similar issues I filed (https://code.google.com/p/dart/issues/detail?id=19719) that the app should still launch even though there are some issues. As far as I understand, this is the idea of the dynamic nature of Dart anyway.

 Comment by dgrove

Added Pkg-Polymer, Triaged labels.

This comment was originally written by<EMAIL_ADDRESS>
Thank you.
I updated Dart Editor but still get the error. How can I know if I have dart-lang/sdk@37826c2b6263f5217a4ed9bc640d32a8b4d03f13 ?
PS : I know It's hard to reproduce, that's why I added my project I keep private for instance.
If the problem remains and you don't managed to reproduced it, this small example shoud be enought :
In a polymer element's HTML :
<template-repeat="{{key in map.keys}}">

</template>
"map" is an observable Map<String, String> in the associated dart file.
Thank you for your work !

 Comment by jakemac53

I had some issues getting an exact repro on this, but dart-lang/sdk@1010e5a9650fe998c6a9adda8d905065fabe4d7c should fix it.

Added Fixed label.

 Comment by jakemac53

Added Started label.

This comment was originally written by<EMAIL_ADDRESS>
Ok i'll test it with the next update.
Thank you for your work !!!

 Comment by jakemac53

Set owner to @jakemac53.
Added Accepted label.

 Comment by sigmundch

Seems that there is still an issue with complex expressions including index deferences like '[3]'.
Jake's fix made it possible to write things like: src="a/b/c/{{exp}}.png"
but it seems that if exp is too complex, we are still in trouble. I filed https://code.google.com/p/dart/issues/detail?id=20286 to track that specific issue.
Maybe that's the issue you are seeing. You mentioned that you had your app running in FF, but when I tried your code and tried running pub-build, the compiler gave me an error. Are you seeing the same, or are you able to run your compiled app?

Removed Priority-Unassigned label.
Added Priority-Medium, NeedsInfo labels.
Marked this as being blocked by dart-lang/sdk#20286.

This comment was originally written by<EMAIL_ADDRESS>
And indeed I see the same issue as you.

This comment was originally written by<EMAIL_ADDRESS>
Sorry but it's not fixed with the latest Dart Editor 1.6 and Polymer 0.12.0.
I strongly hope It will be when Dart 1.6 Stable will be released !

 Comment by jakemac53

I have been able to verify the fix, it is not an issue with the dart editor version it is with the polymer transformers. We have not yet published this release yet but I will make sure and follow up here when we do, it should not be to long before we can at least do a -pre release.
That being said, I was able to confirm that this does in fact work somehow in the 1.5 version of the editor. I will see if I can figure out how/why that is the case.

This comment was originally written by<EMAIL_ADDRESS>
In fact, my code is working with Dart Editor 1.5.3. There is no compile error. It's with Dart Editor 1.6 I have an error.
The pub build output from Dart Editor 1.5.3:
--- 11:13:32 Running pub build on I:\CVWebKit\cvwebkit\WebApp ... ---
Loading source assets... (0.8s)
Loading smoke/src/default_transformer transformers... (0.1s)
Loading sass transformers... (3.1s)
Loading observe transformers... (0.8s)
Loading polymer/src/build/mirrors_remover transformers... (0.7s)
Loading polymer transformers... (1.6s)
Building CVWebkit... (4.6s)
[Info from Dart2JS]:
Compiling CVWebkit|web/cvwebkit.html_bootstrap.dart...
[Warning from Dart2JS]:
web\cvwebkit.html_bootstrap.dart:
629 methods retained for use by dart:mirrors out of 2971 total methods (21%).
[Info from Dart2JS]:
Took 0:00:15.889909 to compile CVWebkit|web/cvwebkit.html_bootstrap.dart.
Built 1479 files to "build".
I am able to run my app in Dartium (as Dart) and in Firefox/Chrome/IE as JS, even if with Firefox/IE, there are issues (in Firefox I don't manage to make font list (that display your system fonts) display, and in IE, there are CSS issues).
But once the app is loaded, indeed in Firebug console, although it is correctly executed, I see an error with this line.
Thank you for all your work !

This comment was originally written by<EMAIL_ADDRESS>
Yeah I saw the fix.
It's a nice idea as now, every valid binding to polymer will be taken in account only after Dart's parsing. So I imagine It's polymer that'll send the error to Dart.
Then if the binding between {{}} is incorrect, it's our business.
As I understand the thing, It's seems syntax analysis is done before other packages analysis.
As I don't how it really works, maybe I assume bad.
Logically it should work, even if I didn't managed to make a correct merge. I am waiting for the next Polymer's build.
Is this kind of case be likely to happen with other third party packages ?

This comment was originally written by<EMAIL_ADDRESS>
I imagine the web browser's developer tool will still complain with this kind of URI, after processing (see screenshot in first post). It's not a problem but I am wondering anyway ^^

This comment was originally written by<EMAIL_ADDRESS>
Oki ! It's clearer ! Thank you for your work !
The next update will be a Polymer 0.12.0+1 or a dev/pre ?

 Comment by jakemac53

Ok, it looks like the specific issue with '[' characters was introduced in 1.6.0-dev.1.0 (see https://code.google.com/p/dart/source/diff?spec=svn38784&r=37743&format=side&path=/trunk/dart/sdk/lib/core/uri.dart&old_path=/trunk/dart/sdk/lib/core/uri.dart&old=35618). The Uri parsing got more strict on valid characters.
I have a fix out that will completely remove anything inside the {{}} syntax with a temporary placeholder before parsing, and then put it back afterwords which should solve all issues now and in the future relating to this (https://codereview.chromium.org/433913002/).

Added Started label.

 Comment by jakemac53

In terms of the bad initial request with the actual bindings in the path, that is related to the <template> tag and how it works in Firefox. If you make a simple example html file with no polymer that looks like the following, you will notice that Firefox is making a request for the image, even though it is not rendering it:
<template>

</template>


multisite bedrock auto updated WordPress

[x] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[x] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and followed them (if applicable)

What is the current behavior?
multisite WordPress auto updated, files were pushed to root directory instead of WP. Only parent got updated, child sites were not updated.
What is the expected or desired behavior?
WordPress auto updated is disabled, only possible via composer.

Bug report
Unfortunately I don't know how this happened, I can provide site files + db for investigation if required.
Where did the bug happen? Development or remote servers?
Happened in production.

not sure how this is even possible since bedrock uses define('AUTOMATIC_UPDATER_DISABLED', true);
https://github.com/roots/bedrock/blob/2162a7defd19f7a2229e5ede5223d729b95d6efb/config/application.php#L74

@retlehs I know. Also this: https://github.com/roots/bedrock/blob/2162a7defd19f7a2229e5ede5223d729b95d6efb/config/environments/production.php#L7
I think there is something funky with multisite installation, maybe its worth investigating?

So https://github.com/roots/bedrock/blob/2162a7defd19f7a2229e5ede5223d729b95d6efb/config/environments/production.php#L7 this disabled manual WP update by admin via GUI. Is it possible that this doesn't work for multisite? or has different effect?

Closing since without any more occurrences or details. Feel free to re-open this if you've done more investigation.


[ClangImporter] Fix edge cases where custom name matches native name

The code does naive lookup of Swift types using the type name, but sometimes the Swift type we're looking for only has that name in its @objc attribute. This change makes the compiler exclude certain Swift declarations from matching even if the Swift name is the same (namely, not being available in Obj-C or having a mismatched @objc name) and continue to find the correct declaration without using lookup by name.
I'm not quite sure how some cases worked before this, so some modifications may be necessary.
The main change is in the first commit. The other commits are some other changes I had sitting around. I don't have any tests for the Obj-C name commit (for the FIXME) and am not quite sure if it helps (tests still pass if I revert those changes), so I can drop that commit.
On a personal note, this also removes the need for a workaround I’ve had in my codebase at work to get Swift to associate a forward declaration to its Swift declaration (which involves creating a Clang module of the same name containing the generated Obj-C interface of the problematic class). 🎉

Resolves SR-4827.

@swift-ci Please test

@swift-ci Please test source compatibility

Reverting this for now; we found a case where people were relying on the old behavior (NS_SWIFT_NAME with nested names). I'll follow up with a test case shortly.


Wrap installation path on InstallationsPanel

Default launcher dimensions:

Making it wide:

Would probably be good to wrap at a / or \ character, as to not split folder names between lines.

Same on PreferencesPanel:


[PE-D] Valid name but employee cannot be added.

Currently, names such as "Radya s/o ada" is a valid names. Users could have the "s/o" which means "son of", and could be a real name for users using the product as well. Not being able to add the name is a functionality bug of the addEmployee feature.
Perhaps accounting for these edge cases where names are valid but would cause the feature to fail would be a great enhancement to the feature.

Labels: severity.Medium type.FunctionalityBug
original: yuqitanyq/ped#1

Simillar to #209 & #190

Similar to #209


crash when second world is created

OTG Mod for Forge
1.12.2 v9.3 from discord
forge <IP_ADDRESS>54 +sponge
Crash log with all mods:
https://pastebin.com/raw/1n8BM6g6
Game crashes when server is trying to load the world, happens only on second world created on the server.
First world (default but with OTG installed is okay).
I tried to create this problematic world both with and without OTG generator - still the same issue.

OTG and sponge don't work well together, and multi-world is one of the things that just don't work. I'm assuming this is what's going wrong here

so no workaround for this?

None known, not without removing Sponge


Show symbolic links in uv python list

Summary
This PR displays symbolic links in uv python list and produces output similar to the following:
:) uv python list --preview
cpython-3.12.1-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python3.12 -><EMAIL_ADDRESS>cpython-3.12.1-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python3 -><EMAIL_ADDRESS>cpython-3.12.1-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python -><EMAIL_ADDRESS>cpython-3.11.7-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python3.11 -><EMAIL_ADDRESS>cpython-3.10.13-macos-aarch64-none    /Users/eth/workspace/astral-sh/uv/bin/python3.10 -><EMAIL_ADDRESS>cpython-3.9.18-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python3.9 -><EMAIL_ADDRESS>cpython-3.8.18-macos-aarch64-none     /Users/eth/workspace/astral-sh/uv/bin/python3.8 -><EMAIL_ADDRESS>

Resolves #5308
Test Plan
$ cargo run python list

We'll look into those CI failures — unrelated to your change.


About the coordinate system

The coordinate system used in the sampling is like:
z
|
/ — x
y
However, common mesh viewers (e.g. meshlab, blender) use:
z
|
/ — y
x
This will lead to a flip of images. That is, if the model render a word on the object, the word will be fliped in the exported mesh.
Describe the solution you'd like

when export mesh, axis x to -x
change the coordinate system in the sampling

@mdarhdarz Hi, could you provide an example?
I thought I have fix this problem, but not quite sure:

Thanks a lot! Maybe it's just ok if the rendered images in mesh viewers and validation images are consistent. I also tried modifying "export_mesh" function and achieve similar results.


Support tossups that are all-power (e.g. "for 15 points")

An example of this that MODAQ doesn't handle correctly is tossup 12 from Packet 3 of 2018 Human Use of Human Beings

Seems feasible. It could look for the string "for \d+ points", but that won't work if we ever needed to support non-English packets and would be susceptible to edge cases since we don't prevent clues from having "for \d+ points" as part of a normal clue. You also have to be smart around handling superpowers so that you don't override the superpower.
This doesn't happen frequently in tournaments, so if someone wants to fix it, then they can, but I'm marking this as a low priority issue.


HOSTEDCP-1309: Add GC knobs for KAS

What this PR does / why we need it:
Exposes GOMEMLIMIT and GOGC for kube-apiserver via annotations in HostedCluster.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #HOSTEDCP-1309
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

Are there a values we want to set by default?

Are there a values we want to set by default?

I don't think so. What you set it to is going to depend on how you want to size your KAS and your hardware's capacity.

/retest-required

/lgtm

/retest-required

/test e2e-aws

/test e2e-kubevirt-aws-ovn

/cherry-pick release-4.15

/cherry-pick release-4.15


Optional chained subscript access is not alerted

The following does not result in an an error:
arr?.[0]

Good catch, thanks @tankers746

Should be fixed in v.1.20.0

Great, fixed!


14261: 1095-A Form Generation Script Paramterized and Invocable in the Cloud from GlueDB UI

Field
Value

Redmine Ticket Number
14261

App-Dev Road Map #
n/a

Start Date
02/23/2017

Due Date
03/08/2017

App-Dev Priority
UP-Disqueued

Development Story Points
3

Peer Review Story Points
n/a

Ticket Author
@chriswiseman-dcgov

This code is included in https://github.com/dchbx/gluedb/pull/102


Final corrections made

[x] Checked all the files
[x] Corrections done if necessary

Final corrections done


failed to upload the vm image when size is over 5G or plus

failed to upload a large image file to the Minio server
 conditions:
  - lastUpdateTime: "2020-08-28T10:36:12Z"
    message: started image importing
    reason: Your proposed upload size ‘6600930864’ exceeds the maximum allowed object
      size ‘5368709120’ for single PUT operation.
    status: "False"
    type: imported
  downloadUrl: ""
  downloadedBytes:<PHONE_NUMBER>
  progress: 18

It might be related to an authenticated google storage URL. Can you check if it works for a public accessible download URL?

close as it works with the public URL.


Server cannot be reached on electron desktop app

This issue pertains to the following package(s):

[x] GraphQL Playground - Electron App
[ ] GraphQL Playground HTML
[ ] GraphQL Playground
[ ] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?
OSX El Capitan
Version 10.11.6
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
1.6.0
What is the expected behavior?
That I would be able to connect to a remote server via the electron desktop app. For example, https://portal.ehri-project.eu/api/graphql
What is the actual behavior?
The "Server cannot be reached" message always displays in the desktop app. When I share to the browser, that works. When I test via curl, that also works - but I do have to set the Origin header to an empty string.
What steps may we take to reproduce the behavior?

Create a new workspace via "URL Endpoint", using https://portal.ehri-project.eu/api/graphql as the URL
Copy the following query:

{
  Country(id: "us") {
    name
    situation
  }
}

Update HTTP Headers to:

{
  "Origin":""
}

The address bar should render "Server cannot be reached"

To verify that this should work, you can share to browser (https://graphqlbin.com/v2/7LmgUV) and see that it works, or you can "Copy Curl" and run the following command to see it work:
curl 'https://portal.ehri-project.eu/api/graphql' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'DNT: 1' -H 'Origin: ' --data-binary '{"query":"{\n  Country(id: \"us\") {\n    name\n    situation\n  }\n}\n    "}' --compressed

Please provide a gif or image of the issue for a quicker response/fix.

Expected response:
{
  "data": {
    "Country": {
      "name": "United States",
      "situation": "The basic archival structure of the United States is provided by the National Archives and Records Administration (NARA), which were created in 1934 and became an independent government agency in 1985. In addition to the national archives, there are many private archive initiatives in the United States."
    }
  }
}

I am also getting the same problem, I have reverted to the web app at the moment.
Is there an available workaround until it gets fixed ?
Thanks

This seems to be fixed in the latest version :-) There are other issues though, not being able to click SHARE, although I notice other bugs are open for this.

@miketmoore I was testing this in the playground and your server returns 403 for introspection query. So maybe you have some bad setting for your server.

@appsolutegeek I tested in Version 1.8.0 (<IP_ADDRESS>20) and this is still a problem. The curl request works, the web version works, but the Electron app does not work.


Problem with rails-assets; because build fail?

I'm trying to use rails-assets.com to use ngStorage. I did the following:
gem 'rails-assets-ngstorage'
//= require ngstorage

It's not working. I wasn't able to fully trace it, but this is the line that fails (in Ruby):
environment.find_asset("application_spec.js")

And in following the trace it's the //= require ngstorage that is problematic. I don't know where that is sending the request out to though.
My guess is that it's because the build is failing.
My workaround is to avoid doing it the Rails way and just include a <script src="https://cdnjs.cloudflare.com/ajax/libs/ngStorage/0.3.10/ngStorage.min.js"></script> (an older working version).

I do not know much about rails-assets.com, could you describe in a little more details how all this adds up?
Our builds are not failing in master and should not have failed in 0.3.10.


double images in some feed

Hi,
In this feed http://rt.com/rss/ all he images are displayed twice.
I tested with a few other readers and they do not display the double images.
Could this be fixed please ?

done, thanks for the heads up!


yarn/sao doesn't work in Windows

Windows 10, shell Cmder (ConEmu, windows CLI & Mintty/Bash)
When ran I get:
sao egoist/vuepack my-project
/bin/sh: /c/Program Files/nodejs/../../Users/tom-byrer/AppData/Local/Yarn/config/global/node_modules/.bin/sao: No such file or directory

npm instructions work well.

maybe something went wrong when you were installing sao?

Maybe.  I just tried again using the README at sao, & same error.  Should I let the sao author know there might be something wrong in that repo? ;)
I did forget to mention I'm using nvm-windows.  Not everyone uses, but fairly common with Windows devs.  Maybe folder miss-match?

It looks like a Yarn issue https://github.com/yarnpkg/yarn/issues/859 does other npm module work? or maybe update Yarn?
btw, I'm the SAO author 🤣

um, I was trying to repro this but all my yarn installed packages would crash my cmd window... https://github.com/yarnpkg/yarn/issues/1601

Yea, Yarn is still beta IMHO.  I stopped using it weeks ago.
Up to you to close as Yarn issue, or keep open to track.


Add voxel grid perception module

This PR adds voxel grid perception module that takes ROS point cloud message and updates DART's VoxelGridShape.
I requested four reviewers who're relevant to this changes I think. :sweat_smile: Feel free to dismiss if you feel it's not.
Caveat

This code depends on a unreleased DART branch (i.e., voxel_grid_api). I will release DART with this change once https://github.com/dartsim/dart/pull/1069 is merged.
This code is compilable but not tested with ROS. It would be great if someone who is accessible with a Intel RealSense can test this.

Before creating a pull request

[x] Document new methods and classes
[x] Format code with make format

Before merging a pull request

[x] Set version target by selecting a milestone on the right side
[ ] Summarize this change in CHANGELOG.md
[ ] Add unit test(s) for this change

It looks like the DART PR was merged, so should we update the dependency to make this build?

@brianhou Yeah, the PR is merged, but it's not release yet. Let me release 6.6 with the changes of the PR and post it here.

DART 6.6 is released and uploaded to the PPA so Travis CI should be able to install it correctly. :crossed_fingers:

Alright, it passes for Ubuntu. macOS should pass once https://github.com/Homebrew/homebrew-core/pull/30755 is merged.

Now it passes all the CI tests. Review please, reviewers!

Let's merge this and revisit if we find issues! :)


Update rustc

Describe the bug
I'm unable to update rav1e to latest (0.6.6) due to my clap dependency (4.4.5).
I had a look and it looks like this pipeline action and it failed due an outdated rustc version.
Would it be possible to update this? If it's a simple change I can do it. Just this / check for breaking changes?

Probably it is a good idea do bump the minimum version.


Deprecation messages confusing

NOTE: Any issue that does not follow the below template will be immediately closed and not re-opened until the template structure is adhered to.

Precheck

Don't see any mention of this in docs or issues

Environment

Current Github (e719f44) Vive SteamVR Unity 5.5.2

Steps to reproduce
Try to use most deprecated methods or properties
Expected/current behavior
Message that describes what to use instead.  Or a document somewhere (in documentation.md etc) that describes what's been replaced with what.  As it is some deprecated items have documentation good enough to point you in the right direction, but a lot don't.
Examples:

VRTK_ControllerEvents.grabPressed is no longer used. This parameter will be removed in a future version of VRTK.

PR to update the messages and provide alternative methods/variables for deprecated ones:
https://github.com/thestonefox/VRTK/compare/chore/obsolete-messages?expand=1

Fixed with https://github.com/thestonefox/VRTK/pull/1083


Asset URLs with old hash 500 when you visit them instead of 404 in production

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

If a user happens to request an old bundle resource with an old hash, the response should 404, not 500.
Current Behavior

I'm currently running a Next.js app at https://www.tenable.com/plugins and I'm getting quite a few 500 errors in my logs after I deploy a new version that has a new hash from the build (I'm using sticky sessions to minimize the disruption, but still see some errors long after the deploy).
Steps to Reproduce (for bugs)

200 -> https://custom-server-koa-wxksegmzhf.now.sh/_next/7c048a193f99703d6180e88866b6e06b/app.js
500 Internal server error -> https://custom-server-koa-wxksegmzhf.now.sh/_next/OLD_HASH_VALUE/app.js
Source code area of interest: https://github.com/zeit/next.js/blob/1aade36f13e03db13d23f86dc52a459f9a29e03d/server/index.js#L467
Context

Just trying to minimize the number of unneeded 500 errors 😄
Appreciate all your work and effort!
Your Environment

Tech
Version

next
canary

node
8.9

OS
macOS, node docker

browser

etc

Well actually the status code is a 200. It would be great if it would return a non successful status code. I use Cloudflare to cache all my static assets and right now it caches the '500' one because it thinks it's a 200. I assume these assets are all unique due to their ID so I cache them for a month which has a big chance of breaking my site during rolling deployments.

Think this tweak to handleBuildHash would take care of setting the status correctly in production when the hash doesn't match? Would it be okay if I opened a PR with this?
handleBuildHash (filename, hash, res) {
  if (this.dev) {
    res.setHeader('Cache-Control', 'no-store, must-revalidate')
    return true
  }

  if (hash !== this.buildStats[filename].hash) {
    if (this.dev) {
      throw new Error(`Invalid Build File Hash(${hash}) for chunk: ${filename}`)
    }

    this.send404(res);
  }

  res.setHeader('Cache-Control', 'max-age=31536000, immutable')
  return true
}


[3.2] An update to the dylibloader for older inttypes

This #define's older inttypes to their newer versions and #includes
<stdint.h> in the generated files. This will help with older
glibc/compiler versions using headers generated on newer systems.
cherry picked from 5233d78f491420b26d7c06a44bc781a01da11d9f
Bugsquad edit: 3.2 version of https://github.com/godotengine/godot/pull/46237.

Thanks!


Further enhancements / changes to Replay Poutine for MCMC

There are a few enhancements to Replay Poutine that could simplify the implementation of MCMC algorithms:

Return param site from the replayed trace instead of from the param store, by implementing _pyro_param method. This will be useful for HMC (see #579), as we will not require a separate clean-up stage to remove the accumulated gradients on the parameters in the param store, otherwise. From what I can see, this should not impact existing algorithms, but we may need to be careful.
Allow mode where Replay Poutine only replays from the trace if the function name and arguments match. This will be useful for Metropolis Hastings (see #180).

HMC does not need this anymore since we are using grad method directly. Will re-open if this needs to be revisited.


add migen platform with clock/led/button/ethernet and rgmii test target

Thanks! We should also upstream this into migen at some point.

Yes sure, we should do that once all interfaces are validated.


remove deprecated test_tube logger

What does this PR do?
Fixes #12858, which is subset of #12521
Does your PR introduce any breaking changes? If yes, please list them.
Removes from pytorch_lightning.loggers import TestTubeLogger
Before submitting

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

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

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

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

Hi @stanbiryukov Thank you for your work! The CI jobs are failing due to the import statement here. Would you mind removing this import statement, too?
  File "/home/runner/work/pytorch-lightning/pytorch-lightning/pytorch_lightning/loggers/__init__.py", line 28, in <module>
    from pytorch_lightning.loggers.test_tube import _TESTTUBE_AVAILABLE, TestTubeLogger  # noqa: F401
ModuleNotFoundError: No module named 'pytorch_lightning.loggers.test_tube'

Thanks, @akihironitta. Good point on the __init__.py file. I also updated tests/loggers/test_all.py so those now pass without test_tube.

Once an entry is added to the changelog, LGTM!

Thanks @akihironitta - added the removal entry to CHANGELOG.md


Rewrite presigned URLs in graphql responses

Consider this Patient resource:
{
  "resourceType": "Patient",
  "photo": [{
    "url": "Binary/123"
  }]
}

If you request that resource through the REST API, the "Binary/123" canonical reference will be rewritten into a CloudFront presigned URL that is restricted to 1 hour of availability.
Before: If you requested that resource through the GraphQL API, the URL would not be replaced with a presigned URL, so you could not use GraphQL for patients or practitioners where you want to see the profile picture.
Now: The URL's are rewritten as expected.
Aside:  Before we used express-graphql as the glue layer between express and graphql.  (1) That library makes it difficult to fix this bug, such as "modify a response value". (2) It is low velocity, and holding us back to an older version of graphql.  So I removed it.

Coverage decreased (-0.06%) to 95.232% when pulling cfac85a26ddbadb40df69867b183b3c7034e704e on cody-graphql-rewrite-urls into 7f5a980f4a02e2d99ee32c2b1e824a8fda777c4d on main.


Fix loading problems

view sometimes don't load or only load with delay or after reload

I haven't seen this in the few months that I've been involved. Will reopen the issue if it comes up.


Enhanced Data Structures

It would be beneficial if structures were well defined to make inscriptions more compact, and/or contain more metadata
The current inscription pattern is documented as follows
OP_FALSE
OP_IF
  OP_PUSH "ord"
  OP_1
  OP_PUSH "text/plain;charset=utf-8"
  OP_0
  OP_PUSH "Hello, world!"
OP_ENDIF

This leads with a header, in this case ord identifying the type of inscription. Documentation already states that others can be given for disambiguation.  I propose suffixing with a version (e.g. ord2) for enhanced structures, or something else entirely.
Content Type
The OP_1 code above indicates a type of metadata follows
The content type is the first push after the type of inscription.  Some size can be saved here if the content-type is expressed as a number when its a common type.  For example, using OP_2 to OP_16 could be mapped to mean the following most common types, while retaining OP_PUSH as the first instruction to denote a custom content-type.

OP_2: application/x-gzip
OP_3: application/pdf
OP_4: application/zip
OP_5: audio/midi
OP_6: audio/mpeg
OP_7: image/gif
OP_8: image/jpeg
OP_9: image/png
OP_10: image/svg+xml
OP_11: image/webp
OP_12: text/html;charset=utf-8
OP_13: text/plain;charset=utf-8
OP_14: video/mp4
OP_15: video/mpeg
OP_16: video/webm

Before deciding on what content types to include this way, some analysis of counts of content-types used since inception should be done.
Additional Metadata
I keep wishing that inscriptions had support for multiple items embedded, as well as given a name.  While a zip archive may be the most appropriate way to include multiple files, having at least a name is useful for web server explorers that want to provide a suggested filename to save as when doing an attachment type of Content-Disposition.  Without this, explorers can still fall back to either referencing by transaction identifier, or a short form of block number and transaction index.
I'd propose that additional fields like this would continue to be delineated by the OP_1, and then subsequent OP_PUSH.
For example:
OP_1
OP_PUSH "filename=somefile.css"
OP_1
OP_PUSH "author=Casey"

Similar to the content-type, we can use additional op codes to identify key metadata field names.  For example
OP_1
OP_2
OP_PUSH "somefile.css"
OP_1
OP_3
OP_PUSH "Casey"

Initial proposed meanings for OP_2 .. OP_16 op codes in the context of metadata

OP_2: filename
OP_3: author (for multiple authors, value to be comma delimited)
OP_4: series name
OP_5: description
OP_6: tags (comma delimited values)
OP_7: hash
OP_8: signature

Multiple Files
At the end of all metadata, the OP_0 code continues to denote that the next block is the blob of data.  Compliant ones must make use of multiple OP_PUSH of appropriate size to chunk the bytes.  There would be no exceptions to being able to stream bytes into the end as long as the remainder bytes don't contain the 0x68 OP_ENDIF code.
To indicate an additional file, an OP_1 code can begin the next content-type declaration

I think these are great ideas, particularly using OP_2 through OP_16 to save some bytes on the content type field. That seems like a straightforward change. It helps to address criticism regarding blockchain bloat and might save some sats on the transaction fee.
It could also be extended to support more common content types by specifying behavior when there are two OP_2 through OP_16 opcodes used instead of a single opcode.
It sacrifices some human-readability, but I think that should be dealt with at the interface level, where necessary, anyway.

If we wanted to support a larger list of known content-types, then perhaps the structure would need more consideration.
One of the reasons I want additional metadata, in particular a standard for a hash (of the data), and signature (not yet sure of whether this should be of hash alone, or all the metadata) is to improve the notions of authenticity, as well as provide accountability to permit better automation of displaying content.  A public facing explorer could then opt in to only showing files that are signed from known contacts.  Similarly for users choosing to extract files for their own usage.  Relatedly, attribution to series and author is handy for NFT minded people.
Maybe there needs to be other fields for edition number (e.g. 5) and set size (e.g. of 100) unless its fine to overload the filename "rock[5-100].jpg".  I had hoped that some of these would have embedded Exif data to denote this for the file types that support it, but that isn't the case in practice.
In considering ways to save space, reducing burden on node operators, and the fees of inscribers, there's room here as well to provide a standard for how to inscribe a parent artifact from which actual issues extend/inherit from to apply any custom coloring, edition number, and labeling.
This would be useful for things like rock, which was repeated and recolored many times, or the Bitcoin Logo of which there were hundreds done around block 775097.  For those without any change to the data (a copy of the image) this could be done with a metadata field denoting the parent inscription (identified by txid, txin index, perhaps even file index in the inscription).  There may be ways to indicate recoloring (redefine palette?), rotating, seeding (for artifacts produce a different random image each time its viewed).

Versioning is already handled by the "it's okay to be odd" rule, adopted from lightning. Adding a suffix to ord is awkward. we can add a version field when we have a concrete need for one. Other envelope protocols can use a different identifier.
Adding shorthands for specific content types only saves a few bytes, complicates the protocol, and introduces a moderation burden because everyone will ask the protocol to add a shorthand for their favored content type. Additionally, as far as efficiency goes, we have much bigger fish to fry. See #891 and #1521 for examples.
Free-form metadata which doesn't have a protocol-level function should be limited and only added when a clear need is established and a clear use-case and implementation is planned. Envelope headers should not become a free-for-all of arbitrary key-value pairs.
If free-form metadata is important, that can be done using multiple files on the same sat, which would allow users to add JSON metadata inscriptions. See #786.
A great place to start with additional metadata is #1005, adding a free-form text title to your inscription. This is simple, and can be easily added to both the inscription code, and the explorer, and is a great first step.
Much of the asks here are covered by other issues! I encourage you to think about specific use cases and benefits, instead of more general features, and to open focused issues related to those use cases and benefits. If those require adding metadata to the envelope protocol, great! Otherwise, if they can be supported another way, that's also great!


Changing size of display buffer

I wanted to increase the size of display buffer and change it to single buffered (from double buffered).
I'm using ILI9488 via SPI.
I changed the DISP_BUF_SIZE to 60*480. Code compiles, there is enough memory, buffers are declared static.
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9488
#define DISP_BUF_SIZE  (LV_HOR_RES_MAX * 60)

    static DMA_ATTR lv_color_t buf1[DISP_BUF_SIZE];
Code runs, but the display is ruptured. Looks as if only some of the buffers and sent correctly
photo
Do you have any idea why this can happen?

I have also encountered this problem. How do you solve this problem,

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I wanted to increase the size of display buffer and change it to single buffered (from double buffered). I'm using ILI9488 via SPI. I changed the DISP_BUF_SIZE to 60*480. Code compiles, there is enough memory, buffers are declared static.
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9488
#define DISP_BUF_SIZE  (LV_HOR_RES_MAX * 60)

 static DMA_ATTR lv_color_t buf1[DISP_BUF_SIZE];
Code runs, but the display is ruptured. Looks as if only some of the buffers and sent correctly photo
Do you have any idea why this can happen?

I have also encountered this problem. How do you solve this problem,


Installation of prisma2 behind corporate proxy

I'm running on Ubuntu 18.04 behind a corportate proxy server and proxy variables are properly set in both the shell and npm config.
When I try to npm install -g --unsafe-perm prisma2, I get a timeout error when it tries to download the query- and migration engine during the installation process using the download function of the fetch-engine module. E.g.:
> Downloading linux-glibc-libssl1.1.0 binary [                    ] 0%FetchError: request to https://s3-eu-west-1.amazonaws.com/prisma-native/master/1b0c271f14ca00606f56c93717e228fe48c5603c/linux-glibc-libssl1.1.0/migration-engine.gz failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
    at ClientRequest.<anonymous> (/home/dmueller/Projects/node_modules/prisma2/download-build/index.js:15010:11)
    at ClientRequest.emit (events.js:203:13)
    at TLSSocket.socketErrorListener (_http_client.js:402:9)
    at TLSSocket.emit (events.js:203:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  message: 'request to https://s3-eu-west-1.amazonaws.com/prisma-native/master/1b0c271f14ca00606f56c93717e228fe48c5603c/linux-glibc-libssl1.1.0/migration-engine.gz failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443',
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  attemptNumber: 1,
  retriesLeft: 1
}

Downloading the dependencies with wget works fine.
Is node-fetch internally used by the downloadZip function not honoring proxy settings?
Is there a workaround to finished the installation process manually?
Edit
After aborting the installation process upon the timout,  running prisma init still works. Creating a demo script does not work (No example selected), but I can create a blank project. Manually unzipping prisma.gz and migrations-engine.gz in node_modules/prisma2, making them executable and renaming prisma to query-engine-linux-glibc-libssl1.1.0 allows prisma generate and prisma lift save and prisma lift up to work.

Thanks for reporting this @kaienbcjdoapwkfldue, we will look into why this doesn't seem to honor the proxy settings.
Your workaround seems like a great temporary solution for the problem though.
(I will create an issue that prisma2 init and other commands should fail "better" when no query and migration engine binaries can be found)

Thanks for responding so swiftly @janpio. The workaround kind of "works", but I cannot create a boilerplate project as I mentioned, so the installation process does not seems to finish properly (of course it does not, and I have no Idea what parts are all missing). Do you have any suggestion how to manually finish it?

Unfortunately I do not, but @divyenduz might be.
@pantharshit00 please take a look at reproducing this as confirmation of the repro. Thanks.

I think we need to use something like https://www.npmjs.com/package/https-proxy-agent
To be able to override HTTP proxy via env vars.

Is node-fetch internally used by the downloadZip function not honoring proxy settings?

@kaienbcjdoapwkfldue How did you provide proxy settings though? At the OS level?

@divyenduz Proxy settings are provided via environment variables. I remember having had trouble with node-fetch in the past. This seems to be a known issue with node-fetch and as you correctly pointed out, you need to use some ancillary proxy agent for it.

@kaienbcjdoapwkfldue : Is there a link to this known issue that you can paste here please?

@divyenduz Everything points to https://github.com/bitinn/node-fetch/issues/79.
So I suppose you need to use https-proxy-agent and provide an instance (that probably grabs the https proxy from process.env["https_proxy"]) to the agent option of node-fetch

I don't think we use it right now, that is a feature we might include.

I beg to disagree labelling this a feature, because it effectively prevents users behind proxy servers in their companys to properly install prisma2. This not a bug/feature of prisma itself, but of its very installation process, so it really doesn't fall into such catergories.

@kaienbcjdoapwkfldue I agree, adding a candidate label to this was my way of internally prioritizing it for the next spring, please bear with me for the labelling. This issue is being treated as important regardless 🙏

Next steps are for me to write a small spec for this here and implement it.

It's now documented here: https://github.com/prisma/prisma2/blob/master/docs/prisma2-cli.md#using-a-http-proxy-for-the-cli

It's now documented here: https://github.com/prisma/prisma2/blob/master/docs/prisma2-cli.md#using-a-http-proxy-for-the-cli

@timsuchanek Where can I find this now? The link is broken

https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#proxy-environment-variables should work


Added annotations to document the importance of keeping the TIME_ZONE…

… setting consistent on Nautobot web servers and Celery Beat servers.

Closes #3349
What's Changed

Screenshots

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

As mentioned here I think we should document beyond just the setting in the nautobot_config.py file and seriously recommend using only UTC on everything.

As mentioned here I think we should document beyond just the setting in the nautobot_config.py file and seriously recommend using only UTC on everything.

What's the purpose of setting the system time zone and database time zone?

As mentioned here I think we should document beyond just the setting in the nautobot_config.py file and seriously recommend using only UTC on everything.

What's the purpose of setting the system time zone and database time zone?

To keep all logs in sync, this is common issue we are seeing.

As mentioned here I think we should document beyond just the setting in the nautobot_config.py file and seriously recommend using only UTC on everything.

What's the purpose of setting the system time zone and database time zone?

To keep all logs in sync, this is common issue we are seeing.

We do recommend using UTC for Django's time zone here. With the Celery beat TIME_ZONE setting we know that only one setting will work so we can make the recommendation to use it. With those other settings there's more nuance and would be more suited for a deployment doc where we could explain why you would or wouldn't want to change them. For example if you're using a shared SQL server your DBA wouldn't be happy if you changed the default time zone.

@gsnider2195 in addition to the sections you updated, can we also add a new file in the config section dedicated to time that captures the intent that Ken is describing? The main problem we are running into is that we don't have it plainly spelled out in the docs (in a format that we can easily point a user to) that explains our default recommendation that all of the time related knobs be the same. We don't need to get into the nuance of each, knowledgable administrators will always have their reasons for doing what they do, but we need to make our stance more clear, from a support standpoint.


Remove columns from profile

Remove following columns from profile for all ouputs:

fullpath
parent_dir
subdir_id

Fixed in 34362a7f


[fix] update some translations with README-zh-Hans.md

📌 Checklist before creating the PR

[ ] I have created an issue for this PR for traceability
[ ] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[x] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number
not involving
📝 What does this PR do?
update some translations with README-zh-Hans.md
💥 Checklist before requesting a review

[ ] I have linked my PR to an issue (instruction)
[ ] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[x] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js): (Emitted value instead of an instance of Error) <swiper-item v-for="item in banner_list">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info. Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js): (Emitted value instead of an instance of Error) <swiper-item v-for="item in list">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  DONE  Build complete. Watching for changes...


Pathfinding demo

create a visual demonstration of ai pathfinding at use.
This will also be useful for future debugging.

Simple demo is done.
A randomly generated maze clicking to set the destination would be more impressive.

Randomly generated maze with clicking to set destination is accomplished.


Fix union type description in Tuple part of Basic Type chapter

Fixes #28894

We now mention that it fails with an error instead - thanks for helping to improve the dos though @xiaojingzhao


feat(GUI): add drive quantity to flash analytics

We add a field driveAmount to the flash analytics events in the image
writer.
Change-Type: patch

Gonna rebase this on top of https://github.com/resin-io/etcher/pull/2301 and https://github.com/resin-io/etcher/pull/2295

Here we go


Bought your book but which one is which edition?

From Amazon, I bought your book but i am confused is it first edition i bought or second edition?

Can you please give me the URL for 1st and 2nd edition of your books?

You have a 1st edition of the book. Here's a link:
https://www.springer.com/us/book/9783642429156
And here's a link to 2nd edition:
https://www.springer.com/us/book/9783662478097

Indeed i have 1st edition, i am interested to collect your second edition too.
I am using your book specially for Chromium open source project to interconnect with real-time microcontroller. Chromium use strict C++11.
Is your second edition completely written on strict C++11 or it mixed with 14, 17 (which i want to avoid practice only stick with C++11)?

The 1st edition is C++11 only. The 2nd edition includes uses of C++14.
The C++14 material in the 2nd edition is easy to identify. Most C++14 material is mentioned in the preface to the 2nd edition.
The companion code remains predominantly C++11.

The third edition is now available, if this is still relevant.


feat(client) support pipes with deis config:push and deis:config pull

It would be nice if deis config:push and deis:config pull supported piping like this:
deis config:pull > .env
deis config:push < .env

Or it could perhaps be:
deis config > .env
deis config < .env

I'll take a look at implementing this in Deis V2 in deis/workflow.

fixed in deis/workflow#72

Nice, thanks :+1:

@bacongobbler Not quite yet. We still need pipe support for config:pull. I have a little bit of time again, so I'll try and patch that up tomorrow.


logger.experiment.add_image() at end of epoch when using new simplified pl.Train/EvalResult objects

Question:
What are we going to consider best practice for visualizing images, embeddings, etc. to tensorboard when using pl.Train/EvalResult objects?
In light of #2651 and related PRs, what's the right way to do this?
Let's say we have a dataset of images, and we want to visualize a single batch of reconstructions once per epoch. I typically do this in validation_epoch_end(), using logger.experiment.add_image().
Code:
Let's say my code now looks like this:
 def validation_step(self, batch, batch_idx):
        step_dict = self._step(batch)
        result = pl.EvalResult(early_stop_on=step_dict['loss'],
                               checkpoint_on=step_dict['loss'],
                              )

        # logging
        result.log('avg_val_loss', step_dict['loss'],
                   on_epoch=True, reduce_fx=torch.mean)

        return result, step_dict

which works fine and is definitely much cleaner than the original method of returning multiple logging dicts. 😁
I now want to do something at the end of the validation loop so I specify:
def validation_epoch_end(self, outputs):
        img_batch = outputs[-1]['step_dict']['viz']['x_hat']
        img_batch = img_batch.view(img_batch.shape[0], *[1,32,32])
        grid = torchvision.utils.make_grid(img_batch)
        self.logger.experiment.add_image('x_hat', grid, self.current_epoch)

        avg_val_loss = torch.stack([x['avg_val_loss'] for x,y in outputs]).mean()
        return avg_val_loss

outputs in this case is a list of tuples where the first element is the EvalResult for each val step, and the second element contains step_dict which includes all losses and reconstructed x_hats for each val step.
Is there a better way? One potential downside to this is that outputs can eat up a significant chunk of memory if you're not careful.
What's your environment?

OS: [Ubuntu]
Packaging [pip]
Version [master]

I guess one other detail I will add is that it's unclear which of these has control over logging 'avg_val_loss', given that this used to be one role of validation_epoch_end and its magic keyword 'avg_val_loss' in the returned dict.
Using the new way outlined above, I'm still getting this error:
 RuntimeWarning: The metric you returned None must be a `torch.Tensor` instance, checkpoint not saved HINT: what is the value of loss in validation_epoch_end()?
  warnings.warn(*args, **kwargs)

Looks like using
return {'loss': avg_val_loss}
at the end of validation_epoch_end() fixes that warning, but when combined with EvalResult, I don't really understand why it should be necessary to return that at all for checkpointing.

It would be great an example possibly in Colab in which it is shown good practices logging the loss and other metrics as well as examples of samples (some images like in VAE,  for instance) over train/val/test.

I have this all set up for a VAE, but I want to make sure I'm doing best practices with the latest updates. Once we come to a consensus on this, I can provide a colab link. 😁 There's also the bolts repo, which we could update!

I'm trying to find a best practice for this. Any advice? (I work with 3D medical images so memory is definitely a concern!)

I'm trying to log some figures once per epoch in validation_epoch_end() but struggles to find a good practice.
In addition to model outputs, I also need to return some input data in (effectively your) step_dict for visualisation.
I don't want to accumulate a list in the validation loop as I only want one set of images per epoch. Any advice?
(I work with 3D medical images so memory is definitely a concern!)

I have this same question... what are the best practices for logging images? my usual wandb.log seems to no longer work, as it is now wandbLogger. I read the Train/EvalResults page but the documentation seems sparse here.

@joshclancy You should still be able to import wandb and log images separately.
Otherwise you also have access to wandb at self.logger.experiment within your trainer.

Maybe this should work in validation and testing:
https://github.com/PyTorchLightning/pytorch-lightning/blob/471ca375babad9093abf60683a8d0647ac33d4a8/pytorch_lightning/core/lightning.py#L347-L352


Icons "Container", "File Share", "Queue" and "Table" for Storage Account are missing

Icons "Container", "File Share", "Queue" and "Table" for Storage Account are missing

@az38
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

Hi @Naveenommi-MSFT

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

ID: 6624d44c-f9f6-02f8-2c67-0f0637fed62e
Version Independent ID: 9346a8ff-bab5-be2c-9dc1-d546fda1efa9
Content: Azure icons - Azure Architecture Center
Content Source: docs/icons/index.md
Service: architecture-center
GitHub Login: @Zimmergren
Microsoft Alias: tozimmergren

Thank you for reporting this, @az38. We'll look into this.

@az38
Thank you for bringing this to our attention.
I've delegated this to content author @Zimmergren, who will review it and offer their insightful opinions.

@az38, the icons do exist in the current icons package:

icons/general/10838-icon-service-Storage-Azure-Files.svg
icons/general/10839-icon-service-Storage-Container.svg
icons/general/10840-icon-service-Storage-Queue.svg
icons/general/10841-icon-service-Table.svg

I'll make a note in the backlog for the icons team to consider moving them into the "Storage" service folder instead for future updates. Thanks! #please-close

Hi @Zimmergren
Provided icons differ from actual Azure Portal icons (see attached)

@az38 the portal now uses

which is still different than the icon shipped in this pack.  I'm opening a request with the icon team to see if they can reconcile.

The icon shipped in the zip file is considered the correct one to use.  The icon team will be working with the product team to get their portal experience aligned.

I'll make a note in the backlog for the icons team to consider moving them into the "Storage" service folder instead for future updates.

The icon team rejected the request to move these files. Reason: "[We] will not be relocating these icons. The icons are not exclusive to services that fall under the 'Storage' category. They are generic and can be used in other experiences throughout Azure."  - I don't personally agree with that decision, but will not be following it up further.


remove layer from layergroup

What is the feature?

new method remove_layer_from_layergroup: works analogously to add_layer_to_layergroup and can be used to remove a single layer from an existing layergroup
refactoring of add_layer_to_layergroup to avoid code duplication between add_layer_to_layergroup and remove_layer_from_layergroup (separate method for xml construction is shared between the two methods)

How to test?
I've added some new unittests for the new method to the existing unittest class; they can be run by executing
 python -m unittest tests.test_layergroup
Closes #105

I will review it soon! give me this week. Thanks.


Smstateen bit

This specification does not currently say which Smstateen bit is used to control access to S-mode CSRs - this needs to be defined.
Thanks.

Yes, we'll be requesting a tentative assignment from AR.

reply from AR:  This was discussed some in this week's AR committee meeting.  At a minimum it looks like you will need a bit in mstateen, and tbd whether also in sstateen.  John Hauser will review this email thread and let all of us know what he believes is necessary (and what would be the appropriate bit assignment).  Feel free to ping him if you haven't heard back after a little while.

My apologies, Dan.  Your original request back in October didn't make
it onto my radar at the time.
I haven't had time to consider the question of whether CLIC should
really have a stateen bit, although superficially it seems likely.  But
it's trivial to go ahead and assign a tentative bit number for CLIC,
independent of resolving whether CLIC actually needs it and will keep
it in the end.
If there are no objections, be it therefore resolved that CLIC is
tentatively allocated bit 53 in the stateen0 registers, with the
presumed bit name of "CLIC".

spec updated 2/9/24


Move to Svelte Kit

This was fun. Came across this fun issue, found a bug in Svelte, a bug in ONS Design System, almost lost my sanity on this bug / lack of feature thanks to the magical "client side routing" that intercepts everything, and ended up using a nasty workaround that adds a <script /> tag on each route, literally.
The SSR isn't enabled just yet, need some fixes for accessing Window object, but will get there.
Cut into logical chunks for easy merging, and rebased on master; all seems fine but let's wait for the Netlify bot to confirm. 🤞
Edit: Netlify bot disagrees even though yarn preview seems to work just fine locally.

Looks like it reads the config file just fine:
6:41:19 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'build' versus 'public' in the Netlify UI
6:41:19 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'yarn build' versus 'npm run build' in the Netlify UI

but chokes on the D3 packages:
6:42:07 PM: > Using @sveltejs/adapter-netlify
6:42:08 PM:  > .svelte-kit/output/server/chunks/original-5947e2b1.js:3:7: warning: Ignoring this import because "node_modules/d3-scale/dist/d3-scale.js" was marked as having no side effects
6:42:08 PM:      3 │ import "d3-scale";
6:42:08 PM:        ╵        ~~~~~~~~~~
6:42:08 PM:    node_modules/d3-scale/package.json:35:2: note: "sideEffects" is false in the enclosing "package.json" file
6:42:08 PM:     35 │   "sideEffects": false,
6:42:08 PM:        ╵   ~~~~~~~~~~~~~
6:42:08 PM:  > .svelte-kit/output/server/chunks/original-5947e2b1.js:4:7: warning: Ignoring this import because "node_modules/d3-array/dist/d3-array.js" was marked as having no side effects
6:42:08 PM:      4 │ import "d3-array";
6:42:08 PM:        ╵        ~~~~~~~~~~
6:42:08 PM:    node_modules/d3-array/package.json:39:2: note: "sideEffects" is false in the enclosing "package.json" file
6:42:08 PM:     39 │   "sideEffects": false,
6:42:08 PM:        ╵   ~~~~~~~~~~~~~
6:42:08 PM:  > .svelte-kit/output/server/chunks/original-5947e2b1.js:5:7: warning: Ignoring this import because "node_modules/d3-shape/dist/d3-shape.js" was marked as having no side effects
6:42:08 PM:      5 │ import "d3-shape";
6:42:08 PM:        ╵        ~~~~~~~~~~
6:42:08 PM:    node_modules/d3-shape/package.json:40:2: note: "sideEffects" is false in the enclosing "package.json" file
6:42:08 PM:     40 │   "sideEffects": false,
6:42:08 PM:        ╵   ~~~~~~~~~~~~~
6:42:08 PM:   ✔ done

Google-fu give some pointers.

It's not a job, it's a journey. Ready for review.
Some background to the latest fixes and workarounds:

https://github.com/sveltejs/kit/issues/2687
https://github.com/ONSdigital/design-system/issues/1750#issuecomment-978808765

Also removed Storybook for quicker deploy times. Locally this thing flies compared to the original now.


RFP - Friture

Friture is a real-time audio analyzer. It works on Windows, Mac OS X and Linux. It is free and open source.
Website: http://friture.org
GitHub repo: https://github.com/tlecomte/friture

Package have been submitted:
https://chocolatey.org/packages/friture/0.35

Due to a number of virus positives on virustotal.com, this package won't be approved on chocolatey.org.
I'll monitor the releases for this software, and when/if the virus count gets low enough I'll start it up again.

Package https://chocolatey.org/packages/friture/0.36 is published; virus scan is down to 3 results.


1.19.4

Initial 1.19.4 implementation (includes breaking changes for <=1.19.2)

Note this PR closes #17


Refresh Anaconda.org canary upload token for conda/conda-libmamba-solver

The upload token has expired… can it get refreshed?
Error:  ('Authentication token has expired', 401)
Error: Process completed with exit code 1.

Some for conda-standalone: https://github.com/conda/conda-standalone/actions/runs/11668058461/job/32486829368#step:7:35
I think those are org-wide tokens.


/docs folder needs _static folder removed from gitignore

Currently, believe that /docs is ignoring everything.  Without static, unable to include static resources.

Fixed.


pylero test run descripton is returning more than just the text in the description

for tr.description Pylero returns:
2021-07-15 20:37:49,492 [INFO] (MainThread) TEST RUN INFO
2021-07-15 20:37:49,492 [INFO] (MainThread) (Text){
type = "text/plain"
content = "this is a brief description of the test that I am running Will this newline work or not"
contentLossy = False
}
Pylarion returns:
2021-07-15 20:34:17,923 [INFO] (MainThread) TEST RUN INFO
2021-07-15 20:34:17,924 [INFO] (MainThread) this is a brief description of the test that I am running Will this newline work or not

@brian12559 current return statement seems to be more resourceful
You can access content of the testrun by tr.description.content. I suggest to use content attr on tr.description object if possible.

sure, I can do that..might want to put something in the readme as anyone migrating from Pylarion might have code to change.
thanks,
Brian

along the same lines..in terms of pylarion compatability.  requirement.priority used to need priority.id


Cannot adapt it for Swarm

Hi and thanx for this compose file.
I have docker running in a swarm cluster and am trying out version 3 of Traefik. While your compose file works flawlessly with stand-alone docker, I can't seem to get it to work in swarm mode.
Any idea what one must change to  get it to work on swarm mode?
Thanx and much appreciated
James

Check docker-swarm-traefik example.


Cannot add upcoming talks

Basically, what it means is ability to add talks that will be happening in the future i.e are upcoming.
Usually speakers would get selected and will have a talk in a few months. This will allow them to list those talks up on the page too.
Thank you!

I updated to list talks up on the home page.
But you cannot set the date to a future date.
For example,
---
...
date: 2030-12-31
...
---

Hugo will treat this post as a draft. So this post will not on the list.
related issue

https://github.com/gohugoio/hugo/issues/3854
https://github.com/gohugoio/hugo/issues/3977

This works! Thank you :+1:
Quick question: Why is the publishDate date required? Everything works the same with date.

Inside  md file at root/content/talks/myLinks.md

We are using ‘date’ front matter for sorting list in the home page, terms page, section page.
So if we use the ‘date’ for talks page, it will always show up at the top of the list

That makes sense. I was actually going to ask about those showing up on the home page. I will make the fix so they don't show.
Thank you for explaining it to me.

Oh, you don’t want the talks showing up on the home page? Actually it was not displayed on the home page but I deleted that part. I’ll rollback that code

That would be nice.
Essentially this is blog. So only posts should show up on the home page. Anything else should show in its own page.

Yes I misunderstood some words.

I think you meant this commit: 9c21e922e1215051bb2019cbfcfdd51decaa3dd7
Maybe what would be better is to have it behind a flag. This would make it dynamic and you don't need to filter it.
So putting in a config, which by default does not show in home page, but when set to true will show in home page. It can be any page.

..or it can be a field that takes an array. i.e
showInHomePageTypes = [posts, talks]
This way if someone doesn't want to show talks they just set it to:
showInHomePageTypes = [posts]
and your logic would be something like:
if(pageType is in showInHomePageTypes array){
then show in home page
}
What do you think?

I’ll think about it more.
But if we add this feature, ‘dontShowInHomePage’ would be better name I think.

dontShowInHomePage also works :+1:

No add new issue . It’s better


Better viewer everywhere

This implements all viewers apart from ROS one to have proper one and to use convex hulls to outline objects.

Pull Request Test Coverage Report for Build 181

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 85.963%

Totals

Change from base Build 178:
0.0%

Covered Lines:
1874

Relevant Lines:
2180

💛  - Coveralls


Add 'bitangent' input to 'normalmap' node

The normalmap node always calculates the bitangent and ignores existing bitangent data:
https://github.com/AcademySoftwareFoundation/MaterialX/blob/46de5f9153aec01243fce24590b15fd71da89f8e/libraries/stdlib/genglsl/mx_normalmap.glsl#L9-L11
While doing so, it makes a hard assumption on the handedness of the tangent space, which isn't necessarily shared by other standards (such as glTF).
A bitangent input should therefore be added to the normalmap node with a default value of Bworld.

@pablode This sounds like a good proposal to me, and it's more general-purpose than the alternative of supporting a handedness flag on the normalmap node.

Hello! Just wanted to ask if this proposal has been discussed in the context of an upcoming version of the spec?
I believe @kwokcb might be interested in this too, since it's required for truthful support of glTF normal mapping.

@pablode I do think this feature should be included in the 1.39 specification, and it should be safe to implement it in an upcoming 1.38 point release, since its functionality is purely additive.
Would you be interested in proposing the language for this feature in the 1.39 specification?  If so, then reach out to @dbsmythe on the ASWF Slack to get access to the in-progress document.

Unfortunately, I don't think this change can be treated as purely additive. This may be true for nearly all uses in the wild, however, it is only the case for default normal and tangent input values.
If the user has connected nodes to these inputs, a <crossproduct> node which connects to the original input nodes needs to be inserted and connected to the new bitangent input in order to keep the old behaviour. This can be done by the document upgrade logic, however, it would require this change to be introduced with 1.39  (and not earlier).
The change in the spec should should be minimal, and I'll contact Doug about that, thanks! I can also set up a draft PR with the implementation which can be merged once 1.39 is released.

Thanks for this original report, @pablode, as well as for the fix in https://github.com/AcademySoftwareFoundation/MaterialX/pull/1911.


Policy sync updates

Overview/Summary
This PR fixes bugs and enhances the policy sync to support:

Multiple policy assignments in a single file
New policy features
PE DNS updates
Etc.

This PR fixes/adds/changes/removes
N/A
Breaking Changes
N/A
Testing Evidence
Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation.

azp run unit


Shorthand for discarding alpha

As I start to use the newly added color::palette::css code, I find that I'm often having to discard the alpha as I'm using OpaqueColor a lot.
I could do:
let (c, _) = color::palette::css::GOLDENROD.split();

But it would be nice for AlphaColor to have a const function for this like discard_alpha or to_opaque.
Either way, it isn't a big deal, just a small paper cut.

@raphlinus If you say "Yes", I'll submit the PR. If you say no, I'll close this issue. Or maybe there's another way to solve this.

You can say .split().0 but I'm ok with such a method. It can be implemented on premul as well.

Would it be nicer to make the opaque predefined colours be opaque at the type system level?

It's a tradeoff. My feeling is that the alpha colors are the more "universal" kind, so I expect the into conversion to AlphaColor to be more common than to_opaque would be, but I suspect it depends on the use cases.

The reason I'd push back on this method is that it's feel like a footgun - using this method meaningfully changes the color if the alpha component isn't 1.0 (>1.0?).
fn to_opaque(self)->Result<OpaqueColor<CS>, NotOpaque> (where NotOpaque contains the alpha for the error message) would be more obviously correct.


Fix typos and improve readability of README.

Fixed typos in README.md.
Improved readability of README.zh.md according to 中文文案排版指北.
Additionally, we should set APPLICATION_EXTENSION_API_ONLY to YES for Frameworks. See https://github.com/Alamofire/Alamofire/issues/268

Thank you very much, very appreciate your work. I will follow 中文文案排版指北 in my future writing.

Because I use sharedApplication() in RootWindowDesignable, we can't set APPLICATION_EXTENSION_API_ONLY to YES. I have set it back to NO. I will try to find a better solution for this later.


Slack 4 0 adaption

@mosheBelostotsky overall it looks good. Before merging I would like you to consider the following:

[ ] Address all the comments made in the code.
[ ] Add descriptions for the purpose of each file in the source code. For somebody new it is hard to follow as is.
[ ] Add comments for adapter functions detailing its purpose. Investigate if there is a documentation generator that we could use for node modules or perhaps something specific to hubot.

Thanks!


Update minecraft 1.21

Update to minecraft 1.21.*
What needs to be done:

[x] Get all the extracted data integrated and generating code correctly.
[x] Getting all the packets renamed, edited and updated. (HUGE thanks to @lukashermansson ❤)
[x] Getting it to compile with no errors.
[ ] Get everything new in 1.21.3 though to the state of the rest of the code
[ ] Running most basic player join scenario.
[ ] Confirm validity of all non-networking tests.
[ ] Rewrite and test all of the networking tests.
[ ] Research and design comfy abstractions for new ideas in 1.21.
[ ] Rewrite and run the ctf example maybe with some new features for 1.21.
[ ] Mull over the way networking is done at a base level.
[ ] Rewrite all the examples.
[ ] Start to clean-up and review code.

I've noticed most of the changes are simple packet renames. Do you think it would make sense to write a codemod tool to update packet names? Could also be useful for users who are upgrading valence.

Is anyone else working on this pr?

Is anyone else working on this pr?

Just me at the moment. Feel free to help tho.

@JackCrumpLeys will the 1.21 work be done in this PR or on the next-1.21 branch (on the valence repo)?

@JackCrumpLeys will the 1.21 work be done in this PR or on the next-1.21 branch (on the valence repo)?
Im just gonna assume its here since thats ahead of current master.

I plan to split this into smaller prs. Right now I'm just getting all the packets working then I will look into the logic side of things.

Hey, let me know if you want any help with this! Probably gonna use valence for my project, and would like to use the latest version.


crashes on begin/end keywords

v1.3.0 now supports scripting and this was resolved.
Thank you for filing this!


Live

Test PR

Docs Build status updates of commit f892125:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Contribution

As per June 6th

Why was this closed without merging?

Answer: The pull request was from the same branch as #21, which was merged and already accepted all the changes.


Change colour scheme in codemirror editor for markdown content

Some of the colours are hard to see when editing markdown.
from @momack2:

Please change purple color to something readable against the navy background (maybe lilac or pink?). You can use online accessibility tools (example) to ensure the the color contrast between the background and the font is readable.

I personally enjoy using http://colorbrewer2.org/#type=diverging&scheme=BrBG&n=3 in the "diverging" mode to generate color schemes, though that's probably my weird GIS background 🙂


basic repost ui

@kauffj Looking for better copy for https://github.com/lbryio/lbry-desktop/pull/3663/files#diff-c23b586b209fd42be1fa04108c651613R128 and https://github.com/lbryio/lbry-desktop/pull/3663/files#diff-c23b586b209fd42be1fa04108c651613R162


System.IO.DirectoryNotFoundException: Could not find a part of the path - Xamarin iOS

This had been working for me but I am pretty positive that I have not touched anything which could have ruined the implementation of the file picker plugin!
I am using this code in the Shared project:
FileData fileData = await CrossFilePicker.Current.PickFile();

if (fileData == null)
    return; // user canceled file picking

    string fileName = fileData.FileName;

The values within the fileData object are as shown in the image.
fileData.DataArray is returning a System.IO.DirectoryNotFoundException - Could not find a part of the path...
The path of the file retrieved from iCloud looks like the below:
"file:///private/var/mobile/Containers/Data/Application/E4D562B3-0D10-4DEB-BAA2-742A69E034D9/tmp/com.atech.s2x.qm-Inbox/Mary.pdf"
where com.atech.s2x.qm refers to the bundle identifier of the app.
The iCloud connector is properly configured. I am using the plugin version: 2.0.81-beta. Tried going back to the latest stable version but it gives me an error related to the plugin not being available in the portable version (or something of the sort).
Any help would be appreciated.

Update:
I downgraded to Beta version 2.0.64 (from 2.0.81) and it works properly on an iPhone 6s Plus (probably works on other iPhones) but nothing happens when attempting to browse on an iPad.
The method is accessed and this line is passed:
FileData fileData = await CrossFilePicker.Current.PickFile();
but the pop up prompt asking to choose a file from iCloud never comes up. Instead the process goes directly into the next line; fileData is null, and the method simply returns.
if (fileData == null)
    return;

So with version 2.0.81 I get the System.IO.DirectoryNotFoundException on both iPhone and iPad,
whilst with version 2.0.64, it works on iPhone, but nothing happens on iPad.

Please have a look at: https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows which is actually the package you are referring to. This repo is no longer maintained


buildenv: paths to link resolving to the same absolute path is not a conflict

Motivation for this change
When building an environment if two paths conflict but one or both are symbolic links and they resolve to the same real path, the conflict is discarded because the contents of both paths are the same. One of them is choose and there is no need to recursive into them in order to build deeper symlinks.
See also:
https://discourse.nixos.org/t/proliferation-of-symbolic-links-in-run-current-system-sw-share-icons/
https://github.com/NixOS/nixpkgs/pull/85229
Tested on a virtual machine.
Things done

[x] 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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/proliferation-of-symbolic-links-in-run-current-system-sw-share-icons/7587/5

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


spdm_secured_messsage_lib macros

spdm_secured_messsage_lib shouldn't exist unless asymmetric or pre-shared key exchange is enabled at compile time.

2023/3/27 - make a proposal


Unsafe aliasing in rust when dropping the builder

Hi, I am trying to use this crate in Firefox 86.0.1 (linux), and when calling :
await initThreadPool(navigator.hardwareConcurrency)

I got the following errors :

Uncaught (in promise) Error: recursive use of an object detected which would lead to unsafe aliasing in rust
    __wbindgen_throw webpack://ra-wasm-demo/../pkg/wasm_demo.js?:500
    free webpack://ra-wasm-demo/../pkg/wasm_demo.js?:380
    startWorkers webpack://ra-wasm-demo/../pkg/snippets/wasm-bindgen-rayon-3d2df09ebec17a22/src/workerHelpers.js?:100
    __wbg_startWorkers_914655bb4d5bb5e1 webpack://ra-wasm-demo/../pkg/wasm_demo.js?:511
    initThreadPool webpack://ra-wasm-demo/../pkg/wasm_demo.js?:194
    <anonymous> webpack://ra-wasm-demo/./index.js?:148
    disposable webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneLanguages.js?:90
    fire webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/base/common/event.js?:481
    _getOrCreateMode webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js?:96
    _createModeAndGetLanguageIdentifier webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js?:84
    create webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js?:72
    LanguageSelection webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js?:27
    create webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js?:70
    createTextModel webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor.js?:331
    StandaloneEditor webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor.js?:194
    create webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor.js?:123
    withAllStandaloneServices webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor.js?:110
    create webpack://ra-wasm-demo/./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor.js?:122
    <anonymous> webpack://ra-wasm-demo/./index.js?:342
    js http://<IP_ADDRESS>:8080/app.bundle.js:63
    __webpack_require__ http://<IP_ADDRESS>:8080/app.bundle.js:7656
    <anonymous> http://<IP_ADDRESS>:8080/app.bundle.js:7916
    <anonymous> http://<IP_ADDRESS>:8080/app.bundle.js:7919
app.bundle.js line 30 > eval:500:15
    <anonymous> webpack://ra-wasm-demo/./index.js?:322

According https://github.com/rustwasm/wasm-bindgen/issues/1578 , this seem to be relate to &'mut and &' holder in different places but I could run it in Chromium without a problem.

I finally found out that Firefox raise an exception of " waiting is not allowed on this thread" and then I put everything inside another WebWorker and it works now.

Yes, it's something Chrome plans to forbid too, but hasn't done so yet.


Create an API for full strength For comprehensions for each integration module

cyclops-react for comprehensions seem to be the only implementation where subsequent expressions can reference the values of previous expressions.
Making this functionality available for Functional Java, RxJava, Reactor, Guava and Javalang types would be nice.

https://github.com/aol/cyclops/pull/195